1import{a as Ho}from"./chunk-MMT5ABT6.js";import{$ as pl,$a as yf,$b as t4,Aa as _i,Ab as as,Ac as Sn,B as Gi,Bb as ho,Bc as vf,C as df,Ca as Ls,Cc as NE,D as la,Da as RE,Db as Xs,Dc as jE,Ea as Qe,Eb as Xt,Ec as HE,F as ad,Fa as wi,Fb as kt,Fc as a4,G as jr,Ga as Bt,Gb as At,Gc as l4,H as Ec,Ha as mf,Hb as On,Hc as FE,I as ld,Ia as UC,Ib as Ge,Ic as VE,J as hd,Ja as hr,Jb as qt,Jc as zE,K as Cn,Ka as hi,Kb as oi,Kc as $E,La as No,Lb as dd,Lc as WE,M as pf,Ma as GC,N as lo,Na as XC,Nb as Ai,O as NC,Oa as we,Ob as Di,P as bc,Pa as Ie,Pb as Li,Pc as xf,Q as Jl,Qb as Ot,Qc as h4,R as jC,Ra as Xi,Rb as Ki,Rc as c4,Sa as gf,Sb as QC,T as eh,Ta as Ef,Tb as ih,U as Cr,Ua as pn,Ub as cr,Va as qC,Vb as JC,W as HC,Wa as Gs,Wc as ml,Xa as _r,Xb as e4,Xc as u4,Y as dl,Ya as Nt,Yb as St,Z as FC,Za as bf,Zb as Tt,Zc as fd,_ as ff,_a as $e,a as ze,aa as Pa,ab as $i,b as xt,ba as un,bb as _e,bc as Wi,c as mc,ca as IE,cb as Ti,cc as i4,d as Ql,da as yc,db as ht,e as $n,ea as th,eb as xi,ec as fl,f as LC,fa as $t,fb as xs,fc as n4,g as ys,ga as it,gc as ti,ha as Wt,hb as cd,hc as s4,i as Et,ia as Ht,ic as pd,j as vs,ja as qe,jc as nh,k as Ds,ka as dn,kc as r4,l as PC,la as VC,lb as ke,lc as vc,m as pt,ma as zC,mb as Ae,mc as Ia,n as ar,na as $C,nb as Ke,nc as o4,o as OC,oa as st,ob as Wn,oc as BE,p as IC,pa as Yt,pb as Yn,pc as ls,q as gc,qa as ft,qb as ud,qc as jo,r as od,ra as _n,rb as et,rc as si,s as cf,sa as Oa,sb as ZC,sc as wt,t as RC,ta as WC,tb as KC,tc as sh,u as BC,ua as YC,uc as rh,v as Br,va as ki,vc as oh,w as lr,wa as Ne,wb as We,wc as Ra,x as Nr,xa as je,xb as Te,xc as ah,y as uf,yb as wn,yc as xc,z as ul,zb as tn,zc as Cc}from"./chunk-LTIVQTC4.js";var Dw=$n((xue,Aw)=>{"use strict";Aw.exports=function(e,r){return Array.prototype.slice.call(e,r)}});var Pw=$n((Cue,Lw)=>{"use strict";var cj=typeof setImmediate=="function",wb;cj?wb=function(i){setImmediate(i)}:wb=function(i){setTimeout(i,0)};Lw.exports=wb});var Iw=$n((_ue,Ow)=>{"use strict";var uj=Pw();Ow.exports=function(e,r,t){e&&uj(function(){e.apply(t||null,r||[])})}});var Nw=$n((wue,Bw)=>{"use strict";var Rw=Dw(),dj=Iw();Bw.exports=function(e,r){var t=r||{},n={};return e===void 0&&(e={}),e.on=function(l,C){return n[l]?n[l].push(C):n[l]=[C],e},e.once=function(l,C){return C._once=!0,e.on(l,C),e},e.off=function(l,C){var B=arguments.length;if(B===1)delete n[l];else if(B===0)n={};else{var $=n[l];if(!$)return e;$.splice($.indexOf(C),1)}return e},e.emit=function(){var l=Rw(arguments);return e.emitterSnapshot(l.shift()).apply(this,l)},e.emitterSnapshot=function(l){var C=(n[l]||[]).slice(0);return function(){var B=Rw(arguments),$=this||e;if(l==="error"&&t.throws!==!1&&!C.length)throw B.length===1?B[0]:B;
1return C.forEach(function(G){t.async?dj(G,B,$):G.apply($,B),G._once&&e.off(l,G)}),e}},e}});var Fw=$n((Sue,Hw)=>{"use strict";var jw=global.CustomEvent;function pj(){try{var i=new jw("cat",{detail:{foo:"bar"}});return i.type==="cat"&&i.detail.foo==="bar"}catch{}return!1}Hw.exports=pj()?jw:typeof document<"u"&&typeof document.createEvent=="function"?function(e,r){var t=document.createEvent("CustomEvent");return r?t.initCustomEvent(e,r.bubbles,r.cancelable,r.detail):t.initCustomEvent(e,!1,!1,void 0),t}:function(e,r){var t=document.createEventObject();return t.type=e,r?(t.bubbles=!!r.bubbles,t.cancelable=!!r.cancelable,t.detail=r.detail):(t.bubbles=!1,t.cancelable=!1,t.detail=void 0),t}});var $w=$n((Mue,zw)=>{"use strict";var Vw=[],Sb="",fj=/^on/;for(Sb in global)fj.test(Sb)&&Vw.push(Sb.slice(2));zw.exports=Vw});var Xw=$n((Tue,Gw)=>{"use strict";var mj=Fw(),gj=$w(),bm=global.document,Ww=Ej,Yw=yj,Ep=[];global.addEventListener||(Ww=bj,Yw=vj);Gw.exports={add:Ww,remove:Yw,fabricate:xj};function Ej(i,e,r,t){return i.addEventListener(e,r,t)}function bj(i,e,r){return i.attachEvent("on"+e,_j(i,e,r))}function yj(i,e,r,t){return i.removeEventListener(e,r,t)}function vj(i,e,r){var t=Uw(i,e,r);if(t)return i.detachEvent("on"+e,t)}function xj(i,e,r){var t=gj.indexOf(e)===-1?l():n();i.dispatchEvent?i.dispatchEvent(t):i.fireEvent("on"+e,t);function n(){var C;return bm.createEvent?(C=bm.createEvent("Event"),C.initEvent(e,!0,!0)):bm.createEventObject&&(C=bm.createEventObject()),
1C}function l(){return new mj(e,{detail:r})}}function Cj(i,e,r){return function(n){var l=n||global.event;l.target=l.target||l.srcElement,l.preventDefault=l.preventDefault||function(){l.returnValue=!1},l.stopPropagation=l.stopPropagation||function(){l.cancelBubble=!0},l.which=l.which||l.keyCode,r.call(i,l)}}function _j(i,e,r){var t=Uw(i,e,r)||Cj(i,e,r);return Ep.push({wrapper:t,element:i,type:e,fn:r}),t}function Uw(i,e,r){var t=wj(i,e,r);if(t){var n=Ep[t].wrapper;return Ep.splice(t,1),n}}function wj(i,e,r){var t,n;for(t=0;t<Ep.length;t++)if(n=Ep[t],n.element===i&&n.type===e&&n.fn===r)return t}});var Qw=$n((kue,Kw)=>{"use strict";var qw={},Sj="(?:^|\\s)",Mj="(?:\\s|$)";function Zw(i){var e=qw[i];return e?e.lastIndex=0:qw[i]=e=new RegExp(Sj+i+Mj,"g"),e}function Tj(i,e){var r=i.className;r.length?Zw(e).test(r)||(i.className+=" "+e):i.className=e}function kj(i,e){i.className=i.className.replace(Zw(e)," ").trim()}Kw.exports={add:Tj,rm:kj}});var lS=$n((Aue,aS)=>{"use strict";var Aj=Nw(),iu=Xw(),wl=Qw(),nu=document,ma=nu.documentElement;function Dj(i,e){var r=arguments.length;r===1&&Array.isArray(i)===!1&&(e=i,i=[]);var t,n,l,C,B,$,K,G,q,Z,R,Y=null,V,H=e||{};H.moves===void 0&&(H.moves=iS),H.accepts===void 0&&(H.accepts=iS),H.invalid===void 0&&(H.invalid=o),H.containers===void 0&&(H.containers=i||[]),H.isContainer===void 0&&(H.isContainer=Pj),H.copy===void 0&&(H.copy=!1),H.copySortSource===void 0&&(H.copySortSource=!1),H.revertOnSpill===void 0&&(H.revertOnSpill=!1),H.removeOnSpill===void 0&&(H.removeOnSpill=!1),H.direction===void 0&&(H.direction="vertical"),H.ignoreInputTextSelection===void 0&&(H.ignoreInputTextSelection=!0),H.mirrorContainer===void 0&&(H.mirrorContainer=nu.body);var T=Aj({containers:H.containers,start:p,end:u,cancel:y,remove:f,destroy:x,canMove:v,dragging:!1});return H.removeOnSpill===!0&&T.on("over",F).on("out",X),j(),T;function L(k){return T.containers.indexOf(k)!==-1||H.isContainer(k)}function j(k){var O=k?"remove":"add";bp(ma,O,"mousedown",P),bp(ma,O,"mouseup",h)}function s(k){var O=k?"remove":"add";bp(ma,O,"mousemove",S)}function c(k){var O=k?"remove":"add";iu[O](ma,"selectstart",N),iu[O](ma,"click",N)}function x(){j(!0),h({})}function N(k){V&&k.preventDefault()}function P(k){$=k.clientX,K=k.clientY;var O=Jw(k)!==1||k.metaKey||k.ctrlKey;if(!O){var z=k.target,W=g(z);W&&(V=W,s(),k.type==="mousedown"&&(rS(z)?z.focus():k.preventDefault()))}}function S(k){if(V){if(Jw(k)===0){h({});return}if(!(k.clientX!==void 0&&Math.abs(k.clientX-$)<=(H.slideFactorX||0)&&k.clientY!==void 0&&Math.abs(k.clientY-K)<=(H.slideFactorY||0))){if(H.ignoreInputTextSelection){var O=Sl("clientX",k)||0,z=Sl("clientY",k)||0,W=nu.elementFromPoint(O,z);if(rS(W))return}var Q=V;s(!0),c(),u(),a(Q);var ee=Lj(l);C=Sl("pageX",k)-ee.left,B=Sl("pageY",k)-ee.top,wl.add(Z||l,"gu-transit"),_(),D(k)}}}function g(k){if(!(T.dragging&&t)&&!L(k)){for(var O=k;Sr(k)&&L(Sr(k))===!1;)if(H.invalid(k,O)||(k=Sr(k),!k))return;var z=Sr(k);if(z&&!H.invalid(k,O)){var W=H.moves(k,z,O,yp(k));if(W)return{item:k,source:z}}}}function v(k){return!!g(k)}function p(k){var O=g(k);O&&a(O)}function a(k){b(k.item,k.source)&&(Z=k.item.cloneNode(!0),T.emit("cloned",Z,k.item,"copy")),n=k.source,l=k.item,G=q=yp(k.item),T.dragging=!0,T.emit("drag",l,n)}function o(){return!1}function u(){if(T.dragging){var k=Z||l;m(k,Sr(k))}}function d(){V=!1,s(!0),c(!0)}function h(k){if(d(),!!T.dragging){var O=Z||l,z=Sl("clientX",k)||0,W=Sl("clientY",k)||0,Q=tS(t,z,W),ee=M(Q,z,W);ee&&(Z&&H.copySortSource||!Z||ee!==n)?m(O,ee):H.removeOnSpill?f():y()}}function m(k,O){var z=Sr(k);Z&&H.copySortSource&&O===n&&z.removeChild(l),E(O)?T.emit("cancel",k,n,n):T.emit("drop",k,O,n,q),I()}function f(){if(T.dragging){var k=Z||l,O=Sr(k);O&&O.removeChild(k),T.emit(Z?"cancel":"remove",k,O,n),I()}}function y(k){if(T.dragging){var O=arguments.length>0?k:H.revertOnSpill,z=Z||l,W=Sr(z),Q=E(W);Q===!1&&O&&(Z?W&&W.removeChild(Z):n.insertBefore(z,G)),Q||O?T.emit("cancel",z,n,n):T.emit("drop",z,W,n,q),I()}}function I(){var k=Z||l;d(),w(),k&&wl.rm(k,"gu-transit"),R&&clearTimeout(R),T.dragging=!1,Y&&T.emit("out",k,Y,n),T.emit("dragend",k),n=l=Z=G=q=R=Y=null}function E(k,O){var z;return O!==void 0?z=O:t?z=q:z=yp(Z||l),k===n&&z===G}function M(k,O,z){for(var W=k;W&&!Q();)W=Sr(W);return W;function Q(){var ee=L(W);if(ee===!1)return!1;var se=A(W,k),ae=U(W,se,O,z),he=E(W,ae);return he?!0:H.accepts(l,W,n,ae)}}function D(k){if(!t)return;k.preventDefault();var O=Sl("clientX",k)||0,z=Sl("clientY",k)||0,W=O-C,Q=z-B;t.style.left=W+"px",t.style.top=Q+"px";var ee=Z||l,se=tS(t,O,z),ae=M(se,O,z),he=ae!==null&&ae!==Y;(he||ae===null)&&(le(),Y=ae,oe());var ce=Sr(ee);
1if(ae===n&&Z&&!H.copySortSource){ce&&ce.removeChild(ee);return}var ie,te=A(ae,se);if(te!==null)ie=U(ae,te,O,z);else if(H.revertOnSpill===!0&&!Z)ie=G,ae=n;else{Z&&ce&&ce.removeChild(ee);return}(ie===null&&he||ie!==ee&&ie!==yp(ee))&&(q=ie,ae.insertBefore(ee,ie),T.emit("shadow",ee,ae,n));function ne(ue){T.emit(ue,ee,Y,n)}function oe(){he&&ne("over")}function le(){Y&&ne("out")}}function F(k){wl.rm(k,"gu-hide")}function X(k){T.dragging&&wl.add(k,"gu-hide")}function _(){if(!t){var k=l.getBoundingClientRect();t=l.cloneNode(!0),t.style.width=nS(k)+"px",t.style.height=sS(k)+"px",wl.rm(t,"gu-transit"),wl.add(t,"gu-mirror"),H.mirrorContainer.appendChild(t),bp(ma,"add","mousemove",D),wl.add(H.mirrorContainer,"gu-unselectable"),T.emit("cloned",t,l,"mirror")}}function w(){t&&(wl.rm(H.mirrorContainer,"gu-unselectable"),bp(ma,"remove","mousemove",D),Sr(t).removeChild(t),t=null)}function A(k,O){for(var z=O;z!==k&&Sr(z)!==k;)z=Sr(z);return z===ma?null:z}function U(k,O,z,W){var Q=H.direction==="horizontal",ee=O!==k?ae():se();return ee;function se(){var ce=k.children.length,ie,te,ne;for(ie=0;ie<ce;ie++)if(te=k.children[ie],ne=te.getBoundingClientRect(),Q&&ne.left+ne.width/2>z||!Q&&ne.top+ne.height/2>W)return te;return null}function ae(){var ce=O.getBoundingClientRect();return he(Q?z>ce.left+nS(ce)/2:W>ce.top+sS(ce)/2)}function he(ce){return ce?yp(O):O}}function b(k,O){return typeof H.copy=="boolean"?H.copy:H.copy(k,O)}}function bp(i,e,r,t){var n={mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"},l={mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"},C={mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"};global.navigator.pointerEnabled?iu[e](i,l[r],t):global.navigator.msPointerEnabled?iu[e](i,C[r],t):(iu[e](i,n[r],t),iu[e](i,r,t))}function Jw(i){if(i.touches!==void 0)return i.touches.length;if(i.which!==void 0&&i.which!==0)return i.which;if(i.buttons!==void 0)return i.buttons;var e=i.button;if(e!==void 0)return e&1?1:e&2?3:e&4?2:0}function Lj(i){var e=i.getBoundingClientRect();return{left:e.left+eS("scrollLeft","pageXOffset"),top:e.top+eS("scrollTop","pageYOffset")}}function eS(i,e){return typeof global[e]<"u"?global[e]:ma.clientHeight?ma[i]:nu.body[i]}function tS(i,e,r){i=i||{};var t=i.className||"",n;return i.className+=" gu-hide",n=nu.elementFromPoint(e,r),i.className=t,n}function Pj(){return!1}function iS(){return!0}function nS(i){return i.width||i.right-i.left}function sS(i){return i.height||i.bottom-i.top}function Sr(i){return i.parentNode===nu?null:i.parentNode}function rS(i){return i.tagName==="INPUT"||i.tagName==="TEXTAREA"||i.tagName==="SELECT"||oS(i)}function oS(i){return!i||i.contentEditable==="false"?!1:i.contentEditable==="true"?!0:oS(Sr(i))}function yp(i){return i.nextElementSibling||e();function e(){var r=i;do r=r.nextSibling;while(r&&r.nodeType!==1);return r}}function Oj(i){return i.targetTouches&&i.targetTouches.length?i.targetTouches[0]:i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i}function Sl(i,e){var r=Oj(e),t={pageX:"clientX",pageY:"clientY"};return i in t&&!(i in r)&&t[i]in r&&(i=t[i]),r[i]}aS.exports=Dj});var Dl=$n((my,gy)=>{"use strict";(function(i,e){typeof my=="object"&&typeof gy<"u"?gy.exports=e():typeof define=="function"&&define.amd?define(e):i.FroalaEditor=e()})(my,function(){"use strict";function i(s){return(i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(s)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(s){var c=this;if(!document.documentElement.contains(c))return null;do{if(c.matches(s))return c;c=c.parentElement||c.parentNode}while(c!==null&&c.nodeType===1);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(s){for(var c=(this.document||this.ownerDocument).querySelectorAll(s),x=c.length;0<=--x&&c.item(x)!==this;);return-1<x}),Array.isArray||(Array.isArray=function(s){return Object.prototype.toString.call(s)==="[object Array]"}),typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(s,c){if(s==null)throw new TypeError("Cannot convert undefined or null to object");for(var x=Object(s),N=1;N<arguments.length;N++){var P=arguments[N];if(P!=null)for(var S in P)Object.prototype.hasOwnProperty.call(P,S)&&(x[S]=P[S])}return x},writable:!0,configurable:!0}),function(){var s=/^\s*:scope/gi,c=/,\s*:scope/gi,x=document.createElement("div");function N(S,g){var v=S[g];S[g]=function(p){var a,o=!1,u=!1;if(!p||Array.isArray(p)||!p.match(s)&&!p.match(c))return v.call(this,p);this.parentNode||(x.appendChild(this),u=!0);var d=this.parentNode;return this.id||(this.id="rootedQuerySelector_id_".concat(new Date().getTime()),o=!0),a=v.call(d,p.replace(s,"#".concat(this.id
vendor: 8,086 bytes, line 1
1)).replace(c,",#".concat(this.id))),o&&(this.id=""),u&&x.removeChild(this),a}}try{var P=x.querySelectorAll(":scope *");if(!P||Array.isArray(P))throw"error"}catch{N(Element.prototype,"querySelector"),N(Element.prototype,"querySelectorAll"),N(HTMLElement.prototype,"querySelector"),N(HTMLElement.prototype,"querySelectorAll")}}(),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(s){if("Element"in s){var c="classList",x="prototype",N=s.Element[x],P=Object,S=String[x].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[x].indexOf||function(h){for(var m=0,f=this.length;m<f;m++)if(m in this&&this[m]===h)return m;return-1},v=function(m,f){this.name=m,this.code=DOMException[m],this.message=f},p=function(m,f){if(f==="")throw new v("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(f))throw new v("INVALID_CHARACTER_ERR","The token must not contain space characters.");return g.call(m,f)},a=function(m){for(var f=S.call(m.getAttribute("class")||""),y=f?f.split(/\s+/):[],I=0,E=y.length;I<E;I++)this.push(y[I]);this._updateClassName=function(){m.setAttribute("class",this.toString())}},o=a[x]=[],u=function(){return new a(this)};if(v[x]=Error[x],o.item=function(h){return this[h]||null},o.contains=function(h){return~p(this,h+"")},o.add=function(){for(var h,m=arguments,f=0,y=m.length,I=!1;h=m[f]+"",~p(this,h)||(this.push(h),I=!0),++f<y;);I&&this._updateClassName()},o.remove=function(){var h,m,f=arguments,y=0,I=f.length,E=!1;do for(h=f[y]+"",m=p(this,h);~m;)this.splice(m,1),E=!0,m=p(this,h);while(++y<I);E&&this._updateClassName()},o.toggle=function(h,m){var f=this.contains(h),y=f?m!==!0&&"remove":m!==!1&&"add";return y&&this[y](h),m===!0||m===!1?m:!f},o.replace=function(h,m){var f=p(h+"");~f&&(this.splice(f,1,m),this._updateClassName())},o.toString=function(){return this.join(" ")},P.defineProperty){var d={get:u,enumerable:!0,configurable:!0};try{P.defineProperty(N,c,d)}catch(h){h.number!==void 0&&h.number!==-2146823252||(d.enumerable=!1,P.defineProperty(N,c,d))}}else P[x].__defineGetter__&&N.__defineGetter__(c,u)}}(self),function(){var s=document.createElement("_");if(s.classList.add("c1","c2"),!s.classList.contains("c2")){var c=function(P){var S=DOMTokenList.prototype[P];DOMTokenList.prototype[P]=function(g){var v,p=arguments.length;for(v=0;v<p;v++)g=arguments[v],S.call(this,g)}};c("add"),c("remove")}if(s.classList.toggle("c3",!1),s.classList.contains("c3")){var x=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(N,P){return 1 in arguments&&!this.contains(N)==!P?P:x.call(this,N)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(N,P){var S=this.toString().split(" "),g=S.indexOf(N+"");~g&&(S=S.slice(g),this.remove.apply(this,S),this.add(P),this.add.apply(this,S.slice(1)))}),s=null}());function e(s,c,x){if(typeof s!="string")return new e.Bootstrap(s,c,x);var N=document.querySelectorAll(s);c&&c.iframe_document&&(N=c.iframe_document.querySelectorAll(s));for(var P=[],S=0;S<N.length;S++){var g=N[S]["data-froala.editor"];g?P.push(g):P.push(new e.Bootstrap(N[S],c,x))}return P.length==1?P[0]:P}e.RegisterPlugins=function(s){for(var c=0;c<s.length;c++)s[c].call(e)},Object.assign(e,{DEFAULTS:{initOnClick:!1,pluginsEnabled:null},MODULES:{},PLUGINS:{},VERSION:"3.2.6-1",INSTANCES:[],OPTS_MAPPING:{},SHARED:{},ID:0}),e.MODULES.node=function(s){var c=s.$;function x(v){return v&&v.tagName!=="IFRAME"?Array.prototype.slice.call(v.childNodes||[]):[]}function N(v){return!!v&&v.nodeType===Node.ELEMENT_NODE&&0<=e.BLOCK_TAGS.indexOf(v.tagName.toLowerCase())}function P(v){var p={},a=v.attributes;if(a)for(var o=0;o<a.length;o++){var u=a[o];p[u.nodeName]=u.value}return p}function S(v){for(var p="",a=P(v),o=Object.keys(a).sort(),u=0;u<o.length;u++){var d=o[u],h=a[d];h.indexOf("'")<0&&0<=h.indexOf('"')?p+=" ".concat(d,"='").concat(h,"'"):(0<=h.indexOf('"')&&0<=h.indexOf("'")&&(h=h.replace(/"/g,""")),p+=" ".concat(d,'="').concat(h,'"'))}return p}function g(v){return v===s.el}return{isBlock:N,isEmpty:function(p,a){if(!p)return!0;if(p.querySelector("table"))return!1;var o=x(p);o.length===1&&N(o[0])&&(o=x(o[0]));for(var u=!1,d=0;d<o.length;d++){var h=o[d];if(!(a&&s.node.hasClass(h,"fr-marker")||h.nodeType===Node.TEXT_NODE&&h.textContent.length===0)){if(h.tagName!=="BR"&&0<(h.textContent||"").replace(/\u200B/gi,"").replace(/\n/g,"").length||u)return!1;h.tagName==="BR"&&(u=!0)}}return!(p.querySelectorAll(e.VOID_ELEMENTS.join(",")).length-p.querySelectorAll("br").length||p.querySelector("".concat(s.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||1<p.querySelectorAll(e.BLOCK_TAGS.join(",")).length||p.querySelector("".concat(s.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)")))},blockParent:function(p){for(;p&&p.parentNode!==s.el&&(!p.parentNode||!s.node.hasClass(p.parentNode,"fr-inner"));)if(N(p=p.parentNode))return p;return null},deepestParent:function(p,a,o){if(a===void 0&&(a=[]),o===void 0&&(o=!0),a.push(s.el),0<=a.indexOf(p.parentNode)||p.parentNode&&s.node.hasClass(p.parentNode,"fr-inner")||p.parentNode&&0<=e.SIMPLE_ENTER_TAGS.indexOf(p.parentNode.tagName)&&o)return null;for(;a.indexOf(p.parentNode)<0&&p.parentNode&&!s.node.hasClass(p.parentNode,"fr-inner")&&(e.SIMPLE_ENTER_TAGS.indexOf(p.parentNode.tagName)<0||!o)&&(!N(p)||N(p.parentNode))&&(!N(p)||!N(p.parentNode)||!o);)p=p.parentNode;return p},rawAttributes:P,attributes:S,clearAttributes:function(p){for(var a=p.attributes,o=a.length-1;0<=o;o--){var u=a[o];p.removeAttribute(u.nodeName)}},openTagString:function(p){return"<".concat(p.tagName.toLowerCase()).concat(S(p),">")},closeTagString:function(p){return"</".concat(p.tagName.toLowerCase(),">")},isFirstSibling:function v(p,a){a===void 0&&(a=!0);for(var o=p.previousSibling;o&&a&&s.node.hasClass(o,"fr-marker");)o=o.previousSibling;return!o||o.nodeType===Node.TEXT_NODE&&o.textContent===""&&v(o)},isLastSibling:function v(p,a){a===void 0&&(a=!0);for(var o=p.nextSibling;o&&a&&s.node.hasClass(o,"fr-marker");)o=o.nextSibling;return!o||o.nodeType===Node.TEXT_NODE&&o.textContent===""&&v(o)},isList:function(p){return!!p&&0<=["UL","OL"].indexOf(p.tagName)},isLink:function(p){return!!p&&p.nodeType===Node.ELEMENT_NODE&&p.tagName.toLowerCase()==="a"},isElement:g,contents:x,isVoid:function(p){return p&&p.nodeType===Node.ELEMENT_NODE&&0<=e.VOID_ELEMENTS.indexOf((p.tagName||"").toLowerCase())},hasFocus:function(p){return p===s.doc.activeElement&&(!s.doc.hasFocus||s.doc.hasFocus())&&!!(g(p)||p.type||p.href||~p.tabIndex)},isEditable:function(p){return(!p.getAttribute||p.getAttribute("contenteditable")!=="false")&&["STYLE","SCRIPT"].indexOf(p.tagName)<0},isDeletable:function(p){return p&&p.nodeType===Node.ELEMENT_NODE&&p.getAttribute("class")&&0<=(p.getAttribute("class")||"").indexOf("fr-deletable")},hasClass:function(p,a){return p instanceof c&&(p=p.get(0)),p&&p.classList&&p.classList.contains(a)},filter:function(p){return s.browser.msie?p:{acceptNode:p}}}},Object.assign(e.DEFAULTS,{htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","script","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video","wbr"],htmlRemoveTags:["script","style"],htmlAllowedAttrs:["accept","accept-charset","accesskey","action","align","allowfullscreen","allowtransparency","alt","async","autocomplete","autofocus","auto
1play","autosave","background","bgcolor","border","charset","cellpadding","cellspacing","checked","cite","class","color","cols","colspan","content","contenteditable","contextmenu","controls","coords","data","data-.*","datetime","default","defer","dir","dirname","disabled","download","draggable","dropzone","enctype","for","form","formaction","frameborder","headers","height","hidden","high","href","hreflang","http-equiv","icon","id","ismap","itemprop","keytype","kind","label","lang","language","list","loop","low","max","maxlength","media","method","min","mozallowfullscreen","multiple","muted","name","novalidate","open","optimum","pattern","ping","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","reversed","rows","rowspan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","src","srcdoc","srclang","srcset","start","step","summary","spellcheck","style","tabindex","target","title","type","translate","usemap","value","valign","webkitallowfullscreen","width","wrap"],htmlAllowedStyleProps:[".*"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),e.HTML5Map={B:"STRONG",I:"EM",STRIKE:"S"},e.MODULES.clean=function(s){var c,x,N,P,S=s.$;function g(f){if(f.nodeType===Node.ELEMENT_NODE&&f.getAttribute("class")&&0<=f.getAttribute("class").indexOf("fr-marker"))return!1;var y,I=s.node.contents(f),E=[];for(y=0;y<I.length;y++)I[y].nodeType!==Node.ELEMENT_NODE||s.node.isVoid(I[y])?I[y].nodeType===Node.TEXT_NODE&&(I[y].textContent=I[y].textContent.replace(/\u200b/g,"")):I[y].textContent.replace(/\u200b/g,"").length!==I[y].textContent.length&&g(I[y]);if(f.nodeType===Node.ELEMENT_NODE&&!s.node.isVoid(f)&&(f.normalize(),I=s.node.contents(f),E=f.querySelectorAll(".fr-marker"),I.length-E.length==0)){for(y=0;y<I.length;y++)if(I[y].nodeType===Node.ELEMENT_NODE&&(I[y].getAttribute("class")||"").indexOf("fr-marker")<0)return!1;for(y=0;y<E.length;y++)f.parentNode.insertBefore(E[y].cloneNode(!0),f);return f.parentNode.removeChild(f),!1}}function v(f,y){if(f.nodeType===Node.COMMENT_NODE)return"<!--".concat(f.nodeValue,"-->");if(f.nodeType===Node.TEXT_NODE)return y?f.textContent.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"):f.textContent.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\u00A0/g," ").replace(/\u0009/g,"");if(f.nodeType!==Node.ELEMENT_NODE||f.nodeType===Node.ELEMENT_NODE&&0<=["STYLE","SCRIPT","NOSCRIPT"].indexOf(f.tagName))return f.outerHTML;if(f.nodeType===Node.ELEMENT_NODE&&f.tagName==="svg"){var I=document.createElement("div"),E=f.cloneNode(!0);return I.appendChild(E),I.innerHTML}if(f.tagName==="IFRAME")return f.outerHTML.replace(/</g,"<").replace(/>/g,">");var M=f.childNodes;if(M.length===0)return f.outerHTML;for(var D="",F=0;F<M.length;F++)f.tagName==="PRE"&&(y=!0),D+=v(M[F],y);return s.node.openTagString(f)+D+s.node.closeTagString(f)}var p=[];function a(f){var y=f.replace(/;;/gi,";");return(y=y.replace(/^;/gi,"")).charAt(y.length)!==";"&&(y+=";"),y}function o(f){var y;for(y in f)if(Object.prototype.hasOwnProperty.call(f,y)){var I=y.match(N),E=null;y==="style"&&s.opts.htmlAllowedStyleProps.length&&(E=f[y].match(P)),I&&E?f[y]=a(E.join(";")):I&&(y!=="style"||E)||delete f[y]}for(var M="",D=Object.keys(f).sort(),F=0;F<D.length;F++)f[y=D[F]].indexOf('"')<0?M+=" ".concat(y,'="').concat(f[y],'"'):M+=" ".concat(y,"='").concat(f[y],"'");return M}function u(f,y){var I,E=document.implementation.createHTMLDocument("Froala DOC").createElement("DIV");S(E).append(f);var M="";if(E){var D=s.node.contents(E);for(I=0;I<D.length;I++)y(D[I]);for(D=s.node.contents(E),I=0;I<D.length;I++)M+=v(D[I])}return M}function d(f,y,I){var E=f=function(F){return p=[],F=(F=(F=(F=F.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,function(X){return p.push(X),"[FROALA.EDITOR.SCRIPT ".concat(p.length-1,"]")})).replace(/<noscript\b[^<]*(?:(?!<\/noscript>)<[^<]*)*<\/noscript>/gi,function(X){return p.push(X),"[FROALA.EDITOR.NOSCRIPT ".concat(p.length-1,"]")})).replace(/<meta((?:[\w\W]*?)) http-equiv="/g,'<meta$1 data-fr-http-equiv="')).replace(/<img((?:[\w\W]*?)) src="/g,'<img$1 data-fr-src="')}(f),M=null;return s.opts.fullPage&&(E=s.html.extractNode(f,"body")||(0<=f.indexOf("<body")?"":f),I&&(M=s.html.extractNode(f,"head")||"")),E=u(E,y),M&&(M=u(M,y)),function(F){return F=(F=(F=F.replace(/\[FROALA\.EDITOR\.SCRIPT ([\d]*)\]/gi,function(X,_){return 0<=s.opts.htmlRemoveTags.indexOf("script")?"":p[parseInt(_,10)]})).replace(/\[FROALA\.EDITOR\.NOSCRIPT ([\d]*)\]/gi,function(X,_){if(0<=s.opts.htmlRemoveTags.indexOf("noscript"))return"";var w=p[parseInt(_,10)].replace(/</g,"<").replace(/>/g,">"),A=S(w);if(A&&A.length){var U=u(A.html(),m);A.html(U),w=A.get(0).outerHTML}return w})).replace(/<img((?:[\w\W]*?)) data-fr-src="/g,'<img$1 src="')}(function(F,X,_){if(s.opts.fullPage){var w=s.html.extractDoctype(_),A=o(s.html.extractNodeAttrs(_,"html"));X=X===null?s.html.extractNode(_,"head")||"<title></title>":X;var U=o(s.html.extractNodeAttrs(_,"head")),b=o(s.html.extractNodeAttrs(_,"body"));return"".concat(w,"<html").concat(A,"><head").concat(U,">").concat(X,"</head><body").concat(b,">").concat(F,"</body></html>")}return F}(E,M,f))}function h(f){var y=s.doc.createElement("DIV");return y.innerText=f,y.textContent}function m(f){for(var y=s.node.contents(f),I=0;I<y.length;I++)y[I].nodeType!==Node.TEXT_NODE&&m(y[I]);(function(M){if(M.tagName==="SPAN"&&0<=(M.getAttribute("class")||"").indexOf("fr-marker"))return!1;if(M.tagName==="PRE"&&function(k){var O=k.innerHTML;0<=O.indexOf(` 2`)&&(k.innerHTML=O.replace(/\n/g,"<br>"))}(M),M.nodeType===Node.ELEMENT_NODE&&(M.getAttribute("data-fr-src")&&M.getAttribute("data-fr-src").indexOf("blob:")!==0&&M.setAttribute("data-fr-src",s.helpers.sanitizeURL(h(M.getAttribute("data-fr-src")))),M.getAttribute("href")&&M.setAttribute("href",s.helpers.sanitizeURL(h(M.getAttribute("href")))),M.getAttribute("src")&&M.setAttribute("src",s.helpers.sanitizeURL(h(M.getAttribute("src")))),M.getAttribute("srcdoc")&&M.setAttribute("srcdoc",s.clean.html(M.getAttribute("srcdoc"))),0<=["TABLE","TBODY","TFOOT","TR"].indexOf(M.tagName)&&(M.innerHTML=M.innerHTML.trim())),!s.opts.pasteAllowLocalImages&&M.nodeType===Node.ELEMENT_NODE&&M.tagName==="IMG"&&M.getAttribute("data-fr-src")&&M.getAttribute("data-fr-src").indexOf("file://")===0)return M.parentNode.removeChild(M),!1;if(M.nodeType===Node.ELEMENT_NODE&&e.HTML5Map[M.tagName]&&s.node.attributes(M)===""){var D=e.HTML5Map[M.tagName],F="<".concat(D,">").concat(M.innerHTML,"</").concat(D,">");M.insertAdjacentHTML("beforebegin",F),(M=M.previousSibling).parentNode.removeChild(M.nextSibling)}if(s.opts.htmlAllowComments||M.nodeType!==Node.COMMENT_NODE)if(M.tagName&&M.tagName.match(x))M.tagName=="STYLE"&&s.helpers.isMac()&&function(){var b,k=M.innerHTML.trim(),O=[],z=/{([^}]+)}/g;for(k=k.replace(/\/\*[\s\S]*?\*\/|([^\\:]|^)\/\/.*|<!--[\s\S]*?-->$/,"");b=z.exec(k);)O.push(b[1]);for(var W=function(se){var ae=k.substring(0,k.indexOf("{")).trim();!/^[a-z_-][a-z\d_-]*$/i.test(ae)==0&&M.parentNode.querySelectorAll(ae).forEach(function(he){he.removeAttribute("class"),he.setAttribute("style",O[se])}),k=k.substring(k.indexOf("}")+1)},Q=0;k.indexOf("{")!=-1;Q++)W(Q)}(),M.parentNode.removeChild(M);else if(M.tagName&&!M.tagName.match(c))M.tagName==="svg"?M.parentNode.removeChild(M):s.browser.safari&&M.tagName==="path"&&M.parentNode&&M.parentNode.tagName==="svg"||(M.outerHTML=M.innerHTML);else{var X=M.attributes;if(X)for(var _=X.length-1;0<=_;_--){var w=X[_],A=w.nodeName.match(N),U=null;w.nodeName==="style"&&s.opts.htmlAllowedStyleProps.length&&(U=w.value.match(P)),A&&U?w.value=a(U.join(";")):A&&(w.nodeName!=="style"||U)||M.removeAttribute(w.nodeName)}}else M.data.indexOf("[FROALA.EDITOR")!==0&&M.parentNode.removeChild(M)})(f)}return{_init:function(){s.opts.fullPage&&S.merge(s.opts.htmlAllowedTags,["head","title","style","link","base","body","html","meta"])},html:function(y,I,E,M){I===void 0&&(I=[]),E===void 0&&(E=[]),M===void 0&&(M=!1);
vendor: 18,288 bytes, line 2
2var D,F=S.merge([],s.opts.htmlAllowedTags);for(D=0;D<I.length;D++)0<=F.indexOf(I[D])&&F.splice(F.indexOf(I[D]),1);var X=S.merge([],s.opts.htmlAllowedAttrs);for(D=0;D<E.length;D++)0<=X.indexOf(E[D])&&X.splice(X.indexOf(E[D]),1);return X.push("data-fr-.*"),X.push("fr-.*"),c=new RegExp("^".concat(F.join("$|^"),"$"),"gi"),N=new RegExp("^".concat(X.join("$|^"),"$"),"gi"),x=new RegExp("^".concat(s.opts.htmlRemoveTags.join("$|^"),"$"),"gi"),P=s.opts.htmlAllowedStyleProps.length?new RegExp("((^|;|\\s)".concat(s.opts.htmlAllowedStyleProps.join(":.+?(?=;|$))|((^|;|\\s)"),":.+?(?=(;)|$))"),"gi"):null,y=d(y,m,!0)},toHTML5:function(){var y=s.el.querySelectorAll(Object.keys(e.HTML5Map).join(","));if(y.length){var I=!1;s.el.querySelector(".fr-marker")||(s.selection.save(),I=!0);for(var E=0;E<y.length;E++)s.node.attributes(y[E])===""&&S(y[E]).replaceWith("<".concat(e.HTML5Map[y[E].tagName],">").concat(y[E].innerHTML,"</").concat(e.HTML5Map[y[E].tagName],">"));I&&s.selection.restore()}},tables:function(){(function(){for(var I=s.el.querySelectorAll("tr"),E=0;E<I.length;E++){for(var M=I[E].children,D=!0,F=0;F<M.length;F++)if(M[F].tagName!=="TH"){D=!1;break}if(D!==!1&&M.length!==0){for(var X=I[E];X&&X.tagName!=="TABLE"&&X.tagName!=="THEAD";)X=X.parentNode;var _=X;_.tagName!=="THEAD"&&(_=s.doc.createElement("THEAD"),X.insertBefore(_,X.firstChild)),_.appendChild(I[E])}}})()},lists:function(){(function(){var I,E=[];do{if(E.length){var M=E[0],D=s.doc.createElement("ul");M.parentNode.insertBefore(D,M);do{var F=M;M=M.nextSibling,D.appendChild(F)}while(M&&M.tagName==="LI")}E=[];for(var X=s.el.querySelectorAll("li"),_=0;_<X.length;_++)I=X[_],s.node.isList(I.parentNode)||E.push(X[_])}while(0<E.length)})(),function(){for(var I=s.el.querySelectorAll("ol + ol, ul + ul"),E=0;E<I.length;E++){var M=I[E];if(s.node.isList(M.previousSibling)&&s.node.openTagString(M)===s.node.openTagString(M.previousSibling)){for(var D=s.node.contents(M),F=0;F<D.length;F++)M.previousSibling.appendChild(D[F]);M.parentNode.removeChild(M)}}}(),function(){for(var I=s.el.querySelectorAll("ul, ol"),E=0;E<I.length;E++)for(var M=s.node.contents(I[E]),D=null,F=M.length-1;0<=F;F--)M[F].tagName!=="LI"&&M[F].tagName!="UL"&&M[F].tagName!="OL"?(D||(D=S(s.doc.createElement("LI"))).insertBefore(M[F]),D.prepend(M[F])):D=null}(),function(){var I,E,M;do{E=!1;var D=s.el.querySelectorAll("li:empty");for(I=0;I<D.length;I++)D[I].parentNode.removeChild(D[I]);var F=s.el.querySelectorAll("ul, ol");for(I=0;I<F.length;I++)(M=F[I]).querySelector("LI")||(E=!0,M.parentNode.removeChild(M))}while(E===!0)}(),function(){for(var I=s.el.querySelectorAll("ul > ul, ol > ol, ul > ol, ol > ul"),E=0;E<I.length;E++){var M=I[E],D=M.previousSibling;D&&(D.tagName==="LI"?D.appendChild(M):S(M).wrap("<li></li>"))}}(),function(){for(var I=s.el.querySelectorAll("li > ul, li > ol"),E=0;E<I.length;E++){var M=I[E];if(M.nextSibling)for(var D=M.nextSibling;0<D.childNodes.length;)M.append(D.childNodes[0])}}(),function(){for(var I=s.el.querySelectorAll("li > ul, li > ol"),E=0;E<I.length;E++){var M=I[E];if(s.node.isFirstSibling(M)&&M.parentNode.style.listStyleType!="none")S(M).before("<br/>");else if(M.previousSibling&&M.previousSibling.tagName==="BR"){for(var D=M.previousSibling.previousSibling;D&&s.node.hasClass(D,"fr-marker");)D=D.previousSibling;D&&D.tagName!=="BR"&&S(M.previousSibling).remove()}}}(),function(){for(var I=s.el.querySelectorAll("li:empty"),E=0;E<I.length;E++)S(I[E]).remove()}()},invisibleSpaces:function(y){return y.replace(/\u200b/g,"").length===y.length?y:s.clean.exec(y,g)},exec:d}},e.XS=0,e.SM=1,e.MD=2,e.LG=3,e.LinkRegExCommon="[".concat("a-z\\u0080-\\u009f\\u00a1-\\uffff0-9-_\\.","]{1,}"),e.LinkRegExEnd="((:[0-9]{1,5})|)(((\\/|\\?|#)[a-z\\u00a1-\\uffff0-9@?\\|!^=%&\\/~+#-\\'*-_{}]*)|())",e.LinkRegExTLD="((".concat(e.LinkRegExCommon,")(\\.(com|net|org|edu|mil|gov|co|biz|info|me|dev)))"),e.LinkRegExHTTP="((ftp|http|https):\\/\\/".concat(e.LinkRegExCommon,")"),e.LinkRegExAuth="((ftp|http|https):\\/\\/[\\u0021-\\uffff]{1,}@".concat(e.LinkRegExCommon,")"),e.LinkRegExWWW="(www\\.".concat(e.LinkRegExCommon,"\\.[a-z0-9-]{2,24})"),e.LinkRegEx="(".concat(e.LinkRegExTLD,"|").concat(e.LinkRegExHTTP,"|").concat(e.LinkRegExWWW,"|").concat(e.LinkRegExAuth,")").concat(e.LinkRegExEnd),e.LinkProtocols=["mailto","tel","sms","notes","data"],e.MAIL_REGEX=/.+@.+\..+/i,e.MODULES.helpers=function(s){var c,x=s.$;function N(){var a={},o=function(){var f,y=-1;return navigator.appName==="Microsoft Internet Explorer"?(f=navigator.userAgent,new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})").exec(f)!==null&&(y=parseFloat(RegExp.$1))):navigator.appName==="Netscape"&&(f=navigator.userAgent,new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})").exec(f)!==null&&(y=parseFloat(RegExp.$1))),y}();if(0<o)a.msie=!0;else{var u=navigator.userAgent.toLowerCase(),d=/(edge)[ /]([\w.]+)/.exec(u)||/(chrome)[ /]([\w.]+)/.exec(u)||/(webkit)[ /]([\w.]+)/.exec(u)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(u)||/(msie) ([\w.]+)/.exec(u)||u.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(u)||[],h=d[1]||"";d[2],d[1]&&(a[h]=!0),a.chrome?a.webkit=!0:a.webkit&&(a.safari=!0)}return a.msie&&(a.version=o),a}function P(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&!v()}function S(){return/(Android)/g.test(navigator.userAgent)&&!v()}function g(){return/(Blackberry)/g.test(navigator.userAgent)}function v(){return/(Windows Phone)/gi.test(navigator.userAgent)}var p=null;return{_init:function(){s.browser=N()},isIOS:P,isMac:function(){return p===null&&(p=0<=navigator.platform.toUpperCase().indexOf("MAC")),p},isAndroid:S,isBlackberry:g,isWindowsPhone:v,isMobile:function(){return S()||P()||g()},isEmail:function(o){return!/^(https?:|ftps?:|)\/\//i.test(o)&&e.MAIL_REGEX.test(o)},requestAnimationFrame:function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(o){window.setTimeout(o,1e3/60)}},getPX:function(o){return parseInt(o,10)||0},screenSize:function(o){try{var u=0;if((u=o?s.$box.width():s.$sc.width())<768)return e.XS;if(768<=u&&u<992)return e.SM;if(992<=u&&u<1200)return e.MD;if(1200<=u)return e.LG}catch{return e.LG}},isTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch},sanitizeURL:function(o){return/^(https?:|ftps?:|)\/\//i.test(o)||/^([A-Za-z]:(\\){1,2}|[A-Za-z]:((\\){1,2}[^\\]+)+)(\\)?$/i.test(o)||new RegExp("^(".concat(e.LinkProtocols.join("|"),"):"),"i").test(o)?o:o=encodeURIComponent(o).replace(/%23/g,"#").replace(/%2F/g,"/").replace(/%25/g,"%").replace(/mailto%3A/gi,"mailto:").replace(/file%3A/gi,"file:").replace(/sms%3A/gi,"sms:").replace(/tel%3A/gi,"tel:").replace(/notes%3A/gi,"notes:").replace(/data%3Aimage/gi,"data:image").replace(/blob%3A/gi,"blob:").replace(/%3A(\d)/gi,":$1").replace(/webkit-fake-url%3A/gi,"webkit-fake-url:").replace(/%3F/g,"?").replace(/%3D/g,"=").replace(/%26/g,"&").replace(/&/g,"&").replace(/%2C/g,",").replace(/%3B/g,";").replace(/%2B/g,"+").replace(/%40/g,"@").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%7B/g,"{").replace(/%7D/g,"}")},isArray:function(o){return o&&!Object.prototype.propertyIsEnumerable.call(o,"length")&&i(o)==="object"&&typeof o.length=="number"},RGBToHex:function(o){function u(d){return"0".concat(parseInt(d,10).toString(16)).slice(-2)}try{return o&&o!=="transparent"?/^#[0-9A-F]{6}$/i.test(o)?o:(o=o.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/),"#".concat(u(o[1])).concat(u(o[2])).concat(u(o[3])).toUpperCase()):""}catch{return null}},HEXtoRGB:function(o){o=o.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(d,h,m,f){return h+h+m+m+f+f});var u=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o);return u?"rgb(".concat(parseInt(u[1],16),", ").concat(parseInt(u[2],16),", ").concat(parseInt(u[3],16),")"):""},isURL:function(o){return!!/^(https?:|ftps?:|)\/\//i.test(o)&&(o=String(o).replace(/</g,"%3C").replace(/>/g,"%3E").replace(/"/g,"%22").replace(/ /g,"%20"),new RegExp("^".concat(e.LinkRegExHTTP).concat(e.LinkRegExEnd,"$"),"gi").test(o))},getAlignment:function(o){o.css||(o=x(o));var u=(o.css("text-align")||"").replace(/-(.*)-/g,"");if(["left","right","justify","center"].indexOf(u)<0){if(!c){var d=x('<div dir="'.concat(s.opts.direction==="rtl"?"rtl":"auto",'" style="text-align: ').concat(s.$el.css("text-align"),'; position: fixed; left: -3000px;"><span id="s1">.</span><span id="s2">.</span></div>'));x("body").first().append(d);var h=d.find("#s1").get(0).getBoundingClientRect().left,m=d.find("#s2").get(0).getBoundingClientRect().left;d.remove(),c=h<m?"left":"right"}u=c}return u},scrollTop:function(){return s.o_win.pageYOffset?s.o_win.pageYOffset:s.o_doc.documentElement&&s.o_doc.documentElement.scrollTop?s.o_doc.documentElement.scrollTop:s.o_doc.body.scrollTop?s.o_doc.body.scrollTop:0},scrollLeft:function(){return s.o_win.pageXOffset?s.o_win.pageXOffset:s.o_doc.documentElement&&s.o_doc.documentElement.scrollLeft?s.o_doc.documentElement.scrollLeft:s.o_doc.body.scrollLeft?s.o_doc.body.scrollLeft:0},isInViewPort:function(o){var u=o.getBoundingClientRect();return 0<=(u={top:Math.round(u.top),bottom:Math.round(u.bottom)}).top&&u.bottom<=(window.innerHeight||document.documentElement.clientHeight)||u.top<=0&&u.bottom>=(window.innerHeight||document.documentElement.clientHeight)}}},e.MODULES.events=function(s){var c,x=s.$,N={};function P(I,E,M){d(I,E,M)}function S(I){if(I===void 0&&(I=!0),!s.$wp||(s.helpers.isIOS()&&s.$win.get(0).focus(),s.core.hasFocus()))return!1;if(s.selection.isCollapsed()&&!s.selection.get().anchorNode){var E=s.$el.find(s.html.blockTagsQuery()).get(0);E&&(x(E).prepend(e.MARKERS),s.selection.restore())}if(!s.core.hasFocus()&&I){var M=s.$win.scrollTop();if(s.browser.msie&&s.$box&&s.$box.css("position","fixed"),s.browser.msie&&s.$wp&&s.$wp.css("overflow","visible"),s.browser.msie&&s.$sc&&s.$sc.css("position","fixed"),s.browser.msie||(p(),s.el.focus(),s.events.trigger("focus"),v()),s.browser.msie&&s.$sc&&s.$sc.css("position",""),s.browser.msie&&s.$box&&s.$box.css("position",""),s.browser.msie&&s.$wp&&s.$wp.css("overflow","auto"),M!==s.$win.scrollTop()&&s.$win.scrollTop(M),!s.selection.info(s.el).atStart)return!1}if(!s.core.hasFocus()||0<s.$el.find(".fr-marker").length)return!1;if(s.selection.info(s.el).atStart&&s.selection.isCollapsed()&&s.html.defaultTag()!==null){var D=s.markers.insert();if(D&&!s.node.blockParent(D)){x(D).remove();var F=s.$el.find(s.html.blockTagsQuery()).get(0);F&&(x(F).prepend(e.MARKERS),s.selection.restore())}else D&&x(D).remove()}}var g=!1;function v(){c=!0}function p(){c=!1}function a(){return c}function o(I,E,M){var D,F=I.split(" ");if(1<F.length){for(var X=0;X<F.length;X++)o(F[X],E,M);return!0}M===void 0&&(M=!1),D=I.indexOf("shared.")!==0?(N[I]=N[I]||[],N[I]):(s.shared._events[I]=s.shared._events[I]||[],s.shared._events[I]),M?D.unshift(E):D.push(E)}var u=[];function d(I,E,M,D,F){typeof M=="function"&&(F=D,D=M,M=!1);var X=F?s.shared.$_events:u,_=F?s.sid:s.id,w="".concat(E.trim().split(" ").join(".ed".concat(_," ")),".ed").concat(_);M?I.on(w,M,D):I.on(w,D),X.push([I,w])}function h(I){for(var E=0;E<I.length;E++)I[E][0].off(I[E][1])}function m(I,E,M){if(!s.edit.isDisabled()||M){var D,F;if(I.indexOf("shared.")!==0)D=N[I];else{if(0<s.shared.count)return!1;D=s.shared._events[I]}if(D){for(var X=0;X<D.length;X++)if((F=D[X].apply(s,E))===!1)return!1}return(!s.opts.events||!s.opts.events[I]||(F=s.opts.events[I].apply(s,E))!==!1)&&F}}function f(){for(var I in N)Object.prototype.hasOwnProperty.call(N,I)&&delete N[I]}function y(){for(var I in s.shared._events)Object.prototype.hasOwnProperty.call(s.shared._events,I)&&delete s.shared._events[I]}return{_init:function(){s.shared.$_events=s.shared.$_events||[],s.shared._events={},function(){s.helpers.isMobile()?(s._mousedown="touchstart",s._mouseup="touchend",s._move="touchmove",s._mousemove="touchmove"):(s._mousedown="mousedown",s._mouseup="mouseup",s._move="",s._mousemove="mousemove")}(),function(){P(s.$el,"click mouseup mousemove mousedown touchstart touchend dragenter dragover dragleave dragend drop dragstart",function(M){m(M.type,[M])}),o("mousedown",function(){for(var M=0;M<e.INSTANCES.length;M++)e.INSTANCES[M]!==s&&e.INSTANCES[M].popups&&e.INSTANCES[M].popups.areVisible()&&e.INSTANCES[M].$el.find(".fr-marker").remove()})}(),function(){P(s.$win,s._mousedown,function(M){m("window.mousedown",[M]),v()}),P(s.$win,s._mouseup,function(M){m("window.mouseup",[M])}),P(s.$win,"cut copy keydown keyup touchmove touchend",function(M){m("window.".concat(M.type),[M])})}(),function(){P(s.$doc,"dragend drop",function(M){m("document.".concat(M.type),[M])})}(),function(){P(s.$el,"keydown keypress keyup input",function(M){m(M.type,[M])})}(),function(){P(s.$el,"focus",function(M){a()&&(S(!1),g===!1&&m(M.type,[M]))}),P(s.$el,"blur",function(M){a()&&g===!0&&(m(M.type,[M]),v())}),d(s.$el,"mousedown",'[contenteditable="true"]',function(){p(),s.$el.blur()}),o("focus",function(){g=!0}),o("blur",function(){g=!1})}(),v(),function(){P(s.$el,"cut copy paste beforepaste",function(M){m(M.type,[M])})}(),o("destroy",f),o("shared.destroy",y)},on:o,trigger:m,bindClick:function(E,M,D){d(E,s._mousedown,M,function(F){s.edit.isDisabled()||function(_){var w=x(_.currentTarget);return s.edit.isDisabled()||s.node.hasClass(w.get(0),"fr-disabled")?(_.preventDefault(),!1):_.type==="mousedown"&&_.which!==1||(s.helpers.isMobile()||_.preventDefault(),(s.helpers.isAndroid()||s.helpers.isWindowsPhone())&&w.parents(".fr-dropdown-menu").length===0&&(_.preventDefault(),_.stopPropagation()),w.addClass("fr-selected"),void s.events.trigger("commands.mousedown",[w]))}(F)},!0),d(E,"".concat(s._mouseup," ").concat(s._move),M,function(F){s.edit.isDisabled()||function(_,w){var A=x(_.currentTarget);if(s.edit.isDisabled()||s.node.hasClass(A.get(0),"fr-disabled"))return _.preventDefault(),!1;if(_.type==="mouseup"&&_.which!==1||s.button.getButtons(".fr-selected",!0).get(0)==A.get(0)&&!s.node.hasClass(A.get(0),"fr-selected"))return!0;if(_.type!=="touchmove"){if(_.stopPropagation(),_.stopImmediatePropagation(),_.preventDefault(),!s.node.hasClass(A.get(0),"fr-selected"))return s.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),!1;if(s.button.getButtons(".fr-selected",!0).removeClass("fr-selected"),A.data("dragging")||A.attr("disabled"))return A.removeData("dragging"),!1;var U=A.data("timeout");U&&(clearTimeout(U),A.removeData("timeout")),w.apply(s,[_])}else A.data("timeout")||A.data("timeout",setTimeout(function(){A.data("dragging",!0)},100))}(F,D)},!0),d(E,"mousedown click mouseup",M,function(F){s.edit.isDisabled()||F.stopPropagation()},!0),o("window.mouseup",function(){s.edit.isDisabled()||(E.find(M).removeClass("fr-selected"),v())}),d(E,"mouseover",M,function(){x(this).hasClass("fr-options")&&x(this).prev(".fr-btn").addClass("fr-btn-hover"),x(this).next(".fr-btn").hasClass("fr-options")&&x(this).next(".fr-btn").addClass("fr-btn-hover")}),d(E,"mouseout",M,function(){x(this).hasClass("fr-options")&&x(this).prev(".fr-btn").removeClass("fr-btn-hover"),x(this).next(".fr-btn").hasClass("fr-options")&&x(this).next(".fr-btn").removeClass("fr-btn-hover")})},disableBlur:p,enableBlur:v,blurActive:a,focus:S,chainTrigger:function(E,M,D){if(!s.edit.isDisabled()||D){var F,X;if(E.indexOf("shared.")!==0)F=N[E];else{if(0<s.shared.count)return!1;F=s.shared._events[E]}if(F)for(var _=0;_<F.length;_++)(X=F[_].apply(s,[M]))!==void 0&&(M=X);return s.opts.events&&s.opts.events[E]&&(X=s.opts.events[E].apply(s,[M]))!==void 0&&(M=X),M}},$on:d,$off:function(){h(u),u=[],s.shared.count===0&&(h(s.shared.$_events),s.shared.$_events=[])}}},Object.assign(e.DEFAULTS,{indentMargin:20}),e.COMMANDS={bold:{title:"Bold",toggle:!0,refresh:function(s){var c=this.format.is("strong");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},italic:{title:"Italic",toggle:!0,refresh:function(s){var c=this.format.is("em");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},underline:{title:"Underline",toggle:!0,refresh:function(s){var c=this.format.is("u");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},strikeThrough:{title:"Strikethrough",toggle:!0,refresh:function(s){var c=this.format.is("s");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},subscript:{title:"Subscript",toggle:!0,refresh:function(s){var c=this.format.is("sub");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},superscript:{title:"Superscript",toggle:!0,refresh:function(s){var c=this.format.is("sup");s.toggleClass("fr-active",c).attr("aria-pressed",c)}},outdent:{title:"Decrease Indent"},indent:{title:"Increase Indent"},undo:{title:"Undo",undo:!1,forcedRefresh:!0,disabled:!0},redo:{title:"Redo",undo:!1,forcedRefresh:!0,disabled:!0},insertHR:{title:"Insert Horizontal Line"},clearFormatting:{title:"Clear Formatting"},selectAll:{title:"Select All",undo:!1},moreText:{title:"More Text",undo:!1},moreParagraph:{title:"More Paragraph",undo:!1},moreRich:{title:"More Rich",undo:!1},moreMisc:{title:"More Misc",undo:!1}},e.RegisterCommand=function(s,c){e.COMMANDS[s]=c},e.MODULES.commands=function(s){var c=s.$;function x(u){return s.html.defaultTag()&&(u="<".concat(s.html.defaultTag(),">").concat(u,"</").concat(s.html.defaultTag(),">")),u}var N={bold:function(){g("bold","strong")},subscript:function(){s.format.is("sup")&&s.format.remove("sup"),g("subscript","sub")},superscript:function(){s.format.is("sub")&&s.format.remove("sub"),g("superscript","sup")},italic:function(){g("italic","em")},strikeThrough:function(){g("strikeThrough","s")},underline:function(){g("underline","u")},undo:function(){s.undo.run()},redo:function(){s.undo.redo()},indent:function(){v(1)},outdent:function(){v(-1)},show:function(){s.opts.toolbarInline&&s.toolbar.showInline(null,!0)},insertHR:function(){s.selection.remove();var u="";s.core.isEmpty()&&(u=x(u="<br>")),s.html.insert('<hr id="fr-just" class="fr-just">'.concat(u));var d,h=s.$el.find("hr#fr-just").length?s.$el.find("hr#fr-just"):s.$el.find(".fr-just");if(h.removeAttr("id"),h.removeAttr("class"),h.next().length===0){var m=s.html.defaultTag();m?h.after(c(s.doc.createElement(m)).append("<br>").get(0)):h.after("<br>")}h.prev().is("hr")?d=s.selection.setAfter(h.get(0),!1):h.next().is("hr")?d=s.selection.setBefore(h.get(0),!1):s.selection.setAfter(h.get(0),!1)||s.selection.setBefore(h.get(0),!1),d||d===void 0||(u=x(u="".concat(e.MARKERS,"<br>
2")),h.after(u)),s.selection.restore()},clearFormatting:function(){s.format.remove()},selectAll:function(){s.doc.execCommand("selectAll",!1,!1)},moreText:function(u){P(u)},moreParagraph:function(u){P(u)},moreRich:function(u){P(u)},moreMisc:function(u){P(u)}};function P(u){(function(h){var m=s.$tb.find('.fr-more-toolbar[data-name="'.concat(h.attr("data-group-name"),'"]'));s.$tb.find(".fr-open").not(h).removeClass("fr-open"),h.toggleClass("fr-open"),s.$tb.find(".fr-more-toolbar").removeClass("fr-overflow-visible"),s.$tb.find(".fr-expanded").not(m).length?(s.$tb.find(".fr-expanded").toggleClass("fr-expanded"),m.toggleClass("fr-expanded")):(m.toggleClass("fr-expanded"),s.$box.toggleClass("fr-toolbar-open"),s.$tb.toggleClass("fr-toolbar-open"))})(s.$tb.find("[data-cmd=".concat(u,"]"))),s.toolbar.setMoreToolbarsHeight()}function S(u,d){if(s.events.trigger("commands.before",c.merge([u],d||[]))!==!1){var h=e.COMMANDS[u]&&e.COMMANDS[u].callback||N[u],m=!0,f=!1;e.COMMANDS[u]&&(typeof e.COMMANDS[u].focus<"u"&&(m=e.COMMANDS[u].focus),typeof e.COMMANDS[u].accessibilityFocus<"u"&&(f=e.COMMANDS[u].accessibilityFocus)),(!s.core.hasFocus()&&m&&!s.popups.areVisible()||!s.core.hasFocus()&&f&&s.accessibility.hasFocus())&&s.events.focus(!0),e.COMMANDS[u]&&e.COMMANDS[u].undo!==!1&&(s.$el.find(".fr-marker").length&&(s.events.disableBlur(),s.selection.restore()),s.undo.saveStep()),h&&h.apply(s,c.merge([u],d||[])),s.events.trigger("commands.after",c.merge([u],d||[])),e.COMMANDS[u]&&e.COMMANDS[u].undo!==!1&&s.undo.saveStep()}}function g(u,d){s.format.toggle(d)}function v(u){s.selection.save(),s.html.wrap(!0,!0,!0,!0),s.selection.restore();for(var d=s.selection.blocks(),h=0;h<d.length;h++)if(d[h].tagName!=="LI"||d[h].parentNode.tagName!=="LI"){var m=c(d[h]);d[h].tagName!="LI"&&d[h].parentNode.tagName=="LI"&&(m=c(d[h].parentNode));var f=s.opts.direction==="rtl"||m.css("direction")==="rtl"?"margin-right":"margin-left",y=s.helpers.getPX(m.css(f));if(m.width()<2*s.opts.indentMargin&&0<u)continue;d[h].parentNode.tagName!="UL"&&d[h].parentNode.tagName!="OL"&&d[h].parentNode.tagName!="LI"&&m.css(f,Math.max(y+u*s.opts.indentMargin,0)||""),m.removeClass("fr-temp-div")}s.selection.save(),s.html.unwrap(),s.selection.restore()}function p(u){return function(){S(u)}}var a={};for(var o in N)Object.prototype.hasOwnProperty.call(N,o)&&(a[o]=p(o));return Object.assign(a,{exec:S,_init:function(){s.events.on("keydown",function(d){var h=s.selection.element();if(h&&h.tagName==="HR"&&!s.keys.isArrow(d.which))return d.preventDefault(),!1}),s.events.on("keyup",function(d){var h=s.selection.element();if(h&&h.tagName==="HR"){if(d.which===e.KEYCODE.ARROW_LEFT||d.which===e.KEYCODE.ARROW_UP){if(h.previousSibling)return s.node.isBlock(h.previousSibling)?s.selection.setAtEnd(h.previousSibling):c(h).before(e.MARKERS),s.selection.restore(),!1}else if((d.which===e.KEYCODE.ARROW_RIGHT||d.which===e.KEYCODE.ARROW_DOWN)&&h.nextSibling)return s.node.isBlock(h.nextSibling)?s.selection.setAtStart(h.nextSibling):c(h).after(e.MARKERS),s.selection.restore(),!1}}),s.events.on("mousedown",function(d){if(d.target&&d.target.tagName==="HR")return d.preventDefault(),d.stopPropagation(),!1}),s.events.on("mouseup",function(){var d=s.selection.element();d===s.selection.endElement()&&d&&d.tagName==="HR"&&(d.nextSibling&&(s.node.isBlock(d.nextSibling)?s.selection.setAtStart(d.nextSibling):c(d).after(e.MARKERS)),s.selection.restore())})}})},e.MODULES.cursorLists=function(s){var c=s.$;function x(P){for(var S=P;S.tagName!=="LI";)S=S.parentNode;return S}function N(P){for(var S=P;!s.node.isList(S);)S=S.parentNode;return S}return{_startEnter:function(S){var g,v=x(S),p=v.nextSibling,a=v.previousSibling,o=s.html.defaultTag();if(s.node.isEmpty(v,!0)&&p){for(var u="",d="",h=S.parentNode;!s.node.isList(h)&&h.parentNode&&(h.parentNode.tagName!=="LI"||h.parentNode===v);)u=s.node.openTagString(h)+u,d+=s.node.closeTagString(h),h=h.parentNode;u=s.node.openTagString(h)+u,d+=s.node.closeTagString(h);var m="";for(m=h.parentNode&&h.parentNode.tagName==="LI"?"".concat(d,"<li>").concat(e.MARKERS,"<br>").concat(u):o?"".concat(d,"<").concat(o,">").concat(e.MARKERS,"<br></").concat(o,">").concat(u):"".concat(d+e.MARKERS,"<br>").concat(u);["UL","OL"].indexOf(h.tagName)<0||h.parentNode&&h.parentNode.tagName==="LI";)h=h.parentNode;c(v).replaceWith('<span id="fr-break"></span>');var f=s.node.openTagString(h)+c(h).html()+s.node.closeTagString(h);f=f.replace(/<span id="fr-break"><\/span>/g,m),c(h).replaceWith(f),s.$el.find("li:empty").remove()}else if(a&&p||!s.node.isEmpty(v,!0)){for(var y="<br>",I=S.parentNode;I&&I.tagName!=="LI";)y=s.node.openTagString(I)+y+s.node.closeTagString(I),I=I.parentNode;c(v).before("<li>".concat(y,"</li>")),c(S).remove()}else if(a){g=N(v);for(var E="".concat(e.MARKERS,"<br>"),M=S.parentNode;M&&M.tagName!=="LI";)E=s.node.openTagString(M)+E+s.node.closeTagString(M),M=M.parentNode;g.parentNode&&g.parentNode.tagName==="LI"?c(g.parentNode).after("<li>".concat(E,"</li>")):o?c(g).after("<".concat(o,">").concat(E,"</").concat(o,">")):c(g).after(E),c(v).remove()}else(g=N(v)).parentNode&&g.parentNode.tagName==="LI"?p?c(g.parentNode).before("".concat(s.node.openTagString(v)+e.MARKERS,"<br></li>")):c(g.parentNode).after("".concat(s.node.openTagString(v)+e.MARKERS,"<br></li>")):o?c(g).before("<".concat(o,">").concat(e.MARKERS,"<br></").concat(o,">")):c(g).before("".concat(e.MARKERS,"<br>")),c(v).remove()},_middleEnter:function(S){for(var g=x(S),v="",p=S,a="",o="",u=!1;p!==g;){var d=(p=p.parentNode).tagName==="A"&&s.cursor.isAtEnd(S,p)?"fr-to-remove":"";u||p==g||s.node.isBlock(p)||(u=!0,a+=e.INVISIBLE_SPACE),a=s.node.openTagString(c(p).clone().addClass(d).get(0))+a,o=s.node.closeTagString(p)+o}v=o+v+a+e.MARKERS+(s.opts.keepFormatOnDelete?e.INVISIBLE_SPACE:""),c(S).replaceWith('<span id="fr-break"></span>');var h=s.node.openTagString(g)+c(g).html()+s.node.closeTagString(g);h=h.replace(/<span id="fr-break"><\/span>/g,v),c(g).replaceWith(h)},_endEnter:function(S){for(var g=x(S),v=e.MARKERS,p="",a=S,o=!1;a!==g;)if(!(a=a.parentNode).classList.contains("fr-img-space-wrap")&&!a.classList.contains("fr-img-space-wrap2")){var u=a.tagName==="A"&&s.cursor.isAtEnd(S,a)?"fr-to-remove":"";o||a===g||s.node.isBlock(a)||(o=!0,p+=e.INVISIBLE_SPACE),p=s.node.openTagString(c(a).clone().addClass(u).get(0))+p,v+=s.node.closeTagString(a)}var d=p+v;c(S).remove(),c(g).after(d)},_backspace:function(S){var g=x(S),v=g.previousSibling;if(v){v=c(v).find(s.html.blockTagsQuery()).get(-1)||v,c(S).replaceWith(e.MARKERS);var p=s.node.contents(v);p.length&&p[p.length-1].tagName==="BR"&&c(p[p.length-1]).remove(),c(g).find(s.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===g&&c(this).replaceWith(c(this).html()+(s.node.isEmpty(this)?"":"<br>"))});for(var a,o=s.node.contents(g)[0];o&&!s.node.isList(o);)a=o.nextSibling,c(v).append(o),o=a;for(v=g.previousSibling;o;)a=o.nextSibling,c(v).append(o),o=a;1<(p=s.node.contents(v)).length&&p[p.length-1].tagName==="BR"&&c(p[p.length-1]).remove(),c(g).remove()}else{var u=N(g);if(c(S).replaceWith(e.MARKERS),u.parentNode&&u.parentNode.tagName==="LI"){var d=u.previousSibling;s.node.isBlock(d)?(c(g).find(s.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===g&&c(this).replaceWith(c(this).html()+(s.node.isEmpty(this)?"":"<br>"))}),c(d).append(c(g).html())):c(u).before(c(g).html())}else{var h=s.html.defaultTag();
vendor: 22,716 bytes, lines 2-3
2h&&c(g).find(s.html.blockTagsQuery()).length===0?c(u).before("<".concat(h,">").concat(c(g).html(),"</").concat(h,">")):c(u).before(c(g).html())}c(g).remove(),s.html.wrap(),c(u).find("li").length===0&&c(u).remove()}},_del:function(S){var g,v=x(S),p=v.nextSibling;if(p){(g=s.node.contents(p)).length&&g[0].tagName==="BR"&&c(g[0]).remove(),c(p).find(s.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===p&&c(this).replaceWith(c(this).html()+(s.node.isEmpty(this)?"":"<br>"))});for(var a,o=S,u=s.node.contents(p)[0];u&&!s.node.isList(u);)a=u.nextSibling,c(o).after(u),o=u,u=a;for(;u;)a=u.nextSibling,c(v).append(u),u=a;c(S).replaceWith(e.MARKERS),c(p).remove()}else{for(var d=v;!d.nextSibling&&d!==s.el;)d=d.parentNode;if(d===s.el)return!1;if(d=d.nextSibling,s.node.isBlock(d))e.NO_DELETE_TAGS.indexOf(d.tagName)<0&&(c(S).replaceWith(e.MARKERS),(g=s.node.contents(v)).length&&g[g.length-1].tagName==="BR"&&c(g[g.length-1]).remove(),c(v).append(c(d).html()),c(d).remove());else{for((g=s.node.contents(v)).length&&g[g.length-1].tagName==="BR"&&c(g[g.length-1]).remove(),c(S).replaceWith(e.MARKERS);d&&!s.node.isBlock(d)&&d.tagName!=="BR";)c(v).append(c(d)),d=d.nextSibling;c(d).remove()}}}}},e.NO_DELETE_TAGS=["TH","TD","TR","TABLE","FORM"],e.SIMPLE_ENTER_TAGS=["TH","TD","LI","DL","DT","FORM"],e.MODULES.cursor=function(s){var c=s.$;function x(m){return!!m&&(!!s.node.isBlock(m)||(m.nextSibling&&m.nextSibling.nodeType===Node.TEXT_NODE&&m.nextSibling.textContent.replace(/\u200b/g,"").length===0?x(m.nextSibling):!(m.nextSibling&&(!m.previousSibling||m.nextSibling.tagName!=="BR"||m.nextSibling.nextSibling))&&x(m.parentNode)))}function N(m){return!!m&&(!!s.node.isBlock(m)||(m.previousSibling&&m.previousSibling.nodeType===Node.TEXT_NODE&&m.previousSibling.textContent.replace(/\u200b/g,"").length===0?N(m.previousSibling):!m.previousSibling&&(!(m.previousSibling||!s.node.hasClass(m.parentNode,"fr-inner"))||N(m.parentNode))))}function P(m,f){return!!m&&m!==s.$wp.get(0)&&(m.previousSibling&&m.previousSibling.nodeType===Node.TEXT_NODE&&m.previousSibling.textContent.replace(/\u200b/g,"").length===0?P(m.previousSibling,f):!m.previousSibling&&(m.parentNode===f||P(m.parentNode,f)))}function S(m,f){return!!m&&m!==s.$wp.get(0)&&(m.nextSibling&&m.nextSibling.nodeType===Node.TEXT_NODE&&m.nextSibling.textContent.replace(/\u200b/g,"").length===0?S(m.nextSibling,f):!(m.nextSibling&&(!m.previousSibling||m.nextSibling.tagName!=="BR"||m.nextSibling.nextSibling))&&(m.parentNode===f||S(m.parentNode,f)))}function g(m){return 0<c(m).parentsUntil(s.$el,"LI").length&&c(m).parentsUntil("LI","TABLE").length===0}function v(m,f){var y=new RegExp("".concat(f?"^":"","(([\\uD83C-\\uDBFF\\uDC00-\\uDFFF]+\\u200D)*[\\uD83C-\\uDBFF\\uDC00-\\uDFFF]{2})").concat(f?"":"$"),"i"),I=m.match(y);return I?I[0].length:1}function p(m){for(var f,y=m;!y.previousSibling;)if(y=y.parentNode,s.node.isElement(y))return!1;y=y.previousSibling;var I=s.opts.htmlAllowedEmptyTags,E=y.tagName&&y.tagName.toLowerCase();if((!s.node.isBlock(y)||y.lastChild&&E&&0<=I.indexOf(E))&&s.node.isEditable(y)){for(f=s.node.contents(y);y.nodeType!==Node.TEXT_NODE&&!s.node.isDeletable(y)&&f.length&&s.node.isEditable(y);)y=f[f.length-1],f=s.node.contents(y);if(y.nodeType===Node.TEXT_NODE){var M=y.textContent,D=M.length;if(M.length&&M[M.length-1]===` 3`)return y.textContent=M.substring(0,D-2),y.textContent.length===0&&y.parentNode.removeChild(y),p(m);s.opts.tabSpaces&&M.length>=s.opts.tabSpaces&&M.substr(M.length-s.opts.tabSpaces,M.length-1).replace(/ /g,"").replace(new RegExp(e.UNICODE_NBSP,"g"),"").length===0&&(D=M.length-s.opts.tabSpaces+1),y.textContent=M.substring(0,D-v(M)),s.opts.htmlUntouched&&!m.nextSibling&&y.textContent.length&&y.textContent[y.textContent.length-1]===" "&&(y.textContent=y.textContent.substring(0,y.textContent.length-1)+e.UNICODE_NBSP);var F=M.length!==y.textContent.length;if(y.textContent.length===0)if(F&&s.opts.keepFormatOnDelete)c(y).after(e.INVISIBLE_SPACE+e.MARKERS);else if(M.length!==0&&s.node.isBlock(y.parentNode))c(y).after(e.MARKERS);else if((y.parentNode.childNodes.length!=2||y.parentNode!=m.parentNode)&&y.parentNode.childNodes.length!=1||s.node.isBlock(y.parentNode)||s.node.isElement(y.parentNode)||!s.node.isDeletable(y.parentNode)){for(var X,_=y;!s.node.isElement(y.parentNode)&&s.node.isEmpty(y.parentNode)&&e.NO_DELETE_TAGS.indexOf(y.parentNode.tagName)<0;)if((y=y.parentNode).tagName==="A"){var w=y.childNodes[0];for(c(y).before(w),X=!0;0<w.childNodes.length;)w=w.childNodes[0];y.parentNode.removeChild(y),y=w;break}X||(y=_),c(y).after(e.MARKERS),s.node.isElement(y.parentNode)&&!m.nextSibling&&y.previousSibling&&y.previousSibling.tagName==="BR"&&c(m).after("<br>");var A=y.parentNode;y.parentNode.removeChild(y),s.node.isEmpty(A)&&c(A).html(e.INVISIBLE_SPACE+e.MARKERS)}else c(y.parentNode).after(e.MARKERS),c(y.parentNode).remove();else c(y).after(e.MARKERS)}else s.node.isDeletable(y)?(c(y).after(e.MARKERS),c(y).remove()):m.nextSibling&&m.nextSibling.tagName==="BR"&&s.node.isVoid(y)&&y.tagName!=="BR"?(c(m.nextSibling).remove(),c(m).replaceWith(e.MARKERS)):s.events.trigger("node.remove",[c(y)])!==!1&&(c(y).after(e.MARKERS),c(y).remove())}else if(e.NO_DELETE_TAGS.indexOf(y.tagName)<0&&(s.node.isEditable(y)||s.node.isDeletable(y)))if(s.node.isDeletable(y))c(m).replaceWith(e.MARKERS),c(y).remove();else if(s.node.isEmpty(y)&&!s.node.isList(y))c(y).remove(),c(m).replaceWith(e.MARKERS);else{for(s.node.isList(y)&&(y=c(y).find("li").last().get(0)),(f=s.node.contents(y))&&f[f.length-1].tagName==="BR"&&c(f[f.length-1]).remove(),f=s.node.contents(y);f&&s.node.isBlock(f[f.length-1]);)y=f[f.length-1],f=s.node.contents(y);c(y).append(e.MARKERS);for(var U=m;!U.previousSibling;)U=U.parentNode;for(;U&&U.tagName!=="BR"&&!s.node.isBlock(U);){var b=U;U=U.nextSibling,c(y).append(b)}U&&U.tagName==="BR"&&c(U).remove(),c(m).remove()}else m.nextSibling&&m.nextSibling.tagName==="BR"&&c(m.nextSibling).remove();return!0}function a(m){var f=0<c(m).parentsUntil(s.$el,"BLOCKQUOTE").length,y=s.node.deepestParent(m,[],!f);if(y&&y.tagName==="BLOCKQUOTE"){var I=s.node.deepestParent(m,[c(m).parentsUntil(s.$el,"BLOCKQUOTE").get(0)]);I&&I.nextSibling&&(y=I)}if(y!==null){var E,M=y.nextSibling;if(s.node.isBlock(y)&&(s.node.isEditable(y)||s.node.isDeletable(y))&&M&&e.NO_DELETE_TAGS.indexOf(M.tagName)<0)if(s.node.isDeletable(M))c(M).remove(),c(m).replaceWith(e.MARKERS);else if(s.node.isBlock(M)&&s.node.isEditable(M))if(s.node.isList(M))if(s.node.isEmpty(y,!0))c(y).remove(),c(M).find("li").first().prepend(e.MARKERS);else{var D=c(M).find("li").first();y.tagName==="BLOCKQUOTE"&&(E=s.node.contents(y)).length&&s.node.isBlock(E[E.length-1])&&(y=E[E.length-1]),D.find("ul, ol").length===0&&(c(m).replaceWith(e.MARKERS),D.find(s.html.blockTagsQuery()).not("ol, ul, table").each(function(){this.parentNode===D.get(0)&&c(this).replaceWith(c(this).html()+(s.node.isEmpty(this)?"":"<br>"))}),c(y).append(s.node.contents(D.get(0))),D.remove(),c(M).find("li").length===0&&c(M).remove())}else{if((E=s.node.contents(M)).length&&E[0].tagName==="BR"&&c(E[0]).remove(),M.tagName!=="BLOCKQUOTE"&&y.tagName==="BLOCKQUOTE")for(E=s.node.contents(y);E.length&&s.node.isBlock(E[E.length-1]);)y=E[E.length-1],E=s.node.contents(y);else if(M.tagName==="BLOCKQUOTE"&&y.tagName!=="BLOCKQUOTE")for(E=s.node.contents(M);E.length&&s.node.isBlock(E[0]);)M=E[0],E=s.node.contents(M);c(m).replaceWith(e.MARKERS),c(y).append(M.innerHTML),c(M).remove()}else{for(c(m).replaceWith(e.MARKERS);M&&M.tagName!=="BR"&&!s.node.isBlock(M)&&s.node.isEditable(M);){var F=M;M=M.nextSibling,c(y).append(F)}M&&M.tagName==="BR"&&s.node.isEditable(M)&&c(M).remove()}}}function o(m){for(var f,y=m;!y.nextSibling;)if(y=y.parentNode,s.node.isElement(y))return!1;if((y=y.nextSibling).tagName==="BR"&&s.node.isEditable(y)){if(y.nextSibling){if(s.node.isBlock(y.nextSibling)&&s.node.isEditable(y.nextSibling)){if(!(e.NO_DELETE_TAGS.indexOf(y.nextSibling.tagName)<0))return void c(y).remove();y=y.nextSibling,c(y.previousSibling).remove()}}else if(x(y)){g(m)?s.cursorLists._del(m):s.node.deepestParent(y)&&((!s.node.isEmpty(s.node.blockParent(y))||(s.node.blockParent(y).nextSibling&&e.NO_DELETE_TAGS.indexOf(s.node.blockParent(y).nextSibling.tagName))<0)&&c(y).remove(),a(m));return}}if(!s.node.isBlock(y)&&s.node.isEditable(y)){for(f=s.node.contents(y);y.nodeType!==Node.TEXT_NODE&&f.length&&!s.node.isDeletable(y)&&s.node.isEditable(y);)y=f[0],f=s.node.contents(y);y.nodeType===Node.TEXT_NODE?(c(y).before(e.MARKERS),y.textContent.length&&(y.textContent=y.textContent.substring(v(y.textContent,!0),y.textContent.length))):(s.node.isDeletable(y)||s.events.trigger("node.remove",[c(y)])!==!1)&&(c(y).before(e.MARKERS),c(y).remove()),c(m).remove()}else if(e.NO_DELETE_TAGS.indexOf(y.tagName)<0&&(s.node.isEditable(y)||s.node.isDeletable(y)))if(s.node.isDeletable(y))c(m).replaceWith(e.MARKERS),c(y).remove();else if(s.node.isList(y))m.previousSibling?(c(y).find("li").first().prepend(m),s.cursorLists._backspace(m)):(c(y).find("li").first().prepend(e.MARKERS),c(m).remove());else if((f=s.node.contents(y))&&f[0].tagName==="BR"&&c(f[0]).remove(),f&&y.tagName==="BLOCKQUOTE"){var I=f[0];for(c(m).before(e.MARKERS);I&&I.tagName!=="BR";){var E=I;I=I.nextSibling,c(m).before(E)}I&&I.tagName==="BR"&&c(I).remove()}else c(m).after(c(y).html()).after(e.MARKERS),c(y).remove()}function u(){for(var m=s.el.querySelectorAll("blockquote:empty"),f=0;f<m.length;f++)m[f].parentNode.removeChild(m[f])}function d(m,f,y){var I,E=s.node.deepestParent(m,[],!y);if(E&&E.tagName==="BLOCKQUOTE")return S(m,E)?(I=s.html.defaultTag(),f?c(m).replaceWith("<br>"+e.MARKERS):I?c(E).after("<".concat(I,">").concat(e.MARKERS,"<br></").concat(I,">")):c(E).after("".concat(e.MARKERS,"<br>")),c(m).remove()):h(m,f,y),!1;if(E===null)(I=s.html.defaultTag())&&s.node.isElement(m.parentNode)?c(m).replaceWith("<".concat(I,">").concat(e.MARKERS,"<br></").concat(I,">")):!m.previousSibling||c(m.previousSibling).is("br")||m.nextSibling?c(m).replaceWith("<br>".concat(e.MARKERS)):c(m).replaceWith("<br>".concat(e.MARKERS,"<br>"));else{var M=m,D="";E.tagName!="PRE"||m.nextSibling||(f=!0),s.node.isBlock(E)&&!f||(D="<br/>");var F,X="",_="",w="",A="";(I=s.html.defaultTag())&&s.node.isBlock(E)&&(w="<".concat(I,">"),A="</".concat(I,">"),E.tagName===I.toUpperCase()&&(w=s.node.openTagString(c(E).clone().removeAttr("id").get(0))));do if(M=M.parentNode,!f||M!==E||f&&!s.node.isBlock(E))if(X+=s.node.closeTagString(M),M===E&&s.node.isBlock(E))_=w+_;else{var U=(M.tagName==="A"||s.node.hasClass(M,"fa"))&&S(m,M)?"fr-to-remove":"";_=s.node.openTagString(c(M).clone().addClass(U).get(0))+_}while(M!==E);D=X+D+_+(m.parentNode===E&&s.node.isBlock(E)?"":e.INVISIBLE_SPACE)+e.MARKERS,s.node.isBlock(E)&&!c(E).find("*").last().is("br")&&c(E).append("<br/>"),c(m).after('<span id="fr-break"></span>'),c(m).remove(),E.nextSibling&&!s.node.isBlock(E.nextSibling)||s.node.isBlock(E)||c(E).after("<br>"),F=(F=!f&&s.node.isBlock(E)?s.node.openTagString(E)+c(E).html()+A:s.node.openTagString(E)+c(E).html()+s.node.closeTagString(E)).replace(/<span id="fr-break"><\/span>/g,D),c(E).replaceWith(F)}}function h(m,f,y){var I=s.node.deepestParent(m,[],!y);if(I===null)s.html.defaultTag()&&m.parentNode===s.el?c(m).replaceWith("<".concat(s.html.defaultTag(),">").concat(e.MARKERS,"<br></").concat(s.html.defaultTag(),">")):(m.nextSibling&&!s.node.isBlock(m.nextSibling)||c(m).after("<br>"),c(m).replaceWith("<br>".concat(e.MARKERS)));else if(m.previousSibling&&m.previousSibling.tagName=="IMG"||m.nextSibling&&m.nextSibling.tagName=="IMG")c(m).replaceWith("<"+s.html.defaultTag()+">"+e.MARKERS+"<br></"+s.html.defaultTag()+">");else{var E=m,M="";I.tagName==="PRE"&&(f=!0),s.node.isBlock(I)&&!f||(M="<br>");var D="",F="";do{var X=E;if(E=E.parentNode,I.tagName==="BLOCKQUOTE"&&s.node.isEmpty(X)&&!s.node.hasClass(X,"fr-marker")&&c(X).contains(m)&&c(X).after(m),I.tagName!=="BLOCKQUOTE"||!S(m,E)&&!P(m,E))if(!f||E!==I||f&&!s.node.isBlock(I)){D+=s.node.closeTagString(E);var _=E.tagName=="A"&&S(m,E)||s.node.hasClass(E,"fa")?"fr-to-remove":"";F=s.node.openTagString(c(E).clone().addClass(_).removeAttr("id").get(0))+F}else I.tagName=="BLOCKQUOTE"&&f&&(F=D="")}while(E!==I);var w=I===m.parentNode&&s.node.isBlock(I)||m.nextSibling;if(I.tagName==="BLOCKQUOTE")if(m.previousSibling&&s.node.isBlock(m.previousSibling)&&m.nextSibling&&m.nextSibling.tagName==="BR"&&(c(m.nextSibling).after(m),m.nextSibling&&m.nextSibling.tagName==="BR"&&c(m.nextSibling).remove()),f)M=D+M+e.MARKERS+F;else{var A=s.html.defaultTag();M="".concat(D+M+(A?"<".concat(A,">"):"")+e.MARKERS,"<br>").concat(A?"</".concat(A,">"):"").concat(F)}else M=D+M+F+(w?"":e.INVISIBLE_SPACE)+e.MARKERS;c(m).replaceWith('<span id="fr-break"></span>');var U=s.node.openTagString(I)+c(I).html()+s.node.closeTagString(I);U=U.replace(/<span id="fr-break"><\/span>/g,M),c(I).replaceWith(U)}}return{enter:function(f){var y=s.markers.insert();if(!y)return!0;for(var I=y.parentNode;I&&!s.node.isElement(I);){if(I.getAttribute("contenteditable")==="false")return c(y).replaceWith(e.MARKERS),s.selection.restore(),!1;if(I.getAttribute("contenteditable")==="true")break;I=I.parentNode}s.el.normalize();var E=!1;0<c(y).parentsUntil(s.$el,"BLOCKQUOTE").length&&(E=!0),c(y).parentsUntil(s.$el,"TD, TH").length&&(E=!1),x(y)?!g(y)||f||E?d(y,f,E):s.cursorLists._endEnter(y):N(y)?!g(y)||f||E?function _(w,A,U){var b,k=s.node.deepestParent(w,[],!U);if(k&&k.tagName==="TABLE")return c(k).find("td, th").first().prepend(w),_(w,A,U);if(k&&k.tagName==="BLOCKQUOTE")if(P(w,k)){if(!A)return(b=s.html.defaultTag())?c(k).before("<".concat(b,">").concat(e.MARKERS,"<br></").concat(b,">")):c(k).before("".concat(e.MARKERS,"<br>")),c(w).remove(),!1}else S(w,k)?d(w,A,!0):h(w,A,!0);if(k===null)(b=s.html.defaultTag())&&s.node.isElement(w.parentNode)?c(w).replaceWith("<".concat(b,">").concat(e.MARKERS,"<br></").concat(b,">")):c(w).replaceWith("<br>".concat(e.MARKERS));else{if(b=s.html.defaultTag(),s.node.isBlock(k))if(k.tagName==="PRE"&&(A=!0),A)c(w).remove(),c(k).prepend("<br>".concat(e.MARKERS));else if(w.nextSibling&&w.nextSibling.tagName=="IMG"||w.nextSibling&&w.nextSibling.nextElementSibling&&w.nextSibling.nextElementSibling=="IMG")c(w).replaceWith("<"+s.html.defaultTag()+">"+e.MARKERS+"<br></"+s.html.defaultTag()+">");else{if(s.node.isEmpty(k,!0))return d(w,A,U);if(s.opts.keepFormatOnDelete||k.tagName==="DIV"||s.html.defaultTag()==="div")if(!s.opts.keepFormatOnDelete&&k.tagName==="DIV"||s.html.defaultTag()==="div")c(k).before("<"+s.html.defaultTag()+"><br></"+s.html.defaultTag()+">");else{for(var O=w,z=e.INVISIBLE_SPACE;O!==k&&!s.node.isElement(O);)O=O.parentNode,z=s.node.openTagString(O)+z+s.node.closeTagString(O);c(k).before(z)}else c(k).before("".concat(s.node.openTagString(c(k).clone().removeAttr("id").get(0)),"<br>").concat(s.node.closeTagString(k)))}else c(k).before("<br>");c(w).remove()}}(y,f,E):s.cursorLists._startEnter(y):!g(y)||f||E?h(y,f,E):s.cursorLists._middleEnter(y),function(){s.$el.find(".fr-to-remove").each(function(){for(var w=s.node.contents(this),A=0;A<w.length;A++)w[A].nodeType===Node.TEXT_NODE&&(w[A].textContent=w[A].textContent.replace(/\u200B/g,""));c(this).replaceWith(this.innerHTML)})}(),s.html.fillEmptyBlocks(!0),s.opts.htmlUntouched||(s.html.cleanEmptyTags(),s.clean.lists(),s.spaces.normalizeAroundCursor()),s.selection.restore();var M=s.o_win.innerHeight;if(s.$oel[0].offsetHeight>M){var D=s.helpers.scrollTop(),F=s.selection.blocks();if(F&&0<F.length&&F[0].offsetTop){var X=F[0].offsetTop;M-100<X-D?s.o_win.scroll(0,X-M+120):X-D<0&&s.o_win.scroll(0,X-20)}}},backspace:function(){var f=!1,y=s.markers.insert();if(!y)return!0;for(var I=y.parentNode;I&&!s.node.isElement(I);){if(I.getAttribute("contenteditable")==="false")return c(y).replaceWith(e.MARKERS),s.selection.restore(),!1;if(I.innerText.length&&I.getAttribute("contenteditable")==="true")break;I=I.parentNode}s.el.normalize();var E=y.previousSibling;if(E){var M=E.textContent;M&&M.length&&M.charCodeAt(M.length-1)===8203&&(M.length===1?c(E).remove():E.textContent=E.textContent.substr(0,M.length-v(M)))}return x(y)?g(y)&&P(y,c(y).parents("li").first().get(0))?s.cursorLists._backspace(y):f=p(y):N(y)?g(y)&&P(y,c(y).parents("li").first().get(0))?s.cursorLists._backspace(y):function(F){for(var X=0<c(F).parentsUntil(s.$el,"BLOCKQUOTE").length,_=s.node.deepestParent(F,[],!X),w=_;_&&!_.previousSibling&&_.tagName!=="BLOCKQUOTE"&&_.parentElement!==s.el&&!s.node.hasClass(_.parentElement,"fr-inner")&&e.SIMPLE_ENTER_TAGS.indexOf(_.parentElement.tagName)<0;)_=_.parentElement;if(_&&_.tagName==="BLOCKQUOTE"){var A=s.node.deepestParent(F,[c(F).parentsUntil(s.$el,"BLOCKQUOTE").get(0)]);A&&A.previousSibling&&(w=_=A)}if(_!==null){var U,b=_.previousSibling;if(s.node.isBlock(_)&&s.node.isEditable(_))if(b&&e.NO_DELETE_TAGS.indexOf(b.tagName)<0){if(s.node.isDeletable(b))c(b).remove(),c(F).replaceWith(e.MARKERS);else if(s.node.isEditable(b))if(s.node.isBlock(b))if(s.node.isEmpty(b)&&!s.node.isList(b))c(b).remove(),c(F).after(s.opts.keepFormatOnDelete?e.INVISIBLE_SPACE:"");else{if(s.node.isList(b)&&(b=c(b).find("li").last().get(0)),(U=s.node.contents(b)).length&&U[U.length-1].tagName==="BR"&&c(U[U.length-1]).remove(),b.tagName==="BLOCKQUOTE"&&_.tagName!=="BLOCKQUOTE")for(U=s.node.contents(b);U.length&&s.node.isBlock(U[U.length-1]);)b=U[U.length-1],U=s.node.contents(b);else if(b.tagName!=="BLOCKQUOTE"&&w.tagName==="BLOCKQUOTE")for(U=s.node.contents(w);U.length&&s.node.isBlock(U[0]);)w=U[0],U=s.node.contents(w);if(s.node.isEmpty(_))c(F).remove(),s.selection.setAtEnd(b,!0);else{c(F).replaceWith(e.MARKERS);var k=b.childNodes;s.node.isBlock(k[k.length-1])?c(k[k.length-1]).append(w.innerHTML):c(b).append(w.innerHTML)}c(w).remove(),s.node.isEmpty(_)&&c(_).remove()}else c(F).replaceWith(e.MARKERS),_.tagName==="BLOCKQUOTE"&&b.nodeType===Node.ELEMENT_NODE?c(b).remove():(c(b).after(s.node.isEmpty(_)?"":c(_).html()),c(_).remove(),b.tagName==="BR"&&c(b).remove())}else b||(_&&_.tagName==="BLOCKQUOTE"&&c(_).text().replace(/\u200B/g,"").length===0?c(_).remove():s.node.isEmpty(_)&&_.parentNode&&s.node.isEditable(_.parentNode)&&_.parentNode!=s.el&&c(_.parentNode).remove())}}(y):f=p(y),c(y).remove(),u(),s.html.fillEmptyBlocks(!0),s.opts.htmlUntouched||(s.html.cleanEmptyTags(),s.clean.lists(),s.spaces.normalizeAroundCursor()),s.selection.restore(),f},del:function(){var f=s.markers.insert();if(!f)return!1;if(s.el.normalize(),x(f))if(g(f))if(c(f).parents("li").first().find("ul, ol").length===0)s.cursorLists._del(f);else{var y=c(f).parents("li").first().find("ul, ol").first().find("li").first();(y=y.find(s.html.blockTagsQuery()).get(-1)||y).prepend(f),s.cursorLists._backspace(f)}else a(f);else N(f),o(f);c(f).remove(),u(),s.html.fillEmptyBlocks(!0),s.opts.htmlUntouched||(s.html.cleanEmptyTags(),s.clean.lists()),s.spaces.normalizeAroundCursor(),s.selection.restore()},isAtEnd:S,isAtStart:P}},e.MODULES.data=function(s){function c(D){return D}function x(D){for(var F=D.toString(),X=0,_=0;_<F.length;_++)X+=parseInt(F.charAt(_),10);return 10<X?X%9+1:X}function N(D,F,X){for(var _=Math.abs(X);0<_--;)D-=F;return X<0&&(D+=123),D}function P(D){return D&&D.css("display")!=="block"||D&&s.helpers.getPX(D.css("height"))===0?(D.remove(),!0):!(!D||D.css("position")!=="absolute"&&D.css("position")!=="fixed"||(D.remove(),0))}function S(D){return D&&s.$box.find(D).length===0}function g(){if(10<M&&(s[E("0ppecjvc==")](),setTimeout(function(){u.FE=null},10)),!s.$box)return!1;s.$wp.prepend(E(E(y))),a=s.$wp.find("> div").first(),o=a.find("> a"),s.opts.direction==="rtl"&&a.css("left","auto").css("right",0).attr("direction","rtl"),M++}function v(D){for(var F=[E("9qqG-7amjlwq=="),E("KA3B3C2A6D1D5H5H1A3=="),E("3B9B3B5F3C4G3E3=="),E("QzbzvxyB2yA-9m=="),E("ji1kacwmgG5bc=="),E("nmA-13aogi1A3c1jd=="),E("BA9ggq=="),E("emznbjbH3fij=="),E("tkC-22d1qC-13sD1wzF-7=="),E("tA3jjf=="),E("1D1brkm==")],X=0;X<F.length;X++)if(String.prototype.endsWith||(String.prototype.endsWith=function(_,w){return(w===void 0||w>this.length)&&(w=this.length),this.substring(w-_.length,w)===_}),D.endsWith(F[X]))return!0;return!1}function p(){var D=E(m),F=E("tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==").split(".");try{return window.parent.document.querySelector(D)&&window[F[1]][F[2]]}catch{return!1}}var a,o,u=s.$,d="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2FC1A3NB2IF1HE1TH4WB8eB-11zVG2F3I3yYB5ZG4CB2DA15CC5AD3F1A1KG1oLA10B1A6wQF1H3vgale2C4F4XA2qc2A5D5B3pepmriKB3OE1HD1fUC10pjD-11E-11TB4YJ3bC-16zE-11yc1B2CE2BC3jhjKC1pdA-21OA6C1D5B-8vF4QA11pD6sqf1C3lldA-16BD4A2H3qoEA7bB-16rmNH5H1F1vSB7RE2A3TH4YC5A5b1A4d1B3whepyAC3AA2zknC3mbgf1SC4WH4PD8TC5ZB2C3H3jb2A5ZA2EF2aoFC5qqHC4B1H1zeGA7UA5RF4TA29TA6ZC4d1C3hyWA10A3rBB2E3decorationRD3QC10UD3E6E6ZD2F3F3fme2E5uxxrEC9C3E4fB-11azhHB1LD7D6VF4VVTPC6b1C4TYG3qzDD6B3B3AH4I2H2kxbHE1JD1yihfd1QD6WB1D4mhrc1B5rvFG3A14A7cDA2OC1AA1JB5zC-16KA6WB4C-8wvlTB5A5lkZB2C2C7zynBD2D2bI-7C-21d1HE2cubyvPC8A6VB3aroxxZE4C4F4e1I2BE1WjdifH1H4A14NA1GB1YG-10tWA3A14A9sVA2C5XH2A29b2A6gsleGG2jaED2D-13fhE1OA8NjwytyTD4e1sc1D-16ZC3B5C-9e1C2FB6EFF5B2C2JH4E1C2tdLE5A3UG4G-7b2D3B4fA-9oh1G3kqvB4AG3ibnjcAC6D2B1cDA9KC2QA6bRC4VA30RB8hYB2A4A-8h1A21A2B2==",h="7D4YH4fkhHB3pqDC3H2E1fkMD1IB1NF1D3QD9wB5rxqlh1A8c2B4ZA3FD2AA6FB5EB3jJG4D2J-7aC-21GB6PC5RE4TC11QD6XC4XE3XH3mlvnqjbaOA2OC2BE6A1fmI-7ujwbc1G5f1F3e1C11mXF4owBG3E1yD1E4F1D2D-8B-8C-7yC-22HD1MF5UE4cWA3D8D6a1B2C3H3a3I3sZA4B3A2akfwEB3xHD5D1F1wIC11pA-16xdxtVI2C9A6YC4a1A2F3B2GA6B4C3lsjyJB1eMA1D-11MF5PE4ja1D3D7byrf1C3e1C7D-16lwqAF3H2A1B-21wNE1MA1OG1HB2A-16tSE5UD4RB3icRA4F-10wtwzBB3E1C3CC2DA8LA2LA1EB1kdH-8uVB7decorg1J2B7B6qjrqGI2J1C6ijehIB1hkemC-13hqkrH4H-7QD6XF5XF3HLNAC3CB2aD2CD2KB10B4ycg1A-8KA4H4B11jVB5TC4yqpB-21pd1E4pedzGB6MD5B3ncB-7MA4LD2JB6PD5uH-8TB9C7YD5XD2E3I3jmiDB3zeimhLD8E2F2JC1H-9ivkPC5lG-10SB1D3H3A-21rc1A3d1E3fsdqwfGA2KA1OrC-22LA6D1B4afUB16SC7AitC-8qYA11fsxcajGA15avjNE2A-9h1hDB16B9tPC1C5F5UC1G3B8d2A5d1D4RnHJ3C3JB5D3ucMG1yzD-17hafjC-8VD3yWC6e1YD2H3ZE2C8C5oBA3H3D2vFA4WzJC4C2i1A-65fNB8afWA1H4A26mvkC-13ZB3E3h1A21BC4eFB2GD2AA5ghqND2A2B2==",m="MekC-11nB-8tIzpD7pewxvzC6mD-16xerg1==",f="lC4B3A3B2B5A1C2E4G1A2==",y="sC-7OB2fwhVC4vsG-7ohPA4ZD4D-8f1J3stzB-11bFE2EE1MA2ND1KD1IE4cA-21pSD2D5ve1G3h1A8b1E5ZC3CD2FA16mC5OC5E1hpnG1NA10B1D7hkUD4I-7b2C3C5nXD2E3F3whidEC2EH3GI2mJE2E2bxci1WA10VC7pllSG2F3A7xd1A4ZC3DB2aaeGA2DE4H2E1j1ywD-13FD1A3VE4WA3D8C6wuc1A2hf1B5B7vnrrjA1B9ic1mpbD1oMB1iSB7rWC4RI4G-7upB6jd1A2F3H2EA4FD3kDF4A2moc1anJD1TD4VI4b2C7oeQF4c1E3XC7ZA3C3G3uDB2wGB6D1JC4D1JD4C1hTE6QC5pH4pD3C-22D7c1A3textAA4gdlB2mpozkmhNC1mrxA3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10u
3LH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==",I=function(){for(var D=0,F=document.domain,X=F.split("."),_="_gd".concat(new Date().getTime());D<X.length-1&&document.cookie.indexOf("".concat(_,"=").concat(_))===-1;)F=X.slice(-1-++D).join("."),document.cookie="".concat(_,"=").concat(_,";domain=").concat(F,";");return document.cookie="".concat(_,"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=").concat(F,";"),(F||"").replace(/(^\.*)|(\.*$)/g,"")}(),E=function(F){if(!F)return F;for(var X="",_="charCodeAt",w="fromCharCode",A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".indexOf(F[0]),U=1;U<F.length-2;U++){for(var b=x(++A),k=F[_](U),O="";/[0-9-]/.test(F[U+1]);)O+=F[++U];k=N(k,b,O=parseInt(O,10)||0),k^=A-1&31,X+=String[w](k)}return X},M=0;return{_init:function(){var F=s.opts.key||[""],X=E("ziRA1E3B9pA5B-11D-11xg1A3ZB5D1D4B-11ED2EG2pdeoC1clIH4wB-22yQD5uF4YE3E3A9==");typeof F=="string"&&(F=[F]);for(var _,w,A,U=!(s.ul=!0),b=0,k=0;k<F.length;k++){var O=(w=F[k],(A=(E(w)||"").split("|")).length===4&&A[0]==="V3"?[A[1],A[3],A[2]]:[null,null,""]),z=O[2];if(z===E(E("LGnD1KNZf1CPBYCAZB-8F3UDSLLSG1VFf1A3C2=="))||0<=z.indexOf(I,z.length-I.length)||v(I)||p()){if((_=O[1])!==null&&!(_.indexOf("TRIAL")==0?(_=new Date(_.replace(/TRIAL/,"")),new Date(_)<new Date&&(d=h,1)):new Date(_)<new Date(E(f)))||!(0<(I||"").length)||v(I)||p()){s.ul=!1;break}U=!0,y=d,b=O[0]||-1}}var W=new Image;s.ul===!0&&(g(),W.src=U?"".concat(E(X),"e=").concat(b):"".concat(E(X),"u")),s.ul===!0&&(s.events.on("contentChanged",function(){(function(){return P(a)||P(o)||S(a)||S(o)})()&&g()}),s.events.on("html.get",function(Q){return Q+E("qD2H-9G3ioD-17qA1tE1B-8qI3A4hA-13C-11E2C1njfldD1E6pg1C-8sC3hfbkcD2G3stC-22gqgB3G2B-7vtoA4nweeD1A31A15B9uC-16A1F5dkykdc1B8dE-11bA3F2D3A9gd1E7F2tlI-8H-7vtxB2A5B2C3B2F2B5A6ldbyC4iqC-22D-17E-13mA3D2dywiB3oxlvfC1H4C2TjqbzlnI3ntB4E3qA2zaqsC6D3pmnkoE3C6D5wvuE3bwifdhB6hch1E4xibD-17dmrC1rG-7pntnF6nB-8F1D2A11C8plrkmF2F3MC-16bocqA2WwA-21ayeA1C4d1isC-22rD-13D6DfjpjtC2E6hB2G2G4A-7D2==")})),s.events.on("html.set",function(){var Q=s.el.querySelector('[data-f-id="pbf"]');Q&&u(Q).remove()}),s.events.on("destroy",function(){a&&a.length&&a.remove()},!0)}}},e.MODULES.edit=function(s){function c(){if(s.browser.mozilla)try{s.doc.execCommand("enableObjectResizing",!1,"false"),s.doc.execCommand("enableInlineTableEditing",!1,"false")}catch{}if(s.browser.msie)try{s.doc.body.addEventListener("mscontrolselect",function(P){return P.srcElement.focus(),!1})}catch{}}var x=!1;function N(){return x}return{_init:function(){s.events.on("focus",function(){N()?s.edit.off():s.edit.on()})},on:function(){s.$wp?(s.$el.attr("contenteditable",!0),s.$el.removeClass("fr-disabled").attr("aria-disabled",!1),c()):s.$el.is("a")&&s.$el.attr("contenteditable",!0),s.events.trigger("edit.on",[],!0),x=!1},off:function(){s.events.disableBlur(),s.$wp?(s.$el.attr("contenteditable",!1),s.$el.addClass("fr-disabled").attr("aria-disabled",!0)):s.$el.is("a")&&s.$el.attr("contenteditable",!1),s.events.trigger("edit.off"),s.events.enableBlur(),x=!0},disableDesign:c,isDisabled:N}},e.MODULES.format=function(s){var c=s.$;function x(d,h){var m="<".concat(d);for(var f in h)Object.prototype.hasOwnProperty.call(h,f)&&(m+=" ".concat(f,'="').concat(h[f],'"'));return m+=">"}function N(d,h){var m=d;for(var f in h)Object.prototype.hasOwnProperty.call(h,f)&&(m+=f==="id"?"#".concat(h[f]):f==="class"?".".concat(h[f]):"[".concat(f,'="').concat(h[f],'"]'));return m}function P(d,h){return!(!d||d.nodeType!==Node.ELEMENT_NODE)&&(d.matches||d.matchesSelector||d.msMatchesSelector||d.mozMatchesSelector||d.webkitMatchesSelector||d.oMatchesSelector).call(d,h)}function S(d,h,m){if(d){for(;d.nodeType===Node.COMMENT_NODE;)d=d.nextSibling;if(d){if(s.node.isBlock(d)&&d.tagName!=="HR")return s.node.hasClass(d.firstChild,"fr-marker")?S(d.firstChild.nextSibling,h,m):S(d.firstChild,h,m),!1;var f=c(s.doc.createElement(h));f.attr(m),f.insertBefore(d);for(var y=d;y&&!c(y).hasClass("fr-marker")&&c(y).find(".fr-marker").length===0&&y.tagName!=="UL"&&y.tagName!=="OL";){var I=y;if(s.node.isBlock(y)&&d.tagName!=="HR")return S(y.firstChild,h,m),!1;y=y.nextSibling,f.append(I)}if(y){if(c(y).find(".fr-marker").length||y.tagName==="UL"||y.tagName==="OL")S(y.firstChild,h,m);else if(s.browser.mozilla&&s.node.hasClass(y,"fr-marker")){var E,M=s.selection.blocks(),D=M.length;for(E=0;E<D;E++)M[E]!=y.parentNode&&M[E].childNodes.length&&M[E].childNodes[0]!=y.parentNode&&(y=M[E].childNodes[1]||M[E].childNodes[0],(f=c(x(h,m)).insertBefore(y)).append(y))}}else{for(var F=f.get(0).parentNode;F&&!F.nextSibling&&!s.node.isElement(F);)F=F.parentNode;if(F){var X=F.nextSibling;X&&(s.node.isBlock(X)?X.tagName==="HR"?S(X.nextSibling,h,m):S(X.firstChild,h,m):S(X,h,m))}}f.is(":empty")&&f.remove()}}}function g(d,h){var m;if(h===void 0&&(h={}),h.style&&delete h.style,s.selection.isCollapsed())s.markers.insert(),s.$el.find(".fr-marker").replaceWith(x(d,h)+e.INVISIBLE_SPACE+e.MARKERS+function(M){return"</".concat(M,">")}
vendor: 4,144 bytes, line 3
3(d)),s.selection.restore();else{var f;s.selection.save(),S(s.$el.find('.fr-marker[data-type="true"]').length&&s.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling,d,h);do for(f=s.$el.find("".concat(N(d,h)," > ").concat(N(d,h))),m=0;m<f.length;m++)f[m].outerHTML=f[m].innerHTML;while(f.length);s.el.normalize();var y=s.el.querySelectorAll(".fr-marker");for(m=0;m<y.length;m++){var I=c(y[m]);I.data("type")===!0?P(I.get(0).nextSibling,N(d,h))&&I.next().prepend(I):P(I.get(0).previousSibling,N(d,h))&&I.prev().append(I)}s.selection.restore()}}function v(d,h,m,f){if(!f){var y=!1;if(d.data("type")===!0)for(;s.node.isFirstSibling(d.get(0))&&!d.parent().is(s.$el)&&!d.parent().is("ol")&&!d.parent().is("ul");)d.parent().before(d),y=!0;else if(d.data("type")===!1)for(;s.node.isLastSibling(d.get(0))&&!d.parent().is(s.$el)&&!d.parent().is("ol")&&!d.parent().is("ul");)d.parent().after(d),y=!0;if(y)return!0}if(d.parents(h).length||h===void 0){var I,E="",M="",D=d.parent();if(D.is(s.$el)||s.node.isBlock(D.get(0)))return!1;for(;!(s.node.isBlock(D.parent().get(0))||h!==void 0&&P(D.get(0),N(h,m)));)E+=s.node.closeTagString(D.get(0)),M=s.node.openTagString(D.get(0))+M,D=D.parent();var F=d.get(0).outerHTML;return d.replaceWith('<span id="mark"></span>'),I=D.html().replace(/<span id="mark"><\/span>/,E+s.node.closeTagString(D.get(0))+M+F+E+s.node.openTagString(D.get(0))+M),D.replaceWith(s.node.openTagString(D.get(0))+I+s.node.closeTagString(D.get(0))),!0}return!1}function p(d,h){h===void 0&&(h={}),h.style&&delete h.style;var m=s.selection.isCollapsed();s.selection.save();for(var f=!0;f;){f=!1;for(var y=s.$el.find(".fr-marker"),I=0;I<y.length;I++){var E=c(y[I]),M=null;if(E.attr("data-cloned")||m||(M=E.clone().removeClass("fr-marker").addClass("fr-clone"),E.data("type")&&E.data("type").toString()==="true"?E.attr("data-cloned",!0).after(M):E.attr("data-cloned",!0).before(M)),v(E,d,h,m)){f=!0;break}}}(function se(ae,he,ce,ie){for(var te=s.node.contents(ae.get(0)),ne=0;ne<te.length;ne++){var oe=te[ne];if(oe.innerHTML&&oe.innerHTML.charCodeAt()==8203&&oe.tagName.toLocaleLowerCase()==ce&&oe.childNodes.length<2&&(oe.outerHTML=oe.innerHTML),s.node.hasClass(oe,"fr-marker"))he=(he+1)%2;else if(he)if(0<c(oe).find(".fr-marker").length)he=se(c(oe),he,ce,ie);else{for(var le=c(oe).find(ce||"*:not(br)"),ue=le.length-1;0<=ue;ue--){var de=le[ue];s.node.isBlock(de)||s.node.isVoid(de)||ce!==void 0&&!P(de,N(ce,ie))?s.node.isBlock(de)&&ce===void 0&&oe.tagName!=="TABLE"&&s.node.clearAttributes(de):s.node.hasClass(de,"fr-clone")||(de.outerHTML=de.innerHTML)}ce===void 0&&oe.nodeType===Node.ELEMENT_NODE&&!s.node.isVoid(oe)||P(oe,N(ce,ie))?s.node.isBlock(oe)||s.node.hasClass(oe,"fr-clone")||(oe.outerHTML=oe.innerHTML):ce===void 0&&oe.nodeType===Node.ELEMENT_NODE&&s.node.isBlock(oe)&&oe.tagName!=="TABLE"&&s.node.clearAttributes(oe)}else 0<c(oe).find(".fr-marker").length&&(he=se(c(oe),he,ce,ie))}return he})(s.$el,0,d,h),m||(s.$el.find(".fr-marker").remove(),s.$el.find(".fr-clone").removeClass("fr-clone").addClass("fr-marker")),m&&s.$el.find(".fr-marker").before(e.INVISIBLE_SPACE).after(e.INVISIBLE_SPACE),s.html.cleanEmptyTags(),s.el.normalize(),s.selection.restore();var D=s.win.getSelection()&&s.win.getSelection().anchorNode;if(D){var F=s.node.blockParent(D),X=!!D.textContent.replace(/\u200B/g,"").length,_=s.win.getSelection().getRangeAt(0),w=_.startOffset,A=_.endOffset;s.selection.text().replace(/\u200B/g,"").length||function se(ae,he){if(ae&&he){if(ae.isSameNode(he)?ae.textContent=ae.textContent.replace(/\u200B(?=.*\u200B)/g,""):ae.nodeType===Node.TEXT_NODE&&(ae.textContent=ae.textContent.replace(/\u200B/g,"")),!ae.childNodes.length)return!1;Array.isArray(ae.childNodes)&&ae.childNodes.forEach(function(ce){se(ce,he)})}}(F,D);var U=s.win.getSelection().getRangeAt(0);if(D.nodeType===Node.TEXT_NODE){if(!X||!s.selection.text().length&&w===A){var b=D.textContent.search(/\u200B/g)+1;if(s.browser.msie){var k=s.doc.createRange();s.selection.get().removeAllRanges(),k.setStart(D,b),k.setEnd(D,b),s.selection.get().addRange(k)}else U.setStart(D,b),U.setEnd(D,b)}}else{var O,z,W=0,Q=c(D).contents();if(s.browser.msie){for(;z=Q[W];
vendor: 1,121 bytes, line 3
3)z.nodeType===Node.TEXT_NODE&&0<=z.textContent.search(/\u200B/g)&&(O=z),W++;O=c(O)}else O=Q.filter(function(se){return se.nodeType===Node.TEXT_NODE&&0<=se.textContent.search(/\u200B/g)});if(O.length){var ee=O.text().search(/\u200B/g)+1;U.setStart(O.get(0),ee),U.setEnd(O.get(0),ee)}}}}function a(d,h){var m,f,y,I,E,M=null;if(s.selection.isCollapsed()){s.markers.insert();var D=(f=s.$el.find(".fr-marker")).parent();if(s.node.openTagString(D.get(0))==='<span style="'.concat(d,": ").concat(D.css(d),';">')){if(s.node.isEmpty(D.get(0)))M=c(s.doc.createElement("span")).attr("style","".concat(d,": ").concat(h,";")).html("".concat(e.INVISIBLE_SPACE).concat(e.MARKERS)),D.replaceWith(M);else{var F={};F["style*"]="".concat(d,":"),v(f,"span",F,!0),f=s.$el.find(".fr-marker"),h?(M=c(s.doc.createElement("span")).attr("style","".concat(d,": ").concat(h,";")).html("".concat(e.INVISIBLE_SPACE).concat(e.MARKERS)),f.replaceWith(M)):f.replaceWith(e.INVISIBLE_SPACE+e.MARKERS)}s.html.cleanEmptyTags()}else s.node.isEmpty(D.get(0))&&D.is("span")?(f.replaceWith(e.MARKERS),D.css(d,h)):(M=c('<span style="'.concat(d,": ").concat(h,';">
3').concat(e.INVISIBLE_SPACE).concat(e.MARKERS,"</span>")),f.replaceWith(M));M&&o(M,d,h)}else{if(s.selection.save(),h===null||d==="color"&&0<s.$el.find(".fr-marker").parents("u, a").length){var X=s.$el.find(".fr-marker");for(m=0;m<X.length;m++)if((f=c(X[m])).data("type")===!0||f.data("type")==="true")for(;s.node.isFirstSibling(f.get(0))&&!f.parent().is(s.$el)&&!s.node.isElement(f.parent().get(0))&&!s.node.isBlock(f.parent().get(0));)f.parent().before(f);else for(;s.node.isLastSibling(f.get(0))&&!f.parent().is(s.$el)&&!s.node.isElement(f.parent().get(0))&&!s.node.isBlock(f.parent().get(0));)f.parent().after(f)}for(var _=s.$el.find('.fr-marker[data-type="true"]').get(0).nextSibling;_.firstChild;)_=_.firstChild;var w={class:"fr-unprocessed"};for(h&&(w.style="".concat(d,": ").concat(h,";")),S(_,"span",w),s.$el.find(".fr-marker + .fr-unprocessed").each(function(){c(this).prepend(c(this).prev())}),s.$el.find(".fr-unprocessed + .fr-marker").each(function(){c(this).prev().append(c(this))}),(h||"").match(/\dem$/)&&s.$el.find("span.fr-unprocessed").removeClass("fr-unprocessed");0<s.$el.find("span.fr-unprocessed").length;){if((M=s.$el.find("span.fr-unprocessed").first().removeClass("fr-unprocessed")).parent().get(0).normalize(),M.parent().is("span")&&M.parent().get(0).childNodes.length===1){M.parent().css(d,h);var A=M;M=M.parent(),A.replaceWith(A.html())}var U=M.find("span");for(m=U.length-1;0<=m;m--)y=U[m],I=d,E=void 0,(E=c(y)).css(I,""),E.attr("style")===""&&E.replaceWith(E.html());o(M,d,h)}}(function(){for(var k;0<s.$el.find(".fr-split:empty").length;)s.$el.find(".fr-split:empty").remove();s.$el.find(".fr-split").removeClass("fr-split"),s.$el.find('[style=""]').removeAttr("style"),s.$el.find('[class=""]').removeAttr("class"),s.html.cleanEmptyTags();for(var O=s.$el.find("span"),z=O.length-1;0<=z;z--){var W=O[z];W.attributes&&W.attributes.length!==0||c(W).replaceWith(W.innerHTML)}s.el.normalize();var Q=s.$el.find("span[style] + span[style]");for(k=0;k<Q.length;k++){var ee=c(Q[k]),se=c(Q[k]).prev();ee.get(0).previousSibling===se.get(0)&&s.node.openTagString(ee.get(0))===s.node.openTagString(se.get(0))&&(ee.prepe
vendor: 41,830 bytes, lines 3-5
3nd(se.html()),se.remove())}s.$el.find("span[style] span[style]").each(function(){if(0<=c(this).attr("style").indexOf("font-size")){var ae=c(this).parents("span[style]");0<=ae.attr("style").indexOf("background-color")&&(c(this).attr("style","".concat(c(this).attr("style"),";").concat(ae.attr("style"))),v(c(this),"span[style]",{},!1))}}),s.el.normalize(),s.selection.restore()})()}function o(d,h,m){var f,y,I,E=d.parentsUntil(s.$el,"span[style]"),M=[];for(f=E.length-1;0<=f;f--)y=E[f],I=h,c(y).attr("style").indexOf("".concat(I,":"))===0||0<=c(y).attr("style").indexOf(";".concat(I,":"))||0<=c(y).attr("style").indexOf("; ".concat(I,":"))||M.push(E[f]);if((E=E.not(M)).length){for(var D="",F="",X="",_="",w=d.get(0);w=w.parentNode,c(w).addClass("fr-split"),D+=s.node.closeTagString(w),F=s.node.openTagString(c(w).clone().addClass("fr-split").get(0))+F,E.get(0)!==w&&(X+=s.node.closeTagString(w),_=s.node.openTagString(c(w).clone().addClass("fr-split").get(0))+_),E.get(0)!==w;);var A="".concat(D+s.node.openTagString(c(E.get(0)).clone().css(h,m||"").get(0))+_+d.css(h,"").get(0).outerHTML+X,"</span>").concat(F);d.replaceWith('<span id="fr-break"></span>');var U=E.get(0).outerHTML;c(E.get(0)).replaceWith(U.replace(/<span id="fr-break"><\/span>/g,function(){return A}))}}function u(d,h){h===void 0&&(h={}),h.style&&delete h.style;var m=s.selection.ranges(0),f=m.startContainer;if(f.nodeType===Node.ELEMENT_NODE&&0<f.childNodes.length&&f.childNodes[m.startOffset]&&(f=f.childNodes[m.startOffset]),!m.collapsed&&f.nodeType===Node.TEXT_NODE&&m.startOffset===(f.textContent||"").length){for(;!s.node.isBlock(f.parentNode)&&!f.nextSibling;)f=f.parentNode;f.nextSibling&&(f=f.nextSibling)}for(var y=f;y&&y.nodeType===Node.ELEMENT_NODE&&!P(y,N(d,h));)y=y.firstChild;if(y&&y.nodeType===Node.ELEMENT_NODE&&P(y,N(d,h)))return!0;var I=f;for(I&&I.nodeType!==Node.ELEMENT_NODE&&(I=I.parentNode);I&&I.nodeType===Node.ELEMENT_NODE&&I!==s.el&&!P(I,N(d,h));)I=I.parentNode;return!(!I||I.nodeType!==Node.ELEMENT_NODE||I===s.el||!P(I,N(d,h)))}return{is:u,toggle:function(h,m){u(h,m)?p(h,m):g(h,m)},apply:g,remove:p,applyStyle:a,removeStyle:function(h){a(h,null)}}},e.MODULES.spaces=function(s){function c(N,P){var S=N.previousSibling,g=N.nextSibling,v=N.textContent,p=N.parentNode,a=[e.ENTER_P,e.ENTER_DIV,e.ENTER_BR];if(!s.html.isPreformatted(p)){P&&(v=v.replace(/[\f\n\r\t\v ]{2,}/g," "),g&&g.tagName!=="BR"&&!s.node.isBlock(g)||!(s.node.isBlock(p)||s.node.isLink(p)&&!p.nextSibling||s.node.isElement(p))||(v=v.replace(/[\f\n\r\t\v ]{1,}$/g,"")),S&&S.tagName!=="BR"&&!s.node.isBlock(S)||!(s.node.isBlock(p)||s.node.isLink(p)&&!p.previousSibling||s.node.isElement(p))||(v=v.replace(/^[\f\n\r\t\v ]{1,}/g,"")),(s.node.isBlock(g)||s.node.isBlock(S))&&(v=v.replace(/^[\f\n\r\t\v ]{1,}/g,"")),v===" "&&(S&&s.node.isVoid(S)||g&&s.node.isVoid(g))&&!(S&&g&&s.node.isVoid(S)||g&&S&&s.node.isVoid(g))&&(v="")),(!S&&s.node.isBlock(g)||!g&&s.node.isBlock(S))&&s.node.isBlock(p)&&p!==s.el&&(v=v.replace(/^[\f\n\r\t\v ]{1,}/g,"")),P||(v=v.replace(new RegExp(e.UNICODE_NBSP,"g")," "));for(var o="",u=0;u<v.length;u++)v.charCodeAt(u)!=32||u!==0&&o.charCodeAt(u-1)!=32||!((s.opts.enter===e.ENTER_BR||s.opts.enter===e.ENTER_DIV)&&(S&&S.tagName==="BR"||g&&g.tagName==="BR")||S&&g&&S.tagName===g.tagName)&&(S&&g&&s.node.isVoid(S)||S&&g&&s.node.isVoid(g))?o+=v[u]:o+=e.UNICODE_NBSP;(!g||g&&s.node.isBlock(g)||g&&g.nodeType===Node.ELEMENT_NODE&&s.win.getComputedStyle(g)&&s.win.getComputedStyle(g).display==="block")&&(!s.node.isVoid(S)||S&&["P","DIV","BR"].indexOf(S.tagName)!==-1&&a.indexOf(s.opts.enter)!==-1)&&(o=o.replace(/ $/,e.UNICODE_NBSP)),!S||s.node.isVoid(S)||s.node.isBlock(S)||(o=o.replace(/^\u00A0([^ $])/," $1")).length!==1||o.charCodeAt(0)!==160||!g||s.node.isVoid(g)||s.node.isBlock(g)||s.node.hasClass(S,"fr-marker")&&s.node.hasClass(g,"fr-marker")||(o=" "),P||(o=o.replace(/([^ \u00A0])\u00A0([^ \u00A0])/g,"$1 $2")),N.textContent!==o&&(N.textContent=o)}}function x(N,P){if(N!==void 0&&N||(N=s.el),P===void 0&&(P=!1),!N.getAttribute||N.getAttribute("contenteditable")!=="false"){if(N.nodeType===Node.TEXT_NODE)c(N,P);else if(N.nodeType===Node.ELEMENT_NODE)for(var S=s.doc.createTreeWalker(N,NodeFilter.SHOW_TEXT,s.node.filter(function(g){for(var v=g.parentNode;v&&v!==s.el;){if(v.tagName==="STYLE"||v.tagName==="IFRAME"||v.tagName==="PRE")return!1;v=v.parentNode}return g.textContent.match(/([ \u00A0\f\n\r\t\v]{2,})|(^[ \u00A0\f\n\r\t\v]{1,})|([ \u00A0\f\n\r\t\v]{1,}$)/g)!==null&&!s.node.hasClass(g.parentNode,"fr-marker")}),!1);S.nextNode();)c(S.currentNode,P)}}return{normalize:x,normalizeAroundCursor:function(){for(var P=[],S=s.el.querySelectorAll(".fr-marker"),g=0;g<S.length;g++){for(var v=null,p=s.node.blockParent(S[g]),a=(v=p||S[g]).nextSibling,o=v.previousSibling;a&&a.tagName==="BR";)a=a.nextSibling;for(;o&&o.tagName==="BR";)o=o.previousSibling;v&&P.indexOf(v)<0&&P.push(v),o&&P.indexOf(o)<0&&P.push(o),a&&P.indexOf(a)<0&&P.push(a)}for(var u=0;u<P.length;u++)x(P[u])}}},e.START_MARKER='<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;">'.concat(e.INVISIBLE_SPACE="​","</span>"),e.END_MARKER='<span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;">'.concat(e.INVISIBLE_SPACE,"</span>"),e.MARKERS=e.START_MARKER+e.END_MARKER,e.MODULES.markers=function(s){var c=s.$;function x(){if(!s.$wp)return null;try{var P=s.selection.ranges(0),S=P.commonAncestorContainer;if(S!==s.el&&!s.$el.contains(S))return null;var g=P.cloneRange(),v=P.cloneRange();g.collapse(!0);var p=c(s.doc.createElement("SPAN")).addClass("fr-marker").attr("style","display: none; line-height: 0;").html(e.INVISIBLE_SPACE).get(0);if(g.insertNode(p),p=s.$el.find("span.fr-marker").get(0)){for(var a=p.nextSibling;a&&a.nodeType===Node.TEXT_NODE&&a.textContent.length===0;)c(a).remove(),a=s.$el.find("span.fr-marker").get(0).nextSibling;return s.selection.clear(),s.selection.get().addRange(v),p}return null}catch{}}function N(){s.$el.find(".fr-marker").remove()}return{place:function(S,g,v){var p,a,o;try{var u=S.cloneRange();if(u.collapse(g),u.insertNode(function(m,f){var y=c(s.doc.createElement("SPAN"));return y.addClass("fr-marker").attr("data-id",f).attr("data-type",m).attr("style","display: ".concat(s.browser.safari?"none":"inline-block","; line-height: 0;")).html(e.INVISIBLE_SPACE),y.get(0)}(g,v)),g===!0)for(o=(p=s.$el.find('span.fr-marker[data-type="true"][data-id="'.concat(v,'"]')).get(0)).nextSibling;o&&o.nodeType===Node.TEXT_NODE&&o.textContent.length===0;)c(o).remove(),o=p.nextSibling;if(g===!0&&!S.collapsed){for(;!s.node.isElement(p.parentNode)&&!o;)-1</\bfa\b/g.test(p.parentNode.className)&&p.parentNode.tagName==="I"?c(p.parentNode).before(p):c(p.parentNode).after(p),o=p.nextSibling;if(o&&o.nodeType===Node.ELEMENT_NODE&&s.node.isBlock(o)&&o.tagName!=="HR"){for(a=[o];o=a[0],(a=s.node.contents(o))[0]&&s.node.isBlock(a[0]););c(o).prepend(c(p))}}if(g===!1&&!S.collapsed){if((o=(p=s.$el.find('span.fr-marker[data-type="false"][data-id="'.concat(v,'"]')).get(0)).previousSibling)&&o.nodeType===Node.ELEMENT_NODE&&s.node.isBlock(o)&&o.tagName!=="HR"){for(a=[o];o=a[a.length-1],(a=s.node.contents(o))[a.length-1]&&s.node.isBlock(a[a.length-1]););c(o).append(c(p))}(p.parentNode&&0<=["TD","TH"].indexOf(p.parentNode.tagName)||!p.previousSibling&&s.node.isBlock(p.parentElement))&&(p.parentNode.previousSibling&&!p.previousSibling?c(p.parentNode.previousSibling).append(p):0<=["TD","TH"].indexOf(p.parentNode.tagName)&&p.parentNode.firstChild===p&&(p.parentNode.previousSibling?c(p.parentNode.previousSibling).append(p):p.parentNode.parentNode&&p.parentNode.parentNode.previousSibling&&c(p.parentNode.parentNode.previousSibling).append(p)))}var d=s.$el.find('span.fr-marker[data-type="'.concat(g,'"][data-id="').concat(v,'"]')).get(0);return d&&(d.style.display="none"),d}catch{return null}},insert:x,split:function(){s.selection.isCollapsed()||s.selection.remove();var S=s.$el.find(".fr-marker").get(0);if(S||(S=x()),!S)return null;var g=s.node.deepestParent(S);if(g||(g=s.node.blockParent(S))&&g.tagName!=="LI"&&(g=null),g)if(s.node.isBlock(g)&&s.node.isEmpty(g))g.tagName!=="LI"||g.parentNode.firstElementChild!==g||s.node.isEmpty(g.parentNode)?c(g).replaceWith('<span class="fr-marker"></span>'):c(g).append('<span class="fr-marker"></span>');else if(s.cursor.isAtStart(S,g))c(g).before('<span class="fr-marker"></span>'),c(S).remove();else if(s.cursor.isAtEnd(S,g))c(g).after('<span class="fr-marker"></span>'),c(S).remove();else{for(var v=S,p="",a="";v=v.parentNode,p+=s.node.closeTagString(v),a=s.node.openTagString(v)+a,v!==g;);c(S).replaceWith('<span id="fr-break"></span>');var o=s.node.openTagString(g)+c(g).html()+s.node.closeTagString(g);o=o.replace(/<span id="fr-break"><\/span>/g,"".concat(p,'<span class="fr-marker"></span>').concat(a)),c(g).replaceWith(o)}return s.$el.find(".fr-marker").get(0)},insertAtPoint:function(S){var g,v=S.clientX,p=S.clientY;N();var a=null;if(typeof s.doc.caretPositionFromPoint<"u"?(g=s.doc.caretPositionFromPoint(v,p),(a=s.doc.createRange()).setStart(g.offsetNode,g.offset),a.setEnd(g.offsetNode,g.offset)):typeof s.doc.caretRangeFromPoint<"u"&&(g=s.doc.caretRangeFromPoint(v,p),(a=s.doc.createRange()).setStart(g.startContainer,g.startOffset),a.setEnd(g.startContainer,g.startOffset)),a!==null&&typeof s.win.getSelection<"u"){var o=s.win.getSelection();o.removeAllRanges(),o.addRange(a)}else if(typeof s.doc.body.createTextRange<"u")try{(a=s.doc.body.createTextRange()).moveToPoint(v,p);var u=a.duplicate();u.moveToPoint(v,p),a.setEndPoint("EndToEnd",u),a.select()}catch{return!1}x()},remove:N}},e.MODULES.selection=function(s){var c=s.$;function x(){var E="";return s.win.getSelection?E=s.win.getSelection():s.doc.getSelection?E=s.doc.getSelection():s.doc.selection&&(E=s.doc.selection.createRange().text),E.toString()}function N(){return s.win.getSelection?s.win.getSelection():s.doc.getSelection?s.doc.getSelection():s.doc.selection.createRange()}function P(E){var M=N(),D=[];if(M&&M.getRangeAt&&M.rangeCount){D=[];for(var F=0;F<M.rangeCount;F++)D.push(M.getRangeAt(F))}else D=s.doc.createRange?[s.doc.createRange()]:[];return E!==void 0?D[E]:D}function S(){var E=N();try{E.removeAllRanges?E.removeAllRanges():E.empty?E.empty():E.clear&&E.clear()}catch{}}function g(E,M){var D=E;return D.nodeType===Node.ELEMENT_NODE&&0<D.childNodes.length&&D.childNodes[M]&&(D=D.childNodes[M]),D.nodeType===Node.TEXT_NODE&&(D=D.parentNode),D}function v(){if(s.$wp){s.markers.remove();var E,M,D=P(),F=[];for(M=0;M<D.length;M++)if(D[M].startContainer!==s.doc||s.browser.msie){var X=(E=D[M]).collapsed,_=s.markers.place(E,!0,M),w=s.markers.place(E,!1,M);if(_!==void 0&&_||!X||(c(".fr-marker").remove(),s.selection.setAtEnd(s.el)),s.el.normalize(),s.browser.safari&&!X)try{(E=s.doc.createRange()).setStartAfter(_),E.setEndBefore(w),F.push(E)}catch{}}if(s.browser.safari&&F.length)for(s.selection.clear(),M=0;M<F.length;M++)s.selection.get().addRange(F[M])}}function p(){var E,M=s.el.querySelectorAll('.fr-marker[data-type="true"]');if(!s.$wp)return s.markers.remove(),!1;if(M.length===0)return!1;if(s.browser.msie||s.browser.edge)for(E=0;E<M.length;E++)M[E].style.display="inline-block";s.core.hasFocus()||s.browser.msie||s.browser.webkit||s.$el.focus(),S();var D=N();for(E=0;E<M.length;E++){var F=c(M[E]).data("id"),X=M[E],_=s.doc.createRange(),w=s.$el.find('.fr-marker[data-type="false"][data-id="'.concat(F,'"]'));(s.browser.msie||s.browser.edge)&&w.css("display","inline-block");var A=null;if(0<w.length){w=w[0];try{for(var U=!1,b=X.nextSibling,k=null;b&&b.nodeType===Node.TEXT_NODE&&b.textContent.length===0;)b=(k=b).nextSibling,c(k).remove();for(var O=w.nextSibling;O&&O.nodeType===Node.TEXT_NODE&&O.textContent.length===0;)O=(k=O).nextSibling,c(k).remove();if(X.nextSibling===w||w.nextSibling===X){for(var z=X.nextSibling===w?X:w,W=z===X?w:X,Q=z.previousSibling;Q&&Q.nodeType===Node.TEXT_NODE&&Q.length===0;)Q=(k=Q).previousSibling,c(k).remove();if(Q&&Q.nodeType===Node.TEXT_NODE)for(;Q&&Q.previousSibling&&Q.previousSibling.nodeType===Node.TEXT_NODE;)Q.previousSibling.textContent+=Q.textContent,Q=Q.previousSibling,c(Q.nextSibling).remove();for(var ee=W.nextSibling;ee&&ee.nodeType===Node.TEXT_NODE&&ee.length===0;)ee=(k=ee).nextSibling,c(k).remove();if(ee&&ee.nodeType===Node.TEXT_NODE)for(;ee&&ee.nextSibling&&ee.nextSibling.nodeType===Node.TEXT_NODE;)ee.nextSibling.textContent=ee.textContent+ee.nextSibling.textContent,ee=ee.nextSibling,c(ee.previousSibling).remove();if(Q&&(s.node.isVoid(Q)||s.node.isBlock(Q))&&(Q=null),ee&&(s.node.isVoid(ee)||s.node.isBlock(ee))&&(ee=null),Q&&ee&&Q.nodeType===Node.TEXT_NODE&&ee.nodeType===Node.TEXT_NODE){c(X).remove(),c(w).remove();var se=Q.textContent.length;Q.textContent+=ee.textContent,c(ee).remove(),s.opts.htmlUntouched||s.spaces.normalize(Q),_.setStart(Q,se),_.setEnd(Q,se),U=!0}else!Q&&ee&&ee.nodeType===Node.TEXT_NODE?(c(X).remove(),c(w).remove(),s.opts.htmlUntouched||s.spaces.normalize(ee),A=c(s.doc.createTextNode("\u200B")).get(0),c(ee).before(A),_.setStart(ee,0),_.setEnd(ee,0),U=!0):!ee&&Q&&Q.nodeType===Node.TEXT_NODE&&(c(X).remove(),c(w).remove(),s.opts.htmlUntouched||s.spaces.normalize(Q),A=c(s.doc.createTextNode("\u200B")).get(0),c(Q).after(A),_.setStart(Q,Q.textContent.length),_.setEnd(Q,Q.textContent.length),U=!0)}if(!U){var ae=void 0,he=void 0;he=(s.browser.chrome||s.browser.edge)&&X.nextSibling===w?(ae=a(w,_,!0)||_.setStartAfter(w),a(X,_,!1)||_.setEndBefore(X)):(X.previousSibling===w&&(w=(X=w).nextSibling),w.nextSibling&&w.nextSibling.tagName==="BR"||!w.nextSibling&&s.node.isBlock(X.previousSibling)||X.previousSibling&&X.previousSibling.tagName==="BR"||(X.style.display="inline",w.style.display="inline",A=c(s.doc.createTextNode("\u200B")).get(0)),ae=a(X,_,!0)||c(X).before(A)&&_.setStartBefore(X),a(w,_,!1)||c(w).after(A)&&_.setEndAfter(w)),typeof ae=="function"&&ae(),typeof he=="function"&&he()}}catch{}}A&&c(A).remove();try{D.addRange(_)}catch{}}s.markers.remove()}function a(E,M,D){var F,X=E.previousSibling,_=E.nextSibling;return X&&_&&X.nodeType===Node.TEXT_NODE&&_.nodeType===Node.TEXT_NODE?(F=X.textContent.length,D?(_.textContent=X.textContent+_.textContent,c(X).remove(),c(E).remove(),s.opts.htmlUntouched||s.spaces.normalize(_),function(){M.setStart(_,F)}):(X.textContent+=_.textContent,c(_).remove(),c(E).remove(),s.opts.htmlUntouched||s.spaces.normalize(X),function(){M.setEnd(X,F)})):X&&!_&&X.nodeType===Node.TEXT_NODE?(F=X.textContent.length,D?(s.opts.htmlUntouched||s.spaces.normalize(X),function(){M.setStart(X,F)}):(s.opts.htmlUntouched||s.spaces.normalize(X),function(){M.setEnd(X,F)})):!(!_||X||_.nodeType!==Node.TEXT_NODE)&&(D?(s.opts.htmlUntouched||s.spaces.normalize(_),function(){M.setStart(_,0)}):(s.opts.htmlUntouched||s.spaces.normalize(_),function(){M.setEnd(_,0)}))}function o(){for(var E=P(),M=0;M<E.length;M++)if(!E[M].collapsed)return!1;return!0}function u(E){var M,D,F=!1,X=!1;if(s.win.getSelection){var _=s.win.getSelection();_.rangeCount&&((D=(M=_.getRangeAt(0)).cloneRange()).selectNodeContents(E),D.setEnd(M.startContainer,M.startOffset),F=d(D),D.selectNodeContents(E),D.setStart(M.endContainer,M.endOffset),X=d(D))}else s.doc.selection&&s.doc.selection.type!=="Control"&&((D=(M=s.doc.selection.createRange()).duplicate()).moveToElementText(E),D.setEndPoint("EndToStart",M),F=d(D),D.moveToElementText(E),D.setEndPoint("StartToEnd",M),X=d(D));return{atStart:F,atEnd:X}}function d(E){return E.toString().replace(/[\u200B-\u200D\uFEFF]/g,"")===""}function h(E,M){M===void 0&&(M=!0);var D=c(E).html();D&&D.replace(/\u200b/g,"").length!==D.length&&c(E).html(D.replace(/\u200b/g,""));for(var F=s.node.contents(E),X=0;X<F.length;X++)F[X].nodeType!==Node.ELEMENT_NODE?c(F[X]).remove():(h(F[X],X===0),X===0&&(M=!1));if(E.nodeType===Node.TEXT_NODE){var _=c(document.createElement("span")).attr("data-first","true").attr("data-text","true");c(E)[0].replaceWith(_[0])}else M&&c(E).attr("data-first",!0)}function m(){return c(this).find("fr-inner").length===0}function f(){try{if(!s.$wp)return!1;for(var E=P(0).commonAncestorContainer;E&&!s.node.isElement(E);)E=E.parentNode;return!!s.node.isElement(E)}catch{return!1}}function y(E,M){if(!E||0<E.getElementsByClassName("fr-marker").length)return!1;for(var D=E.firstChild;D&&(s.node.isBlock(D)||M&&!s.node.isVoid(D)&&D.nodeType===Node.ELEMENT_NODE);)D=(E=D).firstChild;E.innerHTML=e.MARKERS+E.innerHTML}function I(E,M){if(!E||0<E.getElementsByClassName("fr-marker").length)return!1;for(var D=E.lastChild;D&&(s.node.isBlock(D)||M&&!s.node.isVoid(D)&&D.nodeType===Node.ELEMENT_NODE);)D=(E=D).lastChild;var F=s.doc.createElement("SPAN");for(F.setAttribute("id","fr-sel-markers"),F.innerHTML=e.MARKERS;E.parentNode&&s.opts.htmlAllowedEmptyTags&&0<=s.opts.htmlAllowedEmptyTags.indexOf(E.tagName.toLowerCase());)E=E.parentNode;E.appendChild(F);var X=E.querySelector("#fr-sel-markers");X.outerHTML=X.innerHTML}return{text:x,get:N,ranges:P,clear:S,element:function(){var M=N();try{if(M.rangeCount){var D,F=P(0),X=F.startContainer;if(s.node.isElement(X)&&F.startOffset===0&&X.childNodes.length)for(;X.childNodes.length&&X.childNodes[0].nodeType===Node.ELEMENT_NODE;)X=X.childNodes[0];if(X.nodeType===Node.TEXT_NODE&&F.startOffset===(X.textContent||"").length&&X.nextSibling&&(X=X.nextSibling),X.nodeType===Node.ELEMENT_NODE){var _=!1;if(0<X.childNodes.length&&X.childNodes[F.startOffset]){for(D=X.childNodes[F.startOffset];D&&D.nodeType===Node.TEXT_NODE&&D.textContent.length===0;)D=D.nextSibling;if(D&&D.textContent.replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&(X=D,_=!0),!_&&1<X.childNodes.length&&0<F.startOffset&&X.childNodes[F.startOffset-1]){for(D=X.childNodes[F.startOffset-1];D&&D.nodeType===Node.TEXT_NODE&&D.textContent.length===0;)D=D.nextSibling;D&&D.textContent.replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&(X=D,_=!0)}}else!F.collapsed&&X.nextSibling&&X.nextSibling.nodeType===Node.ELEMENT_NODE&&(D=X.nextSibling)&&D.textContent.replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&(X=D,_=!0);!_&&0<X.childNodes.length&&c(X.childNodes[0]).text().replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&["BR","IMG","HR"].indexOf(X.childNodes[0].tagName)<0&&(X=X.childNodes[0])}for(;X.nodeType!==Node.ELEMENT_NODE&&X.parentNode;)X=X.parentNode;for(var w=X;w&&w.tagName!=="HTML";){if(w===s.el)return X;w=c(w).parent()[0]}}}catch{}return s.el},endElement:function(){var M=N();try{if(M.rangeCount){var D,F=P(0),X=F.endContainer;if(X.nodeType===Node.ELEMENT_NODE){var _=!1;0<X.childNodes.length&&X.childNodes[F.endOffset]&&c(X.childNodes[F.endOffset]).text()===x()?(X=X.childNodes[F.endOffset],_=!0):!F.collapsed&&X.previousSibling&&X.previousSibling.nodeType===Node.ELEMENT_NODE?(D=X.previousSibling)&&D.textContent.replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&(X=D,_=!0):!F.collapsed&&0<X.childNodes.length&&X.childNodes[F.endOffset]&&(D=X.childNodes[F.endOffset].previousSibling).nodeType===Node.ELEMENT_NODE&&D&&D.textContent.replace(/\u200B/g,"")===x().replace(/\u200B/g,"")&&(X=D,_=!0),!_&&0<X.childNodes.length&&c(X.childNodes[X.childNodes.length-1]).text()===x()&&["BR","IMG","HR"].indexOf(X.childNodes[X.childNodes.length-1].tagName)<0&&(X=X.childNodes[X.childNodes.length-1])}for(X.nodeType===Node.TEXT_NODE&&F.endOffset===0&&X.previousSibling&&X.previousSibling.nodeType===Node.ELEMENT_NODE&&(X=X.previousSibling);X.nodeType!==Node.ELEMENT_NODE&&X.parentNode;)X=X.parentNode;for(var w=X;w&&w.tagName!=="HTML";){if(w===s.el)return X;w=c(w).parent()[0]}}}catch{}return s.el},save:v,restore:p,isCollapsed:o,isFull:function(){if(o())return!1;s.selection.save();var M,D=s.el.querySelectorAll("td, th, img, br");for(M=0;M<D.length;M++)(D[M].nextSibling||D[M].tagName==="IMG")&&(D[M].innerHTML='<span class="fr-mk" style="display: none;"> </span>'.concat(D[M].innerHTML));var F=!1,X=u(s.el);for(X.atStart&&X.atEnd&&(F=!0),D=s.el.querySelectorAll(".fr-mk"),M=0;M<D.length;M++)D[M].parentNode.removeChild(D[M]);return s.selection.restore(),F},inEditor:f,remove:function(){if(o())return!0;var M;function D(ie){for(var te=ie.previousSibling;te&&te.nodeType===Node.TEXT_NODE&&te.textContent.length===0;){var ne=te;te=te.previousSibling,c(ne).remove()}return te}function F(ie){for(var te=ie.nextSibling;te&&te.nodeType===Node.TEXT_NODE&&te.textContent.length===0;){var ne=te;te=te.nextSibling,c(ne).remove()}return te}v();var X=s.$el.find('.fr-marker[data-type="true"]');for(M=0;M<X.length;M++)for(var _=X[M];!(D(_)||s.node.isBlock(_.parentNode)||s.$el.is(_.parentNode)||s.node.hasClass(_.parentNode,"fr-inner"));)c(_.parentNode).before(_);var w=s.$el.find('.fr-marker[data-type="false"]');for(M=0;M<w.length;M++){for(var A=w[M];!(F(A)||s.node.isBlock(A.parentNode)||s.$el.is(A.parentNode)||s.node.hasClass(A.parentNode,"fr-inner"));)c(A.parentNode).after(A);A.parentNode&&s.node.isBlock(A.parentNode)&&s.node.isEmpty(A.parentNode)&&!s.$el.is(A.parentNode)&&!s.node.hasClass(A.parentNode,"fr-inner")&&s.opts.keepFormatOnDelete&&c(A.parentNode).after(A)}if(function(){for(var te=s.$el.find(".fr-marker"),ne=0;ne<te.length;ne++)if(c(te[ne]).parentsUntil('.fr-element, [contenteditable="true"]','[contenteditable="false"]').length)return!1;return!0}()){(function ie(te,ne){var oe=s.node.contents(te.get(0));0<=["TD","TH"].indexOf(te.get(0).tagName)&&te.find(".fr-marker").length===1&&(s.node.hasClass(oe[0],"fr-marker")||oe[0].tagName=="BR"&&s.node.hasClass(oe[0].nextElementSibling,"fr-marker"))&&te.attr("data-del-cell",!0);for(var le=0;le<oe.length;le++){var ue=oe[le];s.node.hasClass(ue,"fr-marker")?ne=(ne+1)%2:ne?0<c(ue).find(".fr-marker").length?ne=ie(c(ue),ne):["TD","TH"].indexOf(ue.tagName)<0&&!s.node.hasClass(ue,"fr-inner")?!s.opts.keepFormatOnDelete||0<s.$el.find("[data-first]").length||s.node.isVoid(ue)?c(ue).remove():h(ue):s.node.hasClass(ue,"fr-inner")?c(ue).find(".fr-inner").length===0?c(ue).html("<br>"):c(ue).find(".fr-inner").filter(m).html("<br>"):(c(ue).empty(),c(ue).attr("data-del-cell",!0)):0<c(ue).find(".fr-marker").length&&(ne=ie(c(ue),ne))}return ne})(s.$el,0);var U=s.$el.find('[data-first="true"]');if(U.length)s.$el.find(".fr-marker").remove(),U.append(e.INVISIBLE_SPACE+e.MARKERS).removeAttr("data-first"),U.attr("data-text")&&U.replaceWith(U.html());else for(s.$el.find("table").filter(function(){return 0<c(this).find("[data-del-cell]").length&&c(this).find("[data-del-cell]").length===c(this).find("td, th").length}).remove(),s.$el.find("[data-del-cell]").removeAttr("data-del-cell"),X=s.$el.find('.fr-marker[data-type="true"]'),M=0;M<X.length;M++){var b=X[M],k=b.nextSibling,O=s.$el.find('.fr-marker[data-type="false"][data-id="'.concat(c(b).data("id"),'"]')).get(0);if(O){if(b&&(!k||k!==O)){var z=s.node.blockParent(b),W=s.node.blockParent(O),Q=!1,ee=!1;if(z&&0<=["UL","OL"].indexOf(z.tagName)&&(Q=!(z=null)),W&&0<=["UL","OL"].indexOf(W.tagName)&&(ee=!(W=null)),c(b).after(O),z!==W)if(z!==null||Q)if(W!==null||ee||c(z).parentsUntil(s.$el,"table").length!==0)z&&W&&c(z).parentsUntil(s.$el,"table").length===0&&c(W).parentsUntil(s.$el,"table").length===0&&!c(z).contains(W)&&!c(W).contains(z)&&(c(z).append(c(W).html()),c(W).remove());else{for(k=z;!k.nextSibling&&k.parentNode!==s.el;)k=k.parentNode;for(k=k.nextSibling;k&&k.tagName!=="BR";){var se=k.nextSibling;c(z).append(k),k=se}k&&k.tagName==="BR"&&c(k).remove()}else{var ae=s.node.deepestParent(b);ae?(c(ae).after(c(W).html()),c(W).remove()):c(W).parentsUntil(s.$el,"table").length===0&&(c(b).next().after(c(W).html()),c(W).remove())}}}else O=c(b).clone().attr("data-type",!1),c(b).after(O)}}s.$el.find("li:empty").remove(),s.opts.keepFormatOnDelete||s.html.fillEmptyBlocks(),s.html.cleanEmptyTags(!0),s.opts.htmlUntouched||(s.clean.lists(),s.$el.find("li:empty").append("<br>"),s.spaces.normalize());var he=s.$el.find(".fr-marker").last().get(0),ce=s.$el.find(".fr-marker").first().get(0);he!==void 0&&ce!==void 0&&!he.nextSibling&&ce.previousSibling&&ce.previousSibling.tagName==="BR"&&s.node.isElement(he.parentNode)&&s.node.isElement(ce.parentNode)&&s.$el.append("<br>"),p()},blocks:function(M){var D,F,X=[],_=N();if(f()&&_.rangeCount){var w=P();for(D=0;D<w.length;D++){var A=w[D],U=g(A.startContainer,A.startOffset),b=g(A.endContainer,A.endOffset);(s.node.isBlock(U)||s.node.hasClass(U,"fr-inner"))&&X.indexOf(U)<0&&X.push(U),(F=s.node.blockParent(U))&&X.indexOf(F)<0&&X.push(F);for(var k=[],O=U;O!==b&&O!==s.el;)k.indexOf(O)<0&&O.children&&O.children.length?(k.push(O),O=O.children[0]):O.nextSibling?O=O.nextSibling:O.parentNode&&(O=O.parentNode,k.push(O)),s.node.isBlock(O)&&k.indexOf(O)<0&&X.indexOf(O)<0&&(O!==b||0<A.endOffset)&&X.push(O);s.node.isBlock(b)&&X.indexOf(b)<0&&0<A.endOffset&&X.push(b),(F=s.node.blockParent(b))&&X.indexOf(F)<0&&X.push(F)}}for(D=X.length-1;0<D;D--)if(c(X[D]).find(X).length){if(M&&c(X[D]).find("ul, ol").length)continue;X.splice(D,1)}return X},info:u,setAtEnd:I,setAtStart:y,setBefore:function(M,D){D===void 0&&(D=!0);for(var F=M.previousSibling;F&&F.nodeType===Node.TEXT_NODE&&F.textContent.length===0;)F=F.previousSibling;return F?(s.node.isBlock(F)?I(F):F.tagName==="BR"?c(F).before(e.MARKERS):c(F).after(e.MARKERS),!0):!!D&&(s.node.isBlock(M)?y(M):c(M).before(e.MARKERS),!0)},setAfter:function(M,D){D===void 0&&(D=!0);for(var F=M.nextSibling;F&&F.nodeType===Node.TEXT_NODE&&F.textContent.length===0;)F=F.nextSibling;return F?(s.node.isBlock(F)?y(F):c(F).before(e.MARKERS),!0):!!D&&(s.node.isBlock(M)?I(M):c(M).after(e.MARKERS),!0)},rangeElement:g}},Object.assign(e.DEFAULTS,{language:null}),e.LANGUAGE={},e.MODULES.language=function(s){var c;return{_init:function(){e.LANGUAGE&&(c=e.LANGUAGE[s.opts.language]),c&&c.direction&&(s.opts.direction=c.direction)},translate:function(N){return c&&c.translation[N]&&c.translation[N].length?c.translation[N]:N}}},Object.assign(e.DEFAULTS,{placeholderText:"Type something"}),e.MODULES.placeholder=function(s){var c=s.$;function x(){s.$placeholder||function(){s.$placeholder=c(s.doc.createElement("SPAN")).addClass("fr-placeholder"),s.$wp.append(s.$placeholder)}();var S=s.opts.iframe?s.$iframe.prev().outerHeight(!0):s.$el.prev().outerHeight(!0),g=0,v=0,p=0,a=0,o=0,u=0,d=s.node.contents(s.el),h=c(s.selection.element()).css("text-align");if(d.length&&d[0].nodeType===Node.ELEMENT_NODE){var m=c(d[0]);(0<s.$wp.prev().length||0<s.$el.prev().length)&&s.ready&&(g=s.helpers.getPX(m.css("margin-top")),a=s.helpers.getPX(m.css("padding-top")),v=s.helpers.getPX(m.css("margin-left")),p=s.helpers.getPX(m.css("margin-right")),o=s.helpers.getPX(m.css("padding-left")),u=s.helpers.getPX(m.css("padding-right"))),s.$placeholder.css("font-size",m.css("font-size")),s.$placeholder.css("line-height",m.css("line-height"))}else s.$placeholder.css("font-size",s.$el.css("font-size")),s.$placeholder.css("line-height",s.$el.css("line-height"));s.$wp.addClass("show-placeholder"),s.$placeholder.css({marginTop:Math.max(s.helpers.getPX(s.$el.css("margin-top")),g)+(S||0),paddingTop:Math.max(s.helpers.getPX(s.$el.css("padding-top")),a),paddingLeft:Math.max(s.helpers.getPX(s.$el.css("padding-left")),o),marginLeft:Math.max(s.helpers.getPX(s.$el.css("margin-left")),v),paddingRight:Math.max(s.helpers.getPX(s.$el.css("padding-right")),u),marginRight:Math.max(s.helpers.getPX(s.$el.css("margin-right")),p),textAlign:h}).text(s.language.translate(s.opts.placeholderText||s.$oel.attr("placeholder")||"")),s.$placeholder.html(s.$placeholder.text().replace(/\n/g,"<br>"))}function N(){s.$wp.removeClass("show-placeholder")}function P(){if(!s.$wp)return!1;s.core.isEmpty()?x():N()}return{_init:function(){if(!s.$wp)return!1;s.events.on("init input keydown keyup contentChanged initialized",P)},show:x,hide:N,refresh:P,isVisible:function(){return!s.$wp||s.node.hasClass(s.$wp.get(0),"show-placeholder")}}},e.UNICODE_NBSP="\xA0",e.VOID_ELEMENTS=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],e.BLOCK_TAGS=["address","article","aside","audio","blockquote","canvas","details","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul","video"],Object.assign(e.DEFAULTS,{htmlAllowedEmptyTags:["textarea","a","iframe","object","video","style","script",".fa",".fr-emoticon",".fr-inner","path","line","hr"],htmlDoNotWrapTags:["script","style"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),e.MODULES.html=function(s){var c=s.$;function x(){return s.opts.enter===e.ENTER_P?"p":s.opts.enter===e.ENTER_DIV?"div":s.opts.enter===e.ENTER_BR?null:void 0}function N(b,k){return!(!b||b===s.el)&&(k?["PRE","SCRIPT","STYLE"].indexOf(b.tagName)!=-1||N(b.parentNode,k):["PRE","SCRIPT","STYLE"].indexOf(b.tagName)!==-1)}function P(b){var k,O=[],z=[];if(b){var W=s.el.querySelectorAll(".fr-marker");for(k=0;k<W.length;k++){var Q=s.node.blockParent(W[k])||W[k];if(Q){var ee=Q.nextSibling,se=Q.previousSibling;Q&&z.indexOf(Q)<0&&s.node.isBlock(Q)&&z.push(Q),se&&s.node.isBlock(se)&&z.indexOf(se)<0&&z.push(se),ee&&s.node.isBlock(ee)&&z.indexOf(ee)<0&&z.push(ee)}}}else z=s.el.querySelectorAll(S());var ae=S();for(ae+=",".concat(e.VOID_ELEMENTS.join(",")),ae+=", .fr-inner",ae+=",".concat(s.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"),k=z.length-1;0<=k;k--)if(!(z[k].textContent&&0<z[k].textContent.replace(/\u200B|\n/g,"").length||0<z[k].querySelectorAll(ae).length)){for(var he=s.node.contents(z[k]),ce=!1,ie=0;ie<he.length;ie++)if(he[ie].nodeType!==Node.COMMENT_NODE&&he[ie].textContent&&0<he[ie].textContent.replace(/\u200B|\n/g,"").length){ce=!0;break}ce||O.push(z[k])}return O}function S(){return e.BLOCK_TAGS.join(", ")}function g(b){var k,O,z=c.merge([],e.VOID_ELEMENTS);z=c.merge(z,s.opts.htmlAllowedEmptyTags),z=b===void 0?c.merge(z,e.BLOCK_TAGS):c.merge(z,e.NO_DELETE_TAGS),k=s.el.querySelectorAll("*:empty:not(".concat(z.join("):not("),"):not(.fr-marker):not(template)"));do{O=!1;for(var W=0;W<k.length;W++)k[W].attributes.length!==0&&k[W].getAttribute("href")===void 0||(k[W].parentNode.removeChild(k[W]),O=!0);k=s.el.querySelectorAll("*:empty:not(".concat(z.join("):not("),"):not(.fr-marker):not(template)"))}while(k.length&&O)}function v(b,k){var O=x();if(k&&(O="div"),O){for(var z=s.doc.createDocumentFragment(),W=null,Q=!1,ee=b.firstChild,se=!1;ee;){var ae=ee.nextSibling;if(ee.nodeType===Node.ELEMENT_NODE&&(s.node.isBlock(ee)||0<=s.opts.htmlDoNotWrapTags.indexOf(ee.tagName.toLowerCase())&&!s.node.hasClass(ee,"fr-marker")))W=null,z.appendChild(ee.cloneNode(!0));else if(ee.nodeType!==Node.ELEMENT_NODE&&ee.nodeType!==Node.TEXT_NODE)W=null,z.appendChild(ee.cloneNode(!0));else if(ee.tagName==="BR")W===null?(W=s.doc.createElement(O),se=!0,k&&(W.setAttribute("class","fr-temp-div"),W.setAttribute("data-empty",!0)),W.appendChild(ee.cloneNode(!0)),z.appendChild(W)):Q===!1&&(W.appendChild(s.doc.createElement("br")),k&&(W.setAttribute("class","fr-temp-div"),W.setAttribute("data-empty",!0))),W=null;else{var he=ee.textContent;ee.nodeType!==Node.TEXT_NODE||0<he.replace(/\n/g,"").replace(/(^ *)|( *$)/g,"").length||he.replace(/(^ *)|( *$)/g,"").length&&he.indexOf(` 4`)<0?(W===null&&(W=s.doc.createElement(O),se=!0,k&&W.setAttribute("class","fr-temp-div"),z.appendChild(W),Q=!1),W.appendChild(ee.cloneNode(!0)),Q||s.node.hasClass(ee,"fr-marker")||ee.nodeType===Node.TEXT_NODE&&he.replace(/ /g,"").length===0||(Q=!0)):se=!0}ee=ae}se&&(b.innerHTML="",b.appendChild(z))}}function p(b,k){for(var O=b.length-1;0<=O;O--)v(b[O],k)}function a(b,k,O,z,W){if(!s.$wp)return!1;b===void 0&&(b=!1),k===void 0&&(k=!1),O===void 0&&(O=!1),z===void 0&&(z=!1),W===void 0&&(W=!1);var Q=s.$wp.scrollTop();v(s.el,b),z&&p(s.el.querySelectorAll(".fr-inner"),b),k&&p(s.el.querySelectorAll("td, th"),b),O&&p(s.el.querySelectorAll("blockquote"),b),W&&p(s.el.querySelectorAll("li"),b),Q!==s.$wp.scrollTop()&&s.$wp.scrollTop(Q)}function o(b){if(b===void 0&&(b=s.el),b&&0<=["SCRIPT","STYLE","PRE"].indexOf(b.tagName))return!1;for(var k=s.doc.createTreeWalker(b,NodeFilter.SHOW_TEXT,s.node.filter(function(se){return se.textContent.match(/([ \n]{2,})|(^[ \n]{1,})|([ \n]{1,}$)/g)!==null}),!1);k.nextNode();){var O=k.currentNode;if(!N(O.parentNode,!0)){var z=s.node.isBlock(O.parentNode)||s.node.isElement(O.parentNode),W=O.textContent.replace(/(?!^)( ){2,}(?!$)/g," ").replace(/\n/g," ").replace(/^[ ]{2,}/g," ").replace(/[ ]{2,}$/g," ");if(z){var Q=O.previousSibling,ee=O.nextSibling;Q&&ee&&W===" "?W=s.node.isBlock(Q)&&s.node.isBlock(ee)?"":" ":(Q||(W=W.replace(/^ */,"")),ee||(W=W.replace(/ *$/,"")))}O.textContent=W}}}function u(b,k,O){var z=new RegExp(k,"gi").exec(b);return z?z[O]:null}function d(b){var k=b.doctype,O="<!DOCTYPE html>";return k&&(O="<!DOCTYPE ".concat(k.name).concat(k.publicId?' PUBLIC "'.concat(k.publicId,'"'):"").concat(!k.publicId&&k.systemId?" SYSTEM":"").concat(k.systemId?' "'.concat(k.systemId,'"'):"",">")),O}function h(b){var k=b.parentNode;if(k&&(s.node.isBlock(k)||s.node.isElement(k))&&["TD","TH"].indexOf(k.tagName)<0){for(var O=b.previousSibling,z=b.nextSibling;O&&(O.nodeType===Node.TEXT_NODE&&O.textContent.replace(/\n|\r/g,"").length===0||s.node.hasClass(O,"fr-tmp"));)O=O.previousSibling;if(z)return!1;O&&k&&O.tagName!=="BR"&&!s.node.isBlock(O)&&!z&&0<k.textContent.replace(/\u200B/g,"").length&&0<O.textContent.length&&!s.node.hasClass(O,"fr-marker")&&(s.el===k&&!z&&s.opts.enter===e.ENTER_BR&&s.browser.msie||b.parentNode.removeChild(b))}else!k||s.node.isBlock(k)||s.node.isElement(k)||b.previousSibling||b.nextSibling||!s.node.isDeletable(b.parentNode)||h(b.parentNode)}function m(){s.opts.htmlUntouched||(g(),a(),o(),s.spaces.normalize(null,!0),s.html.fillEmptyBlocks(),s.clean.lists(),s.clean.tables(),s.clean.toHTML5(),s.html.cleanBRs()),s.selection.restore(),f(),s.placeholder.refresh()}function f(){s.node.isEmpty(s.el)&&(x()!==null?s.el.querySelector(S())||s.el.querySelector("".concat(s.opts.htmlDoNotWrapTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||(s.core.hasFocus()?(s.$el.html("<".concat(x(),">").concat(e.MARKERS,"<br/></").concat(x(),">")),s.selection.restore()):s.$el.html("<".concat(x(),"><br/></").concat(x(),">"))):s.el.querySelector("*:not(.fr-marker):not(br)")||(s.core.hasFocus()?(s.$el.html("".concat(e.MARKERS,"<br/>")),s.selection.restore()):s.$el.html("<br/>")))}function y(b,k){return u(b,"<".concat(k,"[^>]*?>([\\w\\W]*)</").concat(k,">"),1)}function I(b,k){var O=c("<div ".concat(u(b,"<".concat(k,"([^>]*?)>"),1)||"",">"));return s.node.rawAttributes(O.get(0))}function E(b){return(u(b,"<!DOCTYPE([^>]*?)>",0)||"<!DOCTYPE html>").replace(/\n/g," ").replace(/ {2,}/g," ")}function M(b,k){s.opts.htmlExecuteScripts?b.html(k):b.get(0).innerHTML=k}function D(b){var k;(k=/:not\(([^)]*)\)/g).test(b)&&(b=b.replace(k," $1 "));var O=100*(b.match(/(#[^\s+>~.[:]+)/g)||[]).length+10*(b.match(/(\[[^]]+\])/g)||[]).length+10*(b.match(/(\.[^\s+>~.[:]+)/g)||[]).length+10*(b.match(/(:[\w-]+\([^)]*\))/gi)||[]).length+10*(b.match(/(:[^\s+>~.[:]+)/g)||[]).length+(b.match(/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return O+=((b=(b=b.replace(/[*\s+>~]/g," ")).replace(/[#.]/g," ")).match(/([^\s+>~.[:]+)/g)||[]).length}function F(b){if(s.events.trigger("html.processGet",[b]),b&&b.getAttribute&&b.getAttribute("class")===""&&b.removeAttribute("class"),b&&b.getAttribute&&b.getAttribute("style")===""&&b.removeAttribute("style"),b&&b.nodeType===Node.ELEMENT_NODE){var k,O=b.querySelectorAll('[class=""],[style=""]');for(k=0;k<O.length;k++){var z=O[k];z.getAttribute("class")===""&&z.removeAttribute("class"),z.getAttribute("style")===""&&z.removeAttribute("style")}if(b.tagName==="BR")h(b);else{var W=b.querySelectorAll("br");for(k=0;k<W.length;k++)h(W[k])}}}function X(b,k){return b[3]-k[3]}function _(){for(var b=s.el.querySelectorAll("input, textarea"),k=0;k<b.length;k++)b[k].type!=="checkbox"&&b[k].type!=="radio"||(b[k].checked?b[k].setAttribute("checked",b[k].checked):s.$(b[k]).removeAttr("checked")),b[k].getAttribute("value")&&b[k].setAttribute("value",b[k].value)}function w(b){var k=s.doc.createElement("div");return k.innerHTML=b,k.querySelector(S())!==null}function A(b){var k=null;if(b===void 0&&(k=s.selection.element()),s.opts.keepFormatOnDelete)return!1;var O,z,W=k?(k.textContent.match(/\u200B/g)||[]).length-k.querySelectorAll(".fr-marker").length:0;if((s.el.textContent.match(/\u200B/g)||[]).length-s.el.querySelectorAll(".fr-marker").length===W)return!1;do{z=!1,O=s.el.querySelectorAll("*:not(.fr-marker)");for(var Q=0;Q<O.length;Q++){var ee=O[Q];if(k!==ee){var se=ee.textContent;ee.children.length===0&&se.length===1&&se.charCodeAt(0)===8203&&ee.tagName!=="TD"&&(c(ee).remove(),z=!0)}}}while(z)}function U(){A(),s.placeholder&&setTimeout(s.placeholder.refresh,0)}return{defaultTag:x,isPreformatted:N,emptyBlocks:P,emptyBlockTagsQuery:function(){return"".concat(e.BLOCK_TAGS.join(":empty, "),":empty")},blockTagsQuery:S,fillEmptyBlocks:function(k){var O=P(k);s.node.isEmpty(s.el)&&s.opts.enter===e.ENTER_BR&&O.push(s.el);for(var z=0;z<O.length;z++){var W=O[z];W.getAttribute("contenteditable")==="false"||W.querySelector("".concat(s.opts.htmlAllowedEmptyTags.join(":not(.fr-marker),"),":not(.fr-marker)"))||s.node.isVoid(W)||W.tagName!=="TABLE"&&W.tagName!=="TBODY"&&W.tagName!=="TR"&&W.tagName!=="UL"&&W.tagName!=="OL"&&W.appendChild(s.doc.createElement("br"))}if(s.browser.msie&&s.opts.enter===e.ENTER_BR){var Q=s.node.contents(s.el);Q.length&&Q[Q.length-1].nodeType===Node.TEXT_NODE&&s.$el.append("<br>")}},cleanEmptyTags:g,cleanWhiteTags:A,cleanBlankSpaces:o,blocks:function(){return s.$el.get(0).querySelectorAll(S())},getDoctype:d,set:function(k){var O=s.clean.html((k||"").trim(),[],[],s.opts.fullPage),z=new RegExp("%3A//","g"),W=O.replace(z,"://");if(s.opts.fullPage){var Q=y(W,"body")||(0<=W.indexOf("<body")?"":W),ee=I(W,"body"),se=y(W,"head")||"<title></title>",ae=I(W,"head"),he=c("<div>");he.append(se).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var ce=he.html().trim();se=c("<div>").append(se).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?"<!--".concat(this.nodeValue,"-->"):0<=["BASE","LINK","META","NOSCRIPT","SCRIPT","STYLE","TEMPLATE","TITLE"].indexOf(this.tagName)?this.outerHTML:""}).toArray().join("");var ie=E(W),te=I(W,"html");M(s.$el,"".concat(ce,` 5`).concat(Q)),s.node.clearAttributes(s.el),s.$el.attr(ee),s.$el.addClass("fr-view"),s.$el.attr("spellcheck",s.opts.spellcheck),s.$el.attr("dir",s.opts.direction),M(s.$head,se),s.node.clearAttributes(s.$head.get(0)),s.$head.attr(ae),s.node.clearAttributes(s.$html.get(0)),s.$html.attr(te),s.iframe_document.doctype.parentNode.replaceChild(function(le,ue){var de=le.match(/<!DOCTYPE ?([^ ]*) ?([^ ]*) ?"?([^"]*)"? ?"?([^"]*)"?>/i);return de?ue.implementation.createDocumentType(de[1],de[3],de[4]):ue.implementation.createDocumentType("html")}(ie,s.iframe_document),s.iframe_document.doctype)}else M(s.$el,W);var ne=s.edit.isDisabled();s.edit.on(),s.core.injectStyle(s.opts.iframeDefaultStyle+s.opts.iframeStyle),m(),s.opts.useClasses||(s.$el.find("[fr-original-class]").each(function(){this.setAttribute("class",this.getAttribute("fr-original-class")),this.removeAttribute("fr-original-class")}),s.$el.find("[fr-original-style]").each(function(){this.setAttribute("style",this.getAttribute("fr-original-style")),this.removeAttribute("fr-original-style")})),ne&&s.edit.off(),s.events.trigger("html.set"),s.events.trigger("charCounter.update")},syncInputs:_,get:function(k,O){if(!s.$wp)return s.$oel.clone().removeClass("fr-view").removeAttr("contenteditable").get(0).outerHTML;var z="";s.events.trigger("html.beforeGet");var W,Q,ee=[],se={},ae=[];if(_(),!s.opts.useClasses&&!O){var he=new RegExp("^".concat(s.opts.htmlIgnoreCSSProperties.join("$|^"),"$"),"gi");for(W=0;W<s.doc.styleSheets.length;W++){var ce=void 0,ie=0;try{ce=s.doc.styleSheets[W].cssRules,s.doc.styleSheets[W].ownerNode&&s.doc.styleSheets[W].ownerNode.nodeType==="STYLE"&&(ie=1)}catch{}if(ce){for(var te=0,ne=ce.length;te<ne;te++)if(ce[te].selectorText&&0<ce[te].style.cssText.length){var oe=ce[te].selectorText.replace(/body |\.fr-view /g,"").replace(/::/g,":"),le=void 0;try{le=s.el.querySelectorAll(oe)}catch{le=[]}for(Q=0;Q<le.length;Q++){!le[Q].getAttribute("fr-original-style")&&le[Q].getAttribute("style")?(le[Q].setAttribute("fr-original-style",le[Q].getAttribute("style")),ee.push(le[Q])):le[Q].getAttribute("fr-original-style")||(le[Q].setAttribute("fr-original-style",""),ee.push(le[Q])),se[le[Q]]||(se[le[Q]]={});for(var ue=1e3*ie+D(ce[te].selectorText),de=ce[te].style.cssText.split(";"),fe=0;fe<de.length;fe++){var me=de[fe].trim().split(":")[0];if(me&&!me.match(he)&&(se[le[Q]][me]||(se[le[Q]][me]=0)<=(le[Q].getAttribute("fr-original-style")||"").indexOf("".concat(me,":"))&&(se[le[Q]][me]=1e4),ue>=se[le[Q]][me]&&(se[le[Q]][me]=ue,de[fe].trim().length))){var ge=de[fe].trim().split(":");ge.splice(0,1),ae.push([le[Q],me.trim(),ge.join(":").trim(),ue])}}}}}}for(ae.sort(X),W=0;W<ae.length;W++){var Ee=ae[W];Ee[0].style[Ee[1]]=Ee[2]}for(W=0;W<ee.length;W++)if(ee[W].getAttribute("class")&&(ee[W].setAttribute("fr-original-class",ee[W].getAttribute("class")),ee[W].removeAttribute("class")),0<(ee[W].getAttribute("fr-original-style")||"").trim().length){var ve=ee[W].getAttribute("fr-original-style").split(";");for(Q=0;Q<ve.length;Q++)if(0<ve[Q].indexOf(":")){var ye=ve[Q].split(":"),Se=ye[0];ye.splice(0,1),ee[W].style[Se.trim()]=ye.join(":").trim()}}}if(s.node.isEmpty(s.el))s.opts.fullPage&&(z=d(s.iframe_document),z+="<html".concat(s.node.attributes(s.$html.get(0)),">").concat(s.$html.find("head").get(0).outerHTML,"<body></body></html>"));else if(k===void 0&&(k=!1),s.opts.fullPage){z=d(s.iframe_document),s.$el.removeClass("fr-view");var xe=s.opts.heightMin,Ce=s.opts.height,Oe=s.opts.heightMax;
5s.opts.heightMin=null,s.opts.height=null,s.opts.heightMax=null,s.size.refresh(),z+="<html".concat(s.node.attributes(s.$html.get(0)),">").concat(s.$html.html(),"</html>"),s.opts.heightMin=xe,s.opts.height=Ce,s.opts.heightMax=Oe,s.size.refresh(),s.$el.addClass("fr-view")}else z=s.$el.html();if(!s.opts.useClasses&&!O)for(W=0;W<ee.length;W++)ee[W].getAttribute("fr-original-class")&&(ee[W].setAttribute("class",ee[W].getAttribute("fr-original-class")),ee[W].removeAttribute("fr-original-class")),ee[W].getAttribute("fr-original-style")!==null&&ee[W].getAttribute("fr-original-style")!==void 0?(ee[W].getAttribute("fr-original-style").length!==0?ee[W].setAttribute("style",ee[W].getAttribute("fr-original-style")):ee[W].removeAttribute("style"),ee[W].removeAttribute("fr-original-style")):ee[W].removeAttribute("style");s.opts.fullPage&&(z=(z=(z=(z=(z=(z=(z=(z=z.replace(/<style data-fr-style="true">(?:[\w\W]*?)<\/style>/g,"")).replace(/<link([^>]*)data-fr-style="true"([^>]*)>/g,"")).replace(/<style(?:[\w\W]*?)class="firebugResetStyles"(?:[\w\W]*?)>(?:[\w\W]*?)<\/style>/g,"")).replace(/<body((?:[\w\W]*?)) spellcheck="true"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")).replace(/<body((?:[\w\W]*?)) contenteditable="(true|false)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>")).replace(/<body((?:[\w\W]*?)) dir="([\w]*)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$3>$4</body>")).replace(/<body((?:[\w\W]*?))class="([\w\W]*?)(fr-rtl|fr-ltr)([\w\W]*?)"((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,'<body$1class="$2$4"$5>$6</body>')).replace(/<body((?:[\w\W]*?)) class=""((?:[\w\W]*?))>((?:[\w\W]*?))<\/body>/g,"<body$1$2>$3</body>")),s.opts.htmlSimpleAmpersand&&(z=z.replace(/&/gi,"&")),s.events.trigger("html.afterGet"),k||(z=z.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,"")),z=s.clean.invisibleSpaces(z),z=s.clean.exec(z,F);var Pe=s.events.chainTrigger("html.get",z);return typeof Pe=="string"&&(z=Pe),z=(z=z.replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(He){return He.replace(/<br>/g,` 6`)})).replace(/<meta((?:[\w\W]*?)) data-fr-http-equiv="/g,'<meta$1 http-equiv="')},getSelected:function(){function k(ae,he){for(;he&&(he.nodeType===Node.TEXT_NODE||!s.node.isBlock(he))&&!s.node.isElement(he)&&!s.node.hasClass(he,"fr-inner");)he&&he.nodeType!==Node.TEXT_NODE&&c(ae).wrapInner(s.node.openTagString(he)+s.node.closeTagString(he)),he=he.parentNode;he&&ae.innerHTML===he.innerHTML?ae.innerHTML=he.outerHTML:he.innerText.indexOf(ae.innerHTML)!=-1&&(ae.innerHTML=s.node.openTagString(he)+he.innerHTML+s.node.closeTagString(he))}var O,z,W="";if(typeof s.win.getSelection<"u"){s.browser.mozilla&&(s.selection.save(),1<s.$el.find('.fr-marker[data-type="false"]').length&&(s.$el.find('.fr-marker[data-type="false"][data-id="0"]').remove(),s.$el.find('.fr-marker[data-type="false"]:last').attr("data-id","0"),s.$el.find(".fr-marker").not('[data-id="0"]').remove()),s.selection.restore());for(var Q=s.selection.ranges(),ee=0;ee<Q.length;ee++){var se=document.createElement("div");se.appendChild(Q[ee].cloneContents()),k(se,(z=O=void 0,z=null,s.win.getSelection?(O=s.win.getSelection())&&O.rangeCount&&(z=O.getRangeAt(0).commonAncestorContainer).nodeType!==Node.ELEMENT_NODE&&(z=z.parentNode):(O=s.doc.selection)&&O.type!=="Control"&&(z=O.createRange().parentElement()),z!==null&&(0<=c(z).parents().toArray().indexOf(s.el)||z===s.el)?z:null)),0<c(se).find(".fr-element").length&&(se=s.el),W+=se.innerHTML}}else typeof s.doc.selection<"u"&&s.doc.selection.type==="Text"&&(W=s.doc.selection.createRange().htmlText);return W},insert:function(k,O,z){var W;if(s.selection.isCollapsed()||s.selection.remove(),W=O?k:s.clean.html(k),k.indexOf('class="fr-marker"')<0&&(W=function(ae){var he=s.doc.createElement("div");return he.innerHTML=ae,s.selection.setAtEnd(he,!0),he.innerHTML}(W)),s.node.isEmpty(s.el)&&!s.opts.keepFormatOnDelete&&w(W))s.el.innerHTML=W;else{var Q=s.markers.insert();if(Q){s.node.isLastSibling(Q)&&c(Q).parent().hasClass("fr-deletable")&&c(Q).insertAfter(c(Q).parent());var ee=s.node.blockParent(Q);if((w(W)||z)&&(s.node.deepestParent(Q)||ee&&ee.tagName==="LI")){if(ee&&ee.tagName==="LI"&&(W=function(ae){if(!s.html.defaultTag())return ae;var he=s.doc.createElement("div");he.innerHTML=ae;for(var ce=he.querySelectorAll(":scope > ".concat(s.html.defaultTag())),ie=ce.length-1;0<=ie;ie--){var te=ce[ie];s.node.isBlock(te.previousSibling)||(te.previousSibling&&!s.node.isEmpty(te)&&
vendor: 6,558 bytes, line 6
6c("<br>").insertAfter(te.previousSibling),te.outerHTML=te.innerHTML)}return he.innerHTML}(W)),!(Q=s.markers.split()))return!1;Q.outerHTML=W}else Q.outerHTML=W}else s.el.innerHTML+=W}m(),s.keys.positionCaret(),s.events.trigger("html.inserted")},wrap:a,unwrap:function(){s.$el.find("div.fr-temp-div").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&c(this).before("<br>"),c(this).attr("data-empty")||!this.nextSibling||s.node.isBlock(this.nextSibling)&&!c(this.nextSibling).hasClass("fr-temp-div")?c(this).replaceWith(c(this).html()):c(this).replaceWith("".concat(c(this).html(),"<br>"))}),s.$el.find(".fr-temp-div").removeClass("fr-temp-div").filter(function(){return c(this).attr("class")===""}).removeAttr("class")},escapeEntities:function(k){return k.replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,""").replace(/'/gi,"'")},checkIfEmpty:f,extractNode:y,extractNodeAttrs:I,extractDoctype:E,cleanBRs:function(){for(var k=s.el.getElementsByTagName("br"),O=0;O<k.length;O++)h(k[O])},_init:function(){s.events.$on(s.$el,"mousemove","span.fr-word-select",function(k){var O=window.getSelection();O=window.getSelection();var z=document.createRange();z.selectNodeContents(k.target),O.removeAllRanges(),O.addRange(z)}),s.$wp&&(s.events.on("mouseup",U),s.events.on("keydown",U),s.events.on("contentChanged",f))},_setHtml:M}},e.ENTER_P=0,e.ENTER_DIV=1,e.ENTER_BR=2,e.KEYCODE={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,FF_EQUALS:61,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,FF_HYPHEN:173,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,HYPHEN:189,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,IME:229},Object.assign(e.DEFAULTS,{enter:e.ENTER_P,multiLine:!0,tabSpaces:0}),e.MODULES.keys=function(s){var c,x,N,P=s.$,S=!1;function g(A){if(s.selection.isCollapsed())if(["INPUT","BUTTON","TEXTAREA"].indexOf(A.target&&A.target.tagName)<0&&s.cursor.backspace(),s.helpers.isIOS()){var U=s.selection.ranges(0);U.deleteContents(),U.insertNode(document.createTextNode("\u200B")),s.selection.get().modify("move","forward","character")}else["INPUT","BUTTON","TEXTAREA"].indexOf(A.target&&A.target.tagName)<0&&A.preventDefault(),A.stopPropagation();else A.preventDefault(),A.stopPropagation(),s.selection.remove();s.placeholder.refresh()}function v(A){["INPUT","BUTTON","TEXTAREA"].indexOf(A.target&&A.target.tagName)<0&&A.preventDefault(),A.stopPropagation(),s.selection.text()!==""||!s.selection.isCollapsed()&&s.selection.element().tagName=="IMG"?s.selection.remove():s.cursor.del(),s.placeholder.refresh()}function p(){if(s.browser.mozilla&&s.selection.isCollapsed()&&!S){var A=s.selection.ranges(0),U=A.startContainer,b=A.startOffset;U&&U.nodeType===Node.TEXT_NODE&&b<=U.textContent.length&&0<b&&U.textContent.charCodeAt(b-1)===32&&(s.selection.save(),s.spaces.normalize(),s.selection.restore())}}function a(){s.selection.isFull()&&setTimeout(function(){var A=s.html.defaultTag();A?s.$el.html("<".concat(A,">").concat(e.MARKERS,"<br/></").concat(A,">")):s.$el.html("".concat(e.MARKERS,"<br/>")),s.selection.restore(),s.placeholder.refresh(),s.button.bulkRefresh(),s.undo.saveStep()},0)}function o(){S=!1}function u(){S=!1}function d(){var A=s.html.defaultTag();A?s.$el.html("<".concat(A,">").concat(e.MARKERS,"<br/></").concat(A,">")):s.$el.html("".concat(e.MARKERS,"<br/>")),s.selection.restore()}function h(A,U){if((-1<A.innerHTML.indexOf("<span")||-1<A.parentElement.innerHTML.indexOf("<span")||-1<A.parentElement.parentElement.innerHTML.indexOf("<span"))&&(A.classList.contains("fr-img-space-wrap")||A.parentElement.classList.contains("fr-img-space-wrap")||A.parentElement.parentElement.classList.contains("fr-img-space-wrap"))){if(P(A.parentElement).is("p")){var b=A.parentElement.innerHTML;return(b=b.replace(/<br>/g,"")).length<1?A.parentElement.insertAdjacentHTML("afterbegin"," "):b!=" "&&b!=" "&&U.key=="Backspace"?g(U):b!=" "&&b!=" "&&U.key=="Delete"&&v(U),!0}if(P(A).is("p")){var k=A.innerHTML.replace(/<br>/g,"");return k.length<1?A.insertAdjacentHTML("afterbegin"," "):k!=" "&&k!=" "&&U.key=="Backspace"?g(U):k!=" "&&k!=" "&&U.key=="Delete"&&v(U),!0}}return!1}function m(A){var U=s.selection.element();if(U&&0<=["INPUT","TEXTAREA"].indexOf(U.tagName)||A&&E(A.which))return!0;s.events.disableBlur();var b=A.which;if(b===16)return!0;if((c=b)===e.KEYCODE.IME)return S=!0;S=!1;var k=M(b)&&!I(A)&&!A.altKey,O=b===e.KEYCODE.BACKSPACE||b===e.KEYCODE.DELETE;if((s.selection.isFull()&&!s.opts.keepFormatOnDelete&&!s.placeholder.isVisible()||O&&s.placeholder.isVisible()&&s.opts.keepFormatOnDelete)&&(k||O)&&(d(),!M(b)))return A.preventDefault(),!0;if(b===e.KEYCODE.ENTER)A.shiftKey||U.classList.contains("fr-inner")||U.parentElement.classList.contains("fr-inner")?function(W){W.preventDefault(),W.stopPropagation(),s.opts.multiLine&&(s.selection.isCollapsed()||s.selection.remove(),s.cursor.enter(!0))}(A):function(W){s.opts.multiLine?(s.helpers.isIOS()||(W.preventDefault(),W.stopPropagation()),s.selection.isCollapsed()||s.selection.remove(),s.cursor.enter()):(W.preventDefault(),W.stopPropagation())}(A);else if(b===e.KEYCODE.BACKSPACE&&(A.metaKey||A.ctrlKey))(function(){setTimeout(function(){s.events.disableBlur(),s.events.focus()},0)})();else if(b!==e.KEYCODE.BACKSPACE||I(A)||A.altKey)if(b!==e.KEYCODE.DELETE||I(A)||A.altKey||A.shiftKey)b===e.KEYCODE.SPACE?function(W){var Q=s.selection.element();if(!s.helpers.isMobile()&&Q&&Q.tagName==="A"){W.preventDefault(),W.stopPropagation(),s.selection.isCollapsed()||s.selection.remove();var ee=s.markers.insert();if(ee){var se=ee.previousSibling;!ee.nextSibling&&ee.parentNode&&ee.parentNode.tagName==="A"?(ee.parentNode.insertAdjacentHTML("afterend"," ".concat(e.MARKERS)),ee.parentNode.removeChild(ee)):(se&&se.nodeType===Node.TEXT_NODE&&se.textContent.length===1&&se.textContent.charCodeAt(0)===160?se.textContent+=" ":ee.insertAdjacentHTML("beforebegin","
6"),ee.outerHTML=e.MARKERS),s.selection.restore()}}}(A):b===e.KEYCODE.TAB?function(W){if(0<s.opts.tabSpaces)if(s.selection.isCollapsed()){s.undo.saveStep(),W.preventDefault(),W.stopPropagation();for(var Q="",ee=0;ee<s.opts.tabSpaces;ee++)Q+=" ";s.html.insert(Q),s.placeholder.refresh(),s.undo.saveStep()}else W.preventDefault(),W.stopPropagation(),W.shiftKey?s.commands.outdent():s.commands.indent()}(A):I(A)||!M(A.which)||s.selection.isCollapsed()||A.ctrlKey||A.altKey||s.selection.remove();else{if(h(U,A))return A.preventDefault(),void A.stopPropagation();s.placeholder.isVisible()?(s.opts.keepFormatOnDelete||d(),A.preventDefault(),A.stopPropagation()):v(A)}else{if(h(U,A))return A.preventDefault(),void A.stopPropagation();s.placeholder.isVisible()?(s.opts.keepFormatOnDelete||d(),A.preventDefault(),A.stopPropagation()):g(A)}s.events.enableBlur()}function f(){if(!s.$wp)return!0;var A;s.opts.height||s.opts.heightMax?(A=s.position.getBoundingRect().top,(s.helpers.isIOS()||s.helpers.isAndroid())&&(A-=s.helpers.scrollTop()),s.opts.iframe&&(A+=s.$iframe.offset().top),A>s.$wp.offset().top-s.helpers.scrollTop()+s.$wp.height()-20&&s.$wp.scrollTop(A+s.$wp.scrollTop()-(s.$wp.height()+s.$wp.offset().top)+s.helpers.scrollTop()+20)):(A=s.position.getBoundingRect().top,s.opts.toolbarBottom&&(A+=s.opts.toolbarStickyOffset),(s.helpers.isIOS()||s.helpers.isAndroid())&&(A-=s.helpers.scrollTop()),s.opts.iframe&&(A+=s.$iframe.offset().top,A-=s.helpers.scrollTop()),(A+=s.opts.toolbarStickyOffset)>s.o_win.innerHeight-20&&P(s.o_win).scrollTop(A+s.helpers.scrollTop()-s.o_win.innerHeight+20),A=s.position.getBoundingRect().top,s.opts.toolbarBottom||(A-=s.opts.toolbarStickyOffset),(s.helpers.isIOS()||s.helpers.isAndroid())&&(A-=s.helpers.scrollTop()),s.opts.iframe&&(A+=s.$iframe.offset().top,A-=s.helpers.scrollTop()),A<100&&P(s.o_win).scrollTop(A+s.helpers.scrollTop()-100))}function y(A){var U=s.selection.element();if(U&&0<=["INPUT","TEXTAREA"].indexOf(U.tagName)||(A&&A.which===0&&c&&(A.which=c),s.helpers.isAndroid()&&s.browser.mozilla))return!0;if(S)return!1;if(A&&s.helpers.isIOS()&&A.which===e.KEYCODE.ENTER&&s.doc.execCommand("undo"),!s.selection.isCollapsed()||A&&(A.which===e.KEYCODE.META||A.which===e.KEYCODE.CTRL)||A&&E(A.which))return!0;if(A&&!s.helpers.isIOS()&&(A.which===e.KEYCODE.ENTER||A.which===e.KEYCODE.BACKSPACE||37<=A.which&&A.which<=40&&!s.browser.msie))try{f()}catch{}var b=s.selection.element();(function(O){if(!O)return!1;var z=O.innerHTML;return!!((z=z.replace(/<span[^>]*? class\s*=\s*["']?fr-marker["']?[^>]+>\u200b<\/span>/gi,""))&&/\u200B/.test(z)&&0<z.replace(/\u200B/gi,"").length)})(b)&&!s.node.hasClass(b,"fr-marker")&&b.tagName!=="IFRAME"&&function(O){return!s.helpers.isIOS()||((O.textContent||"").match(/[\u3041-\u3096\u30A0-\u30FF\u4E00-\u9FFF\u3130-\u318F\uAC00-\uD7AF]/gi)||[]).length===0}(b)&&(s.selection.save(),function(O){for(var z=s.doc.createTreeWalker(O,NodeFilter.SHOW_TEXT,s.node.filter(function(Q){return/\u200B/gi.test(Q.textContent)}),!1);z.nextNode();){var W=z.currentNode;W.textContent=W.textContent.replace(/\u200B/gi,"")}}(b),s.selection.restore())}function I(A){if(navigator.userAgent.indexOf("Mac OS X")!==-1){if(A.metaKey&&!A.altKey)return!0}else if(A.ctrlKey&&!A.altKey)return!0;return!1}function E(A){if(A>=e.KEYCODE.ARROW_LEFT&&A<=e.KEYCODE.ARROW_DOWN)return!0}function M(A){if(A>=e.KEYCODE.ZERO&&A<=e.KEYCODE.NINE||A>=e.KEYCODE.NUM_ZERO&&A<=e.KEYCODE.NUM_MULTIPLY||A>=e.KEYCODE.A&&A<=e.KEYCODE.Z||s.browser.webkit&&A===0)return!0;switch(A){case e.KEYCODE.SPACE:case e.KEYCODE.QUESTION_MARK:case e.KEYCODE.NUM_PLUS:case e.KEYCODE.NUM_MINUS:case e.KEYCODE.NUM_PERIOD:case e.KEYCODE.NUM_DIVISION:case e.KEYCODE.SEMICOLON:case e.KEYCODE.FF_SEMICOLON:case e.KEYCODE.DASH:case e.KEYCODE.EQUALS:case e.KEYCODE.FF_EQUALS:case e.KEYCODE.COMMA:case e.KEYCODE.PERIOD:case e.KEYCODE.SLASH:case e.KEYCODE.APOSTROPHE:case e.KEYCODE.SINGLE_QUOTE:case e.KEYCODE.OPEN_SQUARE_BRACKET:case e.KEYCODE.BACKSLASH:case e.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function D(A){var U=A.which;if(I(A)||37<=U&&U<=40||!M(U)&&U!==e.KEYCODE.DELETE&&U!==e.KEYCODE.BACKSPACE&&U!==e.KEYCODE.ENTER&&U!==e.KEYCODE.IME)return!0;
vendor: 5,098 bytes, line 6
6x||(N=s.snapshot.get(),s.undo.canDo()||s.undo.saveStep()),clearTimeout(x),x=setTimeout(function(){x=null,s.undo.saveStep()},Math.max(250,s.opts.typingTimer))}function F(A){var U=A.which;if(I(A)||37<=U&&U<=40)return!0;N&&x?(s.undo.saveStep(N),N=null):U!==void 0&&U!==0||N||x||s.undo.saveStep()}function X(A){if(A&&A.tagName==="BR")return!1;try{return(A.textContent||"").length===0&&A.querySelector&&!A.querySelector(":scope > br")||A.childNodes&&A.childNodes.length===1&&A.childNodes[0].getAttribute&&(A.childNodes[0].getAttribute("contenteditable")==="false"||s.node.hasClass(A.childNodes[0],"fr-img-caption"))}catch{return!1}}function _(A){var U=s.el.childNodes,b=s.html.defaultTag(),k=s.node.blockParent(s.selection.blocks()[0]);return k&&k.tagName=="TR"&&k.getAttribute("contenteditable")==null&&(k=k.closest("table")),!s.node.isEditable(A.target)||k&&k.getAttribute("contenteditable")==="false"?s.toolbar.disable():s.toolbar.enable(),!(!A.target||A.target===s.el)||U.length===0||void(U[0].offsetHeight+U[0].offsetTop<=A.offsetY?X(U[U.length-1])&&(b?s.$el.append("<".concat(b,">").concat(e.MARKERS,"<br></").concat(b,">")):s.$el.append("".concat(e.MARKERS,"<br>")),s.selection.restore(),f()):A.offsetY<=10&&X(U[0])&&(b?s.$el.prepend("<".concat(b,">").concat(e.MARKERS,"<br></").concat(b,">")):s.$el.prepend("".concat(e.MARKERS,"<br>")),s.selection.restore(),f()))}function w(){x&&clearTimeout(x)}return{_init:function(){s.events.on("keydown",D),s.events.on("input",p),s.events.on("mousedown",u),s.events.on("keyup input",F),s.events.on("keypress",o),s.events.on("keydown",m),s.events.on("keyup",y),s.events.on("destroy",w),s.events.on("html.inserted",y),s.events.on("cut",a),s.opts.multiLine&&s.events.on("click",_)},ctrlKey:I,isCharacter:M,isArrow:E,forceUndo:function(){x&&(clearTimeout(x),s.undo.saveStep(),N=null)},isIME:function(){return S},isBrowserAction:function(U){var b=U.which;return I(U)||b===e.KEYCODE.F5},positionCaret:f}},Object.assign(e.DEFAULTS,{pastePlain:!1,pasteDeniedTags:["colgroup","col","meta"],pasteDeniedAttrs:["class","id"],pasteAllowedStyleProps:[".*"],pasteAllowLocalImages:!1}),e.MODULES.paste=function(s){var c,x,N,P,S,g=s.$;function v(M,D){try{s.win.localStorage.setItem("fr-copied-html",M),s.win.localStorage.setItem("fr-copied-text",D)}catch{}}function p(M){var D=s.html.getSelected();v(D,g(s.doc.createElement("div")).html(D).text()),M.type==="cut"&&(s.undo.saveStep(),setTimeout(function(){s.selection.save(),s.html.wrap(),s.selection.restore(),s.events.focus(),s.undo.saveStep()},0))}var a=!1;function o(M){if(M.target.nodeName==="INPUT"&&M.target.type==="text")return!0;if(s.edit.isDisabled()||u(M.target)||a)return!1;if(M.originalEvent&&(M=M.originalEvent),s.events.trigger("paste.before",[M])===!1)return M.preventDefault(),!1;if(M&&M.clipboardData&&M.clipboardData.getData){var D="",F=M.clipboardData.types;if(s.helpers.isArray(F))for(var X=0;X<F.length;X++)D+="".concat(F[X],";");else D=F;if(c="",/text\/rtf/.test(D)&&(x=M.clipboardData.getData("text/rtf")),/text\/html/.test(D)&&!s.browser.safari?c=M.clipboardData.getData("text/html"):/text\/rtf/.test(D)&&s.browser.safari?c=x:/public.rtf/.test(D)&&s.browser.safari&&(c=M.clipboardData.getData("text/rtf")),N=M.clipboardData.getData("text"),c!=="")return h(),M.preventDefault&&(M.stopPropagation(),M.preventDefault()),!1;c=null}return function(){s.selection.save(),s.events.disableBlur(),c=null,P?(P.html(""),s.browser.edge&&s.opts.iframe&&s.$el.append(P)):(P=g('<div contenteditable="true" style="position: fixed; top: 0; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;" tabIndex="-1"></div>'),s.browser.webkit||s.browser.mozilla?(P.css("top",s.$sc.scrollTop()),s.$el.after(P)):s.browser.edge&&s.opts.iframe?s.$el.append(P):s.$box.after(P),s.events.on("destroy",function(){P.remove()}));var w;s.helpers.isIOS()&&s.$sc&&(w=s.$sc.scrollTop()),s.opts.iframe&&s.$el.attr("contenteditable","false"),P.focus(),s.helpers.isIOS()&&s.$sc&&s.$sc.scrollTop(w),s.win.setTimeout(h,1)}(),!1}function u(M){return M&&M.contentEditable==="false"}function d(M){if(M.originalEvent&&(M=M.originalEvent),u(M.target))return!1;if(M&&M.dataTransfer&&M.dataTransfer.getData){var D="",F=M.dataTransfer.types;if(s.helpers.isArray(F))for(var X=0;X<F.length;X++)D+="".concat(F[X],";");else D=F;if(c="",/text\/rtf/.test(D)&&(x=M.dataTransfer.getData("text/rtf")),/text\/html/.test(D)?c=M.dataTransfer.getData("text/html"):/text\/rtf/.test(D)&&s.browser.safari?c=x:/text\/plain/.test(D)&&!this.browser.mozilla&&(c=s.html.escapeEntities(M.dataTransfer.getData("text/plain")).replace(/\n/g,"<br>")),c!==""){s.keys.forceUndo(),S=s.snapshot.get(),s.selection.save(),s.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-helper");var _=s.markers.insertAtPoint(M);if(s.$el.find(".fr-marker").removeClass("fr-marker").addClass("fr-marker-placeholder"),s.$el.find(".fr-marker-helper").addClass("fr-marker").removeClass("fr-marker-helper"),s.selection.restore(
6),s.selection.remove(),s.$el.find(".fr-marker-placeholder").addClass("fr-marker").removeClass("fr-marker-placeholder"),_!==!1){var w=s.el.querySelector(".fr-marker");return g(w).replaceWith(e.MARKERS),s.selection.restore(),h(),M.preventDefault&&(M.stopPropagation(),M.preventDefault()),!1}}else c=null}}function h(){s.opts.iframe&&s.$el.attr("contenteditable","true"),s.browser.edge&&s.opts.iframe&&s.$box.after(P),S||(s.keys.forceUndo(),S=s.snapshot.get()),c||(c=P.get(0).innerHTML,N=P.text(),s.selection.restore(),s.events.enableBlur());var M=c.match(/(class="?Mso|class='?Mso|class="?Xl|class='?Xl|class=Xl|style="[^"]*\bmso-|style='[^']*\bmso-|w:WordDocument|LibreOffice)/gi),D=s.events.chainTrigger("paste.beforeCleanup",c);D&&typeof D=="string"&&(c=D),(!M||M&&s.events.trigger("paste.wordPaste",[c])!==!1)&&f(c,M)}function m(M){for(var D="",F=0;F++<M;)D+=" ";return D}function f(M,D,F){var X,_=null,w=null;if(0<=M.toLowerCase().indexOf("<body")){var A="";0<=M.indexOf("<style")&&(A=M.replace(/[.\s\S\w\W<>]*(<style[^>]*>[\s]*[.\s\S\w\W<>]*[\s]*<\/style>)[.\s\S\w\W<>]*/gi,"$1")),M=(M=(M=A+M.replace(/[.\s\S\w\W<>]*<body[^>]*>[\s]*([.\s\S\w\W<>]*)[\s]*<\/body>[.\s\S\w\W<>]*/gi,"$1")).replace(/<pre(?:[\w\W]*?)>(?:[\w\W]*?)<\/pre>/g,function(ne){return ne.replace(/\n/g,"<br />")})).replace(/ \n/g," ").replace(/\n /g," ").replace(/([^>])\n([^<])/g,"$1 $2")}var U=!1;0<=M.indexOf('id="docs-internal-guid')&&(M=M.replace(/^[\w\W\s\S]* id="docs-internal-guid[^>]*>([\w\W\s\S]*)<\/b>[\w\W\s\S]*$/g,"$1"),U=!0),0<=M.indexOf('content="Sheets"')&&(M=M.replace(/width:0px;/g,""));var b=!1;if(!D)if((b=function(){var oe=null;try{oe=s.win.localStorage.getItem("fr-copied-text")}catch{}return!(!oe||!N||N.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")!==oe.replace(/\u00A0/gi," ").replace(/\r|\n/gi,"")&&N.replace(/\s/g,"")!==oe.replace(/\s/g,""))}())&&(M=s.win.localStorage.getItem("fr-copied-html")),b)M=s.clean.html(M,s.opts.pasteDeniedTags,s.opts.pasteDeniedAttrs);else{var k=s.opts.htmlAllowedStyleProps;s.opts.htmlAllowedStyleProps=s.opts.pasteAllowedStyleProps,s.opts.htmlAllowComments=!1,M=(M=(M=M.replace(/<span class="Apple-tab-span">\s*<\/span>/g,m(s.opts.tabSpaces||4))).replace(/<span class="Apple-tab-span" style="white-space:pre">(\t*)<\/span>/g,function(ne,oe){return m(oe.length*(s.opts.tabSpaces||4))})).replace(/\t/g,m(s.opts.tabSpaces||4)),M=s.clean.html(M,s.opts.pasteDeniedTags,s.opts.pasteDeniedAttrs),s.opts.htmlAllowedStyleProps=k,s.opts.htmlAllowComments=!0,M=(M=(M=I(M)).replace(/\r/g,"")).replace(/^ */g,"").replace(/ *$/g,"")}!D||s.wordPaste&&F||((M=M.replace(/^\n*/g,"").replace(/^ /g,"")).indexOf("<colgroup>")===0&&(M="<table>".concat(M,"</table>")),M=I(M=function(oe){var le;oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=(oe=oe.replace(/<p(.*?)class="?'?MsoListParagraph"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li>$3</li></ul>")).replace(/<p(.*?)class="?'?NumberedText"?'? ([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li>$3</li></ol>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ul><li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpFirst"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<ol><li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?NumberedTextCxSpMiddle"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListBullet"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li>")).replace(/<p(.*?)class="?'?MsoListParagraphCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ul>")).replace(/<p(.*?)class="?'?NumberedTextCxSpLast"?'?([\s\S]*?)(level\d)?([\s\S]*?)>([\s\S]*?)<\/p>/gi,"<li$3>$5</li></ol>")).replace(/<span([^<]*?)style="?'?mso-list:Ignore"?'?([\s\S]*?)>([\s\S]*?)<span/gi,"<span><span")).replace(/<!--\[if !supportLists\]-->([\s\S]*?)<!--\[endif\]-->/gi,"")).replace(/<!\[if !supportLists\]>([\s\S]*?)<!\[endif\]>/gi,"")).replace(/(\n|\r| class=(")?Mso[a-zA-Z0-9]+(")?)/gi," ")).replace(/<!--[\s\S]*?-->/gi,"")).replace(/<(\/)*(meta|link|span|\\?xml:|st1:|o:|font)(.*?)>
vendor: 39,991 bytes, line 6
6/gi,"");var ue,de=["style","script","applet","embed","noframes","noscript"];for(le=0;le<de.length;le++){var fe=new RegExp("<".concat(de[le],".*?").concat(de[le],"(.*?)>"),"gi");oe=oe.replace(fe,"")}for(oe=(oe=(oe=oe.replace(/ /gi," ")).replace(/<td([^>]*)><\/td>/g,"<td$1><br></td>")).replace(/<th([^>]*)><\/th>/g,"<th$1><br></th>");(oe=(ue=oe).replace(/<[^/>][^>]*><\/[^>]+>/gi,""))!==ue;);oe=(oe=oe.replace(/<lilevel([^1])([^>]*)>/gi,'<li data-indent="true"$2>')).replace(/<lilevel1([^>]*)>/gi,"<li$1>"),oe=(oe=(oe=s.clean.html(oe,s.opts.pasteDeniedTags,s.opts.pasteDeniedAttrs)).replace(/<a>(.[^<]+)<\/a>/gi,"$1")).replace(/<br> */g,"<br>");var me=s.o_doc.createElement("div");me.innerHTML=oe;var ge=me.querySelectorAll("li[data-indent]");for(le=0;le<ge.length;le++){var Ee=ge[le],ve=Ee.previousElementSibling;if(ve&&ve.tagName==="LI"){var ye=ve.querySelector(":scope > ul, :scope > ol");ye||(ye=document.createElement("ul"),ve.appendChild(ye)),ye.appendChild(Ee)}else Ee.removeAttribute("data-indent")}return s.html.cleanBlankSpaces(me),oe=me.innerHTML}(M))),s.opts.pastePlain&&!b&&(M=function(oe){var le,ue=null,de=s.doc.createElement("div");de.innerHTML=oe;var fe=de.querySelectorAll("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote");for(le=0;le<fe.length;le++)(ue=fe[le]).outerHTML="<".concat(s.html.defaultTag()||"DIV",">").concat(ue.innerText,"</").concat(s.html.defaultTag()||"DIV",">");for(le=(fe=de.querySelectorAll("*:not(".concat("p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img".split(",").join("):not("),")"))).length-1;0<=le;le--)(ue=fe[le]).outerHTML=ue.innerHTML;return function me(ge){for(var Ee=s.node.contents(ge),ve=0;ve<Ee.length;ve++)Ee[ve].nodeType!==Node.TEXT_NODE&&Ee[ve].nodeType!==Node.ELEMENT_NODE?Ee[ve].parentNode.removeChild(Ee[ve]):me(Ee[ve])}(de),de.innerHTML}(M));var O=s.events.chainTrigger("paste.afterCleanup",M);if(typeof O=="string"&&(M=O),M!==""){var z=s.o_doc.createElement("div");0<=(z.innerHTML=M).indexOf("<body>")?(s.html.cleanBlankSpaces(z),s.spaces.normalize(z,!0)):s.spaces.normalize(z);var W=z.getElementsByTagName("span");for(X=W.length-1;0<=X;X--){var Q=W[X];Q.attributes.length===0&&(Q.outerHTML=Q.innerHTML)}if(s.opts.linkAlwaysBlank===!0){var ee=z.getElementsByTagName("a");for(X=ee.length-1;0<=X;X--){var se=ee[X];se.getAttribute("target")||se.setAttribute("target","_blank")}}var ae=s.selection.element(),he=!1;if(ae&&g(ae).parentsUntil(s.el,"ul, ol").length&&(he=!0),he){var ce=z.children;ce.length===1&&0<=["OL","UL"].indexOf(ce[0].tagName)&&(ce[0].outerHTML=ce[0].innerHTML)}if(!U){var ie=z.getElementsByTagName("br");for(X=ie.length-1;0<=X;X--){var te=ie[X];s.node.isBlock(te.previousSibling)&&te.parentNode.removeChild(te)}}if(s.opts.enter===e.ENTER_BR)for(X=(_=z.querySelectorAll("p, div")).length-1;0<=X;X--)(w=_[X]).attributes.length===0&&(w.outerHTML=w.innerHTML+(w.nextSibling&&!s.node.isEmpty(w)?"<br>":""));else if(s.opts.enter===e.ENTER_DIV)for(X=(_=z.getElementsByTagName("p")).length-1;0<=X;X--)(w=_[X]).attributes.length===0&&(w.outerHTML="<div>".concat(w.innerHTML,"</div>"));else s.opts.enter===e.ENTER_P&&z.childNodes.length===1&&z.childNodes[0].tagName==="P"&&z.childNodes[0].attributes.length===0&&(z.childNodes[0].outerHTML=z.childNodes[0].innerHTML);M=z.innerHTML,b&&(M=function(oe){var le,ue=s.o_doc.createElement("div");ue.innerHTML=oe;for(var de=ue.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(e.VOID_ELEMENTS.join("):not("),"):not(").concat(s.opts.htmlAllowedEmptyTags.join("):not("),")"));de.length;){for(le=0;le<de.length;le++)de[le].parentNode.removeChild(de[le]);de=ue.querySelectorAll("*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(".concat(e.VOID_ELEMENTS.join("):not("),"):not(").concat(s.opts.htmlAllowedEmptyTags.join("):not("),")"))}return ue.innerHTML}(M)),s.html.insert(M,!0)}(function(){s.events.trigger("paste.after")})(),s.undo.saveStep(S),S=null,s.undo.saveStep()}function y(M){for(var D=M.length-1;0<=D;D--)M[D].attributes&&M[D].attributes.length&&M.splice(D,1);return M}function I(M){var D,F=s.o_doc.createElement("div");F.innerHTML=M;for(var X=y(Array.prototype.slice.call(F.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")));X.length;){var _=X[X.length-1];if(s.html.defaultTag()&&s.html.defaultTag()!=="div")_.querySelector(s.html.blockTagsQuery())?_.outerHTML=_.innerHTML:_.outerHTML="<".concat(s.html.defaultTag(),">").concat(_.innerHTML,"</").concat(s.html.defaultTag(),">");else{var w=_.querySelectorAll("*");!w.length||w[w.length-1].tagName!=="BR"&&_.innerText.length===0||!w.length||w[w.length-1].tagName!=="BR"||w[w.length-1].nextSibling?_.outerHTML=_.innerHTML+(_.nextSibling?"<br>":""):_.outerHTML=_.innerHTML}X=y(Array.prototype.slice.call(F.querySelectorAll(":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])")))}for(X=y(Array.prototype.slice.call(F.querySelectorAll("div:not([style])")));X.length;){for(D=0;D<X.length;D++){var A=X[D],U=A.innerHTML.replace(/\u0009/gi,"").trim();A.outerHTML=U}X=y(Array.prototype.slice.call(F.querySelectorAll("div:not([style])")))}return F.innerHTML}function E(){s.el.removeEventListener("copy",p),s.el.removeEventListener("cut",p),s.el.removeEventListener("paste",o)}return{_init:function(){s.el.addEventListener("copy",p),s.el.addEventListener("cut",p),s.el.addEventListener("paste",o,{capture:!0}),s.events.on("drop",d),s.browser.msie&&s.browser.version<11&&(s.events.on("mouseup",function(D){D.button===2&&(setTimeout(function(){a=!1},50),a=!0)},!0),s.events.on("beforepaste",o)),s.events.on("destroy",E)},cleanEmptyTagsAndDivs:I,getRtfClipboard:function(){return x},saveCopiedText:v,clean:f}},Object.assign(e.DEFAULTS,{shortcutsEnabled:[],shortcutsHint:!0}),e.SHORTCUTS_MAP={},e.RegisterShortcut=function(s,c,x,N,P,S){e.SHORTCUTS_MAP[(P?"^":"")+(S?"@":"")+s]={cmd:c,val:x,letter:N,shift:P,option:S},e.DEFAULTS.shortcutsEnabled.push(c)},e.RegisterShortcut(e.KEYCODE.E,"show",null,"E",!1,!1),e.RegisterShortcut(e.KEYCODE.B,"bold",null,"B",!1,!1),e.RegisterShortcut(e.KEYCODE.I,"italic",null,"I",!1,!1),e.RegisterShortcut(e.KEYCODE.U,"underline",null,"U",!1,!1),e.RegisterShortcut(e.KEYCODE.S,"strikeThrough",null,"S",!1,!1),e.RegisterShortcut(e.KEYCODE.CLOSE_SQUARE_BRACKET,"indent",null,"]",!1,!1),e.RegisterShortcut(e.KEYCODE.OPEN_SQUARE_BRACKET,"outdent",null,"[",!1,!1),e.RegisterShortcut(e.KEYCODE.Z,"undo",null,"Z",!1,!1),e.RegisterShortcut(e.KEYCODE.Z,"redo",null,"Z",!0,!1),e.RegisterShortcut(e.KEYCODE.Y,"redo",null,"Y",!1,!1),e.MODULES.shortcuts=function(s){var c=null,x=!1;function N(P){if(!s.core.hasFocus())return!0;var S=P.which,g=navigator.userAgent.indexOf("Mac OS X")!==-1?P.metaKey:P.ctrlKey;if(P.type==="keyup"&&x&&S!==e.KEYCODE.META)return x=!1;P.type==="keydown"&&(x=!1);var v=(P.shiftKey?"^":"")+(P.altKey?"@":"")+S,p=s.node.blockParent(s.selection.blocks()[0]);if(p&&p.tagName=="TR"&&p.getAttribute("contenteditable")==null&&(p=p.closest("table")),g&&e.SHORTCUTS_MAP[v]&&(!p||p.getAttribute("contenteditable")!=="false")){var a=e.SHORTCUTS_MAP[v].cmd;if(a&&0<=s.opts.shortcutsEnabled.indexOf(a)){var o=e.SHORTCUTS_MAP[v].val;if(s.events.trigger("shortcut",[P,a,o])===!1)return!(x=!0);if(a&&(s.commands[a]||e.COMMANDS[a]&&e.COMMANDS[a].callback))return P.preventDefault(),P.stopPropagation(),P.type==="keydown"&&((s.commands[a]||e.COMMANDS[a].callback)(),x=!0),!1}}}return{_init:function(){s.events.on("keydown",N,!0),s.events.on("keyup",N,!0)},get:function(S){if(!s.opts.shortcutsHint)return null;if(!c)for(var g in c={},e.SHORTCUTS_MAP)Object.prototype.hasOwnProperty.call(e.SHORTCUTS_MAP,g)&&0<=s.opts.shortcutsEnabled.indexOf(e.SHORTCUTS_MAP[g].cmd)&&(c["".concat(e.SHORTCUTS_MAP[g].cmd,".").concat(e.SHORTCUTS_MAP[g].val||"")]={shift:e.SHORTCUTS_MAP[g].shift,option:e.SHORTCUTS_MAP[g].option,letter:e.SHORTCUTS_MAP[g].letter});var v=c[S];return v?(s.helpers.isMac()?"\u2318":"".concat(s.language.translate("Ctrl"),"+"))+(v.shift?s.helpers.isMac()?"\u21E7":"".concat(s.language.translate("Shift"),"+"):"")+(v.option?s.helpers.isMac()?"\u2325":"".concat(s.language.translate("Alt"),"+"):"")+v.letter:null}}},e.MODULES.snapshot=function(s){function c(g){for(var v=g.parentNode.childNodes,p=0,a=null,o=0;o<v.length;o++){if(a){var u=v[o].nodeType===Node.TEXT_NODE&&v[o].textContent==="",d=a.nodeType===Node.TEXT_NODE&&v[o].nodeType===Node.TEXT_NODE,h=a.nodeType===Node.TEXT_NODE&&a.textContent==="";u||d||h||p++}if(v[o]===g)return p;a=v[o]}}function x(g){var v=[];if(!g.parentNode)return[];for(;!s.node.isElement(g);)v.push(c(g)),g=g.parentNode;return v.reverse()}function N(g,v){for(;g&&g.nodeType===Node.TEXT_NODE;){var p=g.previousSibling;p&&p.nodeType===Node.TEXT_NODE&&(v+=p.textContent.length),g=p}return v}function P(g){for(var v=s.el,p=0;p<g.length;p++)v=v.childNodes[g[p]];return v}function S(g,v){try{var p=P(v.scLoc),a=v.scOffset,o=P(v.ecLoc),u=v.ecOffset,d=s.doc.createRange();d.setStart(p,a),d.setEnd(o,u),g.addRange(d)}catch{}}return{get:function(){var v,p={};if(s.events.trigger("snapshot.before"),p.html=(s.$wp?s.$el.html():s.$oel.get(0).outerHTML).replace(/ style=""/g,""),p.ranges=[],s.$wp&&s.selection.inEditor()&&s.core.hasFocus())for(var a=s.selection.ranges(),o=0;o<a.length;o++)p.ranges.push({scLoc:x((v=a[o]).startContainer),scOffset:N(v.startContainer,v.startOffset),ecLoc:x(v.endContainer),ecOffset:N(v.endContainer,v.endOffset)});return s.events.trigger("snapshot.after",[p]),p},restore:function(v){s.$el.html()!==v.html&&(s.opts.htmlExecuteScripts?s.$el.html(v.html):s.el.innerHTML=v.html);var p=s.selection.get();s.selection.clear(),s.events.focus(!0);for(var a=0;a<v.ranges.length;a++)S(p,v.ranges[a])},equal:function(v,p){return v.html===p.html&&(!s.core.hasFocus()||JSON.stringify(v.ranges)===JSON.stringify(p.ranges))}}},e.MODULES.undo=function(s){function c(g){var v=g.which;s.keys.ctrlKey(g)&&(v===e.KEYCODE.Z&&g.shiftKey&&g.preventDefault(),v===e.KEYCODE.Z&&g.preventDefault())}var x=null;function N(){if(s.undo_stack&&!s.undoing)for(;s.undo_stack.length>s.undo_index;)s.undo_stack.pop()}function P(){s.undo_index=0,s.undo_stack=[]}function S(){s.undo_stack=[]}return{_init:function(){P(),s.events.on("initialized",function(){x=(s.$wp?s.$el.html():s.$oel.get(0).outerHTML).replace(/ style=""/g,"")}),s.events.on("blur",function(){s.el.querySelector(".fr-dragging")||s.undo.saveStep()}),s.events.on("keydown",c),s.events.on("destroy",S)},run:function(){if(1<s.undo_index){s.undoing=!0;var v=s.undo_stack[--s.undo_index-1];clearTimeout(s._content_changed_timer),s.snapshot.restore(v),x=v.html,s.popups.hideAll(),s.toolbar.enable(),s.events.trigger("contentChanged"),s.events.trigger("commands.undo"),s.undoing=!1}},redo:function(){if(s.undo_index<s.undo_stack.length){s.undoing=!0;var v=s.undo_stack[s.undo_index++];clearTimeout(s._content_changed_timer),s.snapshot.restore(v),x=v.html,s.popups.hideAll(),s.toolbar.enable(),s.events.trigger("contentChanged"),s.events.trigger("commands.redo"),s.undoing=!1}},canDo:function(){return!(s.undo_stack.length===0||s.undo_index<=1)},canRedo:function(){return s.undo_index!==s.undo_stack.length},dropRedo:N,reset:P,saveStep:function(v){!s.undo_stack||s.undoing||s.el.querySelector(".fr-marker")||(v===void 0?(v=s.snapshot.get(),s.undo_stack[s.undo_index-1]&&s.snapshot.equal(s.undo_stack[s.undo_index-1],v)||(N(),s.undo_stack.push(v),s.undo_index++,v.html!==x&&(s.events.trigger("contentChanged"),x=v.html))):(N(),0<s.undo_index?s.undo_stack[s.undo_index-1]=v:(s.undo_stack.push(v),s.undo_index++)))}}},Object.assign(e.DEFAULTS,{height:null,heightMax:null,heightMin:null,width:null}),e.MODULES.size=function(s){function c(){x(),s.opts.height&&s.$el.css("minHeight",s.opts.height-s.helpers.getPX(s.$el.css("padding-top"))-s.helpers.getPX(s.$el.css("padding-bottom"))),s.$iframe.height(s.$el.outerHeight(!0))}function x(){s.opts.heightMin?s.$el.css("minHeight",s.opts.heightMin):s.$el.css("minHeight",""),s.opts.heightMax?(s.$wp.css("maxHeight",s.opts.heightMax),s.$wp.css("overflow","auto")):(s.$wp.css("maxHeight",""),s.$wp.css("overflow","")),s.opts.height?(s.$wp.css("height",s.opts.height),s.$wp.css("overflow","auto"),s.$el.css("minHeight",s.opts.height-s.helpers.getPX(s.$el.css("padding-top"))-s.helpers.getPX(s.$el.css("padding-bottom")))):(s.$wp.css("height",""),s.opts.heightMin||s.$el.css("minHeight",""),s.opts.heightMax||s.$wp.css("overflow","")),s.opts.width&&s.$box.width(s.opts.width)}return{_init:function(){if(!s.$wp)return!1;x(),s.$iframe&&(s.events.on("keyup keydown",function(){setTimeout(c,0)},!0),s.events.on("commands.after html.set init initialized paste.after",c))},syncIframe:c,refresh:x}},Object.assign(e.DEFAULTS,{documentReady:!1,editorClass:null,typingTimer:500,iframe:!1,requestWithCORS:!0,requestWithCredentials:!1,requestHeaders:{},useClasses:!0,spellcheck:!0,iframeDefaultStyle:'html{margin:0px;height:auto;}body{height:auto;padding:20px;background:transparent;color:#000000;position:relative;z-index: 2;-webkit-user-select:auto;margin:0px;overflow:hidden;min-height:20px;}body:after{content:"";display:block;clear:both;}body::-moz-selection{background:#b5d6fd;color:#000;}body::selection{background:#b5d6fd;color:#000;}',iframeStyle:"",iframeStyleFiles:[],direction:"auto",zIndex:1,tabIndex:null,disableRightClick:!1,scrollableContainer:"body",keepFormatOnDelete:!1,theme:null}),e.MODULES.core=function(s){var c=s.$;function x(){if(s.$box.addClass("fr-box".concat(s.opts.editorClass?" ".concat(s.opts.editorClass):"")),s.$box.attr("role","application"),s.$wp.addClass("fr-wrapper"),s.opts.documentReady&&s.$box.addClass("fr-document"),function(){s.opts.iframe||s.$el.addClass("fr-element fr-view")}(),s.opts.iframe){s.$iframe.addClass("fr-iframe"),s.$el.addClass("fr-view");for(var N=0;N<s.o_doc.styleSheets.length;N++){var P=void 0;try{P=s.o_doc.styleSheets[N].cssRules}catch{}if(P)for(var S=0,g=P.length;S<g;S++)!P[S].selectorText||P[S].selectorText.indexOf(".fr-view")!==0&&P[S].selectorText.indexOf(".fr-element")!==0||0<P[S].style.cssText.length&&(P[S].selectorText.indexOf(".fr-view")===0?s.opts.iframeStyle+="".concat(P[S].selectorText.replace(/\.fr-view/g,"body"),"{").concat(P[S].style.cssText,"}"):s.opts.iframeStyle+="".concat(P[S].selectorText.replace(/\.fr-element/g,"body"),"{").concat(P[S].style.cssText,"}"))}}s.opts.direction!=="auto"&&s.$box.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(s.opts.direction)),s.$el.attr("dir",s.opts.direction),s.$wp.attr("dir",s.opts.direction),1<s.opts.zIndex&&s.$box.css("z-index",s.opts.zIndex),s.opts.theme&&s.$box.addClass("".concat(s.opts.theme,"-theme")),s.opts.tabIndex=s.opts.tabIndex||s.$oel.attr("tabIndex"),s.opts.tabIndex&&s.$el.attr("tabIndex",s.opts.tabIndex)}return{_init:function(){if(e.INSTANCES.push(s),function(){s.drag_support={filereader:typeof FileReader<"u",formdata:!!s.win.FormData,progress:"upload"in new XMLHttpRequest}}(),s.$wp){x(),s.html.set(s._original_html),s.$el.attr("spellcheck",s.opts.spellcheck),s.helpers.isMobile()&&(s.$el.attr("autocomplete",s.opts.spellcheck?"on":"off"),s.$el.attr("autocorrect",s.opts.spellcheck?"on":"off"),s.$el.attr("autocapitalize",s.opts.spellcheck?"on":"off")),s.opts.disableRightClick&&s.events.$on(s.$el,"contextmenu",function(P){if(P.button===2)return P.preventDefault(),P.stopPropagation(),!1});try{s.doc.execCommand("styleWithCSS",!1,!1)}catch{}}s.$oel.get(0).tagName==="TEXTAREA"&&(s.events.on("contentChanged",function(){s.$oel.val(s.html.get())}),s.events.on("form.submit",function(){s.$oel.val(s.html.get())}),s.events.on("form.reset",function(){s.html.set(s._original_html)}),s.$oel.val(s.html.get())),s.helpers.isIOS()&&s.events.$on(s.$doc,"selectionchange",function(){s.$doc.get(0).hasFocus()||s.$win.get(0).focus()}),s.events.trigger("init"),s.opts.autofocus&&!s.opts.initOnClick&&s.$wp&&s.events.on("initialized",function(){s.events.focus(!0)})},destroy:function(P){s.$oel.get(0).tagName==="TEXTAREA"&&s.$oel.val(P),s.$box&&s.$box.removeAttr("role"),s.$wp&&(s.$oel.get(0).tagName==="TEXTAREA"?(s.$el.html(""),s.$wp.html(""),s.$box.replaceWith(s.$oel),s.$oel.show()):(s.$wp.replaceWith(P),s.$el.html(""),s.$box.removeClass("fr-view fr-ltr fr-box ".concat(s.opts.editorClass||"")),s.opts.theme&&s.$box.addClass("".concat(s.opts.theme,"-theme")))),this.$wp=null,this.$el=null,this.el=null,this.$box=null},isEmpty:function(){return s.node.isEmpty(s.el)},getXHR:function(P,S){var g=new XMLHttpRequest;for(var v in g.open(S,P,!0),s.opts.requestWithCredentials&&(g.withCredentials=!0),s.opts.requestHeaders)Object.prototype.hasOwnProperty.call(s.opts.requestHeaders,v)&&g.setRequestHeader(v,s.opts.requestHeaders[v]);return g},injectStyle:function(P){if(s.opts.iframe){s.$head.find("style[data-fr-style], link[data-fr-style]").remove(),s.$head.append('<style data-fr-style="true">'.concat(P,"</style>"));for(var S=0;S<s.opts.iframeStyleFiles.length;S++){var g=c('<link data-fr-style="true" rel="stylesheet" href="'.concat(s.opts.iframeStyleFiles[S],'">'));g.get(0).addEventListener("load",s.size.syncIframe),s.$head.append(g)}}},hasFocus:function(){return s.browser.mozilla&&s.helpers.isMobile()?s.selection.inEditor():s.node.hasFocus(s.el)||0<s.$el.find("*:focus").length},sameInstance:function(P){if(!P)return!1;var S=P.data("instance");return!!S&&S.id===s.id}}},e.POPUP_TEMPLATES={"text.edit":"[_EDIT_]"},e.RegisterTemplate=function(s,c){e.POPUP_TEMPLATES[s]=c},e.MODULES.popups=function(s){var c,x=s.$;s.shared.popups||(s.shared.popups={});var N,P=s.shared.popups;function S(X,_){_.isVisible()||(_=s.$sc),_.is(P[X].data("container"))||(P[X].data("container",_),_.append(P[X]))}function g(X){var _;X.find(".fr-upload-progress").addClass("fr-height-set"),X.find(".fr-upload-progress").removeClass("fr-height-auto"),s.popups.get("filesManager.insert").removeClass("fr-height-auto"),X.find(".fr-files-upload-layer").hasClass("fr-active")&&(_=1),X.find(".fr-files-by-url-layer").hasClass("fr-active")&&(_=2),X.find(".fr-files-embed-layer").hasClass("fr-active")&&(_=3),X.find(".fr-upload-progress-layer").get(0).clientHeight+10<X.find(".fr-upload-progress").get(0).clientHeight&&X.find(".fr-upload-progress").addClass("fr-height-auto"),400<X[0].clientHeight&&(X[0].childNodes[4].style.height="".concat(X[0].clientHeight-(X[0].childNodes[0].clientHeight+X[0].childNodes[_].clientHeight)-80,"px"))}var v=2e3;function p(){x(this).toggleClass("fr-not-empty",!0)}function a(){var X=x(this);X.toggleClass("fr-not-empty",X.val()!=="")}function o(X){return P[X]&&s.node.hasClass(P[X],"fr-active")&&s.core.sameInstance(P[X])||!1}function u(X){for(var _ in P)if(Object.prototype.hasOwnProperty.call(P,_)&&o(_)&&(X===void 0||P[_].data("instance")===X))return P[_];return!1}function d(X){var _=null;if(_=typeof X!="string"?X:P[X],X==="filesManager.insert"&&s.filesManager!==void 0&&s.filesManager.isChildWindowOpen())return!1;if(_&&s.node.hasClass(_,"fr-active")&&(_.removeClass("fr-active fr-above"),s.events.trigger("popups.hide.".concat(X)),s.$tb&&(1<s.opts.zIndex?s.$tb.css("zIndex",s.opts.zIndex+1):s.$tb.css("zIndex","")),s.events.disableBlur(),_.find("input, textarea, button").each(function(){this===this.ownerDocument.activeElement&&this.blur()}),_.find("input, textarea").attr("disabled","disabled"),N))for(var w=0;w<N.length;w++)x(N[w]).removeClass("fr-btn-active-popup")}function h(X){for(var _ in X===void 0&&(X=[]),P)Object.prototype.hasOwnProperty.call(P,_)&&X.indexOf(_)<0&&d(_)}function m(){s.shared.exit_flag=!0}function f(){s.shared.exit_flag=!1}function y(){return s.shared.exit_flag}function I(X,_){var w,A=function(Q,ee){var se=e.POPUP_TEMPLATES[Q];if(!se)return null;for(var ae in typeof se=="function"&&(se=se.apply(s)),ee)Object.prototype.hasOwnProperty.call(ee,ae)&&(se=se.replace("[_".concat(ae.toUpperCase(),"_]"),ee[ae]));return se}(X,_),U=x(s.doc.createElement("DIV"));if(!A)return X==="filesManager.insert"?U.addClass("fr-popup fr-files-manager fr-empty"):U.addClass("fr-popup fr-empty"),(w=x("body").first()).append(U),U.data("container",w),P[X]=U;X==="filesManager.insert"?U.addClass("fr-popup fr-files-manager".concat(s.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(s.opts.toolbarInline?" fr-inline":"")):U.addClass("fr-popup".concat(s.helpers.isMobile()?" fr-mobile":" fr-desktop").concat(s.opts.toolbarInline?" fr-inline":"")),U.html(A),s.opts.theme&&U.addClass("".concat(s.opts.theme,"-theme")),1<s.opts.zIndex&&(!s.opts.editInPopup&&s.$tb?s.$tb.css("z-index",s.opts.zIndex+2):U.css("z-index",s.opts.zIndex+2)),s.opts.direction!=="auto"&&U.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(s.opts.direction)),U.find("input, textarea").attr("dir",s.opts.direction).attr("disabled","disabled"),(w=x("body").first()).append(U),U.data("container",w);var b=(P[X]=U).find(".fr-color-hex-layer");if(0<b.length){var k=s.helpers.getPX(U.find(".fr-color-set > span").css("width")),O=s.helpers.getPX(b.css("paddingLeft")),z=s.helpers.getPX(b.css("paddingRight"));b.css("width",k*s.opts.colorsStep+O+z)}return s.button.bindCommands(U,!1),U}function E(X){var _=P[X];return{_windowResize:function(){var w=_.data("instance")||s;!w.helpers.isMobile()&&_.isVisible()&&(w.events.disableBlur(),w.popups.hide(X),w.events.enableBlur())},_inputFocus:function(w){var A=_.data("instance")||s,U=x(w.currentTarget);if(U.is("input:file")&&U.closest(".fr-layer").addClass("fr-input-focus"),w.preventDefault(),w.stopPropagation(),setTimeout(function(){A.events.enableBlur()},100),A.helpers.isMobile()){var b=x(A.o_win).scrollTop();setTimeout(function(){x(A.o_win).scrollTop(b)},0)}},_inputBlur:function(w){var A=_.data("instance")||s,U=x(w.currentTarget);U.is("input:file")&&U.closest(".fr-layer").removeClass("fr-input-focus"),document.activeElement!==this&&x(this).isVisible()&&(A.events.blurActive()&&A.events.trigger("blur"),A.events.enableBlur())},_editorKeydown:function(w){var A=_.data("instance")||s;A.keys.ctrlKey(w)||w.which===e.KEYCODE.ALT||w.which===e.KEYCODE.ESC||(o(X)&&_.findVisible(".fr-back").length?A.button.exec(_.findVisible(".fr-back").first()):w.which!==e.KEYCODE.ALT&&A.popups.hide(X))},_preventFocus:function(w){var A=_.data("instance")||s,U=w.originalEvent?w.originalEvent.target||w.originalEvent.originalTarget:null;w.type==="mouseup"||x(U).is(":focus")||A.events.disableBlur(),w.type!=="mouseup"||x(U).hasClass("fr-command")||0<x(U).parents(".fr-command").length||x(U).hasClass("fr-dropdown-content")||s.button.hideActiveDropdowns(_),(s.browser.safari||s.browser.mozilla)&&w.type==="mousedown"&&x(U).is("input[type=file]")&&A.events.disableBlur();var b="input, textarea, button, select, label, .fr-command";if(U&&!x(U).is(b)&&x(U).parents(b).length===0)return w.stopPropagation(),!1;U&&x(U).is(b)&&w.stopPropagation(),f()},_editorMouseup:function(){_.isVisible()&&y()&&0<_.findVisible("input:focus, textarea:focus, button:focus, select:focus").length&&s.events.disableBlur()},_windowMouseup:function(w){if(!s.core.sameInstance(_))return!0;var A=_.data("instance")||s;_.isVisible()&&y()&&(w.stopPropagation(),A.markers.remove(),A.popups.hide(X),f())},_windowKeydown:function(w){if(!s.core.sameInstance(_))return!0;var A=_.data("instance")||s,U=w.which;if(e.KEYCODE.ESC===U){if(A.popups.isVisible(X)&&A.opts.toolbarInline)return w.stopPropagation(),A.popups.isVisible(X)&&(_.findVisible(".fr-back").length?(A.button.exec(_.findVisible(".fr-back").first()),A.accessibility.focusPopupButton(_)):_.findVisible(".fr-dismiss").length?A.button.exec(_.findVisible(".fr-dismiss").first()):(A.popups.hide(X),A.toolbar.showInline(null,!0),A.accessibility.focusPopupButton(_))),!1;if(A.popups.isVisible(X))return _.findVisible(".fr-back").length?(A.button.exec(_.findVisible(".fr-back").first),A.accessibility.focusPopupButton(_)):_.findVisible(".fr-dismiss").length?A.button.exec(_.findVisible(".fr-dismiss").first()):(A.popups.hide(X),A.accessibility.focusPopupButton(_)),!1}},_repositionPopup:function(){if(!s.opts.height&&!s.opts.heightMax||s.opts.toolbarInline)return!0;if(s.$wp&&o(X)&&_.parent().get(0)===s.$sc.get(0)){var w=_.offset().top-s.$wp.offset().top,A=s.$wp.outerHeight();s.node.hasClass(_.get(0),"fr-above")&&(w+=_.outerHeight()),A<w||w<0?_.addClass("fr-hidden"):_.removeClass("fr-hidden")}}}}function M(X,_){s.events.on("mouseup",X._editorMouseup,!0),s.$wp&&s.events.on("keydown",X._editorKeydown),s.events.on("focus",function(){P[_].removeClass("focused")}),s.events.on("blur",function(){u()&&s.markers.remove(),s.helpers.isMobile()?P[_].hasClass("focused")?(h(),P[_].removeClass("focused")):P[_].addClass("focused"):P[_].find("iframe").length||h()}),s.$wp&&!s.helpers.isMobile()&&s.events.$on(s.$wp,"scroll.popup".concat(_),X._repositionPopup),s.events.on("window.mouseup",X._windowMouseup,!0),s.events.on("window.keydown",X._windowKeydown,!0),P[_].data("inst".concat(s.id),!0),s.events.on("destroy",function(){s.core.sameInstance(P[_])&&(x("body").first().append(P[_]),P[_].removeClass("fr-active"))},!0)}function D(){var X=x(this).prev().children().first();X.attr("checked",!X.attr("checked"))}function F(){for(var X in P)if(Object.prototype.hasOwnProperty.call(P,X)){var _=P[X];_&&(_.html("").removeData().remove(),P[X]=null)}P=[]}return s.shared.exit_flag=!1,{_init:function(){c=window.innerHeight,s.events.on("shared.destroy",F,!0),s.events.on("window.mousedown",m),s.events.on("window.touchmove",f),s.events.$on(x(s.o_win),"scroll",f),s.events.on("mousedown",function(_){u()&&(_.stopPropagation(),s.$el.find(".fr-marker").remove(),m(),s.events.disableBlur())})},create:function(_,w){var A=I(_,w),U=E(_);M(U,_),s.events.$on(A,"mousedown mouseup touchstart touchend touch","*",U._preventFocus,!0),s.events.$on(A,"focus","input, textarea, button, select",U._inputFocus,!0),s.events.$on(A,"blur","input, textarea, button, select",U._inputBlur,!0);var b=A.find("input, textarea");return function(O){for(var z=0;z<O.length;z++){var W=O[z],Q=x(W);Q.next().length===0&&Q.attr("placeholder")&&(Q.after('<label for="'.concat(Q.attr("id"),'">').concat(Q.attr("placeholder"),"</label>")),Q.attr("placeholder",""))}}(b),s.events.$on(b,"focus",p),s.events.$on(b,"blur change",a),s.events.$on(A,"click",".fr-checkbox + label",D),s.accessibility.registerPopup(_),s.helpers.isIOS()&&s.events.$on(A,"touchend","label",function(){x("#".concat(x(this).attr("for"))).prop("checked",function(k,O){return!O})},!0),s.events.$on(x(s.o_win),"resize",U._windowResize,!0),_==="filesManager.insert"&&P["filesManager.insert"].css("zIndex",2147483641),A},get:function(_){var w=P[_];return w&&!w.data("inst".concat(s.id))&&M(E(_),_),w},show:function(_,w,A,U,b){if(o(_)||(u()&&0<s.$el.find(".fr-marker").length?(s.events.disableBlur(),s.selection.restore()):u()||(s.events.disableBlur(),s.events.focus(),s.events.enableBlur())),h([_]),!P[_])return!1;var k=s.button.getButtons(".fr-dropdown.fr-active");k.removeClass("fr-active").attr("aria-expanded",!1).parents(".fr-toolbar").css("zIndex","").find("> .fr-dropdown-wrapper").css("height",""),k.next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),P[_].data("instance",s),s.$tb&&s.$tb.data("instance",s);var O=o(_);P[_].addClass("fr-active").removeClass("fr-hidden").find("input, textarea").removeAttr("disabled");var z=P[_].data("container");if(function(he,ce){ce.isVisible()||(ce=s.$sc),ce.contains([P[he].get(0)])||ce.append(P[he])}(_,z),s.opts.toolbarInline&&z&&s.$tb&&z.get(0)===s.$tb.get(0)&&(S(_,s.$sc),A=s.$tb.offset().top-s.helpers.getPX(s.$tb.css("margin-top")),w=s.$tb.offset().left+s.$tb.outerWidth()/2,s.node.hasClass(s.$tb.get(0),"fr-above")&&A&&(A+=s.$tb.outerHeight()),U=0),z=P[_].data("container"),s.opts.iframe&&!U&&!O){var W=s.helpers.getPX(s.$wp.find(".fr-iframe").css("padding-top")),Q=s.helpers.getPX(s.$wp.find(".fr-iframe").css("padding-left"));w&&(w-=s.$iframe.offset().left+Q),A&&(A-=s.$iframe.offset().top+W)}z.is(s.$tb)?s.$tb.css("zIndex",(s.opts.zIndex||1)+4):P[_].css("zIndex",(s.opts.zIndex||1)+3),s.opts.toolbarBottom&&z&&s.$tb&&z.get(0)===s.$tb.get(0)&&(P[_].addClass("fr-above"),A&&(A-=P[_].outerHeight())),b&&(w-=P[_].width()/2),w+P[_].outerWidth()>s.$sc.offset().left+s.$sc.width()&&(w-=w+P[_].outerWidth()-s.$sc.offset().left-s.$sc.width()),w<s.$sc.offset().left&&s.opts.direction==="rtl"&&(w=s.$sc.offset().left),P[_].removeClass("fr-active"),s.position.at(w,A,P[_],U||0);var ee=s.node.blockParent(s.selection.blocks()[0]);if(ee&&ee.getAttribute("contenteditable")==="false")P[_].removeClass("fr-active");else{var se=s.selection.element().parentElement.getAttribute("contenteditable");se&&se==="false"?P[_].removeClass("fr-active"):P[_].addClass("fr-active")}O||s.accessibility.focusPopup(P[_]),s.opts.toolbarInline&&s.toolbar.hide(),s.$tb&&(N=s.$tb.find(".fr-btn-active-popup")),s.events.trigger("popups.show.".concat(_)),E(_)._repositionPopup(),f()},hide:d,onHide:function(_,w){s.events.on("popups.hide.".concat(_),w)},hideAll:h,setContainer:S,refresh:function(_){P[_].data("instance",s),s.events.trigger("popups.refresh.".concat(_));for(var w=P[_].find(".fr-command"),A=0;A<w.length;A++){var U=x(w[A]);U.parents(".fr-dropdown-menu").length===0&&s.button.refresh(U)}},onRefresh:function(_,w){s.events.on("popups.refresh.".concat(_),w)},onShow:function(_,w){s.events.on("popups.show.".concat(_),w)},isVisible:o,setFileListHeight:g,areVisible:u,setPopupDimensions:function(_,w){w&&_.find(".fr-upload-progress-layer").get(0).clientHeight<v&&(_.find(".fr-upload-progress").addClass("fr-height-auto"),s.popups.get("filesManager.insert").addClass("fr-height-auto"),_.find(".fr-upload-progress").removeClass("fr-height-set"),v=2e3),_.get(0).clientHeight>window.innerHeight/2&&(window.innerWidth<500?_.get(0).clientHeight>.6*c&&g(_):400<_.get(0).clientHeight&&g(_),v=_.find(".fr-upload-progress-layer").get(0).clientHeight);var A=window.innerWidth;switch(!0){case A<=320:_.width(200);break;case A<=420:_.width(250);break;case A<=520:_.width(300);break;case A<=720:_.width(400);break;case 720<A:_.width(530)}}}},e.MODULES.accessibility=function(s){var c=s.$,x=!0;function N(X){for(var _=s.$el.find('[contenteditable="true"]'),w=!1,A=0;_.get(A);)c(_.get(A)).is(":focus")&&(w=!0),A++;X&&X.length&&!w&&(X.data("blur-event-set")||X.parents(".fr-popup").length||(s.events.$on(X,"blur",function(){var U=X.parents(".fr-toolbar, .fr-popup").data("instance")||s;U.events.blurActive()&&!s.core.hasFocus()&&U.events.trigger("blur"),setTimeout(function(){U.events.enableBlur()},100)},!0),X.data("blur-event-set",!0)),(X.parents(".fr-toolbar, .fr-popup").data("instance")||s).events.disableBlur(),X.get(0).focus(),s.shared.$f_el=X)}function P(X,_){var w=_?"last":"first",A=o(u(X))[w]();if(A.length)return N(A),!0}function S(X){return X.is("input, textarea, select")&&v(),s.events.disableBlur(),X.get(0).focus(),!0}function g(X,_){var w=X.find("input, textarea, button, select").filter(function(){return c(this).isVisible()}).not(":disabled");if((w=_?w.last():w.first()).length)return S(w);if(s.shared.with_kb){var A=X.findVisible(".fr-active-item").first();if(A.length)return S(A);var U=X.findVisible("[tabIndex]").first();if(U.length)return S(U)}}function v(){s.$el.find(".fr-marker").length===0&&s.core.hasFocus()&&s.selection.save()}function p(){var X=s.popups.areVisible();if(X){var _=X.find(".fr-buttons");return _.find("button:focus, .fr-group span:focus").length?!P(X.data("instance").$tb):!P(_)}return!P(s.$tb)}function a(){var X=null;return s.shared.$f_el.is(".fr-dropdown.fr-active")?X=s.shared.$f_el:s.shared.$f_el.closest(".fr-dropdown-menu").prev().is(".fr-dropdown.fr-active")&&(X=s.shared.$f_el.closest(".fr-dropdown-menu").prev()),X}function o(X){for(var _=-1,w=0;w<X.length;w++)c(X[w]).hasClass("fr-open")&&(_=w);var A=X.index(s.$tb.find(".fr-more-toolbar.fr-expanded > button.fr-command").first());if(0<A&&_!==-1){var U=X.slice(A,X.length),b=(X=X.slice(0,A)).slice(0,_+1),k=X.slice(_+1,X.length);X=b;for(var O=0;O<U.length;O++)X.push(U[O]);for(var z=0;z<k.length;z++)X.push(k[z])}return X}function u(X){return X.findVisible("button:not(.fr-disabled), .fr-group span.fr-command").filter(function(_){var w=c(_).parents(".fr-more-toolbar");return w.length===0||0<w.length&&w.hasClass("fr-expanded")})}function d(X,_,w){if(s.shared.$f_el){var A=a();A&&(s.button.click(A),s.shared.$f_el=A);var U=o(u(X)),b=U.index(s.shared.$f_el);if(b===0&&!w||b===U.length-1&&w){var k;_&&(X.parent().is(".fr-popup")&&(k=!g(X.parent().children().not(".fr-buttons"),!w)),k===!1&&(s.shared.$f_el=null)),_&&k===!1||P(X,!w)}else N(c(U.get(b+(w?1:-1))));return!1}}function h(X,_){return d(X,_,!0)}function m(X,_){return d(X,_)}function f(X){if(s.shared.$f_el){var _;if(s.shared.$f_el.is(".fr-dropdown.fr-active"))return N(_=X?s.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").first():s.shared.$f_el.next().find(".fr-command:not(.fr-disabled)").last()),!1;if(s.shared.$f_el.is("a.fr-command"))return(_=X?s.shared.$f_el.closest("li").nextAllVisible().first().find(".fr-command:not(.fr-disabled)").first():s.shared.$f_el.closest("li").prevAllVisible().first().find(".fr-command:not(.fr-disabled)").first()).length||(_=X?s.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").first():s.shared.$f_el.closest(".fr-dropdown-menu").find(".fr-command:not(.fr-disabled)").last()),N(_),!1}}function y(){if(s.shared.$f_el){if(s.shared.$f_el.hasClass("fr-dropdown"))s.button.click(s.shared.$f_el);else if(s.shared.$f_el.is("button.fr-back")){s.opts.toolbarInline&&(s.events.disableBlur(),s.events.focus());var X=s.popups.areVisible(s);X&&(s.shared.with_kb=!1),s.button.click(s.shared.$f_el),M(X)}else{if(s.events.disableBlur(),s.button.click(s.shared.$f_el),s.shared.$f_el.attr("data-group-name")){var _=s.$tb.find('.fr-more-toolbar[data-name="'.concat(s.shared.$f_el.attr("data-group-name"),'"]')),w=s.shared.$f_el;_.hasClass("fr-expanded")&&(w=_.findVisible("button:not(.fr-disabled)").first()),w&&N(w)}else if(s.shared.$f_el.attr("data-popup")){var A=s.popups.areVisible(s);A&&A.data("popup-button",s.shared.$f_el)}else if(s.shared.$f_el.attr("data-modal")){var U=s.modals.areVisible(s);U&&U.data("modal-button",s.shared.$f_el)}s.shared.$f_el=null}return!1}}function I(){s.shared.$f_el&&(s.events.disableBlur(),s.shared.$f_el.blur(),s.shared.$f_el=null),s.events.trigger("toolbar.focusEditor")!==!1&&(s.events.disableBlur(),s.$el.get(0).focus(),s.events.focus())}function E(X){X&&X.length&&(s.events.$on(X,"keydown",function(_){if(!c(_.target).is("a.fr-command, button.fr-command, .fr-group span.fr-command"))return!0;var w=X.parents(".fr-popup").data("instance")||X.data("instance")||s;s.shared.with_kb=!0;var A=w.accessibility.exec(_,X);return s.shared.with_kb=!1,A},!0),s.events.$on(X,"mouseenter","[tabIndex]",function(_){var w=X.parents(".fr-popup").data("instance")||X.data("instance")||s;if(!x)return _.stopPropagation(),void _.preventDefault();var A=c(_.currentTarget);w.shared.$f_el&&w.shared.$f_el.not(A)&&w.accessibility.focusEditor()},!0),s.$tb&&s.events.$on(s.$tb,"transitionend",".fr-more-toolbar",function(){s.shared.$f_el=c(document.activeElement)}))}function M(X){var _=X.data("popup-button");_&&setTimeout(function(){N(_),X.data("popup-button",null)},0)}function D(X){var _=s.popups.areVisible(X);_&&_.data("popup-button",null)}function F(X){var _=navigator.userAgent.indexOf("Mac OS X")!==-1?X.metaKey:X.ctrlKey;if(X.which!==e.KEYCODE.F10||_||X.shiftKey||!X.altKey)return!0;s.shared.with_kb=!0;var w=s.popups.areVisible(s),A=!1;return w&&(A=g(w.children().not(".fr-buttons"))),A||p(),s.shared.with_kb=!1,X.preventDefault(),X.stopPropagation(),!1}return{_init:function(){s.$wp?s.events.on("keydown",F,!0):s.events.$on(s.$win,"keydown",F,!0),s.events.on("mousedown",function(_){D(s),s.shared.$f_el&&s.el.isSameNode(s.shared.$f_el[0])&&(s.accessibility.restoreSelection(),_.stopPropagation(),s.events.disableBlur(),s.shared.$f_el=null)},!0),s.events.on("blur",function(){s.shared.$f_el=null,D(s)},!0)},registerPopup:function(_){var w=s.popups.get(_),A=function(b){var k=s.popups.get(b);return{_tiKeydown:function(O){var z=k.data("instance")||s;if(z.events.trigger("popup.tab",[O])===!1)return!1;var W=O.which,Q=k.find(":focus").first();if(e.KEYCODE.TAB===W){O.preventDefault();var ee=k.children().not(".fr-buttons"),se=ee.findVisible("input, textarea, button, select").not(".fr-no-touch input, .fr-no-touch textarea, .fr-no-touch button, .fr-no-touch select, :disabled").toArray(),ae=se.indexOf(this)+(O.shiftKey?-1:1);if(0<=ae&&ae<se.length)return z.events.disableBlur(),c(se[ae]).focus(),O.stopPropagation(),!1;var he=k.find(".fr-buttons");if(he.length&&P(he,!!O.shiftKey)||g(ee))return O.stopPropagation(),!1}else{if(e.KEYCODE.ENTER!==W||!O.target||O.target.tagName==="TEXTAREA")return e.KEYCODE.ESC===W?(O.preventDefault(),O.stopPropagation(),z.accessibility.restoreSelection(),z.popups.isVisible(b)&&k.findVisible(".fr-back").length?(z.opts.toolbarInline&&(z.events.disableBlur(),z.events.focus()),z.button.exec(k.findVisible(".fr-back").first()),M(k)):z.popups.isVisible(b)&&k.findVisible(".fr-dismiss").length?z.button.exec(k.findVisible(".fr-dismiss").first()):(z.popups.hide(b),z.opts.toolbarInline&&z.toolbar.showInline(null,!0),M(k)),!1):e.KEYCODE.SPACE===W&&(Q.is(".fr-submit")||Q.is(".fr-dismiss"))?(O.preventDefault(),O.stopPropagation(),z.events.disableBlur(),z.button.exec(Q),!0):z.keys.isBrowserAction(O)||Q.is("input[type=text], textarea")||e.KEYCODE.SPACE===W&&(Q.is(".fr-link-attr")||Q.is("input[type=file]"))?void O.stopPropagation():(O.stopPropagation(),O.preventDefault(),!1);var ce=null;0<k.findVisible(".fr-submit").length?ce=k.findVisible(".fr-submit").first():k.findVisible(".fr-dismiss").length&&(ce=k.findVisible(".fr-dismiss").first()),ce&&(O.preventDefault(),O.stopPropagation(),z.events.disableBlur(),z.button.exec(ce))}},_tiMouseenter:function(){var O=k.data("instance")||s;D(O)}}}(_);E(w.find(".fr-buttons")),s.events.$on(w,"mouseenter","tabIndex",A._tiMouseenter,!0),s.events.$on(w.children().not(".fr-buttons"),"keydown","[tabIndex]",A._tiKeydown,!0),s.popups.onHide(_,function(){(w.data("instance")||s).accessibility.restoreSelection()}),s.popups.onShow(_,function(){x=!1,setTimeout(function(){x=!0},0)})},registerToolbar:E,focusToolbarElement:N,focusToolbar:P,focusContent:g,focusPopup:function(_){var w=_.children().not(".fr-buttons");w.data("mouseenter-event-set")||(s.events.$on(w,"mouseenter","[tabIndex]",function(A){var U=_.data("instance")||s;if(!x)return A.stopPropagation(),void A.preventDefault();var b=w.find(":focus").first();b.length&&!b.is("input, button, textarea, select")&&(U.events.disableBlur(),b.blur(),U.events.disableBlur(),U.events.focus())}),w.data("mouseenter-event-set",!0)),!g(w)&&s.shared.with_kb&&P(_.find(".fr-buttons"))},focusModal:function(_){s.core.hasFocus()||(s.events.disableBlur(),s.events.focus()),s.accessibility.saveSelection(),s.events.disableBlur(),s.el.blur(),s.selection.clear(),s.events.disableBlur(),s.shared.with_kb?_.find(".fr-command[tabIndex], [tabIndex]").first().focus():_.find("[tabIndex]").first().focus()},focusEditor:I,focusPopupButton:M,focusModalButton:function(_){var w=_.data("modal-button");w&&setTimeout(function(){N(w),_.data("modal-button",null)},0)},hasFocus:function(){return s.shared.$f_el!==null},exec:function(_,w){var A=navigator.userAgent.indexOf("Mac OS X")!==-1?_.metaKey:_.ctrlKey,U=_.which,b=!1;return U!==e.KEYCODE.TAB||A||_.shiftKey||_.altKey?U!==e.KEYCODE.ARROW_RIGHT||A||_.shiftKey||_.altKey?U!==e.KEYCODE.TAB||A||!_.shiftKey||_.altKey?U!==e.KEYCODE.ARROW_LEFT||A||_.shiftKey||_.altKey?U!==e.KEYCODE.ARROW_UP||A||_.shiftKey||_.altKey?U!==e.KEYCODE.ARROW_DOWN||A||_.shiftKey||_.altKey?U!==e.KEYCODE.ENTER&&U!==e.KEYCODE.SPACE||A||_.shiftKey||_.altKey?U!==e.KEYCODE.ESC||A||_.shiftKey||_.altKey?U!==e.KEYCODE.F10||A||_.shiftKey||!_.altKey||(b=p()):b=function(O){if(s.shared.$f_el){var z=a();return z?(s.button.click(z),N(z)):O.parent().findVisible(".fr-back").length?(s.shared.with_kb=!1,s.opts.toolbarInline&&(s.events.disableBlur(),s.events.focus()),s.button.exec(O.parent().findVisible(".fr-back")).first(),M(O.parent())):s.shared.$f_el.is("button, .fr-group span")&&(O.parent().is(".fr
6-popup")?(s.accessibility.restoreSelection(),s.shared.$f_el=null,s.events.trigger("toolbar.esc")!==!1&&(s.popups.hide(O.parent()),s.opts.toolbarInline&&s.toolbar.showInline(null,!0),M(O.parent()))):I()),!1}}(w):b=y():b=function(){return s.shared.$f_el&&s.shared.$f_el.is(".fr-dropdown:not(.fr-active)")?y():f(!0)}():b=function(){return f()}():b=m(w):b=m(w,!0):b=h(w):b=h(w,!0),s.shared.$f_el||b!==void 0||(b=!0),!b&&s.keys.isBrowserAction(_)&&(b=!0),!!b||(_.preventDefault(),_.stopPropagation(),!1)},saveSelection:v,restoreSelection:function(){s.$el.find(".fr-marker").length&&(s.events.disableBlur(),s.selection.restore(),s.events.enableBlur())}}},Object.assign(e.DEFAULTS,{tooltips:!0}),e.MODULES.tooltip=function(s){var c=s.$;function x(){s.helpers.isMobile()||s.$tooltip&&s.$tooltip.removeClass("fr-visible").css("left","-3000px").css("position","fixed")}function N(P,S){if(!s.helpers.isMobile()&&(P.data("title")||P.data("title",P.attr("title")),P.data("title"))){s.$tooltip||function(){s.opts.tooltips&&!s.helpers.isMobile()&&(s.shared.$tooltip?s.$tooltip=s.shared.$tooltip:(s.shared.$tooltip=c(s.doc.createElement("DIV")).addClass("fr-tooltip"),s.$tooltip=s.shared.$tooltip,s.opts.theme&&s.$tooltip.addClass("".concat(s.opts.theme,"-theme")),c(s.o_doc).find("body").first().append(s.$tooltip)),s.events.on("shared.destroy",function(){s.$tooltip.html("").removeData().remove(),s.$tooltip=null},!0))}(),P.removeAttr("title"),s.$tooltip.text(s.language.translate(P.data("title"))),s.$tooltip.addClass("fr-visible");var g=P.offset().left+(P.outerWidth()-s.$tooltip.outerWidth())/2;g<0&&(g=0),g+s.$tooltip.outerWidth()>c(s.o_win).width()&&(g=c(s.o_win).width()-s.$tooltip.outerWidth()),S===void 0&&(S=s.opts.toolbarBottom),P.offset().top-c(window).scrollTop()+P.outerHeight()+10>=c(window).height()&&(S=!0);var v=S?P.offset().top-s.$tooltip.height():P.offset().top+P.outerHeight();s.$tooltip.css("position",""),s.$tooltip.css("left",g),s.$tooltip.css("top",Math.ceil(v)),c(s.o_doc).find("body").first().css("position")!=="static"?(s.$tooltip.css("margin-left",-c(s.o_doc).find("body").first().offset().left),s.$tooltip.css("margin-top",-c(s.o_doc).find("body").first().offset().top)):(s.$tooltip.css("margin-left",""),s.$tooltip.css("margin-top",""))}}return{hide:x,to:N,bind:function(S,g,v){s.opts.tooltips&&!s.helpers.isMobile()&&(s.events.$on(S,"mouseover",g,function(p){s.node.hasClass(p.currentTarget,"fr-disabled")||s.edit.isDisabled()||N(c(p.currentTarget),v)},!0),s.events.$on(S,"mouseout ".concat(s._mousedown," ").concat(s._mouseup),g,function(){x()},!0))}}},e.TOOLBAR_VISIBLE_BUTTONS=3,e.MODULES.button=function(s){var c=s.$,x=[];(s.opts.toolbarInline||s.opts.toolbarContainer)&&(s.shared.buttons||(s.shared.buttons=[]),x=s.shared.buttons);var N=[];function P(M,D,F){for(var X=c(),_=0;_<M.length;_++){var w=c(M[_]);
vendor: 13,794 bytes, line 6
6if(w.is(D)&&(X=X.add(w)),F&&w.is(".fr-dropdown")){var A=w.next().find(D);X=X.add(A)}}return X}function S(M,D){var F,X=c();if(!M)return X;for(F in X=(X=X.add(P(x,M,D))).add(P(N,M,D)),s.shared.popups)if(Object.prototype.hasOwnProperty.call(s.shared.popups,F)){var _=s.shared.popups[F].children().find(M);X=X.add(_)}for(F in s.shared.modals)if(Object.prototype.hasOwnProperty.call(s.shared.modals,F)){var w=s.shared.modals[F].$modal.find(M);X=X.add(w)}return X}function g(M){var D=M.next(),F=s.node.hasClass(M.get(0),"fr-active"),X=S(".fr-dropdown.fr-active").not(M),_=M.parents(".fr-toolbar, .fr-popup").data("instance")||s;_.helpers.isIOS()&&!_.el.querySelector(".fr-marker")&&(_.selection.save(),_.selection.clear(),_.selection.restore()),D.parents(".fr-more-toolbar").addClass("fr-overflow-visible");var w=0,A=0,U=D.find("> .fr-dropdown-wrapper");if(!F){var b=M.data("cmd");D.find(".fr-command").removeClass("fr-active").attr("aria-selected",!1),e.COMMANDS[b]&&e.COMMANDS[b].refreshOnShow&&e.COMMANDS[b].refreshOnShow.apply(_,[M,D]),D.css("left",M.offset().left-M.parents(".fr-btn-wrap, .fr-toolbar, .fr-buttons").offset().left-(s.opts.direction==="rtl"?D.width()-M.outerWidth():0)),D.addClass("test-height"),w=D.outerHeight(),A=s.helpers.getPX(U.css("max-height")),D.removeClass("test-height"),D.css("top","").css("bottom","");var k=M.outerHeight()/10;if(!s.opts.toolbarBottom&&D.offset().top+M.outerHeight()+w<c(s.o_doc).height())D.css("top",M.position().top+M.outerHeight()-k);else{var O=0,z=M.parents(".fr-more-toolbar");0<z.length&&(O=z.first().height()),D.css("bottom",M.parents(".fr-popup, .fr-toolbar").first().height()-O-M.position().top)}}M.addClass("fr-blink").toggleClass("fr-active"),M.hasClass("fr-options")&&M.prev().toggleClass("fr-expanded"),M.hasClass("fr-active")?(D.attr("aria-hidden",!1),M.attr("aria-expanded",!0),function(ee,se,ae){ae<=se&&ee.parent().css("overflow","auto"),ee.css("height",Math.min(se,ae))}(U,w,A)):(D.attr("aria-hidden",!0).css("overflow",""),M.attr("aria-expanded",!1),U.css("height","")),setTimeout(function(){M.removeClass("fr-blink")},300),D.css("margin-left",""),D.offset().left+D.outerWidth()>s.$sc.offset().left+s.$sc.width()&&D.css("margin-left",-(D.offset().left+D.outerWidth()-s.$sc.offset().left-s.$sc.width())),D.offset().left<s.$sc.offset().left&&s.opts.direction==="rtl"&&D.css("margin-left",s.$sc.offset().left),X.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),X.prev(".fr-expanded").removeClass("fr-expanded"),X.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),M.parents(".fr-popup").length!==0||s.opts.toolbarInline||(s.node.hasClass(M.get(0),"fr-active")?s.$tb.css("zIndex",(s.opts.zIndex||1)+4):s.$tb.css("zIndex",""));var W=D.find("a.fr-command.fr-active").first();s.helpers.isMobile()||(W.length?(s.accessibility.focusToolbarElement(W),U.scrollTop(Math.abs(W.parents(".fr-dropdown-content").offset().top-W.offset().top)-W.offset().top)):(s.accessibility.focusToolbarElement(M),U.scrollTop(0)))}function v(M){M.addClass("fr-blink"),setTimeout(function(){M.removeClass("fr-blink")},500);for(var D=M.data("cmd"),F=[];M.data("param".concat(F.length+1))!==void 0;)F.push(M.data("param".concat(F.length+1)));var X=S(".fr-dropdown.fr-active");X.length&&(X.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),X.prev(".fr-expanded").removeClass("fr-expanded"),X.parents(".fr-toolbar:not(.fr-inline)").css("zIndex","")),M.parents(".fr-popup, .fr-toolbar").data("instance").commands.exec(D,F)}function p(M){var D=M.parents(".fr-popup, .fr-toolbar").data("instance");if(M.parents(".fr-popup").length===0&&M.data("popup")&&!M.hasClass("fr-btn-active-popup")&&M.addClass("fr-btn-active-popup"),M.parents(".fr-popup").length!==0||M.data("popup")||D.popups.hideAll(),D.popups.areVisible()&&!D.popups.areVisible(D)){for(var F=0;F<e.INSTANCES.length;F++)e.INSTANCES[F]!==D&&e.INSTANCES[F].popups&&e.INSTANCES[F].popups.areVisible()&&e.INSTANCES[F].$el.find(".fr-marker").remove();D.popups.hideAll()}s.node.hasClass(M.get(0),"fr-dropdown")?g(M):(function(_){v(_)}(M),e.COMMANDS[M.data("cmd")]&&e.COMMANDS[M.data("cmd")].refreshAfterCallback!==!1&&D.button.bulkRefresh())}function a(M){p(c(M.currentTarget))}function o(M){var D=M.find(".fr-dropdown.fr-active");D.length&&(D.removeClass("fr-active").attr("aria-expanded",!1).next().attr("aria-hidden",!0).css("overflow","").find("> .fr-dropdown-wrapper").css("height",""),D.parents(".fr-toolbar:not(.fr-inline)").css("zIndex",""),D.prev().removeClass("fr-expanded"))}function u(M){M.preventDefault(),M.stopPropagation()}function d(M){if(M.stopPropagation(),!s.helpers.isMobile())return!1}function h(M){var D=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},F=2<arguments.length?arguments[2]:void 0;if(s.helpers.isMobile()&&D.showOnMobile===!1)return"";var X=D.displaySelection;typeof X=="function"&&(X=X(s));var _="";if(D.type!=="options")if(X){var w=typeof D.defaultSelection=="function"?D.defaultSelection(s):D.defaultSelection;_='<span style="width:'.concat(D.displaySelectionWidth||100,'px">').concat(s.language.translate(w||D.title),"</span>")}else _=s.icon.create(D.icon||M),_+='<span class="fr-sr-only">'.concat(s.language.translate(D.title)||"","</span>");var A=D.popup?' data-popup="true"':"",U=D.modal?' data-modal="true"':"",b=s.shortcuts.get("".concat(M,"."));b=b?" (".concat(b,")"):"";var k="".concat(M,"-").concat(s.id),O="dropdown-menu-".concat(k),z='<button id="'.concat(k,'"').concat(D.more_btn?' data-group-name="'.concat(k,'" '):"",'type="button" tabIndex="-1" role="button"').concat(D.toggle?' aria-pressed="false"':"").concat(D.type==="dropdown"||D.type==="options"?' aria-controls="'.concat(O,'" aria-expanded="false" aria-haspopup="true"'):"").concat(D.disabled?' aria-disabled="true"':"",' title="').concat(s.language.translate(D.title)||"").concat(b,'" class="fr-command fr-btn').concat(D.type==="dropdown"||D.type=="options"?" fr-dropdown":"").concat(D.type=="options"?" fr-options":"").concat(D.type=="more"?" fr-more":"").concat(D.displaySelection?" fr-selection":"").concat(D.back?" fr-back":"").concat(D.disabled?" fr-disabled":"").concat(F?"":" fr-hidden",'" data-cmd="').concat(M,'"').concat(A).concat(U,">").concat(_,"</button>");if(D.type==="dropdown"||D.type==="options"){var W='<div id="'.concat(O,'" class="fr-dropdown-menu" role="listbox" aria-labelledby="').concat(k,'" aria-hidden="true"><div class="fr-dropdown-wrapper" role="presentation"><div class="fr-dropdown-content" role="presentation">');W+=function(ee,se){var ae="";if(se.html)typeof se.html=="function"?ae+=se.html.call(s):ae+=se.html;else{var he=se.options;for(var ce in typeof he=="function"&&(he=he()),ae+='<ul class="fr-dropdown-list" role="presentation">',he)if(Object.prototype.hasOwnProperty.call(he,ce)){var ie=s.shortcuts.get("".concat(ee,".").concat(ce));ie=ie?'<span class="fr-shortcut">'.concat(ie,"</span>"):"",ae+='<li role="presentation"><a class="fr-command" tabIndex="-1" role="option" data-cmd="'.concat(se.type==="options"?ee.replace(/Options/g,""):ee,'" data-param1="').concat(ce,'" title="').concat(he[ce],'">').concat(s.language.translate(he[ce]),"</a></li>")}ae+="</ul>"}return ae}(M,D),z+=W+="</div></div></div>"}return D.hasOptions&&D.hasOptions.apply(s)&&(z='<div class="fr-btn-wrap">'.concat(z," ").concat(h(M+"Options",Object.assign({},D,{type:"options",hasOptions:!1}),F)," </div>")),z}function m(M){var D=s.$tb&&s.$tb.data("instance")||s;if(s.events.trigger("buttons.refresh")===!1)return!0;setTimeout(function(){for(var F=D.selection.inEditor()&&D.core.hasFocus(),X=0;X<M.length;X++){var _=c(M[X]),w=_.data("cmd");_.parents(".fr-popup").length===0?F||e.COMMANDS[w]&&e.COMMANDS[w].forcedRefresh?D.button.refresh(_):s.node.hasClass(_.get(0),"fr-dropdown")||(_.removeClass("fr-active"),_.attr("aria-pressed")&&_.attr("aria-pressed",!1)):_.parents(".fr-popup").isVisible()&&D.button.refresh(_)}},0)}function f(){m(x),m(N)}function y(){x=[],N=[]}s.shared.popup_buttons||(s.shared.popup_buttons=[]),N=s.shared.popup_buttons;var I=null;function E(){clearTimeout(I),I=setTimeout(f,50)}return{_init:function(){s.opts.toolbarInline?s.events.on("toolbar.show",f):(s.events.on("mouseup",E),s.events.on("keyup",E),s.events.on("blur",E),s.events.on("focus",E),s.events.on("contentChanged",E),s.helpers.isMobile()&&s.events.$on(s.$doc,"selectionchange",f)),s.events.on("shared.destroy",y)},build:h,buildList:function(D,F){for(var X="",_=0;_<D.length;_++){var w=D[_],A=e.COMMANDS[w];A&&typeof A.plugin<"u"&&s.opts.pluginsEnabled.indexOf(A.plugin)<0||(A?X+=h(w,A,F===void 0||0<=F.indexOf(w)):w==="|"?X+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':w==="-"&&(X+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>'))}return X},buildGroup:function(D){var F="",X="";for(var _ in D){var w=D[_];if(w.buttons){for(var A="",U="",b=0,k="left",O=e.TOOLBAR_VISIBLE_BUTTONS,z=0;z<w.buttons.length;z++){var W=w.buttons[z],Q=e.COMMANDS[W];Q||(W=="|"?A+='<div class="fr-separator fr-vs" role="separator" aria-orientation="vertical"></div>':W=="-"&&(A+='<div class="fr-separator fr-hs" role="separator" aria-orientation="horizontal"></div>')),!Q||Q&&typeof Q.plugin<"u"&&s.opts.pluginsEnabled.indexOf(Q.plugin)<0||(D[_].align!==void 0&&(k=D[_].align),D[_].buttonsVisible!==void 0&&(O=D[_].buttonsVisible),D.showMoreButtons&&O<=b?U+=h(W,Q,!0):A+=h(W,Q,!0),b++)}if(D.showMoreButtons&&O<b){var ee=_,se=e.COMMANDS[ee];se.more_btn=!0,A+=h(ee,se,!0)}F+='<div class="fr-btn-grp fr-float-'.concat(k,'">').concat(A,"</div>"),D.showMoreButtons&&0<U.length&&(X+='<div class="fr-more-toolbar" data-name="'.concat(_+"-"+s.id,'">').concat(U,"</div>"))}}return s.opts.toolbarBottom?"".concat(X,'<div class="fr-newline"></div>').concat(F):"".concat(F,'<div class="fr-newline"></div>').concat(X)},bindCommands:function(D,F){s.events.bindClick(D,".fr-command:not(.fr-disabled)",a),s.events.$on(D,"".concat(s._mousedown," ").concat(s._mouseup," ").concat(s._move),".fr-dropdown-menu",u,!0),s.events.$on(D,"".concat(s._mousedown," ").concat(s._mouseup," ").concat(s._move),".fr-dropdown-menu .fr-dropdown-wrapper",d,!0);var X=D.get(0).ownerDocument,_="defaultView"in X?X.defaultView:X.parentWindow;function w(A){(!A||A.type===s._mouseup&&A.target!==c("html").get(0)||A.type==="keydown"&&(s.keys.isCharacter(A.which)&&!s.keys.ctrlKey(A)||A.which===e.KEYCODE.ESC))&&o(D)}s.events.$on(c(_),"".concat(s._mouseup," resize keydown"),w,!0),s.opts.iframe&&s.events.$on(s.$win,s._mouseup,w,!0),s.node.hasClass(D.get(0),"fr-popup")?c.merge(N,D.find(".fr-btn").toArray()):c.merge(x,D.find(".fr-btn").toArray()),s.tooltip.bind(D,".fr-btn, .fr-title",F)},refresh:function(D){var F,X=D.parents(".fr-popup, .fr-toolbar").data("instance")||s,_=D.data("cmd");s.node.hasClass(D.get(0),"fr-dropdown")?F=D.next():(D.removeClass("fr-active"),D.attr("aria-pressed")&&D.attr("aria-pressed",!1)),e.COMMANDS[_]&&e.COMMANDS[_].refresh?e.COMMANDS[_].refresh.apply(X,[D,F]):s.refresh[_]&&X.refresh[_](D,F)},bulkRefresh:f,exec:v,click:p,hideActiveDropdowns:o,addButtons:function(D){for(var F=0;F<D.length;F++)x.push(D)},getButtons:S,getPosition:function(D){var F=D.offset().left,X=s.opts.toolbarBottom?10:D.outerHeight()-10;return{left:F,top:D.offset().top+X}}}},e.ICON_TEMPLATES={font_awesome:'<i class="fa fa-[NAME]" aria-hidden="true"></i>',font_awesome_5:'<i class="fas fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5r:'<i class="far fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5l:'<i class="fal fa-[FA5NAME]" aria-hidden="true"></i>',font_awesome_5b:'<i class="fab fa-[FA5NAME]" aria-hidden="true"></i>',text:'<span style="text-align: center;">[NAME]</span>',image:"<img src=[SRC] alt=[ALT] />",svg:'<svg class="fr-svg" focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="[PATH]"/></svg>',empty:" "},e.ICONS={bold:{NAME:"bold",SVG_KEY:"bold"},italic:{NAME:"italic",SVG_KEY:"italic"},underline:{NAME:"underline",SVG_KEY:"underline"},strikeThrough:{NAME:"strikethrough",SVG_KEY:"strikeThrough"},subscript:{NAME:"subscript",SVG_KEY:"subscript"},superscript:{NAME:"superscript",SVG_KEY:"superscript"},cancel:{NAME:"cancel",SVG_KEY:"cancel"},color:{NAME:"tint",SVG_KEY:"textColor"},outdent:{NAME:"outdent",SVG_KEY:"outdent"},indent:{NAME:"indent",SVG_KEY:"indent"},undo:{NAME:"rotate-left",FA5NAME:"undo",SVG_KEY:"undo"},redo:{NAME:"rotate-right",FA5NAME:"redo",SVG_KEY:"redo"},insert:{NAME:"insert",SVG_KEY:"insert"},insertAll:{NAME:"insertAll",SVG_KEY:"insertAll"},insertHR:{NAME:"minus",SVG_KEY:"horizontalLine"},clearFormatting:{NAME:"eraser",SVG_KEY:"clearFormatting"},selectAll:{NAME:"mouse-pointer",SVG_KEY:"selectAll"},minimize:{NAME:"minimize",SVG_KEY:"minimize"},moreText:{NAME:"ellipsis-v",SVG_KEY:"textMore"},moreParagraph:{NAME:"ellipsis-v",SVG_KEY:"paragraphMore"},moreRich:{NAME:"ellipsis-v",SVG_KEY:"insertMore"},moreMisc:{NAME:"ellipsis-v",SVG_KEY:"more"}},e.DefineIconTemplate=function(s,c){e.ICON_TEMPLATES[s]=c},e.DefineIcon=function(s,c){e.ICONS[s]=c},Object.assign(e.DEFAULTS,{iconsTemplate:"svg"}),e.MODULES.icon=function(s){return{create:function(x){var N=null,P=e.ICONS[x];if(P!==void 0){var S=P.template||e.ICON_DEFAULT_TEMPLATE||s.opts.iconsTemplate;S&&S.apply&&(S=S.apply(s)),P.FA5NAME||(P.FA5NAME=P.NAME),S!=="svg"||P.PATH||(P.PATH=e.SVG[P.SVG_KEY]||""),S&&(S=e.ICON_TEMPLATES[S])&&(N=S.replace(/\[([a-zA-Z0-9]*)\]/g,function(g,v){return v==="NAME"?P[v]||x:P[v]}))}return N||x},getTemplate:function(x){var N=e.ICONS[x],P=s.opts.iconsTemplate;return N!==void 0?P=N.template||e.ICON_DEFAULT_TEMPLATE||s.opts.iconsTemplate:P},getFileIcon:function(x){var N=e.FILEICONS[x];return N!==void 0?N:x
vendor: 27,781 bytes, line 6
6}}},e.SVG={add:"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z",advancedImageEditor:"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4 V3h-2V9z",alignCenter:"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z",alignJustify:"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z",alignLeft:"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z",alignRight:"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z",anchors:"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z",autoplay:"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 ",back:"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z",backgroundColor:"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z",blockquote:"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z",bold:"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z",cancel:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",cellBackground:"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4 l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2 C21,17.2,19,15,19,15z",cellBorderColor:"M22,22H2v2h20V22z",cellOptions:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4 c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4 c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z",cellStyle:"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10 c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7 c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4 z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z",clearFormatting:"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z",close:"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z",codeView:"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z",cogs:"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z",columns:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17 c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0 V9z",edit:"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0 c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z",exitFullscreen:"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z",fileInsert:"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 ",fileManager:"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5",fontAwesome:"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z",fontFamily:"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z",fontSize:"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z",fullscreen:"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z",help:"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5 C16,6.8,14.2,5,12,5z",horizontalLine:"M5,12h14 M19,11H5v2h14V11z",imageAltText:"M19,7h-6v12h-2V7H5V5h6h2h6V7z",imageCaption:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z",imageClass:"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z",imageDisplay:"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z",imageManager:"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z",imageSize:"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3 L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1 c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15 c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8 l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z",indent:"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",inlineClass:"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z",inlineStyle:"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z",insert:"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10",insertEmbed:"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z",insertFile:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z",insertImage:"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z",insertLink:"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z",insertMore:"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z",insertTable:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3 h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17 v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16z",insertVideo:"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z",upload:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",uploadFiles:"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z",italic:"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z",search:"M15.5 14h-0.79l-0.28 -0.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 -0.59 4.23 -1.57l0.27 0.28v0.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",lineHeight:"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z",linkStyles:"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1 c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7 c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z",mention:"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1 c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1 c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3 s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z",minimize:"M5,12h14 M19,11H5v2h14V11z",more:"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z",openLink:"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z",orderedList:"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z",outdent:"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z",pageBreaker:"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2 h3V13z",paragraphFormat:"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z",paragraphMore:"M7.682,5a4.11,4.11,0,0,0-4.07,3.18,4,4,0,0,0,3.11,4.725h0l.027.005a3.766,3.766,0,0,0,.82.09v6h2V7h2V19h2V7h2V5ZM5.532,9a2,2,0,0,1,2-2v4A2,2,0,0,1,5.532,9Zm14.94,8.491a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,17.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,13.491Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.472,9.491Z",paragraphStyle:"M4,9c0-1.1,0.9-2,2-2v4C4.9,11,4,10.1,4,9z M16.7,20.5l3.2,1.9L19,18.8l3-2.9h-3.7l-1.4-3.5L15.3,16h-3.8l2.9,2.9l-0.9,3.6 L16.7,20.5z M10,17.4V19h1.6L10,17.4z M6.1,5c-1.9,0-3.6,1.3-4,3.2c-0.5,2.1,0.8,4.2,2.9,4.7c0,0,0,0,0,0h0.2C5.5,13,5.8,13,6,13v6 h2V7h2v7h2V7h2V5H6.1z",pdfExport:"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z M16.3,13.5 c-0.2-0.6-1.1-0.8-2.6-0.8c-0.1,0-0.1,0-0.2,0c-0.3-0.3-0.8-0.9-1-1.2c-0.2-0.2-0.3-0.3-0.4-0.6c0.2-0.7,0.2-1,0.3-1.5 c0.1-0.9,0-1.6-0.2-1.8c-0.4-0.2-0.7-0.2-0.9-0.2c-0.1,0-0.3,0.2-0.7,0.7c-0.2,0.7-0.1,1.8,0.6,2.8c-0.2,0.8-0.7,1.6-1,2.4 c-0.8,0.2-1.5,0.7-1.9,1.1c-0.7,0.7-0.9,1.1-0.7,1.6c0,0.3,0.2,0.6,0.7,0.6c0.3-0.1,0.3-0.2,0.7-0.3c0.6-0.3,1.2-1.7,1.7-2.4 c0.8-0.2,1.7-0.3,2-0.3c0.1,0,0.3,0,0.6,0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6 C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7 C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1 c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1 c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z",print:"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4 c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4 v4h16V15z",redo:"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6 C5.1,10.8,9.3,8.7,13.6,9.4z",removeTable:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",insertAll:"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 ",remove:"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z",replaceImage:"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z",row:"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4 c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5 v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z",selectAll:"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5 z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2 V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z",smile:"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z",spellcheck:"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6 L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z",star:"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1 l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z",strikeThrough:"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z",subscript:"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674 l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617 c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621 c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416 c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465 c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548 c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692 c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437 c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458 c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333 c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612 c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823 c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z",superscript:"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z",symbols:"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z",tags:"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z",tableHeader:"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4 l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0 H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20 c0.3,0,0.5,0.2,0.5,0.4l0,0V9z",table
6Style:"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z",textColor:"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z",textMore:"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z",underline:"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z",undo:"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9 C18.9,10.8,14.7,8.7,10.4,9.4z",unlink:"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12 C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1 L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z",unorderedList:"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7 S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z",verticalAlignBottom:"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z",verticalAlignMiddle:"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z",verticalAlignTop:"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z
vendor: 110,738 bytes, lines 6-127
6"},e.FILEICONS={docIcon:{extension:".doc",path:`<g id="surface1"> 7 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 8 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 9 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 10 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.617188 46.875 C 13.234375 46.875 16.160156 43.929688 16.160156 40.292969 C 16.160156 36.695312 13.234375 33.75 9.617188 33.75 L 7.402344 33.75 C 6.820312 33.75 6.371094 34.199219 6.371094 34.78125 L 6.371094 45.84375 C 6.371094 46.335938 6.714844 46.757812 7.191406 46.855469 L 7.402344 46.875 Z M 9.617188 44.792969 L 8.453125 44.792969 L 8.453125 35.832031 L 9.617188 35.832031 C 12.089844 35.832031 14.078125 37.835938 14.078125 40.292969 C 14.078125 42.789062 12.089844 44.773438 9.617188 44.792969 Z M 24.816406 46.875 C 26.539062 46.875 28.191406 46.085938 29.296875 44.867188 C 30.460938 43.648438 31.191406 41.980469 31.191406 40.125 C 31.191406 38.269531 30.460938 36.617188 29.296875 35.382812 C 28.191406 34.144531 26.539062 33.375 24.816406 33.375 C 23.015625 33.375 21.367188 34.144531 20.222656 35.382812 C 19.058594 36.617188 18.367188 38.269531 18.367188 40.125 C 18.367188 41.980469 19.058594 43.648438 20.222656 44.867188 C 21.367188 46.085938 23.015625 46.875 24.816406 46.875 Z M 24.816406 44.738281 C 23.617188 44.738281 22.566406 44.230469 21.777344 43.386719 C 20.992188 42.582031 20.503906 41.398438 20.503906 40.125 C 20.503906 38.851562 20.992188 37.667969 21.777344 36.84375 C 22.566406 36 23.617188 35.511719 24.816406 35.511719 C 25.941406 35.511719 26.992188 36 27.777344 36.84375 C 28.546875 37.667969 29.054688 38.851562 29.054688 40.125 C 29.054688 41.398438 28.546875 42.582031 27.777344 43.386719 C 26.992188 44.230469 25.941406 44.738281 24.816406 44.738281 Z M 39.996094 46.875 C 41.648438 46.875 43.148438 46.332031 44.328125 45.414062 C 44.777344 45.054688 44.851562 44.382812 44.515625 43.914062 C 44.140625 43.460938 43.445312 43.386719 43.015625 43.707031 C 42.171875 44.382812 41.160156 44.738281 39.996094 44.738281 C 38.703125 44.738281 37.503906 44.210938 36.621094 43.386719 C 35.777344 42.5625 35.253906 41.398438 35.253906 40.125 C 35.253906 38.851562 35.777344 37.726562 36.621094 36.863281 C 37.503906 36.039062 38.703125 35.511719 39.996094 35.511719 C 41.160156 35.511719 42.191406 35.867188 43.015625 36.542969 C 43.445312 36.882812 44.140625 36.804688 44.515625 36.335938 C 44.851562 35.867188 44.777344 35.210938 44.328125 34.835938 C 43.148438 33.917969 41.648438 33.375 39.996094 33.375 C 36.246094 33.394531 33.132812 36.414062 33.117188 40.125 C 33.132812 43.855469 36.246094 46.875 39.996094 46.875 Z M 39.996094 46.875 "/> 11 </g>`},gifIcon:{extension:".gif",path:`<g id="surface1"> 12 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 13 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 14 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 15 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.394531 46.875 C 18.988281 46.875 20.46875 46.332031 21.648438 45.414062 C 21.835938 45.28125 21.949219 45.132812 22.003906 44.960938 L 22.003906 44.945312 C 22.023438 44.90625 22.023438 44.886719 22.042969 44.851562 C 22.0625 44.738281 22.097656 44.664062 22.097656 44.53125 L 22.097656 40.386719 C 22.097656 39.789062 21.613281 39.335938 21.011719 39.335938 L 17.28125 39.335938 C 16.699219 39.335938 16.210938 39.789062 16.210938 40.386719 C 16.210938 40.96875 16.699219 41.457031 17.28125 41.457031 L 19.960938 41.457031 L 19.960938 44.023438 C 19.210938 44.457031 18.332031 44.738281 17.394531 44.738281 C 16.042969 44.738281 14.863281 44.230469 14.019531 43.367188 C 13.136719 42.523438 12.613281 41.382812 12.613281 40.144531 C 12.613281 38.867188 13.136719 37.726562 14.019531 36.882812 C 14.863281 36.019531 16.042969 35.511719 17.394531 35.511719 C 18.519531 35.511719 19.550781 35.90625 20.355469 36.523438 C 20.824219 36.898438 21.519531 36.804688 21.875 36.355469 C 22.230469 35.886719 22.15625 35.195312 21.667969 34.835938 C 20.503906 33.917969 18.988281 33.375 17.394531 33.375 C 13.585938 33.375 10.472656 36.375 10.472656 40.144531 C 10.472656 43.894531 13.585938 46.875 17.394531 46.875 Z M 26.945312 46.875 C 27.507812 46.875 27.996094 46.425781 27.996094 45.84375 L 27.996094 34.78125 C 27.996094 34.199219 27.507812 33.75 26.945312 33.75 C 26.363281 33.75 25.914062 34.199219 25.914062 34.78125 L 25.914062 45.84375 C 25.914062 46.425781 26.363281 46.875 26.945312 46.875 Z M 33.066406 46.875 C 33.648438 46.875 34.117188 46.40625 34.117188 45.84375 L 34.117188 41.34375 L 38.488281 41.34375 C 39.050781 41.34375 39.519531 40.875 39.519531 40.292969 C 39.519531 39.75 39.050781 39.261719 38.488281 39.261719 L 34.117188 39.261719 L 34.117188 35.832031 L 39.199219 35.832031 C 39.742188 35.832031 40.230469 35.363281 40.230469 34.78125 C 40.230469 34.21875 39.742188 33.75 39.199219 33.75 L 33.066406 33.75 C 32.488281 33.75 32.035156 34.21875 32.035156 34.78125 L 32.035156 45.84375 C 32.035156 46.40625 32.488281 46.875 33.066406 46.875 Z M 33.066406 46.875 "/> 16 </g>`},jpegIcon:{extension:".jpeg",path:`<g id="surface1"> 17 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 18 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 19 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 20 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9 43.75 C 11.140625 43.75 12.890625 42.015625 12.890625 39.875 L 12.890625 33.671875 C 12.890625 33.1875 12.5 32.8125 12.03125 32.8125 C 11.546875 32.8125 11.15625 33.1875 11.15625 33.671875 L 11.15625 39.875 C 11.15625 41.046875 10.1875 42.015625 9 42.015625 C 8.046875 42.015625 7.234375 41.390625 6.953125 40.53125 C 6.8125 40.078125 6.328125 39.828125 5.859375 39.984375 C 5.421875 40.109375 5.15625 40.59375 5.3125 41.0625 C 5.8125 42.625 7.28125 43.75 9 43.75 Z M 15.640625 43.75 C 16.125 43.75 16.515625 43.359375 16.515625 42.890625 L 16.515625 39.5 L 18.4375 39.5 C 20.296875 39.5 21.796875 38 21.796875 36.171875 C 21.796875 34.3125 20.296875 32.8125 18.4375 32.8125 L 15.640625 32.8125 C 15.171875 32.8125 14.78125 33.1875 14.78125 33.671875 L 14.78125 42.890625 C 14.78125 43.359375 15.171875 43.75 15.640625 43.75 Z M 18.4375 37.765625 L 16.515625 37.765625 L 16.515625 34.546875 L 18.4375 34.546875 C 19.34375 34.546875 20.046875 35.265625 20.0625 36.171875 C 20.046875 37.046875 19.34375 37.765625 18.4375 37.765625 Z M 29.234375 43.75 C 29.6875 43.75 30.09375 43.359375 30.09375 42.890625 C 30.09375 42.40625 29.6875 42.015625 29.234375 42.015625 L 25 42.015625 L 25 39.140625 L 28.640625 39.140625 C 29.109375 39.140625 29.5 38.75 29.5 38.265625 C 29.5 37.8125 29.109375 37.40625 28.640625 37.40625 L 25 37.40625 L 25 34.546875 L 29.234375 34.546875 C 29.6875 34.546875 30.09375 34.15625 30.09375 33.671875 C 30.09375 33.1875 29.6875 32.8125 29.234375 32.8125 L 24.125 32.8125 C 23.640625 32.8125 23.265625 33.1875 23.265625 33.671875 L 23.265625 42.890625 C 23.265625 43.359375 23.640625 43.75 24.125 43.75 C 24.125 43.75 24.140625 43.734375 24.140625 43.734375 C 24.140625 43.734375 24.140625 43.75 24.171875 43.75 Z M 37.1875 43.75 C 38.515625 43.75 39.75 43.296875 40.734375 42.53125 C 40.890625 42.421875 40.984375 42.296875 41.03125 42.15625 L 41.03125 42.140625 C 41.046875 42.109375 41.046875 42.09375 41.0625 42.0625 C 41.078125 41.96875 41.109375 41.90625 41.109375 41.796875 L 41.109375 38.34375 C 41.109375 37.914062 40.8125 37.578125 40.410156 37.492188 L 40.203125 37.46875 L 37.09375 37.46875 C 36.609375 37.46875 36.203125 37.84375 36.203125 38.34375 C 36.203125 38.828125 36.609375 39.234375 37.09375 39.234375 L 39.328125 39.234375 L 39.328125 41.375 C 38.703125 41.734375 37.96875 41.96875 37.1875 41.96875 C 36.0625 41.96875 35.078125 41.546875 34.375 40.828125 C 33.640625 40.125 33.203125 39.171875 33.203125 38.140625 C 33.203125 37.078125 33.640625 36.125 34.375 35.421875 C 35.078125 34.703125 36.0625 34.28125 37.1875 34.28125 C 38.125 34.28125 38.984375 34.609375 39.65625 35.125 C 40.046875 35.4375 40.625 35.359375 40.921875 34.984375 C 41.21875 34.59375 41.15625 34.015625 40.75 33.71875 C 39.78125 32.953125 38.515625 32.5 37.1875 32.5 C 34.015625 32.5 31.421875 35 31.421875 38.140625 C 31.421875 41.265625 34.015625 43.75 37.1875 43.75 Z M 37.1875 43.75 "/> 21 </g>`},logIcon:{extension:".log",path:`<g id="surface1"> 22 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 23 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 24 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 25 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.542969 46.875 C 14.085938 46.875 14.574219 46.40625 14.574219 45.84375 C 14.574219 45.261719 14.085938 44.792969 13.542969 44.792969 L 8.460938 44.792969 L 8.460938 34.78125 C 8.460938 34.21875 7.992188 33.75 7.410156 33.75 C 6.828125 33.75 6.378906 34.21875 6.378906 34.78125 L 6.378906 45.84375 C 6.378906 46.40625 6.828125 46.875 7.410156 46.875 Z M 21.742188 46.875 C 23.46875 46.875 25.117188 46.085938 26.222656 44.867188 C 27.386719 43.648438 28.117188 41.980469 28.117188 40.125 C 28.117188 38.269531 27.386719 36.617188 26.222656 35.382812 C 25.117188 34.144531 23.46875 33.375 21.742188 33.375 C 19.941406 33.375 18.292969 34.144531 17.148438 35.382812 C 15.984375 36.617188 15.292969 38.269531 15.292969 40.125 C 15.292969 41.980469 15.984375 43.648438 17.148438 44.867188 C 18.292969 46.085938 19.941406 46.875 21.742188 46.875 Z M 21.742188 44.738281 C 20.542969 44.738281 19.492188 44.230469 18.703125 43.386719 C 17.917969 42.582031 17.429688 41.398438 17.429688 40.125 C 17.429688 38.851562 17.917969 37.667969 18.703125 36.84375 C 19.492188 36 20.542969 35.511719 21.742188 35.511719 C 22.867188 35.511719 23.917969 36 24.703125 36.84375 C 25.472656 37.667969 25.980469 38.851562 25.980469 40.125 C 25.980469 41.398438 25.472656 42.582031 24.703125 43.386719 C 23.917969 44.230469 22.867188 44.738281 21.742188 44.738281 Z M 37.300781 46.875 C 38.894531 46.875 40.375 46.332031 41.558594 45.414062 C 41.746094 45.28125 41.855469 45.132812 41.914062 44.960938 L 41.914062 44.945312 L 41.949219 44.851562 C 41.96875 44.738281 42.007812 44.664062 42.007812 44.53125 L 42.007812 40.386719 C 42.007812 39.789062 41.519531 39.335938 40.917969 39.335938 L 37.1875 39.335938 C 36.605469 39.335938 36.121094 39.789062 36.121094 40.386719 C 36.121094 40.96875 36.605469 41.457031 37.1875 41.457031 L 39.871094 41.457031 L 39.871094 44.023438 C 39.121094 44.457031 38.238281 44.738281 37.300781 44.738281 C 35.949219 44.738281 34.769531 44.230469 33.925781 43.367188 C 33.042969 42.523438 32.519531 41.382812 32.519531 40.144531 C 32.519531 38.867188 33.042969 37.726562 33.925781 36.882812 C 34.769531 36.019531 35.949219 35.511719 37.300781 35.511719 C 38.425781 35.511719 39.457031 35.90625 40.261719 36.523438 C 40.730469 36.898438 41.425781 36.804688 41.78125 36.355469 C 42.136719 35.886719 42.0625 35.195312 41.574219 34.835938 C 40.414062 33.917969 38.894531 33.375 37.300781 33.375 C 33.496094 33.375 30.382812 36.375 30.382812 40.144531 C 30.382812 43.894531 33.496094 46.875 37.300781 46.875 Z M 37.300781 46.875 "/> 26 </g>`},movIcon:{extension:".mov",path:`<g id="surface1"> 27 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 28 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 29 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 30 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 15.472656 46.875 C 16.035156 46.875 16.523438 46.40625 16.523438 45.84375 L 16.523438 34.78125 C 16.523438 34.289062 16.152344 33.882812 15.679688 33.777344 L 15.472656 33.75 L 15.453125 33.75 C 15.117188 33.75 14.816406 33.898438 14.609375 34.179688 L 10.878906 39.355469 L 7.148438 34.179688 C 6.960938 33.898438 6.625 33.75 6.324219 33.75 L 6.265625 33.75 C 5.703125 33.75 5.234375 34.21875 5.234375 34.78125 L 5.234375 45.84375 C 5.234375 46.40625 5.703125 46.875 6.265625 46.875 C 6.847656 46.875 7.316406 46.40625 7.316406 45.84375 L 7.316406 37.949219 L 10 41.699219 C 10.203125 41.980469 10.523438 42.132812 10.859375 42.132812 L 10.898438 42.132812 C 11.234375 42.132812 11.535156 41.980469 11.742188 41.699219 L 14.441406 37.949219 L 14.441406 45.84375 C 14.441406 46.40625 14.890625 46.875 15.472656 46.875 Z M 25.460938 46.875 C 27.1875 46.875 28.835938 46.085938 29.941406 44.867188 C 31.105469 43.648438 31.835938 41.980469 31.835938 40.125 C 31.835938 38.269531 31.105469 36.617188 29.941406 35.382812 C 28.835938 34.144531 27.1875 33.375 25.460938 33.375 C 23.660156 33.375 22.011719 34.144531 20.867188 35.382812 C 19.703125 36.617188 19.011719 38.269531 19.011719 40.125 C 19.011719 41.980469 19.703125 43.648438 20.867188 44.867188 C 22.011719 46.085938 23.660156 46.875 25.460938 46.875 Z M 25.460938 44.738281 C 24.261719 44.738281 23.210938 44.230469 22.421875 43.386719 C 21.636719 42.582031 21.148438 41.398438 21.148438 40.125 C 21.148438 38.851562 21.636719 37.667969 22.421875 36.84375 C 23.210938 36 24.261719 35.511719 25.460938 35.511719 C 26.585938 35.511719 27.636719 36 28.421875 36.84375 C 29.191406 37.667969 29.699219 38.851562 29.699219 40.125 C 29.699219 41.398438 29.191406 42.582031 28.421875 43.386719 C 27.636719 44.230469 26.585938 44.738281 25.460938 44.738281 Z M 38.683594 46.855469 L 38.71875 46.855469 C 38.777344 46.835938 38.8125 46.820312 38.871094 46.820312 C 38.886719 46.800781 38.886719 46.800781 38.90625 46.800781 C 38.964844 46.78125 39.019531 46.726562 39.058594 46.707031 L 39.09375 46.6875 L 39.207031 46.59375 C 39.226562 46.574219 39.226562 46.574219 39.246094 46.539062 L 39.339844 46.425781 C 39.355469 46.425781 39.355469 46.425781 39.355469 46.40625 C 39.394531 46.367188 39.414062 46.292969 39.433594 46.257812 L 44.0625 35.304688 C 44.269531 34.800781 44.027344 34.179688 43.5 33.976562 C 42.996094 33.75 42.375 33.992188 42.152344 34.519531 L 38.496094 43.199219 L 34.839844 34.519531 C 34.613281 33.992188 34.011719 33.75 33.507812 33.976562 C 32.964844 34.179688 32.71875 34.800781 32.945312 35.304688 L 37.539062 46.257812 C 37.574219 46.292969 37.613281 46.367188 37.632812 46.40625 C 37.632812 46.425781 37.652344 46.425781 37.652344 46.425781 C 37.667969 46.460938 37.707031 46.5 37.746094 46.539062 C 37.746094 46.574219 37.761719 46.574219 37.761719 46.59375 C 37.820312 46.632812 37.855469 46.648438 37.894531 46.6875 L 37.914062 46.6875 C 37.96875 46.726562 38.042969 46.78125 38.082031 46.800781 L 38.101562 46.800781 C 38.101562 46.800781 38.121094 46.800781 38.121094 46.820312 C 38.15625 46.820312 38.230469 46.835938 38.269531 46.855469 L 38.308594 46.855469 L 38.402344 46.871094 L 38.496094 46.875 C 38.550781 46.875 38.605469 46.875 38.683594 46.855469 Z M 38.683594 46.855469 "/> 31 </g>`},ogvIcon:{extension:".ogv",path:`<g id="surface1"> 32 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 33 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 34 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 35 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 11.511719 46.875 C 13.238281 46.875 14.886719 46.085938 15.996094 44.867188 C 17.15625 43.648438 17.886719 41.980469 17.886719 40.125 C 17.886719 38.269531 17.15625 36.617188 15.996094 35.382812 C 14.886719 34.144531 13.238281 33.375 11.511719 33.375 C 9.714844 33.375 8.0625 34.144531 6.917969 35.382812 C 5.757812 36.617188 5.0625 38.269531 5.0625 40.125 C 5.0625 41.980469 5.757812 43.648438 6.917969 44.867188 C 8.0625 46.085938 9.714844 46.875 11.511719 46.875 Z M 11.511719 44.738281 C 10.3125 44.738281 9.261719 44.230469 8.476562 43.386719 C 7.6875 42.582031 7.199219 41.398438 7.199219 40.125 C 7.199219 38.851562 7.6875 37.667969 8.476562 36.84375 C 9.261719 36 10.3125 35.511719 11.511719 35.511719 C 12.636719 35.511719 13.6875 36 14.476562 36.84375 C 15.246094 37.667969 15.75 38.851562 15.75 40.125 C 15.75 41.398438 15.246094 42.582031 14.476562 43.386719 C 13.6875 44.230469 12.636719 44.738281 11.511719 44.738281 Z M 27.25 46.875 C 28.84375 46.875 30.324219 46.332031 31.507812 45.414062 C 31.695312 45.28125 31.804688 45.132812 31.863281 44.960938 L 31.863281 44.945312 C 31.882812 44.90625 31.882812 44.886719 31.898438 44.851562 C 31.917969 44.738281 31.957031 44.664062 31.957031 44.53125 L 31.957031 40.386719 C 31.957031 39.789062 31.46875 39.335938 30.867188 39.335938 L 27.136719 39.335938 C 26.554688 39.335938 26.070312 39.789062 26.070312 40.386719 C 26.070312 40.96875 26.554688 41.457031 27.136719 41.457031 L 29.820312 41.457031 L 29.820312 44.023438 C 29.070312 44.457031 28.1875 44.738281 27.25 44.738281 C 25.898438 44.738281 24.71875 44.230469 23.875 43.367188 C 22.992188 42.523438 22.46875 41.382812 22.46875 40.144531 C 22.46875 38.867188 22.992188 37.726562 23.875 36.882812 C 24.71875 36.019531 25.898438 35.511719 27.25 35.511719 C 28.375 35.511719 29.40625 35.90625 30.210938 36.523438 C 30.679688 36.898438 31.375 36.804688 31.730469 36.355469 C 32.085938 35.886719 32.011719 35.195312 31.523438 34.835938 C 30.363281 33.917969 28.84375 33.375 27.25 33.375 C 23.445312 33.375 20.332031 36.375 20.332031 40.144531 C 20.332031 43.894531 23.445312 46.875 27.25 46.875 Z M 40.191406 46.855469 L 40.230469 46.855469 C 40.285156 46.835938 40.324219 46.820312 40.378906 46.820312 C 40.398438 46.800781 40.398438 46.800781 40.417969 46.800781 C 40.472656 46.78125 40.53125 46.726562 40.566406 46.707031 C 40.605469 46.6875 40.605469 46.6875 40.605469 46.6875 L 40.71875 46.59375 C 40.738281 46.574219 40.738281 46.574219 40.753906 46.539062 L 40.847656 46.425781 C 40.867188 46.425781 40.867188 46.425781 40.867188 46.40625 C 40.90625 46.367188 40.925781 46.292969 40.941406 46.257812 L 45.574219 35.304688 C 45.78125 34.800781 45.535156 34.179688 45.011719 33.976562 C 44.503906 33.75 43.886719 33.992188 43.660156 34.519531 L 40.003906 43.199219 L 36.347656 34.519531 C 36.125 33.992188 35.523438 33.75 35.019531 33.976562 C 34.472656 34.179688 34.230469 34.800781 34.457031 35.304688 L 39.050781 46.257812 C 39.085938 46.292969 39.125 46.367188 39.144531 46.40625 C 39.144531 46.425781 39.160156 46.425781 39.160156 46.425781 C 39.179688 46.460938 39.21875 46.5 39.253906 46.539062 C 39.253906 46.574219 39.273438 46.574219 39.273438 46.59375 C 39.332031 46.632812 39.367188 46.648438 39.40625 46.6875 L 39.425781 46.6875 C 39.480469 46.726562 39.554688 46.78125 39.59375 46.800781 L 39.613281 46.800781 C 39.613281 46.800781 39.628906 46.800781 39.628906 46.820312 C 39.667969 46.820312 39.742188 46.835938 39.78125 46.855469 L 39.816406 46.855469 L 39.910156 46.871094 L 40.003906 46.875 C 40.0625 46.875 40.117188 46.875 40.191406 46.855469 Z M 40.191406 46.855469 "/> 36 </g>`},pngIcon:{extension:".png",path:`<g id="surface1"> 37 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 38 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 39 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 40 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.523438 46.875 C 8.105469 46.875 8.574219 46.40625 8.574219 45.84375 L 8.574219 41.773438 L 10.878906 41.773438 C 13.109375 41.773438 14.910156 39.976562 14.910156 37.78125 C 14.910156 35.550781 13.109375 33.75 10.878906 33.75 L 7.523438 33.75 C 6.960938 33.75 6.492188 34.199219 6.492188 34.78125 L 6.492188 45.84375 C 6.492188 46.40625 6.960938 46.875 7.523438 46.875 Z M 10.878906 39.695312 L 8.574219 39.695312 L 8.574219 35.832031 L 10.878906 35.832031 C 11.964844 35.832031 12.808594 36.695312 12.828125 37.78125 C 12.808594 38.832031 11.964844 39.695312 10.878906 39.695312 Z M 26.75 46.875 C 27.3125 46.875 27.78125 46.40625 27.78125 45.84375 L 27.78125 34.949219 C 27.78125 34.40625 27.3125 33.9375 26.75 33.9375 C 26.1875 33.9375 25.738281 34.40625 25.738281 34.949219 L 25.738281 42.675781 L 19.679688 34.292969 C 19.363281 33.84375 18.722656 33.75 18.253906 34.070312 C 17.972656 34.273438 17.824219 34.613281 17.84375 34.929688 L 17.84375 45.84375 C 17.84375 46.40625 18.292969 46.875 18.875 46.875 C 19.417969 46.875 19.886719 46.40625 19.886719 45.84375 L 19.886719 38.0625 L 25.886719 46.386719 C 25.90625 46.425781 25.941406 46.460938 25.980469 46.5 C 26.167969 46.726562 26.449219 46.875 26.75 46.875 Z M 38.082031 46.875 C 39.675781 46.875 41.15625 46.332031 42.339844 45.414062 C 42.527344 45.28125 42.636719 45.132812 42.695312 44.960938 L 42.695312 44.945312 C 42.714844 44.90625 42.714844 44.886719 42.730469 44.851562 C 42.75 44.738281 42.789062 44.664062 42.789062 44.53125 L 42.789062 40.386719 C 42.789062 39.789062 42.300781 39.335938 41.699219 39.335938 L 37.96875 39.335938 C 37.386719 39.335938 36.902344 39.789062 36.902344 40.386719 C 36.902344 40.96875 37.386719 41.457031 37.96875 41.457031 L 40.652344 41.457031 L 40.652344 44.023438 C 39.902344 44.457031 39.019531 44.738281 38.082031 44.738281 C 36.730469 44.738281 35.550781 44.230469 34.707031 43.367188 C 33.824219 42.523438 33.300781 41.382812 33.300781 40.144531 C 33.300781 38.867188 33.824219 37.726562 34.707031 36.882812 C 35.550781 36.019531 36.730469 35.511719 38.082031 35.511719 C 39.207031 35.511719 40.238281 35.90625 41.042969 36.523438 C 41.511719 36.898438 42.207031 36.804688 42.5625 36.355469 C 42.917969 35.886719 42.84375 35.195312 42.355469 34.835938 C 41.195312 33.917969 39.675781 33.375 38.082031 33.375 C 34.277344 33.375 31.164062 36.375 31.164062 40.144531 C 31.164062 43.894531 34.277344 46.875 38.082031 46.875 Z M 38.082031 46.875 "/> 41 </g>`},txtIcon:{extension:".txt",path:`<g id="surface1"> 42 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 43 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 44 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 45 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 12.847656 46.875 C 13.429688 46.875 13.878906 46.425781 13.878906 45.84375 L 13.878906 35.832031 L 16.859375 35.832031 C 17.421875 35.832031 17.890625 35.34375 17.890625 34.78125 C 17.890625 34.199219 17.421875 33.75 16.859375 33.75 L 8.855469 33.75 C 8.273438 33.75 7.824219 34.199219 7.824219 34.78125 C 7.824219 35.34375 8.273438 35.832031 8.855469 35.832031 L 11.816406 35.832031 L 11.816406 45.84375 C 11.816406 46.425781 12.285156 46.875 12.847656 46.875 Z M 29.019531 46.875 C 29.222656 46.875 29.429688 46.800781 29.617188 46.667969 C 30.085938 46.351562 30.160156 45.695312 29.84375 45.242188 L 26.28125 40.367188 L 29.84375 35.53125 C 30.160156 35.0625 30.085938 34.425781 29.617188 34.105469 C 29.148438 33.75 28.53125 33.84375 28.175781 34.332031 L 25.023438 38.644531 L 21.855469 34.332031 C 21.535156 33.84375 20.878906 33.75 20.429688 34.105469 C 19.960938 34.425781 19.867188 35.0625 20.1875 35.53125 L 23.75 40.367188 L 20.1875 45.242188 C 19.867188 45.695312 19.960938 46.351562 20.429688 46.667969 C 20.597656 46.800781 20.804688 46.875 21.03125 46.875 C 21.347656 46.875 21.648438 46.707031 21.855469 46.445312 L 25.023438 42.113281 L 28.175781 46.445312 C 28.378906 46.707031 28.679688 46.875 29.019531 46.875 Z M 37.464844 46.875 C 38.042969 46.875 38.496094 46.425781 38.496094 45.84375 L 38.496094 35.832031 L 41.476562 35.832031 C 42.039062 35.832031 42.507812 35.34375 42.507812 34.78125 C 42.507812 34.199219 42.039062 33.75 41.476562 33.75 L 33.46875 33.75 C 32.886719 33.75 32.4375 34.199219 32.4375 34.78125 C 32.4375 35.34375 32.886719 35.832031 33.46875 35.832031 L 36.433594 35.832031 L 36.433594 45.84375 C 36.433594 46.425781 36.902344 46.875 37.464844 46.875 Z M 37.464844 46.875 "/> 46 </g>`},webmIcon:{extension:".webm",path:`<g id="surface1"> 47 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 48 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 49 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 50 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.195312 43.734375 L 7.242188 43.734375 C 7.273438 43.71875 7.304688 43.703125 7.367188 43.703125 C 7.367188 43.6875 7.382812 43.6875 7.382812 43.6875 L 7.398438 43.6875 C 7.429688 43.671875 7.476562 43.625 7.523438 43.59375 L 7.554688 43.59375 C 7.585938 43.5625 7.617188 43.53125 7.648438 43.515625 C 7.648438 43.5 7.664062 43.5 7.664062 43.46875 L 7.757812 43.375 C 7.757812 43.375 7.757812 43.359375 7.773438 43.359375 C 7.789062 43.328125 7.820312 43.265625 7.835938 43.21875 L 9.882812 38.375 L 11.929688 43.21875 C 11.945312 43.265625 11.960938 43.328125 11.992188 43.359375 C 11.992188 43.359375 11.992188 43.375 12.023438 43.375 L 12.085938 43.46875 C 12.101562 43.5 12.101562 43.5 12.117188 43.515625 C 12.148438 43.53125 12.179688 43.5625 12.226562 43.59375 L 12.242188 43.59375 C 12.273438 43.625 12.320312 43.671875 12.382812 43.6875 C 12.398438 43.6875 12.398438 43.6875 12.414062 43.703125 C 12.445312 43.703125 12.476562 43.71875 12.523438 43.734375 L 12.570312 43.734375 L 12.640625 43.746094 L 12.710938 43.75 C 12.773438 43.75 12.820312 43.75 12.867188 43.734375 L 12.898438 43.734375 C 12.945312 43.71875 12.992188 43.703125 13.023438 43.703125 C 13.023438 43.6875 13.039062 43.6875 13.039062 43.6875 L 13.054688 43.6875 C 13.117188 43.671875 13.148438 43.625 13.195312 43.59375 L 13.210938 43.59375 C 13.242188 43.5625 13.289062 43.53125 13.320312 43.515625 C 13.320312 43.5 13.335938 43.5 13.335938 43.46875 C 13.367188 43.4375 13.398438 43.40625 13.414062 43.375 C 13.414062 43.375 13.429688 43.359375 13.429688 43.359375 C 13.460938 43.328125 13.492188 43.265625 13.507812 43.21875 L 17.335938 34.109375 C 17.523438 33.6875 17.320312 33.171875 16.898438 33 C 16.445312 32.8125 15.945312 33.015625 15.757812 33.453125 L 12.710938 40.6875 L 10.695312 35.890625 C 10.539062 35.546875 10.210938 35.359375 9.882812 35.359375 C 9.539062 35.359375 9.210938 35.546875 9.070312 35.890625 L 7.054688 40.6875 L 3.992188 33.453125 C 3.820312 33.015625 3.304688 32.8125 2.882812 33 C 2.429688 33.171875 2.242188 33.6875 2.414062 34.109375 L 6.257812 43.21875 C 6.289062 43.265625 6.304688 43.328125 6.335938 43.359375 L 6.335938 43.375 C 6.367188 43.40625 6.382812 43.4375 6.414062 43.46875 C 6.429688 43.5 6.429688 43.5 6.445312 43.515625 C 6.492188 43.53125 6.507812 43.5625 6.554688 43.59375 L 6.570312 43.59375 C 6.601562 43.625 6.664062 43.671875 6.710938 43.6875 C 6.726562 43.6875 6.726562 43.6875 6.742188 43.703125 C 6.773438 43.703125 6.804688 43.71875 6.851562 43.734375 L 6.898438 43.734375 L 6.976562 43.746094 L 7.054688 43.75 C 7.101562 43.75 7.148438 43.75 7.195312 43.734375 Z M 25.179688 43.75 C 25.632812 43.75 26.039062 43.359375 26.039062 42.890625 C 26.039062 42.40625 25.632812 42.015625 25.179688 42.015625 L 20.945312 42.015625 L 20.945312 39.140625 L 24.585938 39.140625 C 25.054688 39.140625 25.445312 38.75 25.445312 38.265625 C 25.445312 37.8125 25.054688 37.40625 24.585938 37.40625 L 20.945312 37.40625 L 20.945312 34.546875 L 25.179688 34.546875 C 25.632812 34.546875 26.039062 34.15625 26.039062 33.671875 C 26.039062 33.1875 25.632812 32.8125 25.179688 32.8125 L 20.070312 32.8125 C 19.585938 32.8125 19.210938 33.1875 19.210938 33.671875 L 19.210938 42.890625 C 19.210938 43.359375 19.585938 43.75 20.070312 43.75 C 20.070312 43.75 20.085938 43.734375 20.085938 43.734375 C 20.085938 43.734375 20.085938 43.75 20.117188 43.75 Z M 31.539062 43.75 C 33.382812 43.75 34.882812 42.25 34.882812 40.390625 C 34.882812 39.203125 34.242188 38.15625 33.304688 37.5625 C 33.679688 37.0625 33.898438 36.453125 33.898438 35.78125 C 33.898438 34.140625 32.570312 32.8125 30.929688 32.8125 L 28.710938 32.8125 C 28.242188 32.8125 27.851562 33.1875 27.851562 33.671875 L 27.851562 42.890625 C 27.851562 43.359375 28.242188 43.75 28.710938 43.75 L 28.757812 43.734375 C 28.757812 43.734375 28.757812 43.75 28.773438 43.75 Z M 30.929688 37.046875 L 29.585938 37.046875 L 29.585938 34.546875 L 30.929688 34.546875 C 31.617188 34.546875 32.164062 35.09375 32.164062 35.78125 C 32.164062 36.46875 31.617188 37.046875 30.929688 37.046875 Z M 31.539062 42.015625 L 29.585938 42.015625 L 29.585938 38.78125 L 31.539062 38.78125 C 32.429688 38.796875 33.148438 39.5 33.148438 40.390625 C 33.148438 41.296875 32.429688 42 31.539062 42.015625 Z M 45.664062 43.75 C 46.132812 43.75 46.539062 43.359375 46.539062 42.890625 L 46.539062 33.671875 C 46.539062 33.269531 46.242188 32.9375 45.859375 32.839844 L 45.664062 32.8125 L 45.648438 32.8125 C 45.367188 32.8125 45.117188 32.9375 44.945312 33.171875 L 41.835938 37.484375 L 38.726562 33.171875 C 38.570312 32.9375 38.289062 32.8125 38.039062 32.8125 L 37.992188 32.8125 C 37.523438 32.8125 37.132812 33.203125 37.132812 33.671875 L 37.132812 42.890625 C 37.132812 43.359375 37.523438 43.75 37.992188 43.75 C 38.476562 43.75 38.867188 43.359375 38.867188 42.890625 L 38.867188 36.3125 L 41.101562 39.4375 C 41.273438 39.671875 41.539062 39.796875 41.820312 39.796875 L 41.851562 39.796875 C 42.132812 39.796875 42.382812 39.671875 42.554688 39.4375 L 44.804688 36.3125 L 44.804688 42.890625 C 44.804688 43.359375 45.179688 43.75 45.664062 43.75 Z M 45.664062 43.75 "/> 51 </g>`},webpIcon:{extension:".webp",path:`<g id="surface1"> 52 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 53 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 54 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 55 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 9.234375 43.734375 L 9.28125 43.734375 C 9.3125 43.71875 9.34375 43.703125 9.40625 43.703125 L 9.414062 43.6875 C 9.421875 43.6875 9.421875 43.6875 9.4375 43.6875 C 9.46875 43.671875 9.515625 43.625 9.5625 43.59375 L 9.59375 43.59375 C 9.625 43.5625 9.65625 43.53125 9.6875 43.515625 C 9.6875 43.5 9.703125 43.5 9.703125 43.46875 L 9.796875 43.375 C 9.796875 43.375 9.796875 43.359375 9.8125 43.359375 C 9.828125 43.328125 9.859375 43.265625 9.875 43.21875 L 11.921875 38.375 L 13.96875 43.21875 C 13.984375 43.265625 14 43.328125 14.03125 43.359375 C 14.03125 43.359375 14.03125 43.375 14.0625 43.375 L 14.125 43.46875 C 14.140625 43.5 14.140625 43.5 14.15625 43.515625 L 14.203125 43.546875 L 14.265625 43.59375 C 14.265625 43.59375 14.265625 43.59375 14.28125 43.59375 C 14.3125 43.625 14.359375 43.671875 14.421875 43.6875 C 14.4375 43.6875 14.4375 43.6875 14.453125 43.703125 C 14.484375 43.703125 14.515625 43.71875 14.5625 43.734375 L 14.609375 43.734375 L 14.679688 43.746094 L 14.75 43.75 C 14.8125 43.75 14.859375 43.75 14.90625 43.734375 L 14.9375 43.734375 C 14.984375 43.71875 15.03125 43.703125 15.0625 43.703125 C 15.0625 43.6875 15.078125 43.6875 15.078125 43.6875 L 15.09375 43.6875 C 15.15625 43.671875 15.1875 43.625 15.234375 43.59375 L 15.25 43.59375 C 15.28125 43.5625 15.328125 43.53125 15.359375 43.515625 C 15.359375 43.5 15.375 43.5 15.375 43.46875 C 15.40625 43.4375 15.4375 43.40625 15.453125 43.375 L 15.46875 43.359375 C 15.5 43.328125 15.53125 43.265625 15.546875 43.21875 L 19.375 34.109375 C 19.5625 33.6875 19.359375 33.171875 18.9375 33 C 18.484375 32.8125 17.984375 33.015625 17.796875 33.453125 L 14.75 40.6875 L 12.734375 35.890625 C 12.578125 35.546875 12.25 35.359375 11.921875 35.359375 C 11.578125 35.359375 11.25 35.546875 11.109375 35.890625 L 9.09375 40.6875 L 6.03125 33.453125 C 5.859375 33.015625 5.34375 32.8125 4.921875 33 C 4.46875 33.171875 4.28125 33.6875 4.453125 34.109375 L 8.296875 43.21875 C 8.328125 43.265625 8.34375 43.328125 8.375 43.359375 L 8.375 43.375 C 8.40625 43.40625 8.421875 43.4375 8.453125 43.46875 C 8.46875 43.5 8.46875 43.5 8.484375 43.515625 L 8.539062 43.546875 L 8.59375 43.59375 C 8.59375 43.59375 8.59375 43.59375 8.609375 43.59375 C 8.640625 43.625 8.703125 43.671875 8.75 43.6875 C 8.765625 43.6875 8.765625 43.6875 8.78125 43.703125 C 8.8125 43.703125 8.84375 43.71875 8.890625 43.734375 L 8.9375 43.734375 L 9.015625 43.746094 L 9.09375 43.75 C 9.140625 43.75 9.1875 43.75 9.234375 43.734375 Z M 27.21875 43.75 C 27.671875 43.75 28.078125 43.359375 28.078125 42.890625 C 28.078125 42.40625 27.671875 42.015625 27.21875 42.015625 L 22.984375 42.015625 L 22.984375 39.140625 L 26.625 39.140625 C 27.09375 39.140625 27.484375 38.75 27.484375 38.265625 C 27.484375 37.8125 27.09375 37.40625 26.625 37.40625 L 22.984375 37.40625 L 22.984375 34.546875 L 27.21875 34.546875 C 27.671875 34.546875 28.078125 34.15625 28.078125 33.671875 C 28.078125 33.1875 27.671875 32.8125 27.21875 32.8125 L 22.109375 32.8125 C 21.625 32.8125 21.25 33.1875 21.25 33.671875 L 21.25 42.890625 C 21.25 43.359375 21.625 43.75 22.109375 43.75 L 22.125 43.734375 C 22.125 43.734375 22.125 43.75 22.15625 43.75 Z M 33.578125 43.75 C 35.421875 43.75 36.921875 42.25 36.921875 40.390625 C 36.921875 39.203125 36.28125 38.15625 35.34375 37.5625 C 35.71875 37.0625 35.9375 36.453125 35.9375 35.78125 C 35.9375 34.140625 34.609375 32.8125 32.96875 32.8125 L 30.75 32.8125 C 30.28125 32.8125 29.890625 33.1875 29.890625 33.671875 L 29.890625 42.890625 C 29.890625 43.359375 30.28125 43.75 30.75 43.75 C 30.765625 43.75 30.765625 43.734375 30.796875 43.734375 C 30.796875 43.734375 30.796875 43.75 30.8125 43.75 Z M 32.96875 37.046875 L 31.625 37.046875 L 31.625 34.546875 L 32.96875 34.546875 C 33.65625 34.546875 34.203125 35.09375 34.203125 35.78125 C 34.203125 36.46875 33.65625 37.046875 32.96875 37.046875 Z M 33.578125 42.015625 L 31.625 42.015625 L 31.625 38.78125 L 33.578125 38.78125 C 34.46875 38.796875 35.1875 39.5 35.1875 40.390625 C 35.1875 41.296875 34.46875 42 33.578125 42.015625 Z M 40.03125 43.75 C 40.515625 43.75 40.90625 43.359375 40.90625 42.890625 L 40.90625 39.5 L 42.828125 39.5 C 44.6875 39.5 46.1875 38 46.1875 36.171875 C 46.1875 34.3125 44.6875 32.8125 42.828125 32.8125 L 40.03125 32.8125 C 39.5625 32.8125 39.171875 33.1875 39.171875 33.671875 L 39.171875 42.890625 C 39.171875 43.359375 39.5625 43.75 40.03125 43.75 Z M 42.828125 37.765625 L 40.90625 37.765625 L 40.90625 34.546875 L 42.828125 34.546875 C 43.734375 34.546875 44.4375 35.265625 44.453125 36.171875 C 44.4375 37.046875 43.734375 37.765625 42.828125 37.765625 Z M 42.828125 37.765625 "/> 56 </g>`},wmvIcon:{extension:".wmv",path:`<g id="surface1"> 57 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 58 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 59 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 60 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.484375 43.734375 L 8.53125 43.734375 C 8.5625 43.71875 8.59375 43.703125 8.65625 43.703125 L 8.664062 43.6875 C 8.671875 43.6875 8.671875 43.6875 8.6875 43.6875 C 8.71875 43.671875 8.765625 43.625 8.8125 43.59375 L 8.84375 43.59375 C 8.875 43.5625 8.90625 43.53125 8.9375 43.515625 C 8.9375 43.5 8.953125 43.5 8.953125 43.46875 L 9.046875 43.375 C 9.046875 43.375 9.046875 43.359375 9.0625 43.359375 C 9.078125 43.328125 9.109375 43.265625 9.125 43.21875 L 11.171875 38.375 L 13.21875 43.21875 C 13.234375 43.265625 13.25 43.328125 13.28125 43.359375 C 13.28125 43.359375 13.28125 43.375 13.3125 43.375 L 13.375 43.46875 C 13.390625 43.5 13.390625 43.5 13.40625 43.515625 L 13.453125 43.546875 L 13.515625 43.59375 C 13.515625 43.59375 13.515625 43.59375 13.53125 43.59375 C 13.5625 43.625 13.609375 43.671875 13.671875 43.6875 C 13.6875 43.6875 13.6875 43.6875 13.703125 43.703125 C 13.734375 43.703125 13.765625 43.71875 13.8125 43.734375 L 13.859375 43.734375 L 13.929688 43.746094 L 14 43.75 C 14.0625 43.75 14.109375 43.75 14.15625 43.734375 L 14.1875 43.734375 C 14.234375 43.71875 14.28125 43.703125 14.3125 43.703125 C 14.3125 43.6875 14.328125 43.6875 14.328125 43.6875 L 14.34375 43.6875 C 14.40625 43.671875 14.4375 43.625 14.484375 43.59375 L 14.5 43.59375 C 14.53125 43.5625 14.578125 43.53125 14.609375 43.515625 C 14.609375 43.5 14.625 43.5 14.625 43.46875 C 14.65625 43.4375 14.6875 43.40625 14.703125 43.375 L 14.71875 43.359375 C 14.75 43.328125 14.78125 43.265625 14.796875 43.21875 L 18.625 34.109375 C 18.8125 33.6875 18.609375 33.171875 18.1875 33 C 17.734375 32.8125 17.234375 33.015625 17.046875 33.453125 L 14 40.6875 L 11.984375 35.890625 C 11.828125 35.546875 11.5 35.359375 11.171875 35.359375 C 10.828125 35.359375 10.5 35.546875 10.359375 35.890625 L 8.34375 40.6875 L 5.28125 33.453125 C 5.109375 33.015625 4.59375 32.8125 4.171875 33 C 3.71875 33.171875 3.53125 33.6875 3.703125 34.109375 L 7.546875 43.21875 C 7.578125 43.265625 7.59375 43.328125 7.625 43.359375 L 7.625 43.375 C 7.65625 43.40625 7.671875 43.4375 7.703125 43.46875 C 7.71875 43.5 7.71875 43.5 7.734375 43.515625 L 7.789062 43.546875 L 7.84375 43.59375 C 7.84375 43.59375 7.84375 43.59375 7.859375 43.59375 C 7.890625 43.625 7.953125 43.671875 8 43.6875 C 8.015625 43.6875 8.015625 43.6875 8.03125 43.703125 C 8.0625 43.703125 8.09375 43.71875 8.140625 43.734375 L 8.1875 43.734375 L 8.265625 43.746094 L 8.34375 43.75 C 8.390625 43.75 8.4375 43.75 8.484375 43.734375 Z M 29.03125 43.75 C 29.5 43.75 29.90625 43.359375 29.90625 42.890625 L 29.90625 33.671875 C 29.90625 33.269531 29.609375 32.9375 29.226562 32.839844 L 29.03125 32.8125 L 29.015625 32.8125 C 28.734375 32.8125 28.484375 32.9375 28.3125 33.171875 L 25.203125 37.484375 L 22.09375 33.171875 C 21.9375 32.9375 21.65625 32.8125 21.40625 32.8125 L 21.359375 32.8125 C 20.890625 32.8125 20.5 33.203125 20.5 33.671875 L 20.5 42.890625 C 20.5 43.359375 20.890625 43.75 21.359375 43.75 C 21.84375 43.75 22.234375 43.359375 22.234375 42.890625 L 22.234375 36.3125 L 24.46875 39.4375 C 24.640625 39.671875 24.90625 39.796875 25.1875 39.796875 L 25.21875 39.796875 C 25.5 39.796875 25.75 39.671875 25.921875 39.4375 L 28.171875 36.3125 L 28.171875 42.890625 C 28.171875 43.359375 28.546875 43.75 29.03125 43.75 Z M 37.015625 43.734375 L 37.0625 43.734375 C 37.09375 43.71875 37.125 43.703125 37.1875 43.703125 L 37.195312 43.6875 C 37.203125 43.6875 37.203125 43.6875 37.21875 43.6875 C 37.25 43.671875 37.296875 43.625 37.34375 43.59375 L 37.375 43.59375 C 37.40625 43.5625 37.4375 43.53125 37.46875 43.515625 C 37.46875 43.5 37.484375 43.5 37.484375 43.46875 L 37.578125 43.375 C 37.578125 43.375 37.578125 43.359375 37.59375 43.359375 C 37.609375 43.328125 37.640625 43.265625 37.65625 43.21875 L 39.703125 38.375 L 41.75 43.21875 C 41.765625 43.265625 41.78125 43.328125 41.8125 43.359375 C 41.8125 43.359375 41.8125 43.375 41.84375 43.375 L 41.90625 43.46875 C 41.921875 43.5 41.921875 43.5 41.9375 43.515625 L 41.984375 43.546875 L 42.046875 43.59375 C 42.046875 43.59375 42.046875 43.59375 42.0625 43.59375 C 42.09375 43.625 42.140625 43.671875 42.203125 43.6875 C 42.21875 43.6875 42.21875 43.6875 42.234375 43.703125 C 42.265625 43.703125 42.296875 43.71875 42.34375 43.734375 L 42.390625 43.734375 L 42.460938 43.746094 L 42.53125 43.75 C 42.59375 43.75 42.640625 43.75 42.6875 43.734375 L 42.71875 43.734375 C 42.765625 43.71875 42.8125 43.703125 42.84375 43.703125 C 42.84375 43.6875 42.859375 43.6875 42.859375 43.6875 L 42.875 43.6875 C 42.9375 43.671875 42.96875 43.625 43.015625 43.59375 L 43.03125 43.59375 C 43.0625 43.5625 43.109375 43.53125 43.140625 43.515625 C 43.140625 43.5 43.15625 43.5 43.15625 43.46875 C 43.1875 43.4375 43.21875 43.40625 43.234375 43.375 L 43.25 43.359375 C 43.28125 43.328125 43.3125 43.265625 43.328125 43.21875 L 47.15625 34.109375 C 47.34375 33.6875 47.140625 33.171875 46.71875 33 C 46.265625 32.8125 45.765625 33.015625 45.578125 33.453125 L 42.53125 40.6875 L 40.515625 35.890625 C 40.359375 35.546875 40.03125 35.359375 39.703125 35.359375 C 39.359375 35.359375 39.03125 35.546875 38.890625 35.890625 L 36.875 40.6875 L 33.8125 33.453125 C 33.640625 33.015625 33.125 32.8125 32.703125 33 C 32.25 33.171875 32.0625 33.6875 32.234375 34.109375 L 36.078125 43.21875 C 36.109375 43.265625 36.125 43.328125 36.15625 43.359375 L 36.15625 43.375 C 36.1875 43.40625 36.203125 43.4375 36.234375 43.46875 C 36.25 43.5 36.25 43.5 36.265625 43.515625 L 36.320312 43.546875 L 36.375 43.59375 C 36.375 43.59375 36.375 43.59375 36.390625 43.59375 C 36.421875 43.625 36.484375 43.671875 36.53125 43.6875 C 36.546875 43.6875 36.546875 43.6875 36.5625 43.703125 C 36.59375 43.703125 36.625 43.71875 36.671875 43.734375 L 36.71875 43.734375 L 36.796875 43.746094 L 36.875 43.75 C 36.921875 43.75 36.96875 43.75 37.015625 43.734375 Z M 37.015625 43.734375 "/> 61 </g>`},xlsIcon:{extension:".xls",path:`<g id="surface1"> 62 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 63 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 64 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 65 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 17.21875 46.875 C 17.425781 46.875 17.632812 46.800781 17.820312 46.667969 C 18.289062 46.351562 18.363281 45.695312 18.042969 45.242188 L 14.480469 40.367188 L 18.042969 35.53125 C 18.363281 35.0625 18.289062 34.425781 17.820312 34.105469 C 17.351562 33.75 16.730469 33.84375 16.375 34.332031 L 13.226562 38.644531 L 10.054688 34.332031 C 9.738281 33.84375 9.082031 33.75 8.632812 34.105469 C 8.164062 34.425781 8.070312 35.0625 8.386719 35.53125 L 11.949219 40.367188 L 8.386719 45.242188 C 8.070312 45.695312 8.164062 46.351562 8.632812 46.667969 C 8.800781 46.800781 9.007812 46.875 9.230469 46.875 C 9.550781 46.875 9.851562 46.707031 10.054688 46.445312 L 13.226562 42.113281 L 16.375 46.445312 C 16.582031 46.707031 16.882812 46.875 17.21875 46.875 Z M 29.351562 46.875 C 29.894531 46.875 30.382812 46.40625 30.382812 45.84375 C 30.382812 45.261719 29.894531 44.792969 29.351562 44.792969 L 24.269531 44.792969 L 24.269531 34.78125 C 24.269531 34.21875 23.800781 33.75 23.21875 33.75 C 22.636719 33.75 22.1875 34.21875 22.1875 34.78125 L 22.1875 45.84375 C 22.1875 46.335938 22.53125 46.757812 23.007812 46.855469 L 23.222656 46.875 Z M 37.28125 46.855469 C 38.613281 46.855469 39.832031 46.460938 40.75 45.789062 C 41.6875 45.113281 42.363281 44.082031 42.363281 42.882812 C 42.363281 42.300781 42.195312 41.738281 41.914062 41.289062 C 41.480469 40.59375 40.804688 40.105469 40.039062 39.730469 C 39.289062 39.375 38.40625 39.132812 37.449219 38.945312 L 37.414062 38.945312 C 36.398438 38.757812 35.554688 38.457031 35.070312 38.117188 C 34.824219 37.949219 34.65625 37.78125 34.5625 37.632812 C 34.46875 37.480469 34.429688 37.332031 34.429688 37.105469 C 34.429688 36.710938 34.636719 36.300781 35.144531 35.925781 C 35.648438 35.550781 36.398438 35.289062 37.242188 35.289062 C 38.386719 35.289062 39.304688 35.851562 40.261719 36.488281 C 40.710938 36.789062 41.3125 36.65625 41.59375 36.207031 C 41.894531 35.773438 41.761719 35.175781 41.332031 34.875 C 40.375 34.257812 39.042969 33.375 37.242188 33.375 C 36.023438 33.375 34.882812 33.730469 34 34.367188 C 33.136719 35.007812 32.5 35.980469 32.5 37.105469 C 32.5 37.667969 32.648438 38.195312 32.929688 38.644531 C 33.34375 39.300781 33.960938 39.769531 34.675781 40.105469 C 35.386719 40.445312 36.210938 40.667969 37.09375 40.835938 L 37.132812 40.835938 C 38.238281 41.042969 39.15625 41.363281 39.699219 41.71875 C 39.980469 41.90625 40.148438 42.09375 40.261719 42.28125 C 40.375 42.46875 40.429688 42.636719 40.429688 42.882812 C 40.429688 43.351562 40.1875 43.820312 39.625 44.230469 C 39.0625 44.644531 38.21875 44.925781 37.28125 44.925781 C 35.949219 44.945312 34.523438 44.15625 33.699219 43.480469 C 33.289062 43.144531 32.667969 43.199219 32.332031 43.613281 C 32.011719 44.023438 32.070312 44.644531 32.480469 44.980469 C 33.550781 45.824219 35.257812 46.835938 37.28125 46.855469 Z M 37.28125 46.855469 "/> 66 </g>`},xlsxIcon:{extension:".xlsx",path:`<g id="surface1"> 67 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 68 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 69 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 70 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 13.070312 43.75 C 13.242188 43.75 13.414062 43.6875 13.570312 43.578125 C 13.960938 43.3125 14.023438 42.765625 13.757812 42.390625 L 10.789062 38.328125 L 13.757812 34.296875 C 14.023438 33.90625 13.960938 33.375 13.570312 33.109375 C 13.179688 32.8125 12.664062 32.890625 12.367188 33.296875 L 9.742188 36.890625 L 7.101562 33.296875 C 6.835938 32.890625 6.289062 32.8125 5.914062 33.109375 C 5.523438 33.375 5.445312 33.90625 5.710938 34.296875 L 8.679688 38.328125 L 5.710938 42.390625 C 5.445312 42.765625 5.523438 43.3125 5.914062 43.578125 C 6.054688 43.6875 6.226562 43.75 6.414062 43.75 C 6.679688 43.75 6.929688 43.609375 7.101562 43.390625 L 9.742188 39.78125 L 12.367188 43.390625 C 12.539062 43.609375 12.789062 43.75 13.070312 43.75 Z M 23.179688 43.75 C 23.632812 43.75 24.039062 43.359375 24.039062 42.890625 C 24.039062 42.40625 23.632812 42.015625 23.179688 42.015625 L 18.945312 42.015625 L 18.945312 33.671875 C 18.945312 33.203125 18.554688 32.8125 18.070312 32.8125 C 17.585938 32.8125 17.210938 33.203125 17.210938 33.671875 L 17.210938 42.890625 C 17.210938 43.359375 17.585938 43.75 18.070312 43.75 Z M 29.789062 43.734375 C 30.898438 43.734375 31.914062 43.40625 32.679688 42.84375 C 33.460938 42.28125 34.023438 41.421875 34.023438 40.421875 C 34.023438 39.9375 33.882812 39.46875 33.648438 39.09375 C 33.289062 38.515625 32.726562 38.109375 32.085938 37.796875 C 31.460938 37.5 30.726562 37.296875 29.929688 37.140625 L 29.898438 37.140625 C 29.054688 36.984375 28.351562 36.734375 27.945312 36.453125 C 27.742188 36.3125 27.601562 36.171875 27.523438 36.046875 C 27.445312 35.921875 27.414062 35.796875 27.414062 35.609375 C 27.414062 35.28125 27.585938 34.9375 28.007812 34.625 C 28.429688 34.3125 29.054688 34.09375 29.757812 34.09375 C 30.710938 34.09375 31.476562 34.5625 32.273438 35.09375 C 32.648438 35.34375 33.148438 35.234375 33.382812 34.859375 C 33.632812 34.5 33.523438 34 33.164062 33.75 C 32.367188 33.234375 31.257812 32.5 29.757812 32.5 C 28.742188 32.5 27.789062 32.796875 27.054688 33.328125 C 26.335938 33.859375 25.804688 34.671875 25.804688 35.609375 C 25.804688 36.078125 25.929688 36.515625 26.164062 36.890625 C 26.507812 37.4375 27.023438 37.828125 27.617188 38.109375 C 28.210938 38.390625 28.898438 38.578125 29.632812 38.71875 L 29.664062 38.71875 C 30.585938 38.890625 31.351562 39.15625 31.804688 39.453125 C 32.039062 39.609375 32.179688 39.765625 32.273438 39.921875 C 32.367188 40.078125 32.414062 40.21875 32.414062 40.421875 C 32.414062 40.8125 32.210938 41.203125 31.742188 41.546875 C 31.273438 41.890625 30.570312 42.125 29.789062 42.125 C 28.679688 42.140625 27.492188 41.484375 26.804688 40.921875 C 26.460938 40.640625 25.945312 40.6875 25.664062 41.03125 C 25.398438 41.375 25.445312 41.890625 25.789062 42.171875 C 26.679688 42.875 28.101562 43.71875 29.789062 43.734375 Z M 43.179688 43.75 C 43.351562 43.75 43.523438 43.6875 43.679688 43.578125 C 44.070312 43.3125 44.132812 42.765625 43.867188 42.390625 L 40.898438 38.328125 L 43.867188 34.296875 C 44.132812 33.90625 44.070312 33.375 43.679688 33.109375 C 43.289062 32.8125 42.773438 32.890625 42.476562 33.296875 L 39.851562 36.890625 L 37.210938 33.296875 C 36.945312 32.890625 36.398438 32.8125 36.023438 33.109375 C 35.632812 33.375 35.554688 33.90625 35.820312 34.296875 L 38.789062 38.328125 L 35.820312 42.390625 C 35.554688 42.765625 35.632812 43.3125 36.023438 43.578125 C 36.164062 43.6875 36.335938 43.75 36.523438 43.75 C 36.789062 43.75 37.039062 43.609375 37.210938 43.390625 L 39.851562 39.78125 L 42.476562 43.390625 C 42.648438 43.609375 42.898438 43.75 43.179688 43.75 Z M 43.179688 43.75 "/> 71 </g>`},zipIcon:{extension:".zip",path:`<g id="surface1"> 72 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 73 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 74 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 75 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.175781 46.875 C 20.855469 46.875 21.402344 46.351562 21.402344 45.671875 C 21.402344 44.992188 20.855469 44.445312 20.175781 44.445312 L 13.132812 44.445312 L 21.183594 33.488281 L 21.183594 33.445312 C 21.203125 33.421875 21.226562 33.378906 21.25 33.335938 C 21.269531 33.3125 21.269531 33.289062 21.292969 33.269531 C 21.3125 33.203125 21.3125 33.179688 21.335938 33.136719 C 21.335938 33.09375 21.378906 33.070312 21.378906 33.007812 C 21.378906 32.984375 21.378906 32.960938 21.402344 32.917969 L 21.402344 32.679688 C 21.402344 32.632812 21.402344 32.613281 21.378906 32.546875 C 21.378906 32.503906 21.378906 32.480469 21.335938 32.4375 C 21.335938 32.414062 21.3125 32.371094 21.3125 32.304688 C 21.292969 32.285156 21.269531 32.242188 21.269531 32.21875 C 21.25 32.195312 21.226562 32.152344 21.203125 32.109375 C 21.183594 32.066406 21.160156 32.042969 21.117188 32.023438 C 21.09375 32 21.074219 31.957031 21.050781 31.933594 C 21.03125 31.914062 21.007812 31.867188 20.964844 31.847656 C 20.941406 31.824219 20.941406 31.804688 20.898438 31.78125 L 20.875 31.78125 C 20.832031 31.757812 20.8125 31.738281 20.765625 31.714844 C 20.746094 31.695312 20.722656 31.648438 20.65625 31.648438 L 20.570312 31.605469 L 20.4375 31.585938 C 20.417969 31.585938 20.375 31.5625 20.351562 31.5625 L 10.75 31.5625 C 10.070312 31.5625 9.546875 32.085938 9.546875 32.765625 C 9.546875 33.421875 10.070312 33.992188 10.75 33.992188 L 17.8125 33.992188 L 9.785156 44.972656 L 9.765625 44.972656 C 9.742188 45.015625 9.71875 45.058594 9.699219 45.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.824219 9.566406 45.890625 C 9.566406 45.933594 9.589844 45.957031 9.589844 45.976562 L 9.632812 46.109375 C 9.632812 46.152344 9.675781 46.175781 9.699219 46.21875 C 9.699219 46.242188 9.71875 46.261719 9.742188 46.328125 C 9.765625 46.351562 9.785156 46.394531 9.808594 46.414062 C 9.828125 46.4375 9.851562 46.460938 9.894531 46.480469 L 9.9375 46.542969 L 9.984375 46.589844 C 10.003906 46.613281 10.027344 46.632812 10.046875 46.632812 L 10.046875 46.65625 C 10.070312 46.679688 10.09375 46.679688 10.136719 46.699219 C 10.179688 46.722656 10.222656 46.742188 10.246094 46.742188 C 10.265625 46.789062 10.289062 46.789062 10.3125 46.808594 C 10.375 46.808594 10.421875 46.832031 10.464844 46.832031 C 10.484375 46.851562 10.507812 46.851562 10.53125 46.851562 L 10.648438 46.871094 Z M 26.214844 46.875 C 26.871094 46.875 27.4375 46.351562 27.4375 45.671875 L 27.4375 32.765625 C 27.4375 32.085938 26.871094 31.5625 26.214844 31.5625 C 25.535156 31.5625 25.011719 32.085938 25.011719 32.765625 L 25.011719 45.671875 C 25.011719 46.351562 25.535156 46.875 26.214844 46.875 Z M 32.734375 46.875 C 33.410156 46.875 33.957031 46.328125 33.957031 45.671875 L 33.957031 40.925781 L 36.648438 40.925781 C 39.25 40.925781 41.351562 38.824219 41.351562 36.265625 C 41.351562 33.664062 39.25 31.5625 36.648438 31.5625 L 32.734375 31.5625 C 32.078125 31.5625 31.53125 32.085938 31.53125 32.765625 L 31.53125 45.671875 C 31.53125 46.328125 32.078125 46.875 32.734375 46.875 Z M 36.648438 38.496094 L 33.957031 38.496094 L 33.957031 33.992188 L 36.648438 33.992188 C 37.917969 33.992188 38.902344 34.996094 38.921875 36.265625 C 38.902344 37.492188 37.917969 38.496094 36.648438 38.496094 Z M 36.648438 38.496094 "/> 76 </g>`},docxIcon:{extension:".docx",path:`<g id="surface9" clip-path="url(#clip1)"> 77 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 78 </g> 79 </defs> 80 <g id="surface1"> 81 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 82 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 83 <use xlink:href="#surface9" mask="url(#mask0)"/> 84 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 7.789062 43.75 C 9.589844 43.75 10.988281 43.269531 11.984375 42.304688 C 12.980469 41.339844 13.476562 39.984375 13.476562 38.234375 C 13.476562 36.496094 12.980469 35.144531 11.984375 34.179688 C 10.988281 33.214844 9.589844 32.734375 7.789062 32.734375 L 4.695312 32.734375 C 4.394531 32.734375 4.15625 32.816406 3.984375 32.984375 C 3.8125 33.152344 3.726562 33.386719 3.726562 33.6875 L 3.726562 42.796875 C 3.726562 43.097656 3.8125 43.332031 3.984375 43.5 C 4.15625 43.667969 4.394531 43.75 4.695312 43.75 Z M 7.664062 42.109375 L 5.742188 42.109375 L 5.742188 34.375 L 7.664062 34.375 C 10.195312 34.375 11.460938 35.660156 11.460938 38.234375 C 11.460938 40.816406 10.195312 42.109375 7.664062 42.109375 Z M 20.414062 43.890625 C 21.476562 43.890625 22.402344 43.660156 23.1875 43.203125 C 23.972656 42.746094 24.582031 42.089844 25.007812 41.234375 C 25.433594 40.378906 25.648438 39.378906 25.648438 38.234375 C 25.648438 37.089844 25.4375 36.089844 25.015625 35.242188 C 24.59375 34.394531 23.988281 33.738281 23.203125 33.28125 C 22.417969 32.824219 21.488281 32.59375 20.414062 32.59375 C 19.339844 32.59375 18.410156 32.824219 17.617188 33.28125 C 16.824219 33.738281 16.21875 34.394531 15.796875 35.242188 C 15.375 36.089844 15.164062 37.089844 15.164062 38.234375 C 15.164062 39.378906 15.378906 40.378906 15.804688 41.234375 C 16.230469 42.089844 16.839844 42.746094 17.625 43.203125 C 18.410156 43.660156 19.339844 43.890625 20.414062 43.890625 Z M 20.414062 42.28125 C 19.394531 42.28125 18.597656 41.933594 18.03125 41.234375 C 17.464844 40.535156 17.179688 39.535156 17.179688 38.234375 C 17.179688 36.933594 17.464844 35.933594 18.03125 35.242188 C 18.597656 34.550781 19.394531 34.203125 20.414062 34.203125 C 21.425781 34.203125 22.214844 34.550781 22.78125 35.242188 C 23.347656 35.933594 23.632812 36.933594 23.632812 38.234375 C 23.632812 39.535156 23.347656 40.535156 22.78125 41.234375 C 22.214844 41.933594 21.425781 42.28125 20.414062 42.28125 Z M 32.601562 43.890625 C 33.289062 43.890625 33.933594 43.789062 34.539062 43.585938 C 35.144531 43.382812 35.679688 43.089844 36.148438 42.703125 C 36.285156 42.597656 36.378906 42.488281 36.429688 42.367188 C 36.480469 42.246094 36.507812 42.109375 36.507812 41.953125 C 36.507812 41.722656 36.445312 41.53125 36.320312 41.375 C 36.195312 41.21875 36.042969 41.140625 35.867188 41.140625 C 35.753906 41.140625 35.644531 41.160156 35.539062 41.203125 C 35.433594 41.246094 35.332031 41.296875 35.226562 41.359375 C 34.746094 41.683594 34.316406 41.910156 33.9375 42.046875 C 33.558594 42.183594 33.144531 42.25 32.695312 42.25 C 31.613281 42.25 30.792969 41.910156 30.234375 41.234375 C 29.675781 40.558594 29.398438 39.558594 29.398438 38.234375 C 29.398438 36.921875 29.675781 35.925781 30.234375 35.25 C 30.792969 34.574219 31.613281 34.234375 32.695312 34.234375 C 33.164062 34.234375 33.589844 34.300781 33.976562 34.429688 C 34.363281 34.558594 34.777344 34.792969 35.226562 35.125 C 35.445312 35.269531 35.660156 35.34375 35.867188 35.34375 C 36.042969 35.34375 36.195312 35.265625 36.320312 35.109375 C 36.445312 34.953125 36.507812 34.761719 36.507812 34.53125 C 36.507812 34.363281 36.480469 34.222656 36.429688 34.109375 C 36.378906 33.996094 36.285156 33.886719 36.148438 33.78125 C 35.679688 33.394531 35.144531 33.101562 34.539062 32.898438 C 33.933594 32.695312 33.289062 32.59375 32.601562 32.59375 C 31.539062 32.59375 30.609375 32.824219 29.8125 33.28125 C 29.015625 33.738281 28.402344 34.394531 27.976562 35.242188 C 27.550781 36.089844 27.335938 37.089844 27.335938 38.234375 C 27.335938 39.378906 27.550781 40.378906 27.976562 41.234375 C 28.402344 42.089844 29.015625 42.746094 29.8125 43.203125 C 30.609375 43.660156 31.539062 43.890625 32.601562 43.890625 Z M 46.132812 43.84375 C 46.382812 43.84375 46.605469 43.75 46.796875 43.5625 C 46.988281 43.375 47.085938 43.15625 47.085938 42.90625 C 47.085938 42.707031 47.003906 42.511719 46.835938 42.3125 L 43.445312 38.15625 L 46.710938 34.171875 C 46.867188 34.003906 46.945312 33.808594 46.945312 33.578125 C 46.945312 33.328125 46.847656 33.113281 46.65625 32.929688 C 46.464844 32.746094 46.242188 32.65625 45.992188 32.65625 C 45.730469 32.65625 45.507812 32.769531 45.320312 33 L 42.273438 36.765625 L 39.226562 33 C 39.027344 32.769531 38.800781 32.65625 38.539062 32.65625 C 38.289062 32.65625 38.070312 32.746094 37.882812 32.929688 C 37.695312 33.113281 37.601562 33.328125 37.601562 33.578125 C 37.601562 33.808594 37.679688 34.003906 37.835938 34.171875 L 41.101562 38.15625 L 37.695312 42.3125 C 37.539062 42.5 37.460938 42.699219 37.460938 42.90625 C 37.460938 43.15625 37.558594 43.371094 37.75 43.554688 C 37.941406 43.738281 38.164062 43.828125 38.414062 43.828125 C 38.675781 43.828125 38.898438 43.71875 39.085938 43.5 L 42.273438 39.5625 L 45.445312 43.5 C 45.644531 43.730469 45.871094 43.84375 46.132812 43.84375 Z M 46.132812 43.84375 "/> 85 </g>`},jpgIcon:{extension:".jpg",path:`<g id="surface1"> 86 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 87 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 88 <use xlink:href="#surface9" mask="url(#mask0)"/> 89 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.789062 47.007812 L 9.488281 46.960938 C 12.214844 46.757812 13.578125 45.277344 13.578125 42.523438 L 13.578125 32.742188 C 13.578125 32.320312 13.453125 31.980469 13.195312 31.726562 C 12.941406 31.472656 12.59375 31.34375 12.15625 31.34375 C 11.734375 31.34375 11.394531 31.472656 11.140625 31.726562 C 10.886719 31.980469 10.757812 32.320312 10.757812 32.742188 L 10.757812 42.523438 C 10.757812 43.238281 10.605469 43.769531 10.296875 44.117188 C 9.992188 44.46875 9.539062 44.660156 8.941406 44.6875 L 8.242188 44.730469 C 7.847656 44.761719 7.558594 44.867188 7.378906 45.046875 C 7.195312 45.230469 7.105469 45.496094 7.105469 45.847656 C 7.105469 46.664062 7.667969 47.050781 8.789062 47.007812 Z M 18.304688 47.007812 C 18.742188 47.007812 19.089844 46.878906 19.34375 46.625 C 19.597656 46.367188 19.726562 46.023438 19.726562 45.585938 L 19.726562 40.882812 L 23.640625 40.882812 C 25.289062 40.882812 26.574219 40.464844 27.492188 39.632812 C 28.410156 38.804688 28.871094 37.644531 28.871094 36.15625 C 28.871094 34.667969 28.410156 33.511719 27.492188 32.6875 C 26.574219 31.863281 25.289062 31.453125 23.640625 31.453125 L 18.261719 31.453125 C 17.839844 31.453125 17.507812 31.570312 17.265625 31.804688 C 17.023438 32.035156 16.90625 32.363281 16.90625 32.789062 L 16.90625 45.585938 C 16.90625 46.023438 17.03125 46.367188 17.289062 46.625 C 17.542969 46.878906 17.882812 47.007812 18.304688 47.007812 Z M 23.292969 38.714844 L 19.726562 38.714844 L 19.726562 33.640625 L 23.292969 33.640625 C 25.230469 33.640625 26.203125 34.488281 26.203125 36.179688 C 26.203125 37.871094 25.230469 38.714844 23.292969 38.714844 Z M 38.605469 47.070312 C 39.320312 47.070312 40.0625 47.011719 40.835938 46.898438 C 41.609375 46.78125 42.285156 46.621094 42.871094 46.414062 C 43.410156 46.242188 43.765625 46.015625 43.941406 45.738281 C 44.117188 45.460938 44.203125 44.988281 44.203125 44.316406 L 44.203125 39.613281 C 44.203125 39.292969 44.101562 39.03125 43.898438 38.835938 C 43.695312 38.640625 43.425781 38.539062 43.089844 38.539062 L 39.21875 38.539062 C 38.867188 38.539062 38.59375 38.628906 38.398438 38.804688 C 38.199219 38.976562 38.101562 39.226562 38.101562 39.546875 C 38.101562 39.867188 38.199219 40.117188 38.398438 40.289062 C 38.59375 40.464844 38.867188 40.554688 39.21875 40.554688 L 41.6875 40.554688 L 41.6875 44.425781 C 40.699219 44.703125 39.707031 44.839844 38.714844 44.839844 C 35.390625 44.839844 33.726562 42.945312 33.726562 39.152344 C 33.726562 37.300781 34.132812 35.90625 34.941406 34.964844 C 35.75 34.023438 36.949219 33.554688 38.539062 33.554688 C 39.238281 33.554688 39.867188 33.644531 40.421875 33.828125 C 40.972656 34.007812 41.574219 34.324219 42.214844 34.777344 C 42.390625 34.894531 42.542969 34.980469 42.671875 35.03125 C 42.804688 35.082031 42.949219 35.105469 43.109375 35.105469 C 43.359375 35.105469 43.570312 34.996094 43.746094 34.777344 C 43.921875 34.558594 44.007812 34.289062 44.007812 33.96875 C 44.007812 33.75 43.96875 33.558594 43.886719 33.398438 C 43.808594 33.238281 43.679688 33.078125 43.503906 32.917969 C 42.191406 31.808594 40.507812 31.257812 38.453125 31.257812 C 36.90625 31.257812 35.5625 31.574219 34.425781 32.207031 C 33.289062 32.84375 32.410156 33.753906 31.789062 34.941406 C 31.171875 36.128906 30.859375 37.535156 30.859375 39.152344 C 30.859375 40.800781 31.171875 42.21875 31.789062 43.40625 C 32.410156 44.597656 33.304688 45.503906 34.46875 46.132812 C 35.636719 46.757812 37.015625 47.070312 38.605469 47.070312 Z M 38.605469 47.070312 "/> 90 </g>`},mp3Icon:{extension:".mp3",path:`<g id="surface9" clip-path="url(#clip1)"> 91 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 43.828125 43.710938 C 43.605469 44.28125 43.273438 44.804688 42.84375 45.265625 C 42.40625 45.730469 41.867188 46.113281 41.242188 46.398438 C 40.597656 46.699219 39.851562 46.855469 39.027344 46.855469 C 38.328125 46.855469 37.703125 46.757812 37.160156 46.570312 C 36.609375 46.378906 36.160156 46.136719 35.769531 45.839844 C 35.386719 45.550781 35.050781 45.210938 34.796875 44.832031 C 34.570312 44.507812 34.394531 44.195312 34.265625 43.890625 C 34.140625 43.59375 34.054688 43.335938 33.996094 43.101562 C 33.792969 42.261719 34.304688 41.417969 35.140625 41.210938 C 35.980469 41.007812 36.828125 41.519531 37.03125 42.355469 C 37.039062 42.390625 37.066406 42.488281 37.144531 42.671875 C 37.191406 42.777344 37.265625 42.914062 37.371094 43.0625 C 37.4375 43.160156 37.53125 43.257812 37.65625 43.351562 C 37.792969 43.453125 37.972656 43.542969 38.195312 43.625 C 38.332031 43.667969 38.59375 43.730469 39.027344 43.730469 C 39.390625 43.730469 39.695312 43.675781 39.925781 43.566406 C 40.1875 43.445312 40.398438 43.300781 40.558594 43.132812 C 40.71875 42.957031 40.839844 42.773438 40.914062 42.578125 C 40.996094 42.371094 41.03125 42.195312 41.03125 42.023438 C 41.03125 41.789062 41 41.585938 40.921875 41.398438 C 40.871094 41.257812 40.785156 41.148438 40.660156 41.039062 C 40.515625 40.910156 40.296875 40.792969 40.011719 40.699219 C 39.6875 40.59375 39.253906 40.539062 38.738281 40.535156 C 37.882812 40.527344 37.1875 39.832031 37.1875 38.972656 L 37.1875 38.832031 C 37.1875 37.984375 37.859375 37.292969 38.699219 37.265625 C 39.070312 37.257812 39.398438 37.195312 39.679688 37.101562 C 39.921875 37.011719 40.121094 36.902344 40.273438 36.773438 C 40.40625 36.652344 40.507812 36.519531 40.582031 36.359375 C 40.652344 36.210938 40.6875 36.027344 40.6875 35.8125 C 40.6875 35.523438 40.644531 35.289062 40.574219 35.125 C 40.5 34.96875 40.414062 34.847656 40.304688 34.757812 C 40.1875 34.660156 40.042969 34.582031 39.867188 34.53125 C 39.402344 34.386719 38.878906 34.398438 38.480469 34.542969 C 38.289062 34.617188 38.121094 34.714844 37.976562 34.84375 C 37.820312 34.984375 37.695312 35.148438 37.59375 35.339844 C 37.484375 35.550781 37.40625 35.773438 37.367188 36.039062 C 37.230469 36.890625 36.429688 37.472656 35.574219 37.335938 C 34.722656 37.195312 34.140625 36.398438 34.28125 35.542969 C 34.378906 34.9375 34.5625 34.378906 34.835938 33.871094 C 35.109375 33.355469 35.464844 32.898438 35.890625 32.519531 C 36.320312 32.132812 36.824219 31.828125 37.382812 31.617188 C 38.433594 31.226562 39.667969 31.199219 40.78125 31.539062 C 41.351562 31.714844 41.863281 31.992188 42.308594 32.355469 C 42.777344 32.753906 43.148438 33.242188 43.414062 33.824219 C 43.679688 34.402344 43.8125 35.070312 43.8125 35.8125 C 43.8125 36.476562 43.679688 37.097656 43.421875 37.660156 C 43.25 38.046875 43.023438 38.394531 42.746094 38.707031 C 43.242188 39.148438 43.609375 39.671875 43.835938 40.261719 C 44.046875 40.804688 44.15625 41.398438 44.15625 42.023438 C 44.15625 42.578125 44.046875 43.148438 43.828125 43.710938 Z M 31.445312 38.492188 C 31.148438 39.140625 30.734375 39.703125 30.199219 40.164062 C 29.6875 40.605469 29.078125 40.957031 28.390625 41.199219 C 27.71875 41.4375 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.859375 24.296875 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.859375 21.875 45 L 21.875 32.8125 C 21.875 31.945312 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.667969 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.03125 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.28125 L 14.015625 43.140625 C 14.007812 43.164062 13.996094 43.191406 13.984375 43.214844 C 13.71875 43.777344 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.9375 44.117188 11.375 43.777344 11.109375 43.214844 L 11.082031 43.160156 L 9.339844 39.101562 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.1875 L 12.527344 39.09375 L 15.59375 32.207031 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.167969 31.261719 C 18.03125 31.261719 18.730469 31.960938 18.730469 32.824219 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.136719 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.136719 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/> 92 </g> 93 </defs> 94 <g id="surface1"> 95 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 96 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 97 <use xlink:href="#surface9" mask="url(#mask0)"/> 98 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 28.257812 34.902344 C 27.835938 34.550781 27.140625 34.375 26.191406 34.375 L 25 34.375 L 25 38.4375 L 26.191406 38.4375 C 26.621094 38.4375 27.007812 38.375 27.34375 38.253906 C 27.667969 38.140625 27.929688 37.992188 28.148438 37.804688 C 28.34375 37.632812 28.492188 37.4375 28.601562 37.195312 C 28.710938 36.964844 28.757812 36.703125 28.757812 36.40625 C 28.757812 35.324219 28.382812 35.003906 28.257812 34.902344 "/> 99 <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 11.34125 13.57875 C 11.345 13.5925 11.3525 13.62375 11.36375 13.67375 C 11.3775 13.7225 11.3975 13.78125 11.42625 13.85 C 11.45375 13.9175 11.49375 13.9875 11.54625 14.0625 C 11.5975 14.13875 11.66625 14.20875 11.75 14.27125 C 11.83375 14.33625 11.9375 14.38875 12.0575 14.43125 C 12.1775 14.4725 12.32 14.49375 12.4875 14.49375 C 12.67875 14.49375 12.845 14.46125 12.9875 14.39375 C 13.13 14.32875 13.24875 14.245 13.34375 14.1425 C 13.43875 14.0425 13.51125 13.93 13.55875 13.8075 C 13.6075 13.6825 13.63125 13.56375 13.63125 13.4475 C 13.63125 13.31125 13.6075 13.1825 13.5625 13.065 C 13.515 12.9475 13.4425 12.845 13.3425 12.7575 C 13.2425 12.67 13.115 12.6 12.96 12.55 C 12.805 12.49875 12.6175 12.4725 12.4 12.4725 L 12.4 12.42625 C 12.57 12.42 12.72375 12.3925 12.8625 12.34375 C 13.0025 12.29625 13.11875 12.2275 13.21625 12.14375 C 13.31375 12.05875 13.3875 11.96 13.44125 11.845 C 13.4925 11.7275 13.52 11.60125 13.52 11.46 C 13.52 11.29375 13.4925 11.1525 13.43875 11.0325 C 13.38375 10.91375 13.31125 10.81625 13.21875 10.74 C 13.1275 10.66375 13.0225 10.6075 12.90375 10.5725 C 12.78625 10.535 12.66375 10.5175 12.5375 10.5175 C 12.395 10.5175 12.26125 10.54 12.14 10.58625 C 12.0175 10.6325 11.91 10.69625 11.81875 10.77875 C 11.72625 10.8625 11.64875 10.96 11.5875 11.07375 C 11.5275 11.18875 11.48625 11.315 11.4625 11.45375 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.475 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/> 100 </g>`},mp4Icon:{extension:".mp4",path:`<g id="surface6" clip-path="url(#clip1)"> 101 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.898438 40.625 L 40.625 35.480469 L 40.625 40.625 Z M 28.761719 36.40625 C 28.761719 36.703125 28.707031 36.964844 28.605469 37.195312 C 28.496094 37.433594 28.347656 37.632812 28.148438 37.804688 C 27.929688 37.992188 27.667969 38.144531 27.34375 38.257812 C 27.003906 38.375 26.621094 38.4375 26.191406 38.4375 L 25 38.4375 L 25 34.375 L 26.191406 34.375 C 27.140625 34.375 27.835938 34.554688 28.253906 34.902344 C 28.378906 35.007812 28.761719 35.324219 28.761719 36.40625 Z M 44.6875 43.75 L 43.75 43.75 L 43.75 45.3125 C 43.75 46.175781 43.050781 46.875 42.1875 46.875 C 41.324219 46.875 40.625 46.175781 40.625 45.3125 L 40.625 43.75 L 34.066406 43.75 C 33.199219 43.75 32.503906 43.050781 32.503906 42.1875 L 32.503906 41.875 C 32.503906 41.546875 32.605469 41.226562 32.800781 40.957031 L 39.363281 31.898438 C 39.660156 31.492188 40.128906 31.25 40.628906 31.25 L 42.1875 31.25 C 43.050781 31.25 43.75 31.949219 43.75 32.8125 L 43.75 40.625 L 44.6875 40.625 C 45.550781 40.625 46.25 41.324219 46.25 42.1875 C 46.25 43.050781 45.550781 43.75 44.6875 43.75 Z M 31.445312 38.492188 C 31.148438 39.140625 30.730469 39.703125 30.195312 40.167969 C 29.6875 40.605469 29.082031 40.957031 28.390625 41.203125 C 27.71875 41.441406 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.863281 24.300781 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.863281 21.875 45 L 21.875 32.8125 C 21.875 31.949219 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.671875 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.027344 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.6875 L 14.035156 43.105469 C 14.019531 43.144531 14.003906 43.179688 13.984375 43.214844 C 13.71875 43.78125 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.941406 44.117188 11.378906 43.78125 11.113281 43.214844 C 11.097656 43.183594 11.078125 43.152344 11.066406 43.125 L 9.339844 39.484375 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.191406 L 9.355469 32.226562 L 12.523438 38.90625 L 15.578125 32.242188 C 15.585938 32.226562 15.597656 32.210938 15.605469 32.191406 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.164062 31.261719 C 18.027344 31.261719 18.726562 31.960938 18.726562 32.824219 L 18.726562 45.210938 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 "/> 102 </g> 103 </defs> 104 <g id="surface1"> 105 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 106 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 107 <use xlink:href="#surface6" mask="url(#mask0)"/> 108 <path style="fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;" d="M 14.3 13.5 L 10.90125 13.5 L 10.90125 13.4 L 13.00125 10.5 L 13.5 10.5 L 13.5 14.5 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.47625 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 " transform="matrix(3.125,0,0,3.125,0,0)"/> 109 </g>`},oggIcon:{extension:".ogg",path:`<g id="surface9" clip-path="url(#clip1)"> 110 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 "/> 111 </g> 112 </defs> 113 <g id="surface1"> 114 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 "/> 115 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 "/> 116 <use xlink:href="#surface9" mask="url(#mask0)"/> 117 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 8.976562 47.070312 C 10.464844 47.070312 11.757812 46.75 12.859375 46.109375 C 13.960938 45.46875 14.808594 44.550781 15.40625 43.351562 C 16.003906 42.15625 16.304688 40.757812 16.304688 39.152344 C 16.304688 37.550781 16.007812 36.152344 15.417969 34.964844 C 14.828125 33.777344 13.980469 32.859375 12.882812 32.21875 C 11.78125 31.578125 10.480469 31.257812 8.976562 31.257812 C 7.472656 31.257812 6.167969 31.578125 5.0625 32.21875 C 3.953125 32.859375 3.101562 33.777344 2.511719 34.964844 C 1.921875 36.152344 1.625 37.550781 1.625 39.152344 C 1.625 40.757812 1.925781 42.15625 2.523438 43.351562 C 3.121094 44.550781 3.972656 45.46875 5.070312 46.109375 C 6.171875 46.75 7.472656 47.070312 8.976562 47.070312 Z M 8.976562 44.820312 C 7.546875 44.820312 6.433594 44.332031 5.640625 43.351562 C 4.847656 42.375 4.449219 40.976562 4.449219 39.152344 C 4.449219 37.332031 4.847656 35.933594 5.640625 34.964844 C 6.433594 33.996094 7.546875 33.507812 8.976562 33.507812 C 10.390625 33.507812 11.496094 33.996094 12.289062 34.964844 C 13.085938 35.933594 13.484375 37.332031 13.484375 39.152344 C 13.484375 40.976562 13.085938 42.375 12.289062 43.351562 C 11.496094 44.332031 10.390625 44.820312 8.976562 44.820312 Z M 26.410156 47.070312 C 27.125 47.070312 27.871094 47.011719 28.640625 46.898438 C 29.414062 46.78125 30.09375 46.621094 30.675781 46.414062 C 31.214844 46.242188 31.574219 46.015625 31.75 45.738281 C 31.921875 45.460938 32.011719 44.988281 32.011719 44.316406 L 32.011719 39.613281 C 32.011719 39.292969 31.910156 39.03125 31.703125 38.835938 C 31.5 38.640625 31.230469 38.539062 30.894531 38.539062 L 27.023438 38.539062 C 26.671875 38.539062 26.398438 38.628906 26.203125 38.804688 C 26.007812 38.976562 25.90625 39.226562 25.90625 39.546875 C 25.90625 39.867188 26.007812 40.117188 26.203125 40.289062 C 26.398438 40.464844 26.671875 40.554688 27.023438 40.554688 L 29.496094 40.554688 L 29.496094 44.425781 C 28.503906 44.703125 27.511719 44.839844 26.519531 44.839844 C 23.195312 44.839844 21.53125 42.945312 21.53125 39.152344 C 21.53125 37.300781 21.9375 35.90625 22.746094 34.964844 C 23.554688 34.023438 24.753906 33.554688 26.34375 33.554688 C 27.046875 33.554688 27.671875 33.644531 28.226562 33.828125 C 28.78125 34.007812 29.378906 34.324219 30.019531 34.777344 C 30.195312 34.894531 30.347656 34.980469 30.480469 35.03125 C 30.609375 35.082031 30.757812 35.105469 30.917969 35.105469 C 31.164062 35.105469 31.375 34.996094 31.550781 34.777344 C 31.726562 34.558594 31.8125 34.289062 31.8125 33.96875 C 31.8125 33.75 31.773438 33.558594 31.695312 33.398438 C 31.613281 33.238281 31.484375 33.078125 31.3125 32.917969 C 30 31.808594 28.3125 31.257812 26.257812 31.257812 C 24.710938 31.257812 23.371094 31.574219 22.234375 32.207031 C 21.09375 32.84375 20.214844 33.753906 19.597656 34.941406 C 18.976562 36.128906 18.667969 37.535156 18.667969 39.152344 C 18.667969 40.800781 18.976562 42.21875 19.597656 43.40625 C 20.214844 44.597656 21.109375 45.503906 22.277344 46.132812 C 23.441406 46.757812 24.820312 47.070312 26.410156 47.070312 Z M 42.445312 47.070312 C 43.160156 47.070312 43.902344 47.011719 44.675781 46.898438 C 45.449219 46.78125 46.128906 46.621094 46.710938 46.414062 C 47.25 46.242188 47.609375 46.015625 47.78125 45.738281 C 47.957031 45.460938 48.046875 44.988281 48.046875 44.316406 L 48.046875 39.613281 C 48.046875 39.292969 47.941406 39.03125 47.738281 38.835938 C 47.535156 38.640625 47.265625 38.539062 46.929688 38.539062 L 43.058594 38.539062 C 42.707031 38.539062 42.433594 38.628906 42.238281 38.804688 C 42.039062 38.976562 41.941406 39.226562 41.941406 39.546875 C 41.941406 39.867188 42.039062 40.117188 42.238281 40.289062 C 42.433594 40.464844 42.707031 40.554688 43.058594 40.554688 L 45.53125 40.554688 L 45.53125 44.425781 C 44.539062 44.703125 43.546875 44.839844 42.554688 44.839844 C 39.230469 44.839844 37.566406 42.945312 37.566406 39.152344 C 37.566406 37.300781 37.972656 35.90625 38.78125 34.964844 C 39.589844 34.023438 40.789062 33.554688 42.378906 33.554688 C 43.078125 33.554688 43.707031 33.644531 44.261719 33.828125 C 44.816406 34.007812 45.414062 34.324219 46.054688 34.777344 C 46.230469 34.894531 46.382812 34.980469 46.515625 35.03125 C 46.644531 35.082031 46.792969 35.105469 46.953125 35.105469 C 47.199219 35.105469 47.410156 34.996094 47.585938 34.777344 C 47.761719 34.558594 47.847656 34.289062 47.847656 33.96875 C 47.847656 33.75 47.808594 33.558594 47.726562 33.398438 C 47.648438 33.238281 47.519531 33.078125 47.34375 32.917969 C 46.03125 31.808594 44.347656 31.257812 42.292969 31.257812 C 40.746094 31.257812 39.40625 31.574219 38.265625 32.207031 C 37.128906 32.84375 36.25 33.753906 35.632812 34.941406 C 35.011719 36.128906 34.703125 37.535156 34.703125 39.152344 C 34.703125 40.800781 35.011719 42.21875 35.632812 43.40625 C 36.25 44.597656 37.144531 45.503906 38.3125 46.132812 C 39.476562 46.757812 40.855469 47.070312 42.445312 47.070312 Z M 42.445312 47.070312 "/> 118 </g>`},pdfIcon:{extension:".pdf",path:`<g id="surface1"> 119 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;" d="M 10.59375 25 L 39.4375 25 C 41.476562 25.003906 43.484375 25.472656 45.3125 26.375 L 45.3125 15.375 C 45.347656 14.191406 44.867188 13.054688 44 12.25 L 34.625 2.875 C 33.875 2.003906 32.773438 1.523438 31.625 1.5625 L 6.625 1.5625 C 5.589844 1.5625 4.75 2.402344 4.75 3.4375 L 4.75 26.375 C 6.566406 25.480469 8.566406 25.007812 10.59375 25 "/> 120 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 34.375 4.71875 L 42.15625 12.5 L 34.53125 12.5 C 34.480469 12.511719 34.425781 12.511719 34.375 12.5 Z M 6.25 25.71875 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.300781 13.980469 32.316406 15.253906 33.75 15.625 C 33.957031 15.675781 34.167969 15.675781 34.375 15.625 L 43.75 15.625 L 43.75 25.71875 C 44.859375 26.09375 45.910156 26.621094 46.875 27.28125 L 46.875 15.375 C 46.964844 13.722656 46.3125 12.117188 45.09375 11 L 35.71875 1.625 C 34.648438 0.523438 33.160156 -0.0664062 31.625 0 L 6.625 0 C 5.703125 -0.015625 4.8125 0.339844 4.152344 0.984375 C 3.496094 1.632812 3.125 2.515625 3.125 3.4375 L 3.125 27.28125 C 4.09375 26.625 5.144531 26.101562 6.25 25.71875 Z M 6.25 25.71875 "/> 121 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 8.625 28.125 C 6.335938 28.117188 4.136719 29.023438 2.515625 30.640625 C 0.898438 32.261719 -0.0078125 34.460938 0 36.75 L 0 41.375 C 0 46.136719 3.863281 50 8.625 50 L 41.375 50 C 46.132812 49.984375 49.984375 46.132812 50 41.375 L 50 36.75 C 50 31.988281 46.136719 28.125 41.375 28.125 Z M 8.625 28.125 "/> 122 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 14.40625 41.78125 L 12.09375 41.78125 L 12.09375 45.84375 C 12.003906 46.351562 11.5625 46.726562 11.046875 46.726562 C 10.53125 46.726562 10.089844 46.351562 10 45.84375 L 10 34.78125 C 10 34.210938 10.460938 33.75 11.03125 33.75 L 14.40625 33.75 C 15.925781 33.617188 17.390625 34.351562 18.191406 35.648438 C 18.992188 36.945312 18.992188 38.585938 18.191406 39.882812 C 17.390625 41.179688 15.925781 41.914062 14.40625 41.78125 Z M 12.09375 39.6875 L 14.40625 39.6875 C 15.152344 39.78125 15.882812 39.4375 16.289062 38.804688 C 16.691406 38.171875 16.691406 37.359375 16.289062 36.726562 C 15.882812 36.09375 15.152344 35.75 14.40625 35.84375 L 12.09375 35.84375 Z M 12.09375 39.6875 "/> 123 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 20.3125 45.84375 L 20.3125 34.78125 C 20.3125 34.210938 20.773438 33.75 21.34375 33.75 L 23.5625 33.75 C 27.1875 33.75 30.125 36.6875 30.125 40.3125 C 30.125 43.9375 27.1875 46.875 23.5625 46.875 L 21.34375 46.875 C 20.773438 46.875 20.3125 46.414062 20.3125 45.84375 Z M 22.40625 44.78125 L 23.5625 44.78125 C 26.03125 44.78125 28.03125 42.78125 28.03125 40.3125 C 28.03125 37.84375 26.03125 35.84375 23.5625 35.84375 L 22.40625 35.84375 Z M 22.40625 44.78125 "/> 124 <path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 33.1875 45.84375 L 33.1875 34.78125 C 33.183594 34.476562 33.3125 34.1875 33.542969 33.992188 C 33.769531 33.792969 34.074219 33.703125 34.375 33.75 L 40.625 33.75 C 41.132812 33.839844 41.507812 34.28125 41.507812 34.796875 C 41.507812 35.3125 41.132812 35.753906 40.625 35.84375 L 35.25 35.84375 L 35.25 39.28125 L 39.625 39.28125 C 40.195312 39.28125 40.65625 39.742188 40.65625 40.3125 C 40.65625 40.882812 40.195312 41.34375 39.625 41.34375 L 35.25 41.34375 L 35.25 45.84375 C 35.257812 46.359375 34.882812 46.796875 34.375 46.875 C 34.074219 46.921875 33.769531 46.832031 33.542969 46.632812 C 33.3125 46.4375 33.183594 46.148438 33.1875 45.84375 Z M 33.1875 45.84375 "/> 125 </g>`},defaultIcon:{extension:".default",path:`<g id="surface1"> 126 <path style=" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 3.117188 44.777344 C 1.394531 44.777344 0 43.386719 0 41.671875 L 0 3.484375 C 0 1.769531 1.394531 0.378906 3.117188 0.378906 L 25.792969 0.378906 C 27.164062 0.304688 28.5 0.808594 29.480469 1.765625 L 37.980469 10.230469 C 39.144531 11.242188 39.769531 12.730469 39.683594 14.265625 L 39.683594 41.671875 C 39.683594 43.386719 38.289062 44.777344 36.5625 44.777344 Z M 25.511719 3.203125 L 3.117188 3.203125 C 2.960938 3.203125 2.832031 3.328125 2.832031 3.484375 L 2.832031 41.671875 C 2.832031 41.828125 2.960938 41.957031 3.117188 41.957031 L 36.5625 41.957031 C 36.679688 41.949219 36.785156 41.867188 36.820312 41.757812 L 36.820312 14.492188 L 28.34375 14.492188 C 28.160156 14.539062 27.964844 14.539062 27.777344 14.492188 C 26.480469 14.15625 25.554688 13.007812 25.511719 11.671875 Z M 28.34375 4.640625 L 28.34375 11.671875 C 28.390625 11.683594 28.441406 11.683594 28.488281 11.671875 L 35.402344 11.671875 Z M 28.34375 4.640625 "/> 127 </g>`}},e.MODULES.modals=function(
vendor: 1,396 bytes, line 127
127s){var c=s.$;s.shared.modals||(s.shared.modals={});var x,N=s.shared.modals;function P(){for(var v in N)if(Object.prototype.hasOwnProperty.call(N,v)){var p=N[v];p&&p.$modal&&p.$modal.removeData().remove()}x&&x.removeData().remove(),N={}}function S(v,p){if(N[v]){var a=N[v].$modal,o=a.data("instance")||s;o.events.enableBlur(),a.hide(),x.hide(),c(o.o_doc).find("body").first().removeClass("fr-prevent-scroll fr-mobile"),a.removeClass("fr-active"),p||(o.accessibility.restoreSelection(),o.events.trigger("modals.hide"))}}function g(v){var p;if(typeof v=="string"){if(!N[v])return;p=N[v].$modal}else p=v;return p&&s.node.hasClass(p,"fr-active")&&s.core.sameInstance(p)||!1}return{_init:function(){s.events.on("shared.destroy",P,!0)},get:function(p){return N[p]},create:function(p,a,o){if(a='<div class="fr-modal-head-line">'.concat(a,"</div>"),s.shared.$overlay||(s.shared.$overlay=c(s.doc.createElement("DIV")).addClass("fr-overlay"),c("body").first().append(s.shared.$overlay)),x=s.shared.$overlay,s.opts.theme&&x.addClass("".concat(s.opts.theme,"-theme")),!N[p]){var u=function(h,m){var f='<div tabIndex="-1" class="fr-modal'.concat(s.opts.theme?" ".concat(s.opts.theme,"-theme"):"",'"><div class="fr-modal-wrapper">'),y='<button title="'.concat(s.language.translate("Cancel"),'" class="fr-command fr-btn fr-modal-close"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 24 24">
127<path d="').concat(e.SVG.close,'"/></svg></button>');f+='<div class="fr-modal-head">'.concat(h).concat(y,"</div>"),f+='<div tabIndex="-1" class="fr-modal-body">'.concat(m,"</div>"),f+="</div></div>";var I=c(s.doc.createElement("DIV"));return I.html(f),I.find("> .fr-modal")}(a,o);N[p]={$modal:u,$head:u.find(".fr-modal-head"),$body:u.find(".fr-modal-body")},s.helpers.isMobile()||u.addClass("fr-desktop"),c("body").first().append(u),s.events.$on(u,"click",".fr-modal-close",function(){S(p)},!0),N[p].$body.css("margin-top",N[p].$head.outerHeight()),s.events.$on(u,"keydown",function(d){var h=d.which;return h===e.KEYCODE.ESC?(S(p),s.accessibility.focusModalButton(u),!1):!(!c(d.currentTarget).is("input[type=text], textarea")&&h!==e.KEYCODE.ARROW_UP&&h!==e.KEYCODE.ARROW_DOWN&&!s.keys.isBrowserAction(d)&&(d.preventDefault(),d.stopPropagation(),1))},!0),S(p,!0)}return N[p]},show:function(p){if(N[p]){var a=N[p].$modal;a.data("instance",s),a.show(),x.show(),c(s.o_doc).find("body").first().addClass("fr-prevent-scroll"),s.helpers.isMobile()&&c(s.o_doc).find("body").first().addClass("fr-mobile"),a.addClass("fr-active"),s.accessibility.focusModal(a)}},hide:S,resize:function(p){if(N[p]){var a=N[p],o=a.$modal,u=a.$body,d=s.o_win.innerHeight,h=o.find(".fr-modal-wrapper"),m=d-h.outerHeight(!0)+(h.height()-(u.outerHeight(!0)-u.height())),f="auto";m<u.get(0).scrollHeight&&(f=m),u.height(f)}},isVisible:g,areVisible:function(p){for(var a in N)if(Object.prototype.hasOwnProperty.call(N,a)&&g(a)&&(p===void 0||N[a].$modal.data("instance")===p))return N[a].$modal;return!1}}},e.MODULES.position=function(s){var c=s.$;function x(){var p=s.selection.ranges(0).getBoundingClientRect();if(p.top===0&&p.left===0&&p.width===0||p.height===0){var a=!1;s.$el.find(".fr-marker").length===0&&(s.selection.save(),a=!0);var o=s.$el.find(".fr-marker").first();o.css("display","inline"),o.css("line-height","");var u=o.offset(),d=o.outerHeight();o.css("display","none"),o.css("line-height",0),(p={}).left=u&&u.left,p.width=0,p.height=d,p.top=u&&u.top-(s.helpers.isMobile()&&!s.helpers.isIOS()||s.opts.iframe?0:s.helpers.scrollTop()),p.right=1,p.bottom=1,p.ok=!0,a&&s.selection.restore()}return p}function N(p,a,o,u){var d=o.data("container");if(!d||d.get(0).tagName==="BODY"&&d.css("position")==="static"||(p&&(p-=d.offset().left),a&&(a-=d.offset().top),d.get(0).tagName!=="BODY"?(p&&(p+=d.get(0).scrollLeft),a&&(a+=d.get(0).scrollTop)):d.css("position")==="absolute"&&(p&&(p+=d.position().left),a&&(a+=d.position().top))),s.opts.iframe&&d&&s.$tb&&d.get(0)!==s.$tb.get(0)){var h=s.helpers.getPX(s.$wp.find(".fr-iframe").css("padding-top")),m=s.helpers.getPX(s.$wp.find(".fr-iframe").css("padding-left"));p&&(p+=s.$iframe.offset().left+m),a&&(a+=s.$iframe.offset().top+h)}var f=function(I,E){var M=I.outerWidth(!0);return E+M>s.$sc.get(0).clientWidth-10&&(E=s.$sc.get(0).clientWidth-M-10),E<0&&(E=10),E}(o,p);p&&o.css("left",f),a&&o.css("top",function(I,E,M){var D=I.outerHeight(!0);if(!s.helpers.isMobile()&&s.$tb&&I.parent().get(0)!==s.$tb.get(0)){var F=I.parent().offset().top,X=E-D-(M||0);I.parent().get(0)===s.$sc.get(0)&&(F-=I.parent().position().top);var _=s.$sc.get(0).clientHeight;F+E+D>s.$sc.offset().top+_&&0<I.parent().offset().top+X&&0<X?X>s.$wp.scrollTop()&&(E=X,I.addClass("fr-above")):I.removeClass("fr-above")}return E}(o,a,u))}function P(p){var a=c(p),o=a.is(".fr-sticky-on"),u=a.data("sticky-top"),d=a.data("sticky-scheduled");if(u===void 0){a.data("sticky-top",0);var h=c('<div class="fr-sticky-dummy" style="height: '.concat(a.outerHeight(),'px;"></div>'));s.$box.prepend(h)}else s.$box.find(".fr-sticky-dummy").css("height",a.outerHeight());if(s.core.hasFocus()||0<s.$tb.findVisible("input:focus").length){var m=s.helpers.scrollTop(),f=Math.min(Math.max(m-s.$tb.parent().offset().top,0),s.$tb.parent().outerHeight()-a.outerHeight());if(f!==u&&f!==d&&(clearTimeout(a.data("sticky-timeout")),a.data("sticky-scheduled",f),a.outerHeight()<m-s.$tb.parent().offset().top&&a.addClass("fr-opacity-0"),a.data("sticky-timeout",setTimeout(function(){var E=s.helpers.scrollTop(),M=Math.min(Math.max(E-s.$tb.parent().offset().top,0),s.$tb.parent().outerHeight()-a.outerHeight());0<M&&s.$tb.parent().get(0).tagName==="BODY"&&(M+=s.$tb.parent().position().top),M!==u&&(a.css("top",Math.max(M,0)),a.data("sticky-top",M),a.data("sticky-scheduled",M)),a.removeClass("fr-opacity-0")},100))),!o){var y=s.$tb.parent(),I=y.get(0).offsetWidth-y.get(0).clientWidth;a.css("top","0"),a.width(y.width()-I),a.addClass("fr-sticky-on"),s.$box.addClass("fr-sticky-box")}}else clearTimeout(c(p).css("sticky-timeout")),a.css("top","0"),a.css("position",""),a.css("width",""),a.data("sticky-top",0),a.removeClass("fr-sticky-on"),s.$box.removeClass("fr-sticky-box")}
vendor: 9,020 bytes, line 127
127function S(p){if(p.offsetWidth){var a=c(p),o=a.outerHeight(),u=a.data("sticky-position"),d=c(s.opts.scrollableContainer==="body"?s.o_win:s.opts.scrollableContainer).outerHeight(),h=0,m=0;s.opts.scrollableContainer!=="body"&&(h=s.$sc.offset().top,m=c(s.o_win).outerHeight()-h-d);var f=s.opts.scrollableContainer==="body"?s.helpers.scrollTop():h,y=a.is(".fr-sticky-on");a.data("sticky-parent")||a.data("sticky-parent",a.parent());var I=a.data("sticky-parent"),E=I.offset().top,M=I.outerHeight();if(a.data("sticky-offset")?s.$box.find(".fr-sticky-dummy").css("height","".concat(o,"px")):(a.data("sticky-offset",!0),a.after('<div class="fr-sticky-dummy" style="height: '.concat(o,'px;"></div>'))),!u){var D=a.css("top")!=="auto"||a.css("bottom")!=="auto";D||a.css("position","fixed"),u={top:s.node.hasClass(a.get(0),"fr-top"),bottom:s.node.hasClass(a.get(0),"fr-bottom")},D||a.css("position",""),a.data("sticky-position",u),a.data("top",s.node.hasClass(a.get(0),"fr-top")?a.css("top"):"auto"),a.data("bottom",s.node.hasClass(a.get(0),"fr-bottom")?a.css("bottom"):"auto")}var F=s.helpers.getPX(a.data("top")),X=s.helpers.getPX(a.data("bottom")),_=u.top&&function(){return E<f+F&&f+F<=E+M-o}()&&(s.helpers.isInViewPort(s.$sc.get(0))||s.opts.scrollableContainer==="body"),w=u.bottom&&function(){return E+o<f+d-X&&f+d-X<E+M}();if(_||w){var A=I.get(0).offsetWidth-I.get(0).clientWidth;a.css("width","".concat(I.get(0).getBoundingClientRect().width-A,"px")),y||(a.addClass("fr-sticky-on"),a.removeClass("fr-sticky-off"),a.css("top")&&(a.data("top")!=="auto"?a.css("top",s.helpers.getPX(a.data("top"))+h):a.data("top","auto")),a.css("bottom")&&(a.data("bottom")!=="auto"?a.css("bottom",s.helpers.getPX(a.data("bottom"))+m):a.css("bottom","auto")))}else s.node.hasClass(a.get(0),"fr-sticky-off")||(a.css("width",""),a.removeClass("fr-sticky-on"),a.addClass("fr-sticky-off"),a.css("top")&&a.data("top")!=="auto"&&u.top&&a.css("top",0),a.css("bottom")&&a.data("bottom")!=="auto"&&u.bottom&&a.css("bottom",0))}}function g(){if(s.helpers.requestAnimationFrame()(g),s.events.trigger("position.refresh")!==!1)for(var p=0;p<s._stickyElements.length;p++)P(s._stickyElements[p])}function v(){if(s._stickyElements)for(var p=0;p<s._stickyElements.length;p++)S(s._stickyElements[p])}return{_init:function(){(function(){s._stickyElements=[],s.helpers.isIOS()?(g(),s.events.$on(c(s.o_win),"scroll",function(){if(s.core.hasFocus())for(var o=0;o<s._stickyElements.length;o++){var u=c(s._stickyElements[o]),d=u.parent(),h=s.helpers.scrollTop();u.outerHeight()<h-d.offset().top&&(u.addClass("fr-opacity-0"),u.data("sticky-top",-1),u.data("sticky-scheduled",-1))}},!0)):(s.opts.scrollableContainer!=="body"&&s.events.$on(c(s.opts.scrollableContainer),"scroll",v,!0),s.events.$on(c(s.o_win),"scroll",v,!0),s.events.$on(c(s.o_win),"resize",v,!0),s.events.on("initialized",v),s.events.on("focus",v),s.events.$on(c(s.o_win),"resize","textarea",v,!0)),s.events.on("destroy",function(){s._stickyElements=[]})})()},forSelection:function(a){var o=x();a.css({top:0,left:0});var u=o.top+o.height,d=o.left+o.width/2-a.get(0).offsetWidth/2+s.helpers.scrollLeft();s.opts.iframe||(u+=s.helpers.scrollTop()),N(d,u,a,o.height)},addSticky:function(a){a.addClass("fr-sticky"),s.helpers.isIOS()&&a.addClass("fr-sticky-ios"),a.removeClass("fr-sticky"),s._stickyElements.push(a.get(0))},refresh:v,at:N,getBoundingRect:x}},e.MODULES.refresh=function(s){var c=s.$;function x(P,S){P.toggleClass("fr-disabled",S).attr("aria-disabled",S)}function N(P){var S=s.$tb.find('.fr-more-toolbar[data-name="'.concat(P.attr("data-group-name"),'"]')),g=function(p,a){var o=0,u=a.find("> .fr-command, > .fr-btn-wrap");u.each(function(f,y){o+=c(y).outerWidth()});var d,h=s.helpers.getPX(c(u[0]).css("margin-left")),m=s.helpers.getPX(c(u[0]).css("margin-right"));return d=s.opts.direction==="rtl"?s.$tb.outerWidth()-p.offset().left+s.$tb.offset().left-(o+p.outerWidth()+u.length*(h+m))/2:p.offset().left-s.$tb.offset().left-(o-p.outerWidth()+u.length*(h+m))/2,d+o+u.length*(h+m)>s.$tb.outerWidth()&&(d-=(o+u.length*(h+m)-p.outerWidth())/2),d<0&&(d=0),d}(P,S);s.opts.direction==="rtl"?S.css("padding-right",g):S.css("padding-left",g)}return{undo:function(S){x(S,!s.undo.canDo())},redo:function(S){x(S,!s.undo.canRedo())},outdent:function(S){if(s.node.hasClass(S.get(0),"fr-no-refresh"))return!1;for(var g=s.selection.blocks(),v=0;v<g.length;v++){var p=s.opts.direction==="rtl"||c(g[v]).css("direction")==="rtl"?"margin-right":"margin-left",a=g[0].parentElement;if(a.parentNode.tagName!="UL"&&a.parentNode.tagName!="OL"&&a.parentNode.tagName!="LI"||g[0].previousSibling&&a.parentNode.style.listStyleType=="none")return x(S,!0),!0;if(g[v].tagName==="LI"||g[v].parentNode.tagName==="LI"||0<s.helpers.getPX(c(g[v]).css(p)))return x(S,!1),!0}x(S,!0)},indent:function(S){if(s.node.hasClass(S.get(0),"fr-no-refresh"))return!1;for(var g=s.selection.blocks(),v=0;v<g.length;v++){for(var p=g[v].previousSibling;p&&p.nodeType===Node.TEXT_NODE&&p.textContent.length===0;)p=p.previousSibling;if(g[v].tagName!=="LI"||p)return x(S,!1),!0;x(S,!0)}},moreText:N,moreParagraph:N,moreMisc:N,moreRich:N}},Object.assign(e.DEFAULTS,{attribution:!0,toolbarBottom:!1,toolbarButtons:null,toolbarButtonsXS:null,toolbarButtonsSM:null,toolbarButtonsMD:null,toolbarContainer:null,toolbarInline:!1,toolbarSticky:!0,toolbarStickyOffset:0,toolbarVisibleWithoutSelection:!1}),e.TOOLBAR_BUTTONS={moreText:{buttons:["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","textColor","backgroundColor","inlineClass","inlineStyle","clearFormatting"]},moreParagraph:{buttons:["alignLeft","alignCenter","formatOLSimple","alignRight","alignJustify","formatOL","formatUL","paragraphFormat","paragraphStyle","lineHeight","outdent","indent","quote"]},moreRich:{buttons:["insertLink","insertFiles","insertImage","insertVideo","insertTable","emoticons","fontAwesome","specialCharacters","embedly","insertFile","insertHR"]},moreMisc:{buttons:["undo","redo","fullscreen","print","getPDF","spellChecker","selectAll","html","help"],align:"right",buttonsVisible:2}},e.TOOLBAR_BUTTONS_MD=null,(e.TOOLBAR_BUTTONS_SM={}).moreText=Object.assign({},e.TOOLBAR_BUTTONS.moreText,{buttonsVisible:2}),e.TOOLBAR_BUTTONS_SM.moreParagraph=Object.assign({},e.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:2}),e.TOOLBAR_BUTTONS_SM.moreRich=Object.assign({},e.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:2}),e.TOOLBAR_BUTTONS_SM.moreMisc=Object.assign({},e.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),(e.TOOLBAR_BUTTONS_XS={}).moreText=Object.assign({},e.TOOLBAR_BUTTONS.moreText,{buttonsVisible:0}),e.TOOLBAR_BUTTONS_XS.moreParagraph=Object.assign({},e.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:0}),e.TOOLBAR_BUTTONS_XS.moreRich=Object.assign({},e.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:0}),e.TOOLBAR_BUTTONS_XS.moreMisc=Object.assign({},e.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),e.POWERED_BY='<a id="fr-logo" href="https://froala.com/wysiwyg-editor" target="_blank" title="Froala WYSIWYG HTML Editor"><span>Powered by</span><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 822.8 355.33"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Froala</title><path class="fr-logo" d="M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z"/><path class="fr-logo" d="M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z"/><path class="fr-logo" d="M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z"/><path class="fr-logo" d="M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z"/><path class="fr-logo" d="M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z"/><path class="fr-logo" d="M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z"/><path class="fr-logo" d="M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.
12763-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z"/></svg></a>',e.MODULES.toolbar=function(s){var c,x=s.$,N=[];function P(I){var E={};if(Array.isArray(I)){if(!Array.isArray(I[0])){for(var M=[],D=[],F=0;F<I.length;F++)I[F]==="|"||I[F]==="-"?(0<D.length&&M.push(D),D=[]):D.push(I[F]);0<D.length&&M.push(D),I=M}I.forEach(function(X,_){E["group".concat(_+1)]={buttons:X}}),E.showMoreButtons=!1}else i(I)!=="object"||Array.isArray(I)||((E=I).showMoreButtons=!0);return E}function S(){var I=s.helpers.screenSize();return N[c=I]}function g(){for(var I=s.$tb.find(".fr-more-toolbar"),E="",M=0;M<I.length;M++){var D=x(I[M]);D.hasClass("fr-expanded")?function(){var F=s.helpers.getPX(D.css("padding-left")),X=D.find("> .fr-command, > .fr-btn-wrap"),_=x(X[0]),w=s.helpers.getPX(_.css("margin-left")),A=s.helpers.getPX(_.css("margin-right")),U=s.helpers.getPX(_.css("margin-top")),b=s.helpers.getPX(_.css("margin-bottom"));if(X.each(function(z,W){F+=x(W).outerWidth()+w+A}),s.$tb.outerWidth()<F){var k=Math.floor(F/s.$tb.outerWidth());F+=k*(F/D[0].childElementCount),k=Math.ceil(F/s.$tb.outerWidth());var O=(s.helpers.getPX(_.css("height"))+U+b)*k;D.css("height",O),E=O}}():D.css("height","")}s.$tb.css("padding-bottom",E)}function v(){if(c!==s.helpers.screenSize()){var I=S(),E=x(),M=x();for(var D in s.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command").addClass("fr-hidden"),function(){for(var ee=s.$tb.find(".fr-btn-grp, .fr-more-toolbar"),se=function(ce){var ie=x(ee[ce]);ie.children().each(function(te,ne){ie.before(ne)}),ie.remove()},ae=0;ae<ee.length;ae++)se(ae)}(),I){var F=I[D];if(F.buttons){var X=void 0,_=0,w=3,A=x('<div class="fr-btn-grp fr-float-'.concat(I[D].align?I[D].align:"left",'"></div>'));I.showMoreButtons&&(X=x('<div class="fr-more-toolbar"></div>').data("name","".concat(D,"-").concat(s.id)));for(var U=0;U<F.buttons.length;U++){F.buttonsVisible!==void 0&&(w=F.buttonsVisible);var b=s.$tb.find('> .fr-command[data-cmd="'+F.buttons[U]+'"], > div.fr-btn-wrap > .fr-command[data-cmd="'+F.buttons[U]+'"]'),k=null;s.node.hasClass(b.next().get(0),"fr-dropdown-menu")&&(k=b.next()),s.node.hasClass(b.next().get(0),"fr-options")&&(b.removeClass("fr-hidden"),b.next().removeClass("fr-hidden"),b=b.parent()),b.removeClass("fr-hidden"),I.showMoreButtons&&w<=_?(X.append(b),k&&X.append(k)):(A.append(b),k&&A.append(k)),_++}if(I.showMoreButtons&&w<_){var O=s.$tb.find('.fr-command[data-cmd="'.concat(D,'"]'));if(0<O.length)O.removeClass("fr-hidden fr-open");else{var z=D,W=e.COMMANDS[z];W.more_btn=!0,O=x(s.button.build(z,W,!0)),s.button.addButtons(O)}A.append(O)}E.push(A),I.showMoreButtons&&M.push(X)}}s.opts.toolbarBottom?(s.$tb.append(M),s.$tb.find(".fr-newline").remove(),s.$tb.append('<div class="fr-newline"></div>'),s.$tb.append(E)):(s.$tb.append(E),s.$tb.find(".fr-newline").remove(),s.$tb.append('<div class="fr-newline"></div>'),s.$tb.append(M)),s.$tb.removeClass("fr-toolbar-open"),s.$box.removeClass("fr-toolbar-open"),s.events.trigger("codeView.toggle")}g()}function p(I,E){setTimeout(function(){if((!I||I.which!=e.KEYCODE.ESC)&&s.selection.inEditor()&&s.core.hasFocus()&&!s.popups.areVisible()&&x(s.selection.blocks()[0]).closest("table").attr("contenteditable")!="false"&&(s.opts.toolbarVisibleWithoutSelection||!s.selection.isCollapsed()&&!s.keys.isIME()||E)){if(s.$tb.data("instance",s),s.events.trigger("toolbar.show",[I])===!1)return;s.$tb.show(),s.opts.toolbarContainer||s.position.forSelection(s.$tb),1<s.opts.zIndex?s.$tb.css("z-index",s.opts.zIndex+1):s.$tb.css("z-index",null)}},0)}function a(I){return(!I||I.type!=="blur"||document.activeElement!==s.el)&&(!(!I||I.type!=="keydown"||!s.keys.ctrlKey(I))||!!s.button.getButtons(".fr-dropdown.fr-active").next().find(s.o_doc.activeElement).length||void(s.events.trigger("toolbar.hide")!==!1&&s.$tb.hide()))}N[e.XS]=P(s.opts.toolbarButtonsXS||s.opts.toolbarButtons||e.TOOLBAR_BUTTONS_XS||e.TOOLBAR_BUTTONS||[]),N[e.SM]=P(s.opts.toolbarButtonsSM||s.opts.toolbarButtons||e.TOOLBAR_BUTTONS_SM||e.TOOLBAR_BUTTONS||[]),N[e.MD]=P(s.opts.toolbarButtonsMD||s.opts.toolbarButtons||e.TOOLBAR_BUTTONS_MD||e.TOOLBAR_BUTTONS||[]),N[e.LG]=P(s.opts.toolbarButtons||e.TOOLBAR_BUTTONS||[]);var o=null;function u(I){clearTimeout(o),I&&I.which===e.KEYCODE.ESC||(o=setTimeout(p,s.opts.typingTimer))}function d(){s.events.on("window.mousedown",a),s.events.on("keydown",a),s.events.on("blur",a),s.events.$on(s.$tb,"transitionend",".fr-more-toolbar",function(){s.position.forSelection(s.$tb)}),s.helpers.isMobile()||s.events.on("window.mouseup",p),s.helpers.isMobile()?s.helpers.isIOS()||(s.events.on("window.touchend",p),s.browser.mozilla&&setInterval(p,200)):s.events.on("window.keyup",u),s.events.on("keydown",function(I){I&&I.which===e.KEYCODE.ESC&&s.events.trigger("toolbar.esc")}),s.events.on("keydown",function(I){if(I.which===e.KEYCODE.ALT)return I.stopPropagation(),!1},!0),s.events.$on(s.$wp,"scroll.toolbar",p),s.events.on("commands.after",p),s.helpers.isMobile()&&(s.events.$on(s.$doc,"selectionchange",u),s.events.$on(s.$doc,"orientationchange",p))}function h(){s.$tb.html("").removeData().remove(),s.$tb=null,s.$second_tb&&(s.$second_tb.html("").removeData().remove(),s.$second_tb=null)}function m(){s.$box.removeClass("fr-top fr-bottom fr-inline fr-basic"),s.$box.find(".fr-sticky-dummy").remove()}function f(){s.opts.theme&&s.$tb.addClass("".concat(s.opts.theme,"-theme")),1<s.opts.zIndex&&s.$tb.css("z-index",s.opts.zIndex+1),s.opts.direction!=="auto"&&s.$tb.removeClass("fr-ltr fr-rtl").addClass("fr-".concat(s.opts.direction)),s.helpers.isMobile()?s.$tb.addClass("fr-mobile"):s.$tb.addClass("fr-desktop"),s.opts.toolbarContainer?(s.opts.toolbarInline&&(d(),a()),s.opts.toolbarBottom?s.$tb.addClass("fr-bottom"):s.$tb.addClass("fr-top")):function(){s.opts.toolbarInline?(s.$sc.append(s.$tb),s.$tb.data("container",s.$sc),s.$tb.addClass("fr-inline"),d(),s.opts.toolbarBottom=!1):(s.opts.toolbarBottom&&!s.helpers.isIOS()?(s.$box.append(s.$tb),s.$tb.addClass("fr-bottom"),s.$box.addClass("fr-bottom")):(s.opts.toolbarBottom=!1,s.$box.prepend(s.$tb),s.$tb.addClass("fr-top"),s.$box.addClass("fr-top")),s.$tb.addClass("fr-basic"),s.opts.toolbarSticky&&(s.opts.toolbarStickyOffset&&(s.opts.toolbarBottom?s.$tb.css("bottom",s.opts.toolbarStickyOffset):s.$tb.css("top",s.opts.toolbarStickyOffset)),s.position.addSticky(s.$tb)))}(),function(){var E=s.button.buildGroup(S());s.$tb.append(E),g(),s.button.bindCommands(s.$tb)}(),function(){s.events.$on(x(s.o_win),"resize",v),s.events.$on(x(s.o_win),"orientationchange",v)}(),s.accessibility.registerToolbar(s.$tb),s.events.$on(s.$tb,"".concat(s._mousedown," ").concat(s._mouseup),function(I){var E=I.originalEvent?I.originalEvent.target||I.originalEvent.originalTarget:null;if(E&&E.tagName!=="INPUT"&&!s.edit.isDisabled())return I.stopPropagation(),I.preventDefault(),!1},!0),s.helpers.isMobile()&&s.events.$on(s.$tb,"click",function(){s.popups.areVisible().length||s.$el.focus()}),s.events.$on(s.$tb,"transitionend",".fr-more-toolbar",function(){s.$box.hasClass("fr-fullscreen")&&(s.opts.height=s.o_win.innerHeight-(s.opts.toolbarInline?0:s.$tb.outerHeight()+(s.$second_tb?s.$second_tb.outerHeight():0)),s.size.refresh())})}var y=!1;return{_init:function(){if(s.$sc=x(s.opts.scrollableContainer).first(),!s.$wp)return!1;s.opts.toolbarInline||s.opts.toolbarBottom||(s.$second_tb=x(s.doc.createElement("div")).attr("class","fr-second-toolbar"),s.$box.append(s.$second_tb),(s.ul!==!1||s.opts.attribution)&&s.$second_tb.prepend(e.POWERED_BY)),s.opts.toolbarContainer?(s.shared.$tb?(s.$tb=s.shared.$tb,s.opts.toolbarInline&&d()):(s.shared.$tb=x(s.doc.createElement("DIV")),s.shared.$tb.addClass("fr-toolbar"),s.$tb=s.shared.$tb,x(s.opts.toolbarContainer).append(s.$tb),f(),s.$tb.data("instance",s)),s.opts.toolbarInline?s.$box.addClass("fr-inline"):s.$box.addClass("fr-basic"),s.events.on("focus",function(){s.$tb.data("instance",s)},!0),s.opts.toolbarInline=!1):s.opts.toolbarInline?(s.$box.addClass("fr-inline"),s.shared.$tb?(s.$tb=s.shared.$tb,d()):(s.shared.$tb=x(s.doc.createElement("DIV")),s.shared.$tb.addClass("fr-toolbar"),s.$tb=s.shared.$tb,f())):(s.$box.addClass("fr-basic"),s.$tb=x(s.doc.createElement("DIV")),s.$tb.addClass("fr-toolbar"),f(),s.$tb.data("instance",s)),s.events.on("destroy",m,!0),s.events.on(s.opts.toolbarInline||s.opts.toolbarContainer?"shared.destroy":"destroy",h,!0),s.events.on("edit.on",function(){s.$tb.removeClass("fr-disabled").removeAttr("aria-disabled")}),s.events.on("edit.off",function(){s.$tb.addClass("fr-disabled").attr("aria-disabled",!0)}),function(){s.events.on("shortcut",function(M,D,F){var X;
vendor: 23,009 bytes, line 127
127if(D&&!F?X=s.$tb.find('.fr-command[data-cmd="'.concat(D,'"]')):D&&F&&(X=s.$tb.find('.fr-command[data-cmd="'.concat(D,'"][data-param1="').concat(F,'"]'))),X.length&&(M.preventDefault(),M.stopPropagation(),X.parents(".fr-toolbar").data("instance",s),M.type==="keydown"))return s.button.exec(X),!1})}()},hide:a,show:function(){if(s.events.trigger("toolbar.show")===!1)return!1;s.$tb.show()},showInline:p,disable:function(){!y&&s.$tb&&(s.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").addClass("fr-disabled fr-no-refresh").attr("aria-disabled",!0),y=!0)},enable:function(){y&&s.$tb&&(s.$tb.find(".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command").removeClass("fr-disabled fr-no-refresh").attr("aria-disabled",!1),y=!1),s.button.bulkRefresh()},setMoreToolbarsHeight:g}};var r=["scroll","wheel","touchmove","touchstart","touchend"],t=["webkit","moz","ms","o"],n=["transitionend"],l=document.createElement("div").style,C=["Webkit","Moz","ms","O","css","style"],B={visibility:"hidden",display:"block"},$=["focus","blur","click"],K={},G=function(c,x){return{altKey:c.altKey,bubbles:c.bubbles,cancelable:c.cancelable,changedTouches:c.changedTouches,ctrlKey:c.ctrlKey,detail:c.detail,eventPhase:c.eventPhase,metaKey:c.metaKey,pageX:c.pageX,pageY:c.pageY,shiftKey:c.shiftKey,view:c.view,char:c.char,key:c.key,keyCode:c.keyCode,button:c.button,buttons:c.buttons,clientX:c.clientX,clientY:c.clientY,offsetX:c.offsetX,offsetY:c.offsetY,pointerId:c.pointerId,pointerType:c.pointerType,screenX:c.screenX,screenY:c.screenY,targetTouches:c.targetTouches,toElement:c.toElement,touches:c.touches,type:c.type,which:c.which,target:c.target,currentTarget:x,originalEvent:c,stopPropagation:function(){c.stopPropagation()},stopImmediatePropagation:function(){c.stopImmediatePropagation()},preventDefault:function(){r.indexOf(c.type)===-1&&c.preventDefault()}}},q=function(c){return c.ownerDocument&&c.ownerDocument.body.contains(c)||c.nodeName==="#document"||c.nodeName==="HTML"||c===window},Z=function(c,x){return function(N){var P=N.target;if(x)for(x=Y(x);P&&P!==this;)P.matches&&P.matches(Y(x))&&c.call(P,G(N,P)),P=P.parentNode;else q(P)&&c.call(P,G(N,P))}},R=function(c,x){return new T(c,x)},Y=function(c){return c&&typeof c=="string"?c.replace(/^\s*>/g,":scope >").replace(/,\s*>/g,", :scope >"):c},V=function(c){return typeof c=="function"&&typeof c.nodeType!="number"},H=R;R.fn=R.prototype={constructor:R,length:0,contains:function(s){if(!s)return!1;if(Array.isArray(s)){for(var c=0;c<s.length;c++)if(this.contains(s[c])&&this!=s[c])return!0;return!1}for(var x=0;x<this.length;x++)for(var N=s;N;){if(N==this[x]||N[0]&&N[0].isEqualNode(this[x]))return!0;N=N.parentNode}return!1},findVisible:function(s){for(var c=this.find(s),x=c.length-1;0<=x;x--)H(c[x]).isVisible()||c.splice(x,1);return c},formatParams:function(s){var c="".concat(Object.keys(s).map(function(x){return"".concat(x,"=").concat(encodeURIComponent(s[x]))}).join("&"));return c||""},ajax:function(s){var c=new XMLHttpRequest,x=this.formatParams(s.data);for(var N in s.method.toUpperCase()==="GET"&&(s.url=x?s.url+"?"+x:s.url),c.open(s.method,s.url,!0),s.withCredentials&&(c.withCredentials=!0),s.crossDomain&&c.setRequestHeader("Access-Control-Allow-Origin","*"),s.headers)Object.prototype.hasOwnProperty.call(s.headers,N)&&c.setRequestHeader(N,s.headers[N]);Object.prototype.hasOwnProperty.call(s.headers,"Content-Type")||(s.dataType==="json"?c.setRequestHeader("Content-Type","application/json"):c.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8")),c.onload=function(){if(c.status==200){var P=c.responseText;s.dataType==="json"&&(P=JSON.parse(P)),s.done(P,c.status,c)}else s.fail(c)},c.send(x)},prevAll:function(){var s=H();if(!this[0])return s;for(var c=this[0];c&&c.previousSibling;)c=c.previousSibling,s.push(c);return s},index:function(s){return s?typeof s=="string"?[].indexOf.call(H(s),this[0]):[].indexOf.call(this,s.length?s[0]:s):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},isVisible:function(){return!!this[0]&&!!(this[0].offsetWidth||this[0].offsetHeight||this[0].getClientRects().length)},toArray:function(){return[].slice.call(this)},get:function(s){return s==null?[].slice.call(this):s<0?this[s+this.length]:this[s]},pushStack:function(s){var c=R.merge(this.constructor(),s);return c.prevObject=this,c},wrapAll:function(s){var c;return this[0]&&(V(s)&&(s=s.call(this[0])),c=R(s,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){for(var x=this;x.firstElementChild;)x=x.firstElementChild;return x}).append(this)),this},wrapInner:function(s){if(typeof s=="string"){for(var c=s.split(" "),x=0;x<c.length&&c[x].trim().length===0;)x++;if(x<c.length&&(H(s).length&&c[x].trim()===H(s)[0].tagName&&(s=document.createElement(c[x].trim())),x++),typeof s!="string")for(var N=H(s);x<c.length;x++){c[x]=c[x].trim();var P=c[x].split("=");N.attr(P[0],P[1].replace('"',""))}}for(;this[0].firstChild&&this[0].firstChild!==s&&typeof s!="string";)s.appendChild(this[0].firstChild)},wrap:function(s){var c=V(s);return this.each(function(x){H(this).wrapAll(c?s.call(this,x):s)})},unwrap:function(){return this.parent().each(function(){this.nodeName&&this.nodeName.toLowerCase()===name.toLowerCase()||R(this).replaceWith(this.childNodes)})},grep:function(s,c,x){for(var N=[],P=0,S=s.length,g=!x;P<S;P++)!c(s[P],P)!==g&&N.push(s[P]);return N},map:function(s){return this.pushStack(R.map(this,function(c,x){return s.call(c,x,c)}))},slice:function(){return this.pushStack([].slice.apply(this,arguments))},each:function(s){if(this.length)for(var c=0;c<this.length&&s.call(this[c],c,this[c])!==!1;c++);return this},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(s){var c=this.length,x=+s+(s<0?c:0);return this.pushStack(0<=x&&x<c?[this[x]]:[])},empty:function(){for(var s=0;s<this.length;s++)this[s].innerHTML=""},contents:function(){for(var s=H(),c=0;c<this.length;c++)for(var x=this[c].childNodes,N=0;N<x.length;N++)s.push(x[N]);return s},attr:function(s,c){if(i(s)==="object"){for(var x in s)Object.prototype.hasOwnProperty.call(s,x)&&s[x]!==null&&this.attr(x,s[x]);return this}if(c===void 0)return this.length===0||!this[0].getAttribute&&s!=="checked"?void 0:s==="checked"?this[0].checked:s==="tagName"?this[0].tagName:this[0].getAttribute(s);if(s==="checked")for(var N=0;N<this.length;N++)this[N].checked=c;else if(s==="tagName")for(var P=0;P<this.length;P++)this[P].tagName=c;else for(var S=0;S<this.length;S++)this[S].setAttribute(s,c);return this},removeAttr:function(s){for(var c=0;c<this.length;c++)this[c].removeAttribute&&this[c].removeAttribute(s);return this},hide:function(){return this.css("display","none"),this},show:function(){return this.css("display","block"),this},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},data:function(s,c){if(c!==void 0){for(var x=0;x<this.length;x++)i(this[x]["data-"+s]=c)!=="object"&&typeof c!="function"&&this[x].setAttribute&&this[x].setAttribute("data-"+s,c);return this}if(c!==void 0)return this.attr("data-"+s,c);if(this.length!==0)for(var N=0;N<this.length;N++){var P=this[N]["data-"+s];if(P==null&&this[N].getAttribute&&(P=this[N].getAttribute("data-"+s)),P!==void 0&&P!=null)return P}},removeData:function(s){for(var c=0;c<this.length;c++)this[c].removeAttribute&&this[c].removeAttribute("data-"+s),this[c]["data-"+s]=null;return this},getCorrectStyleName:function(s){if(!K[s]){var c;s in l&&(c=s);for(var x=s[0].toUpperCase()+s.slice(1),N=C.length;N--;)(s=C[N]+x)in l&&(c=s);K[s]=c}return K[s]},css:function(s,c){if(c!==void 0){if(this.length===0)return this;(typeof c!="string"||c.trim()===""||isNaN(c))&&typeof c!="number"||!/(margin)|(padding)|(height)|(width)|(top)|(left)|(right)|(bottom)/gi.test(s)||/(line-height)/gi.test(s)||(c+="px");for(var x=0;x<this.length;x++)s=H(this).getCorrectStyleName(s),this[x].style[s]=c;return this}if(typeof s=="string"){if(this.length===0)return;var N=this[0].ownerDocument||document,P=N.defaultView||N.parentWindow;return s=H(this).getCorrectStyleName(s),P.getComputedStyle(this[0])[s]}for(var S in s)Object.prototype.hasOwnProperty.call(s,S)&&this.css(S,s[S]);return this},toggleClass:function(s,c){if(1<s.split(" ").length){for(var x=s.split(" "),N=0;N<x.length;N++)this.toggleClass(x[N],c);return this}for(var P=0;P<this.length;P++)c===void 0?this[P].classList.contains(s)?this[P].classList.remove(s):this[P].classList.add(s):c?this[P].classList.contains(s)||this[P].classList.add(s):this[P].classList.contains(s)&&this[P].classList.remove(s);return this},addClass:function(s){if(s.length===0)return this;if(1<s.split(" ").length){for(var c=s.split(" "),x=0;x<c.length;x++)this.addClass(c[x]);return this}for(var N=0;N<this.length;N++)this[N].classList.add(s);return this},removeClass:function(s){if(1<s.split(" ").length){for(var c=s.split(" "),x=0;x<c.length;x++)c[x]=c[x].trim(),c[x].length&&this.removeClass(c[x]);return this}for(var N=0;N<this.length;N++)s.length&&this[N].classList.remove(s);return this},getClass:function(s){return s.getAttribute&&s.getAttribute("class")||""},stripAndCollapse:function(s){return(s.match(/[^\x20\t\r\n\f]+/g)||[]).join(" ")},hasClass:function(s){var c,x,N=0;for(c=" "+s+" ";x=this[N++];)if(x.nodeType===1&&-1<(" "+H(this).stripAndCollapse(H(this).getClass(x))+" ").indexOf(c))return!0;return!1},scrollTop:function(s){if(s===void 0)return this.length===0?void 0:this[0]===document?document.documentElement.scrollTop:this[0].scrollTop;for(var c=0;c<this.length;c++)this[c]===document?window.scrollTo(document.documentElement.scrollLeft,s):this[c].scrollTop=s},scrollLeft:function(s){if(s===void 0)return this.length===0?void 0:this[0]===document?document.documentElement.scrollLeft:this[0].scrollLeft;for(var c=0;c<this.length;c++)this[c]===document?window.scrollTo(s,document.documentElement.scrollTop):this[c].scrollLeft=s},on:function(s,c,x){if(1<s.split(" ").length){for(var N=s.split(" "),P=0;P<N.length;P++)if(n.indexOf(s)!==-1)for(var S=0;S<t.length;S++)this.on(t[S]+s[0].toUpperCase()+s.slice(1),c,x);else this.on(N[P],c,x);return this}x=typeof c=="function"?Z(c,null):Z(x,c);for(var g=0;g<this.length;g++){var v=H(this[g]);v.data("events")||v.data("events",[]),v.data("events").push([s,x]);var p=s.split(".");p=p[0],0<=r.indexOf(p)?v.get(0).addEventListener(p,x,{passive:!0}):v.get(0).addEventListener(p,x)}},off:function(s){if(1<s.split(" ").length){for(var c=s.split(" "),x=0;x<c.length;x++)this.off(c[x]);return this}for(var N=0;N<this.length;N++){var P=H(this[N]);if(P.data("events")){var S=s.split(".");S=S[0];for(var g=P.data("events")||[],v=g.length-1;0<=v;v--){var p=g[v];p[0]==s&&(P.get(0).removeEventListener(S,p[1]),g.splice(v,1))}}}},trigger:function(s){for(var c=0;c<this.length;c++){var x=void 0;typeof Event=="function"?x=0<=s.search(/^mouse/g)?new MouseEvent(s,{view:window,cancelable:!0,bubbles:!0}):new Event(s):0<=s.search(/^mouse/g)?(x=document.createEvent("MouseEvents")).initMouseEvent(s,!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null):(x=document.createEvent("Event")).initEvent(s,!0,!0),0<=$.indexOf(s)&&typeof this[c][s]=="function"?this[c][s]():this[c].dispatchEvent(x)}},triggerHandler:function(){},val:function(s){if(s===void 0)return this[0].value;for(var c=0;c<this.length;c++)this[c].value=s;return this},siblings:function(){return H(this[0]).parent().children().not(this)},find:function(s){var c=H();if(typeof s!="string"){for(var x=0;x<s.length;x++)for(var N=0;N<this.length;N++)if(this[N]!==s[x]&&H(this[N]).contains(s[x])){c.push(s[x]);break}return c}var P=function(a){return(typeof HTMLElement>"u"?"undefined":i(HTMLElement))==="object"?a instanceof HTMLElement:a&&i(a)==="object"&&a!==null&&a.nodeType===1&&typeof a.nodeName=="string"};s=Y(s);for(var S=0;S<this.length;S++)if(this[S].querySelectorAll){var g=[];s&&typeof s=="string"?g=this[S].querySelectorAll(s):P(s)&&(g=[s]);for(var v=0;v<g.length;v++)c.push(g[v])}return c},children:function(){for(var s=H(),c=0;c<this.length;c++)for(var x=this[c].children,N=0;N<x.length;N++)s.push(x[N]);return s},not:function(s){if(typeof s=="string")for(var c=this.length-1;0<=c;c--)this[c].matches(s)&&this.splice(c,1);else if(s instanceof R){for(var x=this.length-1;0<=x;x--)for(var N=0;N<s.length;N++)if(this[x]===s[N]){this.splice(x,1);break}}else for(var P=this.length-1;0<=P;P--)this[P]===s[0]&&this.splice(P,1);return this},add:function(s){for(var c=0;c<s.length;c++)this.push(s[c]);return this},closest:function(s){for(var c=0;c<this.length;c++){var x=this[c].closest&&this[c].closest(s);if(x)return H(x)}return H()},html:function(s){if(s===void 0)return this.length===0?void 0:this[0].innerHTML;if(typeof s=="string")for(var c=0;c<this.length;c++){this[c].innerHTML=s;for(var x=this[c].children,N=this[c].ownerDocument||document,P=0;P<x.length;P++)if(x[P].tagName==="SCRIPT"){var S=N.createElement("script");S.innerHTML=x[P].innerHTML,N.head.appendChild(S).parentNode.removeChild(S)}}else{this[0].innerHTML="",this.append(s[0]);var g=this[0].ownerDocument||document;if(s[0].tagName==="SCRIPT"){var v=g.createElement("script");v.innerHTML=s[0].innerHTML,g.head.appendChild(v).parentNode.removeChild(v)}}return this},text:function(s){if(!s)return this.length?this[0].textContent:"";for(var c=0;c<this.length;c++)this[c].textContent=s},after:function(c){if(c)if(typeof c=="string")for(var x=0;x<this.length;x++){var N=this[x];if(N.nodeType!=Node.ELEMENT_NODE){var P=N.ownerDocument.createElement("SPAN");H(N).after(P),H(P).after(c).remove()}else N.insertAdjacentHTML("afterend",c)}else{var S=this[0];if(S.nextSibling)if(c instanceof R)for(var g=0;g<c.length;g++)S.nextSibling.parentNode.insertBefore(c[g],S.nextSibling);else S.nextSibling.parentNode.insertBefore(c,S.nextSibling);else H(S.parentNode).append(c)}return this},clone:function(s){for(var c=H(),x=0;x<this.length;x++)c.push(this[x].cloneNode(s));return c},replaceWith:function(s){if(typeof s=="string")for(var c=0;c<this.length;c++)this[c].parentNode&&(this[c].outerHTML=s);else if(s.length)for(var x=0;x<this.length;x++)this.replaceWith(s[x]);else this.after(s).remove()},insertBefore:function(s){return H(s).before(this[0]),this},before:function(c){if(c instanceof R){for(var x=0;x<c.length;x++)this.before(c[x]);return this}if(c)if(typeof c=="string")for(var N=0;N<this.length;N++){var P=this[N];if(P.nodeType!=Node.ELEMENT_NODE){var S=P.ownerDocument.createElement("SPAN");H(P).before(S),H(S).before(c).remove()}else P.parentNode&&P.insertAdjacentHTML("beforebegin",c)}else{var g=this[0];if(g.parentNode)if(c instanceof R)for(var v=0;v<c.length;v++)g.parentNode.insertBefore(c[v],g);else g.parentNode.insertBefore(c,g)}return this},append:function(s){if(this.length==0)return this;if(typeof s=="string")for(var c=0;c<this.length;c++){var x=this[c],N=x.ownerDocument.createElement("SPAN");H(x).append(N),H(N).after(s).remove()}else if(s instanceof R||Array.isArray(s))for(var P=0;P<s.length;P++)this.append(s[P]);else typeof s!="function"&&this[0].appendChild(s);return this},prepend:function(s){if(this.length==0)return this;if(typeof s=="string")for(var c=0;c<this.length;c++){var x=this[c],N=x.ownerDocument.createElement("SPAN");H(x).prepend(N),H(N).before(s).remove()}else if(s instanceof R)for(var P=0;P<s.length;P++)this.prepend(s[P]);else{var S=this[0];S.firstChild?S.firstChild?S.insertBefore(s,S.firstChild):S.appendChild(s):H(S).append(s)}return this},remove:function(){for(var s=0;s<this.length;s++)this[s].parentNode&&this[s].parentNode.removeChild(this[s]);return this},prev:function(){return this.length&&this[0].previousElementSibling?H(this[0].previousElementSibling):H()},next:function(){return this.length&&this[0].nextElementSibling?H(this[0].nextElementSibling):H()},nextAllVisible:function(){return this.next()},prevAllVisible:function(){return this.prev()},outerHeight:function(s){if(this.length!==0){var c=this[0];if(c===c.window)return c.innerHeight;var x={},N=this.isVisible();if(!N)for(var P in B)x[P]=c.style[P],c.style[P]=B[P];var S=c.offsetHeight;if(s&&(S+=parseInt(H(c).css("marginTop"))+parseInt(H(c).css("marginBottom"))),!N)for(var g in B)c.style[g]=x[g];return S}},outerWidth:function(s){if(this.length!==0){var c=this[0];if(c===c.window)return c.outerWidth;var x={},N=this.isVisible();if(!N)for(var P in B)x[P]=c.style[P],c.style[P]=B[P];var S=c.offsetWidth;if(s&&(S+=parseInt(H(c).css("marginLeft"))+parseInt(H(c).css("marginRight"))),!N)for(var g in B)c.style[g]=x[g];return S}},width:function(s){if(s===void 0){if(this[0]instanceof HTMLDocument)return this[0].body.offsetWidth;if(this[0])return this[0].offsetWidth}else this[0].style.width=s+"px"},height:function(s){var c=this[0];if(s===void 0){if(c instanceof HTMLDocument){var x=c.documentElement;return Math.max(c.body.scrollHeight,x.scrollHeight,c.body.offsetHeight,x.offsetHeight,x.clientHeight)}return c.offsetHeight}c.style.height=s+"px"},is:function(s){return this.length!==0&&(typeof s=="string"&&this[0].matches?this[0].matches(s):s instanceof R?this[0]==s[0]:this[0]==s)},parent:function(){return this.length===0?H():H(this[0].parentNode)},_matches:function(s,c){var x=s.matches||s.matchesSelector||s.msMatchesSelector||s.mozMatchesSelector||s.webkitMatchesSelector||s.oMatchesSelector;return s&&!c?x:x.call(s,c)},parents:function(s){for(var c=H(),x=0;x<this.length;x++)for(var N=this[x].parentNode;N&&N!=document&&this._matches(N);)s?this._matches(N,s)&&c.push(N):c.push(N),N=N.parentNode;return c},parentsUntil:function(s,c){var x=H();s instanceof R&&0<s.length&&(s=s[0]);for(var N=0;N<this.length;N++)for(var P=this[N].parentNode;P&&P!=document&&P.matches&&P!=s&&this[N]!=s&&(typeof s!="string"||!P.matches(s));)c?P.matches(c)&&x.push(P):x.push(P),P=P.parentNode;return x},insertAfter:function(s){var c=s.parent()[0];c&&c.insertBefore(this[0],s[0].nextElementSibling)},filter:function(s){var c=H();if(typeof s=="function")for(var x=0;x<this.length;x++)s.call(this[x],this[x])&&c.push(this[x]);else if(typeof s=="string")for(var N=0;N<this.length;N++)this[N].matches(s)&&c.push(this[N]);return c},offset:function(){if(this.length!==0){var s=this[0].getBoundingClientRect(),c=this[0].ownerDocument.defaultView;return{top:s.top+c.pageYOffset,left:s.left+c.pageXOffset}}},position:function(){return{left:this[0].offsetLeft,top:this[0].offsetTop}},push:[].push,splice:[].splice},R.extend=function(s){s=s||{};for(var c=1;c<arguments.length;c++)if(arguments[c])for(var x in arguments[c])Object.prototype.hasOwnProperty.call(arguments[c],x)&&(s[x]=arguments[c][x]);return s},R.merge=function(s,c){for(var x=+c.length,N=0,P=s.length;N<x;N++)s[P++]=c[N];return s.length=P,s},R.map=function(s,c,x){var N,P,S=0,g=[];if(Array.isArray(s))for(N=s.length;S<N;S++)(P=c(s[S],S,x))!=null&&g.push(P);else for(S in s)(P=c(s[S],S,x))!=null&&g.push(P);return[].concat.apply([],g)};var T=function(c,x){if(!c)return this;if(typeof c=="string"&&c[0]==="<"){var N=document.createElement("DIV");return N.innerHTML=c,H(N.firstElementChild)}if(x=x instanceof R?x[0]:x,typeof c!="string")return c instanceof R?c:(this[0]=c,this.length=1,this);c=Y(c);for(var P=(x||document).querySelectorAll(c),S=0;S<P.length;S++)this[S]=P[S];return this.length=P.length,this};T.prototype=R.prototype;var L=e;function j(){this.doc=this.$el.get(0).ownerDocument,this.win="defaultView"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=R(this.doc),this.$win=R(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(L.PLUGINS)),this.opts.initOnClick?(this.load(L.MODULES),this.$el.on("touchstart.init",function(){R(this).data("touched",!0)}),this.$el.on("touchmove.init",function(){R(this).removeData("touched")}),this.$el.on("mousedown.init touchend.init dragenter.init focus.init",(function(c){if(c.type==="touchend"&&!this.$el.data("touched"))return!0;if(c.which===1||!c.which){this.$el.off("mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init"),this.load(L.MODULES),this.load(L.PLUGINS);var x=c.originalEvent&&c.originalEvent.originalTarget;if(x&&x.tagName==="IMG"&&R(x).trigger("mousedown"),typeof this.ul>"u"&&this.destroy(),c.type==="touchend"&&this.image&&c.originalEvent&&c.originalEvent.target&&R(c.originalEvent.target).is("img")){var N=this;setTimeout(function(){N.image.edit(R(c.originalEvent.target))},100)}this.ready=!0,this.events.trigger("initialized")}}).bind(this)),this.events.trigger("initializationDelayed")):(this.load(L.MODULES),this.load(L.PLUGINS),R(this.o_win).scrollTop(this.c_scroll),typeof this.ul>"u"&&this.destroy(),this.ready=!0,this.events.trigger("initialized"))}return L.Bootstrap=function(s,c,x){this.id=++L.ID,this.$=R;var N={};typeof c=="function"&&(x=c,c={}),x&&(c.events||(c.events={}),c.events.initialized=x),c&&c.documentReady&&(N.toolbarButtons=[["fullscreen","undo","redo","getPDF","print"],["bold","italic","underline","textColor","backgroundColor","clearFormatting"],["alignLeft","alignCenter","alignRight","alignJustify"],["formatOL","formatUL","indent","outdent"],["paragraphFormat"],["fontFamily"],["fontSize"],["insertLink","insertImage","quote"]],N.paragraphFormatSelection=!0,N.fontFamilySelection=!0,N.fontSizeSelection=!0,N.placeholderText="",N.quickInsertEnabled=!1,N.charCounterCount=!1),this.opts=Object.assign({},Object.assign({},L.DEFAULTS,N,i(c)==="object"&&c));var P=JSON.stringify(this.opts);L.OPTS_MAPPING[P]=L.OPTS_MAPPING[P]||this.id,this.sid=L.OPTS_MAPPING[P],L.SHARED[this.sid]=L.SHARED[this.sid]||{},this.shared=L.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=R(s),this.$oel.data("froala.editor",this),this.o_doc=s.ownerDocument,this.o_win="defaultView"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow,this.c_scroll=R(this.o_win).scrollTop(),this._init()},L.Bootstrap.prototype._init=function(){var s=this.$oel.get(0).tagName;this.$oel.closest("label").length;var c=(function(){s!=="TEXTAREA"&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=R('<iframe src="about:blank" frameBorder="0">'),this.$wp=R("<div></div>"),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write("<!DOCTYPE html>"),this.$iframe.get(0).contentWindow.document.write("<html><head></head><body></body></html>"),this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=R(this.iframe_document.querySelector("body")),this.el=this.$el.get(0),this.$head=R(this.iframe_document.querySelector("head")),this.$html=R(this.iframe_document.querySelector("html"))):(this.$el=R(this.o_doc.createElement("DIV")),this.el=this.$el.get(0),this.$wp=R(this.o_doc.createElement("DIV")).append(this.$el),this.$box.html(this.$wp)),setTimeout(j.bind(this),0)}).bind(this),x=(function(){this.$box=R("<div>"),this.$oel.before(this.$box).hide(),this._original_html=this.$oel.val();var g=this;
127this.$oel.parents("form").on("submit.".concat(this.id),function(){g.events.trigger("form.submit")}),this.$oel.parents("form").on("reset.".concat(this.id),function(){g.events.trigger("form.reset")}),c()}).bind(this),N=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.$el.attr("contenteditable",!0).css("outline","none").css("display","inline-block"),this.opts.multiLine=!1,this.opts.toolbarInline=!1,setTimeout(j.bind(this),0)}).bind(this),P=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,setTimeout(j.bind(this),0)}).bind(this),S=(function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,this.$oel.on("click.popup",function(g){g.preventDefault()}),setTimeout(j.bind(this),0)}).bind(this);this.opts.editInPopup?S():s==="TEXTAREA"?x():s==="A"?N():s==="IMG"?P():s==="BUTTON"||s==="INPUT"?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,S()):c()},L.Bootstrap.prototype.load=function(s){for(var c in s)if(Object.prototype.hasOwnProperty.call(s,c)){if(this[c]||L.PLUGINS[c]&&this.opts.pluginsEnabled.indexOf(c)<0)continue;if(this[c]=new s[c](this),this[c]._init&&(this[c]._init(),this.opts.initOnClick&&c==="core"))return!1}},L.Bootstrap.prototype.destroy=function(){this.destrying=!0,this.shared.count--,this.events&&this.events.$off();var s=this.html&&this.html.get();if(this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur()),this.events&&(this.events.trigger("destroy",[],!0),this.events.trigger("shared.destroy",[],!0)),this.shared.count===0){for(var c in this.shared)Object.prototype.hasOwnProperty.call(this.shared,c)&&(this.shared[c]=null,L.SHARED[this.sid][c]=null);delete L.SHARED[this.sid]}this.$oel.parents("form").off(".".concat(this.id)),this.$oel.off("click.popup"),this.$oel.removeData("froala.editor"),this.$oel.off("froalaEditor"),this.core&&this.core.destroy(s),L.INSTANCES.splice(L.INSTANCES.indexOf(this),1)},e})});var Kk=$n((Nv,jv)=>{"use strict";(function(i,e){typeof define=="function"&&define.amd?define([],e):typeof Nv<"u"?e():(e(),i.FileSaver={})})(Nv,function(){"use strict";function i(B,$){return typeof $>"u"?$={autoBom:!1}:typeof $!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),$={autoBom:!$}),$.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(B.type)?new Blob(["\uFEFF",B],{type:B.type}):B}function e(B,$,K){var G=new XMLHttpRequest;G.open("GET",B),G.responseType="blob",G.onload=function(){C(G.response,$,K)},G.onerror=function(){console.error("could not download file")},G.send()}function r(B){var $=new XMLHttpRequest;$.open("HEAD",B,!1);try{$.send()}catch{}return 200<=$.status&&299>=$.status}function t(B){try{B.dispatchEvent(new MouseEvent("click"))}catch{var $=document.createEvent("MouseEvents");
127$.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),B.dispatchEvent($)}}var n=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,l=n.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),C=n.saveAs||(typeof window!="object"||window!==n?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(B,$,K){var G=n.URL||n.webkitURL,q=document.createElement("a");$=$||B.name||"download",q.download=$,q.rel="noopener",typeof B=="string"?(q.href=B,q.origin===location.origin?t(q):r(q.href)?e(B,$,K):t(q,q.target="_blank")):(q.href=G.createObjectURL(B),setTimeout(function(){G.revokeObjectURL(q.href)},4e4),setTimeout(function(){t(q)},0))}:"msSaveOrOpenBlob"in navigator?function(B,$,K){if($=$||B.name||"download",typeof B!="string")navigator.msSaveOrOpenBlob(i(B,K),$);else if(r(B))e(B,$,K);else{var G=document.createElement("a");G.href=B,G.target="_blank",setTimeout(function(){t(G)})}}:function(B,$,K,G){if(G=G||open("","_blank"),G&&(G.document.title=G.document.body.innerText="downloading..."),typeof B=="string")return e(B,$,K);var q=B.type==="application/octet-stream",Z=/constructor/i.test(n.HTMLElement)||n.safari,R=/CriOS\/[\d]+/.test(navigator.userAgent);if((R||q&&Z||l)&&typeof FileReader<"u"){var Y=new FileReader;Y.onloadend=function(){var T=Y.result;T=R?T:T.replace(/^data:[^;]*;/,"data:attachment/file;"),G?G.location.href=T:location=T,G=null},Y.readAsDataURL(B)}else{var V=n.URL||n.webkitURL,H=V.createObjectURL(B);G?G.location=H:location.href=H,G=null,setTimeout(function(){V.revokeObjectURL(H)},4e4)}});n.saveAs=C.saveAs=C,typeof jv<"u"&&(jv.exports=C)})});var SA=$n((wA,d1)=>{"use strict";(function(i,e){typeof d1=="object"&&d1.exports?(e.default=e,d1.exports=i&&i.document?e(i):e):typeof define=="function"&&define.amd?define("highcharts/highcharts",function(){return e(i)}):(i.Highcharts&&i.Highcharts.error(16,!0),i.Highcharts=e(i))})(typeof window<"u"?window:wA,function(i){"use strict";var e={};function r(t,n,l,C){!t.hasOwnProperty(n)&&(t[n]=C.apply(null,l),i&&typeof CustomEvent=="function"&&i.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}return r(e,"Core/Globals.js",[],function(){var t,n;return(n=t||(t={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.8",n.win=i!==void 0?i:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=n.userAgent.indexOf("Firefox")!==-1,n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&n.userAgent.indexOf("Safari")!==-1,n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=n.userAgent.indexOf("AppleWebKit")!==-1,n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let l=!1;if(!n.isMS){let C=Object.defineProperty({},"passive",{get:function(){l=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,C),n.win.removeEventListener("testPassive",n.noop,C))}return l}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,t}),r(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let n,{charts:l,doc:C,win:B}=t;function $(a,o,u,d){let h=o?"Highcharts error":"Highcharts warning";a===32&&(a=`${h}: Deprecated member`);let m=V(a),f=m?`${h} #${a}: www.highcharts.com/errors/${a}/`:a.toString();if(d!==void 0){let y="";m&&(f+="?"),S(d,function(I,E){y+=` 128 - ${E}: ${I}`,m&&(f+=encodeURI(E)+"="+encodeURI(I))}),f+=y}v(t,"displayError",{chart:u,code:a,message:f,params:d},function(){if(o)throw Error(f);B.console&&$.messages.indexOf(f)===-1&&console.warn(f)}),$.messages.push(f)}function K(a,o){return parseInt(a,o||10)}
vendor: 8,864 bytes, line 128
128function G(a){return typeof a=="string"}function q(a){let o=Object.prototype.toString.call(a);return o==="[object Array]"||o==="[object Array Iterator]"}function Z(a,o){return!!a&&typeof a=="object"&&(!o||!q(a))}function R(a){return Z(a)&&typeof a.nodeType=="number"}function Y(a){let o=a&&a.constructor;return!!(Z(a,!0)&&!R(a)&&o&&o.name&&o.name!=="Object")}function V(a){return typeof a=="number"&&!isNaN(a)&&a<1/0&&a>-1/0}function H(a){return a!=null}function T(a,o,u){let d,h=G(o)&&!H(u),m=(f,y)=>{H(f)?a.setAttribute(y,f):h?(d=a.getAttribute(y))||y!=="class"||(d=a.getAttribute(y+"Name")):a.removeAttribute(y)};return G(o)?m(u,o):S(o,m),d}function L(a){return q(a)?a:[a]}function j(a,o){let u;for(u in a||(a={}),o)a[u]=o[u];return a}function s(){let a=arguments,o=a.length;for(let u=0;u<o;u++){let d=a[u];if(d!=null)return d}}function c(a,o){j(a.style,o)}function x(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))}function N(a,o){return a>1e14?a:parseFloat(a.toPrecision(o||14))}($||($={})).messages=[],Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};let P=Array.prototype.find?function(a,o){return a.find(o)}:function(a,o){let u,d=a.length;for(u=0;u<d;u++)if(o(a[u],u))return a[u]};function S(a,o,u){for(let d in a)Object.hasOwnProperty.call(a,d)&&o.call(u||a[d],a[d],d,a)}function g(a,o,u){function d(f,y){let I=a.removeEventListener;I&&I.call(a,f,y,!1)}function h(f){let y,I;a.nodeName&&(o?(y={})[o]=!0:y=f,S(y,function(E,M){if(f[M])for(I=f[M].length;I--;)d(M,f[M][I].fn)}))}let m=typeof a=="function"&&a.prototype||a;if(Object.hasOwnProperty.call(m,"hcEvents")){let f=m.hcEvents;if(o){let y=f[o]||[];u?(f[o]=y.filter(function(I){return u!==I.fn}),d(o,u)):(h(f),f[o]=[])}else h(f),delete m.hcEvents}}function v(a,o,u,d){if(u=u||{},C.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==t)){let h=C.createEvent("Events");h.initEvent(o,!0,!0),u=j(h,u),a.dispatchEvent?a.dispatchEvent(u):a.fireEvent(o,u)}else if(a.hcEvents){u.target||j(u,{preventDefault:function(){u.defaultPrevented=!0},target:a,type:o});let h=[],m=a,f=!1;for(;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[o]&&(h.length&&(f=!0),h.unshift.apply(h,m.hcEvents[o])),m=Object.getPrototypeOf(m);f&&h.sort((y,I)=>y.order-I.order),h.forEach(y=>{y.fn.call(a,u)===!1&&u.preventDefault()})}d&&!u.defaultPrevented&&d.call(a,u)}S({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,o){t[o]=function(u){return $(32,!1,void 0,{[`Highcharts.${o}`]:`use Array.${a}`}),Array.prototype[a].apply(u,[].slice.call(arguments,1))}});let p=function(){let a=Math.random().toString(36).substring(2,9)+"-",o=0;return function(){return"highcharts-"+(n?"":a)+o++}}();return B.jQuery&&(B.jQuery.fn.highcharts=function(){let a=[].slice.call(arguments);if(this[0])return a[0]?(new t[G(a[0])?a.shift():"Chart"](this[0],a[0],a[1]),this):l[T(this[0],"data-highcharts-chart")]}),{addEvent:function(a,o,u,d={}){let h=typeof a=="function"&&a.prototype||a;Object.hasOwnProperty.call(h,"hcEvents")||(h.hcEvents={});let m=h.hcEvents;t.Point&&a instanceof t.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);let f=a.addEventListener;f&&f.call(a,o,u,!!t.supportsPassiveEvents&&{passive:d.passive===void 0?o.indexOf("touch")!==-1:d.passive,capture:!1}),m[o]||(m[o]=[]);let y={fn:u,order:typeof d.order=="number"?d.order:1/0};return m[o].push(y),m[o].sort((I,E)=>I.order-E.order),function(){g(a,o,u)}},arrayMax:function(a){let o=a.length,u=a[0];for(;o--;)a[o]>u&&(u=a[o]);return u},arrayMin:function(a){let o=a.length,u=a[0];for(;o--;)a[o]<u&&(u=a[o]);return u},attr:T,clamp:function(a,o,u){return a>o?a<u?a:u:o},clearTimeout:function(a){H(a)&&clearTimeout(a)},correctFloat:N,createElement:function(a,o,u,d,h){let m=C.createElement(a);return o&&j(m,o),h&&c(m,{padding:"0",border:"none",margin:"0"}),u&&c(m,u),d&&d.appendChild(m),m},crisp:(a,o=0,u)=>{let d=o%2/2,h=u?-1:1;return(Math.round(a*h-d)+d)*h},css:c,defined:H,destroyObjectProperties:function(a,o,u){S(a,function(d,h){d!==o&&(d!=null&&d.destroy)&&d.destroy(),(d!=null&&d.destroy||!u)&&delete a[h]})},diffObjects:function(a,o,u,d){let h={};return function m(f,y,I,E){let M=u?y:f;S(f,function(D,F){if(!E&&d&&d.indexOf(F)>-1&&y[F]){D=L(D),I[F]=[];for(let X=0;X<Math.max(D.length,y[F].length);X++)y[F][X]&&(D[X]===void 0?I[F][X]=y[F][X]:(I[F][X]={},m(D[X],y[F][X],I[F][X],E+1)))}else Z(D,!0)&&!D.nodeType?(I[F]=q(D)?[]:{},m(D,y[F]||{},I[F],E+1),Object.keys(I[F]).length!==0||F==="colorAxis"&&E===0||delete I[F]):(f[F]!==y[F]||F in f&&!(F in y))&&F!=="__proto__"&&F!=="constructor"&&(I[F]=M[F])})}(a,o,h,0),h},discardElement:function(a){a&&a.parentElement&&a.parentElement.removeChild(a)},erase:function(a,o){let u=a.length;for(;u--;)if(a[u]===o){a.splice(u,1);break}},error:$,extend:j,extendClass:function(a,o){let u=function(){};return u.prototype=new a,j(u.prototype,o),u},find:P,fireEvent:v,getClosestDistance:function(a,o){let u,d,h,m,f=!o;return a.forEach(y=>{if(y.length>1)for(m=d=y.length-1;m>0;m--)(h=y[m]-y[m-1])<0&&!f?(o==null||o(),o=void 0):h&&(u===void 0||h<u)&&(u=h)}),u},getMagnitude:x,getNestedProperty:function(a,o){let u=a.split(".");for(;u.length&&H(o);){let d=u.shift();if(d===void 0||d==="__proto__")return;if(d==="this"){let m;return Z(o)&&(m=o["@this"]),m??o}let h=o[d];if(!H(h)||typeof h=="function"||typeof h.nodeType=="number"||h===B)return;o=h}return o},getStyle:function a(o,u,d){let h;if(u==="width"){let f=Math.min(o.offsetWidth,o.scrollWidth),y=o.getBoundingClientRect&&o.getBoundingClientRect().width;return y<f&&y>=f-1&&(f=Math.floor(y)),Math.max(0,f-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0))}if(u==="height")return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));let m=B.getComputedStyle(o,void 0);return m&&(h=m.getPropertyValue(u),s(d,u!=="opacity")&&(h=K(h))),h},inArray:function(a,o,u){return $(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),o.indexOf(a,u)},insertItem:function(a,o){let u,d=a.options.index,h=o.length;for(u=a.options.isInternal?h:0;u<h+1;u++)if(!o[u]||V(d)&&d<s(o[u].options.index,o[u]._i)||o[u].options.isInternal){o.splice(u,0,a);break}return u},isArray:q,isClass:Y,isDOMElement:R,isFunction:function(a){return typeof a=="function"},isNumber:V,isObject:Z,isString:G,keys:function(a){return $(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(a)},merge:function(){let a,o=arguments,u={},d=function(m,f){return typeof m!="object"&&(m={}),S(f,function(y,I){I!=="__proto__"&&I!=="constructor"&&(!Z(y,!0)||Y(y)||R(y)?m[I]=f[I]:m[I]=d(m[I]||{},y))}),m};o[0]===!0&&(u=o[1],o=Array.prototype.slice.call(o,2));let h=o.length;for(a=0;a<h;a++)u=d(u,o[a]);return u},normalizeTickInterval:function(a,o,u,d,h){let m,f=a;u=s(u,x(a));let y=a/u;for(!o&&(o=h?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],d===!1&&(u===1?o=o.filter(function(I){return I%1==0}):u<=.1&&(o=[1/u]))),m=0;m<o.length&&(f=o[m],(!h||!(f*u>=a))&&(h||!(y<=(o[m]+(o[m+1]||o[m]))/2)));m++);return N(f*u,-Math.round(Math.log(.001)/Math.LN10))},objectEach:S,offset:function(a){let o=C.documentElement,u=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:u.top+(B.pageYOffset||o.scrollTop)-(o.clientTop||0),left:u.left+(B.pageXOffset||o.scrollLeft)-(o.clientLeft||0),width:u.width,height:u.height}},pad:function(a,o,u){return Array((o||2)+1-String(a).replace("-","").length).join(u||"0")+a},pick:s,pInt:K,pushUnique:function(a,o){return 0>a.indexOf(o)&&!!a.push(o)},relativeLength:function(a,o,u){return/%$/.test(a)?o*parseFloat(a)/100+(u||0):parseFloat(a)},removeEvent:g,replaceNested:function(a,...o){let u,d;do for(d of(u=a,o))a=a.replace(d[0],d[1]);while(a!==u);return a},splat:L,stableSort:function(a,o){let u,d,h=a.length;for(d=0;d<h;d++)a[d].safeI=d;for(a.sort(function(m,f){return(u=o(m,f))===0?m.safeI-f.safeI:u}),d=0;d<h;d++)delete a[d].safeI},syncTimeout:function(a,o,u){return o>0?setTimeout(a,o,u):(a.call(0,u),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:p,useSerialIds:function(a){return n=s(a,n)},wrap:function(a,o,u){let d=a[o];a[o]=function(){let h=arguments,m=this;return u.apply(this,[function(){return d.apply(m,arguments.length?arguments:h)}].concat([].slice.call(arguments)))}}}}),r(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),r(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe
1286a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),r(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{win:l}=t,{defined:C,error:B,extend:$,isNumber:K,isObject:G,merge:q,objectEach:Z,pad:R,pick:Y,splat:V,timeUnits:H}=n,T=t.isSafari&&l.Intl&&l.Intl.DateTimeFormat.prototype.formatRange,L=t.isSafari&&l.Intl&&!l.Intl.DateTimeFormat.prototype.formatRange;class j{constructor(c){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=l.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(c)}get(c,x){if(this.variableTimezone||this.timezoneOffset){let N=x.getTime(),P=N-this.getTimezoneOffset(x);x.setTime(P);let S=x["getUTC"+c]();return x.setTime(N),S}return this.useUTC?x["getUTC"+c]():x["get"+c]()}set(c,x,N){if(this.variableTimezone||this.timezoneOffset){if(c==="Milliseconds"||c==="Seconds"||c==="Minutes"&&this.getTimezoneOffset(x)%36e5==0)return x["setUTC"+c](N);let P=this.getTimezoneOffset(x),S=x.getTime()-P;x.setTime(S),x["setUTC"+c](N);let g=this.getTimezoneOffset(x);return S=x.getTime()+g,x.setTime(S)}return this.useUTC||T&&c==="FullYear"?x["setUTC"+c](N):x["set"+c](N)}update(c={}){let x=Y(c.useUTC,!0);this.options=c=q(!0,this.options,c),this.Date=c.Date||l.Date||Date,this.useUTC=x,this.timezoneOffset=x&&c.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=x&&!!(c.getTimezoneOffset||c.timezone)}
128makeTime(c,x,N,P,S,g){let v,p,a;return this.useUTC?(v=this.Date.UTC.apply(0,arguments),p=this.getTimezoneOffset(v),v+=p,p!==(a=this.getTimezoneOffset(v))?v+=a-p:p-36e5!==this.getTimezoneOffset(v-36e5)||L||(v-=36e5)):v=new this.Date(c,x,Y(N,1),Y(P,0),Y(S,0),Y(g,0)).getTime(),v}timezoneOffsetFunction(){let c=this,x=this.options,N=x.getTimezoneOffset;return this.useUTC?x.timezone?P=>{try{let S=`shortOffset,${x.timezone||""}`,[g,v,p,a,o=0]=(j.formatCache[S]=j.formatCache[S]||Intl.DateTimeFormat("en",{timeZone:x.timezone,timeZoneName:"shortOffset"})).format(P).split(/(GMT|:)/).map(Number),u=-(36e5*(p+o/60));if(K(u))return u}catch{B(34)}return 0}:this.useUTC&&N?P=>6e4*N(P.valueOf()):()=>6e4*(c.timezoneOffset||0):P=>6e4*new Date(P.toString()).getTimezoneOffset()}dateFormat(c,x,N){if(!C(x)||isNaN(x))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";c=Y(c,"%Y-%m-%d %H:%M:%S");let P=this,S=new this.Date(x),g=this.get("Hours",S),v=this.get("Day",S),p=this.get("Date",S),a=this.get("Month",S),o=this.get("FullYear",S),u=t.defaultOptions.lang,d=u&&u.weekdays,h=u&&u.shortWeekdays;return Z($({a:h?h[v]:d[v].substr(0,3),A:d[v],d:R(p),e:R(p,2," "),w:v,b:u.shortMonths[a],B:u.months[a],m:R(a+1),o:a+1,y:o.toString().substr(2,2),Y:o,H:R(g),k:g,I:R(g%12||12),l:g%12||12,M:R(this.get("Minutes",S)),p:g<12?"AM":"PM",P:g<12?"am":"pm",S:R(this.get("Seconds",S)),L:R(Math.floor(x%1e3),3)},t.dateFormats),function(m,f){for(;c.indexOf("%"+f)!==-1;)c=c.replace("%"+f,typeof m=="function"?m.call(P,x):m)}),N?c.substr(0,1).toUpperCase()+c.substr(1):c}resolveDTLFormat(c){return G(c,!0)?c:{main:(c=V(c))[0],from:c[1],to:c[2]}}getTimeTicks(c,x,N,P){let S,g,v,p,a=this,o=a.Date,u=[],d={},h=new o(x),m=c.unitRange,f=c.count||1;if(P=Y(P,1),C(x)){a.set("Milliseconds",h,m>=H.second?0:f*Math.floor(a.get("Milliseconds",h)/f)),m>=H.second&&a.set("Seconds",h,m>=H.minute?0:f*Math.floor(a.get("Seconds",h)/f)),m>=H.minute&&a.set("Minutes",h,m>=H.hour?0:f*Math.floor(a.get("Minutes",h)/f)),m>=H.hour&&a.set("Hours",h,m>=H.day?0:f*Math.floor(a.get("Hours",h)/f)),m>=H.day&&a.set("Date",h,m>=H.month?1:Math.max(1,f*Math.floor(a.get("Date",h)/f))),m>=H.month&&(a.set("Month",h,m>=H.year?0:f*Math.floor(a.get("Month",h)/f)),g=a.get("FullYear",h)),m>=H.year&&(g-=g%f,a.set("FullYear",h,g)),m===H.week&&(p=a.get("Day",h),a.set("Date",h,a.get("Date",h)-p+P+(p<P?-7:0))),g=a.get("FullYear",h);let y=a.get("Month",h),I=a.get("Date",h),E=a.get("Hours",h);x=h.getTime(),(a.variableTimezone||!a.useUTC)&&C(N)&&(v=N-x>4*H.month||a.getTimezoneOffset(x)!==a.getTimezoneOffset(N));let M=h.getTime();for(S=1;M<N;)u.push(M),m===H.year?M=a.makeTime(g+S*f,0):m===H.month?M=a.makeTime(g,y+S*f):v&&(m===H.day||m===H.week)?M=a.makeTime(g,y,I+S*f*(m===H.day?1:7)):v&&m===H.hour&&f>1?M=a.makeTime(g,y,I,E+S*f):M+=m*f,S++;u.push(M),m<=H.hour&&u.length<1e4&&u.forEach(function(D){D%18e5==0&&a.dateFormat("%H%M%S%L",D)==="000000000"&&(d[D]="day")})}return u.info=$(c,{higherRanks:d,totalRange:m*f}),u}getDateFormat(c,x,N,P){let S=this.dateFormat("%m-%d %H:%M:%S.%L",x),g="01-01 00:00:00.000",v={millisecond:15,second:12,minute:9,hour:6,day:3},p="millisecond",a=p;for(p in H){if(c===H.week&&+this.dateFormat("%w",x)===N&&S.substr(6)===g.substr(6)){p="week";break}if(H[p]>c){p=a;break}if(v[p]&&S.substr(v[p])!==g.substr(v[p]))break;p!=="week"&&(a=p)}return this.resolveDTLFormat(P[p]).main}}return j.formatCache={},j}),r(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{isTouchDevice:$}=n,{fireEvent:K,merge:G}=B,q={colors:l.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"}
128,states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:R=>Math.sqrt(1-Math.pow(R-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:$?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};q.chart.styledMode=!1;let Z=new C(q.time);return{defaultOptions:q,defaultTime:Z,getOptions:function(){return q},setOptions:function(R){return K(n,"setOptions",{options:R}),G(!0,q,R),(R.time||R.global)&&(n.time?n.time.update(G(q.global,q.time,R.global,R.time)):n.time=Z),q}}}),r(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isNumber:l,merge:C,pInt:B}=n;class ${static parse(G){return G?new $(G):$.None}constructor(G){let q,Z,R,Y;this.rgba=[NaN,NaN,NaN,NaN],this.input=G;let V=t.Color;if(V&&V!==$)return new V(G);if(typeof G=="object"&&G.stops!==void 0)this.stops=G.stops.map(H=>new $(H[1]));else if(typeof G=="string"){if(this.input=G=$.names[G.toLowerCase()]||G,G.charAt(0)==="#"){let H=G.length,T=parseInt(G.substr(1),16);H===7?Z=[(16711680&T)>>16,(65280&T)>>8,255&T,1]:H===4&&(Z=[(3840&T)>>4|(3840&T)>>8,(240&T)>>4|240&T,(15&T)<<4|15&T,1])}if(!Z)for(R=$.parsers.length;R--&&!Z;)(q=(Y=$.parsers[R]).regex.exec(G))&&(Z=Y.parse(q))}Z&&(this.rgba=Z)}get(G){let q=this.input,Z=this.rgba;if(typeof q=="object"&&this.stops!==void 0){let R=C(q);return R.stops=[].slice.call(R.stops),this.stops.forEach((Y,V)=>{R.stops[V]=[R.stops[V][0],Y.get(G)]}),R}return Z&&l(Z[0])?G!=="rgb"&&(G||Z[3]!==1)?G==="a"?`${Z[3]}`:"rgba("+Z.join(",")+")":"rgb("+Z[0]+","+Z[1]+","+Z[2]+")":q}brighten(G){let q=this.rgba;if(this.stops)this.stops.forEach(function(Z){Z.brighten(G)});else if(l(G)&&G!==0)for(let Z=0;Z<3;Z++)q[Z]+=B(255*G),q[Z]<0&&(q[Z]=0),q[Z]>255&&(q[Z]=255);return this}setOpacity(G){return this.rgba[3]=G,this}tweenTo(G,q){let Z=this.rgba,R=G.rgba;if(!l(Z[0])||!l(R[0]))return G.input||"none";let Y=R[3]!==1||Z[3]!==1;return(Y?"rgba(":"rgb(")+Math.round(R[0]+(Z[0]-R[0])*(1-q))+","+Math.round(R[1]+(Z[1]-R[1])*(1-q))+","+Math.round(R[2]+(Z[2]-R[2])*(1-q))+(Y?","+(R[3]+(Z[3]-R[3])*(1-q)):"")+")"}}return $.names={white:"#ffffff",black:"#000000"},$.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),parseFloat(K[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),1]}}],$.None=new $(""),$}
128),r(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{parse:C}=t,{win:B}=n,{isNumber:$,objectEach:K}=l;class G{constructor(Z,R,Y){this.pos=NaN,this.options=R,this.elem=Z,this.prop=Y}dSetter(){let Z=this.paths,R=Z&&Z[0],Y=Z&&Z[1],V=this.now||0,H=[];if(V!==1&&R&&Y)if(R.length===Y.length&&V<1)for(let T=0;T<Y.length;T++){let L=R[T],j=Y[T],s=[];for(let c=0;c<j.length;c++){let x=L[c],N=j[c];$(x)&&$(N)&&!(j[0]==="A"&&(c===4||c===5))?s[c]=x+V*(N-x):s[c]=N}H.push(s)}else H=Y;else H=this.toD||[];this.elem.attr("d",H,void 0,!0)}update(){let Z=this.elem,R=this.prop,Y=this.now,V=this.options.step;this[R+"Setter"]?this[R+"Setter"]():Z.attr?Z.element&&Z.attr(R,Y,null,!0):Z.style[R]=Y+this.unit,V&&V.call(Z,Y,this)}run(Z,R,Y){let V=this,H=V.options,T=function(s){return!T.stopped&&V.step(s)},L=B.requestAnimationFrame||function(s){setTimeout(s,13)},j=function(){for(let s=0;s<G.timers.length;s++)G.timers[s]()||G.timers.splice(s--,1);G.timers.length&&L(j)};Z!==R||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=Z,this.end=R,this.unit=Y,this.now=this.start,this.pos=0,T.elem=this.elem,T.prop=this.prop,T()&&G.timers.push(T)===1&&L(j)):(delete H.curAnim[this.prop],H.complete&&Object.keys(H.curAnim).length===0&&H.complete.call(this.elem))}step(Z){let R,Y,V=+new Date,H=this.options,T=this.elem,L=H.complete,j=H.duration,s=H.curAnim;return T.attr&&!T.element?R=!1:Z||V>=j+this.startTime?(this.now=this.end,this.pos=1,this.update(),s[this.prop]=!0,Y=!0,K(s,function(c){c!==!0&&(Y=!1)}),Y&&L&&L.call(T),R=!1):(this.pos=H.easing((V-this.startTime)/j),this.now=this.start+(this.end-this.start)*this.pos,this.update(),R=!0),R}
vendor: 5,342 bytes, line 128
128initPath(Z,R,Y){let V=Z.startX,H=Z.endX,T=Y.slice(),L=Z.isArea,j=L?2:1,s=R&&Y.length>R.length&&Y.hasStackedCliffs,c,x,N,P,S=R&&R.slice();if(!S||s)return[T,T];function g(p,a){for(;p.length<x;){let o=p[0],u=a[x-p.length];if(u&&o[0]==="M"&&(u[0]==="C"?p[0]=["C",o[1],o[2],o[1],o[2],o[1],o[2]]:p[0]=["L",o[1],o[2]]),p.unshift(o),L){let d=p.pop();p.push(p[p.length-1],d)}}}function v(p){for(;p.length<x;){let a=p[Math.floor(p.length/j)-1].slice();if(a[0]==="C"&&(a[1]=a[5],a[2]=a[6]),L){let o=p[Math.floor(p.length/j)].slice();p.splice(p.length/2,0,a,o)}else p.push(a)}}if(V&&H&&H.length){for(N=0;N<V.length;N++){if(V[N]===H[0]){c=N;break}if(V[0]===H[H.length-V.length+N]){c=N,P=!0;break}if(V[V.length-1]===H[H.length-V.length+N]){c=V.length-N;break}}c===void 0&&(S=[])}return S.length&&$(c)&&(x=T.length+c*j,P?(g(S,T),v(T)):(g(T,S),v(S))),[S,T]}fillSetter(){G.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}}return G.timers=[],G}),r(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,getStyle:C,isArray:B,isNumber:$,isObject:K,merge:G,objectEach:q,pick:Z}=n;function R(V){return K(V)?G({duration:500,defer:0},V):{duration:V?500:0,defer:0}}function Y(V,H){let T=t.timers.length;for(;T--;)t.timers[T].elem!==V||H&&H!==t.timers[T].prop||(t.timers[T].stopped=!0)}return{animate:function(V,H,T){let L,j="",s,c,x;K(T)||(x=arguments,T={duration:x[2],easing:x[3],complete:x[4]}),$(T.duration)||(T.duration=400),T.easing=typeof T.easing=="function"?T.easing:Math[T.easing]||Math.easeInOutSine,T.curAnim=G(H),q(H,function(N,P){Y(V,P),c=new t(V,T,P),s=void 0,P==="d"&&B(H.d)?(c.paths=c.initPath(V,V.pathArray,H.d),c.toD=H.d,L=0,s=1):V.attr?L=V.attr(P):(L=parseFloat(C(V,P))||0,P!=="opacity"&&(j="px")),s||(s=N),typeof s=="string"&&s.match("px")&&(s=s.replace(/px/g,"")),c.run(L,s,j)})},animObject:R,getDeferredAnimation:function(V,H,T){let L=R(H),j=T?[T]:V.series,s=0,c=0;return j.forEach(x=>{let N=R(x.options.animation);s=K(H)&&l(H.defer)?L.defer:Math.max(s,N.duration+N.defer),c=Math.min(L.duration,N.duration)}),V.renderer.forExport&&(s=0),{defer:Math.max(0,s-c),duration:Math.min(s,c)}},setAnimation:function(V,H){H.renderer.globalAnimation=Z(V,H.options.chart.animation,!0)},stop:Y}}),r(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{SVG_NS:l,win:C}=t,{attr:B,createElement:$,css:K,error:G,isFunction:q,isString:Z,objectEach:R,splat:Y}=n,{trustedTypes:V}=C,H=V&&q(V.createPolicy)&&V.createPolicy("highcharts",{createHTML:s=>s}),T=H?H.createHTML(""):"",L=function(){try{return!!new DOMParser().parseFromString(T,"text/html")}catch{return!1}}();class j{static filterUserAttributes(c){return R(c,(x,N)=>{let P=!0;j.allowedAttributes.indexOf(N)===-1&&(P=!1),["background","dynsrc","href","lowsrc","src"].indexOf(N)!==-1&&(P=Z(x)&&j.allowedReferences.some(S=>x.indexOf(S)===0)),P||(G(33,!1,void 0,{"Invalid attribute in config":`${N}`}),delete c[N]),Z(x)&&c[N]&&(c[N]=x.replace(/</g,"<"))}),c}static parseStyle(c){return c.split(";").reduce((x,N)=>{let P=N.split(":").map(g=>g.trim()),S=P.shift();return S&&P.length&&(x[S.replace(/-([a-z])/g,g=>g[1].toUpperCase())]=P.join(":")),x},{})}static setElementHTML(c,x){c.innerHTML=j.emptyHTML,x&&new j(x).addToDOM(c)}constructor(c){this.nodes=typeof c=="string"?this.parseMarkup(c):c}addToDOM(c){return function x(N,P){let S;return Y(N).forEach(function(g){let v,p=g.tagName,a=g.textContent?t.doc.createTextNode(g.textContent):void 0,o=j.bypassHTMLFiltering;if(p)if(p==="#text")v=a;else if(j.allowedTags.indexOf(p)!==-1||o){let u=p==="svg"?l:P.namespaceURI||l,d=t.doc.createElementNS(u,p),h=g.attributes||{};R(g,function(m,f){f!=="tagName"&&f!=="attributes"&&f!=="children"&&f!=="style"&&f!=="textContent"&&(h[f]=m)}),B(d,o?h:j.filterUserAttributes(h)),g.style&&K(d,g.style),a&&d.appendChild(a),x(g.children||[],d),v=d}else G(33,!1,void 0,{"Invalid tagName in config":p});v&&P.appendChild(v),S=v}),S}(this.nodes,c)}parseMarkup(c){let x,N=[];if(c=c.trim().replace(/ style=(["'])/g," data-style=$1"),L)x=new DOMParser().parseFromString(H?H.createHTML(c):c,"text/html");else{let S=$("div");S.innerHTML=c,x={body:S}}let P=(S,g)=>{let v=S.nodeName.toLowerCase(),p={tagName:v};v==="#text"&&(p.textContent=S.textContent||"");let a=S.attributes;if(a){let o={};[].forEach.call(a,u=>{u.name==="data-style"?p.style=j.parseStyle(u.value):o[u.name]=u.value}),p.attributes=o}if(S.childNodes.length){let o=[];[].forEach.call(S.childNodes,u=>{P(u,o)}),o.length&&(p.children=o)}g.push(p)};return[].forEach.call(x.body.childNodes,S=>P(S,N)),N}}return j.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","
128summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],j.allowedReferences=["https://","http://","mailto:","/","../","./","#"],j.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],j.emptyHTML=T,j.bypassHTMLFiltering=!1,j}),r(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n){let{defaultOptions:l,defaultTime:C}=t,{extend:B,getNestedProperty:$,isArray:K,isNumber:G,isObject:q,pick:Z,pInt:R}=n,Y={add:(T,L)=>T+L,divide:(T,L)=>L!==0?T/L:"",eq:(T,L)=>T==L,each:function(T){let L=arguments[arguments.length-1];return!!K(T)&&T.map((j,s)=>V(L.body,B(q(j)?j:{"@this":j},{"@index":s,"@first":s===0,"@last":s===T.length-1}))).join("")},ge:(T,L)=>T>=L,gt:(T,L)=>T>L,if:T=>!!T,le:(T,L)=>T<=L,lt:(T,L)=>T<L,multiply:(T,L)=>T*L,ne:(T,L)=>T!=L,subtract:(T,L)=>T-L,unless:T=>!T};function V(T="",L,j){let s=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,c=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,x=[],N=/f$/,P=/\.(\d)/,S=l.lang,g=j&&j.time||C,v=j&&j.numberFormatter||H,p=(h="")=>{let m;return h==="true"||h!=="false"&&((m=Number(h)).toString()===h?m:$(h,L))},a,o,u=0,d;for(;(a=s.exec(T))!==null;){let h=c.exec(a[1]);h&&(a=h,d=!0),o&&o.isBlock||(o={ctx:L,expression:a[1],find:a[0],isBlock:a[1].charAt(0)==="#",start:a.index,startInner:a.index+a[0].length,length:a[0].length});let m=a[1].split(" ")[0].replace("#","");Y[m]&&(o.isBlock&&m===o.fn&&u++,o.fn||(o.fn=m));let f=a[1]==="else";if(o.isBlock&&o.fn&&(a[1]===`/${o.fn}`||f))if(u)!f&&u--;else{let y=o.startInner,I=T.substr(y,a.index-y);o.body===void 0?(o.body=I,o.startInner=a.index+a[0].length):o.elseBody=I,o.find+=I+a[0],f||(x.push(o),o=void 0)}else o.isBlock||x.push(o);if(h&&!(o!=null&&o.isBlock))break}return x.forEach(h=>{let m,f,{body:y,elseBody:I,expression:E,fn:M}=h;if(M){let D=[h],F=E.split(" ");for(f=Y[M].length;f--;)D.unshift(p(F[f+1]));m=Y[M].apply(L,D),h.isBlock&&typeof m=="boolean"&&(m=V(m?y:I,L,j))}else{let D=E.split(":");if(m=p(D.shift()||""),D.length&&typeof m=="number"){let F=D.join(":");if(N.test(F)){let X=parseInt((F.match(P)||["","-1"])[1],10);m!==null&&(m=v(m,X,S.decimalPoint,F.indexOf(",")>-1?S.thousandsSep:""))}else m=g.dateFormat(F,m)}}T=T.replace(h.find,Z(m,""))}),d?V(T,L,j):T}function H(T,L,j,s){let c,x;T=+T||0,L=+L;let N=l.lang,P=(T.toString().split(".")[1]||"").split("e")[0].length,S=T.toString().split("e"),g=L;L===-1?L=Math.min(P,20):G(L)?L&&S[1]&&S[1]<0&&((x=L+ +S[1])>=0?(S[0]=(+S[0]).toExponential(x).split("e")[0],L=x):(S[0]=S[0].split(".")[0]||0,T=L<20?(S[0]*Math.pow(10,S[1])).toFixed(L):0,S[1]=0)):L=2;let v=(Math.abs(S[1]?S[0]:T)+Math.pow(10,-Math.max(L,P)-1)).toFixed(L),p=String(R(v)),a=p.length>3?p.length%3:0;return j=Z(j,N.decimalPoint),s=Z(s,N.thousandsSep),c=(T<0?"-":"")+(a?p.substr(0,a)+s:""),0>+S[1]&&!g?c="0":c+=p.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+s),L?c+=j+v.slice(-L):+c==0&&(c="0"),S[1]&&+c!=0&&(c+="e"+S[1]),c}return{dateFormat:function(T,L,j){return C.dateFormat(T,L,j)},format:V,helpers:Y,numberFormat:H}}),r(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var n,l;let C;return(l=n||(n={})).rendererTypes={},l.getRendererType=function(B=C){return l.rendererTypes[B]||l.rendererTypes[C]},l.registerRendererType=function(B,$,K){l.rendererTypes[B]=$,(!C||K)&&(C=B,t.Renderer=$)},n}),r(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var n;let{clamp:l,pick:C,pushUnique:B,stableSort:$}=t;return(n||(n={})).distribute=function K(G,q,Z){let R=G,Y=R.reducedLen||q,V=(p,a)=>p.target-a.target,H=[],T=G.length,L=[],j=H.push,s,c,x,N=!0,P,S,g=0,v;for(s=T;s--;)g+=G[s].size;if(g>Y){for($(G,(p,a)=>(a.rank||0)-(p.rank||0)),x=(v=G[0].rank===G[G.length-1].rank)?T/2:-1,c=v?x:T-1;x&&g>Y;)P=G[s=Math.floor(c)],B(L,s)&&(g-=P.size),c+=x,v&&c>=G.length&&(x/=2,c=x);L.sort((p,a)=>
vendor: 34,728 bytes, line 128
128a-p).forEach(p=>j.apply(H,G.splice(p,1)))}for($(G,V),G=G.map(p=>({size:p.size,targets:[p.target],align:C(p.align,.5)}));N;){for(s=G.length;s--;)P=G[s],S=(Math.min.apply(0,P.targets)+Math.max.apply(0,P.targets))/2,P.pos=l(S-P.size*P.align,0,q-P.size);for(s=G.length,N=!1;s--;)s>0&&G[s-1].pos+G[s-1].size>G[s].pos&&(G[s-1].size+=G[s].size,G[s-1].targets=G[s-1].targets.concat(G[s].targets),G[s-1].align=.5,G[s-1].pos+G[s-1].size>q&&(G[s-1].pos=q-G[s-1].size),G.splice(s,1),N=!0)}return j.apply(R,H),s=0,G.some(p=>{let a=0;return(p.targets||[]).some(()=>(R[s].pos=p.pos+a,Z!==void 0&&Math.abs(R[s].pos-R[s].target)>Z?(R.slice(0,s+1).forEach(o=>delete o.pos),R.reducedLen=(R.reducedLen||q)-.1*q,R.reducedLen>.1*q&&K(R,q,Z),!0):(a+=R[s].size,s++,!1)))}),$(R,V),R},n}),r(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{animate:B,animObject:$,stop:K}=t,{deg2rad:G,doc:q,svg:Z,SVG_NS:R,win:Y}=l,{addEvent:V,attr:H,createElement:T,crisp:L,css:j,defined:s,erase:c,extend:x,fireEvent:N,isArray:P,isFunction:S,isObject:g,isString:v,merge:p,objectEach:a,pick:o,pInt:u,pushUnique:d,replaceNested:h,syncTimeout:m,uniqueKey:f}=C;class y{_defaultGetter(E){let M=o(this[E+"Value"],this[E],this.element?this.element.getAttribute(E):null,0);return/^-?[\d\.]+$/.test(M)&&(M=parseFloat(M)),M}_defaultSetter(E,M,D){D.setAttribute(M,E)}add(E){let M,D=this.renderer,F=this.element;return E&&(this.parentGroup=E),this.textStr!==void 0&&this.element.nodeName==="text"&&D.buildText(this),this.added=!0,(!E||E.handleZ||this.zIndex)&&(M=this.zIndexSetter()),M||(E?E.element:D.box).appendChild(F),this.onAdd&&this.onAdd(),this}addClass(E,M){let D=M?"":this.attr("class")||"";return(E=(E||"").split(/ /g).reduce(function(F,X){return D.indexOf(X)===-1&&F.push(X),F},D?[D]:[]).join(" "))!==D&&this.attr("class",E),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(E,M,D,F=!0){let X,_,w,A,U={},b=this.renderer,k=b.alignedObjects,O=!!E;E?(this.alignOptions=E,this.alignByTranslate=M,this.alignTo=D):(E=this.alignOptions||{},M=this.alignByTranslate,D=this.alignTo);let z=!D||v(D)?D||"renderer":void 0;z&&(O&&d(k,this),D=void 0);let W=o(D,b[z],b),Q=E.align,ee=E.verticalAlign;return X=(W.x||0)+(E.x||0),_=(W.y||0)+(E.y||0),Q==="right"?w=1:Q==="center"&&(w=2),w&&(X+=((W.width||0)-(E.width||0))/w),U[M?"translateX":"x"]=Math.round(X),ee==="bottom"?A=1:ee==="middle"&&(A=2),A&&(_+=((W.height||0)-(E.height||0))/A),U[M?"translateY":"y"]=Math.round(_),F&&(this[this.placed?"animate":"attr"](U),this.placed=!0),this.alignAttr=U,this}alignSetter(E){let M={left:"start",center:"middle",right:"end"};M[E]&&(this.alignValue=E,this.element.setAttribute("text-anchor",M[E]))}animate(E,M,D){let F=$(o(M,this.renderer.globalAnimation,!0)),X=F.defer;return q.hidden&&(F.duration=0),F.duration!==0?(D&&(F.complete=D),m(()=>{this.element&&B(this,E,F)},X)):(this.attr(E,void 0,D||F.complete),a(E,function(_,w){F.step&&F.step.call(this,_,{prop:w,pos:1,elem:this})},this)),this}applyTextOutline(E){let M=this.element;E.indexOf("contrast")!==-1&&(E=E.replace(/contrast/g,this.renderer.getContrast(M.style.fill)));let D=E.split(" "),F=D[D.length-1],X=D[0];if(X&&X!=="none"&&l.svg){this.fakeTS=!0,X=X.replace(/(^[\d\.]+)(.*?)$/g,function(b,k,O){return 2*Number(k)+O}),this.removeTextOutline();let _=q.createElementNS(R,"tspan");H(_,{class:"highcharts-text-outline",fill:F,stroke:F,"stroke-width":X,"stroke-linejoin":"round"});let w=M.querySelector("textPath")||M;[].forEach.call(w.childNodes,b=>{let k=b.cloneNode(!0);k.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(O=>k.removeAttribute(O)),_.appendChild(k)});let A=0;[].forEach.call(w.querySelectorAll("text tspan"),b=>{A+=Number(b.getAttribute("dy"))});let U=q.createElementNS(R,"tspan");U.textContent="\u200B",H(U,{x:Number(M.getAttribute("x")),dy:-A}),_.appendChild(U),w.insertBefore(_,w.firstChild)}}attr(E,M,D,F){let{element:X}=this,_=y.symbolCustomAttribs,w,A,U=this,b;return typeof E=="string"&&M!==void 0&&(w=E,(E={})[w]=M),typeof E=="string"?U=(this[E+"Getter"]||this._defaultGetter).call(this,E,X):(a(E,function(k,O){b=!1,F||K(this,O),this.symbolName&&_.indexOf(O)!==-1&&(A||(this.symbolAttr(E),A=!0),b=!0),this.rotation&&(O==="x"||O==="y")&&(this.doTransform=!0),b||(this[O+"Setter"]||this._defaultSetter).call(this,k,O,X)},this),this.afterSetters()),D&&D.call(this),U}clip(E){if(E&&!E.clipPath){let M=f()+"-",D=this.renderer.createElement("clipPath").attr({id:M}).add(this.renderer.defs);x(E,{clipPath:D,id:M,count:0}),E.add(D)}return this.attr("clip-path",E?`url(${this.renderer.url}#${E.id})`:"none")}crisp(E,M){M=Math.round(M||E.strokeWidth||0);let D=E.x||this.x||0,F=E.y||this.y||0,X=(E.width||this.width||0)+D,_=(E.height||this.height||0)+F,w=L(D,M),A=L(F,M);return x(E,{x:w,y:A,width:L(X,M)-w,height:L(_,M)-A}),s(E.strokeWidth)&&(E.strokeWidth=M),E}complexColor(E,M,D){let F=this.renderer,X,_,w,A,U,b,k,O,z,W,Q=[],ee;N(this.renderer,"complexColor",{args:arguments},function(){if(E.radialGradient?_="radialGradient":E.linearGradient&&(_="linearGradient"),_){if(w=E[_],U=F.gradients,b=E.stops,z=D.radialReference,P(w)&&(E[_]=w={x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientUnits:"userSpaceOnUse"}),_==="radialGradient"&&z&&!s(w.gradientUnits)&&(A=w,w=p(w,F.getRadialAttr(z,A),{gradientUnits:"userSpaceOnUse"})),a(w,function(se,ae){ae!=="id"&&Q.push(ae,se)}),a(b,function(se){Q.push(se)}),U[Q=Q.join(",")])W=U[Q].attr("id");else{w.id=W=f();let se=U[Q]=F.createElement(_).attr(w).add(F.defs);se.radAttr=A,se.stops=[],b.forEach(function(ae){ae[1].indexOf("rgba")===0?(k=(X=n.parse(ae[1])).get("rgb"),O=X.get("a")):(k=ae[1],O=1);let he=F.createElement("stop").attr({offset:ae[0],"stop-color":k,"stop-opacity":O}).add(se);se.stops.push(he)})}ee="url("+F.url+"#"+W+")",D.setAttribute(M,ee),D.gradient=Q,E.toString=function(){return ee}}})}css(E){let M=this.styles,D={},F=this.element,X,_=!M;if(M&&a(E,function(w,A){M&&M[A]!==w&&(D[A]=w,_=!0)}),_){M&&(E=x(M,D)),E.width===null||E.width==="auto"?delete this.textWidth:F.nodeName.toLowerCase()==="text"&&E.width&&(X=this.textWidth=u(E.width)),x(this.styles,E),X&&!Z&&this.renderer.forExport&&delete E.width;let w=p(E);F.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(A=>w&&delete w[A]),w.color&&(w.fill=w.color)),j(F,w)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),E.textOutline&&this.applyTextOutline(E.textOutline)),this}dashstyleSetter(E){let M,D=this["stroke-width"];if(D==="inherit"&&(D=1),E=E&&E.toLowerCase()){let F=E.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(M=F.length;M--;)F[M]=""+u(F[M])*o(D,NaN);E=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",E)}}destroy(){var A;let E=this,M=E.element||{},D=E.renderer,F=M.ownerSVGElement,X=M.nodeName==="SPAN"&&E.parentGroup||void 0,_,w;if(M.onclick=M.onmouseout=M.onmouseover=M.onmousemove=M.point=null,K(E),E.clipPath&&F){let U=E.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){b.getAttribute("clip-path").indexOf(U.element.id)>-1&&b.removeAttribute("clip-path")}),E.clipPath=U.destroy()}if(E.connector=(A=E.connector)==null?void 0:A.destroy(),E.stops){for(w=0;w<E.stops.length;w++)E.stops[w].destroy();E.stops.length=0,E.stops=void 0}for(E.safeRemoveChild(M);X&&X.div&&X.div.childNodes.length===0;)_=X.parentGroup,E.safeRemoveChild(X.div),delete X.div,X=_;E.alignOptions&&c(D.alignedObjects,E),a(E,function(U,b){E[b]&&E[b].parentGroup===E&&E[b].destroy&&E[b].destroy(),delete E[b]})}dSetter(E,M,D){P(E)&&(typeof E[0]=="string"&&(E=this.renderer.pathToSegments(E)),this.pathArray=E,E=E.reduce((F,X,_)=>X&&X.join?(_?F+" ":"")+X.join(" "):(X||"").toString(),"")),/(NaN| {2}|^$)/.test(E)&&(E="M 0 0"),this[M]!==E&&(D.setAttribute(M,E),this[M]=E)}fillSetter(E,M,D){typeof E=="string"?D.setAttribute(M,E):E&&this.complexColor(E,M,D)}hrefSetter(E,M,D){D.setAttributeNS("http://www.w3.org/1999/xlink",M,E)}getBBox(E,M){let D,F,X,_,{alignValue:w,element:A,renderer:U,styles:b,textStr:k}=this,{cache:O,cacheKeys:z}=U,W=A.namespaceURI===this.SVG_NS,Q=o(M,this.rotation,0),ee=U.styledMode?A&&y.prototype.getStyle.call(A,"font-size"):b.fontSize;if(s(k)&&((_=k.toString()).indexOf("<")===-1&&(_=_.replace(/\d/g,"0")),_+=["",U.rootFontSize,ee,Q,this.textWidth,w,b.textOverflow,b.fontWeight].join(",")),_&&!E&&(D=O[_]),!D||D.polygon){if(W||U.forExport){try{X=this.fakeTS&&function(ae){let he=A.querySelector(".highcharts-text-outline");he&&j(he,{display:ae})},S(X)&&X("none"),D=A.getBBox?x({},A.getBBox()):{width:A.offsetWidth,height:A.offsetHeight,x:0,y:0},S(X)&&X("")}catch{}(!D||D.width<0)&&(D={x:0,y:0,width:0,height:0})}else D=this.htmlGetBBox();F=D.height,W&&(D.height=F={"11px,17":14,"13px,20":16}[`${ee||""},${Math.round(F)}`]||F),Q&&(D=this.getRotatedBox(D,Q));let se={bBox:D};N(this,"afterGetBBox",se),D=se.bBox}if(_&&(k===""||D.height>0)){for(;z.length>250;)delete O[z.shift()];O[_]||z.push(_),O[_]=D}return D}getRotatedBox(E,M){let{x:D,y:F,width:X,height:_}=E,{alignValue:w,translateY:A,rotationOriginX:U=0,rotationOriginY:b=0}=this,k={right:1,center:.5}[w||0]||0,O=Number(this.element.getAttribute("y")||0)-(A?0:F),z=M*G,W=(M-90)*G,Q=Math.cos(z),ee=Math.sin(z),se=X*Q,ae=X*ee,he=Math.cos(W),ce=Math.sin(W),[[ie,te],[ne,oe]]=[U,b].map(Oe=>[Oe-Oe*Q,Oe*ee]),le=D+k*(X-se)+ie+oe+O*he,ue=le+se,de=ue-_*he,fe=de-se,me=F+O-k*ae-te+ne+O*ce,ge=me+ae,Ee=ge-_*ce,ve=Ee-ae,ye=Math.min(le,ue,de,fe),Se=Math.min(me,ge,Ee,ve),xe=Math.max(le,ue,de,fe)-ye,Ce=Math.max(me,ge,Ee,ve)-Se;return{x:ye,y:Se,width:xe,height:Ce,polygon:[[le,me],[ue,ge],[de,Ee],[fe,ve]]}}getStyle(E){return Y.getComputedStyle(this.element||this,"").getPropertyValue(E)}hasClass(E){return(""+this.attr("class")).split(" ").indexOf(E)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(E,M){this.onEvents={},this.opacity=1,this.SVG_NS=R,this.element=M==="span"||M==="body"?T(M):q.createElementNS(this.SVG_NS,M),this.renderer=E,this.styles={},N(this,"afterInit")}on(E,M){let{onEvents:D}=this;return D[E]&&D[E](),D[E]=V(this.element,E,M),this}opacitySetter(E,M,D){let F=Number(Number(E).toFixed(3));this.opacity=F,D.setAttribute(M,F)}reAlign(){var E;(E=this.alignOptions)!=null&&E.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(E){return this.attr("class",(""+this.attr("class")).replace(v(E)?RegExp(`(^| )${E}( |$)`):E," ").replace(/ +/g," ").trim())}removeTextOutline(){let E=this.element.querySelector("tspan.highcharts-text-outline");E&&this.safeRemoveChild(E)}safeRemoveChild(E){let M=E.parentNode;M&&M.removeChild(E)}setRadialReference(E){let M=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=E,M&&M.radAttr&&M.animate(this.renderer.getRadialAttr(E,M.radAttr)),this}shadow(E){var X;let{renderer:M}=this,D=p(((X=this.parentGroup)==null?void 0:X.rotation)===90?{offsetX:-1,offsetY:-1}:{},g(E)?E:{}),F=M.shadowDefinition(D);return this.attr({filter:E?`url(${M.url}#${F})`:"none"})}show(E=!0){return this.attr({visibility:E?"inherit":"visible"})}"stroke-widthSetter"(E,M,D){this[M]=E,D.setAttribute(M,E)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let E=this.getStyle("stroke-width"),M=0,D;return/px$/.test(E)?M=u(E):E!==""&&(H(D=q.createElementNS(R,"rect"),{width:E,"stroke-width":0}),this.element.parentNode.appendChild(D),M=D.getBBox().width,D.parentNode.removeChild(D)),M}symbolAttr(E){let M=this;y.symbolCustomAttribs.forEach(function(D){M[D]=o(E[D],M[D])}),M.attr({d:M.renderer.symbols[M.symbolName](M.x,M.y,M.width,M.height,M)})}textSetter(E){E!==this.textStr&&(delete this.textPxLength,this.textStr=E,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(E){let M=this.element,D=M.getElementsByTagName("title")[0]||q.createElementNS(this.SVG_NS,"title");M.insertBefore?M.insertBefore(D,M.firstChild):M.appendChild(D),D.textContent=h(o(E,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let E=this.element;return E.parentNode.appendChild(E),this}translate(E,M){return this.attr({translateX:E,translateY:M})}updateTransform(E="transform"){var O;let{element:M,matrix:D,rotation:F=0,rotationOriginX:X,rotationOriginY:_,scaleX:w,scaleY:A,translateX:U=0,translateY:b=0}=this,k=["translate("+U+","+b+")"];s(D)&&k.push("matrix("+D.join(",")+")"),F&&(k.push("rotate("+F+" "+o(X,M.getAttribute("x"),0)+" "+o(_,M.getAttribute("y")||0)+")"),((O=this.text)==null?void 0:O.element.tagName)==="SPAN"&&this.text.attr({rotation:F,rotationOriginX:(X||0)-this.padding,rotationOriginY:(_||0)-this.padding})),(s(w)||s(A))&&k.push("scale("+o(w,1)+" "+o(A,1)+")"),k.length&&!(this.text||this).textPath&&M.setAttribute(E,k.join(" "))}visibilitySetter(E,M,D){E==="inherit"?D.removeAttribute(M):this[M]!==E&&D.setAttribute(M,E),this[M]=E}xGetter(E){return this.element.nodeName==="circle"&&(E==="x"?E="cx":E==="y"&&(E="cy")),this._defaultGetter(E)}zIndexSetter(E,M){let D=this.renderer,F=this.parentGroup,X=(F||D).element||D.box,_=this.element,w=X===D.box,A,U,b,k=!1,O,z=this.added,W;if(s(E)?(_.setAttribute("data-z-index",E),E=+E,this[M]===E&&(z=!1)):s(this[M])&&_.removeAttribute("data-z-index"),this[M]=E,z){for((E=this.zIndex)&&F&&(F.handleZ=!0),W=(A=X.childNodes).length-1;W>=0&&!k;W--)O=!s(b=(U=A[W]).getAttribute("data-z-index")),U!==_&&(E<0&&O&&!w&&!W?(X.insertBefore(_,A[W]),k=!0):(u(b)<=E||O&&(!s(E)||E>=0))&&(X.insertBefore(_,A[W+1]),k=!0));k||(X.insertBefore(_,A[w?3:0]),k=!0)}return k}}return y.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],y.prototype.strokeSetter=y.prototype.fillSetter,y.prototype.yGetter=y.prototype.xGetter,y.prototype.matrixSetter=y.prototype.rotationOriginXSetter=y.prototype.rotationOriginYSetter=y.prototype.rotationSetter=y.prototype.scaleXSetter=y.prototype.scaleYSetter=y.prototype.translateXSetter=y.prototype.translateYSetter=y.prototype.verticalAlignSetter=function(I,E){this[E]=I,this.doTransform=!0},y}),r(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,extend:C,isNumber:B,merge:$,pick:K,removeEvent:G}=n;class q extends t{constructor(R,Y,V,H,T,L,j,s,c,x){let N;super(R,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=Y,this.x=V,this.y=H,this.anchorX=L,this.anchorY=j,this.baseline=c,this.className=x,this.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&this.addClass("highcharts-"+x),this.text=R.text(void 0,0,0,s).attr({zIndex:1}),typeof T=="string"&&((N=/^url\((.*?)\)$/.test(T))||this.renderer.symbols[T])&&(this.symbolKey=T),this.bBox=q.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=R.styledMode||N,this.deferredAttr={},this.alignFactor=0}alignSetter(R){let Y={left:0,center:.5,right:1}[R];Y!==this.alignFactor&&(this.alignFactor=Y,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(R,Y){this.anchorX=R,this.boxAttr(Y,Math.round(R)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(R,Y){this.anchorY=R,this.boxAttr(Y,R-this.ySetting)}boxAttr(R,Y){this.box?this.box.attr(R,Y):this.deferredAttr[R]=Y}css(R){if(R){let Y={};R=$(R),q.textProps.forEach(V=>{R[V]!==void 0&&(Y[V]=R[V],delete R[V])}),this.text.css(Y),"fontSize"in Y||"fontWeight"in Y?this.updateTextPadding():("width"in Y||"textOverflow"in Y)&&this.updateBoxSize()}return t.prototype.css.call(this,R)}destroy(){G(this.element,"mouseenter"),G(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(R,Y){R&&(this.needsBox=!0),this.fill=R,this.boxAttr(Y,R)}getBBox(R,Y){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:V,height:H=0,translateX:T=0,translateY:L=0,width:j=0}=this,s=K(this.paddingLeft,V),c=Y??(this.rotation||0),x={width:j,height:H,x:T+this.bBox.x-s,y:L+this.bBox.y-V+this.baselineOffset};return c&&(x=this.getRotatedBox(x,c)),x}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(R){this.heightSetting=R,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:K(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&l(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(R,Y){B(R)?R!==this[Y]&&(this[Y]=R,this.updateTextPadding()):this[Y]=void 0}rSetter(R,Y){this.boxAttr(Y,R)}strokeSetter(R,Y){this.stroke=R,this.boxAttr(Y,R)}"stroke-widthSetter"(R,Y){R&&(this.needsBox=!0),this["stroke-width"]=R,this.boxAttr(Y,R)}"text-alignSetter"(R){this.textAlign=R}textSetter(R){R!==void 0&&this.text.attr({text:R}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let R,Y=this.text,V={},H=this.padding,T=this.bBox=(!B(this.widthSetting)||!B(this.heightSetting)||this.textAlign)&&l(Y.textStr)?Y.getBBox(void 0,0):q.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||T.height||0)+2*H;let L=this.renderer.fontMetrics(Y);if(this.baselineOffset=H+Math.min((this.text.firstLineMetrics||L).b,T.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-L.h)/2),this.needsBox&&!Y.textPath){if(!this.box){let j=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();j.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),j.add(this)}R=this.getCrispAdjust(),V.x=R,V.y=(this.baseline?-this.baselineOffset:0)+R,V.width=Math.round(this.width),V.height=Math.round(this.height),this.box.attr(C(V,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let R=this.text;if(!R.textPath){this.updateBoxSize();let Y=this.baseline?0:this.baselineOffset,V=K(this.paddingLeft,this.padding);l(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(V+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(V!==R.x||Y!==R.y)&&(R.attr("x",V),R.hasBoxWidthChanged&&(this.bBox=R.getBBox(!0)),Y!==void 0&&R.attr("y",Y)),R.x=V,R.y=Y}}widthSetter(R){this.widthSetting=B(R)?R:void 0,this.doUpdate=!0}getPaddedWidth(){let R=this.padding,Y=K(this.paddingLeft,R),V=K(this.paddingRight,R);return(this.widthSetting||this.bBox.width||0)+Y+V}xSetter(R){this.x=R,this.alignFactor&&(R-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(R),this.attr("translateX",this.xSetting)}ySetter(R){this.ySetting=this.y=Math.round(R),this.attr("translateY",this.ySetting)}}return q.emptyBBox={width:0,height:0,x:0,y:0},q.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],q}),r(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t;function B(G,q,Z,R,Y){let V=[];if(Y){let H=Y.start||0,T=C(Y.r,Z),L=C(Y.r,R||Z),j=2e-4/(Y.borderRadius?1:Math.max(T,1)),s=Math.abs((Y.end||0)-H-2*Math.PI)<j,c=(Y.end||0)-(s?j:0),x=Y.innerR,N=C(Y.open,s),P=Math.cos(H),S=Math.sin(H),g=Math.cos(c),v=Math.sin(c),p=C(Y.longArc,c-H-Math.PI<j?0:1),a=["A",T,L,0,p,C(Y.clockwise,1),G+T*g,q+L*v];a.params={start:H,end:c,cx:G,cy:q},V.push(["M",G+T*P,q+L*S],a),n(x)&&((a=["A",x,x,0,p,n(Y.clockwise)?1-Y.clockwise:0,G+x*P,q+x*S]).params={start:c,end:H,cx:G,cy:q},V.push(N?["M",G+x*g,q+x*v]:["L",G+x*g,q+x*v],a)),N||V.push(["Z"])}return V}function $(G,q,Z,R,Y){return Y&&Y.r?K(G,q,Z,R,Y):[["M",G,q],["L",G+Z,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]}function K(G,q,Z,R,Y){let V=(Y==null?void 0:Y.r)||0;return[["M",G+V,q],["L",G+Z-V,q],["A",V,V,0,0,1,G+Z,q+V],["L",G+Z,q+R-V],["A",V,V,0,0,1,G+Z-V,q+R],["L",G+V,q+R],["A",V,V,0,0,1,G,q+R-V],["L",G,q+V],["A",V,V,0,0,1,G+V,q],["Z"]]}return{arc:B,callout:function(G,q,Z,R,Y){let V=Math.min(Y&&Y.r||0,Z,R),H=V+6,T=Y&&Y.anchorX,L=Y&&Y.anchorY||0,j=K(G,q,Z,R,{r:V});if(!l(T)||T<Z&&T>0&&L<R&&L>0)return j;if(G+T>Z-H)if(L>q+H&&L<q+R-H)j.splice(3,1,["L",G+Z,L-6],["L",G+Z+6,L],["L",G+Z,L+6],["L",G+Z,q+R-V]);else if(T<Z){let s=L<q+H,c=s?q:q+R;j.splice(s?2:5,0,["L",T,L],["L",G+Z-V,c])}else j.splice(3,1,["L",G+Z,R/2],["L",T,L],["L",G+Z,R/2],["L",G+Z,q+R-V]);else if(G+T<H)if(L>q+H&&L<q+R-H)j.splice(7,1,["L",G,L+6],["L",G-6,L],["L",G,L-6],["L",G,q+V]);else if(T>0){let s=L<q+H,c=s?q:q+R;j.splice(s?1:6,0,["L",T,L],["L",G+V,c])}else j.splice(7,1,["L",G,R/2],["L",T,L],["L",G,R/2],["L",G,q+V]);else L>R&&T<Z-H?j.splice(5,1,["L",T+6,q+R],["L",T,q+R+6],["L",T-6,q+R],["L",G+V,q+R]):L<0&&T>H&&j.splice(1,1,["L",T-6,q],["L",T,q-6],["L",T+6,q],["L",Z-V,q]);return j},circle:function(G,q,Z,R){return B(G+Z/2,q+R/2,Z/2,R/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R/2],["L",G+Z/2,q+R],["L",G,q+R/2],["Z"]]},rect:$,roundedRect:K,square:$,triangle:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]},"triangle-down":function(G,q,Z,R){return[["M",G,q],["L",G+Z,q],["L",G+Z/2,q+R],["Z"]]}}}),r(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{doc:C,SVG_NS:B,win:$}=n,{attr:K,extend:G,fireEvent:q,isString:Z,objectEach:R,pick:Y}=l;return class{constructor(V){let H=V.styles;this.renderer=V.renderer,this.svgElement=V,this.width=V.textWidth,this.textLineHeight=H&&H.lineHeight,this.textOutline=H&&H.textOutline,this.ellipsis=!!(H&&H.textOverflow==="ellipsis"),this.noWrap=!!(H&&H.whiteSpace==="nowrap")}buildSVG(){let V=this.svgElement,H=V.element,T=V.renderer,L=Y(V.textStr,"").toString(),j=L.indexOf("<")!==-1,s=H.childNodes,c=!V.added&&T.box,x=[L,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,V.getStyle("font-size"),this.width].join(",");if(x!==V.textCache){V.textCache=x,delete V.actualWidth;for(let N=s.length;N--;)H.removeChild(s[N]);if(j||this.ellipsis||this.width||V.textPath||L.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(L))){if(L!==""){c&&c.appendChild(H);let N=new t(L);this.modifyTree(N.nodes),N.addToDOM(H),this.modifyDOM(),this.ellipsis&&(H.textContent||"").indexOf("\u2026")!==-1&&V.attr("title",this.unescapeEntities(V.textStr||"",["<",">"])),c&&c.removeChild(H)}}else H.appendChild(C.createTextNode(this.unescapeEntities(L)));Z(this.textOutline)&&V.applyTextOutline&&V.applyTextOutline(this.textOutline)}}modifyDOM(){let V,H=this.svgElement,T=K(H.element,"x");for(H.firstLineMetrics=void 0;(V=H.element.firstChild)&&/^[\s\u200B]*$/.test(V.textContent||" ");)H.element.removeChild(V);[].forEach.call(H.element.querySelectorAll("tspan.highcharts-br"),(c,x)=>{c.nextSibling&&c.previousSibling&&(x===0&&c.previousSibling.nodeType===1&&(H.firstLineMetrics=H.renderer.fontMetrics(c.previousSibling)),K(c,{dy:this.getLineHeight(c.nextSibling),x:T}))});let L=this.width||0;if(!L)return;let j=(c,x)=>{let N=c.textContent||"",P=N.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(P.length>1||H.element.childNodes.length>1),g=this.getLineHeight(x),v=0,p=H.actualWidth;if(this.ellipsis)N&&this.truncate(c,N,void 0,0,Math.max(0,L-.8*g),(a,o)=>a.substring(0,o)+"\u2026");else if(S){let a=[],o=[];for(;x.firstChild&&x.firstChild!==c;)o.push(x.firstChild),x.removeChild(x.firstChild);for(;P.length;)P.length&&!this.noWrap&&v>0&&(a.push(c.textContent||""),c.textContent=P.join(" ").replace(/- /g,"-")),this.truncate(c,void 0,P,v===0&&p||0,L,(u,d)=>P.slice(0,d).join(" ").replace(/- /g,"-")),p=H.actualWidth,v++;o.forEach(u=>{x.insertBefore(u,c)}),a.forEach(u=>{x.insertBefore(C.createTextNode(u),c);let d=C.createElementNS(B,"tspan");d.textContent="\u200B",K(d,{dy:g,x:T}),x.insertBefore(d,c)})}},s=c=>{[].slice.call(c.childNodes).forEach(x=>{x.nodeType===$.Node.TEXT_NODE?j(x,c):(x.className.baseVal.indexOf("highcharts-br")!==-1&&(H.actualWidth=0),s(x))})};s(H.element)}getLineHeight(V){let H=V.nodeType===$.Node.TEXT_NODE?V.parentElement:V;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(H||this.svgElement.element).h}modifyTree(V){let H=(T,L)=>{let{attributes:j={},children:s,style:c={},tagName:x}=T,N=this.renderer.styledMode;if(x==="b"||x==="strong"?N?j.class="highcharts-strong":c.fontWeight="bold":(x==="i"||x==="em")&&(N?j.class="highcharts-emphasized":c.fontStyle="italic"),c&&c.color&&(c.fill=c.color),x==="br"){j.class="highcharts-br",T.textContent="\u200B";let P=V[L+1];P&&P.textContent&&(P.textContent=P.textContent.replace(/^ +/gm,""))}else x==="a"&&s&&s.some(P=>P.tagName==="#text")&&(T.children=[{children:s,tagName:"tspan"}]);x!=="#text"&&x!=="a"&&(T.tagName="tspan"),G(T,{attributes:j,style:c}),s&&s.filter(P=>P.tagName!=="#text").forEach(H)};V.forEach(H),q(this.svgElement,"afterModifyTree",{nodes:V})}truncate(V,H,T,L,j,s){let c,x,N=this.svgElement,{rotation:P}=N,S=[],g=T?1:0,v=(H||T||"").length,p=v,a=function(o,u){let d=u||o,h=V.parentNode;if(h&&S[d]===void 0&&h.getSubStringLength)try{S[d]=L+h.getSubStringLength(0,T?d+1:d)}catch{}return S[d]};if(N.rotation=0,L+(x=a(V.textContent.length))>j){for(;g<=v;)p=Math.ceil((g+v)/2),T&&(c=s(T,p)),x=a(p,c&&c.length-1),g===v?g=v+1:x>j?v=p-1:g=p;v===0?V.textContent="":H&&v===H.length-1||(V.textContent=c||s(H||T,p))}T&&T.splice(0,p),N.actualWidth=x,N.rotation=P}unescapeEntities(V,H){return R(this.renderer.escapes,function(T,L){H&&H.indexOf(T)!==-1||(V=V.toString().replace(RegExp(T,"g"),L))}),V}}}),r(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let R,{defaultOptions:Y}=n,{charts:V,deg2rad:H,doc:T,isFirefox:L,isMS:j,isWebKit:s,noop:c,SVG_NS:x,symbolSizes:N,win:P}=C,{addEvent:S,attr:g,createElement:v,crisp:p,css:a,defined:o,destroyObjectProperties:u,extend:d,isArray:h,isNumber:m,isObject:f,isString:y,merge:I,pick:E,pInt:M,replaceNested:D,uniqueKey:F}=Z;class X{constructor(w,A,U,b,k,O,z){let W,Q,ee=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),se=ee.element;z||ee.css(this.getStyle(b||{})),w.appendChild(se),g(w,"dir","ltr"),w.innerHTML.indexOf("xmlns")===-1&&g(se,"xmlns",this.SVG_NS),this.box=se,this.boxWrapper=ee,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(T.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=O,this.forExport=k,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=ee.getStyle("font-size"),this.setSize(A,U,!1),L&&w.getBoundingClientRect&&((W=function(){a(w,{left:0,top:0}),Q=w.getBoundingClientRect(),a(w,{left:Math.ceil(Q.left)-Q.left+"px",top:Math.ceil(Q.top)-Q.top+"px"})})(),this.unSubPixelFix=S(P,"resize",W))}definition(w){return new t([w]).addToDOM(this.defs.element)}getReferenceURL(){if((L||s)&&T.getElementsByTagName("base").length){if(!o(R)){let w=F(),A=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:w},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${w})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(T.body);a(A,{position:"fixed",top:0,left:0,zIndex:9e5});let U=T.elementFromPoint(6,6);R=(U&&U.id)==="hitme",T.body.removeChild(A)}if(R)return D(P.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(w){return this.style=d({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},w),this.style}setStyle(w){this.boxWrapper.css(this.getStyle(w))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let w=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,this.defs=w.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(w){return new this.Element(this,w)}getRadialAttr(w,A){return{cx:w[0]-w[2]/2+(A.cx||0)*w[2],cy:w[1]-w[2]/2+(A.cy||0)*w[2],r:(A.r||0)*w[2]}}shadowDefinition(w){let A=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(w).map(b=>`${b}-${w[b]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),U=I({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},w);return this.defs.element.querySelector(`#${A}`)||this.definition({tagName:"filter",attributes:{id:A,filterUnits:U.filterUnits},children:this.getShadowFilterContent(U)}),A}getShadowFilterContent(w){return[{tagName:"feDropShadow",attributes:{dx:w.offsetX,dy:w.offsetY,"flood-color":w.color,"flood-opacity":Math.min(5*w.opacity,1),stdDeviation:w.width/2}}]}buildText(w){new q(w).buildSVG()}getContrast(w){let A=l.parse(w).rgba.map(b=>{let k=b/255;return k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4)}),U=.2126*A[0]+.7152*A[1]+.0722*A[2];return 1.05/(U+.05)>(U+.05)/.05?"#FFFFFF":"#000000"}button(w,A,U,b,k={},O,z,W,Q,ee){let se=this.label(w,A,U,Q,void 0,void 0,ee,void 0,"button"),ae=this.styledMode,he=arguments,ce=0;k=I(Y.global.buttonTheme,k),ae&&(delete k.fill,delete k.stroke,delete k["stroke-width"]);let ie=k.states||{},te=k.style||{};delete k.states,delete k.style;let ne=[t.filterUserAttributes(k)],oe=[te];return ae||["hover","select","disabled"].forEach((le,ue)=>{ne.push(I(ne[0],t.filterUserAttributes(he[ue+5]||ie[le]||{}))),oe.push(ne[ue+1].style),delete ne[ue+1].style}),S(se.element,j?"mouseover":"mouseenter",function(){ce!==3&&se.setState(1)}),S(se.element,j?"mouseout":"mouseleave",function(){ce!==3&&se.setState(ce)}),se.setState=(le=0)=>{if(le!==1&&(se.state=ce=le),se.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][le]),!ae){se.attr(ne[le]);let ue=oe[le];f(ue)&&se.css(ue)}},se.attr(ne[0]),!ae&&(se.css(d({cursor:"default"},te)),ee&&se.text.css({pointerEvents:"none"})),se.on("touchstart",le=>le.stopPropagation()).on("click",function(le){ce!==3&&b.call(se,le)})}crispLine(w,A){let[U,b]=w;return o(U[1])&&U[1]===b[1]&&(U[1]=b[1]=p(U[1],A)),o(U[2])&&U[2]===b[2]&&(U[2]=b[2]=p(U[2],A)),w}path(w){let A=this.styledMode?{}:{fill:"none"};return h(w)?A.d=w:f(w)&&d(A,w),this.createElement("path").attr(A)}circle(w,A,U){let b=f(w)?w:w===void 0?{}:{x:w,y:A,r:U},k=this.createElement("circle");return k.xSetter=k.ySetter=function(O,z,W){W.setAttribute("c"+z,O)},k.attr(b)}arc(w,A,U,b,k,O){let z;f(w)?(A=(z=w).y,U=z.r,b=z.innerR,k=z.start,O=z.end,w=z.x):z={innerR:b,start:k,end:O};let W=this.symbol("arc",w,A,U,U,z);return W.r=U,W}rect(w,A,U,b,k,O){let z=f(w)?w:w===void 0?{}:{x:w,y:A,r:k,width:Math.max(U||0,0),height:Math.max(b||0,0)},W=this.createElement("rect");return this.styledMode||(O!==void 0&&(z["stroke-width"]=O,d(z,W.crisp(z))),z.fill="none"),W.rSetter=function(Q,ee,se){W.r=Q,g(se,{rx:Q,ry:Q})},W.rGetter=function(){return W.r||0},W.attr(z)}roundedRect(w){return this.symbol("roundedRect").attr(w)}setSize(w,A,U){this.width=w,this.height=A,this.boxWrapper.animate({width:w,height:A},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(U,!0)?void 0:0}),this.alignElements()}g(w){let A=this.createElement("g");return w?A.attr({class:"highcharts-"+w}):A}image(w,A,U,b,k,O){let z={preserveAspectRatio:"none"};m(A)&&(z.x=A),m(U)&&(z.y=U),m(b)&&(z.width=b),m(k)&&(z.height=k);let W=this.createElement("image").attr(z),Q=function(ee){W.attr({href:w}),O.call(W,ee)};if(O){W.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let ee=new P.Image;S(ee,"load",Q),ee.src=w,ee.complete&&Q({})}else W.attr({href:w});return W}symbol(w,A,U,b,k,O){let z,W,Q,ee,se=this,ae=/^url\((.*?)\)$/,he=ae.test(w),ce=!he&&(this.symbols[w]?w:"circle"),ie=ce&&this.symbols[ce];if(ie)typeof A=="number"&&(W=ie.call(this.symbols,A||0,U||0,b||0,k||0,O)),z=this.path(W),se.styledMode||z.attr("fill","none"),d(z,{symbolName:ce||void 0,x:A,y:U,width:b,height:k}),O&&d(z,O);else if(he){Q=w.match(ae)[1];let te=z=this.image(Q);te.imgwidth=E(O&&O.width,N[Q]&&N[Q].width),te.imgheight=E(O&&O.height,N[Q]&&N[Q].height),ee=ne=>ne.attr({width:ne.width,height:ne.height}),["width","height"].forEach(ne=>{te[`${ne}Setter`]=function(oe,le){this[le]=oe;let{alignByTranslate:ue,element:de,width:fe,height:me,imgwidth:ge,imgheight:Ee}=this,ve=le==="width"?ge:Ee,ye=1;O&&O.backgroundSize==="within"&&fe&&me&&ge&&Ee?(ye=Math.min(fe/ge,me/Ee),g(de,{width:Math.round(ge*ye),height:Math.round(Ee*ye)})):de&&ve&&de.setAttribute(le,ve),!ue&&ge&&Ee&&this.translate(((fe||0)-ge*ye)/2,((me||0)-Ee*ye)/2)}}),o(A)&&te.attr({x:A,y:U}),te.isImg=!0,te.symbolUrl=w,o(te.imgwidth)&&o(te.imgheight)?ee(te):(te.attr({width:0,height:0}),v("img",{onload:function(){let ne=V[se.chartIndex];this.width===0&&(a(this,{position:"absolute",top:"-999em"}),T.body.appendChild(this)),N[Q]={width:this.width,height:this.height},te.imgwidth=this.width,te.imgheight=this.height,te.element&&ee(te),this.parentNode&&this.parentNode.removeChild(this),se.imgCount--,se.imgCount||!ne||ne.hasLoaded||ne.onload()},src:Q}),this.imgCount++)}return z}clipRect(w,A,U,b){return this.rect(w,A,U,b,0)}text(w,A,U,b){let k={};if(b&&(this.allowHTML||!this.forExport))return this.html(w,A,U);k.x=Math.round(A||0),U&&(k.y=Math.round(U)),o(w)&&(k.text=w);let O=this.createElement("text").attr(k);return b&&(!this.forExport||this.allowHTML)||(O.xSetter=function(z,W,Q){let ee=Q.getElementsByTagName("tspan"),se=Q.getAttribute(W);for(let ae=0,he;ae<ee.length;ae++)(he=ee[ae]).getAttribute(W)===se&&he.setAttribute(W,z);Q.setAttribute(W,z)}),O}fontMetrics(w){let A=M($.prototype.getStyle.call(w,"font-size")||0),U=A<24?A+3:Math.round(1.2*A),b=Math.round(.8*U);return{h:U,b,f:A}}rotCorr(w,A,U){let b=w;return A&&U&&(b=Math.max(b*Math.cos(A*H),4)),{x:-w/3*Math.sin(A*H),y:b}}pathToSegments(w){let A=[],U=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let k=0;k<w.length;k++)y(U[0])&&m(w[k])&&U.length===b[U[0].toUpperCase()]&&w.splice(k,0,U[0].replace("M","L").replace("m","l")),typeof w[k]=="string"&&(U.length&&A.push(U.slice(0)),U.length=0),U.push(w[k]);return A.push(U.slice(0)),A}label(w,A,U,b,k,O,z,W,Q){return new K(this,w,A,U,b,k,O,z,W,Q)}
128alignElements(){this.alignedObjects.forEach(w=>w.align())}}return d(X.prototype,{Element:$,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:G,draw:c}),B.registerRendererType("svg",X,!0),X}),r(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{composed:B}=n,{attr:$,css:K,createElement:G,defined:q,extend:Z,pInt:R,pushUnique:Y}=C;function V(j,s,c){var N;let x=((N=this.div)==null?void 0:N.style)||c.style;l.prototype[`${s}Setter`].call(this,j,s,c),x&&(x[s]=j)}let H=(j,s)=>{var c;if(!j.div){let x=$(j.element,"class"),N=j.css,P=G("div",x?{className:x}:void 0,xt(ze({position:"absolute",left:`${j.translateX||0}px`,top:`${j.translateY||0}px`},j.styles),{display:j.display,opacity:j.opacity,visibility:j.visibility}),((c=j.parentGroup)==null?void 0:c.div)||s);j.classSetter=(S,g,v)=>{v.setAttribute("class",S),P.className=S},j.translateXSetter=j.translateYSetter=(S,g)=>{j[g]=S,P.style[g==="translateX"?"left":"top"]=`${S}px`,j.doTransform=!0},j.opacitySetter=j.visibilitySetter=V,j.css=S=>(N.call(j,S),S.cursor&&(P.style.cursor=S.cursor),S.pointerEvents&&(P.style.pointerEvents=S.pointerEvents),j),j.on=function(){return l.prototype.on.apply({element:P,onEvents:j.onEvents},arguments),j},j.div=P}return j.div};class T extends l{static compose(s){Y(B,this.compose)&&(s.prototype.html=function(c,x,N){return new T(this,"span").attr({text:c,x:Math.round(x),y:Math.round(N)})})}constructor(s,c){super(s,c),this.css(ze({position:"absolute"},s.styledMode?{}:{fontFamily:s.style.fontFamily,fontSize:s.style.fontSize})),this.element.style.whiteSpace="nowrap"}getSpanCorrection(s,c,x){this.xCorr=-s*x,this.yCorr=-c}css(s){let c,{element:x}=this,N=x.tagName==="SPAN"&&s&&"width"in s,P=N&&s.width;return N&&(delete s.width,this.textWidth=R(P)||void 0,c=!0),(s==null?void 0:s.textOverflow)==="ellipsis"&&(s.whiteSpace="nowrap",s.overflow="hidden"),Z(this.styles,s),K(x,s),c&&this.updateTransform(),this}htmlGetBBox(){let{element:s}=this;return{x:s.offsetLeft,y:s.offsetTop,width:s.offsetWidth,height:s.offsetHeight}}updateTransform(){var m;if(!this.added){this.alignOnAdd=!0;return}let{element:s,renderer:c,rotation:x,rotationOriginX:N,rotationOriginY:P,styles:S,textAlign:g="left",textWidth:v,translateX:p=0,translateY:a=0,x:o=0,y:u=0}=this,d={left:0,center:.5,right:1}[g],h=S.whiteSpace;if(K(s,{marginLeft:`${p}px`,marginTop:`${a}px`}),s.tagName==="SPAN"){let f=[x,g,s.innerHTML,v,this.textAlign].join(","),y=-(((m=this.parentGroup)==null?void 0:m.padding)*1)||0,I,E=!1;if(v!==this.oldTextWidth){let _=this.textPxLength?this.textPxLength:(K(s,{width:"",whiteSpace:h||"nowrap"}),s.offsetWidth),w=v||0;(w>this.oldTextWidth||_>w)&&(/[ \-]/.test(s.textContent||s.innerText)||s.style.textOverflow==="ellipsis")&&(K(s,{width:_>w||x?v+"px":"auto",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=v,E=!0)}this.hasBoxWidthChanged=E,f!==this.cTT&&(I=c.fontMetrics(s).b,q(x)&&(x!==(this.oldRotation||0)||g!==this.oldAlign)&&this.setSpanRotation(x,y,y),this.getSpanCorrection(!q(x)&&this.textPxLength||s.offsetWidth,I,d));let{xCorr:M=0,yCorr:D=0}=this,F=(N??o)-M-o-y,X=(P??u)-D-u-y;K(s,{left:`${o+M}px`,top:`${u+D}px`,transformOrigin:`${F}px ${X}px`}),this.cTT=f,this.oldRotation=x,this.oldAlign=g}}setSpanRotation(s,c,x){K(this.element,{transform:`rotate(${s}deg)`,transformOrigin:`${c}% ${x}px`})}add(s){let c,x=this.renderer.box.parentNode,N=[];if(this.parentGroup=s,s&&!(c=s.div)){let P=s;for(;P;)N.push(P),P=P.parentGroup;for(let S of N.reverse())c=H(S,x)}return(c||x).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(s){s!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,s??""),this.textStr=s,this.doTransform=!0)}alignSetter(s){this.alignValue=this.textAlign=s,this.doTransform=!0}xSetter(s,c){this[c]=s,this.doTransform=!0}}let L=T.prototype;return L.visibilitySetter=L.opacitySetter=V,L.ySetter=L.rotationSetter=L.rotationOriginXSetter=L.rotationOriginYSetter=L.xSetter,T}),r(e,"Core/Axis/AxisDefaults.js",[],function(){var t,n;return(n=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"
128%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},n.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:l}=this.axis.chart;return l(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),r(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,isFunction:C,objectEach:B,removeEvent:$}=t;return(n||(n={})).registerEventOptions=function(K,G){K.eventOptions=K.eventOptions||{},B(G.events,function(q,Z){K.eventOptions[Z]!==q&&(K.eventOptions[Z]&&($(K,Z,K.eventOptions[Z]),delete K.eventOptions[Z]),C(q)&&(K.eventOptions[Z]=q,l(K,Z,q,{order:0})))})},n}),r(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{deg2rad:C}=n,{clamp:B,correctFloat:$,defined:K,destroyObjectProperties:G,extend:q,fireEvent:Z,isNumber:R,merge:Y,objectEach:V,pick:H}=l;return class{constructor(T,L,j,s,c){this.isNew=!0,this.isNewLabel=!0,this.axis=T,this.pos=L,this.type=j||"",this.parameters=c||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,Z(this,"init"),j||s||this.addLabel()}addLabel(){let T=this,L=T.axis,j=L.options,s=L.chart,c=L.categories,x=L.logarithmic,N=L.names,P=T.pos,S=H(T.options&&T.options.labels,j.labels),g=L.tickPositions,v=P===g[0],p=P===g[g.length-1],a=(!S.step||S.step===1)&&L.tickInterval===1,o=g.info,u=T.label,d,h,m,f=this.parameters.category||(c?H(c[P],N[P],P):P);x&&R(f)&&(f=$(x.lin2log(f))),L.dateTime&&(o?d=(h=s.time.resolveDTLFormat(j.dateTimeLabelFormats[!j.grid&&o.higherRanks[P]||o.unitName])).main:R(f)&&(d=L.dateTime.getXDateFormat(f,j.dateTimeLabelFormats||{}))),T.isFirst=v,T.isLast=p;let y={axis:L,chart:s,dateTimeLabelFormat:d,isFirst:v,isLast:p,pos:P,tick:T,tickPositionInfo:o,value:f};Z(this,"labelFormat",y);let I=D=>S.formatter?S.formatter.call(D,D):S.format?(D.text=L.defaultLabelFormatter.call(D),t.format(S.format,D,s)):L.defaultLabelFormatter.call(D),E=I.call(y,y),M=h&&h.list;M?T.shortenLabel=function(){for(m=0;m<M.length;m++)if(q(y,{dateTimeLabelFormat:M[m]}),u.attr({text:I.call(y,y)}),u.getBBox().width<L.getSlotWidth(T)-2*(S.padding||0))return;u.attr({text:""})}:T.shortenLabel=void 0,a&&L._addedPlotLB&&T.moveLabel(E,S),K(u)||T.movedLabel?u&&u.textStr!==E&&!a&&(!u.textWidth||S.style.width||u.styles.width||u.css({width:null}),u.attr({text:E}),u.textPxLength=u.getBBox().width):(T.label=u=T.createLabel(E,S),T.rotation=0)}createLabel(T,L,j){let s=this.axis,c=s.chart,x=K(T)&&L.enabled?c.renderer.text(T,j==null?void 0:j.x,j==null?void 0:j.y,L.useHTML).add(s.labelGroup):void 0;return x&&(c.styledMode||x.css(Y(L.style)),x.textPxLength=x.getBBox().width),x}destroy(){G(this,this.axis)}getPosition(T,L,j,s){let c=this.axis,x=c.chart,N=s&&x.oldChartHeight||x.chartHeight,P={x:T?$(c.translate(L+j,void 0,void 0,s)+c.transB):c.left+c.offset+(c.opposite?(s&&x.oldChartWidth||x.chartWidth)-c.right-c.left:0),y:T?N-c.bottom+c.offset-(c.opposite?c.height:0):$(N-c.translate(L+j,void 0,void 0,s)-c.transB)};return P.y=B(P.y,-1e9,1e9),Z(this,"afterGetPosition",{pos:P}),P}getLabelPosition(T,L,j,s,c,x,N,P){let S,g,v=this.axis,p=v.transA,a=v.isLinked&&v.linkedParent?v.linkedParent.reversed:v.reversed,o=v.staggerLines,u=v.tickRotCorr||{x:0,y:0},d=s||v.reserveSpaceDefault?0:-v.labelOffset*(v.labelAlign==="center"?.5:1),h=c.distance,m={};return S=v.side===0?j.rotation?-h:-j.getBBox().height:v.side===2?u.y+h:Math.cos(j.rotation*C)*(u.y-j.getBBox(!1,0).height/2),K(c.y)&&(S=v.side===0&&v.horiz?c.y+S:c.y),T=T+H(c.x,[0,1,0,-1][v.side]*h)+d+u.x-(x&&s?x*p*(a?-1:1):0),L=L+S-(x&&!s?x*p*(a?1:-1):0),o&&(g=N/(P||1)%o,v.o
128pposite&&(g=o-g-1),L+=g*(v.labelOffset/o)),m.x=T,m.y=Math.round(L),Z(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:x,index:N}),m}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(T,L,j,s,c=!1,x){return x.crispLine([["M",T,L],["L",T+(c?0:-j),L+(c?j:0)]],s)}handleOverflow(T){let L=this.axis,j=L.options.labels,s=T.x,c=L.chart.chartWidth,x=L.chart.spacing,N=H(L.labelLeft,Math.min(L.pos,x[3])),P=H(L.labelRight,Math.max(L.isRadial?0:L.pos+L.len,c-x[1])),S=this.label,g=this.rotation,v={left:0,center:.5,right:1}[L.labelAlign||S.attr("align")],p=S.getBBox().width,a=L.getSlotWidth(this),o={},u=a,d=1,h,m,f;g||j.overflow!=="justify"?g<0&&s-v*p<N?f=Math.round(s/Math.cos(g*C)-N):g>0&&s+v*p>P&&(f=Math.round((c-s)/Math.cos(g*C))):(h=s-v*p,m=s+(1-v)*p,h<N?u=T.x+u*(1-v)-N:m>P&&(u=P-T.x+u*v,d=-1),(u=Math.min(a,u))<a&&L.labelAlign==="center"&&(T.x+=d*(a-u-v*(a-Math.min(p,u)))),(p>u||L.autoRotation&&(S.styles||{}).width)&&(f=u)),f&&(this.shortenLabel?this.shortenLabel():(o.width=Math.floor(f)+"px",(j.style||{}).textOverflow||(o.textOverflow="ellipsis"),S.css(o)))}moveLabel(T,L){let j=this,s=j.label,c=j.axis,x=!1,N;s&&s.textStr===T?(j.movedLabel=s,x=!0,delete j.label):V(c.ticks,function(P){x||P.isNew||P===j||!P.label||P.label.textStr!==T||(j.movedLabel=P.label,x=!0,P.labelPos=j.movedLabel.xy,delete P.label)}),!x&&(j.labelPos||s)&&(N=j.labelPos||s.xy,j.movedLabel=j.createLabel(T,L,N),j.movedLabel&&j.movedLabel.attr({opacity:0}))}render(T,L,j){let s=this.axis,c=s.horiz,x=this.pos,N=H(this.tickmarkOffset,s.tickmarkOffset),P=this.getPosition(c,x,N,L),S=P.x,g=P.y,v=s.pos,p=v+s.len,a=c?S:g;!s.chart.polar&&this.isNew&&($(a)<v||a>p)&&(j=0);let o=H(j,this.label&&this.label.newOpacity,1);j=H(j,1),this.isActive=!0,this.renderGridLine(L,j),this.renderMark(P,j),this.renderLabel(P,L,o,T),this.isNew=!1,Z(this,"afterRender")}renderGridLine(T,L){let j=this.axis,s=j.options,c={},x=this.pos,N=this.type,P=H(this.tickmarkOffset,j.tickmarkOffset),S=j.chart.renderer,g=this.gridLine,v,p=s.gridLineWidth,a=s.gridLineColor,o=s.gridLineDashStyle;this.type==="minor"&&(p=s.minorGridLineWidth,a=s.minorGridLineColor,o=s.minorGridLineDashStyle),g||(j.chart.styledMode||(c.stroke=a,c["stroke-width"]=p||0,c.dashstyle=o),N||(c.zIndex=1),T&&(L=0),this.gridLine=g=S.path().attr(c).addClass("highcharts-"+(N?N+"-":"")+"grid-line").add(j.gridGroup)),g&&(v=j.getPlotLinePath({value:x+P,lineWidth:g.strokeWidth(),force:"pass",old:T,acrossPanes:!1}))&&g[T||this.isNew?"attr":"animate"]({d:v,opacity:L})}renderMark(T,L){let j=this.axis,s=j.options,c=j.chart.renderer,x=this.type,N=j.tickSize(x?x+"Tick":"tick"),P=T.x,S=T.y,g=H(s[x!=="minor"?"tickWidth":"minorTickWidth"],!x&&j.isXAxis?1:0),v=s[x!=="minor"?"tickColor":"minorTickColor"],p=this.mark,a=!p;N&&(j.opposite&&(N[0]=-N[0]),p||(this.mark=p=c.path().addClass("highcharts-"+(x?x+"-":"")+"tick").add(j.axisGroup),j.chart.styledMode||p.attr({stroke:v,"stroke-width":g})),p[a?"attr":"animate"]({d:this.getMarkPath(P,S,N[0],p.strokeWidth(),j.horiz,c),opacity:L}))}renderLabel(T,L,j,s){let c=this.axis,x=c.horiz,N=c.options,P=this.label,S=N.labels,g=S.step,v=H(this.tickmarkOffset,c.tickmarkOffset),p=T.x,a=T.y,o=!0;P&&R(p)&&(P.xy=T=this.getLabelPosition(p,a,P,x,S,v,s,g),(!this.isFirst||this.isLast||N.showFirstLabel)&&(!this.isLast||this.isFirst||N.showLastLabel)?!x||S.step||S.rotation||L||j===0||this.handleOverflow(T):o=!1,g&&s%g&&(o=!1),o&&R(T.y)?(T.opacity=j,P[this.isNewLabel?"attr":"animate"](T).show(!0),this.isNewLabel=!1):(P.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let T=this.label,L=this.axis;T&&!this.isNew&&(T.animate({opacity:0}
vendor: 18,127 bytes, line 128
128,void 0,T.destroy),delete this.label),L.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),r(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{animObject:q}=t,{xAxis:Z,yAxis:R}=n,{defaultOptions:Y}=C,{registerEventOptions:V}=B,{deg2rad:H}=$,{arrayMax:T,arrayMin:L,clamp:j,correctFloat:s,defined:c,destroyObjectProperties:x,erase:N,error:P,extend:S,fireEvent:g,getClosestDistance:v,insertItem:p,isArray:a,isNumber:o,isString:u,merge:d,normalizeTickInterval:h,objectEach:m,pick:f,relativeLength:y,removeEvent:I,splat:E,syncTimeout:M}=G,D=(X,_)=>h(_,void 0,void 0,f(X.options.allowDecimals,_<.5||X.tickAmount!==void 0),!!X.tickAmount);S(Y,{xAxis:Z,yAxis:d(Z,R)});class F{constructor(_,w,A){this.init(_,w,A)}init(_,w,A=this.coll){let U=A==="xAxis",b=this.isZAxis||(_.inverted?!U:U);this.chart=_,this.horiz=b,this.isXAxis=U,this.coll=A,g(this,"init",{userOptions:w}),this.opposite=f(w.opposite,this.opposite),this.side=f(w.side,this.side,b?this.opposite?0:2:this.opposite?1:3),this.setOptions(w);let k=this.options,O=k.labels;this.type??(this.type=k.type||"linear"),this.uniqueNames??(this.uniqueNames=k.uniqueNames??!0),g(this,"afterSetType"),this.userOptions=w,this.minPixelPadding=0,this.reversed=f(k.reversed,this.reversed),this.visible=k.visible,this.zoomEnabled=k.zoomEnabled,this.hasNames=this.type==="category"||k.categories===!0,this.categories=a(k.categories)&&k.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=c(k.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=k.minRange||k.maxZoom,this.range=k.range,this.offset=k.offset||0,this.max=void 0,this.min=void 0;let z=f(k.crosshair,E(_.options.tooltip.crosshairs)[U?0:1]);this.crosshair=z===!0?{}:z,_.axes.indexOf(this)===-1&&(U?_.axes.splice(_.xAxis.length,0,this):_.axes.push(this),p(this,_[this.coll])),_.orderItems(this.coll),this.series=this.series||[],_.inverted&&!this.isZAxis&&U&&!c(this.reversed)&&(this.reversed=!0),this.labelRotation=o(O.rotation)?O.rotation:void 0,V(this,k),g(this,"afterInit")}setOptions(_){let w=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=d(w,Y[this.coll],_),g(this,"afterSetOptions",{userOptions:_})}defaultLabelFormatter(){let _=this.axis,{numberFormatter:w}=this.chart,A=o(this.value)?this.value:NaN,U=_.chart.time,b=_.categories,k=this.dateTimeLabelFormat,O=Y.lang,z=O.numericSymbols,W=O.numericSymbolMagnitude||1e3,Q=_.logarithmic?Math.abs(A):_.tickInterval,ee=z&&z.length,se,ae;if(b)ae=`${this.value}`;else if(k)ae=U.dateFormat(k,A);else if(ee&&z&&Q>=1e3)for(;ee--&&ae===void 0;)Q>=(se=Math.pow(W,ee+1))&&10*A%se==0&&z[ee]!==null&&A!==0&&(ae=w(A/se,-1)+z[ee]);return ae===void 0&&(ae=Math.abs(A)>=1e4?w(A,-1):w(A,-1,void 0,"")),ae}getSeriesExtremes(){let _,w=this;g(this,"getSeriesExtremes",null,function(){w.hasVisibleSeries=!1,w.dataMin=w.dataMax=w.threshold=void 0,w.softThreshold=!w.isXAxis,w.series.forEach(A=>{if(A.reserveSpace()){let U=A.options,b,k=U.threshold,O,z;if(w.hasVisibleSeries=!0,w.positiveValuesOnly&&0>=(k||0)&&(k=void 0),w.isXAxis)(b=A.xData)&&b.length&&(b=w.logarithmic?b.filter(W=>W>0):b,O=(_=A.getXExtremes(b)).min,z=_.max,o(O)||O instanceof Date||(b=b.filter(o),O=(_=A.getXExtremes(b)).min,z=_.max),b.length&&(w.dataMin=Math.min(f(w.dataMin,O),O),w.dataMax=Math.max(f(w.dataMax,z),z)));else{let W=A.applyExtremes();o(W.dataMin)&&(O=W.dataMin,w.dataMin=Math.min(f(w.dataMin,O),O)),o(W.dataMax)&&(z=W.dataMax,w.dataMax=Math.max(f(w.dataMax,z),z)),c(k)&&(w.threshold=k),(!U.softThreshold||w.positiveValuesOnly)&&(w.softThreshold=!1)}}})}),g(this,"afterGetSeriesExtremes")}translate(_,w,A,U,b,k){var ce;let O=this.linkedParent||this,z=U&&O.old?O.old.min:O.min;if(!o(z))return NaN;let W=O.minPixelPadding,Q=(O.isOrdinal||((ce=O.brokenAxis)==null?void 0:ce.hasBreaks)||O.logarithmic&&b)&&O.lin2val,ee=1,se=0,ae=U&&O.old?O.old.transA:O.transA,he=0;return ae||(ae=O.transA),A&&(ee*=-1,se=O.len),O.reversed&&(ee*=-1,se-=ee*(O.sector||O.len)),w?(he=(_=_*ee+se-W)/ae+z,Q&&(he=O.lin2val(he))):(Q&&(_=O.val2lin(_)),he=ee*(_-z)*ae+se+ee*W+(o(k)?ae*k:0),O.isRadial||(he=s(he))),he}toPixels(_,w){return this.translate(_,!1,!this.horiz,void 0,!0)+(w?0:this.pos)}toValue(_,w){return this.translate(_-(w?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(_){let w=this,A=w.chart,U=w.left,b=w.top,k=_.old,O=_.value,z=_.lineWidth,W=k&&A.oldChartHeight||A.chartHeight,Q=k&&A.oldChartWidth||A.chartWidth,ee=w.transB,se=_.translatedValue,ae=_.force,he,ce,ie,te,ne;function oe(ue,de,fe){return ae!=="pass"&&(ue<de||ue>fe)&&(ae?ue=j(ue,de,fe):ne=!0),ue}let le={value:O,lineWidth:z,old:k,force:ae,acrossPanes:_.acrossPanes,translatedValue:se};return g(this,"getPlotLinePath",le,function(ue){he=ie=(se=j(se=f(se,w.translate(O,void 0,void 0,k)),-1e9,1e9))+ee,ce=te=W-se-ee,o(se)?w.horiz?(ce=b,te=W-w.bottom+(w.options.isInternal?0:A.scrollablePixelsY||0),he=ie=oe(he,U,U+w.width)):(he=U,ie=Q-w.right+(A.scrollablePixelsX||0),ce=te=oe(ce,b,b+w.height)):(ne=!0,ae=!1),ue.path=ne&&!ae?void 0:A.renderer.crispLine([["M",he,ce],["L",ie,te]],z||1)}),le.path}getLinearTickPositions(_,w,A){let U,b,k,O=s(Math.floor(w/_)*_),z=s(Math.ceil(A/_)*_),W=[];if(s(O+_)===O&&(k=20),this.single)return[w];for(U=O;U<=z&&(W.push(U),(U=s(U+_,k))!==b);)b=U;return W}getMinorTickInterval(){let{minorTicks:_,minorTickInterval:w}=this.options;return _===!0?f(w,"auto"):_!==!1?w:void 0}getMinorTickPositions(){let _=this.options,w=this.tickPositions,A=this.minorTickInterval,U=this.pointRangePadding||0,b=(this.min||0)-U,k=(this.max||0)+U,O=k-b,z=[],W;if(O&&O/A<this.len/3){let Q=this.logarithmic;if(Q)this.paddedTicks.forEach(function(ee,se,ae){se&&z.push.apply(z,Q.getLogTickPositions(A,ae[se-1],ae[se],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")z=z.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(A),b,k,_.startOfWeek));else for(W=b+(w[0]-b)%A;W<=k&&W!==z[0];W+=A)z.push(W)}return z.length!==0&&this.trimTicks(z),z}adjustForMinRange(){let _=this.options,w=this.logarithmic,{max:A,min:U,minRange:b}=this,k,O,z,W;this.isXAxis&&b===void 0&&!w&&(b=c(_.min)||c(_.max)||c(_.floor)||c(_.ceiling)?null:Math.min(5*(v(this.series.map(Q=>{var ee;return(Q.xIncrement?(ee=Q.xData)==null?void 0:ee.slice(0,2):Q.xData)||[]}))||0),this.dataMax-this.dataMin)),o(A)&&o(U)&&o(b)&&A-U<b&&(O=this.dataMax-this.dataMin>=b,k=(b-A+U)/2,z=[U-k,f(_.min,U-k)],O&&(z[2]=w?w.log2lin(this.dataMin):this.dataMin),W=[(U=T(z))+b,f(_.max,U+b)],O&&(W[2]=w?w.log2lin(this.dataMax):this.dataMax),(A=L(W))-U<b&&(z[0]=A-b,z[1]=f(_.min,A-b),U=T(z))),this.minRange=b,this.min=U,this.max=A}getClosest(){let _,w;if(this.categories)w=1;else{let A=[];this.series.forEach(function(U){var k;let b=U.closestPointRange;((k=U.xData)==null?void 0:k.length)===1?A.push(U.xData[0]):!U.noSharedTooltip&&c(b)&&U.reserveSpace()&&(w=c(w)?Math.min(w,b):b)}),A.length&&(A.sort((U,b)=>U-b),_=v([A]))}return _&&w?Math.min(_,w):_||w}nameToX(_){let w=a(this.options.categories),A=w?this.categories:this.names,U=_.options.x,b;return _.series.requireSorting=!1,c(U)||(U=this.uniqueNames&&A?w?A.indexOf(_.name):f(A.keys[_.name],-1):_.series.autoIncrement()),U===-1?!w&&A&&(b=A.length):b=U,b!==void 0?(this.names[b]=_.name,this.names.keys[_.name]=b):_.x&&(b=_.x),b}updateNames(){let _=this,w=this.names;w.length>0&&(Object.keys(w.keys).forEach(function(A){delete w.keys[A]}),w.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(A=>{A.xIncrement=null,(!A.points||A.isDirtyData)&&(_.max=Math.max(_.max,A.xData.length-1),A.processData(),A.generatePoints()),A.data.forEach(function(U,b){let k;U!=null&&U.options&&U.name!==void 0&&(k=_.nameToX(U))!==void 0&&k!==U.x&&(U.x=k,A.xData[b]=k)})}))}setAxisTranslation(){let _=this,w=_.max-_.min,A=_.linkedParent,U=!!_.categories,b=_.isXAxis,k=_.axisPointRange||0,O,z=0,W=0,Q,ee=_.transA;(b||U||k)&&(O=_.getClosest(),A?(z=A.minPointOffset,W=A.pointRangePadding):_.series.forEach(function(se){let ae=U?1:b?f(se.options.pointRange,O,0):_.axisPointRange||0,he=se.options.pointPlacement;if(k=Math.max(k,ae),!_.single||U){let ce=se.is("xrange")?!b:b;z=Math.max(z,ce&&u(he)?0:ae/2),W=Math.max(W,ce&&he==="on"?0:ae)}}),Q=_.ordinal&&_.ordinal.slope&&O?_.ordinal.slope/O:1,_.minPointOffset=z*=Q,_.pointRangePadding=W*=Q,_.pointRange=Math.min(k,_.single&&U?1:w),b&&O&&(_.closestPointRange=O)),_.translationSlope=_.transA=ee=_.staticScale||_.len/(w+W||1),_.transB=_.horiz?_.left:_.bottom,_.minPixelPadding=ee*z,g(this,"afterSetAxisTranslation")}minFromRange(){let{max:_,min:w}=this;return o(_)&&o(w)&&_-w||void 0}setTickInterval(_){var xe,Ce,Oe,Pe;let{categories:w,chart:A,dataMax:U,dataMin:b,dateTime:k,isXAxis:O,logarithmic:z,options:W,softThreshold:Q}=this,ee=o(this.threshold)?this.threshold:void 0,se=this.minRange||0,{ceiling:ae,floor:he,linkedTo:ce,softMax:ie,softMin:te}=W,ne=o(ce)&&((xe=A[this.coll])==null?void 0:xe[ce]),oe=W.tickPixelInterval,le=W.maxPadding,ue=W.minPadding,de=0,fe,me=o(W.tickInterval)&&W.tickInterval>=0?W.tickInterval:void 0,ge,Ee,ve,ye;if(k||w||ne||this.getTickAmount(),ve=f(this.userMin,W.min),ye=f(this.userMax,W.max),ne?(this.linkedParent=ne,fe=ne.getExtremes(),this.min=f(fe.min,fe.dataMin),this.max=f(fe.max,fe.dataMax),this.type!==ne.type&&P(11,!0,A)):(Q&&c(ee)&&o(U)&&o(b)&&(b>=ee?(ge=ee,ue=0):U<=ee&&(Ee=ee,le=0)),this.min=f(ve,ge,b),this.max=f(ye,Ee,U)),o(this.max)&&o(this.min)&&(z&&(this.positiveValuesOnly&&!_&&0>=Math.min(this.min,f(b,this.min))&&P(10,!0,A),this.min=s(z.log2lin(this.min),16),this.max=s(z.log2lin(this.max),16)),this.range&&o(b)&&(this.userMin=this.min=ve=Math.max(b,this.minFromRange()||0),this.userMax=ye=this.max,this.range=void 0)),g(this,"foundExtremes"),this.adjustForMinRange(),o(this.min)&&o(this.max)){if(!o(this.userMin)&&o(te)&&te<this.min&&(this.min=ve=te),!o(this.userMax)&&o(ie)&&ie>this.max&&(this.max=ye=ie),w||this.axisPointRange||(Ce=this.stacking)!=null&&Ce.usePercentage||ne||!(de=this.max-this.min)||(!c(ve)&&ue&&(this.min-=de*ue),c(ye)||!le||(this.max+=de*le)),!o(this.userMin)&&o(he)&&(this.min=Math.max(this.min,he)),!o(this.userMax)&&o(ae)&&(this.max=Math.min(this.max,ae)),Q&&o(b)&&o(U)){let He=ee||0;!c(ve)&&this.min<He&&b>=He?this.min=W.minRange?Math.min(He,this.max-se):He:!c(ye)&&this.max>He&&U<=He&&(this.max=W.minRange?Math.max(He,this.min+se):He)}!A.polar&&this.min>this.max&&(c(W.min)?this.max=this.min:c(W.max)&&(this.min=this.max)),de=this.max-this.min}if(this.min!==this.max&&o(this.min)&&o(this.max)?ne&&!me&&oe===ne.options.tickPixelInterval?this.tickInterval=me=ne.tickInterval:this.tickInterval=f(me,this.tickAmount?de/Math.max(this.tickAmount-1,1):void 0,w?1:de*oe/Math.max(this.len,oe)):this.tickInterval=1,O&&!_){let He=this.min!==((Oe=this.old)==null?void 0:Oe.min)||this.max!==((Pe=this.old)==null?void 0:Pe.max);this.series.forEach(function(Je){var Xe;Je.forceCrop=(Xe=Je.forceCropping)==null?void 0:Xe.call(Je),Je.processData(He)}),g(this,"postProcessData",{hasExtremesChanged:He})}this.setAxisTranslation(),g(this,"initialAxisTranslation"),this.pointRange&&!me&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Se=f(W.minTickInterval,k&&!this.series.some(He=>He.noSharedTooltip)?this.closestPointRange:0);!me&&this.tickInterval<Se&&(this.tickInterval=Se),k||z||me||(this.tickInterval=D(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var Q,ee;let _=this.options,w=_.tickPositions,A=_.tickPositioner,U=this.getMinorTickInterval(),b=!this.isPanning,k=b&&_.startOnTick,O=b&&_.endOnTick,z=[],W;if(this.tickmarkOffset=this.categories&&_.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&c(this.min)&&!this.tickAmount&&(this.min%1==0||_.allowDecimals!==!1),w)z=w.slice();else if(o(this.min)&&o(this.max)){if(!((Q=this.ordinal)!=null&&Q.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))z=[this.min,this.max],P(19,!1,this.chart);else if(this.dateTime)z=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,_.units),this.min,this.max,_.startOfWeek,(ee=this.ordinal)==null?void 0:ee.positions,this.closestPointRange,!0);else if(this.logarithmic)z=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let se=this.tickInterval,ae=se;for(;ae<=2*se&&(z=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&z.length>this.tickAmount);)this.tickInterval=D(this,ae*=1.1)}z.length>this.len&&(z=[z[0],z[z.length-1]])[0]===z[1]&&(z.length=1),A&&(this.tickPositions=z,(W=A.apply(this,[this.min,this.max]))&&(z=W))}this.tickPositions=z,this.minorTickInterval=U==="auto"&&this.tickInterval?this.tickInterval/_.minorTicksPerMajor:U,this.paddedTicks=z.slice(0),this.trimTicks(z,k,O),!this.isLinked&&o(this.min)&&o(this.max)&&(this.single&&z.length<2&&!this.categories&&!this.series.some(se=>se.is("heatmap")&&se.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),w||W||this.adjustTickAmount()),g(this,"afterSetTickPositions")}trimTicks(_,w,A){let U=_[0],b=_[_.length-1],k=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(w&&U!==-1/0)this.min=U;else for(;this.min-k>_[0];)_.shift();if(A)this.max=b;else for(;this.max+k<_[_.length-1];)_.pop();_.length===0&&c(U)&&!this.options.tickPositions&&_.push((b+U)/2)}}alignToOthers(){let _,w=this,A=w.chart,U=[this],b=w.options,k=A.options.chart,O=this.coll==="yAxis"&&k.alignThresholds,z=[];if(w.thresholdAlignment=void 0,(k.alignTicks!==!1&&b.alignTicks||O)&&b.startOnTick!==!1&&b.endOnTick!==!1&&!w.logarithmic){let W=ee=>{let{horiz:se,options:ae}=ee;return[se?ae.left:ae.top,ae.width,ae.height,ae.pane].join(",")},Q=W(this);A[this.coll].forEach(function(ee){let{series:se}=ee;se.length&&se.some(ae=>ae.visible)&&ee!==w&&W(ee)===Q&&(_=!0,U.push(ee))})}if(_&&O){U.forEach(Q=>{let ee=Q.getThresholdAlignment(w);o(ee)&&z.push(ee)});let W=z.length>1?z.reduce((Q,ee)=>Q+=ee,0)/z.length:void 0;U.forEach(Q=>{Q.thresholdAlignment=W})}return _}getThresholdAlignment(_){if((!o(this.dataMin)||this!==_&&this.series.some(w=>w.isDirty||w.isDirtyData))&&this.getSeriesExtremes(),o(this.threshold)){let w=j((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(w=1-w),w}}getTickAmount(){let _=this.options,w=_.tickPixelInterval,A=_.tickAmount;c(_.tickInterval)||A||!(this.len<w)||this.isRadial||this.logarithmic||!_.startOnTick||!_.endOnTick||(A=2),!A&&this.alignToOthers()&&(A=Math.ceil(this.len/w)+1),A<4&&(this.finalTickAmt=A,A=5),this.tickAmount=A}adjustTickAmount(){let _=this,{finalTickAmt:w,max:A,min:U,options:b,tickPositions:k,tickAmount:O,thresholdAlignment:z}=_,W=k==null?void 0:k.length,Q=f(_.threshold,_.softThreshold?0:null),ee,se,ae=_.tickInterval,he,ce=()=>k.push(s(k[k.length-1]+ae)),ie=()=>k.unshift(s(k[0]-ae));if(o(z)&&(he=z<.5?Math.ceil(z*(O-1)):Math.floor(z*(O-1)),b.reversed&&(he=O-1-he)),_.hasData()&&o(U)&&o(A)){let te=()=>{_.transA*=(W-1)/(O-1),_.min=b.startOnTick?k[0]:Math.min(U,k[0]),_.max=b.endOnTick?k[k.length-1]:Math.max(A,k[k.length-1])};if(o(he)&&o(_.threshold)){for(;k[he]!==Q||k.length!==O||k[0]>U||k[k.length-1]<A;){for(k.length=0,k.push(_.threshold);k.length<O;)k[he]===void 0||k[he]>_.threshold?ie():ce();if(ae>8*_.tickInterval)break;ae*=2}te()}else if(W<O){for(;k.length<O;)k.length%2||U===Q?ce():ie();te()}if(c(w)){for(se=ee=k.length;se--;)(w===3&&se%2==1||w<=2&&se>0&&se<ee-1)&&k.splice(se,1);_.finalTickAmt=void 0}}}setScale(){var k,O;let{coll:_,stacking:w}=this,A=!1,U=!1;this.series.forEach(z=>{A=A||z.isDirtyData||z.isDirty,U=U||z.xAxis&&z.xAxis.isDirty||!1}),this.setAxisSize();let b=this.len!==(this.old&&this.old.len);b||A||U||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(w&&_==="yAxis"&&w.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),w&&_==="xAxis"&&w.buildStacks(),this.isDirty||(this.isDirty=b||this.min!==((k=this.old)==null?void 0:k.min)||this.max!==((O=this.old)==null?void 0:O.max))):w&&w.cleanStacks(),A&&delete this.allExtremes,g(this,"afterSetScale")}setExtremes(_,w,A=!0,U,b){this.series.forEach(k=>{delete k.kdTree}),g(this,"setExtremes",b=S(b,{min:_,max:w}),k=>{this.userMin=k.min,this.userMax=k.max,this.eventArgs=k,A&&this.chart.redraw(U)})}setAxisSize(){let _=this.chart,w=this.options,A=w.offsets||[0,0,0,0],U=this.horiz,b=this.width=Math.round(y(f(w.width,_.plotWidth-A[3]+A[1]),_.plotWidth)),k=this.height=Math.round(y(f(w.height,_.plotHeight-A[0]+A[2]),_.plotHeight)),O=this.top=Math.round(y(f(w.top,_.plotTop+A[0]),_.plotHeight,_.plotTop)),z=this.left=Math.round(y(f(w.left,_.plotLeft+A[3]),_.plotWidth,_.plotLeft));this.bottom=_.chartHeight-k-O,this.right=_.chartWidth-b-z,this.len=Math.max(U?b:k,0),this.pos=U?z:O}getExtremes(){let _=this.logarithmic;return{min:_?s(_.lin2log(this.min)):this.min,max:_?s(_.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(_){let w=this.logarithmic,A=w?w.lin2log(this.min):this.min,U=w?w.lin2log(this.max):this.max;return _===null||_===-1/0?_=A:_===1/0?_=U:A>_?_=A:U<_&&(_=U),this.translate(_,0,1,0,1)}autoLabelAlign(_){let w=(f(_,0)-90*this.side+720)%360,A={align:"center"};return g(this,"autoLabelAlign",A,function(U){w>15&&w<165?U.align="right":w>195&&w<345&&(U.align="left")}),A.align}tickSize(_){let w=this.options,A=f(w[_==="tick"?"tickWidth":"minorTickWidth"],_==="tick"&&this.isXAxis&&!this.categories?1:0),U=w[_==="tick"?"tickLength":"minorTickLength"],b;A&&U&&(w[_+"Position"]==="inside"&&(U=-U),b=[U,A]);let k={tickSize:b};return g(this,"afterTickSize",k),k.tickSize}
128labelMetrics(){let _=this.chart.renderer,w=this.ticks,A=w[Object.keys(w)[0]]||{};return this.chart.renderer.fontMetrics(A.label||A.movedLabel||_.box)}unsquish(){let _=this.options.labels,w=_.padding||0,A=this.horiz,U=this.tickInterval,b=this.len/(((this.categories?1:0)+this.max-this.min)/U),k=_.rotation,O=s(.8*this.labelMetrics().h),z=Math.max(this.max-this.min,0),W=function(he){let ce=(he+2*w)/(b||1);return(ce=ce>1?Math.ceil(ce):1)*U>z&&he!==1/0&&b!==1/0&&z&&(ce=Math.ceil(z/U)),s(ce*U)},Q=U,ee,se=Number.MAX_VALUE,ae;if(A){if(!_.staggerLines&&(o(k)?ae=[k]:b<_.autoRotationLimit&&(ae=_.autoRotation)),ae){let he,ce;for(let ie of ae)(ie===k||ie&&ie>=-90&&ie<=90)&&(ce=(he=W(Math.abs(O/Math.sin(H*ie))))+Math.abs(ie/360))<se&&(se=ce,ee=ie,Q=he)}}else Q=W(.75*O);return this.autoRotation=ae,this.labelRotation=f(ee,o(k)?k:0),_.step?U:Q}getSlotWidth(_){let w=this.chart,A=this.horiz,U=this.options.labels,b=Math.max(this.tickPositions.length-(this.categories?0:1),1),k=w.margin[3];if(_&&o(_.slotWidth))return _.slotWidth;if(A&&U.step<2)return U.rotation?0:(this.staggerLines||1)*this.len/b;if(!A){let O=U.style.width;if(O!==void 0)return parseInt(String(O),10);if(k)return k-w.spacing[3]}return .33*w.chartWidth}renderUnsquish(){let _=this.chart,w=_.renderer,A=this.tickPositions,U=this.ticks,b=this.options.labels,k=b.style,O=this.horiz,z=this.getSlotWidth(),W=Math.max(1,Math.round(z-(O?2*(b.padding||0):b.distance||0))),Q={},ee=this.labelMetrics(),se=k.textOverflow,ae,he,ce=0,ie,te;if(u(b.rotation)||(Q.rotation=b.rotation||0),A.forEach(function(ne){let oe=U[ne];oe.movedLabel&&oe.replaceMovedLabel(),oe&&oe.label&&oe.label.textPxLength>ce&&(ce=oe.label.textPxLength)}),this.maxLabelLength=ce,this.autoRotation)ce>W&&ce>ee.h?Q.rotation=this.labelRotation:this.labelRotation=0;else if(z&&(ae=W,!se))for(he="clip",te=A.length;!O&&te--;)(ie=U[A[te]].label)&&(ie.styles.textOverflow==="ellipsis"?ie.css({textOverflow:"clip"}):ie.textPxLength>z&&ie.css({width:z+"px"}),ie.getBBox().height>this.len/A.length-(ee.h-ee.f)&&(ie.specificTextOverflow="ellipsis"));Q.rotation&&(ae=ce>.5*_.chartHeight?.33*_.chartHeight:ce,se||(he="ellipsis")),this.labelAlign=b.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(Q.align=this.labelAlign),A.forEach(function(ne){let oe=U[ne],le=oe&&oe.label,ue=k.width,de={};le&&(le.attr(Q),oe.shortenLabel?oe.shortenLabel():ae&&!ue&&k.whiteSpace!=="nowrap"&&(ae<le.textPxLength||le.element.tagName==="SPAN")?(de.width=ae+"px",se||(de.textOverflow=le.specificTextOverflow||he),le.css(de)):!le.styles.width||de.width||ue||le.css({width:null}),delete le.specificTextOverflow,oe.rotation=Q.rotation)},this),this.tickRotCorr=w.rotCorr(ee.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(_){return _.hasData()})||this.options.showEmpty&&c(this.min)&&c(this.max)}addTitle(_){let w,A=this.chart.renderer,U=this.horiz,b=this.opposite,k=this.options.title,O=this.chart.styledMode;this.axisTitle||((w=k.textAlign)||(w=(U?{low:"left",middle:"center",high:"right"}:{low:b?"right":"left",middle:"center",high:b?"left":"right"})[k.align]),this.axisTitle=A.text(k.text||"",0,0,k.useHTML).attr({zIndex:7,rotation:k.rotation||0,align:w}).addClass("highcharts-axis-title"),O||this.axisTitle.css(d(k.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),O||k.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[_?"show":"hide"](_)}generateTick(_){let w=this.ticks;w[_]?w[_].addLabel():w[_]=new K(this,_)}createGroups(){let{axisParent:_,chart:w,coll:A,options:U}=this,b=w.renderer,k=(O,z,W)=>b.g(O).attr({zIndex:W}).addClass(`highcharts-${A.toLowerCase()}${z} `+(this.isRadial?`highcharts-radial-axis${z} `:"")+(U.className||"")).add(_);this.axisGroup||(this.gridGroup=k("grid","-grid",U.gridZIndex),this.axisGroup=k("axis","",U.zIndex),this.labelGroup=k("axis-labels","-labels",U.labels.zIndex))}getOffset(){let _=this,{chart:w,horiz:A,options:U,side:b,ticks:k,tickPositions:O,coll:z}=_,W=w.inverted&&!_.isZAxis?[1,0,3,2][b]:b,Q=_.hasData(),ee=U.title,se=U.labels,ae=o(U.crossing),he=w.axisOffset,ce=w.clipOffset,ie=[-1,1,1,-1][b],te,ne=0,oe,le=0,ue=0,de,fe;if(_.showAxis=te=Q||U.showEmpty,_.staggerLines=_.horiz&&se.staggerLines||void 0,_.createGroups(),Q||_.isLinked?(O.forEach(function(me){_.generateTick(me)}),_.renderUnsquish(),_.reserveSpaceDefault=b===0||b===2||{1:"left",3:"right"}[b]===_.labelAlign,f(se.reserveSpace,!ae&&null,_.labelAlign==="center"||null,_.reserveSpaceDefault)&&O.forEach(function(me){ue=Math.max(k[me].getLabelSize(),ue)}),_.staggerLines&&(ue*=_.staggerLines),_.labelOffset=ue*(_.opposite?-1:1)):m(k,function(me,ge){me.destroy(),delete k[ge]}
vendor: 18,806 bytes, line 128
128),ee!=null&&ee.text&&ee.enabled!==!1&&(_.addTitle(te),te&&!ae&&ee.reserveSpace!==!1&&(_.titleOffset=ne=_.axisTitle.getBBox()[A?"height":"width"],le=c(oe=ee.offset)?0:f(ee.margin,A?5:10))),_.renderLine(),_.offset=ie*f(U.offset,he[b]?he[b]+(U.margin||0):0),_.tickRotCorr=_.tickRotCorr||{x:0,y:0},fe=b===0?-_.labelMetrics().h:b===2?_.tickRotCorr.y:0,de=Math.abs(ue)+le,ue&&(de-=fe,de+=ie*(A?f(se.y,_.tickRotCorr.y+ie*se.distance):f(se.x,ie*se.distance))),_.axisTitleMargin=f(oe,de),_.getMaxLabelDimensions&&(_.maxLabelDimensions=_.getMaxLabelDimensions(k,O)),z!=="colorAxis"&&ce){let me=this.tickSize("tick");he[b]=Math.max(he[b],(_.axisTitleMargin||0)+ne+ie*_.offset,de,O&&O.length&&me?me[0]+ie*_.offset:0);let ge=!_.axisLine||U.offset?0:_.axisLine.strokeWidth()/2;ce[W]=Math.max(ce[W],ge)}g(this,"afterGetOffset")}getLinePath(_){let w=this.chart,A=this.opposite,U=this.offset,b=this.horiz,k=this.left+(A?this.width:0)+U,O=w.chartHeight-this.bottom-(A?this.height:0)+U;return A&&(_*=-1),w.renderer.crispLine([["M",b?this.left:k,b?O:this.top],["L",b?w.chartWidth-this.right:k,b?O:w.chartHeight-this.bottom]],_)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(_){let w=this.horiz,A=this.left,U=this.top,b=this.len,k=this.options.title,O=w?A:U,z=this.opposite,W=this.offset,Q=k.x,ee=k.y,se=this.chart.renderer.fontMetrics(_),ae=_?Math.max(_.getBBox(!1,0).height-se.h-1,0):0,he={low:O+(w?0:b),middle:O+b/2,high:O+(w?b:0)}[k.align],ce=(w?U+this.height:A)+(w?1:-1)*(z?-1:1)*(this.axisTitleMargin||0)+[-ae,ae,se.f,-ae][this.side],ie={x:w?he+Q:ce+(z?this.width:0)+W+Q,y:w?ce+ee-(z?this.height:0)+W:he+ee};return g(this,"afterGetTitlePosition",{titlePosition:ie}),ie}renderMinorTick(_,w){let A=this.minorTicks;A[_]||(A[_]=new K(this,_,"minor")),w&&A[_].isNew&&A[_].render(null,!0),A[_].render(null,!1,1)}renderTick(_,w,A){let U=this.isLinked,b=this.ticks;(!U||_>=this.min&&_<=this.max||this.grid&&this.grid.isColumn)&&(b[_]||(b[_]=new K(this,_)),A&&b[_].isNew&&b[_].render(w,!0,-1),b[_].render(w))}render(){let _,w,A=this,U=A.chart,b=A.logarithmic,k=U.renderer,O=A.options,z=A.isLinked,W=A.tickPositions,Q=A.axisTitle,ee=A.ticks,se=A.minorTicks,ae=A.alternateBands,he=O.stackLabels,ce=O.alternateGridColor,ie=O.crossing,te=A.tickmarkOffset,ne=A.axisLine,oe=A.showAxis,le=q(k.globalAnimation);if(A.labelEdge.length=0,A.overlap=!1,[ee,se,ae].forEach(function(ue){m(ue,function(de){de.isActive=!1})}),o(ie)){let ue=this.isXAxis?U.yAxis[0]:U.xAxis[0],de=[1,-1,-1,1][this.side];if(ue){let fe=ue.toPixels(ie,!0);A.horiz&&(fe=ue.len-fe),A.offset=de*fe}}if(A.hasData()||z){let ue=A.chart.hasRendered&&A.old&&o(A.old.min);A.minorTickInterval&&!A.categories&&A.getMinorTickPositions().forEach(function(de){A.renderMinorTick(de,ue)}),W.length&&(W.forEach(function(de,fe){A.renderTick(de,fe,ue)}),te&&(A.min===0||A.single)&&(ee[-1]||(ee[-1]=new K(A,-1,null,!0)),ee[-1].render(-1))),ce&&W.forEach(function(de,fe){w=W[fe+1]!==void 0?W[fe+1]+te:A.max-te,fe%2==0&&de<A.max&&w<=A.max+(U.polar?-te:te)&&(ae[de]||(ae[de]=new $.PlotLineOrBand(A,{})),_=de+te,ae[de].options={from:b?b.lin2log(_):_,to:b?b.lin2log(w):w,color:ce,className:"highcharts-alternate-grid"},ae[de].render(),ae[de].isActive=!0)}),A._addedPlotLB||(A._addedPlotLB=!0,(O.plotLines||[]).concat(O.plotBands||[]).forEach(function(de){A.addPlotBandOrLine(de)}))}[ee,se,ae].forEach(function(ue){let de=[],fe=le.duration;m(ue,function(me,ge){me.isActive||(me.render(ge,!1,0),me.isActive=!1,de.push(ge))}),M(function(){let me=de.length;for(;me--;)ue[de[me]]&&!ue[de[me]].isActive&&(ue[de[me]].destroy(),delete ue[de[me]])},ue!==ae&&U.hasRendered&&fe?fe:0)}),ne&&(ne[ne.isPlaced?"animate":"attr"]({d:this.getLinePath(ne.strokeWidth())}),ne.isPlaced=!0,ne[oe?"show":"hide"](oe)),Q&&oe&&(Q[Q.isNew?"attr":"animate"](A.getTitlePosition(Q)),Q.isNew=!1),he&&he.enabled&&A.stacking&&A.stacking.renderStackTotals(),A.old={len:A.len,max:A.max,min:A.min,transA:A.transA,userMax:A.userMax,userMin:A.userMin},A.isDirty=!1,g(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(_){_.render()})),this.series.forEach(function(_){_.isDirty=!0})}getKeepProps(){return this.keepProps||F.keepProps}destroy(_){let w=this,A=w.plotLinesAndBands,U=this.eventOptions;if(g(this,"destroy",{keepEvents:_}),_||I(w),[w.ticks,w.minorTicks,w.alternateBands].forEach(function(b){x(b)}),A){let b=A.length;for(;b--;)A[b].destroy()}for(let b in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(k){w[k]&&(w[k]=w[k].destroy())}),w.plotLinesAndBandsGroups)w.plotLinesAndBandsGroups[b]=w.plotLinesAndBandsGroups[b].destroy();m(w,function(b,k){w.getKeepProps().indexOf(k)===-1&&delete w[k]}),this.eventOptions=U}drawCrosshair(_,w){let A=this.crosshair,U=f(A&&A.snap,!0),b=this.chart,k,O,z,W=this.cross,Q;if(g(this,"drawCrosshair",{e:_,point:w}),_||(_=this.cross&&this.cross.e),A&&(c(w)||!U)!==!1){if(U?c(w)&&(O=f(this.coll!=="colorAxis"?w.crosshairPos:null,this.isXAxis?w.plotX:this.len-w.plotY)):O=_&&(this.horiz?_.chartX-this.pos:this.len-_.chartY+this.pos),c(O)&&(Q={value:w&&(this.isXAxis?w.x:f(w.stackY,w.y)),translatedValue:O},b.polar&&S(Q,{isCrosshair:!0,chartX:_&&_.chartX,chartY:_&&_.chartY,point:w}),k=this.getPlotLinePath(Q)||null),!c(k)){this.hideCrosshair();return}z=this.categories&&!this.isRadial,W||(this.cross=W=b.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(z?"category ":"thin ")+(A.className||"")).attr({zIndex:f(A.zIndex,2)}).add(),!b.styledMode&&(W.attr({stroke:A.color||(z?l.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":f(A.width,1)}).css({"pointer-events":"none"}),A.dashStyle&&W.attr({dashstyle:A.dashStyle}))),W.show().attr({d:k}),z&&!A.width&&W.attr({"stroke-width":this.transA}),this.cross.e=_}else this.hideCrosshair();g(this,"afterDrawCrosshair",{e:_,point:w})}hideCrosshair(){this.cross&&this.cross.hide(),g(this,"afterHideCrosshair")}update(_,w){let A=this.chart;_=d(this.userOptions,_),this.destroy(!0),this.init(A,_),A.isDirtyBox=!0,f(w,!0)&&A.redraw()}remove(_){let w=this.chart,A=this.coll,U=this.series,b=U.length;for(;b--;)U[b]&&U[b].remove(!1);N(w.axes,this),N(w[A]||[],this),w.orderItems(A),this.destroy(),w.isDirtyBox=!0,f(_,!0)&&w.redraw()}setTitle(_,w){this.update({title:_},w)}setCategories(_,w){this.update({categories:_},w)}}return F.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],F}),r(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,getMagnitude:C,normalizeTickInterval:B,timeUnits:$}=t;return function(K){function G(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function q(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new Z(this))}K.compose=function(R){return R.keepProps.includes("dateTime")||(R.keepProps.push("dateTime"),R.prototype.getTimeTicks=G,l(R,"afterSetType",q)),R};class Z{constructor(Y){this.axis=Y}normalizeTimeTickInterval(Y,V){let H=V||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],T=H[H.length-1],L=$[T[0]],j=T[1],s;for(s=0;s<H.length&&(L=$[(T=H[s])[0]],j=T[1],!H[s+1]||!(Y<=(L*j[j.length-1]+$[H[s+1][0]])/2));s++);L===$.year&&Y<5*L&&(j=[1,2,5]);let c=B(Y/L,j,T[0]==="year"?Math.max(C(Y/L),1):1);return{unitRange:L,count:c,unitName:T[0]}}getXDateFormat(Y,V){let{axis:H}=this,T=H.chart.time;return H.closestPointRange?T.getDateFormat(H.closestPointRange,Y,H.options.startOfWeek,V)||T.resolveDTLFormat(V.year).main:T.resolveDTLFormat(V.day).main}}K.Additions=Z}(n||(n={})),n}),r(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,normalizeTickInterval:C,pick:B}=t;return function($){function K(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new q(this))}function G(){let Z=this.logarithmic;Z&&(this.lin2val=function(R){return Z.lin2log(R)},this.val2lin=function(R){return Z.log2lin(R)})}$.compose=function(Z){return Z.keepProps.includes("logarithmic")||(Z.keepProps.push("logarithmic"),l(Z,"afterSetType",K),l(Z,"afterInit",G)),Z};class q{constructor(R){this.axis=R}getLogTickPositions(R,Y,V,H){let T=this.axis,L=T.len,j=T.options,s=[];if(H||(this.minorAutoInterval=void 0),R>=.5)R=Math.round(R),s=T.getLinearTickPositions(R,Y,V);else if(R>=.08){let c,x,N,P,S,g,v,p=Math.floor(Y);for(c=R>.3?[1,2,4]:R>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],x=p;x<V+1&&!v;x++)for(N=0,P=c.length;N<P&&!v;N++)(S=this.log2lin(this.lin2log(x)*c[N]))>Y&&(!H||g<=V)&&g!==void 0&&s.push(g),g>V&&(v=!0),g=S}else{let c=this.lin2log(Y),x=this.lin2log(V),N=H?T.getMinorTickInterval():j.tickInterval,P=j.tickPixelInterval/(H?5:1),S=H?L/T.tickPositions.length:L;R=C(R=B(N==="auto"?null:N,this.minorAutoInterval,(x-c)*P/(S||1))),s=T.getLinearTickPositions(R,c,x).map(this.log2lin),H||(this.minorAutoInterval=R/5)}return H||(T.tickInterval=R),s}lin2log(R){return Math.pow(10,R)}log2lin(R){return Math.log(R)/Math.LN10}}$.Additions=q}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{erase:l,extend:C,isNumber:B}=t;return function($){let K;function G(T){return this.addPlotBandOrLine(T,"plotBands")}function q(T,L){let j=this.userOptions,s=new K(this,T);if(this.visible&&(s=s.render()),s){if(this._addedPlotLB||(this._addedPlotLB=!0,(j.plotLines||[]).concat(j.plotBands||[]).forEach(c=>{this.addPlotBandOrLine(c)})),L){let c=j[L]||[];c.push(T),j[L]=c}this.plotLinesAndBands.push(s)}return s}function Z(T){return this.addPlotBandOrLine(T,"plotLines")}function R(T,L,j){j=j||this.options;let s=this.getPlotLinePath({value:L,force:!0,acrossPanes:j.acrossPanes}),c=[],x=this.horiz,N=!B(this.min)||!B(this.max)||T<this.min&&L<this.min||T>this.max&&L>this.max,P=this.getPlotLinePath({value:T,force:!0,acrossPanes:j.acrossPanes}),S,g=1,v;if(P&&s)for(N&&(v=P.toString()===s.toString(),g=0),S=0;S<P.length;S+=2){let p=P[S],a=P[S+1],o=s[S],u=s[S+1];(p[0]==="M"||p[0]==="L")&&(a[0]==="M"||a[0]==="L")&&(o[0]==="M"||o[0]==="L")&&(u[0]==="M"||u[0]==="L")&&(x&&o[1]===p[1]?(o[1]+=g,u[1]+=g):x||o[2]!==p[2]||(o[2]+=g,u[2]+=g),c.push(["M",p[1],p[2]],["L",a[1],a[2]],["L",u[1],u[2]],["L",o[1],o[2]],["Z"])),c.isFlat=v}return c}function Y(T){this.removePlotBandOrLine(T)}function V(T){let L=this.plotLinesAndBands,j=this.options,s=this.userOptions;if(L){let c=L.length;for(;c--;)L[c].id===T&&L[c].destroy();[j.plotLines||[],s.plotLines||[],j.plotBands||[],s.plotBands||[]].forEach(function(x){for(c=x.length;c--;)(x[c]||{}).id===T&&l(x,x[c])})}}function H(T){this.removePlotBandOrLine(T)}$.compose=function(T,L){let j=L.prototype;return j.addPlotBand||(K=T,C(j,{addPlotBand:G,addPlotLine:Z,addPlotBandOrLine:q,getPlotBandPath:R,removePlotBand:Y,removePlotLine:H,removePlotBandOrLine:V})),L}}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,arrayMax:C,arrayMin:B,defined:$,destroyObjectProperties:K,erase:G,fireEvent:q,merge:Z,objectEach:R,pick:Y}=n;class V{static compose(T,L){return l(T,"afterInit",function(){this.labelCollectors.push(()=>{var s;let j=[];for(let c of this.axes)for(let{label:x,options:N}of c.plotLinesAndBands)x&&!((s=N==null?void 0:N.label)!=null&&s.allowOverlap)&&j.push(x);return j})}),t.compose(V,L)}constructor(T,L){this.axis=T,this.options=L,this.id=L.id}render(){q(this,"render");let{axis:T,options:L}=this,{horiz:j,logarithmic:s}=T,{color:c,events:x,zIndex:N=0}=L,P={},S=T.chart.renderer,g=L.to,v=L.from,p=L.value,a=L.borderWidth,o=L.label,{label:u,svgElem:d}=this,h=[],m,f=$(v)&&$(g),y=$(p),I=!d,E={class:"highcharts-plot-"+(f?"band ":"line ")+(L.className||"")},M=f?"bands":"lines";if(!T.chart.styledMode&&(y?(E.stroke=c||"#999999",E["stroke-width"]=Y(L.width,1),L.dashStyle&&(E.dashstyle=L.dashStyle)):f&&(E.fill=c||"#e6e9ff",a&&(E.stroke=L.borderColor,E["stroke-width"]=a))),P.zIndex=N,M+="-"+N,(m=T.plotLinesAndBandsGroups[M])||(T.plotLinesAndBandsGroups[M]=m=S.g("plot-"+M).attr(P).add()),d||(this.svgElem=d=S.path().attr(E).add(m)),$(p))h=T.getPlotLinePath({value:(s==null?void 0:s.log2lin(p))??p,lineWidth:d.strokeWidth(),acrossPanes:L.acrossPanes});else{if(!($(v)&&$(g)))return;h=T.getPlotBandPath((s==null?void 0:s.log2lin(v))??v,(s==null?void 0:s.log2lin(g))??g,L)}return!this.eventsAdded&&x&&(R(x,(D,F)=>{d==null||d.on(F,X=>{x[F].apply(this,[X])})}),this.eventsAdded=!0),(I||!d.d)&&(h!=null&&h.length)?d.attr({d:h}):d&&(h?(d.show(),d.animate({d:h})):d.d&&(d.hide(),u&&(this.label=u=u.destroy()))),o&&($(o.text)||$(o.formatter))&&(h!=null&&h.length)&&T.width>0&&T.height>0&&!h.isFlat?(o=Z(ze({align:j&&f?"center":void 0,x:j?!f&&4:10,verticalAlign:!j&&f?"middle":void 0,y:j?f?16:10:f?6:-4,rotation:j&&!f?90:0},f?{inside:!0}:{}),o),this.renderLabel(o,h,f,N)):u&&u.hide(),this}renderLabel(T,L,j,s){var o;let c=this.axis,x=c.chart.renderer,N=T.inside,P=this.label;P||(this.label=P=x.text(this.getLabelText(T),0,0,T.useHTML).attr({align:T.textAlign||T.align,rotation:T.rotation,class:"highcharts-plot-"+(j?"band":"line")+"-label "+(T.className||""),zIndex:s}),c.chart.styledMode||P.css(Z({fontSize:"0.8em",textOverflow:j&&!N?"":"ellipsis"},T.style)),P.add());let S=L.xBounds||[L[0][1],L[1][1],j?L[2][1]:L[0][1]],g=L.yBounds||[L[0][2],L[1][2],j?L[2][2]:L[0][2]],v=B(S),p=B(g),a=C(S)-v;P.align(T,!1,{x:v,y:p,width:a,height:C(g)-p}),(!P.alignValue||P.alignValue==="left"||$(N))&&P.css({width:(((o=T.style)==null?void 0:o.width)||(j&&N?a:P.rotation===90?c.height-(P.alignAttr.y-c.top):(T.clip?c.width:c.chart.chartWidth)-(P.alignAttr.x-c.left)))+"px"}),P.show(!0)}getLabelText(T){return $(T.formatter)?T.formatter.call(this):T.text}destroy(){G(this.axis.plotLinesAndBands,this),delete this.axis,K(this)}}return V}),r(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){var K;let{animObject:G}=t,{format:q}=n,{composed:Z,doc:R,isSafari:Y}=l,{distribute:V}=C,{addEvent:H,clamp:T,css:L,discardElement:j,extend:s,fireEvent:c,isArray:x,isNumber:N,isString:P,merge:S,pick:g,pushUnique:v,splat:p,syncTimeout:a}=$;class o{constructor(d,h,m){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=d,this.init(d,h),this.pointer=m}bodyFormatter(d){return d.map(function(h){let m=h.series.tooltipOptions;return(m[(h.point.formatPrefix||"point")+"Formatter"]||h.point.tooltipFormatter).call(h.point,m[(h.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(d){this.chart.series.forEach(function(h){let m=h&&h.tt;m&&(!m.isActive||d?h.tt=m.destroy():m.isActive=!1)})}defaultFormatter(d){let h,m=this.points||p(this);return(h=(h=[d.tooltipFooterHeaderFormatter(m[0])]).concat(d.bodyFormatter(m))).push(d.tooltipFooterHeaderFormatter(m[0],!0)),h}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),j(this.container)),$.clearTimeout(this.hideTimer)}getAnchor(d,h){let m,{chart:f,pointer:y}=this,I=f.inverted,E=f.plotTop,M=f.plotLeft;if((d=p(d))[0].series&&d[0].series.yAxis&&!d[0].series.yAxis.options.reversedStacks&&(d=d.slice().reverse()),this.followPointer&&h)h.chartX===void 0&&(h=y.normalize(h)),m=[h.chartX-M,h.chartY-E];else if(d[0].tooltipPos)m=d[0].tooltipPos;else{let D=0,F=0;d.forEach(function(X){let _=X.pos(!0);_&&(D+=_[0],F+=_[1])}),D/=d.length,F/=d.length,this.shared&&d.length>1&&h&&(I?D=h.chartX:F=h.chartY),m=[D-M,F-E]}return m.map(Math.round)}getClassName(d,h,m){let f=this.options,y=d.series,I=y.options;return[f.className,"highcharts-label",m&&"highcharts-tooltip-header",h?"highcharts-tooltip-box":"highcharts-tooltip",!m&&"highcharts-color-"+g(d.colorIndex,y.colorIndex),I&&I.className].filter(P).join(" ")}getLabel({anchorX:d,anchorY:h}={anchorX:0,anchorY:0}){let m=this,f=this.chart.styledMode,y=this.options,I=this.split&&this.allowShared,E=this.container,M=this.chart.renderer;if(this.label){let D=!this.label.hasClass("highcharts-label");(!I&&D||I&&!D)&&this.destroy()}if(!this.label){if(this.outside){let D=this.chart.options.chart.style,F=B.getRendererType();this.container=E=l.doc.createElement("div"),E.className="highcharts-tooltip-container",L(E,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(D&&D.zIndex||0)+3)}),this.renderer=M=new F(E,0,0,D,void 0,void 0,M.styledMode)}if(I?this.label=M.g("tooltip"):(this.label=M.label("",d,h,y.shape,void 0,void 0,y.useHTML,void 0,"tooltip").attr({padding:y.padding,r:y.borderRadius}),f||this.label.attr({fill:y.backgroundColor,"stroke-width":y.borderWidth||0}).css(y.style).css({pointerEvents:y.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),m.outside){let D=this.label;[D.xSetter,D.ySetter].forEach((F,X)=>{D[X?"ySetter":"xSetter"]=_=>{F.call(D,m.distance),D[X?"y":"x"]=_,E&&(E.style[X?"top":"left"]=`${_}px`)}})}this.label.attr({zIndex:8}).shadow(y.shadow).add()}return E&&!E.parentElement&&l.doc.body.appendChild(E),this.label}getPlayingField(){let{body:d,documentElement:h}=R,{chart:m,distance:f,outside:y}=this;return{width:y?Math.max(d.scrollWidth,h.scrollWidth,d.offsetWidth,h.offsetWidth,h.clientWidth)-2*f:m.chartWidth,height:y?Math.max(d.scrollHeight,h.scrollHeight,d.offsetHeight,h.offsetHeight,h.clientHeight):m.chartHeight}}getPosition(d,h,m){var le,ue;let{distance:f,chart:y,outside:I,pointer:E}=this,{inverted:M,plotLeft:D,plotTop:F,polar:X}=y,{plotX:_=0,plotY:w=0}=m,A={},U=M&&m.h||0,{height:b,width:k}=this.getPlayingField(),O=E.getChartPosition(),z=de=>de*O.scaleX,W=de=>de*O.scaleY,Q=de=>{let fe=de==="x";return[de,fe?k:b,fe?d:h].concat(I?[fe?z(d):W(h),fe?O.left-f+z(_+D):O.top-f+W(w+F),0,fe?k:b]:[fe?d:h,fe?_+D:w+F,fe?D:F,fe?D+y.plotWidth:F+y.plotHeight])},ee=Q("y"),se=Q("x"),ae,he=!!m.negative;!X&&((ue=(le=y.hoverSeries)==null?void 0:le.yAxis)!=null&&ue.reversed)&&(he=!he);let ce=!this.followPointer&&g(m.ttBelow,!X&&!M===he),ie=function(de,fe,me,ge,Ee,ve,ye){let Se=I?de==="y"?W(f):z(f):f,xe=(me-ge)/2,Ce=ge<Ee-f,Oe=Ee+f+ge<fe,Pe=Ee-Se-me+xe,He=Ee+Se-xe;if(ce&&Oe)A[de]=He;else if(!ce&&Ce)A[de]=Pe;else if(Ce)A[de]=Math.min(ye-ge,Pe-U<0?Pe:Pe-U);else{if(!Oe)return!1;A[de]=Math.max(ve,He+U+me>fe?He:He+U)}},te=function(de,fe,me,ge,Ee){if(Ee<f||Ee>fe-f)return!1;Ee<me/2?A[de]=1:Ee>fe-ge/2?A[de]=fe-ge-2:A[de]=Ee-me/2}
128,ne=function(de){[ee,se]=[se,ee],ae=de},oe=()=>{ie.apply(0,ee)!==!1?te.apply(0,se)!==!1||ae||(ne(!0),oe()):ae?A.x=A.y=0:(ne(!0),oe())};return(M&&!X||this.len>1)&&ne(),oe(),A}hide(d){let h=this;$.clearTimeout(this.hideTimer),d=g(d,this.options.hideDelay),this.isHidden||(this.hideTimer=a(function(){let m=h.getLabel();h.getLabel().animate({opacity:0},{duration:d&&150,complete:()=>{m.hide(),h.container&&h.container.remove()}}),h.isHidden=!0},d))}init(d,h){this.chart=d,this.options=h,this.crosshairs=[],this.isHidden=!0,this.split=h.split&&!d.inverted&&!d.polar,this.shared=h.shared||this.split,this.outside=g(h.outside,!!(d.scrollablePixelsX||d.scrollablePixelsY))}shouldStickOnContact(d){return!!(!this.followPointer&&this.options.stickOnContact&&(!d||this.pointer.inClass(d.target,"highcharts-tooltip")))}move(d,h,m,f){let y=this,I=G(!y.isHidden&&y.options.animation),E=y.followPointer||(y.len||0)>1,M={x:d,y:h};E||(M.anchorX=m,M.anchorY=f),I.step=()=>y.drawTracker(),y.getLabel().animate(M,I)}refresh(d,h){let{chart:m,options:f,pointer:y,shared:I}=this,E=p(d),M=E[0],D=[],F=f.format,X=f.formatter||this.defaultFormatter,_=m.styledMode,w={},A=this.allowShared;if(!f.enabled||!M.series)return;$.clearTimeout(this.hideTimer),this.allowShared=!(!x(d)&&d.series&&d.series.noSharedTooltip),A=A&&!this.allowShared,this.followPointer=!this.split&&M.series.tooltipOptions.followPointer;let U=this.getAnchor(d,h),b=U[0],k=U[1];I&&this.allowShared?(y.applyInactiveState(E),E.forEach(function(W){W.setState("hover"),D.push(W.getLabelConfig())}),(w=M.getLabelConfig()).points=D):w=M.getLabelConfig(),this.len=D.length;let O=P(F)?q(F,w,m):X.call(w,this),z=M.series;if(this.distance=g(z.tooltipOptions.distance,16),O===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(O,E);else{let W=b,Q=k;if(h&&y.isDirectTouch&&(W=h.chartX-m.plotLeft,Q=h.chartY-m.plotTop),m.polar||z.options.clip===!1||E.some(ee=>y.isDirectTouch||ee.series.shouldShowTooltip(W,Q))){let ee=this.getLabel(A&&this.tt||{});(!f.style.width||_)&&ee.css({width:(this.outside?this.getPlayingField():m.spacingBox).width+"px"}),ee.attr({class:this.getClassName(M),text:O&&O.join?O.join(""):O}),this.outside&&ee.attr({x:T(ee.x||0,0,this.getPlayingField().width-(ee.width||0))}),_||ee.attr({stroke:f.borderColor||M.color||z.color||"#666666"}),this.updatePosition({plotX:b,plotY:k,negative:M.negative,ttBelow:M.ttBelow,h:U[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}c(this,"refresh")}renderSplit(d,h){var fe;let m=this,{chart:f,chart:{chartWidth:y,chartHeight:I,plotHeight:E,plotLeft:M,plotTop:D,scrollablePixelsY:F=0,scrollablePixelsX:X,styledMode:_},distance:w,options:A,options:{positioner:U},pointer:b}=m,{scrollLeft:k=0,scrollTop:O=0}=((fe=f.scrollablePlotArea)==null?void 0:fe.scrollingContainer)||{},z=m.outside&&typeof X!="number"?R.documentElement.getBoundingClientRect():{left:k,right:k+y,top:O,bottom:O+I},W=m.getLabel(),Q=this.renderer||f.renderer,ee=!!(f.xAxis[0]&&f.xAxis[0].opposite),{left:se,top:ae}=b.getChartPosition(),he=D+O,ce=0,ie=E-F;function te(me,ge,Ee,ve,ye=!0){let Se,xe;return Ee?(Se=ee?0:ie,xe=T(me-ve/2,z.left,z.right-ve-(m.outside?se:0))):(Se=ge-he,xe=T(xe=ye?me-ve-w:me+w,ye?xe:z.left,z.right)),{x:xe,y:Se}}P(d)&&(d=[!1,d]);let ne=d.slice(0,h.length+1).reduce(function(me,ge,Ee){if(ge!==!1&&ge!==""){let ve=h[Ee-1]||{isHeader:!0,plotX:h[0].plotX,plotY:E,series:{}},ye=ve.isHeader,Se=ye?m:ve.series,xe=Se.tt=function(Je,Xe,dt){let ct=Je,{isHeader:vt,series:Gt}=Xe;if(!ct){let Ft={padding:A.padding,r:A.borderRadius};_||(Ft.fill=A.backgroundColor,Ft["stroke-width"]=A.borderWidth??1),ct=Q.label("",0,0,A[vt?"headerShape":"shape"],void 0,void 0,A.useHTML).addClass(m.getClassName(Xe,!0,vt)).attr(Ft).add(W)}return ct.isActive=!0,ct.attr({text:dt}),_||ct.css(A.style).attr({stroke:A.borderColor||Xe.color||Gt.color||"#333333"}),ct}(Se.tt,ve,ge.toString()),Ce=xe.getBBox(),Oe=Ce.width+xe.strokeWidth();ye&&(ce=Ce.height,ie+=ce,ee&&(he-=ce));let{anchorX:Pe,anchorY:He}=function(Je){let Xe,dt,{isHeader:ct,plotX:vt=0,plotY:Gt=0,series:Ft}=Je;if(ct)Xe=Math.max(M+vt,M),dt=D+E/2;else{let{xAxis:Ii,yAxis:mt}=Ft;Xe=Ii.pos+T(vt,-w,Ii.len+w),Ft.shouldShowTooltip(0,mt.pos-D+Gt,{ignoreX:!0})&&(dt=mt.pos+Gt)}return{anchorX:Xe=T(Xe,z.left-w,z.right+w),anchorY:dt}}(ve);if(typeof He=="number"){let Je=Ce.height+1,Xe=U?U.call(m,Oe,Je,ve):te(Pe,He,ye,Oe);me.push({align:U?0:void 0,anchorX:Pe,anchorY:He,boxWidth:Oe,point:ve,rank:g(Xe.rank,ye?1:0),size:Je,target:Xe.y,tt:xe,x:Xe.x})}else xe.isActive=!1}return me},[]);!U&&ne.some(me=>{let{outside:ge}=m,Ee=(ge?se:0)+me.anchorX;return Ee<z.left&&Ee+me.boxWidth<z.right||Ee<se-z.left+me.boxWidth&&z.right-Ee>Ee})&&(ne=ne.map(me=>{let{x:ge,y:Ee}=te(me.anchorX,me.anchorY,me.point.isHeader,me.boxWidth,!1);return s(me,{target:Ee,x:ge})})),m.cleanSplit(),V(ne,ie);let oe={left:se,right:se};ne.forEach(function(me){let{x:ge,boxWidth:Ee,isHeader:ve}=me;!ve&&(m.outside&&se+ge<oe.left&&(oe.left=se+ge),!ve&&m.outside&&oe.left+Ee>oe.right&&(oe.right=se+ge))}),ne.forEach(function(me){let{x:ge,anchorX:Ee,anchorY:ve,pos:ye,point:{isHeader:Se}}
vendor: 1,763 bytes, line 128
128=me,xe={visibility:ye===void 0?"hidden":"inherit",x:ge,y:(ye||0)+he,anchorX:Ee,anchorY:ve};if(m.outside&&ge<Ee){let Ce=se-oe.left;Ce>0&&(Se||(xe.x=ge+Ce,xe.anchorX=Ee+Ce),Se&&(xe.x=(oe.right-oe.left)/2,xe.anchorX=Ee+Ce))}me.tt.attr(xe)});let{container:le,outside:ue,renderer:de}=m;if(ue&&le&&de){let{width:me,height:ge,x:Ee,y:ve}=W.getBBox();de.setSize(me+Ee,ge+ve,!1),le.style.left=oe.left+"px",le.style.top=ae+"px"}Y&&W.attr({opacity:W.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let d=this.chart,h=this.label,m=this.shared?d.hoverPoints:d.hoverPoint;if(!h||!m)return;let f={x:0,y:0,width:0,height:0},y=this.getAnchor(m),I=h.getBBox();y[0]+=d.plotLeft-(h.translateX||0),y[1]+=d.plotTop-(h.translateY||0),f.x=Math.min(0,y[0]),f.y=Math.min(0,y[1]),f.width=y[0]<0?Math.max(Math.abs(y[0]),I.width-y[0]):Math.max(Math.abs(y[0]),I.width),f.height=y[1]<0?Math.max(Math.abs(y[1]),I.height-Math.abs(y[1])):Math.max(Math.abs(y[1]),I.height),this.tracker?this.tracker.attr(f):(this.tracker=h.renderer.rect(f).addClass("highcharts-tracker").add(h),d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(d){return d.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(d,h){let m=d.series,f=m.tooltipOptions,y=m.xAxis,I=y&&y.dateTime,E={isFooter:h,labelConfig:d},M=f.xDateFormat,D=f[h?"footerFormat":"headerFormat"];return c(this,"headerFormatter",E,function(F){I&&!M&&N(d.key)&&(M=I.getXDateFormat(d.key,f.dateTimeLabelFormats)),I&&M&&(d.point&&d.point.tooltipDateKeys||["key"]).forEac
128h(function(X){D=D.replace("{point."+X+"}","{point."+X+":"+M+"}")}),m.chart.styledMode&&(D=this.styledModeFormat(D)),F.text=q(D,{point:d,series:m},this.chart)}),E.text}update(d){this.destroy(),this.init(this.chart,S(!0,this.options,d))}updatePosition(d){let{chart:h,container:m,distance:f,options:y,pointer:I,renderer:E}=this,{height:M=0,width:D=0}=this.getLabel(),{left:F,top:X,scaleX:_,scaleY:w}=I.getChartPosition(),A=(y.positioner||this.getPosition).call(this,D,M,d),U=(d.plotX||0)+h.plotLeft,b=(d.plotY||0)+h.plotTop,k;E&&m&&(y.positioner&&(A.x+=F-f,A.y+=X-f),k=(y.borderWidth||0)+2*f+2,E.setSize(D+k,M+k,!1),(_!==1||w!==1)&&(L(m,{transform:`scale(${_}, ${w})`}),U*=_,b*=w),U+=F-A.x,b+=X-A.y),this.move(Math.round(A.x),Math.round(A.y||0),U,b)}}return(K=o||(o={})).compose=function(u){v(Z,"Core.Tooltip")&&H(u,"afterInit",function(){let d=this.chart;d.options.tooltip&&(d.tooltip=new K(d,d.options.tooltip,this))})},o}),r(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{animObject:$}=n,{defaultOptions:K}=l,{format:G}=C,{addEvent:q,crisp:Z,erase:R,extend:Y,fireEvent:V,getNestedProperty:H,isArray:T,isFunction:L,isNumber:j,isObject:s,merge:c,pick:x,syncTimeout:N,removeEvent:P,uniqueKey:S}=B;class g{animateBeforeDestroy(){let p=this,a={x:p.startXPos,opacity:0},o=p.getGraphicalProps();o.singular.forEach(function(u){p[u]=p[u].animate(u==="dataLabel"?{x:p[u].startXPos,y:p[u].startYPos,opacity:0}:a)}),o.plural.forEach(function(u){p[u].forEach(function(d){d.element&&d.animate(Y({x:p.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})}applyOptions(p,a){let o=this.series,u=o.options.pointValKey||o.pointValKey;return Y(this,p=g.prototype.optionsToObject.call(this,p)),this.options=this.options?Y(this.options,p):p,p.group&&delete this.group,p.dataLabels&&delete this.dataLabels,u&&(this.y=g.prototype.getNestedProperty.call(this,u)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),this.x===void 0&&o?this.x=a??o.autoIncrement():j(p.x)&&o.options.relativeXValue&&(this.x=o.autoIncrement(p.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let p=this,a=p.series,o=a.chart,u=a.options.dataSorting,d=o.hoverPoints,h=$(p.series.chart.renderer.globalAnimation),m=()=>{for(let f in(p.graphic||p.graphics||p.dataLabel||p.dataLabels)&&(P(p),p.destroyElements()),p)delete p[f]};p.legendItem&&o.legend.destroyItem(p),d&&(p.setState(),R(d,p),d.length||(o.hoverPoints=null)),p===o.hoverPoint&&p.onMouseOut(),u&&u.enabled?(this.animateBeforeDestroy(),N(m,h.duration)):m(),o.pointCount--}this.destroyed=!0}destroyElements(p){let a=this,o=a.getGraphicalProps(p);o.singular.forEach(function(u){a[u]=a[u].destroy()}),o.plural.forEach(function(u){a[u].forEach(function(d){d&&d.element&&d.destroy()}),delete a[u]})}firePointEvent(p,a,o){let u=this,d=this.series.options;u.manageEvent(p),p==="click"&&d.allowPointSelect&&(o=function(h){!u.destroyed&&u.select&&u.select(null,h.ctrlKey||h.metaKey||h.shiftKey)}),V(u,p,a,o)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(p){let a,o,u=this,d=[],h={singular:[],plural:[]};for((p=p||{graphic:1,dataLabel:1}).graphic&&d.push("graphic","connector"),p.dataLabel&&d.push("dataLabel","dataLabelPath","dataLabelUpper"),o=d.length;o--;)u[a=d[o]]&&h.singular.push(a);return["graphic","dataLabel"].forEach(function(m){let f=m+"s";p[m]&&u[f]&&h.plural.push(f)}),h}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(p){return p?p.indexOf("custom.")===0?H(p,this.options):this[p]:void 0}getZone(){let p=this.series,a=p.zones,o=p.zoneAxis||"y",u,d=0;for(u=a[0];this[o]>=u.value;)u=a[++d];return this.nonZonedColor||(this.nonZonedColor=this.color),u&&u.color&&!this.options.color?this.color=u.color:this.color=this.nonZonedColor,u}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(p,a,o){this.formatPrefix="point",this.visible=!0,this.series=p,this.applyOptions(a,o),this.id??(this.id=S()),this.resolveColor(),p.chart.pointCount++,V(this,"afterInit")}isValid(){return(j(this.x)||this.x instanceof Date)&&j(this.y)}optionsToObject(p){let a=this.series,o=a.options.keys,u=o||a.pointArrayMap||["y"],d=u.length,h={},m,f=0,y=0;if(j(p)||p===null)h[u[0]]=p;else if(T(p))for(!o&&p.length>d&&((m=typeof p[0])=="string"?h.name=p[0]:m==="number"&&(h.x=p[0]),f++);y<d;)o&&p[f]===void 0||(u[y].indexOf(".")>0?g.prototype.setNestedProperty(h,p[f],u[y]):h[u[y]]=p[f]),f++,y++;else typeof p=="object"&&(h=p,p.dataLabels&&(a.hasDataLabels=()=>!0),p.marker&&(a._hasPointMarkers=!0));return h}pos(p,a=this.plotY){if(!this.destroyed){let{plotX:o,series:u}=this,{chart:d,xAxis:h,yAxis:m}=u,f=0,y=0;if(j(o)&&j(a))return p&&(f=h?h.pos:d.plotLeft,y=m?m.pos:d.plotTop),d.inverted&&h&&m?[m.len-a+y,h.len-o+f]:[o+f,a+y]}}resolveColor(){let p=this.series,a=p.chart.options.chart,o=p.chart.styledMode,u,d,h=a.colorCount,m;delete this.nonZonedColor,p.options.colorByPoint?(o||(u=(d=p.options.colors||p.chart.options.colors)[p.colorCounter],h=d.length),m=p.colorCounter,p.colorCounter++,p.colorCounter===h&&(p.colorCounter=0)):(o||(u=p.color),m=p.colorIndex),this.colorIndex=x(this.options.colorIndex,m),this.color=x(this.options.color,u)}setNestedProperty(p,a,o){return o.split(".").reduce(function(u,d,h,m){let f=m.length-1===h;return u[d]=f?a:s(u[d],!0)?u[d]:{},u[d]},p),p}shouldDraw(){return!this.isNull}tooltipFormatter(p){let a=this.series,o=a.tooltipOptions,u=x(o.valueDecimals,""),d=o.valuePrefix||"",h=o.valueSuffix||"";return a.chart.styledMode&&(p=a.chart.tooltip.styledModeFormat(p)),(a.pointArrayMap||["y"]).forEac
vendor: 1,189 bytes, line 128
128h(function(m){m="{point."+m,(d||h)&&(p=p.replace(RegExp(m+"}","g"),d+m+"}"+h)),p=p.replace(RegExp(m+"}","g"),m+":,."+u+"f}")}),G(p,{point:this,series:this.series},a.chart)}update(p,a,o,u){let d,h=this,m=h.series,f=h.graphic,y=m.chart,I=m.options;function E(){h.applyOptions(p);let M=f&&h.hasMockGraphic,D=h.y===null?!M:M;f&&D&&(h.graphic=f.destroy(),delete h.hasMockGraphic),s(p,!0)&&(f&&f.element&&p&&p.marker&&p.marker.symbol!==void 0&&(h.graphic=f.destroy()),p!=null&&p.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy())),d=h.index,m.updateParallelArrays(h,d),I.data[d]=s(I.data[d],!0)||s(p,!0)?h.options:x(p,I.data[d]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(y.isDirtyBox=!0),I.legendType==="point"&&(y.isDirtyLegend=!0),a&&y.redraw(o)}a=x(a,!0),u===!1?E():h.firePointEvent("update",{options:p},E)}remove(p,a){this.series.removePoint(this.series.data.indexOf(this),p,a)}select(p,a){let o=this,u=o.series,d=u.chart;p=x(p,!o.selected),this.selectedStaging=p,o.firePointEvent(p?"select":"unselect",{accumulate:a},function(){o.selected=o.options.selected=p,u.options.data[u.data.indexOf(o)]=o.options,o.setState(p&&"select"),a||d.getSelectedPoints().forEac
128h(function(h){let m=h.series;h.selected&&h!==o&&(h.selected=h.options.selected=!1,m.options.data[m.data.indexOf(h)]=h.options,h.setState(d.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),h.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(p){let{inverted:a,pointer:o}=this.series.chart;o&&(p=p?o.normalize(p):o.getChartCoordinatesFromPoint(this,a),o.runPointActions(p,this))}onMouseOut(){let p=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(p.hoverPoints||[]).forEach(function(a){a.setState()}),p.hoverPoints=p.hoverPoint=null}manageEvent(p){var u,d,h,m,f,y;let a=c(this.series.options.point,this.options),o=(u=a.events)==null?void 0:u[p];L(o)&&(!((d=this.hcEvents)!=null&&d[p])||((m=(h=this.hcEvents)==null?void 0:h[p])==null?void 0:m.map(I=>I.fn).indexOf(o))===-1)?((f=this.importedUserEvent)==null||f.call(this),this.importedUserEvent=q(this,p,o)):this.importedUserEvent&&!o&&((y=this.hcEvents)!=null&&y[p])&&(P(this,p),delete this.hcEvents[p],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(p,a){var O;let o=this.series,u=this.state,d=o.options.states[p||"normal"]||{},h=K.plotOptions[o.type].marker&&o.options.marker,m=h&&h.enabled===!1,f=h&&h.states&&h.states[p||"normal"]||{},y=f.enabled===!1,I=this.marker||{},E=o.chart,M=h&&o.markerAttribs,D=o.halo,F,X,_,w=o.stateMarkerGraphic,A;if((p=p||"")===this.state&&!a||this.selected&&p!=="select"||d.enabled===!1||p&&(y||m&&f.enabled===!1)||p&&I.states&&I.states[p]&&I.states[p].enabled===!1)return;if(this.state=p,M&&(F=o.markerAttribs(this,p)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),p&&this.graphic.addClass("highcharts-point-"+p),!E.styledMode){X=o.pointAttribs(this,p),_=x(E.options.chart.animation,d.animation);let z=X.opacity;o.options.inactiveOtherPoints&&j(z)&&(this.dataLabels||[]).forEach(function(W){W&&!W.hasClass("highcharts-data-label-hidden")&&(W.animate({opacity:z},_),W.connector&&W.connector.animate({opacity:z},_))}),this.graphic.animate(X,_)}F&&this.graphic.animate(F,x(E.options.chart.animation,f.animation,h.animation)),w&&w.hide()}else p&&f&&(A=I.symbol||o.symbol,w&&w.currentSymbol!==A&&(w=w.destroy()),F&&(w?w[a?"animate":"attr"]({x:F.x,y:F.y}):A&&(o.stateMarkerGraphic=w=E.renderer.symbol(A,F.x,F.y,F.width,F.height).add(o.markerGroup),w.currentSymbol=A)),!E.styledMode&&w&&this.state!=="inactive"&&w.attr(o.pointAttribs(this,p))),w&&(w[p&&this.isInside?"show":"hide"](),w.element.point=this,w.addClass(this.getClassName(),!0));let U=d.halo,b=this.graphic||w,k=b&&b.visibility||"inherit";U&&U.size&&b&&k!=="hidden"&&!this.isCluster?(D||(o.halo=D=E.renderer.path().add(b.parentGroup)),D.show()[a?"animate":"attr"]({d:this.haloPath(U.size)}),D.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:k,zIndex:-1}),D.point=this,E.styledMode||D.attr(Y({fill:this.color||o.color,"fill-opacity":U.opacity},t.filterUserAttributes(U.attributes||{})))):(O=D==null?void 0:D.point)!=null&&O.haloPath&&!D.point.destroyed&&D.animate({d:D.point.haloPath(0)},null,D.hide),V(this,"afterSetState",{state:p})}haloPath(p){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(Z(a[0],1)-p,a[1]-p,2*p,2*p):[]}}return g}),r(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{parse:B}=t,{charts:$,composed:K,isTouchDevice:G}=n,{addEvent:q,attr:Z,css:R,extend:Y,find:V,fireEvent:H,isNumber:T,isObject:L,objectEach:j,offset:s,pick:c,pushUnique:x,splat:N}=l;class P{applyInactiveState(g){let v=[],p;(g||[]).forEach(function(a){p=a.series,v.push(p),p.linkedParent&&v.push(p.linkedParent),p.linkedSeries&&(v=v.concat(p.linkedSeries)),p.navigatorSeries&&v.push(p.navigatorSeries)}),this.chart.series.forEach(function(a){v.indexOf(a)===-1?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})}destroy(){let g=this;this.eventsToUnbind.forEach(v=>v()),this.eventsToUnbind=[],!n.chartCount&&(P.unbindDocumentMouseUp&&P.unbindDocumentMouseUp.forEac
vendor: 4,590 bytes, line 128
128h(v=>v()),P.unbindDocumentTouchEnd&&(P.unbindDocumentTouchEnd=P.unbindDocumentTouchEnd())),clearInterval(g.tooltipTimeout),j(g,function(v,p){g[p]=void 0})}getSelectionMarkerAttrs(g,v){let p={args:{chartX:g,chartY:v},attrs:{},shapeType:"rect"};return H(this,"getSelectionMarkerAttrs",p,a=>{let o,{chart:u,zoomHor:d,zoomVert:h}=this,{mouseDownX:m=0,mouseDownY:f=0}=u,y=a.attrs;y.x=u.plotLeft,y.y=u.plotTop,y.width=d?1:u.plotWidth,y.height=h?1:u.plotHeight,d&&(o=g-m,y.width=Math.max(1,Math.abs(o)),y.x=(o>0?0:o)+m),h&&(o=v-f,y.height=Math.max(1,Math.abs(o)),y.y=(o>0?0:o)+f)}),p}drag(g){let{chart:v}=this,{mouseDownX:p=0,mouseDownY:a=0}=v,{panning:o,panKey:u,selectionMarkerFill:d}=v.options.chart,h=v.plotLeft,m=v.plotTop,f=v.plotWidth,y=v.plotHeight,I=L(o)?o.enabled:o,E=u&&g[`${u}Key`],M=g.chartX,D=g.chartY,F,X=this.selectionMarker;if((!X||!X.touch)&&(M<h?M=h:M>h+f&&(M=h+f),D<m?D=m:D>m+y&&(D=m+y),this.hasDragged=Math.sqrt(Math.pow(p-M,2)+Math.pow(a-D,2)),this.hasDragged>10)){F=v.isInsidePlot(p-h,a-m,{visiblePlotOnly:!0});let{shapeType:_,attrs:w}=this.getSelectionMarkerAttrs(M,D);(v.hasCartesianSeries||v.mapView)&&this.hasZoom&&F&&!E&&!X&&(this.selectionMarker=X=v.renderer[_](),X.attr({class:"highcharts-selection-marker",zIndex:7}).add(),v.styledMode||X.attr({fill:d||B("#334eff").setOpacity(.25).get()})),X&&X.attr(w),F&&!X&&I&&v.pan(g,o)}}dragStart(g){let v=this.chart;v.mouseIsDown=g.type,v.cancelClick=!1,v.mouseDownX=g.chartX,v.mouseDownY=g.chartY}getSelectionBox(g){let v={args:{marker:g},result:g.getBBox()};return H(this,"getSelectionBox",v),v.result}drop(g){let v,{chart:p,selectionMarker:a}=this;for(let o of p.axes)o.isPanning&&(o.isPanning=!1,(o.options.startOnTick||o.options.endOnTick||o.series.some(u=>u.boosted))&&(o.forceRedraw=!0,o.setExtremes(o.userMin,o.userMax,!1),v=!0));if(v&&p.redraw(),a&&g){if(this.hasDragged){let o=this.getSelectionBox(a);p.transform({axes:p.axes.filter(u=>u.zoomEnabled&&(u.coll==="xAxis"&&this.zoomX||u.coll==="yAxis"&&this.zoomY)),selection:ze({originalEvent:g,xAxis:[],yAxis:[]},o),from:o})}T(p.index)&&(this.selectionMarker=a.destroy())}p&&T(p.index)&&(R(p.container,{cursor:p._cursor}),p.cancelClick=this.hasDragged>10,p.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(g,v,p){let a;return g.forEach(function(o){let u=!(o.noSharedTooltip&&v)&&0>o.options.findNearestPointBy.indexOf("y"),d=o.searchPoint(p,u);L(d,!0)&&d.series&&(!L(a,!0)||function(h,m){var E,M;let f=h.distX-m.distX,y=h.dist-m.dist,I=((E=m.series.group)==null?void 0:E.zIndex)-((M=h.series.group)==null?void 0:M.zIndex);return f!==0&&v?f:y!==0?y:I!==0?I:h.series.index>m.series.index?-1:1}(a,d)>0)&&(a=d)}),a}getChartCoordinatesFromPoint(g,v){let{xAxis:p,yAxis:a}=g.series,o=g.shapeArgs;if(p&&a){let u=g.clientX??g.plotX??0,d=g.plotY||0;return g.isNode&&o&&T(o.x)&&T(o.y)&&(u=o.x,d=o.y),v?{chartX:a.len+a.pos-d,chartY:p.len+p.pos-u}:{chartX:u+p.pos,chartY:d+a.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:g}=this.chart,v=s(g);this.chartPosition={left:v.left,top:v.top,scaleX:1,scaleY:1};let{offsetHeight:p,offsetWidth:a}=g;return a>2&&p>2&&(this.chartPosition.scaleX=v.width/a,this.chartPosition.scaleY=v.height/p),this.chartPosition}getCoordinates(g){let v={xAxis:[],yAxis:[]};for(let p of this.chart.axes)v[p.isXAxis?"xAxis":"yAxis"].push({axis:p,value:p.toValue(g[p.horiz?"chartX":"chartY"])});return v}getHoverData(g,v,p,a,o,u){let d=[],h=function(E){return E.visible&&!(!o&&E.directTouch)&&c(E.options.enableMouseTracking,!0)},m=v,f,y={chartX:u?u.chartX:void 0,chartY:u?u.chartY:void 0,shared:o};H(this,"beforeGetHoverData",y),f=m&&!m.stickyTracking?[m]:p.filter(E=>E.stickyTracking&&(y.filter||h)(E));let I=a&&g||!u?g:this.findNearestKDPoint(f,o,u);return m=I&&I.series,I&&(o&&!m.noSharedTooltip?(f=p.filter(function(E){return y.filter?y.filter(E):h(E)&&!E.noSharedTooltip})).forEach(function(E){let M=V(E.points,function(D){return D.x===I.x&&!D.isNull});L(M)&&(E.boosted&&E.boost&&(M=E.boost.getPoint(M)),d.push(M))}):d.push(I)),H(this,"afterGetHoverData",y={hoverPoint:I}),{hoverPoint:y.hoverPoint,hoverSeries:m,hoverPoints:d}}getPointFromEvent(g){let v=g.target,p;for(;v&&!p;)p=v.point,v=v.parentNode;return p}onTrackerMouseOut(g){let v=this.chart,p=g.relatedTarget,a=v.hoverSeries;this.isDirectTouch=!1,!a||!p||a.stickyTracking||this.inClass(p,"highcharts-tooltip")||this.inClass(p,"highcharts-series-"+a.index)&&this.inClass(p,"highcharts-tracker")||a.onMouseOut()}inClass(g,v){let p=g,a;for(;p;){if(a=Z(p,"class")){if(a.indexOf(v)!==-1)return!0;
128if(a.indexOf("highcharts-container")!==-1)return!1}p=p.parentElement}}constructor(g,v){var p;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=v,this.chart=g,this.runChartClick=!!((p=v.chart.events)!=null&&p.click),this.pinchDown=[],this.setDOMEvents(),H(this,"afterInit")}normalize(g,v){let p=g.touches,a=p?p.length?p.item(0):c(p.changedTouches,g.changedTouches)[0]:g;v||(v=this.getChartPosition());let o=a.pageX-v.left,u=a.pageY-v.top;return Y(g,{chartX:Math.round(o/=v.scaleX),chartY:Math.round(u/=v.scaleY)})}onContainerClick(g){let v=this.chart,p=v.hoverPoint,a=this.normalize(g),o=v.plotLeft,u=v.plotTop;!v.cancelClick&&(p&&this.inClass(a.target,"highcharts-tracker")?(H(p.series,"click",Y(a,{point:p})),v.hoverPoint&&p.firePointEvent("click",a)):(Y(a,this.getCoordinates(a)),v.isInsidePlot(a.chartX-o,a.chartY-u,{visiblePlotOnly:!0})&&H(v,"click",a)))}onContainerMouseDown(g){var p;let v=(1&(g.buttons||g.button))==1;g=this.normalize(g),n.isFirefox&&g.button!==0&&this.onContainerMouseMove(g),(g.button===void 0||v)&&(this.zoomOption(g),v&&((p=g.preventDefault)==null||p.call(g)),this.dragStart(g))}onContainerMouseLeave(g){let{pointer:v}=$[c(P.hoverChartIndex,-1)]||{};g=this.normalize(g),this.onContainerMouseMove(g),v&&!this.inClass(g.relatedTarget,"highcharts-tooltip")&&(v.reset(),v.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(g){let v=this.chart,p=v.tooltip,a=this.normalize(g);this.setHoverChartIndex(g),(v.mouseIsDown==="mousedown"||this.touchSelect(a))&&this.drag(a),!v.openMenu&&(this.inClass(a.target,"highcharts-tracker")||v.isInsidePlot(a.chartX-v.plotLeft,a.chartY-v.plotTop,{visiblePlotOnly:!0}))&&!(p&&p.shouldStickOnContact(a))&&(this.inClass(a.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(a))}onDocumentTouchEnd(g){this.onDocumentMouseUp(g)}onContainerTouchMove(g){this.touchSelect(g)?this.onContainerMouseMove(g):this.touch(g)}onContainerTouchStart(g){this.touchSelect(g)?this.onContainerMouseDown(g):(this.zoomOption(g),this.touch(g,!0))}onDocumentMouseMove(g){let v=this.chart,p=v.tooltip,a=this.chartPosition,o=this.normalize(g,a);!a||v.isInsidePlot(o.chartX-v.plotLeft,o.chartY-v.plotTop,{visiblePlotOnly:!0})||p&&p.shouldStickOnContact(o)||o.target!==v.container.ownerDocument&&this.inClass(o.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(g){var v,p;(p=(v=$[c(P.hoverChartIndex,-1)])==null?void 0:v.pointer)==null||p.drop(g)}pinch(g){let v=this,{chart:p,hasZoom:a,lastTouches:o}=v,u=[].map.call(g.touches||[],y=>v.normalize(y)),d=u.length,h=d===1&&(v.inClass(g.target,"highcharts-tracker")&&p.runTrackerClick||v.runChartClick),m=p.tooltip,f=d===1&&c(m==null?void 0:m.options.followTouchMove,!0);d>1?v.initiated=!0:f&&(v.initiated=!1),a&&v.initiated&&!h&&g.cancelable!==!1&&g.preventDefault(),g.type==="touchstart"?(v.pinchDown=u,v.res=!0,p.mouseDownX=g.chartX):f?this.runPointActions(v.normalize(g)):o&&(H(p,"touchpan",{originalEvent:g,touches:u},()=>{let y=I=>{let E=I[0],M=I[1]||E;return{x:E.chartX,y:E.chartY,width:M.chartX-E.chartX,height:M.chartY-E.chartY}};p.transform({axes:p.axes.filter(I=>I.zoomEnabled&&(this.zoomHor&&I.horiz||this.zoomVert&&!I.horiz)),to:y(u),from:y(o),trigger:g.type})}),v.res&&(v.res=!1,this.reset(!1,0))),v.lastTouches=u}reset(g,v){let p=this.chart,a=p.hoverSeries,o=p.hoverPoint,u=p.hoverPoints,d=p.tooltip,h=d&&d.shared?u:o;g&&h&&N(h).forEach(function(m){m.series.isCartesian&&m.plotX===void 0&&(g=!1)}),g?d&&h&&N(h).length&&(d.refresh(h),d.shared&&u?u.forEach(function(m){m.setState(m.state,!0),m.series.isCartesian&&(m.series.xAxis.crosshair&&m.series.xAxis.drawCrosshair(null,m),m.series.yAxis.crosshair&&m.series.yAxis.drawCrosshair(null,m))}):o&&(o.setState(o.state,!0),p.axes.forEach(function(m){m.crosshair&&o.series[m.coll]===m&&m.drawCrosshair(null,o)}))):(o&&o.onMouseOut(),u&&u.forEach(function(m){m.setState()}),a&&a.onMouseOut(),d&&d.hide(v),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),p.axes.forEach(function(m){m.hideCrosshair()}),p.hoverPoints=p.hoverPoint=void 0)}runPointActions(g,v,p){let a=this.chart,o=a.series,u=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,d=!!u&&u.shared,h=v||a.hoverPoint,m=h&&h.series||a.hoverSeries,f=(!g||g.type!=="touchmove")&&(!!v||m&&m.directTouch&&this.isDirectTouch),y=this.getHoverData(h,m,o,f,d,g);h=y.hoverPoint,m=y.hoverSeries;let I=y.hoverPoints,E=m&&m.tooltipOptions.followPointer&&!m.tooltipOptions.split,M=d&&m&&!m.noSharedTooltip;if(h&&(p||h!==a.hoverPoint||u&&u.isHidden)){if((a.hoverPoints||[]).forEac
128h(function(D){I.indexOf(D)===-1&&D.setState()}),a.hoverSeries!==m&&m.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(D){D.setState("hover")}),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!h.series)return;a.hoverPoints=I,a.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{u&&h&&u.refresh(M?I:h,g)})}else if(E&&u&&!u.isHidden){let D=u.getAnchor([{}],g);a.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&u.updatePosition({plotX:D[0],plotY:D[1]})}this.unDocMouseMove||(this.unDocMouseMove=q(a.container.ownerDocument,"mousemove",D=>{var F,X;return(X=(F=$[P.hoverChartIndex??-1])==null?void 0:F.pointer)==null?void 0:X.onDocumentMouseMove(D)}),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach(function(D){let F,X=c((D.crosshair||{}).snap,!0);!X||(F=a.hoverPoint)&&F.series[D.coll]===D||(F=V(I,_=>_.series&&_.series[D.coll]===D)),F||!X?D.drawCrosshair(g,F):D.hideCrosshair()})}setDOMEvents(){let g=this.chart.container,v=g.ownerDocument;g.onmousedown=this.onContainerMouseDown.bind(this),g.onmousemove=this.onContainerMouseMove.bind(this),g.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(q(g,"mouseenter",this.onContainerMouseEnter.bind(this)),q(g,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=[]),P.unbindDocumentMouseUp.push(q(v,"mouseup",this.onDocumentMouseUp.bind(this)));let p=this.chart.renderTo.parentElement;for(;p&&p.tagName!=="BODY";)this.eventsToUnbind.push(q(p,"scroll",()=>{delete this.chartPosition})),p=p.parentElement;this.eventsToUnbind.push(q(g,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),q(g,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=q(v,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),q(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var o,u;if(!G)return;let g=this.pointerCaptureEventsToUnbind,v=this.chart,p=v.container,a=c((o=v.options.tooltip)==null?void 0:o.followTouchMove,!0)&&v.series.some(d=>d.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&a?(g.push(q(p,"pointerdown",d=>{var h,m;(h=d.target)!=null&&h.hasPointerCapture(d.pointerId)&&((m=d.target)==null||m.releasePointerCapture(d.pointerId))}),q(p,"pointermove",d=>{var h,m;(m=(h=v.pointer)==null?void 0:h.getPointFromEvent(d))==null||m.onMouseOver(d)})),v.styledMode||R(p,{"touch-action":"none"}),p.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!a&&(g.forEach(d=>d()),g.length=0,v.styledMode||R(p,{"touch-action":c((u=v.options.chart.style)==null?void 0:u["touch-action"],"manipulation")}),p.className=p.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(g){var a;let v=this.chart,p=n.charts[c(P.hoverChartIndex,-1)];if(p&&p!==v){let o={relatedTarget:v.container};g&&!(g!=null&&g.relatedTarget)&&(g=ze(ze({},o),g)),(a=p.pointer)==null||a.onContainerMouseLeave(g||o)}p&&p.mouseIsDown||(P.hoverChartIndex=v.index)}touch(g,v){let p,{chart:a,pinchDown:o=[]}=this;this.setHoverChartIndex(),(g=this.normalize(g)).touches.length===1?a.isInsidePlot(g.chartX-a.plotLeft,g.chartY-a.plotTop,{visiblePlotOnly:!0})&&!a.openMenu?(v&&this.runPointActions(g),g.type==="touchmove"&&(p=!!o[0]&&Math.pow(o[0].chartX-g.chartX,2)+Math.pow(o[0].chartY-g.chartY,2)>=16),c(p,!0)&&this.pinch(g)):v&&this.reset():g.touches.length===2&&this.pinch(g)}touchSelect(g){return!!(this.chart.zooming.singleTouch&&g.touches&&g.touches.length===1)}zoomOption(g){let v=this.chart,p=v.inverted,a=v.zooming.type||"",o,u;/touch/.test(g.type)&&(a=c(v.zooming.pinchType,a)),this.zoomX=o=/x/.test(a),this.zoomY=u=/y/.test(a),this.zoomHor=o&&!p||u&&p,this.zoomVert=u&&!p||o&&p,this.hasZoom=o||u}}return(C=P||(P={})).compose=function(S){x(K,"Core.Pointer")&&q(S,"beforeRender",function(){this.pointer=new C(this,this.options)})},P}),r(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var n;let{extend:l,merge:C,pick:B}=t;return function($){function K(G,q,Z){var p,a;let R=this.legendItem=this.legendItem||{},{chart:Y,options:V}
128=this,{baseline:H=0,symbolWidth:T,symbolHeight:L}=G,j=this.symbol||"circle",s=L/2,c=Y.renderer,x=R.group,N=H-Math.round((((p=G.fontMetrics)==null?void 0:p.b)||L)*(Z?.4:.3)),P={},S,g=V.marker,v=0;if(Y.styledMode||(P["stroke-width"]=Math.min(V.lineWidth||0,24),V.dashStyle?P.dashstyle=V.dashStyle:V.linecap==="square"||(P["stroke-linecap"]="round")),R.line=c.path().addClass("highcharts-graph").attr(P).add(x),Z&&(R.area=c.path().addClass("highcharts-area").add(x)),P["stroke-linecap"]&&(v=Math.min(R.line.strokeWidth(),T)/2),T){let o=[["M",v,N],["L",T-v,N]];R.line.attr({d:o}),(a=R.area)==null||a.attr({d:[...o,["L",T-v,H],["L",v,H]]})}if(g&&g.enabled!==!1&&T){let o=Math.min(B(g.radius,s),s);j.indexOf("url")===0&&(g=C(g,{width:L,height:L}),o=0),R.symbol=S=c.symbol(j,T/2-o,N-o,2*o,2*o,l({context:"legend"},g)).addClass("highcharts-point").add(x),S.isMarker=!0}}$.areaMarker=function(G,q){K.call(this,G,q,!0)},$.lineMarker=K,$.rectangle=function(G,q){let Z=q.legendItem||{},R=G.options,Y=G.symbolHeight,V=R.squareSymbol,H=V?Y:G.symbolWidth;Z.symbol=this.chart.renderer.rect(V?(G.symbolWidth-Y)/2:0,G.baseline-Y+1,H,Y,B(G.options.symbolRadius,Y/2)).addClass("highcharts-point").attr({zIndex:3}).add(Z.group)}}(n||(n={})),n}),r(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return typeof this.y!="number"?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),r(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{defaultOptions:$}=n,{extend:K,extendClass:G,merge:q}=C;return function(Z){function R(Y,V){let H=$.plotOptions||{},T=V.defaultOptions,L=V.prototype;return L.type=Y,L.pointClass||(L.pointClass=l),!Z.seriesTypes[Y]&&(T&&(H[Y]=T),Z.seriesTypes[Y]=V,!0)}Z.seriesTypes=t.seriesTypes,Z.registerSeriesType=R,Z.seriesType=function(Y,V,H,T,L){let j=$.plotOptions||{};if(V=V||"",j[Y]=q(j[V],H),delete Z.seriesTypes[Y],R(Y,G(Z.seriesTypes[V]||function(){},T)),Z.seriesTypes[Y].prototype.type=Y,L){class s extends l{}K(s.prototype,L),Z.seriesTypes[Y].prototype.pointClass=s}return Z.seriesTypes[Y]}}(B||(B={})),B}),r(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let{animObject:R,setAnimation:Y}=t,{defaultOptions:V}=n,{registerEventOptions:H}=l,{svg:T,win:L}=C,{seriesTypes:j}=G,{arrayMax:s,arrayMin:c,clamp:x,correctFloat:N,crisp:P,defined:S,destroyObjectProperties:g,diffObjects:v,erase:p,error:a,extend:o,find:u,fireEvent:d,getClosestDistance:h,getNestedProperty:m,insertItem:f,isArray:y,isNumber:I,isString:E,merge:M,objectEach:D,pick:F,removeEvent:X,splat:_,syncTimeout:w}=Z;class A{constructor(){this.zoneAxis="y"}init(b,k){let O;d(this,"init",{options:k});let z=this,W=b.series;this.eventsToUnbind=[],z.chart=b,z.options=z.setOptions(k);let Q=z.options,ee=Q.visible!==!1;z.linkedSeries=[],z.bindAxes(),o(z,{name:Q.name,state:"",visible:ee,selected:Q.selected===!0}),H(this,Q);let se=Q.events;(se&&se.click||Q.point&&Q.point.events&&Q.point.events.click||Q.allowPointSelect)&&(b.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(ae){z[ae+"Data"]||(z[ae+"Data"]=[])}),z.isCartesian&&(b.hasCartesianSeries=!0),W.length&&(O=W[W.length-1]),z._i=F(O&&O._i,-1)+1,z.opacity=z.options.opacity,b.orderItems("series",f(this,W)),Q.dataSorting&&Q.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(Q.data,!1),d(this,"afterInit")}is(b){return j[b]&&this instanceof j[b]}bindAxes(){let b,k=this,O=k.options,z=k.chart;
128d(this,"bindAxes",null,function(){(k.axisTypes||[]).forEach(function(W){(z[W]||[]).forEach(function(Q){b=Q.options,(F(O[W],0)===Q.index||O[W]!==void 0&&O[W]===b.id)&&(f(k,Q.series),k[W]=Q,Q.isDirty=!0)}),k[W]||k.optionalAxis===W||a(18,!0,z)})}),d(this,"afterBindAxes")}updateParallelArrays(b,k,O){let z=b.series,W=I(k)?function(Q){let ee=Q==="y"&&z.toYData?z.toYData(b):b[Q];z[Q+"Data"][k]=ee}:function(Q){Array.prototype[k].apply(z[Q+"Data"],O)};z.parallelArrays.forEach(W)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(b,k){let O=b.marker,z=k.marker||{};return O&&(z.enabled&&!O.enabled||z.symbol!==O.symbol||z.height!==O.height||z.width!==O.width)}autoIncrement(b){let k=this.options,O=k.pointIntervalUnit,z=k.relativeXValue,W=this.chart.time,Q=this.xIncrement,ee,se;return Q=F(Q,k.pointStart,0),this.pointInterval=se=F(this.pointInterval,k.pointInterval,1),z&&I(b)&&(se*=b),O&&(ee=new W.Date(Q),O==="day"?W.set("Date",ee,W.get("Date",ee)+se):O==="month"?W.set("Month",ee,W.get("Month",ee)+se):O==="year"&&W.set("FullYear",ee,W.get("FullYear",ee)+se),se=ee.getTime()-Q),z&&I(b)?Q+se:(this.xIncrement=Q+se,Q)}setDataSortingOptions(){let b=this.options;o(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(b.pointRange)||(b.pointRange=1)}setOptions(b){var le,ue;let k,O=this.chart,z=O.options.plotOptions,W=O.userOptions||{},Q=M(b),ee=O.styledMode,se={plotOptions:z,userOptions:Q};d(this,"setOptions",se);let ae=se.plotOptions[this.type],he=W.plotOptions||{},ce=he.series||{},ie=V.plotOptions[this.type]||{},te=he[this.type]||{};this.userOptions=se.userOptions;let ne=M(ae,z.series,te,Q);this.tooltipOptions=M(V.tooltip,(le=V.plotOptions.series)==null?void 0:le.tooltip,ie==null?void 0:ie.tooltip,O.userOptions.tooltip,(ue=he.series)==null?void 0:ue.tooltip,te.tooltip,Q.tooltip),this.stickyTracking=F(Q.stickyTracking,te.stickyTracking,ce.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ne.stickyTracking),ae.marker===null&&delete ne.marker,this.zoneAxis=ne.zoneAxis||"y";let oe=this.zones=(ne.zones||[]).map(de=>ze({},de));return(ne.negativeColor||ne.negativeFillColor)&&!ne.zones&&(k={value:ne[this.zoneAxis+"Threshold"]||ne.threshold||0,className:"highcharts-negative"},ee||(k.color=ne.negativeColor,k.fillColor=ne.negativeFillColor),oe.push(k)),oe.length&&S(oe[oe.length-1].value)&&oe.push(ee?{}:{color:this.color,fillColor:this.fillColor}),d(this,"afterSetOptions",{options:ne}),ne}getName(){return F(this.options.name,"Series "+(this.index+1))}getCyclic(b,k,O){let z,W,Q=this.chart,ee=`${b}Index`,se=`${b}Counter`,ae=(O==null?void 0:O.length)||Q.options.chart.colorCount;!k&&(S(W=F(b==="color"?this.options.colorIndex:void 0,this[ee]))?z=W:(Q.series.length||(Q[se]=0),z=Q[se]%ae,Q[se]+=1),O&&(k=O[z])),z!==void 0&&(this[ee]=z),this[b]=k}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||V.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let b=this.options.marker;this.getCyclic("symbol",b.symbol,this.chart.options.symbols)}findPointIndex(b,k){let O,z,W,Q=b.id,ee=b.x,se=this.points,ae=this.options.dataSorting;if(Q){let he=this.chart.get(Q);he instanceof $&&(O=he)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let he=ce=>!ce.touched&&ce.index===b.index;if(ae&&ae.matchByName?he=ce=>!ce.touched&&ce.name===b.name:this.options.relativeXValue&&(he=ce=>!ce.touched&&ce.options.x===b.x),!(O=u(se,he)))return}return O&&(W=O&&O.index)!==void 0&&(z=!0),W===void 0&&I(ee)&&(W=this.xData.indexOf(ee,k)),W!==-1&&W!==void 0&&this.cropped&&(W=W>=this.cropStart?W-this.cropStart:W),!z&&I(W)&&se[W]&&se[W].touched&&(W=void 0),W}updateData(b,k){let O=this.options,z=O.dataSorting,W=this.points,Q=[],ee=this.requireSorting,se=b.length===W.length,ae,he,ce,ie,te=!0;if(this.xIncrement=null,b.forEach(function(ne,oe){let le,ue=S(ne)&&this.pointClass.prototype.optionsToObject.call({series:this},ne)||{},de=ue.x;ue.id||I(de)?((le=this.findPointIndex(ue,ie))===-1||le===void 0?Q.push(ne):W[le]&&ne!==O.data[le]?(W[le].update(ne,!1,null,!1),W[le].touched=!0,ee&&(ie=le+1)):W[le]&&(W[le].touched=!0),(!se||oe!==le||z&&z.enabled||this.hasDerivedData)&&(ae=!0)):Q.push(ne)},this),ae)for(he=W.length;he--;)(ce=W[he])&&!ce.touched&&ce.remove&&ce.remove(!1,k);else!se||z&&z.enabled?te=!1:(b.forEach(function(ne,oe){ne===W[oe].y||W[oe].destroyed||W[oe].update(ne,!1,null,!1)}),Q.length=0);return W.forEach(function(ne){ne&&(ne.touched=!1)}
128),!!te&&(Q.forEach(function(ne){this.addPoint(ne,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=s(this.xData),this.autoIncrement()),!0)}setData(b,k=!0,O,z){var Se;let W=this,Q=W.points,ee=Q&&Q.length||0,se=W.options,ae=W.chart,he=se.dataSorting,ce=W.xAxis,ie=se.turboThreshold,te=this.xData,ne=this.yData,oe=W.pointArrayMap,le=oe&&oe.length,ue=se.keys,de,fe,me,ge=0,Ee=1,ve;ae.options.chart.allowMutatingData||(se.data&&delete W.options.data,W.userOptions.data&&delete W.userOptions.data,ve=M(!0,b));let ye=(b=ve||b||[]).length;if(he&&he.enabled&&(b=this.sortData(b)),ae.options.chart.allowMutatingData&&z!==!1&&ye&&ee&&!W.cropped&&!W.hasGroupedData&&W.visible&&!W.boosted&&(me=this.updateData(b,O)),!me){W.xIncrement=null,W.colorCounter=0,this.parallelArrays.forEach(function(Ce){W[Ce+"Data"].length=0});let xe=ie&&ye>ie;if(xe){let Ce=W.getFirstValidPoint(b),Oe=W.getFirstValidPoint(b,ye-1,-1),Pe=He=>!!(y(He)&&(ue||I(He[0])));if(I(Ce)&&I(Oe))for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else if(Pe(Ce)&&Pe(Oe))if(le)if(Ce.length===le)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[0],ne[de]=fe.slice(1,le+1);else if(ue&&(ge=ue.indexOf("x"),Ee=ue.indexOf("y"),ge=ge>=0?ge:0,Ee=Ee>=0?Ee:1),Ce.length===1&&(Ee=0),ge===Ee)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de][Ee];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[ge],ne[de]=fe[Ee];else xe=!1}if(!xe)for(de=0;de<ye;de++)fe={series:W},W.pointClass.prototype.applyOptions.apply(fe,[b[de]]),W.updateParallelArrays(fe,de);for(ne&&E(ne[0])&&a(14,!0,ae),W.data=[],W.options.data=W.userOptions.data=b,de=ee;de--;)(Se=Q[de])==null||Se.destroy();ce&&(ce.minRange=ce.userMinRange),W.isDirty=ae.isDirtyBox=!0,W.isDirtyData=!!Q,O=!1}se.legendType==="point"&&(this.processData(),this.generatePoints()),k&&ae.redraw(O)}sortData(b){let k=this,O=k.options.dataSorting.sortKey||"y",z=function(W,Q){return S(Q)&&W.pointClass.prototype.optionsToObject.call({series:W},Q)||{}};return b.forEach(function(W,Q){b[Q]=z(k,W),b[Q].index=Q},this),b.concat().sort((W,Q)=>{let ee=m(O,W),se=m(O,Q);return se<ee?-1:se>ee?1:0}).forEach(function(W,Q){W.x=Q},this),k.linkedSeries&&k.linkedSeries.forEach(function(W){let Q=W.options,ee=Q.data;Q.dataSorting&&Q.dataSorting.enabled||!ee||(ee.forEach(function(se,ae){ee[ae]=z(W,se),b[ae]&&(ee[ae].x=b[ae].x,ee[ae].index=ae)}),W.setData(ee,!1))}),b}getProcessedData(b){let k=this,O=k.xAxis,z=k.options.cropThreshold,W=O==null?void 0:O.logarithmic,Q=k.isCartesian,ee,se,ae=0,he,ce,ie,te=k.xData,ne=k.yData,oe=!1,le=te.length;O&&(ce=(he=O.getExtremes()).min,ie=he.max,oe=!!(O.categories&&!O.names.length)),Q&&k.sorted&&!b&&(!z||le>z||k.forceCrop)&&(te[le-1]<ce||te[0]>ie?(te=[],ne=[]):k.yData&&(te[0]<ce||te[le-1]>ie)&&(te=(ee=this.cropData(k.xData,k.yData,ce,ie)).xData,ne=ee.yData,ae=ee.start,se=!0));let ue=h([W?te.map(W.log2lin):te],()=>k.requireSorting&&!oe&&a(15,!1,k.chart));return{xData:te,yData:ne,cropped:se,cropStart:ae,closestPointRange:ue}}processData(b){let k=this.xAxis;if(this.isCartesian&&!this.isDirty&&!k.isDirty&&!this.yAxis.isDirty&&!b)return!1;let O=this.getProcessedData();this.cropped=O.cropped,this.cropStart=O.cropStart,this.processedXData=O.xData,this.processedYData=O.yData,this.closestPointRange=this.basePointRange=O.closestPointRange,d(this,"afterProcessData")}cropData(b,k,O,z){let W=b.length,Q,ee,se=0,ae=W;for(Q=0;Q<W;Q++)if(b[Q]>=O){se=Math.max(0,Q-1);break}for(ee=Q;ee<W;ee++)if(b[ee]>z){ae=ee+1;break}return{xData:b.slice(se,ae),yData:k.slice(se,ae),start:se,end:ae}}generatePoints(){let b=this.options,k=this.processedData||b.data,O=this.processedXData,z=this.processedYData,W=this.pointClass,Q=O.length,ee=this.cropStart||0,se=this.hasGroupedData,ae=b.keys,he=[],ce=b.dataGrouping&&b.dataGrouping.groupAll?ee:0,ie,te,ne,oe,le=this.data;if(!le&&!se){let ue=[];ue.length=k.length,le=this.data=ue}for(ae&&se&&(this.options.keys=!1),oe=0;oe<Q;
128oe++)te=ee+oe,se?((ne=new W(this,[O[oe]].concat(_(z[oe])))).dataGroup=this.groupMap[ce+oe],ne.dataGroup.options&&(ne.options=ne.dataGroup.options,o(ne,ne.dataGroup.options),delete ne.dataLabels)):(ne=le[te])||k[te]===void 0||(le[te]=ne=new W(this,k[te],O[oe])),ne&&(ne.index=se?ce+oe:te,he[oe]=ne);if(this.options.keys=ae,le&&(Q!==(ie=le.length)||se))for(oe=0;oe<ie;oe++)oe!==ee||se||(oe+=Q),le[oe]&&(le[oe].destroyElements(),le[oe].plotX=void 0);this.data=le,this.points=he,d(this,"afterGeneratePoints")}getXExtremes(b){return{min:c(b),max:s(b)}}getExtremes(b,k){let O=this.xAxis,z=this.yAxis,W=[],Q=this.requireSorting&&!this.is("column")?1:0,ee=!!z&&z.positiveValuesOnly,se=k||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:ae,processedYData:he}=this,ce,ie,te,ne,oe,le,ue,de=0,fe=0,me=0;if(this.cropped&&se){let ye=this.getProcessedData(!0);ae=ye.xData,he=ye.yData}let ge=(b=b||this.stackedYData||he||[]).length,Ee=ae||this.xData;for(O&&(de=(ce=O.getExtremes()).min,fe=ce.max),le=0;le<ge;le++)if(ne=Ee[le],ie=(I(oe=b[le])||y(oe))&&((I(oe)?oe>0:oe.length)||!ee),te=k||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!O||(Ee[le+Q]||ne)>=de&&(Ee[le-Q]||ne)<=fe,ie&&te)if(ue=oe.length)for(;ue--;)I(oe[ue])&&(W[me++]=oe[ue]);else W[me++]=oe;let ve={activeYData:W,dataMin:c(W),dataMax:s(W)};return d(this,"afterGetExtremes",{dataExtremes:ve}),ve}applyExtremes(){let b=this.getExtremes();return this.dataMin=b.dataMin,this.dataMax=b.dataMax,b}getFirstValidPoint(b,k=0,O=1){let z=b.length,W=k;for(;W>=0&&W<z;){if(S(b[W]))return b[W];W+=O}}translate(){var fe;this.processedXData||this.processData(),this.generatePoints();let b=this.options,k=b.stacking,O=this.xAxis,z=O.categories,W=this.enabledDataSorting,Q=this.yAxis,ee=this.points,se=ee.length,ae=this.pointPlacementToXValue(),he=!!ae,ce=b.threshold,ie=b.startFromThreshold?ce:0,te,ne,oe,le,ue=Number.MAX_VALUE;function de(me){return x(me,-1e9,1e9)}for(te=0;te<se;te++){let me,ge=ee[te],Ee=ge.x,ve,ye,Se=ge.y,xe=ge.low,Ce=k&&((fe=Q.stacking)==null?void 0:fe.stacks[(this.negStacks&&Se<(ie?0:ce)?"-":"")+this.stackKey]);ne=O.translate(Ee,!1,!1,!1,!0,ae),ge.plotX=I(ne)?N(de(ne)):void 0,k&&this.visible&&Ce&&Ce[Ee]&&(le=this.getStackIndicator(le,Ee,this.index),!ge.isNull&&le.key&&(ye=(ve=Ce[Ee]).points[le.key]),ve&&y(ye)&&(xe=ye[0],Se=ye[1],xe===ie&&le.key===Ce[Ee].base&&(xe=F(I(ce)?ce:Q.min)),Q.positiveValuesOnly&&S(xe)&&xe<=0&&(xe=void 0),ge.total=ge.stackTotal=F(ve.total),ge.percentage=S(ge.y)&&ve.total?ge.y/ve.total*100:void 0,ge.stackY=Se,this.irregularWidths||ve.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),ge.yBottom=S(xe)?de(Q.translate(xe,!1,!0,!1,!0)):void 0,this.dataModify&&(Se=this.dataModify.modifyValue(Se,te)),I(Se)&&ge.plotX!==void 0&&(me=I(me=Q.translate(Se,!1,!0,!1,!0))?de(me):void 0),ge.plotY=me,ge.isInside=this.isPointInside(ge),ge.clientX=he?N(O.translate(Ee,!1,!1,!1,!0,ae)):ne,ge.negative=(ge.y||0)<(ce||0),ge.category=F(z&&z[ge.x],ge.x),ge.isNull||ge.visible===!1||(oe!==void 0&&(ue=Math.min(ue,Math.abs(ne-oe))),oe=ne),ge.zone=this.zones.length?ge.getZone():void 0,!ge.graphic&&this.group&&W&&(ge.isNew=!0)}this.closestPointRangePx=ue,d(this,"afterTranslate")}getValidPoints(b,k,O){let z=this.chart;return(b||this.points||[]).filter(function(W){let{plotX:Q,plotY:ee}=W;return!!((O||!W.isNull&&I(ee))&&(!k||z.isInsidePlot(Q,ee,{inverted:z.inverted})))&&W.visible!==!1})}getClipBox(){let{chart:b,xAxis:k,yAxis:O}=this,{x:z,y:W,width:Q,height:ee}=M(b.clipBox);return k&&k.len!==b.plotSizeX&&(Q=k.len),O&&O.len!==b.plotSizeY&&(ee=O.len),b.inverted&&!this.invertible&&([Q,ee]=[ee,Q]),{x:z,y:W,width:Q,height:ee}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:b,group:k,markerGroup:O}=this,z=b.sharedClips,W=b.renderer,Q=this.getClipBox(),ee=this.getSharedClipKey(),se=z[ee];se?se.animate(Q):z[ee]=se=W.clipRect(Q),k&&k.clip(this.options.clip===!1?void 0:se),O&&O.clip()}animate(b){let{chart:k,group:O,markerGroup:z}
128=this,W=k.inverted,Q=R(this.options.animation),ee=[this.getSharedClipKey(),Q.duration,Q.easing,Q.defer].join(","),se=k.sharedClips[ee],ae=k.sharedClips[ee+"m"];if(b&&O){let he=this.getClipBox();if(se)se.attr("height",he.height);else{he.width=0,W&&(he.x=k.plotHeight),se=k.renderer.clipRect(he),k.sharedClips[ee]=se;let ce={x:-99,y:-99,width:W?k.plotWidth+199:99,height:W?99:k.plotHeight+199};ae=k.renderer.clipRect(ce),k.sharedClips[ee+"m"]=ae}O.clip(se),z==null||z.clip(ae)}else if(se&&!se.hasClass("highcharts-animating")){let he=this.getClipBox(),ce=Q.step;(z!=null&&z.element.childNodes.length||k.series.length>1)&&(Q.step=function(ie,te){ce&&ce.apply(te,arguments),te.prop==="width"&&(ae!=null&&ae.element)&&ae.attr(W?"height":"width",ie+99)}),se.addClass("highcharts-animating").animate(he,Q)}}afterAnimate(){this.setClip(),D(this.chart.sharedClips,(b,k,O)=>{b&&!this.chart.container.querySelector(`[clip-path="url(#${b.id})"]`)&&(b.destroy(),delete O[k])}),this.finishedAnimating=!0,d(this,"afterAnimate")}drawPoints(b=this.points){let k,O,z,W,Q,ee,se,ae=this.chart,he=ae.styledMode,{colorAxis:ce,options:ie}=this,te=ie.marker,ne=this[this.specialGroup||"markerGroup"],oe=this.xAxis,le=F(te.enabled,!oe||!!oe.isRadial||null,this.closestPointRangePx>=te.enabledThreshold*te.radius);if(te.enabled!==!1||this._hasPointMarkers)for(k=0;k<b.length;k++)if(W=(z=(O=b[k]).graphic)?"animate":"attr",Q=O.marker||{},ee=!!O.marker,(le&&Q.enabled===void 0||Q.enabled)&&!O.isNull&&O.visible!==!1){let ue=F(Q.symbol,this.symbol,"rect");se=this.markerAttribs(O,O.selected&&"select"),this.enabledDataSorting&&(O.startXPos=oe.reversed?-(se.width||0):oe.width);let de=O.isInside!==!1;if(!z&&de&&((se.width||0)>0||O.hasImage)&&(O.graphic=z=ae.renderer.symbol(ue,se.x,se.y,se.width,se.height,ee?Q:te).add(ne),this.enabledDataSorting&&ae.hasRendered&&(z.attr({x:O.startXPos}),W="animate")),z&&W==="animate"&&z[de?"show":"hide"](de).animate(se),z){let fe=this.pointAttribs(O,he||!O.selected?void 0:"select");he?ce&&z.css({fill:fe.fill}):z[W](fe)}z&&z.addClass(O.getClassName(),!0)}else z&&(O.graphic=z.destroy())}markerAttribs(b,k){let O=this.options,z=O.marker,W=b.marker||{},Q=W.symbol||z.symbol,ee={},se,ae,he=F(W.radius,z&&z.radius);k&&(se=z.states[k],he=F((ae=W.states&&W.states[k])&&ae.radius,se&&se.radius,he&&he+(se&&se.radiusPlus||0))),b.hasImage=Q&&Q.indexOf("url")===0,b.hasImage&&(he=0);let ce=b.pos();return I(he)&&ce&&(O.crisp&&(ce[0]=P(ce[0],b.hasImage?0:Q==="rect"?(z==null?void 0:z.lineWidth)||0:1)),ee.x=ce[0]-he,ee.y=ce[1]-he),he&&(ee.width=ee.height=2*he),ee}pointAttribs(b,k){let O=this.options.marker,z=b&&b.options,W=z&&z.marker||{},Q=z&&z.color,ee=b&&b.color,se=b&&b.zone&&b.zone.color,ae,he,ce=this.color,ie,te,ne=F(W.lineWidth,O.lineWidth),oe=1;return ce=Q||se||ee||ce,ie=W.fillColor||O.fillColor||ce,te=W.lineColor||O.lineColor||ce,k=k||"normal",ae=O.states[k]||{},ne=F((he=W.states&&W.states[k]||{}).lineWidth,ae.lineWidth,ne+F(he.lineWidthPlus,ae.lineWidthPlus,0)),ie=he.fillColor||ae.fillColor||ie,{stroke:te=he.lineColor||ae.lineColor||te,"stroke-width":ne,fill:ie,opacity:oe=F(he.opacity,ae.opacity,oe)}}destroy(b){let k,O,z,W=this,Q=W.chart,ee=/AppleWebKit\/533/.test(L.navigator.userAgent),se=W.data||[];for(d(W,"destroy",{keepEventsForUpdate:b}),this.removeEvents(b),(W.axisTypes||[]).forEach(function(ae){(z=W[ae])&&z.series&&(p(z.series,W),z.isDirty=z.forceRedraw=!0)}),W.legendItem&&W.chart.legend.destroyItem(W),k=se.length;k--;)(O=se[k])&&O.destroy&&O.destroy();for(let ae of W.zones)g(ae,void 0,!0);Z.clearTimeout(W.animationTimeout),D(W,function(ae,he){ae instanceof q&&!ae.survive&&ae[ee&&he==="group"?"hide":"destroy"]()}),Q.hoverSeries===W&&(Q.hoverSeries=void 0),p(Q.series,W),Q.orderItems("series"),D(W,function(ae,he){b&&he==="hcEvents"||delete W[he]})}applyZones(){let{area:b,chart:k,graph:O,zones:z,points:W,xAxis:Q,yAxis:ee,zoneAxis:se}=this,{inverted:ae,renderer:he}=k,ce=this[`${se}Axis`],{isXAxis:ie,len:te=0}=ce||{},ne=((O==null?void 0:O.strokeWidth())||0)/2+1,oe=(le,ue=0,de=0)=>{ae&&(de=te-de);let{translated:fe=0,lineClip:me}=le,ge=de-fe;me==null||me.push(["L",ue,Math.abs(ge)<ne?de-ne*(ge<=0?-1:1):fe])};if(z.length&&(O||b)&&ce&&I(ce.min)){let le=ce.getExtremes().max,ue=me=>{me.forEach((ge,Ee)=>{(ge[0]==="M"||ge[0]==="L")&&(me[Ee]=[ge[0],ie?te-ge[1]:ge[1],ie?ge[2]:te-ge[2]])})};if(z.forEach(me=>{me.lineClip=[],me.translated=x(ce.toPixels(F(me.value,le),!0)||0,0,te)}),O&&!this.showLine&&O.hide(),b&&b.hide(),se==="y"&&W.length<Q.len)for(let me of W){let{plotX:ge,plotY:Ee,zone:ve}=me,ye=ve&&z[z.indexOf(ve)-1];ve&&oe(ve,ge,Ee),ye&&oe(ye,ge,Ee)}let de=[],fe=ce.toPixels(ce.getExtremes().min,!0);z.forEach(me=>{var Je,Xe;let ge=me.lineClip||[],Ee=Math.round(me.translated||0);Q.reversed&&ge.reverse();let{clip:ve,simpleClip:ye}=me,Se=0,xe=0,Ce=Q.len,Oe=ee.len;ie?(Se=Ee,Ce=fe):(xe=Ee,Oe=fe);let Pe=[["M",Se,xe],["L",Ce,xe],["L",Ce,Oe],["L",Se,Oe],["Z"]],He=[Pe[0],...ge,Pe[1],Pe[2],...de,Pe[3],Pe[4]];de=ge.reverse(),fe=Ee,ae&&(ue(He),b&&ue(Pe)),ve?(ve.animate({d:He}),ye==null||ye.animate({d:Pe})):(ve=me.clip=he.path(He),b&&(ye=me.simpleClip=he.path(Pe))),O&&((Je=me.graph)==null||Je.clip(ve)),b&&((Xe=me.area)==null||Xe.clip(ye))})}else this.visible&&(O&&O.show(),b&&b.show())}plotGroup(b,k,O,z,W){let Q=this[b],ee=!Q,se={visibility:O,zIndex:z||.1};return S(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(se.opacity=this.opacity),Q||(this[b]=Q=this.chart.renderer.g().add(W)),Q.addClass("highcharts-"+k+" highcharts-series-"+this.index+" highcharts-"+this.t
128ype+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(Q.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),Q.attr(se)[ee?"attr":"animate"](this.getPlotBox(k)),Q}getPlotBox(b){let k=this.xAxis,O=this.yAxis,z=this.chart,W=z.inverted&&!z.polar&&k&&this.invertible&&b==="series";return z.inverted&&(k=O,O=this.xAxis),{translateX:k?k.left:z.plotLeft,translateY:O?O.top:z.plotTop,rotation:W?90:0,rotationOriginX:W?(k.len-O.len)/2:0,rotationOriginY:W?(k.len+O.len)/2:0,scaleX:W?-1:1,scaleY:1}}removeEvents(b){let{eventsToUnbind:k}=this;b||X(this),k.length&&(k.forEach(O=>{O()}),k.length=0)}render(){var he,ce,ie,te,ne;let b=this,{chart:k,options:O,hasRendered:z}=b,W=R(O.animation),Q=b.visible?"inherit":"hidden",ee=O.zIndex,se=k.seriesGroup,ae=b.finishedAnimating?0:W.duration;d(this,"render"),b.plotGroup("group","series",Q,ee,se),b.markerGroup=b.plotGroup("markerGroup","markers",Q,ee,se),O.clip!==!1&&b.setClip(),ae&&((he=b.animate)==null||he.call(b,!0)),b.drawGraph&&(b.drawGraph(),b.applyZones()),b.visible&&b.drawPoints(),(ce=b.drawDataLabels)==null||ce.call(b),(ie=b.redrawPoints)==null||ie.call(b),O.enableMouseTracking&&((te=b.drawTracker)==null||te.call(b)),ae&&((ne=b.animate)==null||ne.call(b)),z||(ae&&W.defer&&(ae+=W.defer),b.animationTimeout=w(()=>{b.afterAnimate()},ae||0)),b.isDirty=!1,b.hasRendered=!0,d(b,"afterRender")}redraw(){let b=this.isDirty||this.isDirtyData;this.translate(),this.render(),b&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(b,k){let{xAxis:O,yAxis:z}=this,W=this.chart.inverted;return this.searchKDTree({clientX:W?O.len-b.chartY+O.pos:b.chartX-O.pos,plotY:W?z.len-b.chartX+z.pos:b.chartY-z.pos},k,b)}buildKDTree(b){this.buildingKdTree=!0;let k=this,O=k.options.findNearestPointBy.indexOf("y")>-1?2:1;delete k.kdTree,w(function(){k.kdTree=function z(W,Q,ee){let se,ae,he=W==null?void 0:W.length;if(he)return se=k.kdAxisArray[Q%ee],W.sort((ce,ie)=>(ce[se]||0)-(ie[se]||0)),{point:W[ae=Math.floor(he/2)],left:z(W.slice(0,ae),Q+1,ee),right:z(W.slice(ae+1),Q+1,ee)}}(k.getValidPoints(void 0,!k.directTouch),O,O),k.buildingKdTree=!1},k.options.kdNow||(b==null?void 0:b.type)==="touchstart"?0:1)}searchKDTree(b,k,O){let z=this,[W,Q]=this.kdAxisArray,ee=k?"distX":"dist",se=(z.options.findNearestPointBy||"").indexOf("y")>-1?2:1,ae=!!z.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(O),this.kdTree)return function he(ce,ie,te,ne){var ve;let oe=ie.point,le=z.kdAxisArray[te%ne],ue,de,fe=oe;(function(ye,Se){var dt;let xe=ye[W],Ce=Se[W],Oe=S(xe)&&S(Ce)?xe-Ce:null,Pe=ye[Q],He=Se[Q],Je=S(Pe)&&S(He)?Pe-He:0,Xe=ae&&((dt=Se.marker)==null?void 0:dt.radius)||0;Se.dist=Math.sqrt((Oe&&Oe*Oe||0)+Je*Je)-Xe,Se.distX=S(Oe)?Math.abs(Oe)-Xe:Number.MAX_VALUE})(ce,oe);let me=(ce[le]||0)-(oe[le]||0)+(ae&&((ve=oe.marker)==null?void 0:ve.radius)||0),ge=me<0?"left":"right",Ee=me<0?"right":"left";return ie[ge]&&(fe=(ue=he(ce,ie[ge],te+1,ne))[ee]<fe[ee]?ue:oe),ie[Ee]&&Math.sqrt(me*me)<fe[ee]&&(fe=(de=he(ce,ie[Ee],te+1,ne))[ee]<fe[ee]?de:fe),fe}(b,this.kdTree,se,se)}pointPlacementToXValue(){let{options:b,xAxis:k}=this,O=b.pointPlacement;return O==="between"&&(O=k.reversed?-.5:.5),I(O)?O*(b.pointRange||k.pointRange):0}isPointInside(b){let{chart:k,xAxis:O,yAxis:z}=this,{plotX:W=-1,plotY:Q=-1}=b;return Q>=0&&Q<=(z?z.len:k.plotHeight)&&W>=0&&W<=(O?O.len:k.plotWidth)}drawTracker(){var ie;let b=this,k=b.options,O=k.trackByArea,z=[].concat((O?b.areaPath:b.graphPath)||[]),W=b.chart,Q=W.pointer,ee=W.renderer,se=((ie=W.options.tooltip)==null?void 0:ie.snap)||0,ae=()=>{k.enableMouseTracking&&W.hoverSeries!==b&&b.onMouseOver()},he="rgba(192,192,192,"+(T?1e-4:.002)+")",ce=b.tracker;ce?ce.attr({d:z}):b.graph&&(b.tracker=ce=ee.path(z).attr({visibility:b.visible?"inherit":"hidden",zIndex:2}).addClass(O?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),W.styledMode||ce.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:he,fill:O?he:"none","stroke-width":b.graph.strokeWidth()+(O?0:2*se)}
128),[b.tracker,b.markerGroup,b.dataLabelsGroup].forEach(te=>{te&&(te.addClass("highcharts-tracker").on("mouseover",ae).on("mouseout",ne=>{Q==null||Q.onTrackerMouseOut(ne)}),k.cursor&&!W.styledMode&&te.css({cursor:k.cursor}),te.on("touchstart",ae))})),d(this,"afterDrawTracker")}addPoint(b,k,O,z,W){let Q,ee,se=this.options,ae=this.data,he=this.chart,ce=this.xAxis,ie=ce&&ce.hasNames&&ce.names,te=se.data,ne=this.xData;k=F(k,!0);let oe={series:this};this.pointClass.prototype.applyOptions.apply(oe,[b]);let le=oe.x;if(ee=ne.length,this.requireSorting&&le<ne[ee-1])for(Q=!0;ee&&ne[ee-1]>le;)ee--;this.updateParallelArrays(oe,"splice",[ee,0,0]),this.updateParallelArrays(oe,ee),ie&&oe.name&&(ie[le]=oe.name),te.splice(ee,0,b),(Q||this.processedData)&&(this.data.splice(ee,0,null),this.processData()),se.legendType==="point"&&this.generatePoints(),O&&(ae[0]&&ae[0].remove?ae[0].remove(!1):(ae.shift(),this.updateParallelArrays(oe,"shift"),te.shift())),W!==!1&&d(this,"addPoint",{point:oe}),this.isDirty=!0,this.isDirtyData=!0,k&&he.redraw(z)}removePoint(b,k,O){let z=this,W=z.data,Q=W[b],ee=z.points,se=z.chart,ae=function(){ee&&ee.length===W.length&&ee.splice(b,1),W.splice(b,1),z.options.data.splice(b,1),z.updateParallelArrays(Q||{series:z},"splice",[b,1]),Q&&Q.destroy(),z.isDirty=!0,z.isDirtyData=!0,k&&se.redraw()};Y(O,se),k=F(k,!0),Q?Q.firePointEvent("remove",null,ae):ae()}remove(b,k,O,z){let W=this,Q=W.chart;function ee(){W.destroy(z),Q.isDirtyLegend=Q.isDirtyBox=!0,Q.linkSeries(z),F(b,!0)&&Q.redraw(k)}O!==!1?d(W,"remove",null,ee):ee()}update(b,k){var ue,de,fe;d(this,"update",{options:b=v(b,this.userOptions)});let O=this,z=O.chart,W=O.userOptions,Q=O.initialType||O.type,ee=z.options.plotOptions,se=j[Q].prototype,ae=O.finishedAnimating&&{animation:!1},he={},ce,ie,te=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ne=b.type||W.type||z.options.chart.type,oe=!(this.hasDerivedData||ne&&ne!==this.type||b.pointStart!==void 0||b.pointInterval!==void 0||b.relativeXValue!==void 0||b.joinBy||b.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(me=>O.hasOptionChanged(me)));ne=ne||Q,oe&&(te.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),b.visible!==!1&&te.push("area","graph"),O.parallelArrays.forEach(function(me){te.push(me+"Data")}),b.data&&(b.dataSorting&&o(O.options.dataSorting,b.dataSorting),this.setData(b.data,!1))),b=M(W,{index:W.index===void 0?O.index:W.index,pointStart:((ue=ee==null?void 0:ee.series)==null?void 0:ue.pointStart)??W.pointStart??((de=O.xData)==null?void 0:de[0])},!oe&&{data:O.options.data},b,ae),oe&&b.data&&(b.data=O.options.data),(te=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(te)).forEach(function(me){te[me]=O[me],delete O[me]});let le=!1;if(j[ne]){if(le=ne!==O.type,O.remove(!1,!1,!1,!0),le)if(z.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(O,j[ne].prototype);else{let me=Object.hasOwnProperty.call(O,"hcEvents")&&O.hcEvents;for(ie in se)O[ie]=void 0;o(O,j[ne].prototype),me?O.hcEvents=me:delete O.hcEvents}}else a(17,!0,z,{missingModuleFor:ne});if(te.forEach(function(me){O[me]=te[me]}),O.init(z,b),oe&&this.points)for(let me of((ce=O.options).visible===!1?(he.graphic=1,he.dataLabel=1):(this.hasMarkerChanged(ce,W)&&(he.graphic=1),(fe=O.hasDataLabels)!=null&&fe.call(O)||(he.dataLabel=1)),this.points))me&&me.series&&(me.resolveColor(),Object.keys(he).length&&me.destroyElements(he),ce.showInLegend===!1&&me.legendItem&&z.legend.destroyItem(me));O.initialType=Q,z.linkSeries(),z.setSortedData(),le&&O.linkedSeries.length&&(O.isDirtyData=!0),d(this,"afterUpdate"),F(k,!0)&&z.redraw(!!oe&&void 0)}setName(b){this.name=this.options.name=this.userOptions.name=b,this.chart.isDirtyLegend=!0}hasOptionChanged(b){var ee,se;let k=this.chart,O=this.options[b],z=k.options.plotOptions,W=this.userOptions[b],Q=F((ee=z==null?void 0:z[this.type])==null?void 0:ee[b],(se=z==null?void 0:z.series)==null?void 0:se[b]);return W&&!S(Q)?O!==W:O!==F(Q,O)}onMouseOver(){let b=this.chart,k=b.hoverSeries,O=b.pointer;O==null||O.setHoverChartIndex(),k&&k!==this&&k.onMouseOut(),this.options.events.mouseOver&&d(this,"mouseOver"),this.setState("hover"),b.hoverSeries=this}onMouseOut(){let b=this.options,k=this.chart,O=k.tooltip,z=k.hoverPoint;k.hoverSeries=null,z&&z.onMouseOut(),this&&b.events.mouseOut&&d(this,"mouseOut"),O&&!this.stickyTracking&&(!O.shared||this.noSharedTooltip)&&O.hide(),k.series.forEac
128h(function(W){W.setState("",!0)})}setState(b,k){let O=this,z=O.options,W=O.graph,Q=z.inactiveOtherPoints,ee=z.states,se=F(ee[b||"normal"]&&ee[b||"normal"].animation,O.chart.options.chart.animation),ae=z.lineWidth,he=z.opacity;if(b=b||"",O.state!==b&&([O.group,O.markerGroup,O.dataLabelsGroup].forEach(function(ce){ce&&(O.state&&ce.removeClass("highcharts-series-"+O.state),b&&ce.addClass("highcharts-series-"+b))}),O.state=b,!O.chart.styledMode)){if(ee[b]&&ee[b].enabled===!1)return;if(b&&(ae=ee[b].lineWidth||ae+(ee[b].lineWidthPlus||0),he=F(ee[b].opacity,he)),W&&!W.dashstyle&&I(ae))for(let ce of[W,...this.zones.map(ie=>ie.graph)])ce==null||ce.animate({"stroke-width":ae},se);Q||[O.group,O.markerGroup,O.dataLabelsGroup,O.labelBySeries].forEach(function(ce){ce&&ce.animate({opacity:he},se)})}k&&Q&&O.points&&O.setAllPointsToState(b||void 0)}setAllPointsToState(b){this.points.forEach(function(k){k.setState&&k.setState(b)})}setVisible(b,k){var se;let O=this,z=O.chart,W=z.options.chart.ignoreHiddenSeries,Q=O.visible;O.visible=b=O.options.visible=O.userOptions.visible=b===void 0?!Q:b;let ee=b?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(ae=>{var he;(he=O[ae])==null||he[ee]()}),(z.hoverSeries===O||((se=z.hoverPoint)==null?void 0:se.series)===O)&&O.onMouseOut(),O.legendItem&&z.legend.colorizeItem(O,b),O.isDirty=!0,O.options.stacking&&z.series.forEach(ae=>{ae.options.stacking&&ae.visible&&(ae.isDirty=!0)}),O.linkedSeries.forEach(ae=>{ae.setVisible(b,!1)}),W&&(z.isDirtyBox=!0),d(O,ee),k!==!1&&z.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(b){this.selected=b=this.options.selected=b===void 0?!this.selected:b,this.checkbox&&(this.checkbox.checked=b),d(this,b?"select":"unselect")}shouldShowTooltip(b,k,O={}){return O.series=this,O.visiblePlotOnly=!0,this.chart.isInsidePlot(b,k,O)}drawLegendSymbol(b,k){var O;(O=B[this.options.legendSymbol||"rectangle"])==null||O.call(this,b,k)}}return A.defaultOptions=K,A.types=G.seriesTypes,A.registerType=G.registerSeriesType,o(A.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:$,requireSorting:!0,sorted:!0}),G.series=A,A}),r(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){var q;let{animObject:Z,setAnimation:R}=t,{registerEventOptions:Y}=n,{composed:V,marginNames:H}=l,{distribute:T}=$,{format:L}=K,{addEvent:j,createElement:s,css:c,defined:x,discardElement:N,find:P,fireEvent:S,isNumber:g,merge:v,pick:p,pushUnique:a,relativeLength:o,stableSort:u,syncTimeout:d}=G;class h{constructor(f,y){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=f,this.setOptions(y),y.enabled&&(this.render(),Y(this,y),j(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),j(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(f){let y=p(f.padding,8);this.options=f,this.chart.styledMode||(this.itemStyle=f.itemStyle,this.itemHiddenStyle=v(this.itemStyle,f.itemHiddenStyle)),this.itemMarginTop=f.itemMarginTop,this.itemMarginBottom=f.itemMarginBottom,this.padding=y,this.initialItemY=y-5,this.symbolWidth=p(f.symbolWidth,16),this.pages=[],this.proximate=f.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(f,y){let I=this.chart;this.setOptions(v(!0,this.options,f)),"events"in this.options&&Y(this,this.options),this.destroy(),I.isDirtyLegend=I.isDirtyBox=!0,p(y,!0)&&I.redraw(),S(this,"afterUpdate",{redraw:y})}colorizeItem(f,y){let{area:I,group:E,label:M,line:D,symbol:F}=f.legendItem||{};if(E==null||E[y?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:X={}}=this,_=X.color,{fillColor:w,fillOpacity:A,lineColor:U,marker:b}=f.options,k=O=>(!y&&(O.fill&&(O.fill=_),O.stroke&&(O.stroke=_)),O);M==null||M.css(v(y?this.itemStyle:X)),D==null||D.attr(k({stroke:U||f.color})),F&&F.attr(k(b&&F.isMarker?f.pointAttribs():{fill:f.color})),I==null||I.attr(k({fill:w||f.color,"fill-opacity":w?1:A??.75}))}S(this,"afterColorizeItem",{item:f,visible:y})}
vendor: 17,251 bytes, line 128
128positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(f){let{group:y,x:I=0,y:E=0}=f.legendItem||{},M=this.options,D=M.symbolPadding,F=!M.rtl,X=f.checkbox;if(y&&y.element){let _={translateX:F?I:this.legendWidth-I-2*D-4,translateY:E};y[x(y.translateY)?"animate":"attr"](_,void 0,()=>{S(this,"afterPositionItem",{item:f})})}X&&(X.x=I,X.y=E)}destroyItem(f){let y=f.checkbox,I=f.legendItem||{};for(let E of["group","label","line","symbol"])I[E]&&(I[E]=I[E].destroy());y&&N(y),f.legendItem=void 0}destroy(){for(let f of this.getAllItems())this.destroyItem(f);for(let f of["clipRect","up","down","pager","nav","box","title","group"])this[f]&&(this[f]=this[f].destroy());this.display=null}positionCheckboxes(){let f,y=this.group&&this.group.alignAttr,I=this.clipHeight||this.legendHeight,E=this.titleHeight;y&&(f=y.translateY,this.allItems.forEach(function(M){let D,F=M.checkbox;F&&(D=f+E+F.y+(this.scrollOffset||0)+3,c(F,{left:y.translateX+M.checkboxOffset+F.x-20+"px",top:D+"px",display:this.proximate||D>f-6&&D<f+I-6?"":"none"}))},this))}renderTitle(){let f=this.options,y=this.padding,I=f.title,E,M=0;I.text&&(this.title||(this.title=this.chart.renderer.label(I.text,y-3,y-4,void 0,void 0,void 0,f.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(I.style),this.title.add(this.group)),I.width||this.title.css({width:this.maxLegendWidth+"px"}),M=(E=this.title.getBBox()).height,this.offsetWidth=E.width,this.contentGroup.attr({translateY:M})),this.titleHeight=M}setText(f){let y=this.options;f.legendItem.label.attr({text:y.labelFormat?L(y.labelFormat,f,this.chart):y.labelFormatter.call(f)})}renderItem(f){let y=f.legendItem=f.legendItem||{},I=this.chart,E=I.renderer,M=this.options,D=M.layout==="horizontal",F=this.symbolWidth,X=M.symbolPadding||0,_=this.itemStyle,w=this.itemHiddenStyle,A=D?p(M.itemDistance,20):0,U=!M.rtl,b=!f.series,k=!b&&f.series.drawLegendSymbol?f.series:f,O=k.options,z=!!this.createCheckboxForItem&&O&&O.showCheckbox,W=M.useHTML,Q=f.options.className,ee=y.label,se=F+X+A+(z?20:0);!ee&&(y.group=E.g("legend-item").addClass("highcharts-"+k.type+"-series highcharts-color-"+f.colorIndex+(Q?" "+Q:"")+(b?" highcharts-series-"+f.index:"")).attr({zIndex:1}).add(this.scrollGroup),y.label=ee=E.text("",U?F+X:-X,this.baseline||0,W),I.styledMode||ee.css(v(f.visible?_:w)),ee.attr({align:U?"left":"right",zIndex:2}).add(y.group),!this.baseline&&(this.fontMetrics=E.fontMetrics(ee),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,ee.attr("y",this.baseline),this.symbolHeight=p(M.symbolHeight,this.fontMetrics.f),M.squareSymbol&&(this.symbolWidth=p(M.symbolWidth,Math.max(this.symbolHeight,16)),se=this.symbolWidth+X+A+(z?20:0),U&&ee.attr("x",this.symbolWidth+X))),k.drawLegendSymbol(this,f),this.setItemEvents&&this.setItemEvents(f,ee,W)),z&&!f.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(f),this.colorizeItem(f,f.visible),(I.styledMode||!_.width)&&ee.css({width:(M.itemWidth||this.widthOption||I.spacingBox.width)-se+"px"}),this.setText(f);let ae=ee.getBBox(),he=this.fontMetrics&&this.fontMetrics.h||0;f.itemWidth=f.checkboxOffset=M.itemWidth||y.labelWidth||ae.width+se,this.maxItemWidth=Math.max(this.maxItemWidth,f.itemWidth),this.totalItemWidth+=f.itemWidth,this.itemHeight=f.itemHeight=Math.round(y.labelHeight||(ae.height>1.5*he?ae.height:he))}layoutItem(f){let y=this.options,I=this.padding,E=y.layout==="horizontal",M=f.itemHeight,D=this.itemMarginBottom,F=this.itemMarginTop,X=E?p(y.itemDistance,20):0,_=this.maxLegendWidth,w=y.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:f.itemWidth,A=f.legendItem||{};E&&this.itemX-I+w>_&&(this.itemX=I,this.lastLineHeight&&(this.itemY+=F+this.lastLineHeight+D),this.lastLineHeight=0),this.lastItemY=F+this.itemY+D,this.lastLineHeight=Math.max(M,this.lastLineHeight),A.x=this.itemX,A.y=this.itemY,E?this.itemX+=w:(this.itemY+=F+M+D,this.lastLineHeight=M),this.offsetWidth=this.widthOption||Math.max((E?this.itemX-I-(f.checkbox?0:X):w)+I,this.offsetWidth)}getAllItems(){let f=[];return this.chart.series.forEach(function(y){let I=y&&y.options;y&&p(I.showInLegend,!x(I.linkedTo)&&void 0,!0)&&(f=f.concat((y.legendItem||{}).labels||(I.legendType==="point"?y.data:y)))}),S(this,"afterGetAllItems",{allItems:f}),f}getAlignment(){let f=this.options;return this.proximate?f.align.charAt(0)+"tv":f.floating?"":f.align.charAt(0)+f.verticalAlign.charAt(0)+f.layout.charAt(0)}adjustMargins(f,y){let I=this.chart,E=this.options,M=this.getAlignment();M&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(D,F){D.test(M)&&!x(f[F])&&(I[H[F]]=Math.max(I[H[F]],I.legend[(F+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][F]*E[F%2?"x":"y"]+p(E.margin,12)+y[F]+(I.titleOffset[F]||0)))})}proximatePositions(){let f,y=this.chart,I=[],E=this.options.align==="left";for(let M of(this.allItems.forEach(function(D){let F,X,_=E,w,A;D.yAxis&&(D.xAxis.options.reversed&&(_=!_),D.points&&(F=P(_?D.points:D.points.slice(0).reverse(),function(U){return g(U.plotY)})),X=this.itemMarginTop+D.legendItem.label.getBBox().height+this.itemMarginBottom,A=D.yAxis.top-y.plotTop,w=D.visible?(F?F.plotY:D.yAxis.height)+(A-.3*X):A+D.yAxis.height,I.push({target:w,size:X,item:D}))},this),T(I,y.plotHeight)))f=M.item.legendItem||{},g(M.pos)&&(f.y=y.plotTop-y.spacing[0]+M.pos)}render(){let f=this.chart,y=f.renderer,I=this.options,E=this.padding,M=this.getAllItems(),D,F,X,_=this.group,w,A=this.box;this.itemX=E,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=o(I.width,f.spacingBox.width-E),w=f.spacingBox.width-2*E-I.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(w/=2),this.maxLegendWidth=this.widthOption||w,_||(this.group=_=y.g("legend").addClass(I.className||"").attr({zIndex:7}).add(),this.contentGroup=y.g().attr({zIndex:1}).add(_),this.scrollGroup=y.g().add(this.contentGroup)),this.renderTitle(),u(M,(U,b)=>(U.options&&U.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)),I.reversed&&M.reverse(),this.allItems=M,this.display=D=!!M.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,M.forEach(this.renderItem,this),M.forEach(this.layoutItem,this),F=(this.widthOption||this.offsetWidth)+E,X=this.lastItemY+this.lastLineHeight+this.titleHeight,X=this.handleOverflow(X)+E,A||(this.box=A=y.rect().addClass("highcharts-legend-box").attr({r:I.borderRadius}).add(_)),f.styledMode||A.attr({stroke:I.borderColor,"stroke-width":I.borderWidth||0,fill:I.backgroundColor||"none"}).shadow(I.shadow),F>0&&X>0&&A[A.placed?"animate":"attr"](A.crisp.call({},{x:0,y:0,width:F,height:X},A.strokeWidth())),_[D?"show":"hide"](),f.styledMode&&_.getStyle("display")==="none"&&(F=X=0),this.legendWidth=F,this.legendHeight=X,D&&this.align(),this.proximate||this.positionItems(),S(this,"afterRender")}align(f=this.chart.spacingBox){let y=this.chart,I=this.options,E=f.y;/(lth|ct|rth)/.test(this.getAlignment())&&y.titleOffset[0]>0?E+=y.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&y.titleOffset[2]>0&&(E-=y.titleOffset[2]),E!==f.y&&(f=v(f,{y:E})),y.hasRendered||(this.group.placed=!1),this.group.align(v(I,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":I.verticalAlign}),!0,f)}handleOverflow(f){let y=this,I=this.chart,E=I.renderer,M=this.options,D=M.y,F=M.verticalAlign==="top",X=this.padding,_=M.maxHeight,w=M.navigation,A=p(w.animation,!0),U=w.arrowSize||12,b=this.pages,k=this.allItems,O=function(ce){typeof ce=="number"?he.attr({height:ce}):he&&(y.clipRect=he.destroy(),y.contentGroup.clip()),y.contentGroup.div&&(y.contentGroup.div.style.clip=ce?"rect("+X+"px,9999px,"+(X+ce)+"px,0)":"auto")},z=function(ce){return y[ce]=E.circle(0,0,1.3*U).translate(U/2,U/2).add(ae),I.styledMode||y[ce].attr("fill","rgba(0,0,0,0.0001)"),y[ce]},W,Q,ee,se=I.spacingBox.height+(F?-D:D)-X,ae=this.nav,he=this.clipRect;return M.layout!=="horizontal"||M.verticalAlign==="middle"||M.floating||(se/=2),_&&(se=Math.min(se,_)),b.length=0,f&&se>0&&f>se&&w.enabled!==!1?(this.clipHeight=W=Math.max(se-20-this.titleHeight-X,0),this.currentPage=p(this.currentPage,1),this.fullHeight=f,k.forEach((ce,ie)=>{let te=(ee=ce.legendItem||{}).y||0,ne=Math.round(ee.label.getBBox().height),oe=b.length;(!oe||te-b[oe-1]>W&&(Q||te)!==b[oe-1])&&(b.push(Q||te),oe++),ee.pageIx=oe-1,Q&&((k[ie-1].legendItem||{}).pageIx=oe-1),ie===k.length-1&&te+ne-b[oe-1]>W&&te>b[oe-1]&&(b.push(te),ee.pageIx=oe),te!==Q&&(Q=te)}),he||(he=y.clipRect=E.clipRect(0,X-2,9999,0),y.contentGroup.clip(he)),O(W),ae||(this.nav=ae=E.g().attr({zIndex:1}).add(this.group),this.up=E.symbol("triangle",0,0,U,U).add(ae),z("upTracker").on("click",function(){y.scroll(-1,A)}),this.pager=E.text("",15,10).addClass("highcharts-legend-navigation"),!I.styledMode&&w.style&&this.pager.css(w.style),this.pager.add(ae),this.down=E.symbol("triangle-down",0,0,U,U).add(ae),z("downTracker").on("click",function(){y.scroll(1,A)})),y.scroll(0),f=se):ae&&(O(),this.nav=ae.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),f}scroll(f,y){let I=this.chart,E=this.pages,M=E.length,D=this.clipHeight,F=this.options.navigation,X=this.pager,_=this.padding,w=this.currentPage+f;w>M&&(w=M),w>0&&(y!==void 0&&R(y,I),this.nav.attr({translateX:_,translateY:D+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(A){A.attr({class:w===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),X.attr({text:w+"/"+M}),[this.down,this.downTracker].forEach(function(A){A.attr({x:18+this.pager.getBBox().width,class:w===M?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),I.styledMode||(this.up.attr({fill:w===1?F.inactiveColor:F.activeColor}),this.upTracker.css({cursor:w===1?"default":"pointer"}),this.down.attr({fill:w===M?F.inactiveColor:F.activeColor}),this.downTracker.css({cursor:w===M?"default":"pointer"})),this.scrollOffset=-E[w-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=w,this.positionCheckboxes(),d(()=>{S(this,"afterScroll",{currentPage:w})},Z(p(y,I.renderer.globalAnimation,!0)).duration))}setItemEvents(f,y,I){let E=this,M=f.legendItem||{},D=E.chart.renderer.boxWrapper,F=f instanceof B,X=f instanceof C,_="highcharts-legend-"+(F?"point":"series")+"-active",w=E.chart.styledMode,A=I?[y,M.symbol]:[M.group],U=b=>{E.allItems.forEach(k=>{f!==k&&[k].concat(k.linkedSeries||[]).forEach(O=>{O.setState(b,!F)})})};for(let b of A)b&&b.on("mouseover",function(){f.visible&&U("inactive"),f.setState("hover"),f.visible&&D.addClass(_),w||y.css(E.options.itemHoverStyle)}).on("mouseout",function(){E.chart.styledMode||y.css(v(f.visible?E.itemStyle:E.itemHiddenStyle)),U(""),D.removeClass(_),f.setState()}).on("click",function(k){let O=function(){f.setVisible&&f.setVisible(),U(f.visible?"inactive":"")};D.removeClass(_),S(E,"itemClick",{browserEvent:k,legendItem:f},O),F?f.firePointEvent("legendItemClick",{browserEvent:k}):X&&S(f,"legendItemClick",{browserEvent:k})})}createCheckboxForItem(f){f.checkbox=s("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:f.selected,defaultChecked:f.selected},this.options.itemCheckboxStyle,this.chart.container),j(f.checkbox,"click",function(y){let I=y.target;S(f.series||f,"checkboxClick",{checked:I.checked,item:f},function(){f.select()})})}}return(q=h||(h={})).compose=function(m){a(V,"Core.Legend")&&j(m,"beforeMargins",function(){this.legend=new q(this,this.options.legend)})},h}),r(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H){let{animate:T,animObject:L,setAnimation:j}=t,{defaultOptions:s,defaultTime:c}=l,{numberFormat:x}=C,{registerEventOptions:N}=B,{charts:P,doc:S,marginNames:g,svg:v,win:p}=$,{seriesTypes:a}=q,{addEvent:o,attr:u,createElement:d,css:h,defined:m,diffObjects:f,discardElement:y,erase:I,error:E,extend:M,find:D,fireEvent:F,getStyle:X,isArray:_,isNumber:w,isObject:A,isString:U,merge:b,objectEach:k,pick:O,pInt:z,relativeLength:W,removeEvent:Q,splat:ee,syncTimeout:se,uniqueKey:ae}=Y;class he{static chart(ie,te,ne){return new he(ie,te,ne)}constructor(ie,te,ne){this.sharedClips={};let oe=[...arguments];(U(ie)||ie.nodeName)&&(this.renderTo=oe.shift()),this.init(oe[0],oe[1])}setZoomOptions(){let ie=this.options.chart,te=ie.zooming;this.zooming=xt(ze({},te),{type:O(ie.zoomType,te.type),key:O(ie.zoomKey,te.key),pinchType:O(ie.pinchType,te.pinchType),singleTouch:O(ie.zoomBySingleTouch,te.singleTouch,!1),resetButton:b(te.resetButton,ie.resetZoomButton)})}init(ie,te){F(this,"init",{args:arguments},function(){let ne=b(s,ie),oe=ne.chart;this.userOptions=M({},ie),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=te,this.isResizing=0,this.options=ne,this.axes=[],this.series=[],this.time=ie.time&&Object.keys(ie.time).length?new R(ie.time):$.time,this.numberFormatter=oe.numberFormatter||x,this.styledMode=oe.styledMode,this.hasCartesianSeries=oe.showAxes,this.index=P.length,P.push(this),$.chartCount++,N(this,oe),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),F(this,"afterInit"),this.firstRender()})}initSeries(ie){let te=this.options.chart,ne=ie.type||te.type,oe=a[ne];oe||E(17,!0,this,{missingModuleFor:ne});let le=new oe;return typeof le.init=="function"&&le.init(this,ie),le}setSortedData(){this.getSeriesOrderByLinks().forEach(function(ie){ie.points||ie.data||!ie.enabledDataSorting||ie.setData(ie.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(ie,te){return ie.linkedSeries.length||te.linkedSeries.length?te.linkedSeries.length-ie.linkedSeries.length:0})}orderItems(ie,te=0){let ne=this[ie],oe=this.options[ie]=ee(this.options[ie]).slice(),le=this.userOptions[ie]=this.userOptions[ie]?ee(this.userOptions[ie]).slice():[];if(this.hasRendered&&(oe.splice(te),le.splice(te)),ne)for(let ue=te,de=ne.length;ue<de;++ue){let fe=ne[ue];fe&&(fe.index=ue,fe instanceof G&&(fe.name=fe.getName()),fe.options.isInternal||(oe[ue]=fe.options,le[ue]=fe.userOptions))}}isInsidePlot(ie,te,ne={}){var Ce;let{inverted:oe,plotBox:le,plotLeft:ue,plotTop:de,scrollablePlotBox:fe}=this,{scrollLeft:me=0,scrollTop:ge=0}=ne.visiblePlotOnly&&((Ce=this.scrollablePlotArea)==null?void 0:Ce.scrollingContainer)||{},Ee=ne.series,ve=ne.visiblePlotOnly&&fe||le,ye=ne.inverted?te:ie,Se=ne.inverted?ie:te,xe={x:ye,y:Se,isInsidePlot:!0,options:ne};if(!ne.ignoreX){let Oe=Ee&&(oe&&!this.polar?Ee.yAxis:Ee.xAxis)||{pos:ue,len:1/0},Pe=ne.paneCoordinates?Oe.pos+ye:ue+ye;Pe>=Math.max(me+ue,Oe.pos)&&Pe<=Math.min(me+ue+ve.width,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}if(!ne.ignoreY&&xe.isInsidePlot){let Oe=!oe&&ne.axis&&!ne.axis.isXAxis&&ne.axis||Ee&&(oe?Ee.xAxis:Ee.yAxis)||{pos:de,len:1/0},Pe=ne.paneCoordinates?Oe.pos+Se:de+Se;Pe>=Math.max(ge+de,Oe.pos)&&Pe<=Math.min(ge+de+ve.height,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}return F(this,"afterIsInsidePlot",xe),xe.isInsidePlot}redraw(ie){F(this,"beforeRedraw");let te=this.hasCartesianSeries?this.axes:this.colorAxis||[],ne=this.series,oe=this.pointer,le=this.legend,ue=this.userOptions.legend,de=this.renderer,fe=de.isHidden(),me=[],ge,Ee,ve,ye=this.isDirtyBox,Se=this.isDirtyLegend,xe;for(de.rootFontSize=de.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),j(!!this.hasRendered&&ie,this),fe&&this.temporaryDisplay(),this.layOutTitles(!1),ve=ne.length;ve--;)if(((xe=ne[ve]).options.stacking||xe.options.centerInCategory)&&(Ee=!0,xe.isDirty)){ge=!0;break}if(ge)for(ve=ne.length;ve--;)(xe=ne[ve]).options.stacking&&(xe.isDirty=!0);ne.forEach(function(Ce){Ce.isDirty&&(Ce.options.legendType==="point"?(typeof Ce.updateTotals=="function"&&Ce.updateTotals(),Se=!0):ue&&(ue.labelFormatter||ue.labelFormat)&&(Se=!0)),Ce.isDirtyData&&F(Ce,"updatedData")}),Se&&le&&le.options.enabled&&(le.render(),this.isDirtyLegend=!1),Ee&&this.getStacks(),te.forEach(function(Ce){Ce.updateNames(),Ce.setScale()}),this.getMargins(),te.forEach(function(Ce){Ce.isDirty&&(ye=!0)}),te.forEach(function(Ce){let Oe=Ce.min+","+Ce.max;Ce.extKey!==Oe&&(Ce.extKey=Oe,me.push(function(){F(Ce,"afterSetExtremes",M(Ce.eventArgs,Ce.getExtremes())),delete Ce.eventArgs})),(ye||Ee)&&Ce.redraw()}),ye&&this.drawChartBox(),F(this,"predraw"),ne.forEach(function(Ce){(ye||Ce.isDirty)&&Ce.visible&&Ce.redraw(),Ce.isDirtyData=!1}),oe&&oe.reset(!0),de.draw(),F(this,"redraw"),F(this,"render"),fe&&this.temporaryDisplay(!0),me.forEach(function(Ce){Ce.call()})}get(ie){let te=this.series;function ne(le){return le.id===ie||le.options&&le.options.id===ie}let oe=D(this.axes,ne)||D(this.series,ne);for(let le=0;!oe&&le<te.length;le++)oe=D(te[le].points||[],ne);return oe}getAxes(){let ie=this.userOptions;for(let te of(F(this,"getAxes"),["xAxis","yAxis"]))for(let ne of ie[te]=ee(ie[te]||{}))new n(this,ne,te);F(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((ie,te)=>
128(te.getPointsCollection().forEach(ne=>{O(ne.selectedStaging,ne.selected)&&ie.push(ne)}),ie),[])}getSelectedSeries(){return this.series.filter(function(ie){return ie.selected})}setTitle(ie,te,ne){this.applyDescription("title",ie),this.applyDescription("subtitle",te),this.applyDescription("caption",void 0),this.layOutTitles(ne)}applyDescription(ie,te){let ne=this,oe=this.options[ie]=b(this.options[ie],te),le=this[ie];le&&te&&(this[ie]=le=le.destroy()),oe&&!le&&((le=this.renderer.text(oe.text,0,0,oe.useHTML).attr({align:oe.align,class:"highcharts-"+ie,zIndex:oe.zIndex||4}).add()).update=function(ue,de){ne.applyDescription(ie,ue),ne.layOutTitles(de)},this.styledMode||le.css(M(ie==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},oe.style)),this[ie]=le)}layOutTitles(ie=!0){let te=[0,0,0],ne=this.renderer,oe=this.spacingBox;["title","subtitle","caption"].forEach(function(ue){let de=this[ue],fe=this.options[ue],me=fe.verticalAlign||"top",ge=ue==="title"?me==="top"?-3:0:me==="top"?te[0]+2:0;if(de){de.css({width:(fe.width||oe.width+(fe.widthAdjust||0))+"px"});let Ee=ne.fontMetrics(de).b,ve=Math.round(de.getBBox(fe.useHTML).height);de.align(M({y:me==="bottom"?Ee:ge+Ee,height:ve},fe),!1,"spacingBox"),fe.floating||(me==="top"?te[0]=Math.ceil(te[0]+ve):me==="bottom"&&(te[2]=Math.ceil(te[2]+ve)))}},this),te[0]&&(this.options.title.verticalAlign||"top")==="top"&&(te[0]+=this.options.title.margin),te[2]&&this.options.caption.verticalAlign==="bottom"&&(te[2]+=this.options.caption.margin);let le=!this.titleOffset||this.titleOffset.join(",")!==te.join(",");this.titleOffset=te,F(this,"afterLayOutTitles"),!this.isDirtyBox&&le&&(this.isDirtyBox=this.isDirtyLegend=le,this.hasRendered&&ie&&this.isDirtyBox&&this.redraw())}getContainerBox(){let ie=[].map.call(this.renderTo.children,ne=>{if(ne!==this.container){let oe=ne.style.display;return ne.style.display="none",[ne,oe]}}),te={width:X(this.renderTo,"width",!0)||0,height:X(this.renderTo,"height",!0)||0};return ie.filter(Boolean).forEach(([ne,oe])=>{ne.style.display=oe}),te}getChartSize(){var ue;let ie=this.options.chart,te=ie.width,ne=ie.height,oe=this.getContainerBox(),le=oe.height>1&&!(!((ue=this.renderTo.parentElement)!=null&&ue.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,te||oe.width||600),this.chartHeight=Math.max(0,W(ne,this.chartWidth)||(le?oe.height:400)),this.containerBox=oe}temporaryDisplay(ie){let te=this.renderTo,ne;if(ie)for(;te&&te.style;)te.hcOrigStyle&&(h(te,te.hcOrigStyle),delete te.hcOrigStyle),te.hcOrigDetached&&(S.body.removeChild(te),te.hcOrigDetached=!1),te=te.parentNode;else for(;te&&te.style&&(S.body.contains(te)||te.parentNode||(te.hcOrigDetached=!0,S.body.appendChild(te)),(X(te,"display",!1)==="none"||te.hcOricDetached)&&(te.hcOrigStyle={display:te.style.display,height:te.style.height,overflow:te.style.overflow},ne={display:"block",overflow:"hidden"},te!==this.renderTo&&(ne.height=0),h(te,ne),te.offsetWidth||te.style.setProperty("display","block","important")),(te=te.parentNode)!==S.body););}setClassName(ie){this.container.className="highcharts-container "+(ie||"")}getContainer(){var ve;let ie=this.options,te=ie.chart,ne="data-highcharts-chart",oe=ae(),le,ue=this.renderTo;ue||(this.renderTo=ue=te.renderTo),U(ue)&&(this.renderTo=ue=S.getElementById(ue)),ue||E(13,!0,this);let de=z(u(ue,ne));w(de)&&P[de]&&P[de].hasRendered&&P[de].destroy(),u(ue,ne,this.index),ue.innerHTML=V.emptyHTML,te.skipClone||ue.offsetWidth||this.temporaryDisplay(),this.getChartSize();let fe=this.chartHeight,me=this.chartWidth;h(ue,{overflow:"hidden"}),this.styledMode||(le=M({position:"relative",overflow:"hidden",width:me+"px",height:fe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},te.style||{}));let ge=d("div",{id:oe},le,ue);this.container=ge,this.getChartSize(),me===this.chartWidth||(me=this.chartWidth,this.styledMode||h(ge,{width:O((ve=te.style)==null?void 0:ve.width,me+"px")})),this.containerBox=this.getContainerBox(),this._cursor=ge.style.cursor;let Ee=te.renderer||!v?K.getRendererType(te.renderer):Z;if(this.renderer=new Ee(ge,me,fe,void 0,te.forExport,ie.exporting&&ie.exp
128orting.allowHTML,this.styledMode),j(void 0,this),this.setClassName(te.className),this.styledMode)for(let ye in ie.defs)this.renderer.definition(ie.defs[ye]);else this.renderer.setStyle(te.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")}getMargins(ie){let{spacing:te,margin:ne,titleOffset:oe}=this;this.resetMargins(),oe[0]&&!m(ne[0])&&(this.plotTop=Math.max(this.plotTop,oe[0]+te[0])),oe[2]&&!m(ne[2])&&(this.marginBottom=Math.max(this.marginBottom,oe[2]+te[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ne,te),F(this,"getMargins"),ie||this.getAxisMargins()}getAxisMargins(){let ie=this,te=ie.axisOffset=[0,0,0,0],ne=ie.colorAxis,oe=ie.margin,le=function(ue){ue.forEach(function(de){de.visible&&de.getOffset()})};ie.hasCartesianSeries?le(ie.axes):ne&&ne.length&&le(ne),g.forEach(function(ue,de){m(oe[de])||(ie[ue]+=te[de])}),ie.setChartSize()}getOptions(){return f(this.userOptions,s)}reflow(ie){var le;let te=this,ne=te.containerBox,oe=te.getContainerBox();(le=te.pointer)==null||delete le.chartPosition,!te.isPrinting&&!te.isResizing&&ne&&oe.width&&((oe.width!==ne.width||oe.height!==ne.height)&&(Y.clearTimeout(te.reflowTimeout),te.reflowTimeout=se(function(){te.container&&te.setSize(void 0,void 0,!1)},ie?100:0)),te.containerBox=oe)}setReflow(){let ie=this,te=ne=>{var oe;(oe=ie.options)!=null&&oe.chart.reflow&&ie.hasLoaded&&ie.reflow(ne)};if(typeof ResizeObserver=="function")new ResizeObserver(te).observe(ie.renderTo);else{let ne=o(p,"resize",te);o(this,"destroy",ne)}}setSize(ie,te,ne){let oe=this,le=oe.renderer;oe.isResizing+=1,j(ne,oe);let ue=le.globalAnimation;oe.oldChartHeight=oe.chartHeight,oe.oldChartWidth=oe.chartWidth,ie!==void 0&&(oe.options.chart.width=ie),te!==void 0&&(oe.options.chart.height=te),oe.getChartSize();let{chartWidth:de,chartHeight:fe,scrollablePixelsX:me=0,scrollablePixelsY:ge=0}=oe;(oe.isDirtyBox||de!==oe.oldChartWidth||fe!==oe.oldChartHeight)&&(oe.styledMode||(ue?T:h)(oe.container,{width:`${de+me}px`,height:`${fe+ge}px`},ue),oe.setChartSize(!0),le.setSize(de,fe,ue),oe.axes.forEach(function(Ee){Ee.isDirty=!0,Ee.setScale()}),oe.isDirtyLegend=!0,oe.isDirtyBox=!0,oe.layOutTitles(),oe.getMargins(),oe.redraw(ue),oe.oldChartHeight=void 0,F(oe,"resize"),setTimeout(()=>{oe&&F(oe,"endResize")},L(ue).duration)),oe.isResizing-=1}setChartSize(ie){let te,ne,oe,le,{chartHeight:ue,chartWidth:de,inverted:fe,spacing:me,renderer:ge}=this,Ee=this.clipOffset,ve=Math[fe?"floor":"round"];this.plotLeft=te=Math.round(this.plotLeft),this.plotTop=ne=Math.round(this.plotTop),this.plotWidth=oe=Math.max(0,Math.round(de-te-this.marginRight)),this.plotHeight=le=Math.max(0,Math.round(ue-ne-this.marginBottom)),this.plotSizeX=fe?le:oe,this.plotSizeY=fe?oe:le,this.spacingBox=ge.spacingBox={x:me[3],y:me[0],width:de-me[3]-me[1],height:ue-me[0]-me[2]},this.plotBox=ge.plotBox={x:te,y:ne,width:oe,height:le},Ee&&(this.clipBox={x:ve(Ee[3]),y:ve(Ee[0]),width:ve(this.plotSizeX-Ee[1]-Ee[3]),height:ve(this.plotSizeY-Ee[0]-Ee[2])}),ie||(this.axes.forEach(function(ye){ye.setAxisSize(),ye.setAxisTranslation()}),ge.alignElements()),F(this,"afterSetChartSize",{skipAxes:ie})}resetMargins(){F(this,"resetMargins");let ie=this,te=ie.options.chart,ne=te.plotBorderWidth||0,oe=ne/2;["margin","spacing"].forEach(function(le){let ue=te[le],de=A(ue)?ue:[ue,ue,ue,ue];["Top","Right","Bottom","Left"].forEach(function(fe,me){ie[le][me]=O(te[le+fe],de[me])})}),g.forEach(function(le,ue){ie[le]=O(ie.margin[ue],ie.spacing[ue])}),ie.axisOffset=[0,0,0,0],ie.clipOffset=[oe,oe,oe,oe],ie.plotBorderWidth=ne}drawChartBox(){let ie=this.options.chart,te=this.renderer,ne=this.chartWidth,oe=this.chartHeight,le=this.styledMode,ue=this.plotBGImage,de=ie.backgroundColor,fe=ie.plotBackgroun
vendor: 10,150 bytes, line 128
128dColor,me=ie.plotBackgroundImage,ge=this.plotLeft,Ee=this.plotTop,ve=this.plotWidth,ye=this.plotHeight,Se=this.plotBox,xe=this.clipRect,Ce=this.clipBox,Oe=this.chartBackground,Pe=this.plotBackground,He=this.plotBorder,Je,Xe,dt,ct="animate";Oe||(this.chartBackground=Oe=te.rect().addClass("highcharts-background").add(),ct="attr"),le?Je=Xe=Oe.strokeWidth():(Xe=(Je=ie.borderWidth||0)+(ie.shadow?8:0),dt={fill:de||"none"},(Je||Oe["stroke-width"])&&(dt.stroke=ie.borderColor,dt["stroke-width"]=Je),Oe.attr(dt).shadow(ie.shadow)),Oe[ct]({x:Xe/2,y:Xe/2,width:ne-Xe-Je%2,height:oe-Xe-Je%2,r:ie.borderRadius}),ct="animate",Pe||(ct="attr",this.plotBackground=Pe=te.rect().addClass("highcharts-plot-background").add()),Pe[ct](Se),!le&&(Pe.attr({fill:fe||"none"}).shadow(ie.plotShadow),me&&(ue?(me!==ue.attr("href")&&ue.attr("href",me),ue.animate(Se)):this.plotBGImage=te.image(me,ge,Ee,ve,ye).add())),xe?xe.animate({width:Ce.width,height:Ce.height}):this.clipRect=te.clipRect(Ce),ct="animate",He||(ct="attr",this.plotBorder=He=te.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),le||He.attr({stroke:ie.plotBorderColor,"stroke-width":ie.plotBorderWidth||0,fill:"none"}),He[ct](He.crisp({x:ge,y:Ee,width:ve,height:ye},-He.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")}propFromSeries(){let ie,te,ne,oe=this,le=oe.options.chart,ue=oe.options.series;["inverted","angular","polar"].forEach(function(de){for(te=a[le.type],ne=le[de]||te&&te.prototype[de],ie=ue&&ue.length;!ne&&ie--;)(te=a[ue[ie].type])&&te.prototype[de]&&(ne=!0);oe[de]=ne})}linkSeries(ie){let te=this,ne=te.series;ne.forEach(function(oe){oe.linkedSeries.length=0}),ne.forEach(function(oe){let{linkedTo:le}=oe.options;if(U(le)){let ue;(ue=le===":previous"?te.series[oe.index-1]:te.get(le))&&ue.linkedParent!==oe&&(ue.linkedSeries.push(oe),oe.linkedParent=ue,ue.enabledDataSorting&&oe.setDataSortingOptions(),oe.visible=O(oe.options.visible,ue.options.visible,oe.visible))}}),F(this,"afterLinkSeries",{isUpdating:ie})}renderSeries(){this.series.forEach(function(ie){ie.translate(),ie.render()})}render(){var ge;let ie=this.axes,te=this.colorAxis,ne=this.renderer,oe=this.options.chart.axisLayoutRuns||2,le=Ee=>{Ee.forEach(ve=>{ve.visible&&ve.render()})},ue=0,de=!0,fe,me=0;for(let Ee of(this.setTitle(),F(this,"beforeMargins"),(ge=this.getStacks)==null||ge.call(this),this.getMargins(!0),this.setChartSize(),ie)){let{options:ve}=Ee,{labels:ye}=ve;if(this.hasCartesianSeries&&Ee.horiz&&Ee.visible&&ye.enabled&&Ee.series.length&&Ee.coll!=="colorAxis"&&!this.polar){ue=ve.tickLength,Ee.createGroups();let Se=new H(Ee,0,"",!0),xe=Se.createLabel("x",ye);if(Se.destroy(),xe&&O(ye.reserveSpace,!w(ve.crossing))&&(ue=xe.getBBox().height+ye.distance+Math.max(ve.offset||0,0)),ue){xe==null||xe.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-ue,0);(de||fe||oe>1)&&me<oe;){let Ee=this.plotWidth,ve=this.plotHeight;for(let ye of ie)me===0?ye.setScale():(ye.horiz&&de||!ye.horiz&&fe)&&ye.setTickInterval(!0);me===0?this.getAxisMargins():this.getMargins(),de=Ee/this.plotWidth>(me?1:1.1),fe=ve/this.plotHeight>(me?1:1.05),me++}this.drawChartBox(),this.hasCartesianSeries?le(ie):te&&te.length&&le(te),this.seriesGroup||(this.seriesGroup=ne.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(ie){let te=this,ne=b(!0,this.options.credits,ie);ne.enabled&&!this.credits&&(this.credits=this.renderer.text(ne.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ne.href&&(p.location.href=ne.href)}).attr({align:ne.position.align,zIndex:8}),te.styledMode||this.credits.css(ne.style),this.credits.add().align(ne.position),this.credits.update=function(oe){te.credits=te.credits.destroy(),te.addCredits(oe)})}destroy(){let ie,te=this,ne=te.axes,oe=te.series,le=te.container,ue=le&&le.parentNode;for(F(te,"destroy"),te.renderer.forExport?I(P,te):P[te.index]=void 0,$.chartCount--,te.renderTo.removeAttribute("data-highcharts-chart"),Q(te),ie=ne.length;ie--;)ne[ie]=ne[ie].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),ie=oe.length;ie--;)oe[ie]=oe[ie].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(de){let fe=te[de];fe&&fe.destroy&&(te[de]=fe.destroy())}),le&&(le.innerHTML=V.emptyHTML,Q(le),ue&&y(le)),k(te,function(de,fe){delete te[fe]})}firstRender(){var oe;let ie=this,te=ie.options;ie.getContainer(),ie.resetMargins(),ie.setChartSize(),ie.propFromSeries(),ie.getAxes();let ne=_(te.series)?te.series:[];te.series=[],ne.forEach(function(le){ie.initSeries(le)}),ie.linkSeries(),ie.setSortedData(),F(ie,"beforeRender"),ie.render(),(oe=ie.pointer)==null||oe.getChartPosition(),ie.renderer.imgCount||ie.hasLoaded||ie.onload(),ie.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(ie){ie&&this.index!==void 0&&ie.apply(this,[this])},this),F(this,"load"),F(this,"render"),m(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:ie,title:te}=this;!ie||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(te&&te.element.textContent||"").replace(/</g,"<")}),ie.accessibility&&ie.accessibility.enabled===!1||E('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(ie,te,ne){let oe,le=this;return ie&&(te=O(te,!0),F(le,"addSeries",{options:ie},function(){oe=le.initSeries(ie),le.isDirtyLegend=!0,le.linkSeries(),oe.enabledDataSorting&&oe.setData(ie.data,!1),F(le,"afterAddSeries",{series:oe}),te&&le.redraw(ne)})),oe}addAxis(ie,te,ne,oe){return this.createAxis(te?"xAxis":"yAxis",{axis:ie,redraw:ne,animation:oe})}addColorAxis(ie,te,ne){return this.createAxis("colorAxis",{axis:ie,redraw:te,animation:ne})}createAxis(ie,te){let ne=new n(this,te.axis,ie);return O(te.redraw,!0)&&this.redraw(te.animation),ne}showLoading(ie){let te=this,ne=te.options,oe=ne.loading,le=function(){ue&&h(ue,{left:te.plotLeft+"px",top:te.plotTop+"px",width:te.plotWidth+"px",height:te.plotHeight+"px"})},ue=te.loadingDiv,de=te.loadingSpan;ue||(te.loadingDiv=ue=d("div",{className:"highcharts-loading highcharts-loading-hidden"},null,te.container)),de||(te.loadingSpan=de=d("span",{className:"highcharts-loading-inner"},null,ue),o(te,"redraw",le)),ue.className="highcharts-loading",V.setElementHTML(de,O(ie,ne.lang.loading,"")),te.styledMode||(h(ue,M(oe.style,{zIndex:10})),h(de,oe.labelStyle),te.loadingShown||(h(ue,{opacity:0,display:""}),T(ue,{opacity:oe.style.opacity||.5},{duration:oe.showDuration||0}))),te.loadingShown=!0,le()}hideLoading(){let ie=this.options,te=this.loadingDiv;te&&(te.className="highcharts-loading highcharts-loading-hidden",this.styledMode||T(te,{opacity:0},{duration:ie.loading.hideDuration||100,complete:function(){h(te,{display:"none"})}})),this.loadingShown=!1}update(ie,te,ne,oe){let le,ue,de,fe=this,me={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},ge=ie.isResponsiveOptions,Ee=[];F(fe,"update",{options:ie}),ge||fe.setResponsive(!1,!0),ie=f(ie,fe.options),fe.userOptions=b(fe.userOptions,ie);let ve=ie.chart;ve&&(b(!0,fe.options.chart,ve),this.setZoomOptions(),"className"in ve&&fe.setClassName(ve.className),("inverted"in ve||"polar"in ve||"type"in ve)&&(fe.propFromSeries(),le=!0),"alignTicks"in ve&&(le=!0),"events"in ve&&N(this,ve),k(ve,function(xe,Ce){fe.propsRequireUpdateSeries.indexOf("chart."+Ce)!==-1&&(ue=!0),fe.propsRequireDirtyBox.indexOf(Ce)!==-1&&(fe.isDirtyBox=!0),fe.propsRequireReflow.indexOf(Ce)===-1||(fe.isDirtyBox=!0,ge||(de=!0))}),!fe.styledMode&&ve.style&&fe.renderer.setStyle(fe.options.chart.style||{})),!fe.styledMode&&ie.colors&&(this.options.colors=ie.colors),ie.time&&(this.time===c&&(this.time=new R(ie.time)),b(!0,fe.options.time,ie.time)),k(ie,function(xe,Ce){fe[Ce]&&typeof fe[Ce].update=="function"?fe[Ce].update(xe,!1):typeof fe[me[Ce]]=="function"?fe[me[Ce]](xe):Ce!=="colors"&&fe.collectionsWithUpdate.indexOf(Ce)===-1&&b(!0,fe.options[Ce],ie[Ce]),Ce!=="chart"&&fe.propsRequireUpdateSeries.indexOf(Ce)!==-1&&(ue=!0)}),this.collectionsWithUpdate.forEach(function(xe){ie[xe]&&(ee(ie[xe]).forEach(function(Ce,Oe){let Pe,He=m(Ce.id);He&&(Pe=fe.get(Ce.id)),!Pe&&fe[xe]&&(Pe=fe[xe][O(Ce.index,Oe)])&&(He&&m(Pe.options.id)||Pe.options.isInternal)&&(Pe=void 0),Pe&&Pe.coll===xe&&(Pe.update(Ce,!1),ne&&(Pe.touched=!0)),!Pe&&ne&&fe.collectionsWithInit[xe]&&(fe.collectionsWithInit[xe][0].apply(fe,[Ce].concat(fe.collectionsWithInit[xe][1]||[]).concat([!1])).touched=!0)}),ne&&fe[xe].forEach(function(Ce){Ce.touched||Ce.options.isInternal?delete Ce.touched:Ee.push(Ce)}))}),Ee.forEach(function(xe){xe.chart&&xe.remove&&xe.remove(!1)}),le&&fe.axes.forEach(function(xe){xe.update({},!1)}),ue&&fe.getSeriesOrderByLinks().forEach(function(xe){xe.chart&&xe.update({},!1)},this);let ye=ve&&ve.width,Se=ve&&(U(ve.height)?W(ve.height,ye||fe.chartWidth):ve.height);de||w(ye)&&ye!==fe.chartWidth||w(Se)&&Se!==fe.chartHeight?fe.setSize(ye,Se,oe):O(te,!0)&&fe.redraw(oe),F(fe,"afterUpdate",{options:ie,redraw:te,animation:oe})}setSubtitle(ie,te){this.applyDescription("subtitle",ie),this.layOutTitles(te)}setCaption(ie,te){this.applyDescription("caption",ie),this.layOutTitles(te)}showResetZoom(){let ie=this,te=s.lang,ne=ie.zooming.resetButton,oe=ne.theme,le=ne.relativeTo==="chart"||ne.relativeTo==="spacingBox"?null:"plotBox";function ue(){ie.zoomOut()}F(this,"beforeShowResetZoom",null,function(){ie.resetZoomButton=ie.renderer.button(te.resetZoom,null,null,ue,oe).attr({align:ne.position.align,title:te.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ne.position,!1,le)}),F(this,"afterShowResetZoom")}zoomOut(){F(this,"selection",{resetSelection:!0}
128,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(ie,te){let ne=this,oe=typeof te=="object"?te:{enabled:te,type:"x"},le=oe.type,ue=le&&ne[{x:"xAxis",xy:"axes",y:"yAxis"}[le]].filter(fe=>fe.options.panningEnabled&&!fe.options.isInternal),de=ne.options.chart;de!=null&&de.panning&&(de.panning=oe),F(this,"pan",{originalEvent:ie},()=>{ne.transform({axes:ue,event:ie,to:{x:ie.chartX-(ne.mouseDownX||0),y:ie.chartY-(ne.mouseDownY||0)},trigger:"pan"}),h(ne.container,{cursor:"move"})})}transform(ie){var ye;let{axes:te=this.axes,event:ne,from:oe={},reset:le,selection:ue,to:de={},trigger:fe}=ie,{inverted:me}=this,ge=!1,Ee,ve;for(let Se of((ye=this.hoverPoints)==null||ye.forEach(xe=>xe.setState()),te)){let{horiz:xe,len:Ce,minPointOffset:Oe=0,options:Pe,reversed:He}=Se,Je=xe?"width":"height",Xe=xe?"x":"y",dt=O(de[Je],Se.len),ct=O(oe[Je],Se.len),vt=10>Math.abs(dt)?1:dt/ct,Gt=(oe[Xe]||0)+ct/2-Se.pos,Ft=Gt-((de[Xe]??Se.pos)+dt/2-Se.pos)/vt,Ii=He&&!me||!He&&me?-1:1;if(!le&&(Gt<0||Gt>Se.len))continue;let mt=Se.toValue(Ft,!0)+(ue||Se.isOrdinal?0:Oe*Ii),Lt=Se.toValue(Ft+Ce/vt,!0)-(ue||Se.isOrdinal?0:Oe*Ii||0),Kt=Se.allExtremes;if(mt>Lt&&([mt,Lt]=[Lt,mt]),vt===1&&!le&&Se.coll==="yAxis"&&!Kt){for(let Ct of Se.series){let Fe=Ct.getExtremes(Ct.getProcessedData(!0).yData,!0);Kt??(Kt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),w(Fe.dataMin)&&w(Fe.dataMax)&&(Kt.dataMin=Math.min(Fe.dataMin,Kt.dataMin),Kt.dataMax=Math.max(Fe.dataMax,Kt.dataMax))}Se.allExtremes=Kt}let{dataMin:Po,dataMax:qn,min:fs,max:Fs}=M(Se.getExtremes(),Kt||{}),Vs=Po??Pe.min,zs=qn??Pe.max,Zn=Lt-mt,yn=Se.categories?0:Math.min(Zn,zs-Vs),Fn=Vs-yn*(m(Pe.min)?0:Pe.minPadding),Kn=zs+yn*(m(Pe.max)?0:Pe.maxPadding),$s=Se.allowZoomOutside||vt===1||fe!=="zoom"&&vt>1,hn=Math.min(Pe.min??Fn,Fn,$s?fs:Fn),vn=Math.max(Pe.max??Kn,Kn,$s?Fs:Kn);(!Se.isOrdinal||Se.options.overscroll||vt!==1||le)&&(mt<hn&&(mt=hn,vt>=1&&(Lt=mt+Zn)),Lt>vn&&(Lt=vn,vt>=1&&(mt=Lt-Zn)),(le||Se.series.length&&(mt!==fs||Lt!==Fs)&&mt>=hn&&Lt<=vn)&&(ue?ue[Se.coll].push({axis:Se,min:mt,max:Lt}):(Se.isPanning=fe!=="zoom",Se.isPanning&&(ve=!0),Se.setExtremes(le?void 0:mt,le?void 0:Lt,!1,!1,{move:Ft,trigger:fe,scale:vt}),!le&&(mt>hn||Lt<vn)&&fe!=="mousewheel"&&(Ee=!0)),ge=!0),ne&&(this[xe?"mouseDownX":"mouseDownY"]=ne[xe?"chartX":"chartY"]))}return ge&&(ue?F(this,"selection",ue,()=>{delete ie.selection,ie.trigger="zoom",this.transform(ie)}):(!Ee||ve||this.resetZoomButton?!Ee&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(fe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),ge}}return M(he.prototype,{callbacks:[],collectionsWithInit:{xAxis:[he.prototype.addAxis,[!0]],yAxis:[he.prototype.addAxis,[!1]],series:[he.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
128dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),he}),r(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{stop:B}=t,{composed:$}=n,{addEvent:K,createElement:G,css:q,defined:Z,merge:R,pushUnique:Y}=C;function V(){let L=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!L&&(this.scrollablePlotArea=L=new T(this)),L==null||L.applyFixed()}function H(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class T{static compose(j,s,c){Y($,this.compose)&&(K(j,"afterInit",H),K(s,"afterSetChartSize",x=>this.afterSetSize(x.target,x)),K(s,"render",V),K(c,"show",H))}static afterSetSize(j,s){let c,x,N,{minWidth:P,minHeight:S}=j.options.chart.scrollablePlotArea||{},{clipBox:g,plotBox:v,inverted:p,renderer:a}=j;if(!a.forExport&&(P?(j.scrollablePixelsX=c=Math.max(0,P-j.chartWidth),c&&(j.scrollablePlotBox=R(j.plotBox),v.width=j.plotWidth+=c,g[p?"height":"width"]+=c,N=!0)):S&&(j.scrollablePixelsY=x=Math.max(0,S-j.chartHeight),Z(x)&&(j.scrollablePlotBox=R(j.plotBox),v.height=j.plotHeight+=x,g[p?"width":"height"]+=x,N=!1)),Z(N)&&!s.skipAxes))for(let o of j.axes)o.horiz===N&&(o.setAxisSize(),o.setAxisTranslation())}constructor(j){var u;let s,c=j.options.chart,x=l.getRendererType(),N=c.scrollablePlotArea||{},P=this.moveFixedElements.bind(this),S={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};
128j.scrollablePixelsX&&(S.overflowX="auto"),j.scrollablePixelsY&&(S.overflowY="auto"),this.chart=j;let g=this.parentDiv=G("div",{className:"highcharts-scrolling-parent"},{position:"relative"},j.renderTo),v=this.scrollingContainer=G("div",{className:"highcharts-scrolling"},S,g),p=this.innerContainer=G("div",{className:"highcharts-inner-container"},void 0,v),a=this.fixedDiv=G("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((u=c.style)==null?void 0:u.zIndex)||0)+2,top:0},void 0,!0),o=this.fixedRenderer=new x(a,j.chartWidth,j.chartHeight,c.style);this.mask=o.path().attr({fill:c.backgroundColor||"#fff","fill-opacity":N.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),v.parentNode.insertBefore(a,v),q(j.renderTo,{overflow:"visible"}),K(j,"afterShowResetZoom",P),K(j,"afterApplyDrilldown",P),K(j,"afterLayOutTitles",P),K(v,"scroll",()=>{let{pointer:d,hoverPoint:h}=j;d&&(delete d.chartPosition,h&&(s=h),d.runPointActions(void 0,s,!0))}),p.appendChild(j.container)}applyFixed(){var w;let{chart:j,fixedRenderer:s,isDirty:c,scrollingContainer:x}=this,{axisOffset:N,chartWidth:P,chartHeight:S,container:g,plotHeight:v,plotLeft:p,plotTop:a,plotWidth:o,scrollablePixelsX:u=0,scrollablePixelsY:d=0}=j,{scrollPositionX:h=0,scrollPositionY:m=0}=j.options.chart.scrollablePlotArea||{},f=P+u,y=S+d;s.setSize(P,S),(c??!0)&&(this.isDirty=!1,this.moveFixedElements()),B(j.container),q(g,{width:`${f}px`,height:`${y}px`}),j.renderer.boxWrapper.attr({width:f,height:y,viewBox:[0,0,f,y].join(" ")}),(w=j.chartBackground)==null||w.attr({width:f,height:y}),q(x,{width:`${P}px`,height:`${S}px`}),Z(c)||(x.scrollLeft=u*h,x.scrollTop=d*m);let I=a-N[0]-1,E=p-N[3]-1,M=a+v+N[2]+1,D=p+o+N[1]+1,F=p+o-u,X=a+v-d,_=[["M",0,0]];u?_=[["M",0,I],["L",p-1,I],["L",p-1,M],["L",0,M],["Z"],["M",F,I],["L",P,I],["L",P,M],["L",F,M],["Z"]]:d&&(_=[["M",E,0],["L",E,a-1],["L",D,a-1],["L",D,0],["Z"],["M",E,X],["L",E,S],["L",D,S],["L",D,X],["Z"]]),j.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:_})}moveFixedElements(){let j,{container:s,inverted:c,scrollablePixelsX:x,scrollablePixelsY:N}=this.chart,P=this.fixedRenderer,S=T.fixedSelectors;for(let g of(x&&!c?j=".highcharts-yaxis":x&&c||N&&!c?j=".highcharts-xaxis":N&&c&&(j=".highcharts-yaxis"),j&&S.push(`${j}:not(.highcharts-radial-axis)`,`${j}-labels:not(.highcharts-radial-axis-labels)`),S))[].forEach.call(s.querySelectorAll(g),v=>{(v.namespaceURI===P.SVG_NS?P.box:P.box.parentNode).appendChild(v),v.style.pointerEvents="auto"})}}return T.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],T}),r(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{format:C}=t,{series:B}=n,{destroyObjectProperties:$,fireEvent:K,isNumber:G,pick:q}=l;return class{constructor(Z,R,Y,V,H){let T=Z.chart.inverted,L=Z.reversed;this.axis=Z;let j=this.isNegative=!!Y!=!!L;this.options=R=R||{},this.x=V,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=H,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:R.align||(T?j?"left":"right":"center"),verticalAlign:R.verticalAlign||(T?"middle":j?"bottom":"top"),y:R.y,x:R.x},this.textAlign=R.textAlign||(T?j?"right":"left":"center")}destroy(){$(this,this.axis)}render(Z){let R=this.axis.chart,Y=this.options,V=Y.format,H=V?C(V,this,R):Y.formatter.call(this);if(this.label)this.label.attr({text:H,visibility:"hidden"});else{this.label=R.renderer.label(H,null,void 0,Y.shape,void 0,void 0,Y.useHTML,!1,"stack-labels");let T={r:Y.borderRadius||0,text:H,padding:q(Y.padding,5),visibility:"hidden"};R.styledMode||(T.fill=Y.backgroundColor,T.stroke=Y.borderColor,T["stroke-width"]=Y.borderWidth,this.label.css(Y.style||{})),this.label.attr(T),this.label.added||this.label.add(Z)}
128this.label.labelrank=R.plotSizeY,K(this,"afterRender")}setOffset(Z,R,Y,V,H,T){let{alignOptions:L,axis:j,label:s,options:c,textAlign:x}=this,N=j.chart,P=this.getStackBox({xOffset:Z,width:R,boxBottom:Y,boxTop:V,defaultX:H,xAxis:T}),{verticalAlign:S}=L;if(s&&P){let g=s.getBBox(void 0,0),v=s.padding,p=q(c.overflow,"justify")==="justify",a;L.x=c.x||0,L.y=c.y||0;let{x:o,y:u}=this.adjustStackPosition({labelBox:g,verticalAlign:S,textAlign:x});P.x-=o,P.y-=u,s.align(L,!1,P),(a=N.isInsidePlot(s.alignAttr.x+L.x+o,s.alignAttr.y+L.y+u))||(p=!1),p&&B.prototype.justifyDataLabel.call(j,s,L,s.alignAttr,g,P),s.attr({x:s.alignAttr.x,y:s.alignAttr.y,rotation:c.rotation,rotationOriginX:g.width*{left:0,center:.5,right:1}[c.textAlign||"center"],rotationOriginY:g.height/2}),q(!p&&c.crop,!0)&&(a=G(s.x)&&G(s.y)&&N.isInsidePlot(s.x-v+(s.width||0),s.y)&&N.isInsidePlot(s.x+v,s.y)),s[a?"show":"hide"]()}K(this,"afterSetOffset",{xOffset:Z,width:R})}adjustStackPosition({labelBox:Z,verticalAlign:R,textAlign:Y}){let V={bottom:0,middle:1,top:2,right:1,center:0,left:-1},H=V[R],T=V[Y];return{x:Z.width/2+Z.width/2*T,y:Z.height/2*H}}getStackBox(Z){let R=this.axis,Y=R.chart,{boxTop:V,defaultX:H,xOffset:T,width:L,boxBottom:j}=Z,s=R.stacking.usePercentage?100:q(V,this.total,0),c=R.toPixels(s),x=Z.xAxis||Y.xAxis[0],N=q(H,x.translate(this.x))+T,P=Math.abs(c-R.toPixels(j||G(R.min)&&R.logarithmic&&R.logarithmic.lin2log(R.min)||0)),S=Y.inverted,g=this.isNegative;return S?{x:(g?c:c-P)-Y.plotLeft,y:x.height-N-L+x.top-Y.plotTop,width:P,height:L}:{x:N+x.transB-Y.plotLeft,y:(g?c-P:c)-Y.plotTop,width:L,height:P}}}}),r(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{getDeferredAnimation:K}=t,{series:{prototype:G}}=l,{addEvent:q,correctFloat:Z,defined:R,destroyObjectProperties:Y,fireEvent:V,isArray:H,isNumber:T,objectEach:L,pick:j}=B;function s(){let a=this.inverted;this.axes.forEach(o=>{o.stacking&&o.stacking.stacks&&o.hasVisibleSeries&&(o.stacking.oldStacks=o.stacking.stacks)}),this.series.forEach(o=>{let u=o.xAxis&&o.xAxis.options||{};o.options.stacking&&o.reserveSpace()&&(o.stackKey=[o.type,j(o.options.stack,""),a?u.top:u.left,a?u.height:u.width].join(","))})}function c(){var o;let a=this.stacking;if(a){let u=a.stacks;L(u,(d,h)=>{Y(d),delete u[h]}),(o=a.stackTotalGroup)==null||o.destroy()}}function x(){this.stacking||(this.stacking=new p(this))}function N(a,o,u,d){return!R(a)||a.x!==o||d&&a.stackKey!==d?a={x:o,index:0,key:d,stackKey:d}:a.index++,a.key=[u,o,a.index].join(","),a}function P(){let a,o=this,u=o.yAxis,d=o.stackKey||"",h=u.stacking.stacks,m=o.processedXData,f=o.options.stacking,y=o[f+"Stacker"];y&&[d,"-"+d].forEach(I=>{var X;let E=m.length,M,D,F;for(;E--;)M=m[E],a=o.getStackIndicator(a,M,o.index,I),D=(X=h[I])==null?void 0:X[M],(F=D==null?void 0:D.points[a.key||""])&&y.call(o,F,D,E)})}function S(a,o,u){let d=o.total?100/o.total:0;a[0]=Z(a[0]*d),a[1]=Z(a[1]*d),this.stackedYData[u]=a[1]}function g(a){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?G.setStackedPoints.call(this,a,"group"):a.stacking.resetStacks())}function v(a,o){var ae,he;let u,d,h,m,f,y,I,E,M,D=o||this.options.stacking;if(!D||!this.reserveSpace()||({group:"xAxis"}[D]||"yAxis")!==a.coll)return;let F=this.processedXData,X=this.processedYData,_=[],w=X.length,A=this.options,U=A.threshold||0,b=A.startFromThreshold?U:0,k=A.stack,O=o?`${this.type},${D}`:this.stackKey||"",z="-"+O,W=this.negStacks,Q=a.stacking,ee=Q.stacks,se=Q.oldStacks;for(Q.stacksTouched+=1,I=0;I<w;I++){E=F[I],M=X[I],y=(u=this.getStackIndicator(u,E,this.index)).key||"",ee[f=(d=W&&M<(b?0:U))?z:O]||(ee[f]={}),ee[f][E]||((ae=se[f])!=null&&ae[E]?(ee[f][E]=se[f][E],ee[f][E].total=null):ee[f][E]=new C(a,a.options.stackLabels,!!d,E,k)),h=ee[f][E],M!==null?(h.points[y]=h.points[this.index]=[j(h.cumulative,b)],R(h.cumulative)||(h.base=y),h.touched=Q.stacksTouched,u.index>0&&this.singleStacks===!1&&(h.points[y][0]=h.points[this.index+","+E+",0"][0])):(delete h.points[y],delete h.points[this.index]);let ce=h.total||0;D==="percent"?(m=d?O:z,ce=W&&((he=ee[m])!=null&&he[E])?(m=ee[m][E]).total=Math.max(m.total||0,ce)+Math.abs(M)||0:Z(ce+(Math.abs(M)||0))):D==="group"?(H(M)&&(M=M[0]),M!==null&&ce++):ce=Z(ce+(M||0)),D==="group"?h.cumulative=(ce||1)-1:h.cumulative=Z(j(h.cumulative,b)+(M||0)),h.total=ce,M!==null&&(h.points[y].push(h.cumulative),_[I]=h.cumulative,h.hasValidPoints=!0)}D==="percent"&&(Q.usePercentage=!0),D!=="group"&&(this.stackedYData=_),Q.oldStacks={}}class p{constructor(o){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=o}buildStacks(){let o,u,d=this.axis,h=d.series,m=d.coll==="xAxis",f=d.options.reversedStacks,y=h.length;for(this.resetStacks(),this.usePercentage=!1,u=y;u--;)o=h[f?u:y-u-1],m&&o.setGroupedPoints(d),o.setStackedPoints(d);if(!m)for(u=0;
vendor: 5,286 bytes, line 128
128u<y;u++)h[u].modifyStacks();V(d,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,L(this.stacks,o=>{L(o,u=>{u.cumulative=u.total})}))}resetStacks(){L(this.stacks,o=>{L(o,(u,d)=>{T(u.touched)&&u.touched<this.stacksTouched?(u.destroy(),delete o[d]):(u.total=null,u.cumulative=null)})})}renderStackTotals(){var y;let o=this.axis,u=o.chart,d=u.renderer,h=this.stacks,m=K(u,((y=o.options.stackLabels)==null?void 0:y.animation)||!1),f=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({zIndex:6,opacity:0}).add();f.translate(u.plotLeft,u.plotTop),L(h,I=>{L(I,E=>{E.render(f)})}),f.animate({opacity:1},m)}}return($||($={})).compose=function(a,o,u){let d=o.prototype,h=u.prototype;d.getStacks||(q(a,"init",x),q(a,"destroy",c),d.getStacks=s,h.getStackIndicator=N,h.modifyStacks=P,h.percentStacker=S,h.setGroupedPoints=g,h.setStackedPoints=v)},$}),r(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{defined:C,merge:B,isObject:$}=l;class K extends t{drawGraph(){let q=this.options,Z=(this.gappedPath||this.getGraphPath).call(this),R=this.chart.styledMode;[this,...this.zones].forEach((Y,V)=>{let H,T=Y.graph,L=T?"animate":"attr",j=Y.dashStyle||q.dashStyle;T?(T.endX=this.preventGraphAnimation?null:Z.xMap,T.animate({d:Z})):Z.length&&(Y.graph=T=this.chart.renderer.path(Z).addClass("highcharts-graph"+(V?` highcharts-zone-graph-${V-1} `:" ")+(V&&Y.className||"")).attr({zIndex:1}).add(this.group)),T&&!R&&(H={stroke:!V&&q.lineColor||Y.color||this.color||"#cccccc","stroke-width":q.lineWidth||0,fill:this.fillGraph&&this.color||"none"},j?H.dashstyle=j:q.linecap!=="square"&&(H["stroke-linecap"]=H["stroke-linejoin"]="round"),T[L](H).shadow(V<2&&q.shadow&&B({filterUnits:"userSpaceOnUse"},$(q.shadow)?q.shadow:{}))),T&&(T.startX=Z.xMap,T.isArea=Z.isArea)})}getGraphPath(q,Z,R){let Y=this,V=Y.options,H=[],T=[],L,j=V.step,s=(q=q||Y.points).reversed;return s&&q.reverse(),(j={right:1,center:2}[j]||j&&3)&&s&&(j=4-j),(q=this.getValidPoints(q,!1,!(V.connectNulls&&!Z&&!R))).forEach(function(c,x){let N,P=c.plotX,S=c.plotY,g=q[x-1],v=c.isNull||typeof S!="number";(c.leftCliff||g&&g.rightCliff)&&!R&&(L=!0),v&&!C(Z)&&x>0?L=!V.connectNulls:v&&!Z?L=!0:(x===0||L?N=[["M",c.plotX,c.plotY]]:Y.getPointSpline?N=[Y.getPointSpline(q,c,x)]:j?(N=j===1?[["L",g.plotX,S]]:j===2?[["L",(g.plotX+P)/2,g.plotY],["L",(g.plotX+P)/2,S]]:[["L",P,g.plotY]]).push(["L",P,S]):N=[["L",P,S]],T.push(c.x),j&&(T.push(c.x),j===2&&T.push(c.x)),H.push.apply(H,N),L=!1)}),H.xMap=T,Y.graphPath=H,H}}return K.defaultOptions=B(t.defaultOptions,{legendSymbol:"lineMarker"}),n.registerSeriesType("line",K),K}),r(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),r(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{line:C}}=n,{extend:B,merge:$,objectEach:K,pick:G}=l;class q extends C{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:R,options:Y}=this;[this,...this.zones].forEach((V,H)=>{let T={},L=V.fillColor||Y.fillColor,j=V.area,s=j?"animate":"attr";j?(j.endX=this.preventGraphAnimation?null:R.xMap,j.animate({d:R})):(T.zIndex=0,(j=V.area=this.chart.renderer.path(R).addClass("highcharts-area"+(H?` highcharts-zone-area-${H-1} `:" ")+(H&&V.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(T.fill=L||V.color||this.color,T["fill-opacity"]=L?1:Y.fillOpacity??.75,j.css({pointerEvents:this.stickyTracking?"none":"auto"})),j[s](T),j.startX=R.xMap,j.shiftUnit=Y.step?2:1})}getGraphPath(R){let Y,V,H,T=C.prototype.getGraphPath,L=this.options,j=L.stacking,s=this.yAxis,c=[],x=[],N=this.index,P=s.stacking.stacks[this.stackKey],S=L.threshold,g=Math.round(s.getThreshold(L.threshold)),v=G(L.connectNulls,j==="percent"),p=function(m,f,y){let I=R[m],E=j&&P[I.x].points[N],M=I[y+"Null"]||0,D=I[y+"Cliff"]||0,F,X,_=!0;D||M?(F=(M?E[0]:E[1])+D,X=E[0]+D,_=!!M):!j&&R[f]&&R[f].isNull&&(F=X=S),F!==void 0&&(x.push({plotX:Y,plotY:F===null?g:s.getThreshold(F),isNull:_,isCliff:!0}),c.push({plotX:Y,plotY:X===null?g:s.getThreshold(X),doCurve:!1}))};R=R||this.points,j&&(R=this.getStackPoints(R));for(let m=0,f=R.length;m<f;++m)j||(R[m].leftCliff=R[m].rightCliff=R[m].leftNull=R[m].rightNull=void 0),V=R[m].isNull,Y=G(R[m].rectPlotX,R[m].plotX),H=j?G(R[m].yBottom,g):g,V&&!v||(v||p(m,m-1,"left"),V&&!j&&v||(x.push(R[m]),c.push({x:m,plotX:Y,plotY:H})),v||p(m,m+1,"right"));let a=T.call(this,x,!0,!0);c.reversed=!0;let o=T.call(this,c,!0,!0),u=o[0];u&&u[0]==="M"&&(o[0]=["L",u[1],u[2]]);let d=a.concat(o);d.length&&d.push(["Z"]);let h=T.call(this,x,!1,v);return this.chart.series.length>1&&j&&x.some(m=>m.isCliff)&&(d.hasStackedCliffs=h.hasStackedCliffs=!0),d.xMap=a.xMap,this.areaPath=d,h}getStackPoints(R){let Y=this,V=[],H=[],T=this.xAxis,L=this.yAxis,j=L.stacking.stacks[this.stackKey],s={},c=L.series,x=c.length,N=L.options.reversedStacks?1:-1,P=c.indexOf(Y);if(R=R||this.points,this.options.stacking){for(let g=0;g<R.length;g++)R[g].leftNull=R[g].rightNull=void 0,s[R[g].x]=R[g];K(j,function(g,v){g.total!==null&&H.push(v)}),H.sort(function(g,v){return g-v});let S=c.map(g=>g.visible);H.forEach(function(g,v){let p=0,a,o;
128if(s[g]&&!s[g].isNull)V.push(s[g]),[-1,1].forEach(function(u){let d=u===1?"rightNull":"leftNull",h=j[H[v+u]],m=0;if(h){let f=P;for(;f>=0&&f<x;){let y=c[f].index;!(a=h.points[y])&&(y===Y.index?s[g][d]=!0:S[f]&&(o=j[g].points[y])&&(m-=o[1]-o[0])),f+=N}}s[g][u===1?"rightCliff":"leftCliff"]=m});else{let u=P;for(;u>=0&&u<x;){let d=c[u].index;if(a=j[g].points[d]){p=a[1];break}u+=N}p=G(p,0),p=L.translate(p,0,1,0,1),V.push({isNull:!0,plotX:T.translate(g,0,0,0,1),x:g,plotY:p,yBottom:p})}})}return V}}return q.defaultOptions=$(C.defaultOptions,t),B(q.prototype,{singleStacks:!1}),n.registerSeriesType("area",q),q}),r(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{line:l}=t.seriesTypes,{merge:C,pick:B}=n;class $ extends l{getPointSpline(G,q,Z){let R,Y,V,H,T=q.plotX||0,L=q.plotY||0,j=G[Z-1],s=G[Z+1];function c(N){return N&&!N.isNull&&N.doCurve!==!1&&!q.isCliff}if(c(j)&&c(s)){let N=j.plotX||0,P=j.plotY||0,S=s.plotX||0,g=s.plotY||0,v=0;R=(1.5*T+N)/2.5,Y=(1.5*L+P)/2.5,V=(1.5*T+S)/2.5,H=(1.5*L+g)/2.5,V!==R&&(v=(H-Y)*(V-T)/(V-R)+L-H),Y+=v,H+=v,Y>P&&Y>L?(Y=Math.max(P,L),H=2*L-Y):Y<P&&Y<L&&(Y=Math.min(P,L),H=2*L-Y),H>g&&H>L?(H=Math.max(g,L),Y=2*L-H):H<g&&H<L&&(H=Math.min(g,L),Y=2*L-H),q.rightContX=V,q.rightContY=H,q.controlPoints={low:[R,Y],high:[V,H]}}let x=["C",B(j.rightContX,j.plotX,0),B(j.rightContY,j.plotY,0),B(R,T,0),B(Y,L,0),T,L];return j.rightContX=j.rightContY=void 0,x}}return $.defaultOptions=C(l.defaultOptions),t.registerSeriesType("spline",$),$}),r(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{area:C,area:{prototype:B}}=n.seriesTypes,{extend:$,merge:K}=l;class G extends t{}return G.defaultOptions=K(t.defaultOptions,C.defaultOptions),$(G.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph}),n.registerSeriesType("areaspline",G),G}),r(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),r(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{animObject:G}=t,{parse:q}=n,{noop:Z}=C,{clamp:R,crisp:Y,defined:V,extend:H,fireEvent:T,isArray:L,isNumber:j,merge:s,pick:c,objectEach:x}=K;class N extends B{animate(S){let g,v,p=this,a=this.yAxis,o=a.pos,u=a.reversed,d=p.options,{clipOffset:h,inverted:m}=this.chart,f={},y=m?"translateX":"translateY";S&&h?(f.scaleY=.001,v=R(a.toPixels(d.threshold),o,o+a.len),m?(v+=u?-Math.floor(h[0]):Math.ceil(h[2]),f.translateX=v-a.len):(v+=u?Math.ceil(h[0]):-Math.floor(h[2]),f.translateY=v),p.clipBox&&p.setClip(),p.group.attr(f)):(g=Number(p.group.attr(y)),p.group.animate({scaleY:1},H(G(p.options.animation),{step:function(I,E){p.group&&(f[y]=g+E.pos*(o-g),p.group.attr(f))}})))}init(S,g){super.init.apply(this,arguments);let v=this;(S=v.chart).hasRendered&&S.series.forEach(function(p){p.type===v.type&&(p.isDirty=!0)})}getColumnMetrics(){var M,D;let S=this,g=S.options,v=S.xAxis,p=S.yAxis,a=v.options.reversedStacks,o=v.reversed&&!a||!v.reversed&&a,u={},d,h=0;g.grouping===!1?h=1:S.chart.series.forEach(function(F){let X,_=F.yAxis,w=F.options;F.type===S.type&&F.reserveSpace()&&p.len===_.len&&p.pos===_.pos&&(w.stacking&&w.stacking!=="group"?(u[d=F.stackKey]===void 0&&(u[d]=h++),X=u[d]):w.grouping!==!1&&(X=h++),F.columnIndex=X)});let m=Math.min(Math.abs(v.transA)*(!((M=v.brokenAxis)!=null&&M.hasBreaks)&&((D=v.ordinal)==null?void 0:D.slope)||g.pointRange||v.closestPointRange||v.tickInterval||1),v.len),f=m*g.groupPadding,y=(m-2*f)/(h||1),I=Math.min(g.maxPointWidth||v.len,c(g.pointWidth,y*(1-2*g.pointPadding))),E=(S.columnIndex||0)+(o?1:0);return S.columnMetrics={width:I,offset:(y-I)/2+(f+E*y-m/2)*(o?-1:1),paddedWidth:y,columnCount:h},S.columnMetrics}crispCol(S,g,v,p){let a=this.borderWidth,o=this.chart.inverted;return p=Y(g+p,a,o)-(g=Y(g,a,o)),this.options.crisp&&(v=Y(S+v,a)-(S=Y(S,a))),{x:S,y:g,width:v,height:p}}adjustForMissingColumns(S,g,v,p){var a;if(!v.isNull&&p.columnCount>1){let o=this.xAxis.series.filter(m=>m.visible).map(m=>m.index),u=0,d=0;x((a=this.xAxis.stacking)==null?void 0:a.stacks,m=>{if(typeof v.x=="number"){let f=m[v.x.toString()];if(f&&L(f.points[this.index])){let y=Object.keys(f.points).filter(I=>!I.match(",")&&f.points[I]&&f.points[I].length>1).map(parseFloat).filter(I=>o.indexOf(I)!==-1).sort((I,E)=>E-I);u=y.indexOf(this.index),d=y.length}}}),u=this.xAxis.reversed?d-1-u:u;let h=(d-1)*p.paddedWidth+g;S=(v.plotX||0)+h/2-g-u*p.paddedWidth}return S}translate(){let S=this,g=S.chart,v=S.options,p=S.dense=S.closestPointRange*S.xAxis.transA<2,a=S.borderWidth=c(v.borderWidth,p?0:1),o=S.xAxis,u=S.yAxis,d=v.threshold,h=c(v.minPointLength,5),m=S.getColumnMetrics(),f=m.width,y=S.pointXOffset=m.offset,I=S.dataMin,E=S.dataMax,M=S.translatedThreshold=u.getThreshold(d),D=S.barW=Math.max(f,1+2*a);v.pointPadding&&(D=Math.ceil(D)),B.prototype.translate.apply(S),S.points.forEac
vendor: 5,809 bytes, line 128
128h(function(F){let X=c(F.yBottom,M),_=999+Math.abs(X),w=F.plotX||0,A=R(F.plotY,-_,u.len+_),U,b=Math.min(A,X),k=Math.max(A,X)-b,O=f,z=w+y,W=D;h&&Math.abs(k)<h&&(k=h,U=!u.reversed&&!F.negative||u.reversed&&F.negative,j(d)&&j(E)&&F.y===d&&E<=d&&(u.min||0)<d&&(I!==E||(u.max||0)<=d)&&(U=!U,F.negative=!F.negative),b=Math.abs(b-M)>h?X-h:M-(U?h:0)),V(F.options.pointWidth)&&(z-=Math.round(((O=W=Math.ceil(F.options.pointWidth))-f)/2)),v.centerInCategory&&!v.stacking&&(z=S.adjustForMissingColumns(z,O,F,m)),F.barX=z,F.pointWidth=O,F.tooltipPos=g.inverted?[R(u.len+u.pos-g.plotLeft-A,u.pos-g.plotLeft,u.len+u.pos-g.plotLeft),o.len+o.pos-g.plotTop-z-W/2,k]:[o.left-g.plotLeft+z+W/2,R(A+u.pos-g.plotTop,u.pos-g.plotTop,u.len+u.pos-g.plotTop),k],F.shapeType=S.pointClass.prototype.shapeType||"roundedRect",F.shapeArgs=S.crispCol(z,F.isNull?M:b,W,F.isNull?0:k)}),T(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(S,g){let v=this.options,p=this.pointAttrToOptions||{},a=p.stroke||"borderColor",o=p["stroke-width"]||"borderWidth",u,d,h,m=S&&S.color||this.color,f=S&&S[a]||v[a]||m,y=S&&S.options.dashStyle||v.dashStyle,I=S&&S[o]||v[o]||this[o]||0,E=c(S&&S.opacity,v.opacity,1);S&&this.zones.length&&(d=S.getZone(),m=S.options.color||d&&(d.color||S.nonZonedColor)||this.color,d&&(f=d.borderColor||f,y=d.dashStyle||y,I=d.borderWidth||I)),g&&S&&(h=(u=s(v.states[g],S.options.states&&S.options.states[g]||{})).brightness,m=u.color||h!==void 0&&q(m).brighten(u.brightness).get()||m,f=u[a]||f,I=u[o]||I,y=u.dashStyle||y,E=c(u.opacity,E));let M={fill:m,stroke:f,"stroke-width":I,opacity:E};return y&&(M.dashstyle=y),M}drawPoints(S=this.points){let g,v=this,p=this.chart,a=v.options,o=p.renderer,u=a.animationLimit||250;S.forEach(function(d){let h=d.plotY,m=d.graphic,f=!!m,y=m&&p.pointCount<u?"animate":"attr";j(h)&&d.y!==null?(g=d.shapeArgs,m&&d.hasNewShapeType()&&(m=m.destroy()),v.enabledDataSorting&&(d.startXPos=v.xAxis.reversed?-(g&&g.width||0):v.xAxis.width),!m&&(d.graphic=m=o[d.shapeType](g).add(d.group||v.group),m&&v.enabledDataSorting&&p.hasRendered&&p.pointCount<u&&(m.attr({x:d.startXPos}),f=!0,y="animate")),m&&f&&m[y](s(g)),p.styledMode||m[y](v.pointAttribs(d,d.selected&&"select")).shadow(d.allowShadow!==!1&&a.shadow),m&&(m.addClass(d.getClassName(),!0),m.attr({visibility:d.visible?"inherit":"hidden"}))):m&&(d.graphic=m.destroy())})}drawTracker(S=this.points){let g,v=this,p=v.chart,a=p.pointer,o=function(u){let d=a==null?void 0:a.getPointFromEvent(u);a&&d&&v.options.enableMouseTracking&&(a.isDirectTouch=!0,d.onMouseOver(u))};S.forEach(function(u){g=L(u.dataLabels)?u.dataLabels:u.dataLabel?[u.dataLabel]:[],u.graphic&&(u.graphic.element.point=u),g.forEach(function(d){(d.div||d.element).point=u})}),v._hasTracking||(v.trackerGroups.forEach(function(u){v[u]&&(v[u].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(d){a==null||a.onTrackerMouseOut(d)}).on("touchstart",o),!p.styledMode&&v.options.cursor&&v[u].css({cursor:v.options.cursor}))}),v._hasTracking=!0),T(this,"afterDrawTracker")}remove(){let S=this,g=S.chart;g.hasRendered&&g.series.forEach(function(v){v.type===S.type&&(v.isDirty=!0)}),B.prototype.remove.apply(S,arguments)}}return N.defaultOptions=s(B.defaultOptions,l),H(N.prototype,{directTouch:!0,getSymbol:Z,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),$.registerSeriesType("column",N),N}),r(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{getDeferredAnimation:B}=t,{format:$}=n,{defined:K,extend:G,fireEvent:q,isArray:Z,isString:R,merge:Y,objectEach:V,pick:H,pInt:T,splat:L}=l;return function(j){function s(){return v(this).some(a=>a==null?void 0:a.enabled)}function c(a,o,u,d,h){var A;let{chart:m,enabledDataSorting:f}=this,y=this.isCartesian&&m.inverted,I=a.plotX,E=a.plotY,M=u.rotation||0,D=K(I)&&K(E)&&m.isInsidePlot(I,Math.round(E),{inverted:y,paneCoordinates:!0,series:this}),F=M===0&&H(u.overflow,f?"none":"justify")==="justify",X=this.visible&&a.visible!==!1&&K(I)&&(a.series.forceDL||f&&!F||D||H(u.inside,!!this.options.stacking)&&d&&m.isInsidePlot(I,y?d.x+1:d.y+d.height-1,{inverted:y,paneCoordinates:!0,series:this})),_=a.pos();if(X&&_){var w;let U=o.getBBox(),b=o.getBBox(void 0,0),k={right:1,center:.5}[u.align||0]||0,O={bottom:1,middle:.5}[u.verticalAlign||0]||0;if(d=G({x:_[0],y:Math.round(_[1]),width:0,height:0},d||{}),u.alignTo==="plotEdges"&&this.isCartesian&&(d[y?"x":"y"]=0,d[y?"width":"height"]=((A=this.yAxis)==null?void 0:A.len)||0),G(u,{width:U.width,height:U.height}),w=d,f&&this.xAxis&&!F&&this.setDataLabelStartPos(a,o,h,D,w),o.align(Y(u,{width:b.width,height:b.height}),!1,d,!1),o.alignAttr.x+=k*(b.width-U.width),o.alignAttr.y+=O*(b.height-U.height),o[o.placed?"animate":"attr"]({x:o.alignAttr.x+(U.width-b.width)/2,y:o.alignAttr.y+(U.height-b.height)/2,rotationOriginX:(o.width||0)/2,rotationOriginY:(o.height||0)/2}),F&&d.height>=0)this.justifyDataLabel(o,u,o.alignAttr,U,d,h);else if(H(u.crop,!0)){let{x:z,y:W}=o.alignAttr;X=m.isInsidePlot(z,W,{paneCoordinates:!0,series:this})&&m.isInsidePlot(z+U.width-1,W+U.height-1,{paneCoordinates:!0,series:this})}u.shape&&!M&&o[h?"attr":"animate"]({anchorX:_[0],anchorY:_[1]})}h&&f&&(o.placed=!1),X||f&&!F?(o.show(),o.placed=!0):(o.hide(),o.placed=!1)}function x(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function N(a){let o=this.hasRendered||0,u=this.initDataLabelsGroup().attr({opacity:+o});return!o&&u&&(this.visible&&u.show(),this.options.animation?u.animate({opacity:1},a):u.attr({opacity:1})),u}function P(a){var X;let o;a=a||this.points;let u=this,d=u.chart,h=u.options,m=d.renderer,{backgroundColor:f,plotBackgroun
128dColor:y}=d.options.chart,I=m.getContrast(R(y)&&y||R(f)&&f||"#000000"),E=v(u),{animation:M,defer:D}=E[0],F=D?B(d,M,u):{defer:0,duration:0};q(this,"drawDataLabels"),(X=u.hasDataLabels)!=null&&X.call(u)&&(o=this.initDataLabels(F),a.forEach(_=>{var U,b;let w=_.dataLabels||[];L(g(E,_.dlOptions||((U=_.options)==null?void 0:U.dataLabels))).forEach((k,O)=>{let z=k.enabled&&(_.visible||_.dataLabelOnHidden)&&(!_.isNull||_.dataLabelOnNull)&&function(ue,de){let fe=de.filter;if(fe){let me=fe.operator,ge=ue[fe.property],Ee=fe.value;return me===">"&&ge>Ee||me==="<"&&ge<Ee||me===">="&&ge>=Ee||me==="<="&&ge<=Ee||me==="=="&&ge==Ee||me==="==="&&ge===Ee||me==="!="&&ge!=Ee||me==="!=="&&ge!==Ee}return!0}(_,k),{backgroundColor:W,borderColor:Q,distance:ee,style:se={}}=k,ae,he,ce,ie,te={},ne=w[O],oe=!ne,le;z&&(he=H(k[_.formatPrefix+"Format"],k.format),ae=_.getLabelConfig(),ce=K(he)?$(he,ae,d):(k[_.formatPrefix+"Formatter"]||k.formatter).call(ae,k),ie=k.rotation,!d.styledMode&&(se.color=H(k.color,se.color,R(u.color)?u.color:void 0,"#000000"),se.color==="contrast"?(W!=="none"&&(le=W),_.contrastColor=m.getContrast(le!=="auto"&&le||_.color||u.color),se.color=le||!K(ee)&&k.inside||0>T(ee||0)||h.stacking?_.contrastColor:I):delete _.contrastColor,h.cursor&&(se.cursor=h.cursor)),te={r:k.borderRadius||0,rotation:ie,padding:k.padding,zIndex:1},d.styledMode||(te.fill=W==="auto"?_.color:W,te.stroke=Q==="auto"?_.color:Q,te["stroke-width"]=k.borderWidth),V(te,(ue,de)=>{ue===void 0&&delete te[de]})),!ne||z&&K(ce)&&!!ne.div==!!k.useHTML&&(ne.rotation&&k.rotation||ne.rotation===k.rotation)||(ne=void 0,oe=!0),z&&K(ce)&&(ne?te.text=ce:(ne=m.label(ce,0,0,k.shape,void 0,void 0,k.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+_.colorIndex+" "+(k.className||"")+(k.useHTML?" highcharts-tracker":"")),ne&&(ne.options=k,ne.attr(te),d.styledMode?se.width&&ne.css({width:se.width,textOverflow:se.textOverflow}):ne.css(se).shadow(k.shadow),q(ne,"beforeAddingDataLabel",{labelOptions:k,point:_}),ne.added||ne.add(o),u.alignDataLabel(_,ne,k,void 0,oe),ne.isActive=!0,w[O]&&w[O]!==ne&&w[O].destroy(),w[O]=ne))});let A=w.length;for(;A--;)w[A]&&w[A].isActive?w[A].isActive=!1:((b=w[A])==null||b.destroy(),w.splice(A,1));_.dataLabel=w[0],_.dataLabels=w})),q(this,"afterDrawDataLabels")}function S(a,o,u,d,h,m){let f=this.chart,y=o.align,I=o.verticalAlign,E=a.box?0:a.padding||0,M=f.inverted?this.yAxis:this.xAxis,D=M?M.left-f.plotLeft:0,F=f.inverted?this.xAxis:this.yAxis,X=F?F.top-f.plotTop:0,{x:_=0,y:w=0}=o,A,U;return(A=(u.x||0)+E+D)<0&&(y==="right"&&_>=0?(o.align="left",o.inside=!0):_-=A,U=!0),(A=(u.x||0)+d.width-E+D)>f.plotWidth&&(y==="left"&&_<=0?(o.align="right",o.inside=!0):_+=f.plotWidth-A,U=!0),(A=u.y+E+X)<0&&(I==="bottom"&&w>=0?(o.verticalAlign="top",o.inside=!0):w-=A,U=!0),(A=(u.y||0)+d.height-E+X)>f.plotHeight&&(I==="top"&&w<=0?(o.verticalAlign="bottom",o.inside=!0):w+=f.plotHeight-A,U=!0),U&&(o.x=_,o.y=w,a.placed=!m,a.align(o,void 0,h)),U}function g(a,o){let u=[],d;if(Z(a)&&!Z(o))u=a.map(function(h){return Y(h,o)});else if(Z(o)&&!Z(a))u=o.map(function(h){return Y(a,h)});else if(Z(a)||Z(o)){if(Z(a)&&Z(o))for(d=Math.max(a.length,o.length);d--;)u[d]=Y(a[d],o[d])}else u=Y(a,o);return u}function v(a){var u,d;let o=a.chart.options.plotOptions;return L(g(g((u=o==null?void 0:o.series)==null?void 0:u.dataLabels,(d=o==null?void 0:o[a.type])==null?void 0:d.dataLabels),a.options.dataLabels))}function p(a,o,u,d,h){let m=this.chart,f=m.inverted,y=this.xAxis,I=y.reversed,E=((f?o.height:o.width)||0)/2,M=a.pointWidth,D=M?M/2:0;o.startXPos=f?h.x:I?-E-D:y.width-E+D,o.startYPos=f?I?this.yAxis.height-E+D:-E-D:h.y,d?o.visibility==="hidden"&&(o.show(),o.attr({opacity:0}).animate({opacity:1})):o.attr({opacity:1}).animate({opacity:0}
128,void 0,o.hide),m.hasRendered&&(u&&o.attr({x:o.startXPos,y:o.startYPos}),o.placed=!0)}j.compose=function(a){let o=a.prototype;o.initDataLabels||(o.initDataLabels=N,o.initDataLabelsGroup=x,o.alignDataLabel=c,o.drawDataLabels=P,o.justifyDataLabel=S,o.setDataLabelStartPos=p,o.hasDataLabels=s)}}(C||(C={})),C}),r(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{composed:$}=n,{series:K}=l,{merge:G,pick:q,pushUnique:Z}=C;return function(R){function Y(V,H,T,L,j){let s=this.chart.inverted,c=V.series,x=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,N=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,P=V.dlBox||V.shapeArgs,S=q(V.below,V.plotY>q(this.translatedThreshold,N)),g=q(T.inside,!!this.options.stacking);if(P){if(L=G(P),!(T.overflow==="allow"&&T.crop===!1)){L.y<0&&(L.height+=L.y,L.y=0);let v=L.y+L.height-N;v>0&&v<L.height-1&&(L.height-=v)}s&&(L={x:N-L.y-L.height,y:x-L.x-L.width,width:L.height,height:L.width}),g||(s?(L.x+=S?0:L.width,L.width=0):(L.y+=S?L.height:0,L.height=0))}T.align=q(T.align,!s||g?"center":S?"right":"left"),T.verticalAlign=q(T.verticalAlign,s||g?"middle":S?"top":"bottom"),K.prototype.alignDataLabel.call(this,V,H,T,L,j),T.inside&&V.contrastColor&&H.css({color:V.contrastColor})}R.compose=function(V){t.compose(K),Z($,"ColumnDataLabel")&&(V.prototype.alignDataLabel=Y)}}(B||(B={})),B}),r(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{extend:C,merge:B}=l;class $ extends t{}return $.defaultOptions=B(t.defaultOptions,{}),C($.prototype,{inverted:!0}),n.registerSeriesType("bar",$),$}),r(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),r(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,line:B}=n.seriesTypes,{addEvent:$,extend:K,merge:G}=l;class q extends B{applyJitter(){let R=this,Y=this.options.jitter,V=this.points.length;Y&&this.points.forEach(function(H,T){["x","y"].forEach(function(L,j){if(Y[L]&&!H.isNull){let s=`plot${L.toUpperCase()}`,c=R[`${L}Axis`],x=Y[L]*c.transA;if(c&&!c.logarithmic){let N=Math.max(0,(H[s]||0)-x),P=Math.min(c.len,(H[s]||0)+x);H[s]=N+(P-N)*function(S){let g=1e4*Math.sin(S);return g-Math.floor(g)}(T+j*V),L==="x"&&(H.clientX=H.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return q.defaultOptions=G(B.defaultOptions,t),K(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),$(q,"afterTranslate",function(){this.applyJitter()}),n.registerSeriesType("scatter",q),q}),r(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l){var C,B;let{deg2rad:$}=t,{fireEvent:K,isNumber:G,pick:q,relativeLength:Z}=l;return(B=C||(C={})).getCenter=function(){let R=this.options,Y=this.chart,V=2*(R.slicedOffset||0),H=Y.plotWidth-2*V,T=Y.plotHeight-2*V,L=R.center,j=Math.min(H,T),s=R.thickness,c,x=R.size,N=R.innerSize||0,P,S;typeof x=="string"&&(x=parseFloat(x)),typeof N=="string"&&(N=parseFloat(N));let g=[q(L[0],"50%"),q(L[1],"50%"),q(x&&x<0?void 0:R.size,"100%"),q(N&&N<0?void 0:R.innerSize||0,"0%")];for(!Y.angular||this instanceof n||(g[3]=0),P=0;P<4;++P)S=g[P],c=P<2||P===2&&/%$/.test(S),g[P]=Z(S,[H,T,j,g[2]][P])+(c?V:0);return g[3]>g[2]&&(g[3]=g[2]),G(s)&&2*s<g[2]&&s>0&&(g[3]=g[2]-2*s),K(this,"afterGetCenter",{positions:g}),g},B.getStartAndEndRadians=function(R,Y){let V=G(R)?R:0,H=G(Y)&&Y>V&&Y-V<360?Y:V+360;return{start:$*(V+-90),end:$*(H+-90)}},C}
vendor: 4,484 bytes, line 128
128),r(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l){let{setAnimation:C}=t,{addEvent:B,defined:$,extend:K,isNumber:G,pick:q,relativeLength:Z}=l;class R extends n{getConnectorPath(V){let H=V.dataLabelPosition,T=V.options||{},L=T.connectorShape,j=this.connectorShapes[L]||L;return H&&j.call(this,xt(ze({},H.computed),{alignment:H.alignment}),H.connectorPosition,T)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(V){let H=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(H.x,H.y,H.r+V,H.r+V,{innerR:H.r-1,start:H.start,end:H.end,borderRadius:H.borderRadius})}constructor(V,H,T){super(V,H,T),this.half=0,this.name??(this.name="Slice");let L=j=>{this.slice(j.type==="select")};B(this,"select",L),B(this,"unselect",L)}isValid(){return G(this.y)&&this.y>=0}setVisible(V,H=!0){V!==this.visible&&this.update({visible:V??!this.visible},H,void 0,!1)}slice(V,H,T){let L=this.series;C(T,L.chart),H=q(H,!0),this.sliced=this.options.sliced=V=$(V)?V:!this.sliced,L.options.data[L.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return K(R.prototype,{connectorShapes:{fixedOffset:function(Y,V,H){let T=V.breakAt,L=V.touchingSliceAt,j=H.softConnector?["C",Y.x+(Y.alignment==="left"?-5:5),Y.y,2*T.x-L.x,2*T.y-L.y,T.x,T.y]:["L",T.x,T.y];return[["M",Y.x,Y.y],j,["L",L.x,L.y]]},straight:function(Y,V){let H=V.touchingSliceAt;return[["M",Y.x,Y.y],["L",H.x,H.y]]},crookedLine:function(Y,V,H){let{breakAt:T,touchingSliceAt:L}=V,{series:j}=this,[s,c,x]=j.center,N=x/2,{plotLeft:P,plotWidth:S}=j.chart,g=Y.alignment==="left",{x:v,y:p}=Y,a=T.x;if(H.crookDistance){let u=Z(H.crookDistance,1);a=g?s+N+(S+P-s-N)*(1-u):P+(s-N)*u}else a=s+(c-p)*Math.tan((this.angle||0)-Math.PI/2);let o=[["M",v,p]];return(g?a<=v&&a>=T.x:a>=v&&a<=T.x)&&o.push(["L",a,p]),o.push(["L",T.x,T.y],["L",L.x,L.y]),o}}}),R}),r(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),r(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{getStartAndEndRadians:Z}=t,{noop:R}=l,{clamp:Y,extend:V,fireEvent:H,merge:T,pick:L}=q;class j extends ${animate(c){let x=this,N=x.points,P=x.startAngleRad;c||N.forEach(function(S){let g=S.graphic,v=S.shapeArgs;g&&v&&(g.attr({r:L(S.startR,x.center&&x.center[3]/2),start:P,end:P}),g.animate({r:v.r,start:v.start,end:v.end},x.options.animation))})}drawEmpty(){let c,x,N=this.startAngleRad,P=this.endAngleRad,S=this.options;this.total===0&&this.center?(c=this.center[0],x=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(c,x,this.center[1]/2,0,N,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:G.arc(c,x,this.center[2]/2,0,{start:N,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":S.borderWidth,fill:S.fillColor||"none",stroke:S.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let c=this.chart.renderer;this.points.forEach(function(x){x.graphic&&x.hasNewShapeType()&&(x.graphic=x.graphic.destroy()),x.graphic||(x.graphic=c[x.shapeType](x.shapeArgs).add(x.series.group),x.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(c,x,N,P){let S=this.center,g=this.radii?this.radii[N.index]||0:S[2]/2,v=P.dataLabelPosition,p=(v==null?void 0:v.distance)||0,a=Math.asin(Y((c-S[1])/(g+p),-1,1));return S[0]+Math.cos(a)*(g+p)*(x?-1:1)+(p>0?(x?-1:1)*(P.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let c,x,N,P,S=this,g=S.chart;this.drawEmpty(),S.group&&!g.styledMode&&S.group.shadow(S.options.shadow),S.points.forEac
128h(function(v){let p={};x=v.graphic,!v.isNull&&x?(P=v.shapeArgs,c=v.getTranslate(),g.styledMode||(N=S.pointAttribs(v,v.selected&&"select")),v.delayedRendering?(x.setRadialReference(S.center).attr(P).attr(c),g.styledMode||x.attr(N).attr({"stroke-linejoin":"round"}),v.delayedRendering=!1):(x.setRadialReference(S.center),g.styledMode||T(!0,p,N),T(!0,p,P,c),x.animate(p)),x.attr({visibility:v.visible?"inherit":"hidden"}),x.addClass(v.getClassName(),!0)):x&&(v.graphic=x.destroy())})}sortByAngle(c,x){c.sort(function(N,P){return N.angle!==void 0&&(P.angle-N.angle)*x})}translate(c){H(this,"translate"),this.generatePoints();let x=this.options,N=x.slicedOffset,P=Z(x.startAngle,x.endAngle),S=this.startAngleRad=P.start,g=(this.endAngleRad=P.end)-S,v=this.points,p=x.ignoreHiddenPoint,a=v.length,o,u,d,h,m,f,y,I=0;for(c||(this.center=c=this.getCenter()),f=0;f<a;f++){y=v[f],o=S+I*g,y.isValid()&&(!p||y.visible)&&(I+=y.percentage/100),u=S+I*g;let E={x:c[0],y:c[1],r:c[2]/2,innerR:c[3]/2,start:Math.round(1e3*o)/1e3,end:Math.round(1e3*u)/1e3};y.shapeType="arc",y.shapeArgs=E,(d=(u+o)/2)>1.5*Math.PI?d-=2*Math.PI:d<-Math.PI/2&&(d+=2*Math.PI),y.slicedTranslation={translateX:Math.round(Math.cos(d)*N),translateY:Math.round(Math.sin(d)*N)},h=Math.cos(d)*c[2]/2,m=Math.sin(d)*c[2]/2,y.tooltipPos=[c[0]+.7*h,c[1]+.7*m],y.half=d<-Math.PI/2||d>Math.PI/2?1:0,y.angle=d}H(this,"afterTranslate")}updateTotals(){let c=this.points,x=c.length,N=this.options.ignoreHiddenPoint,P,S,g=0;for(P=0;P<x;P++)(S=c[P]).isValid()&&(!N||S.visible)&&(g+=S.y);for(P=0,this.total=g;P<x;P++)(S=c[P]).percentage=g>0&&(S.visible||!N)?S.y/g*100:0,S.total=g}}return j.defaultOptions=T($.defaultOptions,B),V(j.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:n.prototype.drawTracker,getCenter:t.getCenter,getSymbol:R,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:n.prototype.pointAttribs,pointClass:C,requireSorting:!1,searchPoint:R,trackerGroups:["group","dataLabelsGroup"]}),K.registerSeriesType("pie",j),j}),r(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{composed:K,noop:G}=n,{distribute:q}=l,{series:Z}=C,{arrayMax:R,clamp:Y,defined:V,pick:H,pushUnique:T,relativeLength:L}=B;return function(j){let s={radialDistributionY:function(S,g){var v;return(((v=g.dataLabelPosition)==null?void 0:v.top)||0)+S.distributeBox.pos},radialDistributionX:function(S,g,v,p,a){let o=a.dataLabelPosition;return S.getX(v<((o==null?void 0:o.top)||0)+2||v>((o==null?void 0:o.bottom)||0)-2?p:v,g.half,g,a)},justify:function(S,g,v,p){var a;return p[0]+(S.half?-1:1)*(v+(((a=g.dataLabelPosition)==null?void 0:a.distance)||0))},alignToPlotEdges:function(S,g,v,p){let a=S.getBBox().width;return g?a+p:v-a-p},alignToConnectors:function(S,g,v,p){let a=0,o;return S.forEach(function(u){(o=u.dataLabel.getBBox().width)>a&&(a=o)}),g?a+p:v-a-p}};function c(S,g){let{center:v,options:p}=this,a=v[2]/2,o=S.angle||0,u=Math.cos(o),d=Math.sin(o),h=v[0]+u*a,m=v[1]+d*a,f=Math.min((p.slicedOffset||0)+(p.borderWidth||0),g/5);
vendor: 4,622 bytes, line 128
128return{natural:{x:h+u*g,y:m+d*g},computed:{},alignment:g<0?"center":S.half?"right":"left",connectorPosition:{breakAt:{x:h+u*f,y:m+d*f},touchingSliceAt:{x:h,y:m}},distance:g}}function x(){var X;let S=this,g=S.points,v=S.chart,p=v.plotWidth,a=v.plotHeight,o=v.plotLeft,u=Math.round(v.chartWidth/3),d=S.center,h=d[2]/2,m=d[1],f=[[],[]],y=[0,0,0,0],I=S.dataLabelPositioners,E,M,D,F=0;S.visible&&((X=S.hasDataLabels)!=null&&X.call(S))&&(g.forEach(_=>{(_.dataLabels||[]).forEach(w=>{w.shortened&&(w.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),w.shortened=!1)})}),Z.prototype.drawDataLabels.apply(S),g.forEach(_=>{(_.dataLabels||[]).forEach((w,A)=>{var O;let U=d[2]/2,b=w.options,k=L((b==null?void 0:b.distance)||0,U);A===0&&f[_.half].push(_),!V((O=b==null?void 0:b.style)==null?void 0:O.width)&&w.getBBox().width>u&&(w.css({width:Math.round(.7*u)+"px"}),w.shortened=!0),w.dataLabelPosition=this.getDataLabelPosition(_,k),F=Math.max(F,k)})}),f.forEach((_,w)=>{let A=_.length,U=[],b,k,O=0,z;A&&(S.sortByAngle(_,w-.5),F>0&&(b=Math.max(0,m-h-F),k=Math.min(m+h+F,v.plotHeight),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{var se;let ee=Q.dataLabelPosition;ee&&ee.distance>0&&(ee.top=Math.max(0,m-h-ee.distance),ee.bottom=Math.min(m+h+ee.distance,v.plotHeight),O=Q.getBBox().height||21,Q.lineHeight=v.renderer.fontMetrics(Q.text||Q).h+2*Q.padding,W.distributeBox={target:(((se=Q.dataLabelPosition)==null?void 0:se.natural.y)||0)-ee.top+Q.lineHeight/2,size:O,rank:W.y},U.push(W.distributeBox))})}),q(U,z=k+O-b,z/5)),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{let ee=Q.options||{},se=W.distributeBox,ae=Q.dataLabelPosition,he=(ae==null?void 0:ae.natural.y)||0,ce=ee.connectorPadding||0,ie=Q.lineHeight||21,te=(ie-Q.getBBox().height)/2,ne=0,oe=he,le="inherit";if(ae){if(U&&V(se)&&ae.distance>0&&(se.pos===void 0?le="hidden":(D=se.size,oe=I.radialDistributionY(W,Q))),ee.justify)ne=I.justify(W,Q,h,d);else switch(ee.alignTo){case"connectors":ne=I.alignToConnectors(_,w,p,o);break;case"plotEdges":ne=I.alignToPlotEdges(Q,w,p,o);break;default:ne=I.radialDistributionX(S,W,oe-te,he,Q)}if(ae.attribs={visibility:le,align:ae.alignment},ae.posAttribs={x:ne+(ee.x||0)+({left:ce,right:-ce}[ae.alignment]||0),y:oe+(ee.y||0)-ie/2},ae.computed.x=ne,ae.computed.y=oe-te,H(ee.crop,!0)){let ue;ne-(M=Q.getBBox().width)<ce&&w===1?(ue=Math.round(M-ne+ce),y[3]=Math.max(ue,y[3])):ne+M>p-ce&&w===0&&(ue=Math.round(ne+M-p+ce),y[1]=Math.max(ue,y[1])),oe-D/2<0?y[0]=Math.max(Math.round(-oe+D/2),y[0]):oe+D/2>a&&(y[2]=Math.max(Math.round(oe+D/2-a),y[2])),ae.sideOverflow=ue}}})}))}),(R(y)===0||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(_=>{(_.dataLabels||[]).forEach(w=>{var k;let{connectorColor:A,connectorWidth:U=1}=w.options||{},b=w.dataLabelPosition;if(U){let O;E=w.connector,b&&b.distance>0?(O=!E,E||(w.connector=E=v.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+_.colorIndex+(_.className?" "+_.className:"")).add(S.dataLabelsGroup)),v.styledMode||E.attr({"stroke-width":U,stroke:A||_.color||"#666666"}),E[O?"attr":"animate"]({d:_.getConnectorPath(w)}),E.attr({visibility:(k=b.attribs)==null?void 0:k.visibility})):E&&(w.connector=E.destroy())}})})))}function N(){this.points.forEach(S=>{(S.dataLabels||[]).forEach(g=>{var p;let v=g.dataLabelPosition;v?(v.sideOverflow&&(g.css({width:Math.max(g.getBBox().width-v.sideOverflow,0)+"px",textOverflow:(((p=g.options)==null?void 0:p.style)||{}).textOverflow||"ellipsis"}),g.shortened=!0),g.attr(v.attribs),g[g.moved?"animate":"attr"](v.posAttribs),g.moved=!0):g&&g.attr({y:-9999})}),delete S.distributeBox},this)}function P(S){let g=this.center,v=this.options,p=v.center,a=v.minSize||80,o=a,u=v.size!==null;return!u&&(p[0]!==null?o=Math.max(g[2]-Math.max(S[1],S[3]),a):(o=Math.max(g[2]-S[1]-S[3],a),g[0]+=(S[3]-S[1])/2),p[1]!==null?o=Y(o,a,g[2]-Math.max(S[0],S[2])):(o=Y(o,a,g[2]-S[0]-S[2]),g[1]+=(S[0]-S[2])/2),o<g[2]?(g[2]=o,g[3]=Math.min(v.thickness?Math.max(0,o-2*v.thickness):Math.max(0,L(v.innerSize||0,o)),o),this.translate(g),this.drawDataLabels&&this.drawDataLabels()):u=!0),u}j.compose=function(S){if(t.compose(Z),T(K,"PieDataLabel")){let g=S.prototype;g.dataLabelPositioners=s,g.alignDataLabel=G,g.drawDataLabels=x,g.getDataLabelPosition=c,g.placeDataLabels=N,g.verifyDataLabelOverflow=P}}}($||($={})),$}),r(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,n;return(n=t||(t={})).getCenterOfPoints=function(l){let C=l.reduce((B,$)=>(B.x+=$.x,B.y+=$.y,B),{x:0,y:0});return{x:C.x/l.length,y:C.y/l.length}},n.getDistanceBetweenPoints=function(l,C){return Math.sqrt(Math.pow(C.x-l.x,2)+Math.pow(C.y-l.y,2))}
128,n.getAngleBetweenPoints=function(l,C){return Math.atan2(C.x-l.x,C.y-l.y)},n.pointInPolygon=function({x:l,y:C},B){let $=B.length,K,G,q=!1;for(K=0,G=$-1;K<$;G=K++){let[Z,R]=B[K],[Y,V]=B[G];R>C!=V>C&&l<(Y-Z)*(C-R)/(V-R)+Z&&(q=!q)}return q},t}),r(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,n){let{pointInPolygon:l}=t,{addEvent:C,fireEvent:B,objectEach:$,pick:K}=n;function G(R){let Y=R.length,V=(N,P)=>!(P.x>=N.x+N.width||P.x+P.width<=N.x||P.y>=N.y+N.height||P.y+P.height<=N.y),H=(N,P)=>{for(let S of N)if(l({x:S[0],y:S[1]},P))return!0;return!1},T,L,j,s,c,x=!1;for(let N=0;N<Y;N++)(T=R[N])&&(T.oldOpacity=T.opacity,T.newOpacity=1,T.absoluteBox=function(P){var S,g;if(P&&(!P.alignAttr||P.placed)){let v=P.box?0:P.padding||0,p=P.alignAttr||{x:P.attr("x"),y:P.attr("y")},a=P.getBBox();return P.width=a.width,P.height=a.height,{x:p.x+(((S=P.parentGroup)==null?void 0:S.translateX)||0)+v,y:p.y+(((g=P.parentGroup)==null?void 0:g.translateY)||0)+v,width:(P.width||0)-2*v,height:(P.height||0)-2*v,polygon:a==null?void 0:a.polygon}}}(T));R.sort((N,P)=>(P.labelrank||0)-(N.labelrank||0));for(let N=0;N<Y;++N){s=(L=R[N])&&L.absoluteBox;let P=s==null?void 0:s.polygon;for(let S=N+1;S<Y;++S){c=(j=R[S])&&j.absoluteBox;let g=!1;if(s&&c&&L!==j&&L.newOpacity!==0&&j.newOpacity!==0&&L.visibility!=="hidden"&&j.visibility!=="hidden"){let v=c.polygon;if(P&&v&&P!==v?H(P,v)&&(g=!0):V(s,c)&&(g=!0),g){let p=L.labelrank<j.labelrank?L:j,a=p.text;p.newOpacity=0,a!=null&&a.element.querySelector("textPath")&&a.hide()}}}}for(let N of R)q(N,this)&&(x=!0);x&&B(this,"afterHideAllOverlappingLabels")}function q(R,Y){let V,H,T=!1;return R&&(H=R.newOpacity,R.oldOpacity!==H&&(R.hasClass("highcharts-data-label")?(R[H?"removeClass":"addClass"]("highcharts-data-label-hidden"),V=function(){Y.styledMode||R.css({pointerEvents:H?"auto":"none"})},T=!0,R[R.isOld?"animate":"attr"]({opacity:H},void 0,V),B(Y,"afterHideOverlappingLabel")):R.attr({opacity:H})),R.isOld=!0),T}function Z(){var V;let R=this,Y=[];for(let H of R.labelCollectors||[])Y=Y.concat(H());for(let H of R.yAxis||[])H.stacking&&H.options.stackLabels&&!H.options.stackLabels.allowOverlap&&$(H.stacking.stacks,T=>{$(T,L=>{L.label&&Y.push(L.label)})});for(let H of R.series||[])if(H.visible&&((V=H.hasDataLabels)!=null&&V.call(H))){let T=L=>{for(let j of L)j.visible&&(j.dataLabels||[]).forEach(s=>{var x;let c=s.options||{};s.labelrank=K(c.labelrank,j.labelrank,(x=j.shapeArgs)==null?void 0:x.height),c.allowOverlap??Number(c.distance)>0?(s.oldOpacity=s.opacity,s.newOpacity=1,q(s,R)):Y.push(s)})};T(H.nodes||[]),T(H.points)}this.hideOverlappingLabels(Y)}return{compose:function(R){let Y=R.prototype;Y.hideOverlappingLabels||(Y.hideOverlappingLabels=G,C(R,"render",Z))}}}
vendor: 3,895 bytes, line 128
128),r(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{defaultOptions:C}=t,{noop:B}=n,{addEvent:$,extend:K,isObject:G,merge:q,relativeLength:Z}=l,R={radius:0,scope:"stack",where:void 0},Y=B,V=B;function H(c,x,N,P,S={}){let g=Y(c,x,N,P,S),{innerR:v=0,r:p=N,start:a=0,end:o=0}=S;if(S.open||!S.borderRadius)return g;let u=o-a,d=Math.sin(u/2),h=Math.max(Math.min(Z(S.borderRadius||0,p-v),(p-v)/2,p*d/(1+d)),0),m=Math.min(h,u/Math.PI*2*v),f=g.length-1;for(;f--;)(function(y,I,E){let M,D,F,X=y[I],_=y[I+1];if(_[0]==="Z"&&(_=y[0]),(X[0]==="M"||X[0]==="L")&&_[0]==="A"?(M=X,D=_,F=!0):X[0]==="A"&&(_[0]==="M"||_[0]==="L")&&(M=_,D=X),M&&D&&D.params){let w=D[1],A=D[5],U=D.params,{start:b,end:k,cx:O,cy:z}=U,W=A?w-E:w+E,Q=W?Math.asin(E/W):0,ee=A?Q:-Q,se=Math.cos(Q)*W;F?(U.start=b+ee,M[1]=O+se*Math.cos(b),M[2]=z+se*Math.sin(b),y.splice(I+1,0,["A",E,E,0,0,1,O+w*Math.cos(U.start),z+w*Math.sin(U.start)])):(U.end=k-ee,D[6]=O+w*Math.cos(U.end),D[7]=z+w*Math.sin(U.end),y.splice(I+1,0,["A",E,E,0,0,1,O+se*Math.cos(k),z+se*Math.sin(k)])),D[4]=Math.abs(U.end-U.start)<Math.PI?0:1}})(g,f,f>1?m:h);return g}function T(){var c,x;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:N,yAxis:P}=this,S=N.stacking==="percent",g=(x=(c=C.plotOptions)==null?void 0:c[this.type])==null?void 0:x.borderRadius,v=L(N.borderRadius,G(g)?g:{}),p=P.options.reversed;for(let a of this.points){let{shapeArgs:o}=a;if(a.shapeType==="roundedRect"&&o){let{width:u=0,height:d=0,y:h=0}=o,m=h,f=d;if(v.scope==="stack"&&a.stackTotal){let M=P.translate(S?100:a.stackTotal,!1,!0,!1,!0),D=P.translate(N.threshold||0,!1,!0,!1,!0),F=this.crispCol(0,Math.min(M,D),0,Math.abs(M-D));m=F.y,f=F.height}let y=(a.negative?-1:1)*(p?-1:1)==-1,I=v.where;!I&&this.is("waterfall")&&Math.abs((a.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(I="all"),I||(I="end");let E=Math.min(Z(v.radius,u),u/2,I==="all"?d/2:1/0)||0;I==="end"&&(y&&(m-=E),f+=E),K(o,{brBoxHeight:f,brBoxY:m,r:E})}}}}function L(c,x){return G(c)||(c={radius:c||0}),q(R,x,c)}function j(){let c=L(this.options.borderRadius);for(let x of this.points){let N=x.shapeArgs;N&&(N.borderRadius=Z(c.radius,(N.r||0)-(N.innerR||0)))}}function s(c,x,N,P,S={}){let g=V(c,x,N,P,S),{r:v=0,brBoxHeight:p=P,brBoxY:a=x}=S,o=x-a,u=a+p-(x+P),d=o-v>-.1?0:v,h=u-v>-.1?0:v,m=Math.max(d&&o,0),f=Math.max(h&&u,0),y=[c+d,x],I=[c+N-d,x],E=[c+N,x+d],M=[c+N,x+P-h],D=[c+N-h,x+P],F=[c+h,x+P],X=[c,x+P-h],_=[c,x+d],w=(A,U)=>Math.sqrt(Math.pow(A,2)-Math.pow(U,2));if(m){let A=w(d,d-m);y[0]-=A,I[0]+=A,E[1]=_[1]=x+d-m}if(P<d-m){let A=w(d,d-m-P);E[0]=M[0]=c+N-d+A,D[0]=Math.min(E[0],D[0]),F[0]=Math.max(M[0],F[0]),X[0]=_[0]=c+d-A,E[1]=_[1]=x+P}if(f){let A=w(h,h-f);D[0]+=A,F[0]-=A,M[1]=X[1]=x+P-h+f}if(P<h-f){let A=w(h,h-f-P);E[0]=M[0]=c+N-h+A,I[0]=Math.min(E[0],I[0]),y[0]=Math.max(M[0],y[0]),X[0]=_[0]=c+h-A,M[1]=X[1]=x}return g.length=0,g.push(["M",...y],["L",...I],["A",d,d,0,0,1,...E],["L",...M],["A",h,h,0,0,1,...D],["L",...F],["A",h,h,0,0,1,...X],["L",..._],["A",d,d,0,0,1,...y],["Z"]),g}return{compose:function(c,x,N){let P=c.types.pie;if(!x.symbolCustomAttribs.includes("borderRadius")){let S=N.prototype.symbols;$(c,"afterColumnTranslate",T,{order:9}),$(P,"afterTranslate",j),x.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Y=S.arc,V=S.roundedRect,S.arc=H,S.roundedRect=s}},optionsToObject:L}}),r(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var n;let{diffObjects:l,extend:C,find:B,merge:$,pick:K,uniqueKey:G}=t;return function(q){function Z(Y,V){let H=Y.condition;(H.callback||function(){return this.chartWidth<=K(H.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=K(H.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=K(H.minWidth,0)&&this.chartHeight>=K(H.minHeight,0)}).call(this)&&V.push(Y._id)}function R(Y,V){let H=this.options.responsive,T=this.currentResponsive,L=[],j;
128!V&&H&&H.rules&&H.rules.forEach(x=>{x._id===void 0&&(x._id=G()),this.matchResponsiveRule(x,L)},this);let s=$(...L.map(x=>B((H||{}).rules||[],N=>N._id===x)).map(x=>x&&x.chartOptions));s.isResponsiveOptions=!0,L=L.toString()||void 0;let c=T&&T.ruleIds;L===c||(T&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(T.undoOptions,Y,!0),this.updatingResponsive=!1),L?((j=l(s,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:L,mergedOptions:s,undoOptions:j},this.updatingResponsive||this.update(s,Y,!0)):this.currentResponsive=void 0)}q.compose=function(Y){let V=Y.prototype;return V.matchResponsiveRule||C(V,{matchResponsiveRule:Z,setResponsive:R}),Y}}(n||(n={})),n}),r(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/
128BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j,s,c,x,N,P,S,g,v,p,a,o,u,d,h,m,f,y,I,E){return t.AST=$,t.Axis=V,t.Chart=S,t.Color=I,t.DataLabel=h,t.Fx=C,t.HTMLElement=Y,t.Legend=N,t.LegendSymbol=P,t.OverlappingDataLabels=t.OverlappingDataLabels||m,t.PlotLineOrBand=L,t.Point=c,t.Pointer=x,t.RendererRegistry=G,t.Series=a,t.SeriesRegistry=o,t.StackItem=p,t.SVGElement=Z,t.SVGRenderer=R,t.Templating=K,t.Tick=j,t.Time=E,t.Tooltip=s,t.animate=B.animate,t.animObject=B.animObject,t.chart=S.chart,t.color=I.parse,t.dateFormat=K.dateFormat,t.defaultOptions=l.defaultOptions,t.distribute=q.distribute,t.format=K.format,t.getDeferredAnimation=B.getDeferredAnimation,t.getOptions=l.getOptions,t.numberFormat=K.numberFormat,t.seriesType=o.seriesType,t.setAnimation=B.setAnimation,t.setOptions=l.setOptions,t.stop=B.stop,t.time=l.defaultTime,t.timers=C.timers,f.compose(t.Series,t.SVGElement,t.SVGRenderer),u.compose(t.Series.types.column),h.compose(t.Series),H.compose(t.Axis),Y.compose(t.SVGRenderer),N.compose(t.Chart),T.compose(t.Axis),m.compose(t.Chart),d.compose(t.Series.types.pie),L.compose(t.Chart,t.Axis),x.compose(t.Chart),y.compose(t.Chart),g.compose(t.Axis,t.Chart,t.Series),v.compose(t.Axis,t.Chart,t.Series),s.compose(t.Pointer),n.extend(t,n),t}),e["masters/highcharts.src.js"]._modules=e,e["masters/highcharts.src.js"]})});var TA=$n((MA,p1)=>{"use strict";(function(i,e){typeof p1=="object"&&p1.exports?(e.default=e,p1.exports=i&&i.document?e(i):e):typeof define=="function"&&define.amd?define("highcharts/highmaps",function(){return e(i)}):(i.Highcharts&&i.Highcharts.error(16,!0),i.Highcharts=e(i))})(typeof window<"u"?window:MA,function(i){"use strict";var e={};function r(t,n,l,C){!t.hasOwnProperty(n)&&(t[n]=C.apply(null,l),i&&typeof CustomEvent=="function"&&i.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}return r(e,"Core/Globals.js",[],function(){var t,n;return(n=t||(t={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.8",n.win=i!==void 0?i:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=n.userAgent.indexOf("Firefox")!==-1,n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&n.userAgent.indexOf("Safari")!==-1,n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=n.userAgent.indexOf("AppleWebKit")!==-1,n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let l=!1;if(!n.isMS){let C=Object.defineProperty({},"passive",{get:function(){l=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,C),n.win.removeEventListener("testPassive",n.noop,C))}return l}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,t}),r(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let n,{charts:l,doc:C,win:B}=t;function $(a,o,u,d){let h=o?"Highcharts error":"Highcharts warning";a===32&&(a=`${h}: Deprecated member`);let m=V(a),f=m?`${h} #${a}: www.highcharts.com/errors/${a}/`:a.toString();if(d!==void 0){let y="";m&&(f+="?"),S(d,function(I,E){y+=` 129 - ${E}: ${I}`,m&&(f+=encodeURI(E)+"="+encodeURI(I))}),f+=y}v(t,"displayError",{chart:u,code:a,message:f,params:d},function(){if(o)throw Error(f);B.console&&$.messages.indexOf(f)===-1&&console.warn(f)}),$.messages.push(f)}function K(a,o){return parseInt(a,o||10)}function G(a){return typeof a=="string"}function q(a){let o=Object.prototype.toString.call(a);return o==="[object Array]"||o==="[object Array Iterator]"}function Z(a,o){return!!a&&typeof a=="object"&&(!o||!q(a))}function R(a){return Z(a)&&typeof a.nodeType=="number"}function Y(a){let o=a&&a.constructor;return!!(Z(a,!0)&&!R(a)&&o&&o.name&&o.name!=="Object")}function V(a){return typeof a=="number"&&!isNaN(a)&&a<1/0&&a>-1/0}function H(a){return a!=null}function T(a,o,u){let d,h=G(o)&&!H(u),m=(f,y)=>{H(f)?a.setAttribute(y,f):h?(d=a.getAttribute(y))||y!=="class"||(d=a.getAttribute(y+"Name")):a.removeAttribute(y)};return G(o)?m(u,o):S(o,m),d}function L(a){return q(a)?a:[a]}function j(a,o){let u;for(u in a||(a={}),o)a[u]=o[u];return a}function s(){let a=arguments,o=a.length;for(let u=0;u<o;u++){let d=a[u];if(d!=null)return d}}function c(a,o){j(a.style,o)}function x(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))}function N(a,o){return a>1e14?a:parseFloat(a.toPrecision(o||14))}($||($={})).messages=[],Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};let P=Array.prototype.find?function(a,o){return a.find(o)}:function(a,o){let u,d=a.length;for(u=0;
vendor: 6,055 bytes, line 129
129u<d;u++)if(o(a[u],u))return a[u]};function S(a,o,u){for(let d in a)Object.hasOwnProperty.call(a,d)&&o.call(u||a[d],a[d],d,a)}function g(a,o,u){function d(f,y){let I=a.removeEventListener;I&&I.call(a,f,y,!1)}function h(f){let y,I;a.nodeName&&(o?(y={})[o]=!0:y=f,S(y,function(E,M){if(f[M])for(I=f[M].length;I--;)d(M,f[M][I].fn)}))}let m=typeof a=="function"&&a.prototype||a;if(Object.hasOwnProperty.call(m,"hcEvents")){let f=m.hcEvents;if(o){let y=f[o]||[];u?(f[o]=y.filter(function(I){return u!==I.fn}),d(o,u)):(h(f),f[o]=[])}else h(f),delete m.hcEvents}}function v(a,o,u,d){if(u=u||{},C.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==t)){let h=C.createEvent("Events");h.initEvent(o,!0,!0),u=j(h,u),a.dispatchEvent?a.dispatchEvent(u):a.fireEvent(o,u)}else if(a.hcEvents){u.target||j(u,{preventDefault:function(){u.defaultPrevented=!0},target:a,type:o});let h=[],m=a,f=!1;for(;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[o]&&(h.length&&(f=!0),h.unshift.apply(h,m.hcEvents[o])),m=Object.getPrototypeOf(m);f&&h.sort((y,I)=>y.order-I.order),h.forEach(y=>{y.fn.call(a,u)===!1&&u.preventDefault()})}d&&!u.defaultPrevented&&d.call(a,u)}S({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,o){t[o]=function(u){return $(32,!1,void 0,{[`Highcharts.${o}`]:`use Array.${a}`}),Array.prototype[a].apply(u,[].slice.call(arguments,1))}});let p=function(){let a=Math.random().toString(36).substring(2,9)+"-",o=0;return function(){return"highcharts-"+(n?"":a)+o++}}();return B.jQuery&&(B.jQuery.fn.highcharts=function(){let a=[].slice.call(arguments);if(this[0])return a[0]?(new t[G(a[0])?a.shift():"Chart"](this[0],a[0],a[1]),this):l[T(this[0],"data-highcharts-chart")]}),{addEvent:function(a,o,u,d={}){let h=typeof a=="function"&&a.prototype||a;Object.hasOwnProperty.call(h,"hcEvents")||(h.hcEvents={});let m=h.hcEvents;t.Point&&a instanceof t.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);let f=a.addEventListener;f&&f.call(a,o,u,!!t.supportsPassiveEvents&&{passive:d.passive===void 0?o.indexOf("touch")!==-1:d.passive,capture:!1}),m[o]||(m[o]=[]);let y={fn:u,order:typeof d.order=="number"?d.order:1/0};return m[o].push(y),m[o].sort((I,E)=>I.order-E.order),function(){g(a,o,u)}},arrayMax:function(a){let o=a.length,u=a[0];for(;o--;)a[o]>u&&(u=a[o]);return u},arrayMin:function(a){let o=a.length,u=a[0];for(;o--;)a[o]<u&&(u=a[o]);return u},attr:T,clamp:function(a,o,u){return a>o?a<u?a:u:o},clearTimeout:function(a){H(a)&&clearTimeout(a)},correctFloat:N,createElement:function(a,o,u,d,h){let m=C.createElement(a);return o&&j(m,o),h&&c(m,{padding:"0",border:"none",margin:"0"}),u&&c(m,u),d&&d.appendChild(m),m},crisp:(a,o=0,u)=>{let d=o%2/2,h=u?-1:1;return(Math.round(a*h-d)+d)*h},css:c,defined:H,destroyObjectProperties:function(a,o,u){S(a,function(d,h){d!==o&&(d!=null&&d.destroy)&&d.destroy(),(d!=null&&d.destroy||!u)&&delete a[h]})},diffObjects:function(a,o,u,d){let h={};return function m(f,y,I,E){let M=u?y:f;S(f,function(D,F){if(!E&&d&&d.indexOf(F)>-1&&y[F]){D=L(D),I[F]=[];for(let X=0;X<Math.max(D.length,y[F].length);X++)y[F][X]&&(D[X]===void 0?I[F][X]=y[F][X]:(I[F][X]={},m(D[X],y[F][X],I[F][X],E+1)))}else Z(D,!0)&&!D.nodeType?(I[F]=q(D)?[]:{},m(D,y[F]||{},I[F],E+1),Object.keys(I[F]).length!==0||F==="colorAxis"&&E===0||delete I[F]):(f[F]!==y[F]||F in f&&!(F in y))&&F!=="__proto__"&&F!=="constructor"&&(I[F]=M[F])})}(a,o,h,0),h},discardElement:function(a){a&&a.parentElement&&a.parentElement.removeChild(a)},erase:function(a,o){let u=a.length;for(;u--;)if(a[u]===o){a.splice(u,1);break}},error:$,extend:j,extendClass:function(a,o){let u=function(){};return u.prototype=new a,j(u.prototype,o),u},find:P,fireEvent:v,getClosestDistance:function(a,o){let u,d,h,m,f=!o;return a.forEach(y=>{if(y.length>1)for(m=d=y.length-1;m>0;m--)(h=y[m]-y[m-1])<0&&!f?(o==null||o(),o=void 0):h&&(u===void 0||h<u)&&(u=h)}),u},getMagnitude:x,getNestedProperty:function(a,o){let u=a.split(".");for(;u.length&&H(o);){let d=u.shift();if(d===void 0||d==="__proto__")return;if(d==="this"){let m;return Z(o)&&(m=o["@this"]),m??o}let h=o[d];if(!H(h)||typeof h=="function"||typeof h.nodeType=="number"||h===B)return;o=h}return o},getStyle:function a(o,u,d){let h;if(u==="width"){let f=Math.min(o.offsetWidth,o.scrollWidth),y=o.getBoundingClientRect&&o.getBoundingClientRect().width;return y<f&&y>=f-1&&(f=Math.floor(y)),Math.max(0,f-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0))}if(u==="height")return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));let m=B.getComputedStyle(o,void 0);return m&&(h=m.getPropertyValue(u),s(d,u!=="opacity")&&(h=K(h))),h},inArray:function(a,o,u){return $(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),o.indexOf(a,u)},insertItem:function(a,o){let u,d=a.options.index,h=o.length;for(u=a.options.isInternal?h:0;u<h+1;u++)if(!o[u]||V(d)&&d<s(o[u].options.index,o[u]._i)||o[u].options.isInternal){o.splice(u,0,a);break}return u},isArray:q,isClass:Y,isDOMElement:R,isFunction:function(a){return typeof a=="function"},isNumber:V,isObject:Z,isString:G,keys:function(a){return $(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(a)},merge:function(){let a,o=arguments,u={},d=function(m,f){return typeof m!="object"&&(m={}),S(f,function(y,I){I!=="__proto__"&&I!=="constructor"&&(!Z(y,!0)||Y(y)||R(y)?m[I]=f[I]:m[I]=d(m[I]||{},y))}),m};o[0]===!0&&(u=o[1],o=Array.prototype.slice.call(o,2));let h=o.length;for(a=0;a<h;a++)u=d(u,o[a]);return u},normalizeTickInterval:function(a,o,u,d,h){let m,f=a;u=s(u,x(a));let y=a/u;for(!o&&(o=h?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],d===!1&&(u===1?o=o.filter(function(I){return I%1==0}):u<=.1&&(o=[1/u]))),m=0;m<o.length&&(f=o[m],(!h||!(f*u>=a))&&(h||!(y<=(o[m]+(o[m+1]||o[m]))/2)));m++);return N(f*u,-Math.round(Math.log(.001)/Math.LN10))},objectEach:S,offset:function(a){let o=C.documentElement,u=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:u.top+(B.pageYOffset||o.scrollTop)-(o.clientTop||0),left
129:u.left+(B.pageXOffset||o.scrollLeft)-(o.clientLeft||0),width:u.width,height:u.height}},pad:function(a,o,u){return Array((o||2)+1-String(a).replace("-","").length).join(u||"0")+a},pick:s,pInt:K,pushUnique:function(a,o){return 0>a.indexOf(o)&&!!a.push(o)},relativeLength:function(a,o,u){return/%$/.test(a)?o*parseFloat(a)/100+(u||0):parseFloat(a)},removeEvent:g,replaceNested:function(a,...o){let u,d;do for(d of(u=a,o))a=a.replace(d[0],d[1]);while(a!==u);return a},splat:L,stableSort:function(a,o){let u,d,h=a.length;for(d=0;d<h;d++)a[d].safeI=d;for(a.sort(function(m,f){return(u=o(m,f))===0?m.safeI-f.safeI:u}),d=0;d<h;d++)delete a[d].safeI},syncTimeout:function(a,o,u){return o>0?setTimeout(a,o,u):(a.call(0,u),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:p,useSerialIds:function(a){return n=s(a,n)},wrap:function(a,o,u){let d=a[o];a[o]=function(){let h=arguments,m=this;return u.apply(this,[function(){return d.apply(m,arguments.length?arguments:h)}].concat([].slice.call(arguments)))}}}}),r(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),r(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),r(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{win:l}=t,{defined:C,error:B,extend:$,isNumber:K,isObject:G,merge:q,objectEach:Z,pad:R,pick:Y,splat:V,timeUnits:H}=n,T=t.isSafari&&l.Intl&&l.Intl.DateTimeFormat.prototype.formatRange,L=t.isSafari&&l.Intl&&!l.Intl.DateTimeFormat.prototype.formatRange;class j{constructor(c){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=l.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(c)}get(c,x){if(this.variableTimezone||this.timezoneOffset){let N=x.getTime(),P=N-this.getTimezoneOffset(x);x.setTime(P);let S=x["getUTC"+c]();return x.setTime(N),S}return this.useUTC?x["getUTC"+c]():x["get"+c]()}set(c,x,N){if(this.variableTimezone||this.timezoneOffset){if(c==="Milliseconds"||c==="Seconds"||c==="Minutes"&&this.getTimezoneOffset(x)%36e5==0)return x["setUTC"+c](N);let P=this.getTimezoneOffset(x),S=x.getTime()-P;x.setTime(S),x["setUTC"+c](N);let g=this.getTimezoneOffset(x);return S=x.getTime()+g,x.setTime(S)}return this.useUTC||T&&c==="FullYear"?x["setUTC"+c](N):x["set"+c](N)}update(c={}){let x=Y(c.useUTC,!0);this.options=c=q(!0,this.options,c),this.Date=c.Date||l.Date||Date,this.useUTC=x,this.timezoneOffset=x&&c.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=x&&!!(c.getTimezoneOffset||c.timezone)}
129makeTime(c,x,N,P,S,g){let v,p,a;return this.useUTC?(v=this.Date.UTC.apply(0,arguments),p=this.getTimezoneOffset(v),v+=p,p!==(a=this.getTimezoneOffset(v))?v+=a-p:p-36e5!==this.getTimezoneOffset(v-36e5)||L||(v-=36e5)):v=new this.Date(c,x,Y(N,1),Y(P,0),Y(S,0),Y(g,0)).getTime(),v}timezoneOffsetFunction(){let c=this,x=this.options,N=x.getTimezoneOffset;return this.useUTC?x.timezone?P=>{try{let S=`shortOffset,${x.timezone||""}`,[g,v,p,a,o=0]=(j.formatCache[S]=j.formatCache[S]||Intl.DateTimeFormat("en",{timeZone:x.timezone,timeZoneName:"shortOffset"})).format(P).split(/(GMT|:)/).map(Number),u=-(36e5*(p+o/60));if(K(u))return u}catch{B(34)}return 0}:this.useUTC&&N?P=>6e4*N(P.valueOf()):()=>6e4*(c.timezoneOffset||0):P=>6e4*new Date(P.toString()).getTimezoneOffset()}dateFormat(c,x,N){if(!C(x)||isNaN(x))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";c=Y(c,"%Y-%m-%d %H:%M:%S");let P=this,S=new this.Date(x),g=this.get("Hours",S),v=this.get("Day",S),p=this.get("Date",S),a=this.get("Month",S),o=this.get("FullYear",S),u=t.defaultOptions.lang,d=u&&u.weekdays,h=u&&u.shortWeekdays;return Z($({a:h?h[v]:d[v].substr(0,3),A:d[v],d:R(p),e:R(p,2," "),w:v,b:u.shortMonths[a],B:u.months[a],m:R(a+1),o:a+1,y:o.toString().substr(2,2),Y:o,H:R(g),k:g,I:R(g%12||12),l:g%12||12,M:R(this.get("Minutes",S)),p:g<12?"AM":"PM",P:g<12?"am":"pm",S:R(this.get("Seconds",S)),L:R(Math.floor(x%1e3),3)},t.dateFormats),function(m,f){for(;c.indexOf("%"+f)!==-1;)c=c.replace("%"+f,typeof m=="function"?m.call(P,x):m)}),N?c.substr(0,1).toUpperCase()+c.substr(1):c}resolveDTLFormat(c){return G(c,!0)?c:{main:(c=V(c))[0],from:c[1],to:c[2]}}getTimeTicks(c,x,N,P){let S,g,v,p,a=this,o=a.Date,u=[],d={},h=new o(x),m=c.unitRange,f=c.count||1;if(P=Y(P,1),C(x)){a.set("Milliseconds",h,m>=H.second?0:f*Math.floor(a.get("Milliseconds",h)/f)),m>=H.second&&a.set("Seconds",h,m>=H.minute?0:f*Math.floor(a.get("Seconds",h)/f)),m>=H.minute&&a.set("Minutes",h,m>=H.hour?0:f*Math.floor(a.get("Minutes",h)/f)),m>=H.hour&&a.set("Hours",h,m>=H.day?0:f*Math.floor(a.get("Hours",h)/f)),m>=H.day&&a.set("Date",h,m>=H.month?1:Math.max(1,f*Math.floor(a.get("Date",h)/f))),m>=H.month&&(a.set("Month",h,m>=H.year?0:f*Math.floor(a.get("Month",h)/f)),g=a.get("FullYear",h)),m>=H.year&&(g-=g%f,a.set("FullYear",h,g)),m===H.week&&(p=a.get("Day",h),a.set("Date",h,a.get("Date",h)-p+P+(p<P?-7:0))),g=a.get("FullYear",h);let y=a.get("Month",h),I=a.get("Date",h),E=a.get("Hours",h);x=h.getTime(),(a.variableTimezone||!a.useUTC)&&C(N)&&(v=N-x>4*H.month||a.getTimezoneOffset(x)!==a.getTimezoneOffset(N));let M=h.getTime();for(S=1;M<N;)u.push(M),m===H.year?M=a.makeTime(g+S*f,0):m===H.month?M=a.makeTime(g,y+S*f):v&&(m===H.day||m===H.week)?M=a.makeTime(g,y,I+S*f*(m===H.day?1:7)):v&&m===H.hour&&f>1?M=a.makeTime(g,y,I,E+S*f):M+=m*f,S++;u.push(M),m<=H.hour&&u.length<1e4&&u.forEach(function(D){D%18e5==0&&a.dateFormat("%H%M%S%L",D)==="000000000"&&(d[D]="day")})}return u.info=$(c,{higherRanks:d,totalRange:m*f}),u}getDateFormat(c,x,N,P){let S=this.dateFormat("%m-%d %H:%M:%S.%L",x),g="01-01 00:00:00.000",v={millisecond:15,second:12,minute:9,hour:6,day:3},p="millisecond",a=p;for(p in H){if(c===H.week&&+this.dateFormat("%w",x)===N&&S.substr(6)===g.substr(6)){p="week";break}if(H[p]>c){p=a;break}if(v[p]&&S.substr(v[p])!==g.substr(v[p]))break;p!=="week"&&(a=p)}return this.resolveDTLFormat(P[p]).main}}return j.formatCache={},j}),r(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{isTouchDevice:$}=n,{fireEvent:K,merge:G}=B,q={colors:l.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"}
129,states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:R=>Math.sqrt(1-Math.pow(R-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:$?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};q.chart.styledMode=!1;let Z=new C(q.time);return{defaultOptions:q,defaultTime:Z,getOptions:function(){return q},setOptions:function(R){return K(n,"setOptions",{options:R}),G(!0,q,R),(R.time||R.global)&&(n.time?n.time.update(G(q.global,q.time,R.global,R.time)):n.time=Z),q}}}),r(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isNumber:l,merge:C,pInt:B}=n;class ${static parse(G){return G?new $(G):$.None}constructor(G){let q,Z,R,Y;this.rgba=[NaN,NaN,NaN,NaN],this.input=G;let V=t.Color;if(V&&V!==$)return new V(G);if(typeof G=="object"&&G.stops!==void 0)this.stops=G.stops.map(H=>new $(H[1]));else if(typeof G=="string"){if(this.input=G=$.names[G.toLowerCase()]||G,G.charAt(0)==="#"){let H=G.length,T=parseInt(G.substr(1),16);H===7?Z=[(16711680&T)>>16,(65280&T)>>8,255&T,1]:H===4&&(Z=[(3840&T)>>4|(3840&T)>>8,(240&T)>>4|240&T,(15&T)<<4|15&T,1])}if(!Z)for(R=$.parsers.length;R--&&!Z;)(q=(Y=$.parsers[R]).regex.exec(G))&&(Z=Y.parse(q))}Z&&(this.rgba=Z)}get(G){let q=this.input,Z=this.rgba;if(typeof q=="object"&&this.stops!==void 0){let R=C(q);return R.stops=[].slice.call(R.stops),this.stops.forEach((Y,V)=>{R.stops[V]=[R.stops[V][0],Y.get(G)]}),R}return Z&&l(Z[0])?G!=="rgb"&&(G||Z[3]!==1)?G==="a"?`${Z[3]}`:"rgba("+Z.join(",")+")":"rgb("+Z[0]+","+Z[1]+","+Z[2]+")":q}brighten(G){let q=this.rgba;if(this.stops)this.stops.forEach(function(Z){Z.brighten(G)});else if(l(G)&&G!==0)for(let Z=0;Z<3;Z++)q[Z]+=B(255*G),q[Z]<0&&(q[Z]=0),q[Z]>255&&(q[Z]=255);return this}setOpacity(G){return this.rgba[3]=G,this}tweenTo(G,q){let Z=this.rgba,R=G.rgba;if(!l(Z[0])||!l(R[0]))return G.input||"none";let Y=R[3]!==1||Z[3]!==1;return(Y?"rgba(":"rgb(")+Math.round(R[0]+(Z[0]-R[0])*(1-q))+","+Math.round(R[1]+(Z[1]-R[1])*(1-q))+","+Math.round(R[2]+(Z[2]-R[2])*(1-q))+(Y?","+(R[3]+(Z[3]-R[3])*(1-q)):"")+")"}}return $.names={white:"#ffffff",black:"#000000"},$.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),parseFloat(K[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),1]}}],$.None=new $(""),$}
129),r(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{parse:C}=t,{win:B}=n,{isNumber:$,objectEach:K}=l;class G{constructor(Z,R,Y){this.pos=NaN,this.options=R,this.elem=Z,this.prop=Y}dSetter(){let Z=this.paths,R=Z&&Z[0],Y=Z&&Z[1],V=this.now||0,H=[];if(V!==1&&R&&Y)if(R.length===Y.length&&V<1)for(let T=0;T<Y.length;T++){let L=R[T],j=Y[T],s=[];for(let c=0;c<j.length;c++){let x=L[c],N=j[c];$(x)&&$(N)&&!(j[0]==="A"&&(c===4||c===5))?s[c]=x+V*(N-x):s[c]=N}H.push(s)}else H=Y;else H=this.toD||[];this.elem.attr("d",H,void 0,!0)}update(){let Z=this.elem,R=this.prop,Y=this.now,V=this.options.step;this[R+"Setter"]?this[R+"Setter"]():Z.attr?Z.element&&Z.attr(R,Y,null,!0):Z.style[R]=Y+this.unit,V&&V.call(Z,Y,this)}run(Z,R,Y){let V=this,H=V.options,T=function(s){return!T.stopped&&V.step(s)},L=B.requestAnimationFrame||function(s){setTimeout(s,13)},j=function(){for(let s=0;s<G.timers.length;s++)G.timers[s]()||G.timers.splice(s--,1);G.timers.length&&L(j)};Z!==R||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=Z,this.end=R,this.unit=Y,this.now=this.start,this.pos=0,T.elem=this.elem,T.prop=this.prop,T()&&G.timers.push(T)===1&&L(j)):(delete H.curAnim[this.prop],H.complete&&Object.keys(H.curAnim).length===0&&H.complete.call(this.elem))}step(Z){let R,Y,V=+new Date,H=this.options,T=this.elem,L=H.complete,j=H.duration,s=H.curAnim;return T.attr&&!T.element?R=!1:Z||V>=j+this.startTime?(this.now=this.end,this.pos=1,this.update(),s[this.prop]=!0,Y=!0,K(s,function(c){c!==!0&&(Y=!1)}),Y&&L&&L.call(T),R=!1):(this.pos=H.easing((V-this.startTime)/j),this.now=this.start+(this.end-this.start)*this.pos,this.update(),R=!0),R}
vendor: 5,342 bytes, line 129
129initPath(Z,R,Y){let V=Z.startX,H=Z.endX,T=Y.slice(),L=Z.isArea,j=L?2:1,s=R&&Y.length>R.length&&Y.hasStackedCliffs,c,x,N,P,S=R&&R.slice();if(!S||s)return[T,T];function g(p,a){for(;p.length<x;){let o=p[0],u=a[x-p.length];if(u&&o[0]==="M"&&(u[0]==="C"?p[0]=["C",o[1],o[2],o[1],o[2],o[1],o[2]]:p[0]=["L",o[1],o[2]]),p.unshift(o),L){let d=p.pop();p.push(p[p.length-1],d)}}}function v(p){for(;p.length<x;){let a=p[Math.floor(p.length/j)-1].slice();if(a[0]==="C"&&(a[1]=a[5],a[2]=a[6]),L){let o=p[Math.floor(p.length/j)].slice();p.splice(p.length/2,0,a,o)}else p.push(a)}}if(V&&H&&H.length){for(N=0;N<V.length;N++){if(V[N]===H[0]){c=N;break}if(V[0]===H[H.length-V.length+N]){c=N,P=!0;break}if(V[V.length-1]===H[H.length-V.length+N]){c=V.length-N;break}}c===void 0&&(S=[])}return S.length&&$(c)&&(x=T.length+c*j,P?(g(S,T),v(T)):(g(T,S),v(S))),[S,T]}fillSetter(){G.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}}return G.timers=[],G}),r(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,getStyle:C,isArray:B,isNumber:$,isObject:K,merge:G,objectEach:q,pick:Z}=n;function R(V){return K(V)?G({duration:500,defer:0},V):{duration:V?500:0,defer:0}}function Y(V,H){let T=t.timers.length;for(;T--;)t.timers[T].elem!==V||H&&H!==t.timers[T].prop||(t.timers[T].stopped=!0)}return{animate:function(V,H,T){let L,j="",s,c,x;K(T)||(x=arguments,T={duration:x[2],easing:x[3],complete:x[4]}),$(T.duration)||(T.duration=400),T.easing=typeof T.easing=="function"?T.easing:Math[T.easing]||Math.easeInOutSine,T.curAnim=G(H),q(H,function(N,P){Y(V,P),c=new t(V,T,P),s=void 0,P==="d"&&B(H.d)?(c.paths=c.initPath(V,V.pathArray,H.d),c.toD=H.d,L=0,s=1):V.attr?L=V.attr(P):(L=parseFloat(C(V,P))||0,P!=="opacity"&&(j="px")),s||(s=N),typeof s=="string"&&s.match("px")&&(s=s.replace(/px/g,"")),c.run(L,s,j)})},animObject:R,getDeferredAnimation:function(V,H,T){let L=R(H),j=T?[T]:V.series,s=0,c=0;return j.forEach(x=>{let N=R(x.options.animation);s=K(H)&&l(H.defer)?L.defer:Math.max(s,N.duration+N.defer),c=Math.min(L.duration,N.duration)}),V.renderer.forExport&&(s=0),{defer:Math.max(0,s-c),duration:Math.min(s,c)}},setAnimation:function(V,H){H.renderer.globalAnimation=Z(V,H.options.chart.animation,!0)},stop:Y}}),r(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{SVG_NS:l,win:C}=t,{attr:B,createElement:$,css:K,error:G,isFunction:q,isString:Z,objectEach:R,splat:Y}=n,{trustedTypes:V}=C,H=V&&q(V.createPolicy)&&V.createPolicy("highcharts",{createHTML:s=>s}),T=H?H.createHTML(""):"",L=function(){try{return!!new DOMParser().parseFromString(T,"text/html")}catch{return!1}}();class j{static filterUserAttributes(c){return R(c,(x,N)=>{let P=!0;j.allowedAttributes.indexOf(N)===-1&&(P=!1),["background","dynsrc","href","lowsrc","src"].indexOf(N)!==-1&&(P=Z(x)&&j.allowedReferences.some(S=>x.indexOf(S)===0)),P||(G(33,!1,void 0,{"Invalid attribute in config":`${N}`}),delete c[N]),Z(x)&&c[N]&&(c[N]=x.replace(/</g,"<"))}),c}static parseStyle(c){return c.split(";").reduce((x,N)=>{let P=N.split(":").map(g=>g.trim()),S=P.shift();return S&&P.length&&(x[S.replace(/-([a-z])/g,g=>g[1].toUpperCase())]=P.join(":")),x},{})}static setElementHTML(c,x){c.innerHTML=j.emptyHTML,x&&new j(x).addToDOM(c)}constructor(c){this.nodes=typeof c=="string"?this.parseMarkup(c):c}addToDOM(c){return function x(N,P){let S;return Y(N).forEach(function(g){let v,p=g.tagName,a=g.textContent?t.doc.createTextNode(g.textContent):void 0,o=j.bypassHTMLFiltering;if(p)if(p==="#text")v=a;else if(j.allowedTags.indexOf(p)!==-1||o){let u=p==="svg"?l:P.namespaceURI||l,d=t.doc.createElementNS(u,p),h=g.attributes||{};R(g,function(m,f){f!=="tagName"&&f!=="attributes"&&f!=="children"&&f!=="style"&&f!=="textContent"&&(h[f]=m)}),B(d,o?h:j.filterUserAttributes(h)),g.style&&K(d,g.style),a&&d.appendChild(a),x(g.children||[],d),v=d}else G(33,!1,void 0,{"Invalid tagName in config":p});v&&P.appendChild(v),S=v}),S}(this.nodes,c)}parseMarkup(c){let x,N=[];if(c=c.trim().replace(/ style=(["'])/g," data-style=$1"),L)x=new DOMParser().parseFromString(H?H.createHTML(c):c,"text/html");else{let S=$("div");S.innerHTML=c,x={body:S}}let P=(S,g)=>{let v=S.nodeName.toLowerCase(),p={tagName:v};v==="#text"&&(p.textContent=S.textContent||"");let a=S.attributes;if(a){let o={};[].forEach.call(a,u=>{u.name==="data-style"?p.style=j.parseStyle(u.value):o[u.name]=u.value}),p.attributes=o}if(S.childNodes.length){let o=[];[].forEach.call(S.childNodes,u=>{P(u,o)}),o.length&&(p.children=o)}g.push(p)};return[].forEach.call(x.body.childNodes,S=>P(S,N)),N}}return j.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","
129summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],j.allowedReferences=["https://","http://","mailto:","/","../","./","#"],j.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],j.emptyHTML=T,j.bypassHTMLFiltering=!1,j}),r(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n){let{defaultOptions:l,defaultTime:C}=t,{extend:B,getNestedProperty:$,isArray:K,isNumber:G,isObject:q,pick:Z,pInt:R}=n,Y={add:(T,L)=>T+L,divide:(T,L)=>L!==0?T/L:"",eq:(T,L)=>T==L,each:function(T){let L=arguments[arguments.length-1];return!!K(T)&&T.map((j,s)=>V(L.body,B(q(j)?j:{"@this":j},{"@index":s,"@first":s===0,"@last":s===T.length-1}))).join("")},ge:(T,L)=>T>=L,gt:(T,L)=>T>L,if:T=>!!T,le:(T,L)=>T<=L,lt:(T,L)=>T<L,multiply:(T,L)=>T*L,ne:(T,L)=>T!=L,subtract:(T,L)=>T-L,unless:T=>!T};function V(T="",L,j){let s=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,c=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,x=[],N=/f$/,P=/\.(\d)/,S=l.lang,g=j&&j.time||C,v=j&&j.numberFormatter||H,p=(h="")=>{let m;return h==="true"||h!=="false"&&((m=Number(h)).toString()===h?m:$(h,L))},a,o,u=0,d;for(;(a=s.exec(T))!==null;){let h=c.exec(a[1]);h&&(a=h,d=!0),o&&o.isBlock||(o={ctx:L,expression:a[1],find:a[0],isBlock:a[1].charAt(0)==="#",start:a.index,startInner:a.index+a[0].length,length:a[0].length});let m=a[1].split(" ")[0].replace("#","");Y[m]&&(o.isBlock&&m===o.fn&&u++,o.fn||(o.fn=m));let f=a[1]==="else";if(o.isBlock&&o.fn&&(a[1]===`/${o.fn}`||f))if(u)!f&&u--;else{let y=o.startInner,I=T.substr(y,a.index-y);o.body===void 0?(o.body=I,o.startInner=a.index+a[0].length):o.elseBody=I,o.find+=I+a[0],f||(x.push(o),o=void 0)}else o.isBlock||x.push(o);if(h&&!(o!=null&&o.isBlock))break}return x.forEach(h=>{let m,f,{body:y,elseBody:I,expression:E,fn:M}=h;if(M){let D=[h],F=E.split(" ");for(f=Y[M].length;f--;)D.unshift(p(F[f+1]));m=Y[M].apply(L,D),h.isBlock&&typeof m=="boolean"&&(m=V(m?y:I,L,j))}else{let D=E.split(":");if(m=p(D.shift()||""),D.length&&typeof m=="number"){let F=D.join(":");if(N.test(F)){let X=parseInt((F.match(P)||["","-1"])[1],10);m!==null&&(m=v(m,X,S.decimalPoint,F.indexOf(",")>-1?S.thousandsSep:""))}else m=g.dateFormat(F,m)}}T=T.replace(h.find,Z(m,""))}),d?V(T,L,j):T}function H(T,L,j,s){let c,x;T=+T||0,L=+L;let N=l.lang,P=(T.toString().split(".")[1]||"").split("e")[0].length,S=T.toString().split("e"),g=L;L===-1?L=Math.min(P,20):G(L)?L&&S[1]&&S[1]<0&&((x=L+ +S[1])>=0?(S[0]=(+S[0]).toExponential(x).split("e")[0],L=x):(S[0]=S[0].split(".")[0]||0,T=L<20?(S[0]*Math.pow(10,S[1])).toFixed(L):0,S[1]=0)):L=2;let v=(Math.abs(S[1]?S[0]:T)+Math.pow(10,-Math.max(L,P)-1)).toFixed(L),p=String(R(v)),a=p.length>3?p.length%3:0;return j=Z(j,N.decimalPoint),s=Z(s,N.thousandsSep),c=(T<0?"-":"")+(a?p.substr(0,a)+s:""),0>+S[1]&&!g?c="0":c+=p.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+s),L?c+=j+v.slice(-L):+c==0&&(c="0"),S[1]&&+c!=0&&(c+="e"+S[1]),c}return{dateFormat:function(T,L,j){return C.dateFormat(T,L,j)},format:V,helpers:Y,numberFormat:H}}),r(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var n,l;let C;return(l=n||(n={})).rendererTypes={},l.getRendererType=function(B=C){return l.rendererTypes[B]||l.rendererTypes[C]},l.registerRendererType=function(B,$,K){l.rendererTypes[B]=$,(!C||K)&&(C=B,t.Renderer=$)},n}),r(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var n;let{clamp:l,pick:C,pushUnique:B,stableSort:$}=t;return(n||(n={})).distribute=function K(G,q,Z){let R=G,Y=R.reducedLen||q,V=(p,a)=>p.target-a.target,H=[],T=G.length,L=[],j=H.push,s,c,x,N=!0,P,S,g=0,v;for(s=T;s--;)g+=G[s].size;if(g>Y){for($(G,(p,a)=>(a.rank||0)-(p.rank||0)),x=(v=G[0].rank===G[G.length-1].rank)?T/2:-1,c=v?x:T-1;x&&g>Y;)P=G[s=Math.floor(c)],B(L,s)&&(g-=P.size),c+=x,v&&c>=G.length&&(x/=2,c=x);L.sort((p,a)=>
vendor: 34,728 bytes, line 129
129a-p).forEach(p=>j.apply(H,G.splice(p,1)))}for($(G,V),G=G.map(p=>({size:p.size,targets:[p.target],align:C(p.align,.5)}));N;){for(s=G.length;s--;)P=G[s],S=(Math.min.apply(0,P.targets)+Math.max.apply(0,P.targets))/2,P.pos=l(S-P.size*P.align,0,q-P.size);for(s=G.length,N=!1;s--;)s>0&&G[s-1].pos+G[s-1].size>G[s].pos&&(G[s-1].size+=G[s].size,G[s-1].targets=G[s-1].targets.concat(G[s].targets),G[s-1].align=.5,G[s-1].pos+G[s-1].size>q&&(G[s-1].pos=q-G[s-1].size),G.splice(s,1),N=!0)}return j.apply(R,H),s=0,G.some(p=>{let a=0;return(p.targets||[]).some(()=>(R[s].pos=p.pos+a,Z!==void 0&&Math.abs(R[s].pos-R[s].target)>Z?(R.slice(0,s+1).forEach(o=>delete o.pos),R.reducedLen=(R.reducedLen||q)-.1*q,R.reducedLen>.1*q&&K(R,q,Z),!0):(a+=R[s].size,s++,!1)))}),$(R,V),R},n}),r(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{animate:B,animObject:$,stop:K}=t,{deg2rad:G,doc:q,svg:Z,SVG_NS:R,win:Y}=l,{addEvent:V,attr:H,createElement:T,crisp:L,css:j,defined:s,erase:c,extend:x,fireEvent:N,isArray:P,isFunction:S,isObject:g,isString:v,merge:p,objectEach:a,pick:o,pInt:u,pushUnique:d,replaceNested:h,syncTimeout:m,uniqueKey:f}=C;class y{_defaultGetter(E){let M=o(this[E+"Value"],this[E],this.element?this.element.getAttribute(E):null,0);return/^-?[\d\.]+$/.test(M)&&(M=parseFloat(M)),M}_defaultSetter(E,M,D){D.setAttribute(M,E)}add(E){let M,D=this.renderer,F=this.element;return E&&(this.parentGroup=E),this.textStr!==void 0&&this.element.nodeName==="text"&&D.buildText(this),this.added=!0,(!E||E.handleZ||this.zIndex)&&(M=this.zIndexSetter()),M||(E?E.element:D.box).appendChild(F),this.onAdd&&this.onAdd(),this}addClass(E,M){let D=M?"":this.attr("class")||"";return(E=(E||"").split(/ /g).reduce(function(F,X){return D.indexOf(X)===-1&&F.push(X),F},D?[D]:[]).join(" "))!==D&&this.attr("class",E),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(E,M,D,F=!0){let X,_,w,A,U={},b=this.renderer,k=b.alignedObjects,O=!!E;E?(this.alignOptions=E,this.alignByTranslate=M,this.alignTo=D):(E=this.alignOptions||{},M=this.alignByTranslate,D=this.alignTo);let z=!D||v(D)?D||"renderer":void 0;z&&(O&&d(k,this),D=void 0);let W=o(D,b[z],b),Q=E.align,ee=E.verticalAlign;return X=(W.x||0)+(E.x||0),_=(W.y||0)+(E.y||0),Q==="right"?w=1:Q==="center"&&(w=2),w&&(X+=((W.width||0)-(E.width||0))/w),U[M?"translateX":"x"]=Math.round(X),ee==="bottom"?A=1:ee==="middle"&&(A=2),A&&(_+=((W.height||0)-(E.height||0))/A),U[M?"translateY":"y"]=Math.round(_),F&&(this[this.placed?"animate":"attr"](U),this.placed=!0),this.alignAttr=U,this}alignSetter(E){let M={left:"start",center:"middle",right:"end"};M[E]&&(this.alignValue=E,this.element.setAttribute("text-anchor",M[E]))}animate(E,M,D){let F=$(o(M,this.renderer.globalAnimation,!0)),X=F.defer;return q.hidden&&(F.duration=0),F.duration!==0?(D&&(F.complete=D),m(()=>{this.element&&B(this,E,F)},X)):(this.attr(E,void 0,D||F.complete),a(E,function(_,w){F.step&&F.step.call(this,_,{prop:w,pos:1,elem:this})},this)),this}applyTextOutline(E){let M=this.element;E.indexOf("contrast")!==-1&&(E=E.replace(/contrast/g,this.renderer.getContrast(M.style.fill)));let D=E.split(" "),F=D[D.length-1],X=D[0];if(X&&X!=="none"&&l.svg){this.fakeTS=!0,X=X.replace(/(^[\d\.]+)(.*?)$/g,function(b,k,O){return 2*Number(k)+O}),this.removeTextOutline();let _=q.createElementNS(R,"tspan");H(_,{class:"highcharts-text-outline",fill:F,stroke:F,"stroke-width":X,"stroke-linejoin":"round"});let w=M.querySelector("textPath")||M;[].forEach.call(w.childNodes,b=>{let k=b.cloneNode(!0);k.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(O=>k.removeAttribute(O)),_.appendChild(k)});let A=0;[].forEach.call(w.querySelectorAll("text tspan"),b=>{A+=Number(b.getAttribute("dy"))});let U=q.createElementNS(R,"tspan");U.textContent="\u200B",H(U,{x:Number(M.getAttribute("x")),dy:-A}),_.appendChild(U),w.insertBefore(_,w.firstChild)}}attr(E,M,D,F){let{element:X}=this,_=y.symbolCustomAttribs,w,A,U=this,b;return typeof E=="string"&&M!==void 0&&(w=E,(E={})[w]=M),typeof E=="string"?U=(this[E+"Getter"]||this._defaultGetter).call(this,E,X):(a(E,function(k,O){b=!1,F||K(this,O),this.symbolName&&_.indexOf(O)!==-1&&(A||(this.symbolAttr(E),A=!0),b=!0),this.rotation&&(O==="x"||O==="y")&&(this.doTransform=!0),b||(this[O+"Setter"]||this._defaultSetter).call(this,k,O,X)},this),this.afterSetters()),D&&D.call(this),U}clip(E){if(E&&!E.clipPath){let M=f()+"-",D=this.renderer.createElement("clipPath").attr({id:M}).add(this.renderer.defs);x(E,{clipPath:D,id:M,count:0}),E.add(D)}return this.attr("clip-path",E?`url(${this.renderer.url}#${E.id})`:"none")}crisp(E,M){M=Math.round(M||E.strokeWidth||0);let D=E.x||this.x||0,F=E.y||this.y||0,X=(E.width||this.width||0)+D,_=(E.height||this.height||0)+F,w=L(D,M),A=L(F,M);return x(E,{x:w,y:A,width:L(X,M)-w,height:L(_,M)-A}),s(E.strokeWidth)&&(E.strokeWidth=M),E}complexColor(E,M,D){let F=this.renderer,X,_,w,A,U,b,k,O,z,W,Q=[],ee;N(this.renderer,"complexColor",{args:arguments},function(){if(E.radialGradient?_="radialGradient":E.linearGradient&&(_="linearGradient"),_){if(w=E[_],U=F.gradients,b=E.stops,z=D.radialReference,P(w)&&(E[_]=w={x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientUnits:"userSpaceOnUse"}),_==="radialGradient"&&z&&!s(w.gradientUnits)&&(A=w,w=p(w,F.getRadialAttr(z,A),{gradientUnits:"userSpaceOnUse"})),a(w,function(se,ae){ae!=="id"&&Q.push(ae,se)}),a(b,function(se){Q.push(se)}),U[Q=Q.join(",")])W=U[Q].attr("id");else{w.id=W=f();let se=U[Q]=F.createElement(_).attr(w).add(F.defs);se.radAttr=A,se.stops=[],b.forEach(function(ae){ae[1].indexOf("rgba")===0?(k=(X=n.parse(ae[1])).get("rgb"),O=X.get("a")):(k=ae[1],O=1);let he=F.createElement("stop").attr({offset:ae[0],"stop-color":k,"stop-opacity":O}).add(se);se.stops.push(he)})}ee="url("+F.url+"#"+W+")",D.setAttribute(M,ee),D.gradient=Q,E.toString=function(){return ee}}})}css(E){let M=this.styles,D={},F=this.element,X,_=!M;if(M&&a(E,function(w,A){M&&M[A]!==w&&(D[A]=w,_=!0)}),_){M&&(E=x(M,D)),E.width===null||E.width==="auto"?delete this.textWidth:F.nodeName.toLowerCase()==="text"&&E.width&&(X=this.textWidth=u(E.width)),x(this.styles,E),X&&!Z&&this.renderer.forExport&&delete E.width;let w=p(E);F.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(A=>w&&delete w[A]),w.color&&(w.fill=w.color)),j(F,w)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),E.textOutline&&this.applyTextOutline(E.textOutline)),this}dashstyleSetter(E){let M,D=this["stroke-width"];if(D==="inherit"&&(D=1),E=E&&E.toLowerCase()){let F=E.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(M=F.length;M--;)F[M]=""+u(F[M])*o(D,NaN);E=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",E)}}destroy(){var A;let E=this,M=E.element||{},D=E.renderer,F=M.ownerSVGElement,X=M.nodeName==="SPAN"&&E.parentGroup||void 0,_,w;if(M.onclick=M.onmouseout=M.onmouseover=M.onmousemove=M.point=null,K(E),E.clipPath&&F){let U=E.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){b.getAttribute("clip-path").indexOf(U.element.id)>-1&&b.removeAttribute("clip-path")}),E.clipPath=U.destroy()}if(E.connector=(A=E.connector)==null?void 0:A.destroy(),E.stops){for(w=0;w<E.stops.length;w++)E.stops[w].destroy();E.stops.length=0,E.stops=void 0}for(E.safeRemoveChild(M);X&&X.div&&X.div.childNodes.length===0;)_=X.parentGroup,E.safeRemoveChild(X.div),delete X.div,X=_;E.alignOptions&&c(D.alignedObjects,E),a(E,function(U,b){E[b]&&E[b].parentGroup===E&&E[b].destroy&&E[b].destroy(),delete E[b]})}dSetter(E,M,D){P(E)&&(typeof E[0]=="string"&&(E=this.renderer.pathToSegments(E)),this.pathArray=E,E=E.reduce((F,X,_)=>X&&X.join?(_?F+" ":"")+X.join(" "):(X||"").toString(),"")),/(NaN| {2}|^$)/.test(E)&&(E="M 0 0"),this[M]!==E&&(D.setAttribute(M,E),this[M]=E)}fillSetter(E,M,D){typeof E=="string"?D.setAttribute(M,E):E&&this.complexColor(E,M,D)}hrefSetter(E,M,D){D.setAttributeNS("http://www.w3.org/1999/xlink",M,E)}getBBox(E,M){let D,F,X,_,{alignValue:w,element:A,renderer:U,styles:b,textStr:k}=this,{cache:O,cacheKeys:z}=U,W=A.namespaceURI===this.SVG_NS,Q=o(M,this.rotation,0),ee=U.styledMode?A&&y.prototype.getStyle.call(A,"font-size"):b.fontSize;if(s(k)&&((_=k.toString()).indexOf("<")===-1&&(_=_.replace(/\d/g,"0")),_+=["",U.rootFontSize,ee,Q,this.textWidth,w,b.textOverflow,b.fontWeight].join(",")),_&&!E&&(D=O[_]),!D||D.polygon){if(W||U.forExport){try{X=this.fakeTS&&function(ae){let he=A.querySelector(".highcharts-text-outline");he&&j(he,{display:ae})},S(X)&&X("none"),D=A.getBBox?x({},A.getBBox()):{width:A.offsetWidth,height:A.offsetHeight,x:0,y:0},S(X)&&X("")}catch{}(!D||D.width<0)&&(D={x:0,y:0,width:0,height:0})}else D=this.htmlGetBBox();F=D.height,W&&(D.height=F={"11px,17":14,"13px,20":16}[`${ee||""},${Math.round(F)}`]||F),Q&&(D=this.getRotatedBox(D,Q));let se={bBox:D};N(this,"afterGetBBox",se),D=se.bBox}if(_&&(k===""||D.height>0)){for(;z.length>250;)delete O[z.shift()];O[_]||z.push(_),O[_]=D}return D}getRotatedBox(E,M){let{x:D,y:F,width:X,height:_}=E,{alignValue:w,translateY:A,rotationOriginX:U=0,rotationOriginY:b=0}=this,k={right:1,center:.5}[w||0]||0,O=Number(this.element.getAttribute("y")||0)-(A?0:F),z=M*G,W=(M-90)*G,Q=Math.cos(z),ee=Math.sin(z),se=X*Q,ae=X*ee,he=Math.cos(W),ce=Math.sin(W),[[ie,te],[ne,oe]]=[U,b].map(Oe=>[Oe-Oe*Q,Oe*ee]),le=D+k*(X-se)+ie+oe+O*he,ue=le+se,de=ue-_*he,fe=de-se,me=F+O-k*ae-te+ne+O*ce,ge=me+ae,Ee=ge-_*ce,ve=Ee-ae,ye=Math.min(le,ue,de,fe),Se=Math.min(me,ge,Ee,ve),xe=Math.max(le,ue,de,fe)-ye,Ce=Math.max(me,ge,Ee,ve)-Se;return{x:ye,y:Se,width:xe,height:Ce,polygon:[[le,me],[ue,ge],[de,Ee],[fe,ve]]}}getStyle(E){return Y.getComputedStyle(this.element||this,"").getPropertyValue(E)}hasClass(E){return(""+this.attr("class")).split(" ").indexOf(E)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(E,M){this.onEvents={},this.opacity=1,this.SVG_NS=R,this.element=M==="span"||M==="body"?T(M):q.createElementNS(this.SVG_NS,M),this.renderer=E,this.styles={},N(this,"afterInit")}on(E,M){let{onEvents:D}=this;return D[E]&&D[E](),D[E]=V(this.element,E,M),this}opacitySetter(E,M,D){let F=Number(Number(E).toFixed(3));this.opacity=F,D.setAttribute(M,F)}reAlign(){var E;(E=this.alignOptions)!=null&&E.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(E){return this.attr("class",(""+this.attr("class")).replace(v(E)?RegExp(`(^| )${E}( |$)`):E," ").replace(/ +/g," ").trim())}removeTextOutline(){let E=this.element.querySelector("tspan.highcharts-text-outline");E&&this.safeRemoveChild(E)}safeRemoveChild(E){let M=E.parentNode;M&&M.removeChild(E)}setRadialReference(E){let M=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=E,M&&M.radAttr&&M.animate(this.renderer.getRadialAttr(E,M.radAttr)),this}shadow(E){var X;let{renderer:M}=this,D=p(((X=this.parentGroup)==null?void 0:X.rotation)===90?{offsetX:-1,offsetY:-1}:{},g(E)?E:{}),F=M.shadowDefinition(D);return this.attr({filter:E?`url(${M.url}#${F})`:"none"})}show(E=!0){return this.attr({visibility:E?"inherit":"visible"})}"stroke-widthSetter"(E,M,D){this[M]=E,D.setAttribute(M,E)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let E=this.getStyle("stroke-width"),M=0,D;return/px$/.test(E)?M=u(E):E!==""&&(H(D=q.createElementNS(R,"rect"),{width:E,"stroke-width":0}),this.element.parentNode.appendChild(D),M=D.getBBox().width,D.parentNode.removeChild(D)),M}symbolAttr(E){let M=this;y.symbolCustomAttribs.forEach(function(D){M[D]=o(E[D],M[D])}),M.attr({d:M.renderer.symbols[M.symbolName](M.x,M.y,M.width,M.height,M)})}textSetter(E){E!==this.textStr&&(delete this.textPxLength,this.textStr=E,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(E){let M=this.element,D=M.getElementsByTagName("title")[0]||q.createElementNS(this.SVG_NS,"title");M.insertBefore?M.insertBefore(D,M.firstChild):M.appendChild(D),D.textContent=h(o(E,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let E=this.element;return E.parentNode.appendChild(E),this}translate(E,M){return this.attr({translateX:E,translateY:M})}updateTransform(E="transform"){var O;let{element:M,matrix:D,rotation:F=0,rotationOriginX:X,rotationOriginY:_,scaleX:w,scaleY:A,translateX:U=0,translateY:b=0}=this,k=["translate("+U+","+b+")"];s(D)&&k.push("matrix("+D.join(",")+")"),F&&(k.push("rotate("+F+" "+o(X,M.getAttribute("x"),0)+" "+o(_,M.getAttribute("y")||0)+")"),((O=this.text)==null?void 0:O.element.tagName)==="SPAN"&&this.text.attr({rotation:F,rotationOriginX:(X||0)-this.padding,rotationOriginY:(_||0)-this.padding})),(s(w)||s(A))&&k.push("scale("+o(w,1)+" "+o(A,1)+")"),k.length&&!(this.text||this).textPath&&M.setAttribute(E,k.join(" "))}visibilitySetter(E,M,D){E==="inherit"?D.removeAttribute(M):this[M]!==E&&D.setAttribute(M,E),this[M]=E}xGetter(E){return this.element.nodeName==="circle"&&(E==="x"?E="cx":E==="y"&&(E="cy")),this._defaultGetter(E)}zIndexSetter(E,M){let D=this.renderer,F=this.parentGroup,X=(F||D).element||D.box,_=this.element,w=X===D.box,A,U,b,k=!1,O,z=this.added,W;if(s(E)?(_.setAttribute("data-z-index",E),E=+E,this[M]===E&&(z=!1)):s(this[M])&&_.removeAttribute("data-z-index"),this[M]=E,z){for((E=this.zIndex)&&F&&(F.handleZ=!0),W=(A=X.childNodes).length-1;W>=0&&!k;W--)O=!s(b=(U=A[W]).getAttribute("data-z-index")),U!==_&&(E<0&&O&&!w&&!W?(X.insertBefore(_,A[W]),k=!0):(u(b)<=E||O&&(!s(E)||E>=0))&&(X.insertBefore(_,A[W+1]),k=!0));k||(X.insertBefore(_,A[w?3:0]),k=!0)}return k}}return y.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],y.prototype.strokeSetter=y.prototype.fillSetter,y.prototype.yGetter=y.prototype.xGetter,y.prototype.matrixSetter=y.prototype.rotationOriginXSetter=y.prototype.rotationOriginYSetter=y.prototype.rotationSetter=y.prototype.scaleXSetter=y.prototype.scaleYSetter=y.prototype.translateXSetter=y.prototype.translateYSetter=y.prototype.verticalAlignSetter=function(I,E){this[E]=I,this.doTransform=!0},y}),r(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,extend:C,isNumber:B,merge:$,pick:K,removeEvent:G}=n;class q extends t{constructor(R,Y,V,H,T,L,j,s,c,x){let N;super(R,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=Y,this.x=V,this.y=H,this.anchorX=L,this.anchorY=j,this.baseline=c,this.className=x,this.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&this.addClass("highcharts-"+x),this.text=R.text(void 0,0,0,s).attr({zIndex:1}),typeof T=="string"&&((N=/^url\((.*?)\)$/.test(T))||this.renderer.symbols[T])&&(this.symbolKey=T),this.bBox=q.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=R.styledMode||N,this.deferredAttr={},this.alignFactor=0}alignSetter(R){let Y={left:0,center:.5,right:1}[R];Y!==this.alignFactor&&(this.alignFactor=Y,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(R,Y){this.anchorX=R,this.boxAttr(Y,Math.round(R)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(R,Y){this.anchorY=R,this.boxAttr(Y,R-this.ySetting)}boxAttr(R,Y){this.box?this.box.attr(R,Y):this.deferredAttr[R]=Y}css(R){if(R){let Y={};R=$(R),q.textProps.forEach(V=>{R[V]!==void 0&&(Y[V]=R[V],delete R[V])}),this.text.css(Y),"fontSize"in Y||"fontWeight"in Y?this.updateTextPadding():("width"in Y||"textOverflow"in Y)&&this.updateBoxSize()}return t.prototype.css.call(this,R)}destroy(){G(this.element,"mouseenter"),G(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(R,Y){R&&(this.needsBox=!0),this.fill=R,this.boxAttr(Y,R)}getBBox(R,Y){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:V,height:H=0,translateX:T=0,translateY:L=0,width:j=0}=this,s=K(this.paddingLeft,V),c=Y??(this.rotation||0),x={width:j,height:H,x:T+this.bBox.x-s,y:L+this.bBox.y-V+this.baselineOffset};return c&&(x=this.getRotatedBox(x,c)),x}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(R){this.heightSetting=R,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:K(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&l(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(R,Y){B(R)?R!==this[Y]&&(this[Y]=R,this.updateTextPadding()):this[Y]=void 0}rSetter(R,Y){this.boxAttr(Y,R)}strokeSetter(R,Y){this.stroke=R,this.boxAttr(Y,R)}"stroke-widthSetter"(R,Y){R&&(this.needsBox=!0),this["stroke-width"]=R,this.boxAttr(Y,R)}"text-alignSetter"(R){this.textAlign=R}textSetter(R){R!==void 0&&this.text.attr({text:R}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let R,Y=this.text,V={},H=this.padding,T=this.bBox=(!B(this.widthSetting)||!B(this.heightSetting)||this.textAlign)&&l(Y.textStr)?Y.getBBox(void 0,0):q.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||T.height||0)+2*H;let L=this.renderer.fontMetrics(Y);if(this.baselineOffset=H+Math.min((this.text.firstLineMetrics||L).b,T.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-L.h)/2),this.needsBox&&!Y.textPath){if(!this.box){let j=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();j.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),j.add(this)}R=this.getCrispAdjust(),V.x=R,V.y=(this.baseline?-this.baselineOffset:0)+R,V.width=Math.round(this.width),V.height=Math.round(this.height),this.box.attr(C(V,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let R=this.text;if(!R.textPath){this.updateBoxSize();let Y=this.baseline?0:this.baselineOffset,V=K(this.paddingLeft,this.padding);l(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(V+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(V!==R.x||Y!==R.y)&&(R.attr("x",V),R.hasBoxWidthChanged&&(this.bBox=R.getBBox(!0)),Y!==void 0&&R.attr("y",Y)),R.x=V,R.y=Y}}widthSetter(R){this.widthSetting=B(R)?R:void 0,this.doUpdate=!0}getPaddedWidth(){let R=this.padding,Y=K(this.paddingLeft,R),V=K(this.paddingRight,R);return(this.widthSetting||this.bBox.width||0)+Y+V}xSetter(R){this.x=R,this.alignFactor&&(R-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(R),this.attr("translateX",this.xSetting)}ySetter(R){this.ySetting=this.y=Math.round(R),this.attr("translateY",this.ySetting)}}return q.emptyBBox={width:0,height:0,x:0,y:0},q.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],q}),r(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t;function B(G,q,Z,R,Y){let V=[];if(Y){let H=Y.start||0,T=C(Y.r,Z),L=C(Y.r,R||Z),j=2e-4/(Y.borderRadius?1:Math.max(T,1)),s=Math.abs((Y.end||0)-H-2*Math.PI)<j,c=(Y.end||0)-(s?j:0),x=Y.innerR,N=C(Y.open,s),P=Math.cos(H),S=Math.sin(H),g=Math.cos(c),v=Math.sin(c),p=C(Y.longArc,c-H-Math.PI<j?0:1),a=["A",T,L,0,p,C(Y.clockwise,1),G+T*g,q+L*v];a.params={start:H,end:c,cx:G,cy:q},V.push(["M",G+T*P,q+L*S],a),n(x)&&((a=["A",x,x,0,p,n(Y.clockwise)?1-Y.clockwise:0,G+x*P,q+x*S]).params={start:c,end:H,cx:G,cy:q},V.push(N?["M",G+x*g,q+x*v]:["L",G+x*g,q+x*v],a)),N||V.push(["Z"])}return V}function $(G,q,Z,R,Y){return Y&&Y.r?K(G,q,Z,R,Y):[["M",G,q],["L",G+Z,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]}function K(G,q,Z,R,Y){let V=(Y==null?void 0:Y.r)||0;return[["M",G+V,q],["L",G+Z-V,q],["A",V,V,0,0,1,G+Z,q+V],["L",G+Z,q+R-V],["A",V,V,0,0,1,G+Z-V,q+R],["L",G+V,q+R],["A",V,V,0,0,1,G,q+R-V],["L",G,q+V],["A",V,V,0,0,1,G+V,q],["Z"]]}return{arc:B,callout:function(G,q,Z,R,Y){let V=Math.min(Y&&Y.r||0,Z,R),H=V+6,T=Y&&Y.anchorX,L=Y&&Y.anchorY||0,j=K(G,q,Z,R,{r:V});if(!l(T)||T<Z&&T>0&&L<R&&L>0)return j;if(G+T>Z-H)if(L>q+H&&L<q+R-H)j.splice(3,1,["L",G+Z,L-6],["L",G+Z+6,L],["L",G+Z,L+6],["L",G+Z,q+R-V]);else if(T<Z){let s=L<q+H,c=s?q:q+R;j.splice(s?2:5,0,["L",T,L],["L",G+Z-V,c])}else j.splice(3,1,["L",G+Z,R/2],["L",T,L],["L",G+Z,R/2],["L",G+Z,q+R-V]);else if(G+T<H)if(L>q+H&&L<q+R-H)j.splice(7,1,["L",G,L+6],["L",G-6,L],["L",G,L-6],["L",G,q+V]);else if(T>0){let s=L<q+H,c=s?q:q+R;j.splice(s?1:6,0,["L",T,L],["L",G+V,c])}else j.splice(7,1,["L",G,R/2],["L",T,L],["L",G,R/2],["L",G,q+V]);else L>R&&T<Z-H?j.splice(5,1,["L",T+6,q+R],["L",T,q+R+6],["L",T-6,q+R],["L",G+V,q+R]):L<0&&T>H&&j.splice(1,1,["L",T-6,q],["L",T,q-6],["L",T+6,q],["L",Z-V,q]);return j},circle:function(G,q,Z,R){return B(G+Z/2,q+R/2,Z/2,R/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R/2],["L",G+Z/2,q+R],["L",G,q+R/2],["Z"]]},rect:$,roundedRect:K,square:$,triangle:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]},"triangle-down":function(G,q,Z,R){return[["M",G,q],["L",G+Z,q],["L",G+Z/2,q+R],["Z"]]}}}),r(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{doc:C,SVG_NS:B,win:$}=n,{attr:K,extend:G,fireEvent:q,isString:Z,objectEach:R,pick:Y}=l;return class{constructor(V){let H=V.styles;this.renderer=V.renderer,this.svgElement=V,this.width=V.textWidth,this.textLineHeight=H&&H.lineHeight,this.textOutline=H&&H.textOutline,this.ellipsis=!!(H&&H.textOverflow==="ellipsis"),this.noWrap=!!(H&&H.whiteSpace==="nowrap")}buildSVG(){let V=this.svgElement,H=V.element,T=V.renderer,L=Y(V.textStr,"").toString(),j=L.indexOf("<")!==-1,s=H.childNodes,c=!V.added&&T.box,x=[L,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,V.getStyle("font-size"),this.width].join(",");if(x!==V.textCache){V.textCache=x,delete V.actualWidth;for(let N=s.length;N--;)H.removeChild(s[N]);if(j||this.ellipsis||this.width||V.textPath||L.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(L))){if(L!==""){c&&c.appendChild(H);let N=new t(L);this.modifyTree(N.nodes),N.addToDOM(H),this.modifyDOM(),this.ellipsis&&(H.textContent||"").indexOf("\u2026")!==-1&&V.attr("title",this.unescapeEntities(V.textStr||"",["<",">"])),c&&c.removeChild(H)}}else H.appendChild(C.createTextNode(this.unescapeEntities(L)));Z(this.textOutline)&&V.applyTextOutline&&V.applyTextOutline(this.textOutline)}}modifyDOM(){let V,H=this.svgElement,T=K(H.element,"x");for(H.firstLineMetrics=void 0;(V=H.element.firstChild)&&/^[\s\u200B]*$/.test(V.textContent||" ");)H.element.removeChild(V);[].forEach.call(H.element.querySelectorAll("tspan.highcharts-br"),(c,x)=>{c.nextSibling&&c.previousSibling&&(x===0&&c.previousSibling.nodeType===1&&(H.firstLineMetrics=H.renderer.fontMetrics(c.previousSibling)),K(c,{dy:this.getLineHeight(c.nextSibling),x:T}))});let L=this.width||0;if(!L)return;let j=(c,x)=>{let N=c.textContent||"",P=N.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(P.length>1||H.element.childNodes.length>1),g=this.getLineHeight(x),v=0,p=H.actualWidth;if(this.ellipsis)N&&this.truncate(c,N,void 0,0,Math.max(0,L-.8*g),(a,o)=>a.substring(0,o)+"\u2026");else if(S){let a=[],o=[];for(;x.firstChild&&x.firstChild!==c;)o.push(x.firstChild),x.removeChild(x.firstChild);for(;P.length;)P.length&&!this.noWrap&&v>0&&(a.push(c.textContent||""),c.textContent=P.join(" ").replace(/- /g,"-")),this.truncate(c,void 0,P,v===0&&p||0,L,(u,d)=>P.slice(0,d).join(" ").replace(/- /g,"-")),p=H.actualWidth,v++;o.forEach(u=>{x.insertBefore(u,c)}),a.forEach(u=>{x.insertBefore(C.createTextNode(u),c);let d=C.createElementNS(B,"tspan");d.textContent="\u200B",K(d,{dy:g,x:T}),x.insertBefore(d,c)})}},s=c=>{[].slice.call(c.childNodes).forEach(x=>{x.nodeType===$.Node.TEXT_NODE?j(x,c):(x.className.baseVal.indexOf("highcharts-br")!==-1&&(H.actualWidth=0),s(x))})};s(H.element)}getLineHeight(V){let H=V.nodeType===$.Node.TEXT_NODE?V.parentElement:V;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(H||this.svgElement.element).h}modifyTree(V){let H=(T,L)=>{let{attributes:j={},children:s,style:c={},tagName:x}=T,N=this.renderer.styledMode;if(x==="b"||x==="strong"?N?j.class="highcharts-strong":c.fontWeight="bold":(x==="i"||x==="em")&&(N?j.class="highcharts-emphasized":c.fontStyle="italic"),c&&c.color&&(c.fill=c.color),x==="br"){j.class="highcharts-br",T.textContent="\u200B";let P=V[L+1];P&&P.textContent&&(P.textContent=P.textContent.replace(/^ +/gm,""))}else x==="a"&&s&&s.some(P=>P.tagName==="#text")&&(T.children=[{children:s,tagName:"tspan"}]);x!=="#text"&&x!=="a"&&(T.tagName="tspan"),G(T,{attributes:j,style:c}),s&&s.filter(P=>P.tagName!=="#text").forEach(H)};V.forEach(H),q(this.svgElement,"afterModifyTree",{nodes:V})}truncate(V,H,T,L,j,s){let c,x,N=this.svgElement,{rotation:P}=N,S=[],g=T?1:0,v=(H||T||"").length,p=v,a=function(o,u){let d=u||o,h=V.parentNode;if(h&&S[d]===void 0&&h.getSubStringLength)try{S[d]=L+h.getSubStringLength(0,T?d+1:d)}catch{}return S[d]};if(N.rotation=0,L+(x=a(V.textContent.length))>j){for(;g<=v;)p=Math.ceil((g+v)/2),T&&(c=s(T,p)),x=a(p,c&&c.length-1),g===v?g=v+1:x>j?v=p-1:g=p;v===0?V.textContent="":H&&v===H.length-1||(V.textContent=c||s(H||T,p))}T&&T.splice(0,p),N.actualWidth=x,N.rotation=P}unescapeEntities(V,H){return R(this.renderer.escapes,function(T,L){H&&H.indexOf(T)!==-1||(V=V.toString().replace(RegExp(T,"g"),L))}),V}}}),r(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let R,{defaultOptions:Y}=n,{charts:V,deg2rad:H,doc:T,isFirefox:L,isMS:j,isWebKit:s,noop:c,SVG_NS:x,symbolSizes:N,win:P}=C,{addEvent:S,attr:g,createElement:v,crisp:p,css:a,defined:o,destroyObjectProperties:u,extend:d,isArray:h,isNumber:m,isObject:f,isString:y,merge:I,pick:E,pInt:M,replaceNested:D,uniqueKey:F}=Z;class X{constructor(w,A,U,b,k,O,z){let W,Q,ee=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),se=ee.element;z||ee.css(this.getStyle(b||{})),w.appendChild(se),g(w,"dir","ltr"),w.innerHTML.indexOf("xmlns")===-1&&g(se,"xmlns",this.SVG_NS),this.box=se,this.boxWrapper=ee,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(T.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=O,this.forExport=k,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=ee.getStyle("font-size"),this.setSize(A,U,!1),L&&w.getBoundingClientRect&&((W=function(){a(w,{left:0,top:0}),Q=w.getBoundingClientRect(),a(w,{left:Math.ceil(Q.left)-Q.left+"px",top:Math.ceil(Q.top)-Q.top+"px"})})(),this.unSubPixelFix=S(P,"resize",W))}definition(w){return new t([w]).addToDOM(this.defs.element)}getReferenceURL(){if((L||s)&&T.getElementsByTagName("base").length){if(!o(R)){let w=F(),A=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:w},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${w})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(T.body);a(A,{position:"fixed",top:0,left:0,zIndex:9e5});let U=T.elementFromPoint(6,6);R=(U&&U.id)==="hitme",T.body.removeChild(A)}if(R)return D(P.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(w){return this.style=d({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},w),this.style}setStyle(w){this.boxWrapper.css(this.getStyle(w))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let w=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,this.defs=w.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(w){return new this.Element(this,w)}getRadialAttr(w,A){return{cx:w[0]-w[2]/2+(A.cx||0)*w[2],cy:w[1]-w[2]/2+(A.cy||0)*w[2],r:(A.r||0)*w[2]}}shadowDefinition(w){let A=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(w).map(b=>`${b}-${w[b]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),U=I({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},w);return this.defs.element.querySelector(`#${A}`)||this.definition({tagName:"filter",attributes:{id:A,filterUnits:U.filterUnits},children:this.getShadowFilterContent(U)}),A}getShadowFilterContent(w){return[{tagName:"feDropShadow",attributes:{dx:w.offsetX,dy:w.offsetY,"flood-color":w.color,"flood-opacity":Math.min(5*w.opacity,1),stdDeviation:w.width/2}}]}buildText(w){new q(w).buildSVG()}getContrast(w){let A=l.parse(w).rgba.map(b=>{let k=b/255;return k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4)}),U=.2126*A[0]+.7152*A[1]+.0722*A[2];return 1.05/(U+.05)>(U+.05)/.05?"#FFFFFF":"#000000"}button(w,A,U,b,k={},O,z,W,Q,ee){let se=this.label(w,A,U,Q,void 0,void 0,ee,void 0,"button"),ae=this.styledMode,he=arguments,ce=0;k=I(Y.global.buttonTheme,k),ae&&(delete k.fill,delete k.stroke,delete k["stroke-width"]);let ie=k.states||{},te=k.style||{};delete k.states,delete k.style;let ne=[t.filterUserAttributes(k)],oe=[te];return ae||["hover","select","disabled"].forEach((le,ue)=>{ne.push(I(ne[0],t.filterUserAttributes(he[ue+5]||ie[le]||{}))),oe.push(ne[ue+1].style),delete ne[ue+1].style}),S(se.element,j?"mouseover":"mouseenter",function(){ce!==3&&se.setState(1)}),S(se.element,j?"mouseout":"mouseleave",function(){ce!==3&&se.setState(ce)}),se.setState=(le=0)=>{if(le!==1&&(se.state=ce=le),se.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][le]),!ae){se.attr(ne[le]);let ue=oe[le];f(ue)&&se.css(ue)}},se.attr(ne[0]),!ae&&(se.css(d({cursor:"default"},te)),ee&&se.text.css({pointerEvents:"none"})),se.on("touchstart",le=>le.stopPropagation()).on("click",function(le){ce!==3&&b.call(se,le)})}crispLine(w,A){let[U,b]=w;return o(U[1])&&U[1]===b[1]&&(U[1]=b[1]=p(U[1],A)),o(U[2])&&U[2]===b[2]&&(U[2]=b[2]=p(U[2],A)),w}path(w){let A=this.styledMode?{}:{fill:"none"};return h(w)?A.d=w:f(w)&&d(A,w),this.createElement("path").attr(A)}circle(w,A,U){let b=f(w)?w:w===void 0?{}:{x:w,y:A,r:U},k=this.createElement("circle");return k.xSetter=k.ySetter=function(O,z,W){W.setAttribute("c"+z,O)},k.attr(b)}arc(w,A,U,b,k,O){let z;f(w)?(A=(z=w).y,U=z.r,b=z.innerR,k=z.start,O=z.end,w=z.x):z={innerR:b,start:k,end:O};let W=this.symbol("arc",w,A,U,U,z);return W.r=U,W}rect(w,A,U,b,k,O){let z=f(w)?w:w===void 0?{}:{x:w,y:A,r:k,width:Math.max(U||0,0),height:Math.max(b||0,0)},W=this.createElement("rect");return this.styledMode||(O!==void 0&&(z["stroke-width"]=O,d(z,W.crisp(z))),z.fill="none"),W.rSetter=function(Q,ee,se){W.r=Q,g(se,{rx:Q,ry:Q})},W.rGetter=function(){return W.r||0},W.attr(z)}roundedRect(w){return this.symbol("roundedRect").attr(w)}setSize(w,A,U){this.width=w,this.height=A,this.boxWrapper.animate({width:w,height:A},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(U,!0)?void 0:0}),this.alignElements()}g(w){let A=this.createElement("g");return w?A.attr({class:"highcharts-"+w}):A}image(w,A,U,b,k,O){let z={preserveAspectRatio:"none"};m(A)&&(z.x=A),m(U)&&(z.y=U),m(b)&&(z.width=b),m(k)&&(z.height=k);let W=this.createElement("image").attr(z),Q=function(ee){W.attr({href:w}),O.call(W,ee)};if(O){W.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let ee=new P.Image;S(ee,"load",Q),ee.src=w,ee.complete&&Q({})}else W.attr({href:w});return W}symbol(w,A,U,b,k,O){let z,W,Q,ee,se=this,ae=/^url\((.*?)\)$/,he=ae.test(w),ce=!he&&(this.symbols[w]?w:"circle"),ie=ce&&this.symbols[ce];if(ie)typeof A=="number"&&(W=ie.call(this.symbols,A||0,U||0,b||0,k||0,O)),z=this.path(W),se.styledMode||z.attr("fill","none"),d(z,{symbolName:ce||void 0,x:A,y:U,width:b,height:k}),O&&d(z,O);else if(he){Q=w.match(ae)[1];let te=z=this.image(Q);te.imgwidth=E(O&&O.width,N[Q]&&N[Q].width),te.imgheight=E(O&&O.height,N[Q]&&N[Q].height),ee=ne=>ne.attr({width:ne.width,height:ne.height}),["width","height"].forEach(ne=>{te[`${ne}Setter`]=function(oe,le){this[le]=oe;let{alignByTranslate:ue,element:de,width:fe,height:me,imgwidth:ge,imgheight:Ee}=this,ve=le==="width"?ge:Ee,ye=1;O&&O.backgroundSize==="within"&&fe&&me&&ge&&Ee?(ye=Math.min(fe/ge,me/Ee),g(de,{width:Math.round(ge*ye),height:Math.round(Ee*ye)})):de&&ve&&de.setAttribute(le,ve),!ue&&ge&&Ee&&this.translate(((fe||0)-ge*ye)/2,((me||0)-Ee*ye)/2)}}),o(A)&&te.attr({x:A,y:U}),te.isImg=!0,te.symbolUrl=w,o(te.imgwidth)&&o(te.imgheight)?ee(te):(te.attr({width:0,height:0}),v("img",{onload:function(){let ne=V[se.chartIndex];this.width===0&&(a(this,{position:"absolute",top:"-999em"}),T.body.appendChild(this)),N[Q]={width:this.width,height:this.height},te.imgwidth=this.width,te.imgheight=this.height,te.element&&ee(te),this.parentNode&&this.parentNode.removeChild(this),se.imgCount--,se.imgCount||!ne||ne.hasLoaded||ne.onload()},src:Q}),this.imgCount++)}return z}clipRect(w,A,U,b){return this.rect(w,A,U,b,0)}text(w,A,U,b){let k={};if(b&&(this.allowHTML||!this.forExport))return this.html(w,A,U);k.x=Math.round(A||0),U&&(k.y=Math.round(U)),o(w)&&(k.text=w);let O=this.createElement("text").attr(k);return b&&(!this.forExport||this.allowHTML)||(O.xSetter=function(z,W,Q){let ee=Q.getElementsByTagName("tspan"),se=Q.getAttribute(W);for(let ae=0,he;ae<ee.length;ae++)(he=ee[ae]).getAttribute(W)===se&&he.setAttribute(W,z);Q.setAttribute(W,z)}),O}fontMetrics(w){let A=M($.prototype.getStyle.call(w,"font-size")||0),U=A<24?A+3:Math.round(1.2*A),b=Math.round(.8*U);return{h:U,b,f:A}}rotCorr(w,A,U){let b=w;return A&&U&&(b=Math.max(b*Math.cos(A*H),4)),{x:-w/3*Math.sin(A*H),y:b}}pathToSegments(w){let A=[],U=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let k=0;k<w.length;k++)y(U[0])&&m(w[k])&&U.length===b[U[0].toUpperCase()]&&w.splice(k,0,U[0].replace("M","L").replace("m","l")),typeof w[k]=="string"&&(U.length&&A.push(U.slice(0)),U.length=0),U.push(w[k]);return A.push(U.slice(0)),A}label(w,A,U,b,k,O,z,W,Q){return new K(this,w,A,U,b,k,O,z,W,Q)}
129alignElements(){this.alignedObjects.forEach(w=>w.align())}}return d(X.prototype,{Element:$,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:G,draw:c}),B.registerRendererType("svg",X,!0),X}),r(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{composed:B}=n,{attr:$,css:K,createElement:G,defined:q,extend:Z,pInt:R,pushUnique:Y}=C;function V(j,s,c){var N;let x=((N=this.div)==null?void 0:N.style)||c.style;l.prototype[`${s}Setter`].call(this,j,s,c),x&&(x[s]=j)}let H=(j,s)=>{var c;if(!j.div){let x=$(j.element,"class"),N=j.css,P=G("div",x?{className:x}:void 0,xt(ze({position:"absolute",left:`${j.translateX||0}px`,top:`${j.translateY||0}px`},j.styles),{display:j.display,opacity:j.opacity,visibility:j.visibility}),((c=j.parentGroup)==null?void 0:c.div)||s);j.classSetter=(S,g,v)=>{v.setAttribute("class",S),P.className=S},j.translateXSetter=j.translateYSetter=(S,g)=>{j[g]=S,P.style[g==="translateX"?"left":"top"]=`${S}px`,j.doTransform=!0},j.opacitySetter=j.visibilitySetter=V,j.css=S=>(N.call(j,S),S.cursor&&(P.style.cursor=S.cursor),S.pointerEvents&&(P.style.pointerEvents=S.pointerEvents),j),j.on=function(){return l.prototype.on.apply({element:P,onEvents:j.onEvents},arguments),j},j.div=P}return j.div};class T extends l{static compose(s){Y(B,this.compose)&&(s.prototype.html=function(c,x,N){return new T(this,"span").attr({text:c,x:Math.round(x),y:Math.round(N)})})}constructor(s,c){super(s,c),this.css(ze({position:"absolute"},s.styledMode?{}:{fontFamily:s.style.fontFamily,fontSize:s.style.fontSize})),this.element.style.whiteSpace="nowrap"}getSpanCorrection(s,c,x){this.xCorr=-s*x,this.yCorr=-c}css(s){let c,{element:x}=this,N=x.tagName==="SPAN"&&s&&"width"in s,P=N&&s.width;return N&&(delete s.width,this.textWidth=R(P)||void 0,c=!0),(s==null?void 0:s.textOverflow)==="ellipsis"&&(s.whiteSpace="nowrap",s.overflow="hidden"),Z(this.styles,s),K(x,s),c&&this.updateTransform(),this}htmlGetBBox(){let{element:s}=this;return{x:s.offsetLeft,y:s.offsetTop,width:s.offsetWidth,height:s.offsetHeight}}updateTransform(){var m;if(!this.added){this.alignOnAdd=!0;return}let{element:s,renderer:c,rotation:x,rotationOriginX:N,rotationOriginY:P,styles:S,textAlign:g="left",textWidth:v,translateX:p=0,translateY:a=0,x:o=0,y:u=0}=this,d={left:0,center:.5,right:1}[g],h=S.whiteSpace;if(K(s,{marginLeft:`${p}px`,marginTop:`${a}px`}),s.tagName==="SPAN"){let f=[x,g,s.innerHTML,v,this.textAlign].join(","),y=-(((m=this.parentGroup)==null?void 0:m.padding)*1)||0,I,E=!1;if(v!==this.oldTextWidth){let _=this.textPxLength?this.textPxLength:(K(s,{width:"",whiteSpace:h||"nowrap"}),s.offsetWidth),w=v||0;(w>this.oldTextWidth||_>w)&&(/[ \-]/.test(s.textContent||s.innerText)||s.style.textOverflow==="ellipsis")&&(K(s,{width:_>w||x?v+"px":"auto",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=v,E=!0)}this.hasBoxWidthChanged=E,f!==this.cTT&&(I=c.fontMetrics(s).b,q(x)&&(x!==(this.oldRotation||0)||g!==this.oldAlign)&&this.setSpanRotation(x,y,y),this.getSpanCorrection(!q(x)&&this.textPxLength||s.offsetWidth,I,d));let{xCorr:M=0,yCorr:D=0}=this,F=(N??o)-M-o-y,X=(P??u)-D-u-y;K(s,{left:`${o+M}px`,top:`${u+D}px`,transformOrigin:`${F}px ${X}px`}),this.cTT=f,this.oldRotation=x,this.oldAlign=g}}setSpanRotation(s,c,x){K(this.element,{transform:`rotate(${s}deg)`,transformOrigin:`${c}% ${x}px`})}add(s){let c,x=this.renderer.box.parentNode,N=[];if(this.parentGroup=s,s&&!(c=s.div)){let P=s;for(;P;)N.push(P),P=P.parentGroup;for(let S of N.reverse())c=H(S,x)}return(c||x).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(s){s!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,s??""),this.textStr=s,this.doTransform=!0)}alignSetter(s){this.alignValue=this.textAlign=s,this.doTransform=!0}xSetter(s,c){this[c]=s,this.doTransform=!0}}let L=T.prototype;return L.visibilitySetter=L.opacitySetter=V,L.ySetter=L.rotationSetter=L.rotationOriginXSetter=L.rotationOriginYSetter=L.xSetter,T}),r(e,"Core/Axis/AxisDefaults.js",[],function(){var t,n;return(n=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"
129%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},n.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:l}=this.axis.chart;return l(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),r(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,isFunction:C,objectEach:B,removeEvent:$}=t;return(n||(n={})).registerEventOptions=function(K,G){K.eventOptions=K.eventOptions||{},B(G.events,function(q,Z){K.eventOptions[Z]!==q&&(K.eventOptions[Z]&&($(K,Z,K.eventOptions[Z]),delete K.eventOptions[Z]),C(q)&&(K.eventOptions[Z]=q,l(K,Z,q,{order:0})))})},n}),r(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{deg2rad:C}=n,{clamp:B,correctFloat:$,defined:K,destroyObjectProperties:G,extend:q,fireEvent:Z,isNumber:R,merge:Y,objectEach:V,pick:H}=l;return class{constructor(T,L,j,s,c){this.isNew=!0,this.isNewLabel=!0,this.axis=T,this.pos=L,this.type=j||"",this.parameters=c||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,Z(this,"init"),j||s||this.addLabel()}addLabel(){let T=this,L=T.axis,j=L.options,s=L.chart,c=L.categories,x=L.logarithmic,N=L.names,P=T.pos,S=H(T.options&&T.options.labels,j.labels),g=L.tickPositions,v=P===g[0],p=P===g[g.length-1],a=(!S.step||S.step===1)&&L.tickInterval===1,o=g.info,u=T.label,d,h,m,f=this.parameters.category||(c?H(c[P],N[P],P):P);x&&R(f)&&(f=$(x.lin2log(f))),L.dateTime&&(o?d=(h=s.time.resolveDTLFormat(j.dateTimeLabelFormats[!j.grid&&o.higherRanks[P]||o.unitName])).main:R(f)&&(d=L.dateTime.getXDateFormat(f,j.dateTimeLabelFormats||{}))),T.isFirst=v,T.isLast=p;let y={axis:L,chart:s,dateTimeLabelFormat:d,isFirst:v,isLast:p,pos:P,tick:T,tickPositionInfo:o,value:f};Z(this,"labelFormat",y);let I=D=>S.formatter?S.formatter.call(D,D):S.format?(D.text=L.defaultLabelFormatter.call(D),t.format(S.format,D,s)):L.defaultLabelFormatter.call(D),E=I.call(y,y),M=h&&h.list;M?T.shortenLabel=function(){for(m=0;m<M.length;m++)if(q(y,{dateTimeLabelFormat:M[m]}),u.attr({text:I.call(y,y)}),u.getBBox().width<L.getSlotWidth(T)-2*(S.padding||0))return;u.attr({text:""})}:T.shortenLabel=void 0,a&&L._addedPlotLB&&T.moveLabel(E,S),K(u)||T.movedLabel?u&&u.textStr!==E&&!a&&(!u.textWidth||S.style.width||u.styles.width||u.css({width:null}),u.attr({text:E}),u.textPxLength=u.getBBox().width):(T.label=u=T.createLabel(E,S),T.rotation=0)}createLabel(T,L,j){let s=this.axis,c=s.chart,x=K(T)&&L.enabled?c.renderer.text(T,j==null?void 0:j.x,j==null?void 0:j.y,L.useHTML).add(s.labelGroup):void 0;return x&&(c.styledMode||x.css(Y(L.style)),x.textPxLength=x.getBBox().width),x}destroy(){G(this,this.axis)}getPosition(T,L,j,s){let c=this.axis,x=c.chart,N=s&&x.oldChartHeight||x.chartHeight,P={x:T?$(c.translate(L+j,void 0,void 0,s)+c.transB):c.left+c.offset+(c.opposite?(s&&x.oldChartWidth||x.chartWidth)-c.right-c.left:0),y:T?N-c.bottom+c.offset-(c.opposite?c.height:0):$(N-c.translate(L+j,void 0,void 0,s)-c.transB)};return P.y=B(P.y,-1e9,1e9),Z(this,"afterGetPosition",{pos:P}),P}getLabelPosition(T,L,j,s,c,x,N,P){let S,g,v=this.axis,p=v.transA,a=v.isLinked&&v.linkedParent?v.linkedParent.reversed:v.reversed,o=v.staggerLines,u=v.tickRotCorr||{x:0,y:0},d=s||v.reserveSpaceDefault?0:-v.labelOffset*(v.labelAlign==="center"?.5:1),h=c.distance,m={};return S=v.side===0?j.rotation?-h:-j.getBBox().height:v.side===2?u.y+h:Math.cos(j.rotation*C)*(u.y-j.getBBox(!1,0).height/2),K(c.y)&&(S=v.side===0&&v.horiz?c.y+S:c.y),T=T+H(c.x,[0,1,0,-1][v.side]*h)+d+u.x-(x&&s?x*p*(a?-1:1):0),L=L+S-(x&&!s?x*p*(a?1:-1):0),o&&(g=N/(P||1)%o,v.o
129pposite&&(g=o-g-1),L+=g*(v.labelOffset/o)),m.x=T,m.y=Math.round(L),Z(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:x,index:N}),m}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(T,L,j,s,c=!1,x){return x.crispLine([["M",T,L],["L",T+(c?0:-j),L+(c?j:0)]],s)}handleOverflow(T){let L=this.axis,j=L.options.labels,s=T.x,c=L.chart.chartWidth,x=L.chart.spacing,N=H(L.labelLeft,Math.min(L.pos,x[3])),P=H(L.labelRight,Math.max(L.isRadial?0:L.pos+L.len,c-x[1])),S=this.label,g=this.rotation,v={left:0,center:.5,right:1}[L.labelAlign||S.attr("align")],p=S.getBBox().width,a=L.getSlotWidth(this),o={},u=a,d=1,h,m,f;g||j.overflow!=="justify"?g<0&&s-v*p<N?f=Math.round(s/Math.cos(g*C)-N):g>0&&s+v*p>P&&(f=Math.round((c-s)/Math.cos(g*C))):(h=s-v*p,m=s+(1-v)*p,h<N?u=T.x+u*(1-v)-N:m>P&&(u=P-T.x+u*v,d=-1),(u=Math.min(a,u))<a&&L.labelAlign==="center"&&(T.x+=d*(a-u-v*(a-Math.min(p,u)))),(p>u||L.autoRotation&&(S.styles||{}).width)&&(f=u)),f&&(this.shortenLabel?this.shortenLabel():(o.width=Math.floor(f)+"px",(j.style||{}).textOverflow||(o.textOverflow="ellipsis"),S.css(o)))}moveLabel(T,L){let j=this,s=j.label,c=j.axis,x=!1,N;s&&s.textStr===T?(j.movedLabel=s,x=!0,delete j.label):V(c.ticks,function(P){x||P.isNew||P===j||!P.label||P.label.textStr!==T||(j.movedLabel=P.label,x=!0,P.labelPos=j.movedLabel.xy,delete P.label)}),!x&&(j.labelPos||s)&&(N=j.labelPos||s.xy,j.movedLabel=j.createLabel(T,L,N),j.movedLabel&&j.movedLabel.attr({opacity:0}))}render(T,L,j){let s=this.axis,c=s.horiz,x=this.pos,N=H(this.tickmarkOffset,s.tickmarkOffset),P=this.getPosition(c,x,N,L),S=P.x,g=P.y,v=s.pos,p=v+s.len,a=c?S:g;!s.chart.polar&&this.isNew&&($(a)<v||a>p)&&(j=0);let o=H(j,this.label&&this.label.newOpacity,1);j=H(j,1),this.isActive=!0,this.renderGridLine(L,j),this.renderMark(P,j),this.renderLabel(P,L,o,T),this.isNew=!1,Z(this,"afterRender")}renderGridLine(T,L){let j=this.axis,s=j.options,c={},x=this.pos,N=this.type,P=H(this.tickmarkOffset,j.tickmarkOffset),S=j.chart.renderer,g=this.gridLine,v,p=s.gridLineWidth,a=s.gridLineColor,o=s.gridLineDashStyle;this.type==="minor"&&(p=s.minorGridLineWidth,a=s.minorGridLineColor,o=s.minorGridLineDashStyle),g||(j.chart.styledMode||(c.stroke=a,c["stroke-width"]=p||0,c.dashstyle=o),N||(c.zIndex=1),T&&(L=0),this.gridLine=g=S.path().attr(c).addClass("highcharts-"+(N?N+"-":"")+"grid-line").add(j.gridGroup)),g&&(v=j.getPlotLinePath({value:x+P,lineWidth:g.strokeWidth(),force:"pass",old:T,acrossPanes:!1}))&&g[T||this.isNew?"attr":"animate"]({d:v,opacity:L})}renderMark(T,L){let j=this.axis,s=j.options,c=j.chart.renderer,x=this.type,N=j.tickSize(x?x+"Tick":"tick"),P=T.x,S=T.y,g=H(s[x!=="minor"?"tickWidth":"minorTickWidth"],!x&&j.isXAxis?1:0),v=s[x!=="minor"?"tickColor":"minorTickColor"],p=this.mark,a=!p;N&&(j.opposite&&(N[0]=-N[0]),p||(this.mark=p=c.path().addClass("highcharts-"+(x?x+"-":"")+"tick").add(j.axisGroup),j.chart.styledMode||p.attr({stroke:v,"stroke-width":g})),p[a?"attr":"animate"]({d:this.getMarkPath(P,S,N[0],p.strokeWidth(),j.horiz,c),opacity:L}))}renderLabel(T,L,j,s){let c=this.axis,x=c.horiz,N=c.options,P=this.label,S=N.labels,g=S.step,v=H(this.tickmarkOffset,c.tickmarkOffset),p=T.x,a=T.y,o=!0;P&&R(p)&&(P.xy=T=this.getLabelPosition(p,a,P,x,S,v,s,g),(!this.isFirst||this.isLast||N.showFirstLabel)&&(!this.isLast||this.isFirst||N.showLastLabel)?!x||S.step||S.rotation||L||j===0||this.handleOverflow(T):o=!1,g&&s%g&&(o=!1),o&&R(T.y)?(T.opacity=j,P[this.isNewLabel?"attr":"animate"](T).show(!0),this.isNewLabel=!1):(P.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let T=this.label,L=this.axis;T&&!this.isNew&&(T.animate({opacity:0}
vendor: 18,127 bytes, line 129
129,void 0,T.destroy),delete this.label),L.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),r(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{animObject:q}=t,{xAxis:Z,yAxis:R}=n,{defaultOptions:Y}=C,{registerEventOptions:V}=B,{deg2rad:H}=$,{arrayMax:T,arrayMin:L,clamp:j,correctFloat:s,defined:c,destroyObjectProperties:x,erase:N,error:P,extend:S,fireEvent:g,getClosestDistance:v,insertItem:p,isArray:a,isNumber:o,isString:u,merge:d,normalizeTickInterval:h,objectEach:m,pick:f,relativeLength:y,removeEvent:I,splat:E,syncTimeout:M}=G,D=(X,_)=>h(_,void 0,void 0,f(X.options.allowDecimals,_<.5||X.tickAmount!==void 0),!!X.tickAmount);S(Y,{xAxis:Z,yAxis:d(Z,R)});class F{constructor(_,w,A){this.init(_,w,A)}init(_,w,A=this.coll){let U=A==="xAxis",b=this.isZAxis||(_.inverted?!U:U);this.chart=_,this.horiz=b,this.isXAxis=U,this.coll=A,g(this,"init",{userOptions:w}),this.opposite=f(w.opposite,this.opposite),this.side=f(w.side,this.side,b?this.opposite?0:2:this.opposite?1:3),this.setOptions(w);let k=this.options,O=k.labels;this.type??(this.type=k.type||"linear"),this.uniqueNames??(this.uniqueNames=k.uniqueNames??!0),g(this,"afterSetType"),this.userOptions=w,this.minPixelPadding=0,this.reversed=f(k.reversed,this.reversed),this.visible=k.visible,this.zoomEnabled=k.zoomEnabled,this.hasNames=this.type==="category"||k.categories===!0,this.categories=a(k.categories)&&k.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=c(k.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=k.minRange||k.maxZoom,this.range=k.range,this.offset=k.offset||0,this.max=void 0,this.min=void 0;let z=f(k.crosshair,E(_.options.tooltip.crosshairs)[U?0:1]);this.crosshair=z===!0?{}:z,_.axes.indexOf(this)===-1&&(U?_.axes.splice(_.xAxis.length,0,this):_.axes.push(this),p(this,_[this.coll])),_.orderItems(this.coll),this.series=this.series||[],_.inverted&&!this.isZAxis&&U&&!c(this.reversed)&&(this.reversed=!0),this.labelRotation=o(O.rotation)?O.rotation:void 0,V(this,k),g(this,"afterInit")}setOptions(_){let w=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=d(w,Y[this.coll],_),g(this,"afterSetOptions",{userOptions:_})}defaultLabelFormatter(){let _=this.axis,{numberFormatter:w}=this.chart,A=o(this.value)?this.value:NaN,U=_.chart.time,b=_.categories,k=this.dateTimeLabelFormat,O=Y.lang,z=O.numericSymbols,W=O.numericSymbolMagnitude||1e3,Q=_.logarithmic?Math.abs(A):_.tickInterval,ee=z&&z.length,se,ae;if(b)ae=`${this.value}`;else if(k)ae=U.dateFormat(k,A);else if(ee&&z&&Q>=1e3)for(;ee--&&ae===void 0;)Q>=(se=Math.pow(W,ee+1))&&10*A%se==0&&z[ee]!==null&&A!==0&&(ae=w(A/se,-1)+z[ee]);return ae===void 0&&(ae=Math.abs(A)>=1e4?w(A,-1):w(A,-1,void 0,"")),ae}getSeriesExtremes(){let _,w=this;g(this,"getSeriesExtremes",null,function(){w.hasVisibleSeries=!1,w.dataMin=w.dataMax=w.threshold=void 0,w.softThreshold=!w.isXAxis,w.series.forEach(A=>{if(A.reserveSpace()){let U=A.options,b,k=U.threshold,O,z;if(w.hasVisibleSeries=!0,w.positiveValuesOnly&&0>=(k||0)&&(k=void 0),w.isXAxis)(b=A.xData)&&b.length&&(b=w.logarithmic?b.filter(W=>W>0):b,O=(_=A.getXExtremes(b)).min,z=_.max,o(O)||O instanceof Date||(b=b.filter(o),O=(_=A.getXExtremes(b)).min,z=_.max),b.length&&(w.dataMin=Math.min(f(w.dataMin,O),O),w.dataMax=Math.max(f(w.dataMax,z),z)));else{let W=A.applyExtremes();o(W.dataMin)&&(O=W.dataMin,w.dataMin=Math.min(f(w.dataMin,O),O)),o(W.dataMax)&&(z=W.dataMax,w.dataMax=Math.max(f(w.dataMax,z),z)),c(k)&&(w.threshold=k),(!U.softThreshold||w.positiveValuesOnly)&&(w.softThreshold=!1)}}})}),g(this,"afterGetSeriesExtremes")}translate(_,w,A,U,b,k){var ce;let O=this.linkedParent||this,z=U&&O.old?O.old.min:O.min;if(!o(z))return NaN;let W=O.minPixelPadding,Q=(O.isOrdinal||((ce=O.brokenAxis)==null?void 0:ce.hasBreaks)||O.logarithmic&&b)&&O.lin2val,ee=1,se=0,ae=U&&O.old?O.old.transA:O.transA,he=0;return ae||(ae=O.transA),A&&(ee*=-1,se=O.len),O.reversed&&(ee*=-1,se-=ee*(O.sector||O.len)),w?(he=(_=_*ee+se-W)/ae+z,Q&&(he=O.lin2val(he))):(Q&&(_=O.val2lin(_)),he=ee*(_-z)*ae+se+ee*W+(o(k)?ae*k:0),O.isRadial||(he=s(he))),he}toPixels(_,w){return this.translate(_,!1,!this.horiz,void 0,!0)+(w?0:this.pos)}toValue(_,w){return this.translate(_-(w?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(_){let w=this,A=w.chart,U=w.left,b=w.top,k=_.old,O=_.value,z=_.lineWidth,W=k&&A.oldChartHeight||A.chartHeight,Q=k&&A.oldChartWidth||A.chartWidth,ee=w.transB,se=_.translatedValue,ae=_.force,he,ce,ie,te,ne;function oe(ue,de,fe){return ae!=="pass"&&(ue<de||ue>fe)&&(ae?ue=j(ue,de,fe):ne=!0),ue}let le={value:O,lineWidth:z,old:k,force:ae,acrossPanes:_.acrossPanes,translatedValue:se};return g(this,"getPlotLinePath",le,function(ue){he=ie=(se=j(se=f(se,w.translate(O,void 0,void 0,k)),-1e9,1e9))+ee,ce=te=W-se-ee,o(se)?w.horiz?(ce=b,te=W-w.bottom+(w.options.isInternal?0:A.scrollablePixelsY||0),he=ie=oe(he,U,U+w.width)):(he=U,ie=Q-w.right+(A.scrollablePixelsX||0),ce=te=oe(ce,b,b+w.height)):(ne=!0,ae=!1),ue.path=ne&&!ae?void 0:A.renderer.crispLine([["M",he,ce],["L",ie,te]],z||1)}),le.path}getLinearTickPositions(_,w,A){let U,b,k,O=s(Math.floor(w/_)*_),z=s(Math.ceil(A/_)*_),W=[];if(s(O+_)===O&&(k=20),this.single)return[w];for(U=O;U<=z&&(W.push(U),(U=s(U+_,k))!==b);)b=U;return W}getMinorTickInterval(){let{minorTicks:_,minorTickInterval:w}=this.options;return _===!0?f(w,"auto"):_!==!1?w:void 0}getMinorTickPositions(){let _=this.options,w=this.tickPositions,A=this.minorTickInterval,U=this.pointRangePadding||0,b=(this.min||0)-U,k=(this.max||0)+U,O=k-b,z=[],W;if(O&&O/A<this.len/3){let Q=this.logarithmic;if(Q)this.paddedTicks.forEach(function(ee,se,ae){se&&z.push.apply(z,Q.getLogTickPositions(A,ae[se-1],ae[se],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")z=z.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(A),b,k,_.startOfWeek));else for(W=b+(w[0]-b)%A;W<=k&&W!==z[0];W+=A)z.push(W)}return z.length!==0&&this.trimTicks(z),z}adjustForMinRange(){let _=this.options,w=this.logarithmic,{max:A,min:U,minRange:b}=this,k,O,z,W;this.isXAxis&&b===void 0&&!w&&(b=c(_.min)||c(_.max)||c(_.floor)||c(_.ceiling)?null:Math.min(5*(v(this.series.map(Q=>{var ee;return(Q.xIncrement?(ee=Q.xData)==null?void 0:ee.slice(0,2):Q.xData)||[]}))||0),this.dataMax-this.dataMin)),o(A)&&o(U)&&o(b)&&A-U<b&&(O=this.dataMax-this.dataMin>=b,k=(b-A+U)/2,z=[U-k,f(_.min,U-k)],O&&(z[2]=w?w.log2lin(this.dataMin):this.dataMin),W=[(U=T(z))+b,f(_.max,U+b)],O&&(W[2]=w?w.log2lin(this.dataMax):this.dataMax),(A=L(W))-U<b&&(z[0]=A-b,z[1]=f(_.min,A-b),U=T(z))),this.minRange=b,this.min=U,this.max=A}getClosest(){let _,w;if(this.categories)w=1;else{let A=[];this.series.forEach(function(U){var k;let b=U.closestPointRange;((k=U.xData)==null?void 0:k.length)===1?A.push(U.xData[0]):!U.noSharedTooltip&&c(b)&&U.reserveSpace()&&(w=c(w)?Math.min(w,b):b)}),A.length&&(A.sort((U,b)=>U-b),_=v([A]))}return _&&w?Math.min(_,w):_||w}nameToX(_){let w=a(this.options.categories),A=w?this.categories:this.names,U=_.options.x,b;return _.series.requireSorting=!1,c(U)||(U=this.uniqueNames&&A?w?A.indexOf(_.name):f(A.keys[_.name],-1):_.series.autoIncrement()),U===-1?!w&&A&&(b=A.length):b=U,b!==void 0?(this.names[b]=_.name,this.names.keys[_.name]=b):_.x&&(b=_.x),b}updateNames(){let _=this,w=this.names;w.length>0&&(Object.keys(w.keys).forEach(function(A){delete w.keys[A]}),w.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(A=>{A.xIncrement=null,(!A.points||A.isDirtyData)&&(_.max=Math.max(_.max,A.xData.length-1),A.processData(),A.generatePoints()),A.data.forEach(function(U,b){let k;U!=null&&U.options&&U.name!==void 0&&(k=_.nameToX(U))!==void 0&&k!==U.x&&(U.x=k,A.xData[b]=k)})}))}setAxisTranslation(){let _=this,w=_.max-_.min,A=_.linkedParent,U=!!_.categories,b=_.isXAxis,k=_.axisPointRange||0,O,z=0,W=0,Q,ee=_.transA;(b||U||k)&&(O=_.getClosest(),A?(z=A.minPointOffset,W=A.pointRangePadding):_.series.forEach(function(se){let ae=U?1:b?f(se.options.pointRange,O,0):_.axisPointRange||0,he=se.options.pointPlacement;if(k=Math.max(k,ae),!_.single||U){let ce=se.is("xrange")?!b:b;z=Math.max(z,ce&&u(he)?0:ae/2),W=Math.max(W,ce&&he==="on"?0:ae)}}),Q=_.ordinal&&_.ordinal.slope&&O?_.ordinal.slope/O:1,_.minPointOffset=z*=Q,_.pointRangePadding=W*=Q,_.pointRange=Math.min(k,_.single&&U?1:w),b&&O&&(_.closestPointRange=O)),_.translationSlope=_.transA=ee=_.staticScale||_.len/(w+W||1),_.transB=_.horiz?_.left:_.bottom,_.minPixelPadding=ee*z,g(this,"afterSetAxisTranslation")}minFromRange(){let{max:_,min:w}=this;return o(_)&&o(w)&&_-w||void 0}setTickInterval(_){var xe,Ce,Oe,Pe;let{categories:w,chart:A,dataMax:U,dataMin:b,dateTime:k,isXAxis:O,logarithmic:z,options:W,softThreshold:Q}=this,ee=o(this.threshold)?this.threshold:void 0,se=this.minRange||0,{ceiling:ae,floor:he,linkedTo:ce,softMax:ie,softMin:te}=W,ne=o(ce)&&((xe=A[this.coll])==null?void 0:xe[ce]),oe=W.tickPixelInterval,le=W.maxPadding,ue=W.minPadding,de=0,fe,me=o(W.tickInterval)&&W.tickInterval>=0?W.tickInterval:void 0,ge,Ee,ve,ye;if(k||w||ne||this.getTickAmount(),ve=f(this.userMin,W.min),ye=f(this.userMax,W.max),ne?(this.linkedParent=ne,fe=ne.getExtremes(),this.min=f(fe.min,fe.dataMin),this.max=f(fe.max,fe.dataMax),this.type!==ne.type&&P(11,!0,A)):(Q&&c(ee)&&o(U)&&o(b)&&(b>=ee?(ge=ee,ue=0):U<=ee&&(Ee=ee,le=0)),this.min=f(ve,ge,b),this.max=f(ye,Ee,U)),o(this.max)&&o(this.min)&&(z&&(this.positiveValuesOnly&&!_&&0>=Math.min(this.min,f(b,this.min))&&P(10,!0,A),this.min=s(z.log2lin(this.min),16),this.max=s(z.log2lin(this.max),16)),this.range&&o(b)&&(this.userMin=this.min=ve=Math.max(b,this.minFromRange()||0),this.userMax=ye=this.max,this.range=void 0)),g(this,"foundExtremes"),this.adjustForMinRange(),o(this.min)&&o(this.max)){if(!o(this.userMin)&&o(te)&&te<this.min&&(this.min=ve=te),!o(this.userMax)&&o(ie)&&ie>this.max&&(this.max=ye=ie),w||this.axisPointRange||(Ce=this.stacking)!=null&&Ce.usePercentage||ne||!(de=this.max-this.min)||(!c(ve)&&ue&&(this.min-=de*ue),c(ye)||!le||(this.max+=de*le)),!o(this.userMin)&&o(he)&&(this.min=Math.max(this.min,he)),!o(this.userMax)&&o(ae)&&(this.max=Math.min(this.max,ae)),Q&&o(b)&&o(U)){let He=ee||0;!c(ve)&&this.min<He&&b>=He?this.min=W.minRange?Math.min(He,this.max-se):He:!c(ye)&&this.max>He&&U<=He&&(this.max=W.minRange?Math.max(He,this.min+se):He)}!A.polar&&this.min>this.max&&(c(W.min)?this.max=this.min:c(W.max)&&(this.min=this.max)),de=this.max-this.min}if(this.min!==this.max&&o(this.min)&&o(this.max)?ne&&!me&&oe===ne.options.tickPixelInterval?this.tickInterval=me=ne.tickInterval:this.tickInterval=f(me,this.tickAmount?de/Math.max(this.tickAmount-1,1):void 0,w?1:de*oe/Math.max(this.len,oe)):this.tickInterval=1,O&&!_){let He=this.min!==((Oe=this.old)==null?void 0:Oe.min)||this.max!==((Pe=this.old)==null?void 0:Pe.max);this.series.forEach(function(Je){var Xe;Je.forceCrop=(Xe=Je.forceCropping)==null?void 0:Xe.call(Je),Je.processData(He)}),g(this,"postProcessData",{hasExtremesChanged:He})}this.setAxisTranslation(),g(this,"initialAxisTranslation"),this.pointRange&&!me&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Se=f(W.minTickInterval,k&&!this.series.some(He=>He.noSharedTooltip)?this.closestPointRange:0);!me&&this.tickInterval<Se&&(this.tickInterval=Se),k||z||me||(this.tickInterval=D(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var Q,ee;let _=this.options,w=_.tickPositions,A=_.tickPositioner,U=this.getMinorTickInterval(),b=!this.isPanning,k=b&&_.startOnTick,O=b&&_.endOnTick,z=[],W;if(this.tickmarkOffset=this.categories&&_.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&c(this.min)&&!this.tickAmount&&(this.min%1==0||_.allowDecimals!==!1),w)z=w.slice();else if(o(this.min)&&o(this.max)){if(!((Q=this.ordinal)!=null&&Q.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))z=[this.min,this.max],P(19,!1,this.chart);else if(this.dateTime)z=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,_.units),this.min,this.max,_.startOfWeek,(ee=this.ordinal)==null?void 0:ee.positions,this.closestPointRange,!0);else if(this.logarithmic)z=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let se=this.tickInterval,ae=se;for(;ae<=2*se&&(z=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&z.length>this.tickAmount);)this.tickInterval=D(this,ae*=1.1)}z.length>this.len&&(z=[z[0],z[z.length-1]])[0]===z[1]&&(z.length=1),A&&(this.tickPositions=z,(W=A.apply(this,[this.min,this.max]))&&(z=W))}this.tickPositions=z,this.minorTickInterval=U==="auto"&&this.tickInterval?this.tickInterval/_.minorTicksPerMajor:U,this.paddedTicks=z.slice(0),this.trimTicks(z,k,O),!this.isLinked&&o(this.min)&&o(this.max)&&(this.single&&z.length<2&&!this.categories&&!this.series.some(se=>se.is("heatmap")&&se.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),w||W||this.adjustTickAmount()),g(this,"afterSetTickPositions")}trimTicks(_,w,A){let U=_[0],b=_[_.length-1],k=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(w&&U!==-1/0)this.min=U;else for(;this.min-k>_[0];)_.shift();if(A)this.max=b;else for(;this.max+k<_[_.length-1];)_.pop();_.length===0&&c(U)&&!this.options.tickPositions&&_.push((b+U)/2)}}alignToOthers(){let _,w=this,A=w.chart,U=[this],b=w.options,k=A.options.chart,O=this.coll==="yAxis"&&k.alignThresholds,z=[];if(w.thresholdAlignment=void 0,(k.alignTicks!==!1&&b.alignTicks||O)&&b.startOnTick!==!1&&b.endOnTick!==!1&&!w.logarithmic){let W=ee=>{let{horiz:se,options:ae}=ee;return[se?ae.left:ae.top,ae.width,ae.height,ae.pane].join(",")},Q=W(this);A[this.coll].forEach(function(ee){let{series:se}=ee;se.length&&se.some(ae=>ae.visible)&&ee!==w&&W(ee)===Q&&(_=!0,U.push(ee))})}if(_&&O){U.forEach(Q=>{let ee=Q.getThresholdAlignment(w);o(ee)&&z.push(ee)});let W=z.length>1?z.reduce((Q,ee)=>Q+=ee,0)/z.length:void 0;U.forEach(Q=>{Q.thresholdAlignment=W})}return _}getThresholdAlignment(_){if((!o(this.dataMin)||this!==_&&this.series.some(w=>w.isDirty||w.isDirtyData))&&this.getSeriesExtremes(),o(this.threshold)){let w=j((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(w=1-w),w}}getTickAmount(){let _=this.options,w=_.tickPixelInterval,A=_.tickAmount;c(_.tickInterval)||A||!(this.len<w)||this.isRadial||this.logarithmic||!_.startOnTick||!_.endOnTick||(A=2),!A&&this.alignToOthers()&&(A=Math.ceil(this.len/w)+1),A<4&&(this.finalTickAmt=A,A=5),this.tickAmount=A}adjustTickAmount(){let _=this,{finalTickAmt:w,max:A,min:U,options:b,tickPositions:k,tickAmount:O,thresholdAlignment:z}=_,W=k==null?void 0:k.length,Q=f(_.threshold,_.softThreshold?0:null),ee,se,ae=_.tickInterval,he,ce=()=>k.push(s(k[k.length-1]+ae)),ie=()=>k.unshift(s(k[0]-ae));if(o(z)&&(he=z<.5?Math.ceil(z*(O-1)):Math.floor(z*(O-1)),b.reversed&&(he=O-1-he)),_.hasData()&&o(U)&&o(A)){let te=()=>{_.transA*=(W-1)/(O-1),_.min=b.startOnTick?k[0]:Math.min(U,k[0]),_.max=b.endOnTick?k[k.length-1]:Math.max(A,k[k.length-1])};if(o(he)&&o(_.threshold)){for(;k[he]!==Q||k.length!==O||k[0]>U||k[k.length-1]<A;){for(k.length=0,k.push(_.threshold);k.length<O;)k[he]===void 0||k[he]>_.threshold?ie():ce();if(ae>8*_.tickInterval)break;ae*=2}te()}else if(W<O){for(;k.length<O;)k.length%2||U===Q?ce():ie();te()}if(c(w)){for(se=ee=k.length;se--;)(w===3&&se%2==1||w<=2&&se>0&&se<ee-1)&&k.splice(se,1);_.finalTickAmt=void 0}}}setScale(){var k,O;let{coll:_,stacking:w}=this,A=!1,U=!1;this.series.forEach(z=>{A=A||z.isDirtyData||z.isDirty,U=U||z.xAxis&&z.xAxis.isDirty||!1}),this.setAxisSize();let b=this.len!==(this.old&&this.old.len);b||A||U||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(w&&_==="yAxis"&&w.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),w&&_==="xAxis"&&w.buildStacks(),this.isDirty||(this.isDirty=b||this.min!==((k=this.old)==null?void 0:k.min)||this.max!==((O=this.old)==null?void 0:O.max))):w&&w.cleanStacks(),A&&delete this.allExtremes,g(this,"afterSetScale")}setExtremes(_,w,A=!0,U,b){this.series.forEach(k=>{delete k.kdTree}),g(this,"setExtremes",b=S(b,{min:_,max:w}),k=>{this.userMin=k.min,this.userMax=k.max,this.eventArgs=k,A&&this.chart.redraw(U)})}setAxisSize(){let _=this.chart,w=this.options,A=w.offsets||[0,0,0,0],U=this.horiz,b=this.width=Math.round(y(f(w.width,_.plotWidth-A[3]+A[1]),_.plotWidth)),k=this.height=Math.round(y(f(w.height,_.plotHeight-A[0]+A[2]),_.plotHeight)),O=this.top=Math.round(y(f(w.top,_.plotTop+A[0]),_.plotHeight,_.plotTop)),z=this.left=Math.round(y(f(w.left,_.plotLeft+A[3]),_.plotWidth,_.plotLeft));this.bottom=_.chartHeight-k-O,this.right=_.chartWidth-b-z,this.len=Math.max(U?b:k,0),this.pos=U?z:O}getExtremes(){let _=this.logarithmic;return{min:_?s(_.lin2log(this.min)):this.min,max:_?s(_.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(_){let w=this.logarithmic,A=w?w.lin2log(this.min):this.min,U=w?w.lin2log(this.max):this.max;return _===null||_===-1/0?_=A:_===1/0?_=U:A>_?_=A:U<_&&(_=U),this.translate(_,0,1,0,1)}autoLabelAlign(_){let w=(f(_,0)-90*this.side+720)%360,A={align:"center"};return g(this,"autoLabelAlign",A,function(U){w>15&&w<165?U.align="right":w>195&&w<345&&(U.align="left")}),A.align}tickSize(_){let w=this.options,A=f(w[_==="tick"?"tickWidth":"minorTickWidth"],_==="tick"&&this.isXAxis&&!this.categories?1:0),U=w[_==="tick"?"tickLength":"minorTickLength"],b;A&&U&&(w[_+"Position"]==="inside"&&(U=-U),b=[U,A]);let k={tickSize:b};return g(this,"afterTickSize",k),k.tickSize}
129labelMetrics(){let _=this.chart.renderer,w=this.ticks,A=w[Object.keys(w)[0]]||{};return this.chart.renderer.fontMetrics(A.label||A.movedLabel||_.box)}unsquish(){let _=this.options.labels,w=_.padding||0,A=this.horiz,U=this.tickInterval,b=this.len/(((this.categories?1:0)+this.max-this.min)/U),k=_.rotation,O=s(.8*this.labelMetrics().h),z=Math.max(this.max-this.min,0),W=function(he){let ce=(he+2*w)/(b||1);return(ce=ce>1?Math.ceil(ce):1)*U>z&&he!==1/0&&b!==1/0&&z&&(ce=Math.ceil(z/U)),s(ce*U)},Q=U,ee,se=Number.MAX_VALUE,ae;if(A){if(!_.staggerLines&&(o(k)?ae=[k]:b<_.autoRotationLimit&&(ae=_.autoRotation)),ae){let he,ce;for(let ie of ae)(ie===k||ie&&ie>=-90&&ie<=90)&&(ce=(he=W(Math.abs(O/Math.sin(H*ie))))+Math.abs(ie/360))<se&&(se=ce,ee=ie,Q=he)}}else Q=W(.75*O);return this.autoRotation=ae,this.labelRotation=f(ee,o(k)?k:0),_.step?U:Q}getSlotWidth(_){let w=this.chart,A=this.horiz,U=this.options.labels,b=Math.max(this.tickPositions.length-(this.categories?0:1),1),k=w.margin[3];if(_&&o(_.slotWidth))return _.slotWidth;if(A&&U.step<2)return U.rotation?0:(this.staggerLines||1)*this.len/b;if(!A){let O=U.style.width;if(O!==void 0)return parseInt(String(O),10);if(k)return k-w.spacing[3]}return .33*w.chartWidth}renderUnsquish(){let _=this.chart,w=_.renderer,A=this.tickPositions,U=this.ticks,b=this.options.labels,k=b.style,O=this.horiz,z=this.getSlotWidth(),W=Math.max(1,Math.round(z-(O?2*(b.padding||0):b.distance||0))),Q={},ee=this.labelMetrics(),se=k.textOverflow,ae,he,ce=0,ie,te;if(u(b.rotation)||(Q.rotation=b.rotation||0),A.forEach(function(ne){let oe=U[ne];oe.movedLabel&&oe.replaceMovedLabel(),oe&&oe.label&&oe.label.textPxLength>ce&&(ce=oe.label.textPxLength)}),this.maxLabelLength=ce,this.autoRotation)ce>W&&ce>ee.h?Q.rotation=this.labelRotation:this.labelRotation=0;else if(z&&(ae=W,!se))for(he="clip",te=A.length;!O&&te--;)(ie=U[A[te]].label)&&(ie.styles.textOverflow==="ellipsis"?ie.css({textOverflow:"clip"}):ie.textPxLength>z&&ie.css({width:z+"px"}),ie.getBBox().height>this.len/A.length-(ee.h-ee.f)&&(ie.specificTextOverflow="ellipsis"));Q.rotation&&(ae=ce>.5*_.chartHeight?.33*_.chartHeight:ce,se||(he="ellipsis")),this.labelAlign=b.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(Q.align=this.labelAlign),A.forEach(function(ne){let oe=U[ne],le=oe&&oe.label,ue=k.width,de={};le&&(le.attr(Q),oe.shortenLabel?oe.shortenLabel():ae&&!ue&&k.whiteSpace!=="nowrap"&&(ae<le.textPxLength||le.element.tagName==="SPAN")?(de.width=ae+"px",se||(de.textOverflow=le.specificTextOverflow||he),le.css(de)):!le.styles.width||de.width||ue||le.css({width:null}),delete le.specificTextOverflow,oe.rotation=Q.rotation)},this),this.tickRotCorr=w.rotCorr(ee.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(_){return _.hasData()})||this.options.showEmpty&&c(this.min)&&c(this.max)}addTitle(_){let w,A=this.chart.renderer,U=this.horiz,b=this.opposite,k=this.options.title,O=this.chart.styledMode;this.axisTitle||((w=k.textAlign)||(w=(U?{low:"left",middle:"center",high:"right"}:{low:b?"right":"left",middle:"center",high:b?"left":"right"})[k.align]),this.axisTitle=A.text(k.text||"",0,0,k.useHTML).attr({zIndex:7,rotation:k.rotation||0,align:w}).addClass("highcharts-axis-title"),O||this.axisTitle.css(d(k.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),O||k.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[_?"show":"hide"](_)}generateTick(_){let w=this.ticks;w[_]?w[_].addLabel():w[_]=new K(this,_)}createGroups(){let{axisParent:_,chart:w,coll:A,options:U}=this,b=w.renderer,k=(O,z,W)=>b.g(O).attr({zIndex:W}).addClass(`highcharts-${A.toLowerCase()}${z} `+(this.isRadial?`highcharts-radial-axis${z} `:"")+(U.className||"")).add(_);this.axisGroup||(this.gridGroup=k("grid","-grid",U.gridZIndex),this.axisGroup=k("axis","",U.zIndex),this.labelGroup=k("axis-labels","-labels",U.labels.zIndex))}getOffset(){let _=this,{chart:w,horiz:A,options:U,side:b,ticks:k,tickPositions:O,coll:z}=_,W=w.inverted&&!_.isZAxis?[1,0,3,2][b]:b,Q=_.hasData(),ee=U.title,se=U.labels,ae=o(U.crossing),he=w.axisOffset,ce=w.clipOffset,ie=[-1,1,1,-1][b],te,ne=0,oe,le=0,ue=0,de,fe;if(_.showAxis=te=Q||U.showEmpty,_.staggerLines=_.horiz&&se.staggerLines||void 0,_.createGroups(),Q||_.isLinked?(O.forEach(function(me){_.generateTick(me)}),_.renderUnsquish(),_.reserveSpaceDefault=b===0||b===2||{1:"left",3:"right"}[b]===_.labelAlign,f(se.reserveSpace,!ae&&null,_.labelAlign==="center"||null,_.reserveSpaceDefault)&&O.forEach(function(me){ue=Math.max(k[me].getLabelSize(),ue)}),_.staggerLines&&(ue*=_.staggerLines),_.labelOffset=ue*(_.opposite?-1:1)):m(k,function(me,ge){me.destroy(),delete k[ge]}
vendor: 18,806 bytes, line 129
129),ee!=null&&ee.text&&ee.enabled!==!1&&(_.addTitle(te),te&&!ae&&ee.reserveSpace!==!1&&(_.titleOffset=ne=_.axisTitle.getBBox()[A?"height":"width"],le=c(oe=ee.offset)?0:f(ee.margin,A?5:10))),_.renderLine(),_.offset=ie*f(U.offset,he[b]?he[b]+(U.margin||0):0),_.tickRotCorr=_.tickRotCorr||{x:0,y:0},fe=b===0?-_.labelMetrics().h:b===2?_.tickRotCorr.y:0,de=Math.abs(ue)+le,ue&&(de-=fe,de+=ie*(A?f(se.y,_.tickRotCorr.y+ie*se.distance):f(se.x,ie*se.distance))),_.axisTitleMargin=f(oe,de),_.getMaxLabelDimensions&&(_.maxLabelDimensions=_.getMaxLabelDimensions(k,O)),z!=="colorAxis"&&ce){let me=this.tickSize("tick");he[b]=Math.max(he[b],(_.axisTitleMargin||0)+ne+ie*_.offset,de,O&&O.length&&me?me[0]+ie*_.offset:0);let ge=!_.axisLine||U.offset?0:_.axisLine.strokeWidth()/2;ce[W]=Math.max(ce[W],ge)}g(this,"afterGetOffset")}getLinePath(_){let w=this.chart,A=this.opposite,U=this.offset,b=this.horiz,k=this.left+(A?this.width:0)+U,O=w.chartHeight-this.bottom-(A?this.height:0)+U;return A&&(_*=-1),w.renderer.crispLine([["M",b?this.left:k,b?O:this.top],["L",b?w.chartWidth-this.right:k,b?O:w.chartHeight-this.bottom]],_)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(_){let w=this.horiz,A=this.left,U=this.top,b=this.len,k=this.options.title,O=w?A:U,z=this.opposite,W=this.offset,Q=k.x,ee=k.y,se=this.chart.renderer.fontMetrics(_),ae=_?Math.max(_.getBBox(!1,0).height-se.h-1,0):0,he={low:O+(w?0:b),middle:O+b/2,high:O+(w?b:0)}[k.align],ce=(w?U+this.height:A)+(w?1:-1)*(z?-1:1)*(this.axisTitleMargin||0)+[-ae,ae,se.f,-ae][this.side],ie={x:w?he+Q:ce+(z?this.width:0)+W+Q,y:w?ce+ee-(z?this.height:0)+W:he+ee};return g(this,"afterGetTitlePosition",{titlePosition:ie}),ie}renderMinorTick(_,w){let A=this.minorTicks;A[_]||(A[_]=new K(this,_,"minor")),w&&A[_].isNew&&A[_].render(null,!0),A[_].render(null,!1,1)}renderTick(_,w,A){let U=this.isLinked,b=this.ticks;(!U||_>=this.min&&_<=this.max||this.grid&&this.grid.isColumn)&&(b[_]||(b[_]=new K(this,_)),A&&b[_].isNew&&b[_].render(w,!0,-1),b[_].render(w))}render(){let _,w,A=this,U=A.chart,b=A.logarithmic,k=U.renderer,O=A.options,z=A.isLinked,W=A.tickPositions,Q=A.axisTitle,ee=A.ticks,se=A.minorTicks,ae=A.alternateBands,he=O.stackLabels,ce=O.alternateGridColor,ie=O.crossing,te=A.tickmarkOffset,ne=A.axisLine,oe=A.showAxis,le=q(k.globalAnimation);if(A.labelEdge.length=0,A.overlap=!1,[ee,se,ae].forEach(function(ue){m(ue,function(de){de.isActive=!1})}),o(ie)){let ue=this.isXAxis?U.yAxis[0]:U.xAxis[0],de=[1,-1,-1,1][this.side];if(ue){let fe=ue.toPixels(ie,!0);A.horiz&&(fe=ue.len-fe),A.offset=de*fe}}if(A.hasData()||z){let ue=A.chart.hasRendered&&A.old&&o(A.old.min);A.minorTickInterval&&!A.categories&&A.getMinorTickPositions().forEach(function(de){A.renderMinorTick(de,ue)}),W.length&&(W.forEach(function(de,fe){A.renderTick(de,fe,ue)}),te&&(A.min===0||A.single)&&(ee[-1]||(ee[-1]=new K(A,-1,null,!0)),ee[-1].render(-1))),ce&&W.forEach(function(de,fe){w=W[fe+1]!==void 0?W[fe+1]+te:A.max-te,fe%2==0&&de<A.max&&w<=A.max+(U.polar?-te:te)&&(ae[de]||(ae[de]=new $.PlotLineOrBand(A,{})),_=de+te,ae[de].options={from:b?b.lin2log(_):_,to:b?b.lin2log(w):w,color:ce,className:"highcharts-alternate-grid"},ae[de].render(),ae[de].isActive=!0)}),A._addedPlotLB||(A._addedPlotLB=!0,(O.plotLines||[]).concat(O.plotBands||[]).forEach(function(de){A.addPlotBandOrLine(de)}))}[ee,se,ae].forEach(function(ue){let de=[],fe=le.duration;m(ue,function(me,ge){me.isActive||(me.render(ge,!1,0),me.isActive=!1,de.push(ge))}),M(function(){let me=de.length;for(;me--;)ue[de[me]]&&!ue[de[me]].isActive&&(ue[de[me]].destroy(),delete ue[de[me]])},ue!==ae&&U.hasRendered&&fe?fe:0)}),ne&&(ne[ne.isPlaced?"animate":"attr"]({d:this.getLinePath(ne.strokeWidth())}),ne.isPlaced=!0,ne[oe?"show":"hide"](oe)),Q&&oe&&(Q[Q.isNew?"attr":"animate"](A.getTitlePosition(Q)),Q.isNew=!1),he&&he.enabled&&A.stacking&&A.stacking.renderStackTotals(),A.old={len:A.len,max:A.max,min:A.min,transA:A.transA,userMax:A.userMax,userMin:A.userMin},A.isDirty=!1,g(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(_){_.render()})),this.series.forEach(function(_){_.isDirty=!0})}getKeepProps(){return this.keepProps||F.keepProps}destroy(_){let w=this,A=w.plotLinesAndBands,U=this.eventOptions;if(g(this,"destroy",{keepEvents:_}),_||I(w),[w.ticks,w.minorTicks,w.alternateBands].forEach(function(b){x(b)}),A){let b=A.length;for(;b--;)A[b].destroy()}for(let b in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(k){w[k]&&(w[k]=w[k].destroy())}),w.plotLinesAndBandsGroups)w.plotLinesAndBandsGroups[b]=w.plotLinesAndBandsGroups[b].destroy();m(w,function(b,k){w.getKeepProps().indexOf(k)===-1&&delete w[k]}),this.eventOptions=U}drawCrosshair(_,w){let A=this.crosshair,U=f(A&&A.snap,!0),b=this.chart,k,O,z,W=this.cross,Q;if(g(this,"drawCrosshair",{e:_,point:w}),_||(_=this.cross&&this.cross.e),A&&(c(w)||!U)!==!1){if(U?c(w)&&(O=f(this.coll!=="colorAxis"?w.crosshairPos:null,this.isXAxis?w.plotX:this.len-w.plotY)):O=_&&(this.horiz?_.chartX-this.pos:this.len-_.chartY+this.pos),c(O)&&(Q={value:w&&(this.isXAxis?w.x:f(w.stackY,w.y)),translatedValue:O},b.polar&&S(Q,{isCrosshair:!0,chartX:_&&_.chartX,chartY:_&&_.chartY,point:w}),k=this.getPlotLinePath(Q)||null),!c(k)){this.hideCrosshair();return}z=this.categories&&!this.isRadial,W||(this.cross=W=b.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(z?"category ":"thin ")+(A.className||"")).attr({zIndex:f(A.zIndex,2)}).add(),!b.styledMode&&(W.attr({stroke:A.color||(z?l.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":f(A.width,1)}).css({"pointer-events":"none"}),A.dashStyle&&W.attr({dashstyle:A.dashStyle}))),W.show().attr({d:k}),z&&!A.width&&W.attr({"stroke-width":this.transA}),this.cross.e=_}else this.hideCrosshair();g(this,"afterDrawCrosshair",{e:_,point:w})}hideCrosshair(){this.cross&&this.cross.hide(),g(this,"afterHideCrosshair")}update(_,w){let A=this.chart;_=d(this.userOptions,_),this.destroy(!0),this.init(A,_),A.isDirtyBox=!0,f(w,!0)&&A.redraw()}remove(_){let w=this.chart,A=this.coll,U=this.series,b=U.length;for(;b--;)U[b]&&U[b].remove(!1);N(w.axes,this),N(w[A]||[],this),w.orderItems(A),this.destroy(),w.isDirtyBox=!0,f(_,!0)&&w.redraw()}setTitle(_,w){this.update({title:_},w)}setCategories(_,w){this.update({categories:_},w)}}return F.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],F}),r(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,getMagnitude:C,normalizeTickInterval:B,timeUnits:$}=t;return function(K){function G(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function q(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new Z(this))}K.compose=function(R){return R.keepProps.includes("dateTime")||(R.keepProps.push("dateTime"),R.prototype.getTimeTicks=G,l(R,"afterSetType",q)),R};class Z{constructor(Y){this.axis=Y}normalizeTimeTickInterval(Y,V){let H=V||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],T=H[H.length-1],L=$[T[0]],j=T[1],s;for(s=0;s<H.length&&(L=$[(T=H[s])[0]],j=T[1],!H[s+1]||!(Y<=(L*j[j.length-1]+$[H[s+1][0]])/2));s++);L===$.year&&Y<5*L&&(j=[1,2,5]);let c=B(Y/L,j,T[0]==="year"?Math.max(C(Y/L),1):1);return{unitRange:L,count:c,unitName:T[0]}}getXDateFormat(Y,V){let{axis:H}=this,T=H.chart.time;return H.closestPointRange?T.getDateFormat(H.closestPointRange,Y,H.options.startOfWeek,V)||T.resolveDTLFormat(V.year).main:T.resolveDTLFormat(V.day).main}}K.Additions=Z}(n||(n={})),n}),r(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,normalizeTickInterval:C,pick:B}=t;return function($){function K(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new q(this))}function G(){let Z=this.logarithmic;Z&&(this.lin2val=function(R){return Z.lin2log(R)},this.val2lin=function(R){return Z.log2lin(R)})}$.compose=function(Z){return Z.keepProps.includes("logarithmic")||(Z.keepProps.push("logarithmic"),l(Z,"afterSetType",K),l(Z,"afterInit",G)),Z};class q{constructor(R){this.axis=R}getLogTickPositions(R,Y,V,H){let T=this.axis,L=T.len,j=T.options,s=[];if(H||(this.minorAutoInterval=void 0),R>=.5)R=Math.round(R),s=T.getLinearTickPositions(R,Y,V);else if(R>=.08){let c,x,N,P,S,g,v,p=Math.floor(Y);for(c=R>.3?[1,2,4]:R>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],x=p;x<V+1&&!v;x++)for(N=0,P=c.length;N<P&&!v;N++)(S=this.log2lin(this.lin2log(x)*c[N]))>Y&&(!H||g<=V)&&g!==void 0&&s.push(g),g>V&&(v=!0),g=S}else{let c=this.lin2log(Y),x=this.lin2log(V),N=H?T.getMinorTickInterval():j.tickInterval,P=j.tickPixelInterval/(H?5:1),S=H?L/T.tickPositions.length:L;R=C(R=B(N==="auto"?null:N,this.minorAutoInterval,(x-c)*P/(S||1))),s=T.getLinearTickPositions(R,c,x).map(this.log2lin),H||(this.minorAutoInterval=R/5)}return H||(T.tickInterval=R),s}lin2log(R){return Math.pow(10,R)}log2lin(R){return Math.log(R)/Math.LN10}}$.Additions=q}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{erase:l,extend:C,isNumber:B}=t;return function($){let K;function G(T){return this.addPlotBandOrLine(T,"plotBands")}function q(T,L){let j=this.userOptions,s=new K(this,T);if(this.visible&&(s=s.render()),s){if(this._addedPlotLB||(this._addedPlotLB=!0,(j.plotLines||[]).concat(j.plotBands||[]).forEach(c=>{this.addPlotBandOrLine(c)})),L){let c=j[L]||[];c.push(T),j[L]=c}this.plotLinesAndBands.push(s)}return s}function Z(T){return this.addPlotBandOrLine(T,"plotLines")}function R(T,L,j){j=j||this.options;let s=this.getPlotLinePath({value:L,force:!0,acrossPanes:j.acrossPanes}),c=[],x=this.horiz,N=!B(this.min)||!B(this.max)||T<this.min&&L<this.min||T>this.max&&L>this.max,P=this.getPlotLinePath({value:T,force:!0,acrossPanes:j.acrossPanes}),S,g=1,v;if(P&&s)for(N&&(v=P.toString()===s.toString(),g=0),S=0;S<P.length;S+=2){let p=P[S],a=P[S+1],o=s[S],u=s[S+1];(p[0]==="M"||p[0]==="L")&&(a[0]==="M"||a[0]==="L")&&(o[0]==="M"||o[0]==="L")&&(u[0]==="M"||u[0]==="L")&&(x&&o[1]===p[1]?(o[1]+=g,u[1]+=g):x||o[2]!==p[2]||(o[2]+=g,u[2]+=g),c.push(["M",p[1],p[2]],["L",a[1],a[2]],["L",u[1],u[2]],["L",o[1],o[2]],["Z"])),c.isFlat=v}return c}function Y(T){this.removePlotBandOrLine(T)}function V(T){let L=this.plotLinesAndBands,j=this.options,s=this.userOptions;if(L){let c=L.length;for(;c--;)L[c].id===T&&L[c].destroy();[j.plotLines||[],s.plotLines||[],j.plotBands||[],s.plotBands||[]].forEach(function(x){for(c=x.length;c--;)(x[c]||{}).id===T&&l(x,x[c])})}}function H(T){this.removePlotBandOrLine(T)}$.compose=function(T,L){let j=L.prototype;return j.addPlotBand||(K=T,C(j,{addPlotBand:G,addPlotLine:Z,addPlotBandOrLine:q,getPlotBandPath:R,removePlotBand:Y,removePlotLine:H,removePlotBandOrLine:V})),L}}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,arrayMax:C,arrayMin:B,defined:$,destroyObjectProperties:K,erase:G,fireEvent:q,merge:Z,objectEach:R,pick:Y}=n;class V{static compose(T,L){return l(T,"afterInit",function(){this.labelCollectors.push(()=>{var s;let j=[];for(let c of this.axes)for(let{label:x,options:N}of c.plotLinesAndBands)x&&!((s=N==null?void 0:N.label)!=null&&s.allowOverlap)&&j.push(x);return j})}),t.compose(V,L)}constructor(T,L){this.axis=T,this.options=L,this.id=L.id}render(){q(this,"render");let{axis:T,options:L}=this,{horiz:j,logarithmic:s}=T,{color:c,events:x,zIndex:N=0}=L,P={},S=T.chart.renderer,g=L.to,v=L.from,p=L.value,a=L.borderWidth,o=L.label,{label:u,svgElem:d}=this,h=[],m,f=$(v)&&$(g),y=$(p),I=!d,E={class:"highcharts-plot-"+(f?"band ":"line ")+(L.className||"")},M=f?"bands":"lines";if(!T.chart.styledMode&&(y?(E.stroke=c||"#999999",E["stroke-width"]=Y(L.width,1),L.dashStyle&&(E.dashstyle=L.dashStyle)):f&&(E.fill=c||"#e6e9ff",a&&(E.stroke=L.borderColor,E["stroke-width"]=a))),P.zIndex=N,M+="-"+N,(m=T.plotLinesAndBandsGroups[M])||(T.plotLinesAndBandsGroups[M]=m=S.g("plot-"+M).attr(P).add()),d||(this.svgElem=d=S.path().attr(E).add(m)),$(p))h=T.getPlotLinePath({value:(s==null?void 0:s.log2lin(p))??p,lineWidth:d.strokeWidth(),acrossPanes:L.acrossPanes});else{if(!($(v)&&$(g)))return;h=T.getPlotBandPath((s==null?void 0:s.log2lin(v))??v,(s==null?void 0:s.log2lin(g))??g,L)}return!this.eventsAdded&&x&&(R(x,(D,F)=>{d==null||d.on(F,X=>{x[F].apply(this,[X])})}),this.eventsAdded=!0),(I||!d.d)&&(h!=null&&h.length)?d.attr({d:h}):d&&(h?(d.show(),d.animate({d:h})):d.d&&(d.hide(),u&&(this.label=u=u.destroy()))),o&&($(o.text)||$(o.formatter))&&(h!=null&&h.length)&&T.width>0&&T.height>0&&!h.isFlat?(o=Z(ze({align:j&&f?"center":void 0,x:j?!f&&4:10,verticalAlign:!j&&f?"middle":void 0,y:j?f?16:10:f?6:-4,rotation:j&&!f?90:0},f?{inside:!0}:{}),o),this.renderLabel(o,h,f,N)):u&&u.hide(),this}renderLabel(T,L,j,s){var o;let c=this.axis,x=c.chart.renderer,N=T.inside,P=this.label;P||(this.label=P=x.text(this.getLabelText(T),0,0,T.useHTML).attr({align:T.textAlign||T.align,rotation:T.rotation,class:"highcharts-plot-"+(j?"band":"line")+"-label "+(T.className||""),zIndex:s}),c.chart.styledMode||P.css(Z({fontSize:"0.8em",textOverflow:j&&!N?"":"ellipsis"},T.style)),P.add());let S=L.xBounds||[L[0][1],L[1][1],j?L[2][1]:L[0][1]],g=L.yBounds||[L[0][2],L[1][2],j?L[2][2]:L[0][2]],v=B(S),p=B(g),a=C(S)-v;P.align(T,!1,{x:v,y:p,width:a,height:C(g)-p}),(!P.alignValue||P.alignValue==="left"||$(N))&&P.css({width:(((o=T.style)==null?void 0:o.width)||(j&&N?a:P.rotation===90?c.height-(P.alignAttr.y-c.top):(T.clip?c.width:c.chart.chartWidth)-(P.alignAttr.x-c.left)))+"px"}),P.show(!0)}getLabelText(T){return $(T.formatter)?T.formatter.call(this):T.text}destroy(){G(this.axis.plotLinesAndBands,this),delete this.axis,K(this)}}return V}),r(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){var K;let{animObject:G}=t,{format:q}=n,{composed:Z,doc:R,isSafari:Y}=l,{distribute:V}=C,{addEvent:H,clamp:T,css:L,discardElement:j,extend:s,fireEvent:c,isArray:x,isNumber:N,isString:P,merge:S,pick:g,pushUnique:v,splat:p,syncTimeout:a}=$;class o{constructor(d,h,m){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=d,this.init(d,h),this.pointer=m}bodyFormatter(d){return d.map(function(h){let m=h.series.tooltipOptions;return(m[(h.point.formatPrefix||"point")+"Formatter"]||h.point.tooltipFormatter).call(h.point,m[(h.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(d){this.chart.series.forEach(function(h){let m=h&&h.tt;m&&(!m.isActive||d?h.tt=m.destroy():m.isActive=!1)})}defaultFormatter(d){let h,m=this.points||p(this);return(h=(h=[d.tooltipFooterHeaderFormatter(m[0])]).concat(d.bodyFormatter(m))).push(d.tooltipFooterHeaderFormatter(m[0],!0)),h}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),j(this.container)),$.clearTimeout(this.hideTimer)}getAnchor(d,h){let m,{chart:f,pointer:y}=this,I=f.inverted,E=f.plotTop,M=f.plotLeft;if((d=p(d))[0].series&&d[0].series.yAxis&&!d[0].series.yAxis.options.reversedStacks&&(d=d.slice().reverse()),this.followPointer&&h)h.chartX===void 0&&(h=y.normalize(h)),m=[h.chartX-M,h.chartY-E];else if(d[0].tooltipPos)m=d[0].tooltipPos;else{let D=0,F=0;d.forEach(function(X){let _=X.pos(!0);_&&(D+=_[0],F+=_[1])}),D/=d.length,F/=d.length,this.shared&&d.length>1&&h&&(I?D=h.chartX:F=h.chartY),m=[D-M,F-E]}return m.map(Math.round)}getClassName(d,h,m){let f=this.options,y=d.series,I=y.options;return[f.className,"highcharts-label",m&&"highcharts-tooltip-header",h?"highcharts-tooltip-box":"highcharts-tooltip",!m&&"highcharts-color-"+g(d.colorIndex,y.colorIndex),I&&I.className].filter(P).join(" ")}getLabel({anchorX:d,anchorY:h}={anchorX:0,anchorY:0}){let m=this,f=this.chart.styledMode,y=this.options,I=this.split&&this.allowShared,E=this.container,M=this.chart.renderer;if(this.label){let D=!this.label.hasClass("highcharts-label");(!I&&D||I&&!D)&&this.destroy()}if(!this.label){if(this.outside){let D=this.chart.options.chart.style,F=B.getRendererType();this.container=E=l.doc.createElement("div"),E.className="highcharts-tooltip-container",L(E,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(D&&D.zIndex||0)+3)}),this.renderer=M=new F(E,0,0,D,void 0,void 0,M.styledMode)}if(I?this.label=M.g("tooltip"):(this.label=M.label("",d,h,y.shape,void 0,void 0,y.useHTML,void 0,"tooltip").attr({padding:y.padding,r:y.borderRadius}),f||this.label.attr({fill:y.backgroundColor,"stroke-width":y.borderWidth||0}).css(y.style).css({pointerEvents:y.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),m.outside){let D=this.label;[D.xSetter,D.ySetter].forEach((F,X)=>{D[X?"ySetter":"xSetter"]=_=>{F.call(D,m.distance),D[X?"y":"x"]=_,E&&(E.style[X?"top":"left"]=`${_}px`)}})}this.label.attr({zIndex:8}).shadow(y.shadow).add()}return E&&!E.parentElement&&l.doc.body.appendChild(E),this.label}getPlayingField(){let{body:d,documentElement:h}=R,{chart:m,distance:f,outside:y}=this;return{width:y?Math.max(d.scrollWidth,h.scrollWidth,d.offsetWidth,h.offsetWidth,h.clientWidth)-2*f:m.chartWidth,height:y?Math.max(d.scrollHeight,h.scrollHeight,d.offsetHeight,h.offsetHeight,h.clientHeight):m.chartHeight}}getPosition(d,h,m){var le,ue;let{distance:f,chart:y,outside:I,pointer:E}=this,{inverted:M,plotLeft:D,plotTop:F,polar:X}=y,{plotX:_=0,plotY:w=0}=m,A={},U=M&&m.h||0,{height:b,width:k}=this.getPlayingField(),O=E.getChartPosition(),z=de=>de*O.scaleX,W=de=>de*O.scaleY,Q=de=>{let fe=de==="x";return[de,fe?k:b,fe?d:h].concat(I?[fe?z(d):W(h),fe?O.left-f+z(_+D):O.top-f+W(w+F),0,fe?k:b]:[fe?d:h,fe?_+D:w+F,fe?D:F,fe?D+y.plotWidth:F+y.plotHeight])},ee=Q("y"),se=Q("x"),ae,he=!!m.negative;!X&&((ue=(le=y.hoverSeries)==null?void 0:le.yAxis)!=null&&ue.reversed)&&(he=!he);let ce=!this.followPointer&&g(m.ttBelow,!X&&!M===he),ie=function(de,fe,me,ge,Ee,ve,ye){let Se=I?de==="y"?W(f):z(f):f,xe=(me-ge)/2,Ce=ge<Ee-f,Oe=Ee+f+ge<fe,Pe=Ee-Se-me+xe,He=Ee+Se-xe;if(ce&&Oe)A[de]=He;else if(!ce&&Ce)A[de]=Pe;else if(Ce)A[de]=Math.min(ye-ge,Pe-U<0?Pe:Pe-U);else{if(!Oe)return!1;A[de]=Math.max(ve,He+U+me>fe?He:He+U)}},te=function(de,fe,me,ge,Ee){if(Ee<f||Ee>fe-f)return!1;Ee<me/2?A[de]=1:Ee>fe-ge/2?A[de]=fe-ge-2:A[de]=Ee-me/2}
129,ne=function(de){[ee,se]=[se,ee],ae=de},oe=()=>{ie.apply(0,ee)!==!1?te.apply(0,se)!==!1||ae||(ne(!0),oe()):ae?A.x=A.y=0:(ne(!0),oe())};return(M&&!X||this.len>1)&&ne(),oe(),A}hide(d){let h=this;$.clearTimeout(this.hideTimer),d=g(d,this.options.hideDelay),this.isHidden||(this.hideTimer=a(function(){let m=h.getLabel();h.getLabel().animate({opacity:0},{duration:d&&150,complete:()=>{m.hide(),h.container&&h.container.remove()}}),h.isHidden=!0},d))}init(d,h){this.chart=d,this.options=h,this.crosshairs=[],this.isHidden=!0,this.split=h.split&&!d.inverted&&!d.polar,this.shared=h.shared||this.split,this.outside=g(h.outside,!!(d.scrollablePixelsX||d.scrollablePixelsY))}shouldStickOnContact(d){return!!(!this.followPointer&&this.options.stickOnContact&&(!d||this.pointer.inClass(d.target,"highcharts-tooltip")))}move(d,h,m,f){let y=this,I=G(!y.isHidden&&y.options.animation),E=y.followPointer||(y.len||0)>1,M={x:d,y:h};E||(M.anchorX=m,M.anchorY=f),I.step=()=>y.drawTracker(),y.getLabel().animate(M,I)}refresh(d,h){let{chart:m,options:f,pointer:y,shared:I}=this,E=p(d),M=E[0],D=[],F=f.format,X=f.formatter||this.defaultFormatter,_=m.styledMode,w={},A=this.allowShared;if(!f.enabled||!M.series)return;$.clearTimeout(this.hideTimer),this.allowShared=!(!x(d)&&d.series&&d.series.noSharedTooltip),A=A&&!this.allowShared,this.followPointer=!this.split&&M.series.tooltipOptions.followPointer;let U=this.getAnchor(d,h),b=U[0],k=U[1];I&&this.allowShared?(y.applyInactiveState(E),E.forEach(function(W){W.setState("hover"),D.push(W.getLabelConfig())}),(w=M.getLabelConfig()).points=D):w=M.getLabelConfig(),this.len=D.length;let O=P(F)?q(F,w,m):X.call(w,this),z=M.series;if(this.distance=g(z.tooltipOptions.distance,16),O===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(O,E);else{let W=b,Q=k;if(h&&y.isDirectTouch&&(W=h.chartX-m.plotLeft,Q=h.chartY-m.plotTop),m.polar||z.options.clip===!1||E.some(ee=>y.isDirectTouch||ee.series.shouldShowTooltip(W,Q))){let ee=this.getLabel(A&&this.tt||{});(!f.style.width||_)&&ee.css({width:(this.outside?this.getPlayingField():m.spacingBox).width+"px"}),ee.attr({class:this.getClassName(M),text:O&&O.join?O.join(""):O}),this.outside&&ee.attr({x:T(ee.x||0,0,this.getPlayingField().width-(ee.width||0))}),_||ee.attr({stroke:f.borderColor||M.color||z.color||"#666666"}),this.updatePosition({plotX:b,plotY:k,negative:M.negative,ttBelow:M.ttBelow,h:U[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}c(this,"refresh")}renderSplit(d,h){var fe;let m=this,{chart:f,chart:{chartWidth:y,chartHeight:I,plotHeight:E,plotLeft:M,plotTop:D,scrollablePixelsY:F=0,scrollablePixelsX:X,styledMode:_},distance:w,options:A,options:{positioner:U},pointer:b}=m,{scrollLeft:k=0,scrollTop:O=0}=((fe=f.scrollablePlotArea)==null?void 0:fe.scrollingContainer)||{},z=m.outside&&typeof X!="number"?R.documentElement.getBoundingClientRect():{left:k,right:k+y,top:O,bottom:O+I},W=m.getLabel(),Q=this.renderer||f.renderer,ee=!!(f.xAxis[0]&&f.xAxis[0].opposite),{left:se,top:ae}=b.getChartPosition(),he=D+O,ce=0,ie=E-F;function te(me,ge,Ee,ve,ye=!0){let Se,xe;return Ee?(Se=ee?0:ie,xe=T(me-ve/2,z.left,z.right-ve-(m.outside?se:0))):(Se=ge-he,xe=T(xe=ye?me-ve-w:me+w,ye?xe:z.left,z.right)),{x:xe,y:Se}}P(d)&&(d=[!1,d]);let ne=d.slice(0,h.length+1).reduce(function(me,ge,Ee){if(ge!==!1&&ge!==""){let ve=h[Ee-1]||{isHeader:!0,plotX:h[0].plotX,plotY:E,series:{}},ye=ve.isHeader,Se=ye?m:ve.series,xe=Se.tt=function(Je,Xe,dt){let ct=Je,{isHeader:vt,series:Gt}=Xe;if(!ct){let Ft={padding:A.padding,r:A.borderRadius};_||(Ft.fill=A.backgroundColor,Ft["stroke-width"]=A.borderWidth??1),ct=Q.label("",0,0,A[vt?"headerShape":"shape"],void 0,void 0,A.useHTML).addClass(m.getClassName(Xe,!0,vt)).attr(Ft).add(W)}return ct.isActive=!0,ct.attr({text:dt}),_||ct.css(A.style).attr({stroke:A.borderColor||Xe.color||Gt.color||"#333333"}),ct}(Se.tt,ve,ge.toString()),Ce=xe.getBBox(),Oe=Ce.width+xe.strokeWidth();ye&&(ce=Ce.height,ie+=ce,ee&&(he-=ce));let{anchorX:Pe,anchorY:He}=function(Je){let Xe,dt,{isHeader:ct,plotX:vt=0,plotY:Gt=0,series:Ft}=Je;if(ct)Xe=Math.max(M+vt,M),dt=D+E/2;else{let{xAxis:Ii,yAxis:mt}=Ft;Xe=Ii.pos+T(vt,-w,Ii.len+w),Ft.shouldShowTooltip(0,mt.pos-D+Gt,{ignoreX:!0})&&(dt=mt.pos+Gt)}return{anchorX:Xe=T(Xe,z.left-w,z.right+w),anchorY:dt}}(ve);if(typeof He=="number"){let Je=Ce.height+1,Xe=U?U.call(m,Oe,Je,ve):te(Pe,He,ye,Oe);me.push({align:U?0:void 0,anchorX:Pe,anchorY:He,boxWidth:Oe,point:ve,rank:g(Xe.rank,ye?1:0),size:Je,target:Xe.y,tt:xe,x:Xe.x})}else xe.isActive=!1}return me},[]);!U&&ne.some(me=>{let{outside:ge}=m,Ee=(ge?se:0)+me.anchorX;return Ee<z.left&&Ee+me.boxWidth<z.right||Ee<se-z.left+me.boxWidth&&z.right-Ee>Ee})&&(ne=ne.map(me=>{let{x:ge,y:Ee}=te(me.anchorX,me.anchorY,me.point.isHeader,me.boxWidth,!1);return s(me,{target:Ee,x:ge})})),m.cleanSplit(),V(ne,ie);let oe={left:se,right:se};ne.forEach(function(me){let{x:ge,boxWidth:Ee,isHeader:ve}=me;!ve&&(m.outside&&se+ge<oe.left&&(oe.left=se+ge),!ve&&m.outside&&oe.left+Ee>oe.right&&(oe.right=se+ge))}),ne.forEach(function(me){let{x:ge,anchorX:Ee,anchorY:ve,pos:ye,point:{isHeader:Se}}
vendor: 1,763 bytes, line 129
129=me,xe={visibility:ye===void 0?"hidden":"inherit",x:ge,y:(ye||0)+he,anchorX:Ee,anchorY:ve};if(m.outside&&ge<Ee){let Ce=se-oe.left;Ce>0&&(Se||(xe.x=ge+Ce,xe.anchorX=Ee+Ce),Se&&(xe.x=(oe.right-oe.left)/2,xe.anchorX=Ee+Ce))}me.tt.attr(xe)});let{container:le,outside:ue,renderer:de}=m;if(ue&&le&&de){let{width:me,height:ge,x:Ee,y:ve}=W.getBBox();de.setSize(me+Ee,ge+ve,!1),le.style.left=oe.left+"px",le.style.top=ae+"px"}Y&&W.attr({opacity:W.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let d=this.chart,h=this.label,m=this.shared?d.hoverPoints:d.hoverPoint;if(!h||!m)return;let f={x:0,y:0,width:0,height:0},y=this.getAnchor(m),I=h.getBBox();y[0]+=d.plotLeft-(h.translateX||0),y[1]+=d.plotTop-(h.translateY||0),f.x=Math.min(0,y[0]),f.y=Math.min(0,y[1]),f.width=y[0]<0?Math.max(Math.abs(y[0]),I.width-y[0]):Math.max(Math.abs(y[0]),I.width),f.height=y[1]<0?Math.max(Math.abs(y[1]),I.height-Math.abs(y[1])):Math.max(Math.abs(y[1]),I.height),this.tracker?this.tracker.attr(f):(this.tracker=h.renderer.rect(f).addClass("highcharts-tracker").add(h),d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(d){return d.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(d,h){let m=d.series,f=m.tooltipOptions,y=m.xAxis,I=y&&y.dateTime,E={isFooter:h,labelConfig:d},M=f.xDateFormat,D=f[h?"footerFormat":"headerFormat"];return c(this,"headerFormatter",E,function(F){I&&!M&&N(d.key)&&(M=I.getXDateFormat(d.key,f.dateTimeLabelFormats)),I&&M&&(d.point&&d.point.tooltipDateKeys||["key"]).forEac
129h(function(X){D=D.replace("{point."+X+"}","{point."+X+":"+M+"}")}),m.chart.styledMode&&(D=this.styledModeFormat(D)),F.text=q(D,{point:d,series:m},this.chart)}),E.text}update(d){this.destroy(),this.init(this.chart,S(!0,this.options,d))}updatePosition(d){let{chart:h,container:m,distance:f,options:y,pointer:I,renderer:E}=this,{height:M=0,width:D=0}=this.getLabel(),{left:F,top:X,scaleX:_,scaleY:w}=I.getChartPosition(),A=(y.positioner||this.getPosition).call(this,D,M,d),U=(d.plotX||0)+h.plotLeft,b=(d.plotY||0)+h.plotTop,k;E&&m&&(y.positioner&&(A.x+=F-f,A.y+=X-f),k=(y.borderWidth||0)+2*f+2,E.setSize(D+k,M+k,!1),(_!==1||w!==1)&&(L(m,{transform:`scale(${_}, ${w})`}),U*=_,b*=w),U+=F-A.x,b+=X-A.y),this.move(Math.round(A.x),Math.round(A.y||0),U,b)}}return(K=o||(o={})).compose=function(u){v(Z,"Core.Tooltip")&&H(u,"afterInit",function(){let d=this.chart;d.options.tooltip&&(d.tooltip=new K(d,d.options.tooltip,this))})},o}),r(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{animObject:$}=n,{defaultOptions:K}=l,{format:G}=C,{addEvent:q,crisp:Z,erase:R,extend:Y,fireEvent:V,getNestedProperty:H,isArray:T,isFunction:L,isNumber:j,isObject:s,merge:c,pick:x,syncTimeout:N,removeEvent:P,uniqueKey:S}=B;class g{animateBeforeDestroy(){let p=this,a={x:p.startXPos,opacity:0},o=p.getGraphicalProps();o.singular.forEach(function(u){p[u]=p[u].animate(u==="dataLabel"?{x:p[u].startXPos,y:p[u].startYPos,opacity:0}:a)}),o.plural.forEach(function(u){p[u].forEach(function(d){d.element&&d.animate(Y({x:p.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})}applyOptions(p,a){let o=this.series,u=o.options.pointValKey||o.pointValKey;return Y(this,p=g.prototype.optionsToObject.call(this,p)),this.options=this.options?Y(this.options,p):p,p.group&&delete this.group,p.dataLabels&&delete this.dataLabels,u&&(this.y=g.prototype.getNestedProperty.call(this,u)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),this.x===void 0&&o?this.x=a??o.autoIncrement():j(p.x)&&o.options.relativeXValue&&(this.x=o.autoIncrement(p.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let p=this,a=p.series,o=a.chart,u=a.options.dataSorting,d=o.hoverPoints,h=$(p.series.chart.renderer.globalAnimation),m=()=>{for(let f in(p.graphic||p.graphics||p.dataLabel||p.dataLabels)&&(P(p),p.destroyElements()),p)delete p[f]};p.legendItem&&o.legend.destroyItem(p),d&&(p.setState(),R(d,p),d.length||(o.hoverPoints=null)),p===o.hoverPoint&&p.onMouseOut(),u&&u.enabled?(this.animateBeforeDestroy(),N(m,h.duration)):m(),o.pointCount--}this.destroyed=!0}destroyElements(p){let a=this,o=a.getGraphicalProps(p);o.singular.forEach(function(u){a[u]=a[u].destroy()}),o.plural.forEach(function(u){a[u].forEach(function(d){d&&d.element&&d.destroy()}),delete a[u]})}firePointEvent(p,a,o){let u=this,d=this.series.options;u.manageEvent(p),p==="click"&&d.allowPointSelect&&(o=function(h){!u.destroyed&&u.select&&u.select(null,h.ctrlKey||h.metaKey||h.shiftKey)}),V(u,p,a,o)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(p){let a,o,u=this,d=[],h={singular:[],plural:[]};for((p=p||{graphic:1,dataLabel:1}).graphic&&d.push("graphic","connector"),p.dataLabel&&d.push("dataLabel","dataLabelPath","dataLabelUpper"),o=d.length;o--;)u[a=d[o]]&&h.singular.push(a);return["graphic","dataLabel"].forEach(function(m){let f=m+"s";p[m]&&u[f]&&h.plural.push(f)}),h}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(p){return p?p.indexOf("custom.")===0?H(p,this.options):this[p]:void 0}getZone(){let p=this.series,a=p.zones,o=p.zoneAxis||"y",u,d=0;for(u=a[0];this[o]>=u.value;)u=a[++d];return this.nonZonedColor||(this.nonZonedColor=this.color),u&&u.color&&!this.options.color?this.color=u.color:this.color=this.nonZonedColor,u}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(p,a,o){this.formatPrefix="point",this.visible=!0,this.series=p,this.applyOptions(a,o),this.id??(this.id=S()),this.resolveColor(),p.chart.pointCount++,V(this,"afterInit")}isValid(){return(j(this.x)||this.x instanceof Date)&&j(this.y)}optionsToObject(p){let a=this.series,o=a.options.keys,u=o||a.pointArrayMap||["y"],d=u.length,h={},m,f=0,y=0;if(j(p)||p===null)h[u[0]]=p;else if(T(p))for(!o&&p.length>d&&((m=typeof p[0])=="string"?h.name=p[0]:m==="number"&&(h.x=p[0]),f++);y<d;)o&&p[f]===void 0||(u[y].indexOf(".")>0?g.prototype.setNestedProperty(h,p[f],u[y]):h[u[y]]=p[f]),f++,y++;else typeof p=="object"&&(h=p,p.dataLabels&&(a.hasDataLabels=()=>!0),p.marker&&(a._hasPointMarkers=!0));return h}pos(p,a=this.plotY){if(!this.destroyed){let{plotX:o,series:u}=this,{chart:d,xAxis:h,yAxis:m}=u,f=0,y=0;if(j(o)&&j(a))return p&&(f=h?h.pos:d.plotLeft,y=m?m.pos:d.plotTop),d.inverted&&h&&m?[m.len-a+y,h.len-o+f]:[o+f,a+y]}}resolveColor(){let p=this.series,a=p.chart.options.chart,o=p.chart.styledMode,u,d,h=a.colorCount,m;delete this.nonZonedColor,p.options.colorByPoint?(o||(u=(d=p.options.colors||p.chart.options.colors)[p.colorCounter],h=d.length),m=p.colorCounter,p.colorCounter++,p.colorCounter===h&&(p.colorCounter=0)):(o||(u=p.color),m=p.colorIndex),this.colorIndex=x(this.options.colorIndex,m),this.color=x(this.options.color,u)}setNestedProperty(p,a,o){return o.split(".").reduce(function(u,d,h,m){let f=m.length-1===h;return u[d]=f?a:s(u[d],!0)?u[d]:{},u[d]},p),p}shouldDraw(){return!this.isNull}tooltipFormatter(p){let a=this.series,o=a.tooltipOptions,u=x(o.valueDecimals,""),d=o.valuePrefix||"",h=o.valueSuffix||"";return a.chart.styledMode&&(p=a.chart.tooltip.styledModeFormat(p)),(a.pointArrayMap||["y"]).forEac
vendor: 1,189 bytes, line 129
129h(function(m){m="{point."+m,(d||h)&&(p=p.replace(RegExp(m+"}","g"),d+m+"}"+h)),p=p.replace(RegExp(m+"}","g"),m+":,."+u+"f}")}),G(p,{point:this,series:this.series},a.chart)}update(p,a,o,u){let d,h=this,m=h.series,f=h.graphic,y=m.chart,I=m.options;function E(){h.applyOptions(p);let M=f&&h.hasMockGraphic,D=h.y===null?!M:M;f&&D&&(h.graphic=f.destroy(),delete h.hasMockGraphic),s(p,!0)&&(f&&f.element&&p&&p.marker&&p.marker.symbol!==void 0&&(h.graphic=f.destroy()),p!=null&&p.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy())),d=h.index,m.updateParallelArrays(h,d),I.data[d]=s(I.data[d],!0)||s(p,!0)?h.options:x(p,I.data[d]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(y.isDirtyBox=!0),I.legendType==="point"&&(y.isDirtyLegend=!0),a&&y.redraw(o)}a=x(a,!0),u===!1?E():h.firePointEvent("update",{options:p},E)}remove(p,a){this.series.removePoint(this.series.data.indexOf(this),p,a)}select(p,a){let o=this,u=o.series,d=u.chart;p=x(p,!o.selected),this.selectedStaging=p,o.firePointEvent(p?"select":"unselect",{accumulate:a},function(){o.selected=o.options.selected=p,u.options.data[u.data.indexOf(o)]=o.options,o.setState(p&&"select"),a||d.getSelectedPoints().forEac
129h(function(h){let m=h.series;h.selected&&h!==o&&(h.selected=h.options.selected=!1,m.options.data[m.data.indexOf(h)]=h.options,h.setState(d.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),h.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(p){let{inverted:a,pointer:o}=this.series.chart;o&&(p=p?o.normalize(p):o.getChartCoordinatesFromPoint(this,a),o.runPointActions(p,this))}onMouseOut(){let p=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(p.hoverPoints||[]).forEach(function(a){a.setState()}),p.hoverPoints=p.hoverPoint=null}manageEvent(p){var u,d,h,m,f,y;let a=c(this.series.options.point,this.options),o=(u=a.events)==null?void 0:u[p];L(o)&&(!((d=this.hcEvents)!=null&&d[p])||((m=(h=this.hcEvents)==null?void 0:h[p])==null?void 0:m.map(I=>I.fn).indexOf(o))===-1)?((f=this.importedUserEvent)==null||f.call(this),this.importedUserEvent=q(this,p,o)):this.importedUserEvent&&!o&&((y=this.hcEvents)!=null&&y[p])&&(P(this,p),delete this.hcEvents[p],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(p,a){var O;let o=this.series,u=this.state,d=o.options.states[p||"normal"]||{},h=K.plotOptions[o.type].marker&&o.options.marker,m=h&&h.enabled===!1,f=h&&h.states&&h.states[p||"normal"]||{},y=f.enabled===!1,I=this.marker||{},E=o.chart,M=h&&o.markerAttribs,D=o.halo,F,X,_,w=o.stateMarkerGraphic,A;if((p=p||"")===this.state&&!a||this.selected&&p!=="select"||d.enabled===!1||p&&(y||m&&f.enabled===!1)||p&&I.states&&I.states[p]&&I.states[p].enabled===!1)return;if(this.state=p,M&&(F=o.markerAttribs(this,p)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),p&&this.graphic.addClass("highcharts-point-"+p),!E.styledMode){X=o.pointAttribs(this,p),_=x(E.options.chart.animation,d.animation);let z=X.opacity;o.options.inactiveOtherPoints&&j(z)&&(this.dataLabels||[]).forEach(function(W){W&&!W.hasClass("highcharts-data-label-hidden")&&(W.animate({opacity:z},_),W.connector&&W.connector.animate({opacity:z},_))}),this.graphic.animate(X,_)}F&&this.graphic.animate(F,x(E.options.chart.animation,f.animation,h.animation)),w&&w.hide()}else p&&f&&(A=I.symbol||o.symbol,w&&w.currentSymbol!==A&&(w=w.destroy()),F&&(w?w[a?"animate":"attr"]({x:F.x,y:F.y}):A&&(o.stateMarkerGraphic=w=E.renderer.symbol(A,F.x,F.y,F.width,F.height).add(o.markerGroup),w.currentSymbol=A)),!E.styledMode&&w&&this.state!=="inactive"&&w.attr(o.pointAttribs(this,p))),w&&(w[p&&this.isInside?"show":"hide"](),w.element.point=this,w.addClass(this.getClassName(),!0));let U=d.halo,b=this.graphic||w,k=b&&b.visibility||"inherit";U&&U.size&&b&&k!=="hidden"&&!this.isCluster?(D||(o.halo=D=E.renderer.path().add(b.parentGroup)),D.show()[a?"animate":"attr"]({d:this.haloPath(U.size)}),D.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:k,zIndex:-1}),D.point=this,E.styledMode||D.attr(Y({fill:this.color||o.color,"fill-opacity":U.opacity},t.filterUserAttributes(U.attributes||{})))):(O=D==null?void 0:D.point)!=null&&O.haloPath&&!D.point.destroyed&&D.animate({d:D.point.haloPath(0)},null,D.hide),V(this,"afterSetState",{state:p})}haloPath(p){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(Z(a[0],1)-p,a[1]-p,2*p,2*p):[]}}return g}),r(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{parse:B}=t,{charts:$,composed:K,isTouchDevice:G}=n,{addEvent:q,attr:Z,css:R,extend:Y,find:V,fireEvent:H,isNumber:T,isObject:L,objectEach:j,offset:s,pick:c,pushUnique:x,splat:N}=l;class P{applyInactiveState(g){let v=[],p;(g||[]).forEach(function(a){p=a.series,v.push(p),p.linkedParent&&v.push(p.linkedParent),p.linkedSeries&&(v=v.concat(p.linkedSeries)),p.navigatorSeries&&v.push(p.navigatorSeries)}),this.chart.series.forEach(function(a){v.indexOf(a)===-1?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})}destroy(){let g=this;this.eventsToUnbind.forEach(v=>v()),this.eventsToUnbind=[],!n.chartCount&&(P.unbindDocumentMouseUp&&P.unbindDocumentMouseUp.forEac
vendor: 4,590 bytes, line 129
129h(v=>v()),P.unbindDocumentTouchEnd&&(P.unbindDocumentTouchEnd=P.unbindDocumentTouchEnd())),clearInterval(g.tooltipTimeout),j(g,function(v,p){g[p]=void 0})}getSelectionMarkerAttrs(g,v){let p={args:{chartX:g,chartY:v},attrs:{},shapeType:"rect"};return H(this,"getSelectionMarkerAttrs",p,a=>{let o,{chart:u,zoomHor:d,zoomVert:h}=this,{mouseDownX:m=0,mouseDownY:f=0}=u,y=a.attrs;y.x=u.plotLeft,y.y=u.plotTop,y.width=d?1:u.plotWidth,y.height=h?1:u.plotHeight,d&&(o=g-m,y.width=Math.max(1,Math.abs(o)),y.x=(o>0?0:o)+m),h&&(o=v-f,y.height=Math.max(1,Math.abs(o)),y.y=(o>0?0:o)+f)}),p}drag(g){let{chart:v}=this,{mouseDownX:p=0,mouseDownY:a=0}=v,{panning:o,panKey:u,selectionMarkerFill:d}=v.options.chart,h=v.plotLeft,m=v.plotTop,f=v.plotWidth,y=v.plotHeight,I=L(o)?o.enabled:o,E=u&&g[`${u}Key`],M=g.chartX,D=g.chartY,F,X=this.selectionMarker;if((!X||!X.touch)&&(M<h?M=h:M>h+f&&(M=h+f),D<m?D=m:D>m+y&&(D=m+y),this.hasDragged=Math.sqrt(Math.pow(p-M,2)+Math.pow(a-D,2)),this.hasDragged>10)){F=v.isInsidePlot(p-h,a-m,{visiblePlotOnly:!0});let{shapeType:_,attrs:w}=this.getSelectionMarkerAttrs(M,D);(v.hasCartesianSeries||v.mapView)&&this.hasZoom&&F&&!E&&!X&&(this.selectionMarker=X=v.renderer[_](),X.attr({class:"highcharts-selection-marker",zIndex:7}).add(),v.styledMode||X.attr({fill:d||B("#334eff").setOpacity(.25).get()})),X&&X.attr(w),F&&!X&&I&&v.pan(g,o)}}dragStart(g){let v=this.chart;v.mouseIsDown=g.type,v.cancelClick=!1,v.mouseDownX=g.chartX,v.mouseDownY=g.chartY}getSelectionBox(g){let v={args:{marker:g},result:g.getBBox()};return H(this,"getSelectionBox",v),v.result}drop(g){let v,{chart:p,selectionMarker:a}=this;for(let o of p.axes)o.isPanning&&(o.isPanning=!1,(o.options.startOnTick||o.options.endOnTick||o.series.some(u=>u.boosted))&&(o.forceRedraw=!0,o.setExtremes(o.userMin,o.userMax,!1),v=!0));if(v&&p.redraw(),a&&g){if(this.hasDragged){let o=this.getSelectionBox(a);p.transform({axes:p.axes.filter(u=>u.zoomEnabled&&(u.coll==="xAxis"&&this.zoomX||u.coll==="yAxis"&&this.zoomY)),selection:ze({originalEvent:g,xAxis:[],yAxis:[]},o),from:o})}T(p.index)&&(this.selectionMarker=a.destroy())}p&&T(p.index)&&(R(p.container,{cursor:p._cursor}),p.cancelClick=this.hasDragged>10,p.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(g,v,p){let a;return g.forEach(function(o){let u=!(o.noSharedTooltip&&v)&&0>o.options.findNearestPointBy.indexOf("y"),d=o.searchPoint(p,u);L(d,!0)&&d.series&&(!L(a,!0)||function(h,m){var E,M;let f=h.distX-m.distX,y=h.dist-m.dist,I=((E=m.series.group)==null?void 0:E.zIndex)-((M=h.series.group)==null?void 0:M.zIndex);return f!==0&&v?f:y!==0?y:I!==0?I:h.series.index>m.series.index?-1:1}(a,d)>0)&&(a=d)}),a}getChartCoordinatesFromPoint(g,v){let{xAxis:p,yAxis:a}=g.series,o=g.shapeArgs;if(p&&a){let u=g.clientX??g.plotX??0,d=g.plotY||0;return g.isNode&&o&&T(o.x)&&T(o.y)&&(u=o.x,d=o.y),v?{chartX:a.len+a.pos-d,chartY:p.len+p.pos-u}:{chartX:u+p.pos,chartY:d+a.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:g}=this.chart,v=s(g);this.chartPosition={left:v.left,top:v.top,scaleX:1,scaleY:1};let{offsetHeight:p,offsetWidth:a}=g;return a>2&&p>2&&(this.chartPosition.scaleX=v.width/a,this.chartPosition.scaleY=v.height/p),this.chartPosition}getCoordinates(g){let v={xAxis:[],yAxis:[]};for(let p of this.chart.axes)v[p.isXAxis?"xAxis":"yAxis"].push({axis:p,value:p.toValue(g[p.horiz?"chartX":"chartY"])});return v}getHoverData(g,v,p,a,o,u){let d=[],h=function(E){return E.visible&&!(!o&&E.directTouch)&&c(E.options.enableMouseTracking,!0)},m=v,f,y={chartX:u?u.chartX:void 0,chartY:u?u.chartY:void 0,shared:o};H(this,"beforeGetHoverData",y),f=m&&!m.stickyTracking?[m]:p.filter(E=>E.stickyTracking&&(y.filter||h)(E));let I=a&&g||!u?g:this.findNearestKDPoint(f,o,u);return m=I&&I.series,I&&(o&&!m.noSharedTooltip?(f=p.filter(function(E){return y.filter?y.filter(E):h(E)&&!E.noSharedTooltip})).forEach(function(E){let M=V(E.points,function(D){return D.x===I.x&&!D.isNull});L(M)&&(E.boosted&&E.boost&&(M=E.boost.getPoint(M)),d.push(M))}):d.push(I)),H(this,"afterGetHoverData",y={hoverPoint:I}),{hoverPoint:y.hoverPoint,hoverSeries:m,hoverPoints:d}}getPointFromEvent(g){let v=g.target,p;for(;v&&!p;)p=v.point,v=v.parentNode;return p}onTrackerMouseOut(g){let v=this.chart,p=g.relatedTarget,a=v.hoverSeries;this.isDirectTouch=!1,!a||!p||a.stickyTracking||this.inClass(p,"highcharts-tooltip")||this.inClass(p,"highcharts-series-"+a.index)&&this.inClass(p,"highcharts-tracker")||a.onMouseOut()}inClass(g,v){let p=g,a;for(;p;){if(a=Z(p,"class")){if(a.indexOf(v)!==-1)return!0;
129if(a.indexOf("highcharts-container")!==-1)return!1}p=p.parentElement}}constructor(g,v){var p;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=v,this.chart=g,this.runChartClick=!!((p=v.chart.events)!=null&&p.click),this.pinchDown=[],this.setDOMEvents(),H(this,"afterInit")}normalize(g,v){let p=g.touches,a=p?p.length?p.item(0):c(p.changedTouches,g.changedTouches)[0]:g;v||(v=this.getChartPosition());let o=a.pageX-v.left,u=a.pageY-v.top;return Y(g,{chartX:Math.round(o/=v.scaleX),chartY:Math.round(u/=v.scaleY)})}onContainerClick(g){let v=this.chart,p=v.hoverPoint,a=this.normalize(g),o=v.plotLeft,u=v.plotTop;!v.cancelClick&&(p&&this.inClass(a.target,"highcharts-tracker")?(H(p.series,"click",Y(a,{point:p})),v.hoverPoint&&p.firePointEvent("click",a)):(Y(a,this.getCoordinates(a)),v.isInsidePlot(a.chartX-o,a.chartY-u,{visiblePlotOnly:!0})&&H(v,"click",a)))}onContainerMouseDown(g){var p;let v=(1&(g.buttons||g.button))==1;g=this.normalize(g),n.isFirefox&&g.button!==0&&this.onContainerMouseMove(g),(g.button===void 0||v)&&(this.zoomOption(g),v&&((p=g.preventDefault)==null||p.call(g)),this.dragStart(g))}onContainerMouseLeave(g){let{pointer:v}=$[c(P.hoverChartIndex,-1)]||{};g=this.normalize(g),this.onContainerMouseMove(g),v&&!this.inClass(g.relatedTarget,"highcharts-tooltip")&&(v.reset(),v.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(g){let v=this.chart,p=v.tooltip,a=this.normalize(g);this.setHoverChartIndex(g),(v.mouseIsDown==="mousedown"||this.touchSelect(a))&&this.drag(a),!v.openMenu&&(this.inClass(a.target,"highcharts-tracker")||v.isInsidePlot(a.chartX-v.plotLeft,a.chartY-v.plotTop,{visiblePlotOnly:!0}))&&!(p&&p.shouldStickOnContact(a))&&(this.inClass(a.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(a))}onDocumentTouchEnd(g){this.onDocumentMouseUp(g)}onContainerTouchMove(g){this.touchSelect(g)?this.onContainerMouseMove(g):this.touch(g)}onContainerTouchStart(g){this.touchSelect(g)?this.onContainerMouseDown(g):(this.zoomOption(g),this.touch(g,!0))}onDocumentMouseMove(g){let v=this.chart,p=v.tooltip,a=this.chartPosition,o=this.normalize(g,a);!a||v.isInsidePlot(o.chartX-v.plotLeft,o.chartY-v.plotTop,{visiblePlotOnly:!0})||p&&p.shouldStickOnContact(o)||o.target!==v.container.ownerDocument&&this.inClass(o.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(g){var v,p;(p=(v=$[c(P.hoverChartIndex,-1)])==null?void 0:v.pointer)==null||p.drop(g)}pinch(g){let v=this,{chart:p,hasZoom:a,lastTouches:o}=v,u=[].map.call(g.touches||[],y=>v.normalize(y)),d=u.length,h=d===1&&(v.inClass(g.target,"highcharts-tracker")&&p.runTrackerClick||v.runChartClick),m=p.tooltip,f=d===1&&c(m==null?void 0:m.options.followTouchMove,!0);d>1?v.initiated=!0:f&&(v.initiated=!1),a&&v.initiated&&!h&&g.cancelable!==!1&&g.preventDefault(),g.type==="touchstart"?(v.pinchDown=u,v.res=!0,p.mouseDownX=g.chartX):f?this.runPointActions(v.normalize(g)):o&&(H(p,"touchpan",{originalEvent:g,touches:u},()=>{let y=I=>{let E=I[0],M=I[1]||E;return{x:E.chartX,y:E.chartY,width:M.chartX-E.chartX,height:M.chartY-E.chartY}};p.transform({axes:p.axes.filter(I=>I.zoomEnabled&&(this.zoomHor&&I.horiz||this.zoomVert&&!I.horiz)),to:y(u),from:y(o),trigger:g.type})}),v.res&&(v.res=!1,this.reset(!1,0))),v.lastTouches=u}reset(g,v){let p=this.chart,a=p.hoverSeries,o=p.hoverPoint,u=p.hoverPoints,d=p.tooltip,h=d&&d.shared?u:o;g&&h&&N(h).forEach(function(m){m.series.isCartesian&&m.plotX===void 0&&(g=!1)}),g?d&&h&&N(h).length&&(d.refresh(h),d.shared&&u?u.forEach(function(m){m.setState(m.state,!0),m.series.isCartesian&&(m.series.xAxis.crosshair&&m.series.xAxis.drawCrosshair(null,m),m.series.yAxis.crosshair&&m.series.yAxis.drawCrosshair(null,m))}):o&&(o.setState(o.state,!0),p.axes.forEach(function(m){m.crosshair&&o.series[m.coll]===m&&m.drawCrosshair(null,o)}))):(o&&o.onMouseOut(),u&&u.forEach(function(m){m.setState()}),a&&a.onMouseOut(),d&&d.hide(v),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),p.axes.forEach(function(m){m.hideCrosshair()}),p.hoverPoints=p.hoverPoint=void 0)}runPointActions(g,v,p){let a=this.chart,o=a.series,u=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,d=!!u&&u.shared,h=v||a.hoverPoint,m=h&&h.series||a.hoverSeries,f=(!g||g.type!=="touchmove")&&(!!v||m&&m.directTouch&&this.isDirectTouch),y=this.getHoverData(h,m,o,f,d,g);h=y.hoverPoint,m=y.hoverSeries;let I=y.hoverPoints,E=m&&m.tooltipOptions.followPointer&&!m.tooltipOptions.split,M=d&&m&&!m.noSharedTooltip;if(h&&(p||h!==a.hoverPoint||u&&u.isHidden)){if((a.hoverPoints||[]).forEac
129h(function(D){I.indexOf(D)===-1&&D.setState()}),a.hoverSeries!==m&&m.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(D){D.setState("hover")}),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!h.series)return;a.hoverPoints=I,a.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{u&&h&&u.refresh(M?I:h,g)})}else if(E&&u&&!u.isHidden){let D=u.getAnchor([{}],g);a.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&u.updatePosition({plotX:D[0],plotY:D[1]})}this.unDocMouseMove||(this.unDocMouseMove=q(a.container.ownerDocument,"mousemove",D=>{var F,X;return(X=(F=$[P.hoverChartIndex??-1])==null?void 0:F.pointer)==null?void 0:X.onDocumentMouseMove(D)}),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach(function(D){let F,X=c((D.crosshair||{}).snap,!0);!X||(F=a.hoverPoint)&&F.series[D.coll]===D||(F=V(I,_=>_.series&&_.series[D.coll]===D)),F||!X?D.drawCrosshair(g,F):D.hideCrosshair()})}setDOMEvents(){let g=this.chart.container,v=g.ownerDocument;g.onmousedown=this.onContainerMouseDown.bind(this),g.onmousemove=this.onContainerMouseMove.bind(this),g.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(q(g,"mouseenter",this.onContainerMouseEnter.bind(this)),q(g,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=[]),P.unbindDocumentMouseUp.push(q(v,"mouseup",this.onDocumentMouseUp.bind(this)));let p=this.chart.renderTo.parentElement;for(;p&&p.tagName!=="BODY";)this.eventsToUnbind.push(q(p,"scroll",()=>{delete this.chartPosition})),p=p.parentElement;this.eventsToUnbind.push(q(g,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),q(g,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=q(v,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),q(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var o,u;if(!G)return;let g=this.pointerCaptureEventsToUnbind,v=this.chart,p=v.container,a=c((o=v.options.tooltip)==null?void 0:o.followTouchMove,!0)&&v.series.some(d=>d.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&a?(g.push(q(p,"pointerdown",d=>{var h,m;(h=d.target)!=null&&h.hasPointerCapture(d.pointerId)&&((m=d.target)==null||m.releasePointerCapture(d.pointerId))}),q(p,"pointermove",d=>{var h,m;(m=(h=v.pointer)==null?void 0:h.getPointFromEvent(d))==null||m.onMouseOver(d)})),v.styledMode||R(p,{"touch-action":"none"}),p.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!a&&(g.forEach(d=>d()),g.length=0,v.styledMode||R(p,{"touch-action":c((u=v.options.chart.style)==null?void 0:u["touch-action"],"manipulation")}),p.className=p.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(g){var a;let v=this.chart,p=n.charts[c(P.hoverChartIndex,-1)];if(p&&p!==v){let o={relatedTarget:v.container};g&&!(g!=null&&g.relatedTarget)&&(g=ze(ze({},o),g)),(a=p.pointer)==null||a.onContainerMouseLeave(g||o)}p&&p.mouseIsDown||(P.hoverChartIndex=v.index)}touch(g,v){let p,{chart:a,pinchDown:o=[]}=this;this.setHoverChartIndex(),(g=this.normalize(g)).touches.length===1?a.isInsidePlot(g.chartX-a.plotLeft,g.chartY-a.plotTop,{visiblePlotOnly:!0})&&!a.openMenu?(v&&this.runPointActions(g),g.type==="touchmove"&&(p=!!o[0]&&Math.pow(o[0].chartX-g.chartX,2)+Math.pow(o[0].chartY-g.chartY,2)>=16),c(p,!0)&&this.pinch(g)):v&&this.reset():g.touches.length===2&&this.pinch(g)}touchSelect(g){return!!(this.chart.zooming.singleTouch&&g.touches&&g.touches.length===1)}zoomOption(g){let v=this.chart,p=v.inverted,a=v.zooming.type||"",o,u;/touch/.test(g.type)&&(a=c(v.zooming.pinchType,a)),this.zoomX=o=/x/.test(a),this.zoomY=u=/y/.test(a),this.zoomHor=o&&!p||u&&p,this.zoomVert=u&&!p||o&&p,this.hasZoom=o||u}}return(C=P||(P={})).compose=function(S){x(K,"Core.Pointer")&&q(S,"beforeRender",function(){this.pointer=new C(this,this.options)})},P}),r(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var n;let{extend:l,merge:C,pick:B}=t;return function($){function K(G,q,Z){var p,a;let R=this.legendItem=this.legendItem||{},{chart:Y,options:V}
129=this,{baseline:H=0,symbolWidth:T,symbolHeight:L}=G,j=this.symbol||"circle",s=L/2,c=Y.renderer,x=R.group,N=H-Math.round((((p=G.fontMetrics)==null?void 0:p.b)||L)*(Z?.4:.3)),P={},S,g=V.marker,v=0;if(Y.styledMode||(P["stroke-width"]=Math.min(V.lineWidth||0,24),V.dashStyle?P.dashstyle=V.dashStyle:V.linecap==="square"||(P["stroke-linecap"]="round")),R.line=c.path().addClass("highcharts-graph").attr(P).add(x),Z&&(R.area=c.path().addClass("highcharts-area").add(x)),P["stroke-linecap"]&&(v=Math.min(R.line.strokeWidth(),T)/2),T){let o=[["M",v,N],["L",T-v,N]];R.line.attr({d:o}),(a=R.area)==null||a.attr({d:[...o,["L",T-v,H],["L",v,H]]})}if(g&&g.enabled!==!1&&T){let o=Math.min(B(g.radius,s),s);j.indexOf("url")===0&&(g=C(g,{width:L,height:L}),o=0),R.symbol=S=c.symbol(j,T/2-o,N-o,2*o,2*o,l({context:"legend"},g)).addClass("highcharts-point").add(x),S.isMarker=!0}}$.areaMarker=function(G,q){K.call(this,G,q,!0)},$.lineMarker=K,$.rectangle=function(G,q){let Z=q.legendItem||{},R=G.options,Y=G.symbolHeight,V=R.squareSymbol,H=V?Y:G.symbolWidth;Z.symbol=this.chart.renderer.rect(V?(G.symbolWidth-Y)/2:0,G.baseline-Y+1,H,Y,B(G.options.symbolRadius,Y/2)).addClass("highcharts-point").attr({zIndex:3}).add(Z.group)}}(n||(n={})),n}),r(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return typeof this.y!="number"?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),r(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{defaultOptions:$}=n,{extend:K,extendClass:G,merge:q}=C;return function(Z){function R(Y,V){let H=$.plotOptions||{},T=V.defaultOptions,L=V.prototype;return L.type=Y,L.pointClass||(L.pointClass=l),!Z.seriesTypes[Y]&&(T&&(H[Y]=T),Z.seriesTypes[Y]=V,!0)}Z.seriesTypes=t.seriesTypes,Z.registerSeriesType=R,Z.seriesType=function(Y,V,H,T,L){let j=$.plotOptions||{};if(V=V||"",j[Y]=q(j[V],H),delete Z.seriesTypes[Y],R(Y,G(Z.seriesTypes[V]||function(){},T)),Z.seriesTypes[Y].prototype.type=Y,L){class s extends l{}K(s.prototype,L),Z.seriesTypes[Y].prototype.pointClass=s}return Z.seriesTypes[Y]}}(B||(B={})),B}),r(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let{animObject:R,setAnimation:Y}=t,{defaultOptions:V}=n,{registerEventOptions:H}=l,{svg:T,win:L}=C,{seriesTypes:j}=G,{arrayMax:s,arrayMin:c,clamp:x,correctFloat:N,crisp:P,defined:S,destroyObjectProperties:g,diffObjects:v,erase:p,error:a,extend:o,find:u,fireEvent:d,getClosestDistance:h,getNestedProperty:m,insertItem:f,isArray:y,isNumber:I,isString:E,merge:M,objectEach:D,pick:F,removeEvent:X,splat:_,syncTimeout:w}=Z;class A{constructor(){this.zoneAxis="y"}init(b,k){let O;d(this,"init",{options:k});let z=this,W=b.series;this.eventsToUnbind=[],z.chart=b,z.options=z.setOptions(k);let Q=z.options,ee=Q.visible!==!1;z.linkedSeries=[],z.bindAxes(),o(z,{name:Q.name,state:"",visible:ee,selected:Q.selected===!0}),H(this,Q);let se=Q.events;(se&&se.click||Q.point&&Q.point.events&&Q.point.events.click||Q.allowPointSelect)&&(b.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(ae){z[ae+"Data"]||(z[ae+"Data"]=[])}),z.isCartesian&&(b.hasCartesianSeries=!0),W.length&&(O=W[W.length-1]),z._i=F(O&&O._i,-1)+1,z.opacity=z.options.opacity,b.orderItems("series",f(this,W)),Q.dataSorting&&Q.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(Q.data,!1),d(this,"afterInit")}is(b){return j[b]&&this instanceof j[b]}bindAxes(){let b,k=this,O=k.options,z=k.chart;
129d(this,"bindAxes",null,function(){(k.axisTypes||[]).forEach(function(W){(z[W]||[]).forEach(function(Q){b=Q.options,(F(O[W],0)===Q.index||O[W]!==void 0&&O[W]===b.id)&&(f(k,Q.series),k[W]=Q,Q.isDirty=!0)}),k[W]||k.optionalAxis===W||a(18,!0,z)})}),d(this,"afterBindAxes")}updateParallelArrays(b,k,O){let z=b.series,W=I(k)?function(Q){let ee=Q==="y"&&z.toYData?z.toYData(b):b[Q];z[Q+"Data"][k]=ee}:function(Q){Array.prototype[k].apply(z[Q+"Data"],O)};z.parallelArrays.forEach(W)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(b,k){let O=b.marker,z=k.marker||{};return O&&(z.enabled&&!O.enabled||z.symbol!==O.symbol||z.height!==O.height||z.width!==O.width)}autoIncrement(b){let k=this.options,O=k.pointIntervalUnit,z=k.relativeXValue,W=this.chart.time,Q=this.xIncrement,ee,se;return Q=F(Q,k.pointStart,0),this.pointInterval=se=F(this.pointInterval,k.pointInterval,1),z&&I(b)&&(se*=b),O&&(ee=new W.Date(Q),O==="day"?W.set("Date",ee,W.get("Date",ee)+se):O==="month"?W.set("Month",ee,W.get("Month",ee)+se):O==="year"&&W.set("FullYear",ee,W.get("FullYear",ee)+se),se=ee.getTime()-Q),z&&I(b)?Q+se:(this.xIncrement=Q+se,Q)}setDataSortingOptions(){let b=this.options;o(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(b.pointRange)||(b.pointRange=1)}setOptions(b){var le,ue;let k,O=this.chart,z=O.options.plotOptions,W=O.userOptions||{},Q=M(b),ee=O.styledMode,se={plotOptions:z,userOptions:Q};d(this,"setOptions",se);let ae=se.plotOptions[this.type],he=W.plotOptions||{},ce=he.series||{},ie=V.plotOptions[this.type]||{},te=he[this.type]||{};this.userOptions=se.userOptions;let ne=M(ae,z.series,te,Q);this.tooltipOptions=M(V.tooltip,(le=V.plotOptions.series)==null?void 0:le.tooltip,ie==null?void 0:ie.tooltip,O.userOptions.tooltip,(ue=he.series)==null?void 0:ue.tooltip,te.tooltip,Q.tooltip),this.stickyTracking=F(Q.stickyTracking,te.stickyTracking,ce.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ne.stickyTracking),ae.marker===null&&delete ne.marker,this.zoneAxis=ne.zoneAxis||"y";let oe=this.zones=(ne.zones||[]).map(de=>ze({},de));return(ne.negativeColor||ne.negativeFillColor)&&!ne.zones&&(k={value:ne[this.zoneAxis+"Threshold"]||ne.threshold||0,className:"highcharts-negative"},ee||(k.color=ne.negativeColor,k.fillColor=ne.negativeFillColor),oe.push(k)),oe.length&&S(oe[oe.length-1].value)&&oe.push(ee?{}:{color:this.color,fillColor:this.fillColor}),d(this,"afterSetOptions",{options:ne}),ne}getName(){return F(this.options.name,"Series "+(this.index+1))}getCyclic(b,k,O){let z,W,Q=this.chart,ee=`${b}Index`,se=`${b}Counter`,ae=(O==null?void 0:O.length)||Q.options.chart.colorCount;!k&&(S(W=F(b==="color"?this.options.colorIndex:void 0,this[ee]))?z=W:(Q.series.length||(Q[se]=0),z=Q[se]%ae,Q[se]+=1),O&&(k=O[z])),z!==void 0&&(this[ee]=z),this[b]=k}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||V.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let b=this.options.marker;this.getCyclic("symbol",b.symbol,this.chart.options.symbols)}findPointIndex(b,k){let O,z,W,Q=b.id,ee=b.x,se=this.points,ae=this.options.dataSorting;if(Q){let he=this.chart.get(Q);he instanceof $&&(O=he)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let he=ce=>!ce.touched&&ce.index===b.index;if(ae&&ae.matchByName?he=ce=>!ce.touched&&ce.name===b.name:this.options.relativeXValue&&(he=ce=>!ce.touched&&ce.options.x===b.x),!(O=u(se,he)))return}return O&&(W=O&&O.index)!==void 0&&(z=!0),W===void 0&&I(ee)&&(W=this.xData.indexOf(ee,k)),W!==-1&&W!==void 0&&this.cropped&&(W=W>=this.cropStart?W-this.cropStart:W),!z&&I(W)&&se[W]&&se[W].touched&&(W=void 0),W}updateData(b,k){let O=this.options,z=O.dataSorting,W=this.points,Q=[],ee=this.requireSorting,se=b.length===W.length,ae,he,ce,ie,te=!0;if(this.xIncrement=null,b.forEach(function(ne,oe){let le,ue=S(ne)&&this.pointClass.prototype.optionsToObject.call({series:this},ne)||{},de=ue.x;ue.id||I(de)?((le=this.findPointIndex(ue,ie))===-1||le===void 0?Q.push(ne):W[le]&&ne!==O.data[le]?(W[le].update(ne,!1,null,!1),W[le].touched=!0,ee&&(ie=le+1)):W[le]&&(W[le].touched=!0),(!se||oe!==le||z&&z.enabled||this.hasDerivedData)&&(ae=!0)):Q.push(ne)},this),ae)for(he=W.length;he--;)(ce=W[he])&&!ce.touched&&ce.remove&&ce.remove(!1,k);else!se||z&&z.enabled?te=!1:(b.forEach(function(ne,oe){ne===W[oe].y||W[oe].destroyed||W[oe].update(ne,!1,null,!1)}),Q.length=0);return W.forEach(function(ne){ne&&(ne.touched=!1)}
129),!!te&&(Q.forEach(function(ne){this.addPoint(ne,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=s(this.xData),this.autoIncrement()),!0)}setData(b,k=!0,O,z){var Se;let W=this,Q=W.points,ee=Q&&Q.length||0,se=W.options,ae=W.chart,he=se.dataSorting,ce=W.xAxis,ie=se.turboThreshold,te=this.xData,ne=this.yData,oe=W.pointArrayMap,le=oe&&oe.length,ue=se.keys,de,fe,me,ge=0,Ee=1,ve;ae.options.chart.allowMutatingData||(se.data&&delete W.options.data,W.userOptions.data&&delete W.userOptions.data,ve=M(!0,b));let ye=(b=ve||b||[]).length;if(he&&he.enabled&&(b=this.sortData(b)),ae.options.chart.allowMutatingData&&z!==!1&&ye&&ee&&!W.cropped&&!W.hasGroupedData&&W.visible&&!W.boosted&&(me=this.updateData(b,O)),!me){W.xIncrement=null,W.colorCounter=0,this.parallelArrays.forEach(function(Ce){W[Ce+"Data"].length=0});let xe=ie&&ye>ie;if(xe){let Ce=W.getFirstValidPoint(b),Oe=W.getFirstValidPoint(b,ye-1,-1),Pe=He=>!!(y(He)&&(ue||I(He[0])));if(I(Ce)&&I(Oe))for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else if(Pe(Ce)&&Pe(Oe))if(le)if(Ce.length===le)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[0],ne[de]=fe.slice(1,le+1);else if(ue&&(ge=ue.indexOf("x"),Ee=ue.indexOf("y"),ge=ge>=0?ge:0,Ee=Ee>=0?Ee:1),Ce.length===1&&(Ee=0),ge===Ee)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de][Ee];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[ge],ne[de]=fe[Ee];else xe=!1}if(!xe)for(de=0;de<ye;de++)fe={series:W},W.pointClass.prototype.applyOptions.apply(fe,[b[de]]),W.updateParallelArrays(fe,de);for(ne&&E(ne[0])&&a(14,!0,ae),W.data=[],W.options.data=W.userOptions.data=b,de=ee;de--;)(Se=Q[de])==null||Se.destroy();ce&&(ce.minRange=ce.userMinRange),W.isDirty=ae.isDirtyBox=!0,W.isDirtyData=!!Q,O=!1}se.legendType==="point"&&(this.processData(),this.generatePoints()),k&&ae.redraw(O)}sortData(b){let k=this,O=k.options.dataSorting.sortKey||"y",z=function(W,Q){return S(Q)&&W.pointClass.prototype.optionsToObject.call({series:W},Q)||{}};return b.forEach(function(W,Q){b[Q]=z(k,W),b[Q].index=Q},this),b.concat().sort((W,Q)=>{let ee=m(O,W),se=m(O,Q);return se<ee?-1:se>ee?1:0}).forEach(function(W,Q){W.x=Q},this),k.linkedSeries&&k.linkedSeries.forEach(function(W){let Q=W.options,ee=Q.data;Q.dataSorting&&Q.dataSorting.enabled||!ee||(ee.forEach(function(se,ae){ee[ae]=z(W,se),b[ae]&&(ee[ae].x=b[ae].x,ee[ae].index=ae)}),W.setData(ee,!1))}),b}getProcessedData(b){let k=this,O=k.xAxis,z=k.options.cropThreshold,W=O==null?void 0:O.logarithmic,Q=k.isCartesian,ee,se,ae=0,he,ce,ie,te=k.xData,ne=k.yData,oe=!1,le=te.length;O&&(ce=(he=O.getExtremes()).min,ie=he.max,oe=!!(O.categories&&!O.names.length)),Q&&k.sorted&&!b&&(!z||le>z||k.forceCrop)&&(te[le-1]<ce||te[0]>ie?(te=[],ne=[]):k.yData&&(te[0]<ce||te[le-1]>ie)&&(te=(ee=this.cropData(k.xData,k.yData,ce,ie)).xData,ne=ee.yData,ae=ee.start,se=!0));let ue=h([W?te.map(W.log2lin):te],()=>k.requireSorting&&!oe&&a(15,!1,k.chart));return{xData:te,yData:ne,cropped:se,cropStart:ae,closestPointRange:ue}}processData(b){let k=this.xAxis;if(this.isCartesian&&!this.isDirty&&!k.isDirty&&!this.yAxis.isDirty&&!b)return!1;let O=this.getProcessedData();this.cropped=O.cropped,this.cropStart=O.cropStart,this.processedXData=O.xData,this.processedYData=O.yData,this.closestPointRange=this.basePointRange=O.closestPointRange,d(this,"afterProcessData")}cropData(b,k,O,z){let W=b.length,Q,ee,se=0,ae=W;for(Q=0;Q<W;Q++)if(b[Q]>=O){se=Math.max(0,Q-1);break}for(ee=Q;ee<W;ee++)if(b[ee]>z){ae=ee+1;break}return{xData:b.slice(se,ae),yData:k.slice(se,ae),start:se,end:ae}}generatePoints(){let b=this.options,k=this.processedData||b.data,O=this.processedXData,z=this.processedYData,W=this.pointClass,Q=O.length,ee=this.cropStart||0,se=this.hasGroupedData,ae=b.keys,he=[],ce=b.dataGrouping&&b.dataGrouping.groupAll?ee:0,ie,te,ne,oe,le=this.data;if(!le&&!se){let ue=[];ue.length=k.length,le=this.data=ue}for(ae&&se&&(this.options.keys=!1),oe=0;oe<Q;
129oe++)te=ee+oe,se?((ne=new W(this,[O[oe]].concat(_(z[oe])))).dataGroup=this.groupMap[ce+oe],ne.dataGroup.options&&(ne.options=ne.dataGroup.options,o(ne,ne.dataGroup.options),delete ne.dataLabels)):(ne=le[te])||k[te]===void 0||(le[te]=ne=new W(this,k[te],O[oe])),ne&&(ne.index=se?ce+oe:te,he[oe]=ne);if(this.options.keys=ae,le&&(Q!==(ie=le.length)||se))for(oe=0;oe<ie;oe++)oe!==ee||se||(oe+=Q),le[oe]&&(le[oe].destroyElements(),le[oe].plotX=void 0);this.data=le,this.points=he,d(this,"afterGeneratePoints")}getXExtremes(b){return{min:c(b),max:s(b)}}getExtremes(b,k){let O=this.xAxis,z=this.yAxis,W=[],Q=this.requireSorting&&!this.is("column")?1:0,ee=!!z&&z.positiveValuesOnly,se=k||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:ae,processedYData:he}=this,ce,ie,te,ne,oe,le,ue,de=0,fe=0,me=0;if(this.cropped&&se){let ye=this.getProcessedData(!0);ae=ye.xData,he=ye.yData}let ge=(b=b||this.stackedYData||he||[]).length,Ee=ae||this.xData;for(O&&(de=(ce=O.getExtremes()).min,fe=ce.max),le=0;le<ge;le++)if(ne=Ee[le],ie=(I(oe=b[le])||y(oe))&&((I(oe)?oe>0:oe.length)||!ee),te=k||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!O||(Ee[le+Q]||ne)>=de&&(Ee[le-Q]||ne)<=fe,ie&&te)if(ue=oe.length)for(;ue--;)I(oe[ue])&&(W[me++]=oe[ue]);else W[me++]=oe;let ve={activeYData:W,dataMin:c(W),dataMax:s(W)};return d(this,"afterGetExtremes",{dataExtremes:ve}),ve}applyExtremes(){let b=this.getExtremes();return this.dataMin=b.dataMin,this.dataMax=b.dataMax,b}getFirstValidPoint(b,k=0,O=1){let z=b.length,W=k;for(;W>=0&&W<z;){if(S(b[W]))return b[W];W+=O}}translate(){var fe;this.processedXData||this.processData(),this.generatePoints();let b=this.options,k=b.stacking,O=this.xAxis,z=O.categories,W=this.enabledDataSorting,Q=this.yAxis,ee=this.points,se=ee.length,ae=this.pointPlacementToXValue(),he=!!ae,ce=b.threshold,ie=b.startFromThreshold?ce:0,te,ne,oe,le,ue=Number.MAX_VALUE;function de(me){return x(me,-1e9,1e9)}for(te=0;te<se;te++){let me,ge=ee[te],Ee=ge.x,ve,ye,Se=ge.y,xe=ge.low,Ce=k&&((fe=Q.stacking)==null?void 0:fe.stacks[(this.negStacks&&Se<(ie?0:ce)?"-":"")+this.stackKey]);ne=O.translate(Ee,!1,!1,!1,!0,ae),ge.plotX=I(ne)?N(de(ne)):void 0,k&&this.visible&&Ce&&Ce[Ee]&&(le=this.getStackIndicator(le,Ee,this.index),!ge.isNull&&le.key&&(ye=(ve=Ce[Ee]).points[le.key]),ve&&y(ye)&&(xe=ye[0],Se=ye[1],xe===ie&&le.key===Ce[Ee].base&&(xe=F(I(ce)?ce:Q.min)),Q.positiveValuesOnly&&S(xe)&&xe<=0&&(xe=void 0),ge.total=ge.stackTotal=F(ve.total),ge.percentage=S(ge.y)&&ve.total?ge.y/ve.total*100:void 0,ge.stackY=Se,this.irregularWidths||ve.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),ge.yBottom=S(xe)?de(Q.translate(xe,!1,!0,!1,!0)):void 0,this.dataModify&&(Se=this.dataModify.modifyValue(Se,te)),I(Se)&&ge.plotX!==void 0&&(me=I(me=Q.translate(Se,!1,!0,!1,!0))?de(me):void 0),ge.plotY=me,ge.isInside=this.isPointInside(ge),ge.clientX=he?N(O.translate(Ee,!1,!1,!1,!0,ae)):ne,ge.negative=(ge.y||0)<(ce||0),ge.category=F(z&&z[ge.x],ge.x),ge.isNull||ge.visible===!1||(oe!==void 0&&(ue=Math.min(ue,Math.abs(ne-oe))),oe=ne),ge.zone=this.zones.length?ge.getZone():void 0,!ge.graphic&&this.group&&W&&(ge.isNew=!0)}this.closestPointRangePx=ue,d(this,"afterTranslate")}getValidPoints(b,k,O){let z=this.chart;return(b||this.points||[]).filter(function(W){let{plotX:Q,plotY:ee}=W;return!!((O||!W.isNull&&I(ee))&&(!k||z.isInsidePlot(Q,ee,{inverted:z.inverted})))&&W.visible!==!1})}getClipBox(){let{chart:b,xAxis:k,yAxis:O}=this,{x:z,y:W,width:Q,height:ee}=M(b.clipBox);return k&&k.len!==b.plotSizeX&&(Q=k.len),O&&O.len!==b.plotSizeY&&(ee=O.len),b.inverted&&!this.invertible&&([Q,ee]=[ee,Q]),{x:z,y:W,width:Q,height:ee}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:b,group:k,markerGroup:O}=this,z=b.sharedClips,W=b.renderer,Q=this.getClipBox(),ee=this.getSharedClipKey(),se=z[ee];se?se.animate(Q):z[ee]=se=W.clipRect(Q),k&&k.clip(this.options.clip===!1?void 0:se),O&&O.clip()}animate(b){let{chart:k,group:O,markerGroup:z}
129=this,W=k.inverted,Q=R(this.options.animation),ee=[this.getSharedClipKey(),Q.duration,Q.easing,Q.defer].join(","),se=k.sharedClips[ee],ae=k.sharedClips[ee+"m"];if(b&&O){let he=this.getClipBox();if(se)se.attr("height",he.height);else{he.width=0,W&&(he.x=k.plotHeight),se=k.renderer.clipRect(he),k.sharedClips[ee]=se;let ce={x:-99,y:-99,width:W?k.plotWidth+199:99,height:W?99:k.plotHeight+199};ae=k.renderer.clipRect(ce),k.sharedClips[ee+"m"]=ae}O.clip(se),z==null||z.clip(ae)}else if(se&&!se.hasClass("highcharts-animating")){let he=this.getClipBox(),ce=Q.step;(z!=null&&z.element.childNodes.length||k.series.length>1)&&(Q.step=function(ie,te){ce&&ce.apply(te,arguments),te.prop==="width"&&(ae!=null&&ae.element)&&ae.attr(W?"height":"width",ie+99)}),se.addClass("highcharts-animating").animate(he,Q)}}afterAnimate(){this.setClip(),D(this.chart.sharedClips,(b,k,O)=>{b&&!this.chart.container.querySelector(`[clip-path="url(#${b.id})"]`)&&(b.destroy(),delete O[k])}),this.finishedAnimating=!0,d(this,"afterAnimate")}drawPoints(b=this.points){let k,O,z,W,Q,ee,se,ae=this.chart,he=ae.styledMode,{colorAxis:ce,options:ie}=this,te=ie.marker,ne=this[this.specialGroup||"markerGroup"],oe=this.xAxis,le=F(te.enabled,!oe||!!oe.isRadial||null,this.closestPointRangePx>=te.enabledThreshold*te.radius);if(te.enabled!==!1||this._hasPointMarkers)for(k=0;k<b.length;k++)if(W=(z=(O=b[k]).graphic)?"animate":"attr",Q=O.marker||{},ee=!!O.marker,(le&&Q.enabled===void 0||Q.enabled)&&!O.isNull&&O.visible!==!1){let ue=F(Q.symbol,this.symbol,"rect");se=this.markerAttribs(O,O.selected&&"select"),this.enabledDataSorting&&(O.startXPos=oe.reversed?-(se.width||0):oe.width);let de=O.isInside!==!1;if(!z&&de&&((se.width||0)>0||O.hasImage)&&(O.graphic=z=ae.renderer.symbol(ue,se.x,se.y,se.width,se.height,ee?Q:te).add(ne),this.enabledDataSorting&&ae.hasRendered&&(z.attr({x:O.startXPos}),W="animate")),z&&W==="animate"&&z[de?"show":"hide"](de).animate(se),z){let fe=this.pointAttribs(O,he||!O.selected?void 0:"select");he?ce&&z.css({fill:fe.fill}):z[W](fe)}z&&z.addClass(O.getClassName(),!0)}else z&&(O.graphic=z.destroy())}markerAttribs(b,k){let O=this.options,z=O.marker,W=b.marker||{},Q=W.symbol||z.symbol,ee={},se,ae,he=F(W.radius,z&&z.radius);k&&(se=z.states[k],he=F((ae=W.states&&W.states[k])&&ae.radius,se&&se.radius,he&&he+(se&&se.radiusPlus||0))),b.hasImage=Q&&Q.indexOf("url")===0,b.hasImage&&(he=0);let ce=b.pos();return I(he)&&ce&&(O.crisp&&(ce[0]=P(ce[0],b.hasImage?0:Q==="rect"?(z==null?void 0:z.lineWidth)||0:1)),ee.x=ce[0]-he,ee.y=ce[1]-he),he&&(ee.width=ee.height=2*he),ee}pointAttribs(b,k){let O=this.options.marker,z=b&&b.options,W=z&&z.marker||{},Q=z&&z.color,ee=b&&b.color,se=b&&b.zone&&b.zone.color,ae,he,ce=this.color,ie,te,ne=F(W.lineWidth,O.lineWidth),oe=1;return ce=Q||se||ee||ce,ie=W.fillColor||O.fillColor||ce,te=W.lineColor||O.lineColor||ce,k=k||"normal",ae=O.states[k]||{},ne=F((he=W.states&&W.states[k]||{}).lineWidth,ae.lineWidth,ne+F(he.lineWidthPlus,ae.lineWidthPlus,0)),ie=he.fillColor||ae.fillColor||ie,{stroke:te=he.lineColor||ae.lineColor||te,"stroke-width":ne,fill:ie,opacity:oe=F(he.opacity,ae.opacity,oe)}}destroy(b){let k,O,z,W=this,Q=W.chart,ee=/AppleWebKit\/533/.test(L.navigator.userAgent),se=W.data||[];for(d(W,"destroy",{keepEventsForUpdate:b}),this.removeEvents(b),(W.axisTypes||[]).forEach(function(ae){(z=W[ae])&&z.series&&(p(z.series,W),z.isDirty=z.forceRedraw=!0)}),W.legendItem&&W.chart.legend.destroyItem(W),k=se.length;k--;)(O=se[k])&&O.destroy&&O.destroy();for(let ae of W.zones)g(ae,void 0,!0);Z.clearTimeout(W.animationTimeout),D(W,function(ae,he){ae instanceof q&&!ae.survive&&ae[ee&&he==="group"?"hide":"destroy"]()}),Q.hoverSeries===W&&(Q.hoverSeries=void 0),p(Q.series,W),Q.orderItems("series"),D(W,function(ae,he){b&&he==="hcEvents"||delete W[he]})}applyZones(){let{area:b,chart:k,graph:O,zones:z,points:W,xAxis:Q,yAxis:ee,zoneAxis:se}=this,{inverted:ae,renderer:he}=k,ce=this[`${se}Axis`],{isXAxis:ie,len:te=0}=ce||{},ne=((O==null?void 0:O.strokeWidth())||0)/2+1,oe=(le,ue=0,de=0)=>{ae&&(de=te-de);let{translated:fe=0,lineClip:me}=le,ge=de-fe;me==null||me.push(["L",ue,Math.abs(ge)<ne?de-ne*(ge<=0?-1:1):fe])};if(z.length&&(O||b)&&ce&&I(ce.min)){let le=ce.getExtremes().max,ue=me=>{me.forEach((ge,Ee)=>{(ge[0]==="M"||ge[0]==="L")&&(me[Ee]=[ge[0],ie?te-ge[1]:ge[1],ie?ge[2]:te-ge[2]])})};if(z.forEach(me=>{me.lineClip=[],me.translated=x(ce.toPixels(F(me.value,le),!0)||0,0,te)}),O&&!this.showLine&&O.hide(),b&&b.hide(),se==="y"&&W.length<Q.len)for(let me of W){let{plotX:ge,plotY:Ee,zone:ve}=me,ye=ve&&z[z.indexOf(ve)-1];ve&&oe(ve,ge,Ee),ye&&oe(ye,ge,Ee)}let de=[],fe=ce.toPixels(ce.getExtremes().min,!0);z.forEach(me=>{var Je,Xe;let ge=me.lineClip||[],Ee=Math.round(me.translated||0);Q.reversed&&ge.reverse();let{clip:ve,simpleClip:ye}=me,Se=0,xe=0,Ce=Q.len,Oe=ee.len;ie?(Se=Ee,Ce=fe):(xe=Ee,Oe=fe);let Pe=[["M",Se,xe],["L",Ce,xe],["L",Ce,Oe],["L",Se,Oe],["Z"]],He=[Pe[0],...ge,Pe[1],Pe[2],...de,Pe[3],Pe[4]];de=ge.reverse(),fe=Ee,ae&&(ue(He),b&&ue(Pe)),ve?(ve.animate({d:He}),ye==null||ye.animate({d:Pe})):(ve=me.clip=he.path(He),b&&(ye=me.simpleClip=he.path(Pe))),O&&((Je=me.graph)==null||Je.clip(ve)),b&&((Xe=me.area)==null||Xe.clip(ye))})}else this.visible&&(O&&O.show(),b&&b.show())}plotGroup(b,k,O,z,W){let Q=this[b],ee=!Q,se={visibility:O,zIndex:z||.1};return S(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(se.opacity=this.opacity),Q||(this[b]=Q=this.chart.renderer.g().add(W)),Q.addClass("highcharts-"+k+" highcharts-series-"+this.index+" highcharts-"+this.t
129ype+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(Q.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),Q.attr(se)[ee?"attr":"animate"](this.getPlotBox(k)),Q}getPlotBox(b){let k=this.xAxis,O=this.yAxis,z=this.chart,W=z.inverted&&!z.polar&&k&&this.invertible&&b==="series";return z.inverted&&(k=O,O=this.xAxis),{translateX:k?k.left:z.plotLeft,translateY:O?O.top:z.plotTop,rotation:W?90:0,rotationOriginX:W?(k.len-O.len)/2:0,rotationOriginY:W?(k.len+O.len)/2:0,scaleX:W?-1:1,scaleY:1}}removeEvents(b){let{eventsToUnbind:k}=this;b||X(this),k.length&&(k.forEach(O=>{O()}),k.length=0)}render(){var he,ce,ie,te,ne;let b=this,{chart:k,options:O,hasRendered:z}=b,W=R(O.animation),Q=b.visible?"inherit":"hidden",ee=O.zIndex,se=k.seriesGroup,ae=b.finishedAnimating?0:W.duration;d(this,"render"),b.plotGroup("group","series",Q,ee,se),b.markerGroup=b.plotGroup("markerGroup","markers",Q,ee,se),O.clip!==!1&&b.setClip(),ae&&((he=b.animate)==null||he.call(b,!0)),b.drawGraph&&(b.drawGraph(),b.applyZones()),b.visible&&b.drawPoints(),(ce=b.drawDataLabels)==null||ce.call(b),(ie=b.redrawPoints)==null||ie.call(b),O.enableMouseTracking&&((te=b.drawTracker)==null||te.call(b)),ae&&((ne=b.animate)==null||ne.call(b)),z||(ae&&W.defer&&(ae+=W.defer),b.animationTimeout=w(()=>{b.afterAnimate()},ae||0)),b.isDirty=!1,b.hasRendered=!0,d(b,"afterRender")}redraw(){let b=this.isDirty||this.isDirtyData;this.translate(),this.render(),b&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(b,k){let{xAxis:O,yAxis:z}=this,W=this.chart.inverted;return this.searchKDTree({clientX:W?O.len-b.chartY+O.pos:b.chartX-O.pos,plotY:W?z.len-b.chartX+z.pos:b.chartY-z.pos},k,b)}buildKDTree(b){this.buildingKdTree=!0;let k=this,O=k.options.findNearestPointBy.indexOf("y")>-1?2:1;delete k.kdTree,w(function(){k.kdTree=function z(W,Q,ee){let se,ae,he=W==null?void 0:W.length;if(he)return se=k.kdAxisArray[Q%ee],W.sort((ce,ie)=>(ce[se]||0)-(ie[se]||0)),{point:W[ae=Math.floor(he/2)],left:z(W.slice(0,ae),Q+1,ee),right:z(W.slice(ae+1),Q+1,ee)}}(k.getValidPoints(void 0,!k.directTouch),O,O),k.buildingKdTree=!1},k.options.kdNow||(b==null?void 0:b.type)==="touchstart"?0:1)}searchKDTree(b,k,O){let z=this,[W,Q]=this.kdAxisArray,ee=k?"distX":"dist",se=(z.options.findNearestPointBy||"").indexOf("y")>-1?2:1,ae=!!z.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(O),this.kdTree)return function he(ce,ie,te,ne){var ve;let oe=ie.point,le=z.kdAxisArray[te%ne],ue,de,fe=oe;(function(ye,Se){var dt;let xe=ye[W],Ce=Se[W],Oe=S(xe)&&S(Ce)?xe-Ce:null,Pe=ye[Q],He=Se[Q],Je=S(Pe)&&S(He)?Pe-He:0,Xe=ae&&((dt=Se.marker)==null?void 0:dt.radius)||0;Se.dist=Math.sqrt((Oe&&Oe*Oe||0)+Je*Je)-Xe,Se.distX=S(Oe)?Math.abs(Oe)-Xe:Number.MAX_VALUE})(ce,oe);let me=(ce[le]||0)-(oe[le]||0)+(ae&&((ve=oe.marker)==null?void 0:ve.radius)||0),ge=me<0?"left":"right",Ee=me<0?"right":"left";return ie[ge]&&(fe=(ue=he(ce,ie[ge],te+1,ne))[ee]<fe[ee]?ue:oe),ie[Ee]&&Math.sqrt(me*me)<fe[ee]&&(fe=(de=he(ce,ie[Ee],te+1,ne))[ee]<fe[ee]?de:fe),fe}(b,this.kdTree,se,se)}pointPlacementToXValue(){let{options:b,xAxis:k}=this,O=b.pointPlacement;return O==="between"&&(O=k.reversed?-.5:.5),I(O)?O*(b.pointRange||k.pointRange):0}isPointInside(b){let{chart:k,xAxis:O,yAxis:z}=this,{plotX:W=-1,plotY:Q=-1}=b;return Q>=0&&Q<=(z?z.len:k.plotHeight)&&W>=0&&W<=(O?O.len:k.plotWidth)}drawTracker(){var ie;let b=this,k=b.options,O=k.trackByArea,z=[].concat((O?b.areaPath:b.graphPath)||[]),W=b.chart,Q=W.pointer,ee=W.renderer,se=((ie=W.options.tooltip)==null?void 0:ie.snap)||0,ae=()=>{k.enableMouseTracking&&W.hoverSeries!==b&&b.onMouseOver()},he="rgba(192,192,192,"+(T?1e-4:.002)+")",ce=b.tracker;ce?ce.attr({d:z}):b.graph&&(b.tracker=ce=ee.path(z).attr({visibility:b.visible?"inherit":"hidden",zIndex:2}).addClass(O?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),W.styledMode||ce.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:he,fill:O?he:"none","stroke-width":b.graph.strokeWidth()+(O?0:2*se)}
129),[b.tracker,b.markerGroup,b.dataLabelsGroup].forEach(te=>{te&&(te.addClass("highcharts-tracker").on("mouseover",ae).on("mouseout",ne=>{Q==null||Q.onTrackerMouseOut(ne)}),k.cursor&&!W.styledMode&&te.css({cursor:k.cursor}),te.on("touchstart",ae))})),d(this,"afterDrawTracker")}addPoint(b,k,O,z,W){let Q,ee,se=this.options,ae=this.data,he=this.chart,ce=this.xAxis,ie=ce&&ce.hasNames&&ce.names,te=se.data,ne=this.xData;k=F(k,!0);let oe={series:this};this.pointClass.prototype.applyOptions.apply(oe,[b]);let le=oe.x;if(ee=ne.length,this.requireSorting&&le<ne[ee-1])for(Q=!0;ee&&ne[ee-1]>le;)ee--;this.updateParallelArrays(oe,"splice",[ee,0,0]),this.updateParallelArrays(oe,ee),ie&&oe.name&&(ie[le]=oe.name),te.splice(ee,0,b),(Q||this.processedData)&&(this.data.splice(ee,0,null),this.processData()),se.legendType==="point"&&this.generatePoints(),O&&(ae[0]&&ae[0].remove?ae[0].remove(!1):(ae.shift(),this.updateParallelArrays(oe,"shift"),te.shift())),W!==!1&&d(this,"addPoint",{point:oe}),this.isDirty=!0,this.isDirtyData=!0,k&&he.redraw(z)}removePoint(b,k,O){let z=this,W=z.data,Q=W[b],ee=z.points,se=z.chart,ae=function(){ee&&ee.length===W.length&&ee.splice(b,1),W.splice(b,1),z.options.data.splice(b,1),z.updateParallelArrays(Q||{series:z},"splice",[b,1]),Q&&Q.destroy(),z.isDirty=!0,z.isDirtyData=!0,k&&se.redraw()};Y(O,se),k=F(k,!0),Q?Q.firePointEvent("remove",null,ae):ae()}remove(b,k,O,z){let W=this,Q=W.chart;function ee(){W.destroy(z),Q.isDirtyLegend=Q.isDirtyBox=!0,Q.linkSeries(z),F(b,!0)&&Q.redraw(k)}O!==!1?d(W,"remove",null,ee):ee()}update(b,k){var ue,de,fe;d(this,"update",{options:b=v(b,this.userOptions)});let O=this,z=O.chart,W=O.userOptions,Q=O.initialType||O.type,ee=z.options.plotOptions,se=j[Q].prototype,ae=O.finishedAnimating&&{animation:!1},he={},ce,ie,te=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ne=b.type||W.type||z.options.chart.type,oe=!(this.hasDerivedData||ne&&ne!==this.type||b.pointStart!==void 0||b.pointInterval!==void 0||b.relativeXValue!==void 0||b.joinBy||b.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(me=>O.hasOptionChanged(me)));ne=ne||Q,oe&&(te.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),b.visible!==!1&&te.push("area","graph"),O.parallelArrays.forEach(function(me){te.push(me+"Data")}),b.data&&(b.dataSorting&&o(O.options.dataSorting,b.dataSorting),this.setData(b.data,!1))),b=M(W,{index:W.index===void 0?O.index:W.index,pointStart:((ue=ee==null?void 0:ee.series)==null?void 0:ue.pointStart)??W.pointStart??((de=O.xData)==null?void 0:de[0])},!oe&&{data:O.options.data},b,ae),oe&&b.data&&(b.data=O.options.data),(te=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(te)).forEach(function(me){te[me]=O[me],delete O[me]});let le=!1;if(j[ne]){if(le=ne!==O.type,O.remove(!1,!1,!1,!0),le)if(z.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(O,j[ne].prototype);else{let me=Object.hasOwnProperty.call(O,"hcEvents")&&O.hcEvents;for(ie in se)O[ie]=void 0;o(O,j[ne].prototype),me?O.hcEvents=me:delete O.hcEvents}}else a(17,!0,z,{missingModuleFor:ne});if(te.forEach(function(me){O[me]=te[me]}),O.init(z,b),oe&&this.points)for(let me of((ce=O.options).visible===!1?(he.graphic=1,he.dataLabel=1):(this.hasMarkerChanged(ce,W)&&(he.graphic=1),(fe=O.hasDataLabels)!=null&&fe.call(O)||(he.dataLabel=1)),this.points))me&&me.series&&(me.resolveColor(),Object.keys(he).length&&me.destroyElements(he),ce.showInLegend===!1&&me.legendItem&&z.legend.destroyItem(me));O.initialType=Q,z.linkSeries(),z.setSortedData(),le&&O.linkedSeries.length&&(O.isDirtyData=!0),d(this,"afterUpdate"),F(k,!0)&&z.redraw(!!oe&&void 0)}setName(b){this.name=this.options.name=this.userOptions.name=b,this.chart.isDirtyLegend=!0}hasOptionChanged(b){var ee,se;let k=this.chart,O=this.options[b],z=k.options.plotOptions,W=this.userOptions[b],Q=F((ee=z==null?void 0:z[this.type])==null?void 0:ee[b],(se=z==null?void 0:z.series)==null?void 0:se[b]);return W&&!S(Q)?O!==W:O!==F(Q,O)}onMouseOver(){let b=this.chart,k=b.hoverSeries,O=b.pointer;O==null||O.setHoverChartIndex(),k&&k!==this&&k.onMouseOut(),this.options.events.mouseOver&&d(this,"mouseOver"),this.setState("hover"),b.hoverSeries=this}onMouseOut(){let b=this.options,k=this.chart,O=k.tooltip,z=k.hoverPoint;k.hoverSeries=null,z&&z.onMouseOut(),this&&b.events.mouseOut&&d(this,"mouseOut"),O&&!this.stickyTracking&&(!O.shared||this.noSharedTooltip)&&O.hide(),k.series.forEac
129h(function(W){W.setState("",!0)})}setState(b,k){let O=this,z=O.options,W=O.graph,Q=z.inactiveOtherPoints,ee=z.states,se=F(ee[b||"normal"]&&ee[b||"normal"].animation,O.chart.options.chart.animation),ae=z.lineWidth,he=z.opacity;if(b=b||"",O.state!==b&&([O.group,O.markerGroup,O.dataLabelsGroup].forEach(function(ce){ce&&(O.state&&ce.removeClass("highcharts-series-"+O.state),b&&ce.addClass("highcharts-series-"+b))}),O.state=b,!O.chart.styledMode)){if(ee[b]&&ee[b].enabled===!1)return;if(b&&(ae=ee[b].lineWidth||ae+(ee[b].lineWidthPlus||0),he=F(ee[b].opacity,he)),W&&!W.dashstyle&&I(ae))for(let ce of[W,...this.zones.map(ie=>ie.graph)])ce==null||ce.animate({"stroke-width":ae},se);Q||[O.group,O.markerGroup,O.dataLabelsGroup,O.labelBySeries].forEach(function(ce){ce&&ce.animate({opacity:he},se)})}k&&Q&&O.points&&O.setAllPointsToState(b||void 0)}setAllPointsToState(b){this.points.forEach(function(k){k.setState&&k.setState(b)})}setVisible(b,k){var se;let O=this,z=O.chart,W=z.options.chart.ignoreHiddenSeries,Q=O.visible;O.visible=b=O.options.visible=O.userOptions.visible=b===void 0?!Q:b;let ee=b?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(ae=>{var he;(he=O[ae])==null||he[ee]()}),(z.hoverSeries===O||((se=z.hoverPoint)==null?void 0:se.series)===O)&&O.onMouseOut(),O.legendItem&&z.legend.colorizeItem(O,b),O.isDirty=!0,O.options.stacking&&z.series.forEach(ae=>{ae.options.stacking&&ae.visible&&(ae.isDirty=!0)}),O.linkedSeries.forEach(ae=>{ae.setVisible(b,!1)}),W&&(z.isDirtyBox=!0),d(O,ee),k!==!1&&z.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(b){this.selected=b=this.options.selected=b===void 0?!this.selected:b,this.checkbox&&(this.checkbox.checked=b),d(this,b?"select":"unselect")}shouldShowTooltip(b,k,O={}){return O.series=this,O.visiblePlotOnly=!0,this.chart.isInsidePlot(b,k,O)}drawLegendSymbol(b,k){var O;(O=B[this.options.legendSymbol||"rectangle"])==null||O.call(this,b,k)}}return A.defaultOptions=K,A.types=G.seriesTypes,A.registerType=G.registerSeriesType,o(A.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:$,requireSorting:!0,sorted:!0}),G.series=A,A}),r(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){var q;let{animObject:Z,setAnimation:R}=t,{registerEventOptions:Y}=n,{composed:V,marginNames:H}=l,{distribute:T}=$,{format:L}=K,{addEvent:j,createElement:s,css:c,defined:x,discardElement:N,find:P,fireEvent:S,isNumber:g,merge:v,pick:p,pushUnique:a,relativeLength:o,stableSort:u,syncTimeout:d}=G;class h{constructor(f,y){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=f,this.setOptions(y),y.enabled&&(this.render(),Y(this,y),j(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),j(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(f){let y=p(f.padding,8);this.options=f,this.chart.styledMode||(this.itemStyle=f.itemStyle,this.itemHiddenStyle=v(this.itemStyle,f.itemHiddenStyle)),this.itemMarginTop=f.itemMarginTop,this.itemMarginBottom=f.itemMarginBottom,this.padding=y,this.initialItemY=y-5,this.symbolWidth=p(f.symbolWidth,16),this.pages=[],this.proximate=f.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(f,y){let I=this.chart;this.setOptions(v(!0,this.options,f)),"events"in this.options&&Y(this,this.options),this.destroy(),I.isDirtyLegend=I.isDirtyBox=!0,p(y,!0)&&I.redraw(),S(this,"afterUpdate",{redraw:y})}colorizeItem(f,y){let{area:I,group:E,label:M,line:D,symbol:F}=f.legendItem||{};if(E==null||E[y?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:X={}}=this,_=X.color,{fillColor:w,fillOpacity:A,lineColor:U,marker:b}=f.options,k=O=>(!y&&(O.fill&&(O.fill=_),O.stroke&&(O.stroke=_)),O);M==null||M.css(v(y?this.itemStyle:X)),D==null||D.attr(k({stroke:U||f.color})),F&&F.attr(k(b&&F.isMarker?f.pointAttribs():{fill:f.color})),I==null||I.attr(k({fill:w||f.color,"fill-opacity":w?1:A??.75}))}S(this,"afterColorizeItem",{item:f,visible:y})}
vendor: 17,251 bytes, line 129
129positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(f){let{group:y,x:I=0,y:E=0}=f.legendItem||{},M=this.options,D=M.symbolPadding,F=!M.rtl,X=f.checkbox;if(y&&y.element){let _={translateX:F?I:this.legendWidth-I-2*D-4,translateY:E};y[x(y.translateY)?"animate":"attr"](_,void 0,()=>{S(this,"afterPositionItem",{item:f})})}X&&(X.x=I,X.y=E)}destroyItem(f){let y=f.checkbox,I=f.legendItem||{};for(let E of["group","label","line","symbol"])I[E]&&(I[E]=I[E].destroy());y&&N(y),f.legendItem=void 0}destroy(){for(let f of this.getAllItems())this.destroyItem(f);for(let f of["clipRect","up","down","pager","nav","box","title","group"])this[f]&&(this[f]=this[f].destroy());this.display=null}positionCheckboxes(){let f,y=this.group&&this.group.alignAttr,I=this.clipHeight||this.legendHeight,E=this.titleHeight;y&&(f=y.translateY,this.allItems.forEach(function(M){let D,F=M.checkbox;F&&(D=f+E+F.y+(this.scrollOffset||0)+3,c(F,{left:y.translateX+M.checkboxOffset+F.x-20+"px",top:D+"px",display:this.proximate||D>f-6&&D<f+I-6?"":"none"}))},this))}renderTitle(){let f=this.options,y=this.padding,I=f.title,E,M=0;I.text&&(this.title||(this.title=this.chart.renderer.label(I.text,y-3,y-4,void 0,void 0,void 0,f.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(I.style),this.title.add(this.group)),I.width||this.title.css({width:this.maxLegendWidth+"px"}),M=(E=this.title.getBBox()).height,this.offsetWidth=E.width,this.contentGroup.attr({translateY:M})),this.titleHeight=M}setText(f){let y=this.options;f.legendItem.label.attr({text:y.labelFormat?L(y.labelFormat,f,this.chart):y.labelFormatter.call(f)})}renderItem(f){let y=f.legendItem=f.legendItem||{},I=this.chart,E=I.renderer,M=this.options,D=M.layout==="horizontal",F=this.symbolWidth,X=M.symbolPadding||0,_=this.itemStyle,w=this.itemHiddenStyle,A=D?p(M.itemDistance,20):0,U=!M.rtl,b=!f.series,k=!b&&f.series.drawLegendSymbol?f.series:f,O=k.options,z=!!this.createCheckboxForItem&&O&&O.showCheckbox,W=M.useHTML,Q=f.options.className,ee=y.label,se=F+X+A+(z?20:0);!ee&&(y.group=E.g("legend-item").addClass("highcharts-"+k.type+"-series highcharts-color-"+f.colorIndex+(Q?" "+Q:"")+(b?" highcharts-series-"+f.index:"")).attr({zIndex:1}).add(this.scrollGroup),y.label=ee=E.text("",U?F+X:-X,this.baseline||0,W),I.styledMode||ee.css(v(f.visible?_:w)),ee.attr({align:U?"left":"right",zIndex:2}).add(y.group),!this.baseline&&(this.fontMetrics=E.fontMetrics(ee),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,ee.attr("y",this.baseline),this.symbolHeight=p(M.symbolHeight,this.fontMetrics.f),M.squareSymbol&&(this.symbolWidth=p(M.symbolWidth,Math.max(this.symbolHeight,16)),se=this.symbolWidth+X+A+(z?20:0),U&&ee.attr("x",this.symbolWidth+X))),k.drawLegendSymbol(this,f),this.setItemEvents&&this.setItemEvents(f,ee,W)),z&&!f.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(f),this.colorizeItem(f,f.visible),(I.styledMode||!_.width)&&ee.css({width:(M.itemWidth||this.widthOption||I.spacingBox.width)-se+"px"}),this.setText(f);let ae=ee.getBBox(),he=this.fontMetrics&&this.fontMetrics.h||0;f.itemWidth=f.checkboxOffset=M.itemWidth||y.labelWidth||ae.width+se,this.maxItemWidth=Math.max(this.maxItemWidth,f.itemWidth),this.totalItemWidth+=f.itemWidth,this.itemHeight=f.itemHeight=Math.round(y.labelHeight||(ae.height>1.5*he?ae.height:he))}layoutItem(f){let y=this.options,I=this.padding,E=y.layout==="horizontal",M=f.itemHeight,D=this.itemMarginBottom,F=this.itemMarginTop,X=E?p(y.itemDistance,20):0,_=this.maxLegendWidth,w=y.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:f.itemWidth,A=f.legendItem||{};E&&this.itemX-I+w>_&&(this.itemX=I,this.lastLineHeight&&(this.itemY+=F+this.lastLineHeight+D),this.lastLineHeight=0),this.lastItemY=F+this.itemY+D,this.lastLineHeight=Math.max(M,this.lastLineHeight),A.x=this.itemX,A.y=this.itemY,E?this.itemX+=w:(this.itemY+=F+M+D,this.lastLineHeight=M),this.offsetWidth=this.widthOption||Math.max((E?this.itemX-I-(f.checkbox?0:X):w)+I,this.offsetWidth)}getAllItems(){let f=[];return this.chart.series.forEach(function(y){let I=y&&y.options;y&&p(I.showInLegend,!x(I.linkedTo)&&void 0,!0)&&(f=f.concat((y.legendItem||{}).labels||(I.legendType==="point"?y.data:y)))}),S(this,"afterGetAllItems",{allItems:f}),f}getAlignment(){let f=this.options;return this.proximate?f.align.charAt(0)+"tv":f.floating?"":f.align.charAt(0)+f.verticalAlign.charAt(0)+f.layout.charAt(0)}adjustMargins(f,y){let I=this.chart,E=this.options,M=this.getAlignment();M&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(D,F){D.test(M)&&!x(f[F])&&(I[H[F]]=Math.max(I[H[F]],I.legend[(F+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][F]*E[F%2?"x":"y"]+p(E.margin,12)+y[F]+(I.titleOffset[F]||0)))})}proximatePositions(){let f,y=this.chart,I=[],E=this.options.align==="left";for(let M of(this.allItems.forEach(function(D){let F,X,_=E,w,A;D.yAxis&&(D.xAxis.options.reversed&&(_=!_),D.points&&(F=P(_?D.points:D.points.slice(0).reverse(),function(U){return g(U.plotY)})),X=this.itemMarginTop+D.legendItem.label.getBBox().height+this.itemMarginBottom,A=D.yAxis.top-y.plotTop,w=D.visible?(F?F.plotY:D.yAxis.height)+(A-.3*X):A+D.yAxis.height,I.push({target:w,size:X,item:D}))},this),T(I,y.plotHeight)))f=M.item.legendItem||{},g(M.pos)&&(f.y=y.plotTop-y.spacing[0]+M.pos)}render(){let f=this.chart,y=f.renderer,I=this.options,E=this.padding,M=this.getAllItems(),D,F,X,_=this.group,w,A=this.box;this.itemX=E,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=o(I.width,f.spacingBox.width-E),w=f.spacingBox.width-2*E-I.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(w/=2),this.maxLegendWidth=this.widthOption||w,_||(this.group=_=y.g("legend").addClass(I.className||"").attr({zIndex:7}).add(),this.contentGroup=y.g().attr({zIndex:1}).add(_),this.scrollGroup=y.g().add(this.contentGroup)),this.renderTitle(),u(M,(U,b)=>(U.options&&U.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)),I.reversed&&M.reverse(),this.allItems=M,this.display=D=!!M.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,M.forEach(this.renderItem,this),M.forEach(this.layoutItem,this),F=(this.widthOption||this.offsetWidth)+E,X=this.lastItemY+this.lastLineHeight+this.titleHeight,X=this.handleOverflow(X)+E,A||(this.box=A=y.rect().addClass("highcharts-legend-box").attr({r:I.borderRadius}).add(_)),f.styledMode||A.attr({stroke:I.borderColor,"stroke-width":I.borderWidth||0,fill:I.backgroundColor||"none"}).shadow(I.shadow),F>0&&X>0&&A[A.placed?"animate":"attr"](A.crisp.call({},{x:0,y:0,width:F,height:X},A.strokeWidth())),_[D?"show":"hide"](),f.styledMode&&_.getStyle("display")==="none"&&(F=X=0),this.legendWidth=F,this.legendHeight=X,D&&this.align(),this.proximate||this.positionItems(),S(this,"afterRender")}align(f=this.chart.spacingBox){let y=this.chart,I=this.options,E=f.y;/(lth|ct|rth)/.test(this.getAlignment())&&y.titleOffset[0]>0?E+=y.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&y.titleOffset[2]>0&&(E-=y.titleOffset[2]),E!==f.y&&(f=v(f,{y:E})),y.hasRendered||(this.group.placed=!1),this.group.align(v(I,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":I.verticalAlign}),!0,f)}handleOverflow(f){let y=this,I=this.chart,E=I.renderer,M=this.options,D=M.y,F=M.verticalAlign==="top",X=this.padding,_=M.maxHeight,w=M.navigation,A=p(w.animation,!0),U=w.arrowSize||12,b=this.pages,k=this.allItems,O=function(ce){typeof ce=="number"?he.attr({height:ce}):he&&(y.clipRect=he.destroy(),y.contentGroup.clip()),y.contentGroup.div&&(y.contentGroup.div.style.clip=ce?"rect("+X+"px,9999px,"+(X+ce)+"px,0)":"auto")},z=function(ce){return y[ce]=E.circle(0,0,1.3*U).translate(U/2,U/2).add(ae),I.styledMode||y[ce].attr("fill","rgba(0,0,0,0.0001)"),y[ce]},W,Q,ee,se=I.spacingBox.height+(F?-D:D)-X,ae=this.nav,he=this.clipRect;return M.layout!=="horizontal"||M.verticalAlign==="middle"||M.floating||(se/=2),_&&(se=Math.min(se,_)),b.length=0,f&&se>0&&f>se&&w.enabled!==!1?(this.clipHeight=W=Math.max(se-20-this.titleHeight-X,0),this.currentPage=p(this.currentPage,1),this.fullHeight=f,k.forEach((ce,ie)=>{let te=(ee=ce.legendItem||{}).y||0,ne=Math.round(ee.label.getBBox().height),oe=b.length;(!oe||te-b[oe-1]>W&&(Q||te)!==b[oe-1])&&(b.push(Q||te),oe++),ee.pageIx=oe-1,Q&&((k[ie-1].legendItem||{}).pageIx=oe-1),ie===k.length-1&&te+ne-b[oe-1]>W&&te>b[oe-1]&&(b.push(te),ee.pageIx=oe),te!==Q&&(Q=te)}),he||(he=y.clipRect=E.clipRect(0,X-2,9999,0),y.contentGroup.clip(he)),O(W),ae||(this.nav=ae=E.g().attr({zIndex:1}).add(this.group),this.up=E.symbol("triangle",0,0,U,U).add(ae),z("upTracker").on("click",function(){y.scroll(-1,A)}),this.pager=E.text("",15,10).addClass("highcharts-legend-navigation"),!I.styledMode&&w.style&&this.pager.css(w.style),this.pager.add(ae),this.down=E.symbol("triangle-down",0,0,U,U).add(ae),z("downTracker").on("click",function(){y.scroll(1,A)})),y.scroll(0),f=se):ae&&(O(),this.nav=ae.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),f}scroll(f,y){let I=this.chart,E=this.pages,M=E.length,D=this.clipHeight,F=this.options.navigation,X=this.pager,_=this.padding,w=this.currentPage+f;w>M&&(w=M),w>0&&(y!==void 0&&R(y,I),this.nav.attr({translateX:_,translateY:D+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(A){A.attr({class:w===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),X.attr({text:w+"/"+M}),[this.down,this.downTracker].forEach(function(A){A.attr({x:18+this.pager.getBBox().width,class:w===M?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),I.styledMode||(this.up.attr({fill:w===1?F.inactiveColor:F.activeColor}),this.upTracker.css({cursor:w===1?"default":"pointer"}),this.down.attr({fill:w===M?F.inactiveColor:F.activeColor}),this.downTracker.css({cursor:w===M?"default":"pointer"})),this.scrollOffset=-E[w-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=w,this.positionCheckboxes(),d(()=>{S(this,"afterScroll",{currentPage:w})},Z(p(y,I.renderer.globalAnimation,!0)).duration))}setItemEvents(f,y,I){let E=this,M=f.legendItem||{},D=E.chart.renderer.boxWrapper,F=f instanceof B,X=f instanceof C,_="highcharts-legend-"+(F?"point":"series")+"-active",w=E.chart.styledMode,A=I?[y,M.symbol]:[M.group],U=b=>{E.allItems.forEach(k=>{f!==k&&[k].concat(k.linkedSeries||[]).forEach(O=>{O.setState(b,!F)})})};for(let b of A)b&&b.on("mouseover",function(){f.visible&&U("inactive"),f.setState("hover"),f.visible&&D.addClass(_),w||y.css(E.options.itemHoverStyle)}).on("mouseout",function(){E.chart.styledMode||y.css(v(f.visible?E.itemStyle:E.itemHiddenStyle)),U(""),D.removeClass(_),f.setState()}).on("click",function(k){let O=function(){f.setVisible&&f.setVisible(),U(f.visible?"inactive":"")};D.removeClass(_),S(E,"itemClick",{browserEvent:k,legendItem:f},O),F?f.firePointEvent("legendItemClick",{browserEvent:k}):X&&S(f,"legendItemClick",{browserEvent:k})})}createCheckboxForItem(f){f.checkbox=s("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:f.selected,defaultChecked:f.selected},this.options.itemCheckboxStyle,this.chart.container),j(f.checkbox,"click",function(y){let I=y.target;S(f.series||f,"checkboxClick",{checked:I.checked,item:f},function(){f.select()})})}}return(q=h||(h={})).compose=function(m){a(V,"Core.Legend")&&j(m,"beforeMargins",function(){this.legend=new q(this,this.options.legend)})},h}),r(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H){let{animate:T,animObject:L,setAnimation:j}=t,{defaultOptions:s,defaultTime:c}=l,{numberFormat:x}=C,{registerEventOptions:N}=B,{charts:P,doc:S,marginNames:g,svg:v,win:p}=$,{seriesTypes:a}=q,{addEvent:o,attr:u,createElement:d,css:h,defined:m,diffObjects:f,discardElement:y,erase:I,error:E,extend:M,find:D,fireEvent:F,getStyle:X,isArray:_,isNumber:w,isObject:A,isString:U,merge:b,objectEach:k,pick:O,pInt:z,relativeLength:W,removeEvent:Q,splat:ee,syncTimeout:se,uniqueKey:ae}=Y;class he{static chart(ie,te,ne){return new he(ie,te,ne)}constructor(ie,te,ne){this.sharedClips={};let oe=[...arguments];(U(ie)||ie.nodeName)&&(this.renderTo=oe.shift()),this.init(oe[0],oe[1])}setZoomOptions(){let ie=this.options.chart,te=ie.zooming;this.zooming=xt(ze({},te),{type:O(ie.zoomType,te.type),key:O(ie.zoomKey,te.key),pinchType:O(ie.pinchType,te.pinchType),singleTouch:O(ie.zoomBySingleTouch,te.singleTouch,!1),resetButton:b(te.resetButton,ie.resetZoomButton)})}init(ie,te){F(this,"init",{args:arguments},function(){let ne=b(s,ie),oe=ne.chart;this.userOptions=M({},ie),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=te,this.isResizing=0,this.options=ne,this.axes=[],this.series=[],this.time=ie.time&&Object.keys(ie.time).length?new R(ie.time):$.time,this.numberFormatter=oe.numberFormatter||x,this.styledMode=oe.styledMode,this.hasCartesianSeries=oe.showAxes,this.index=P.length,P.push(this),$.chartCount++,N(this,oe),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),F(this,"afterInit"),this.firstRender()})}initSeries(ie){let te=this.options.chart,ne=ie.type||te.type,oe=a[ne];oe||E(17,!0,this,{missingModuleFor:ne});let le=new oe;return typeof le.init=="function"&&le.init(this,ie),le}setSortedData(){this.getSeriesOrderByLinks().forEach(function(ie){ie.points||ie.data||!ie.enabledDataSorting||ie.setData(ie.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(ie,te){return ie.linkedSeries.length||te.linkedSeries.length?te.linkedSeries.length-ie.linkedSeries.length:0})}orderItems(ie,te=0){let ne=this[ie],oe=this.options[ie]=ee(this.options[ie]).slice(),le=this.userOptions[ie]=this.userOptions[ie]?ee(this.userOptions[ie]).slice():[];if(this.hasRendered&&(oe.splice(te),le.splice(te)),ne)for(let ue=te,de=ne.length;ue<de;++ue){let fe=ne[ue];fe&&(fe.index=ue,fe instanceof G&&(fe.name=fe.getName()),fe.options.isInternal||(oe[ue]=fe.options,le[ue]=fe.userOptions))}}isInsidePlot(ie,te,ne={}){var Ce;let{inverted:oe,plotBox:le,plotLeft:ue,plotTop:de,scrollablePlotBox:fe}=this,{scrollLeft:me=0,scrollTop:ge=0}=ne.visiblePlotOnly&&((Ce=this.scrollablePlotArea)==null?void 0:Ce.scrollingContainer)||{},Ee=ne.series,ve=ne.visiblePlotOnly&&fe||le,ye=ne.inverted?te:ie,Se=ne.inverted?ie:te,xe={x:ye,y:Se,isInsidePlot:!0,options:ne};if(!ne.ignoreX){let Oe=Ee&&(oe&&!this.polar?Ee.yAxis:Ee.xAxis)||{pos:ue,len:1/0},Pe=ne.paneCoordinates?Oe.pos+ye:ue+ye;Pe>=Math.max(me+ue,Oe.pos)&&Pe<=Math.min(me+ue+ve.width,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}if(!ne.ignoreY&&xe.isInsidePlot){let Oe=!oe&&ne.axis&&!ne.axis.isXAxis&&ne.axis||Ee&&(oe?Ee.xAxis:Ee.yAxis)||{pos:de,len:1/0},Pe=ne.paneCoordinates?Oe.pos+Se:de+Se;Pe>=Math.max(ge+de,Oe.pos)&&Pe<=Math.min(ge+de+ve.height,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}return F(this,"afterIsInsidePlot",xe),xe.isInsidePlot}redraw(ie){F(this,"beforeRedraw");let te=this.hasCartesianSeries?this.axes:this.colorAxis||[],ne=this.series,oe=this.pointer,le=this.legend,ue=this.userOptions.legend,de=this.renderer,fe=de.isHidden(),me=[],ge,Ee,ve,ye=this.isDirtyBox,Se=this.isDirtyLegend,xe;for(de.rootFontSize=de.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),j(!!this.hasRendered&&ie,this),fe&&this.temporaryDisplay(),this.layOutTitles(!1),ve=ne.length;ve--;)if(((xe=ne[ve]).options.stacking||xe.options.centerInCategory)&&(Ee=!0,xe.isDirty)){ge=!0;break}if(ge)for(ve=ne.length;ve--;)(xe=ne[ve]).options.stacking&&(xe.isDirty=!0);ne.forEach(function(Ce){Ce.isDirty&&(Ce.options.legendType==="point"?(typeof Ce.updateTotals=="function"&&Ce.updateTotals(),Se=!0):ue&&(ue.labelFormatter||ue.labelFormat)&&(Se=!0)),Ce.isDirtyData&&F(Ce,"updatedData")}),Se&&le&&le.options.enabled&&(le.render(),this.isDirtyLegend=!1),Ee&&this.getStacks(),te.forEach(function(Ce){Ce.updateNames(),Ce.setScale()}),this.getMargins(),te.forEach(function(Ce){Ce.isDirty&&(ye=!0)}),te.forEach(function(Ce){let Oe=Ce.min+","+Ce.max;Ce.extKey!==Oe&&(Ce.extKey=Oe,me.push(function(){F(Ce,"afterSetExtremes",M(Ce.eventArgs,Ce.getExtremes())),delete Ce.eventArgs})),(ye||Ee)&&Ce.redraw()}),ye&&this.drawChartBox(),F(this,"predraw"),ne.forEach(function(Ce){(ye||Ce.isDirty)&&Ce.visible&&Ce.redraw(),Ce.isDirtyData=!1}),oe&&oe.reset(!0),de.draw(),F(this,"redraw"),F(this,"render"),fe&&this.temporaryDisplay(!0),me.forEach(function(Ce){Ce.call()})}get(ie){let te=this.series;function ne(le){return le.id===ie||le.options&&le.options.id===ie}let oe=D(this.axes,ne)||D(this.series,ne);for(let le=0;!oe&&le<te.length;le++)oe=D(te[le].points||[],ne);return oe}getAxes(){let ie=this.userOptions;for(let te of(F(this,"getAxes"),["xAxis","yAxis"]))for(let ne of ie[te]=ee(ie[te]||{}))new n(this,ne,te);F(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((ie,te)=>
129(te.getPointsCollection().forEach(ne=>{O(ne.selectedStaging,ne.selected)&&ie.push(ne)}),ie),[])}getSelectedSeries(){return this.series.filter(function(ie){return ie.selected})}setTitle(ie,te,ne){this.applyDescription("title",ie),this.applyDescription("subtitle",te),this.applyDescription("caption",void 0),this.layOutTitles(ne)}applyDescription(ie,te){let ne=this,oe=this.options[ie]=b(this.options[ie],te),le=this[ie];le&&te&&(this[ie]=le=le.destroy()),oe&&!le&&((le=this.renderer.text(oe.text,0,0,oe.useHTML).attr({align:oe.align,class:"highcharts-"+ie,zIndex:oe.zIndex||4}).add()).update=function(ue,de){ne.applyDescription(ie,ue),ne.layOutTitles(de)},this.styledMode||le.css(M(ie==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},oe.style)),this[ie]=le)}layOutTitles(ie=!0){let te=[0,0,0],ne=this.renderer,oe=this.spacingBox;["title","subtitle","caption"].forEach(function(ue){let de=this[ue],fe=this.options[ue],me=fe.verticalAlign||"top",ge=ue==="title"?me==="top"?-3:0:me==="top"?te[0]+2:0;if(de){de.css({width:(fe.width||oe.width+(fe.widthAdjust||0))+"px"});let Ee=ne.fontMetrics(de).b,ve=Math.round(de.getBBox(fe.useHTML).height);de.align(M({y:me==="bottom"?Ee:ge+Ee,height:ve},fe),!1,"spacingBox"),fe.floating||(me==="top"?te[0]=Math.ceil(te[0]+ve):me==="bottom"&&(te[2]=Math.ceil(te[2]+ve)))}},this),te[0]&&(this.options.title.verticalAlign||"top")==="top"&&(te[0]+=this.options.title.margin),te[2]&&this.options.caption.verticalAlign==="bottom"&&(te[2]+=this.options.caption.margin);let le=!this.titleOffset||this.titleOffset.join(",")!==te.join(",");this.titleOffset=te,F(this,"afterLayOutTitles"),!this.isDirtyBox&&le&&(this.isDirtyBox=this.isDirtyLegend=le,this.hasRendered&&ie&&this.isDirtyBox&&this.redraw())}getContainerBox(){let ie=[].map.call(this.renderTo.children,ne=>{if(ne!==this.container){let oe=ne.style.display;return ne.style.display="none",[ne,oe]}}),te={width:X(this.renderTo,"width",!0)||0,height:X(this.renderTo,"height",!0)||0};return ie.filter(Boolean).forEach(([ne,oe])=>{ne.style.display=oe}),te}getChartSize(){var ue;let ie=this.options.chart,te=ie.width,ne=ie.height,oe=this.getContainerBox(),le=oe.height>1&&!(!((ue=this.renderTo.parentElement)!=null&&ue.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,te||oe.width||600),this.chartHeight=Math.max(0,W(ne,this.chartWidth)||(le?oe.height:400)),this.containerBox=oe}temporaryDisplay(ie){let te=this.renderTo,ne;if(ie)for(;te&&te.style;)te.hcOrigStyle&&(h(te,te.hcOrigStyle),delete te.hcOrigStyle),te.hcOrigDetached&&(S.body.removeChild(te),te.hcOrigDetached=!1),te=te.parentNode;else for(;te&&te.style&&(S.body.contains(te)||te.parentNode||(te.hcOrigDetached=!0,S.body.appendChild(te)),(X(te,"display",!1)==="none"||te.hcOricDetached)&&(te.hcOrigStyle={display:te.style.display,height:te.style.height,overflow:te.style.overflow},ne={display:"block",overflow:"hidden"},te!==this.renderTo&&(ne.height=0),h(te,ne),te.offsetWidth||te.style.setProperty("display","block","important")),(te=te.parentNode)!==S.body););}setClassName(ie){this.container.className="highcharts-container "+(ie||"")}getContainer(){var ve;let ie=this.options,te=ie.chart,ne="data-highcharts-chart",oe=ae(),le,ue=this.renderTo;ue||(this.renderTo=ue=te.renderTo),U(ue)&&(this.renderTo=ue=S.getElementById(ue)),ue||E(13,!0,this);let de=z(u(ue,ne));w(de)&&P[de]&&P[de].hasRendered&&P[de].destroy(),u(ue,ne,this.index),ue.innerHTML=V.emptyHTML,te.skipClone||ue.offsetWidth||this.temporaryDisplay(),this.getChartSize();let fe=this.chartHeight,me=this.chartWidth;h(ue,{overflow:"hidden"}),this.styledMode||(le=M({position:"relative",overflow:"hidden",width:me+"px",height:fe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},te.style||{}));let ge=d("div",{id:oe},le,ue);this.container=ge,this.getChartSize(),me===this.chartWidth||(me=this.chartWidth,this.styledMode||h(ge,{width:O((ve=te.style)==null?void 0:ve.width,me+"px")})),this.containerBox=this.getContainerBox(),this._cursor=ge.style.cursor;let Ee=te.renderer||!v?K.getRendererType(te.renderer):Z;if(this.renderer=new Ee(ge,me,fe,void 0,te.forExport,ie.exporting&&ie.exp
129orting.allowHTML,this.styledMode),j(void 0,this),this.setClassName(te.className),this.styledMode)for(let ye in ie.defs)this.renderer.definition(ie.defs[ye]);else this.renderer.setStyle(te.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")}getMargins(ie){let{spacing:te,margin:ne,titleOffset:oe}=this;this.resetMargins(),oe[0]&&!m(ne[0])&&(this.plotTop=Math.max(this.plotTop,oe[0]+te[0])),oe[2]&&!m(ne[2])&&(this.marginBottom=Math.max(this.marginBottom,oe[2]+te[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ne,te),F(this,"getMargins"),ie||this.getAxisMargins()}getAxisMargins(){let ie=this,te=ie.axisOffset=[0,0,0,0],ne=ie.colorAxis,oe=ie.margin,le=function(ue){ue.forEach(function(de){de.visible&&de.getOffset()})};ie.hasCartesianSeries?le(ie.axes):ne&&ne.length&&le(ne),g.forEach(function(ue,de){m(oe[de])||(ie[ue]+=te[de])}),ie.setChartSize()}getOptions(){return f(this.userOptions,s)}reflow(ie){var le;let te=this,ne=te.containerBox,oe=te.getContainerBox();(le=te.pointer)==null||delete le.chartPosition,!te.isPrinting&&!te.isResizing&&ne&&oe.width&&((oe.width!==ne.width||oe.height!==ne.height)&&(Y.clearTimeout(te.reflowTimeout),te.reflowTimeout=se(function(){te.container&&te.setSize(void 0,void 0,!1)},ie?100:0)),te.containerBox=oe)}setReflow(){let ie=this,te=ne=>{var oe;(oe=ie.options)!=null&&oe.chart.reflow&&ie.hasLoaded&&ie.reflow(ne)};if(typeof ResizeObserver=="function")new ResizeObserver(te).observe(ie.renderTo);else{let ne=o(p,"resize",te);o(this,"destroy",ne)}}setSize(ie,te,ne){let oe=this,le=oe.renderer;oe.isResizing+=1,j(ne,oe);let ue=le.globalAnimation;oe.oldChartHeight=oe.chartHeight,oe.oldChartWidth=oe.chartWidth,ie!==void 0&&(oe.options.chart.width=ie),te!==void 0&&(oe.options.chart.height=te),oe.getChartSize();let{chartWidth:de,chartHeight:fe,scrollablePixelsX:me=0,scrollablePixelsY:ge=0}=oe;(oe.isDirtyBox||de!==oe.oldChartWidth||fe!==oe.oldChartHeight)&&(oe.styledMode||(ue?T:h)(oe.container,{width:`${de+me}px`,height:`${fe+ge}px`},ue),oe.setChartSize(!0),le.setSize(de,fe,ue),oe.axes.forEach(function(Ee){Ee.isDirty=!0,Ee.setScale()}),oe.isDirtyLegend=!0,oe.isDirtyBox=!0,oe.layOutTitles(),oe.getMargins(),oe.redraw(ue),oe.oldChartHeight=void 0,F(oe,"resize"),setTimeout(()=>{oe&&F(oe,"endResize")},L(ue).duration)),oe.isResizing-=1}setChartSize(ie){let te,ne,oe,le,{chartHeight:ue,chartWidth:de,inverted:fe,spacing:me,renderer:ge}=this,Ee=this.clipOffset,ve=Math[fe?"floor":"round"];this.plotLeft=te=Math.round(this.plotLeft),this.plotTop=ne=Math.round(this.plotTop),this.plotWidth=oe=Math.max(0,Math.round(de-te-this.marginRight)),this.plotHeight=le=Math.max(0,Math.round(ue-ne-this.marginBottom)),this.plotSizeX=fe?le:oe,this.plotSizeY=fe?oe:le,this.spacingBox=ge.spacingBox={x:me[3],y:me[0],width:de-me[3]-me[1],height:ue-me[0]-me[2]},this.plotBox=ge.plotBox={x:te,y:ne,width:oe,height:le},Ee&&(this.clipBox={x:ve(Ee[3]),y:ve(Ee[0]),width:ve(this.plotSizeX-Ee[1]-Ee[3]),height:ve(this.plotSizeY-Ee[0]-Ee[2])}),ie||(this.axes.forEach(function(ye){ye.setAxisSize(),ye.setAxisTranslation()}),ge.alignElements()),F(this,"afterSetChartSize",{skipAxes:ie})}resetMargins(){F(this,"resetMargins");let ie=this,te=ie.options.chart,ne=te.plotBorderWidth||0,oe=ne/2;["margin","spacing"].forEach(function(le){let ue=te[le],de=A(ue)?ue:[ue,ue,ue,ue];["Top","Right","Bottom","Left"].forEach(function(fe,me){ie[le][me]=O(te[le+fe],de[me])})}),g.forEach(function(le,ue){ie[le]=O(ie.margin[ue],ie.spacing[ue])}),ie.axisOffset=[0,0,0,0],ie.clipOffset=[oe,oe,oe,oe],ie.plotBorderWidth=ne}drawChartBox(){let ie=this.options.chart,te=this.renderer,ne=this.chartWidth,oe=this.chartHeight,le=this.styledMode,ue=this.plotBGImage,de=ie.backgroundColor,fe=ie.plotBackgroun
vendor: 10,150 bytes, line 129
129dColor,me=ie.plotBackgroundImage,ge=this.plotLeft,Ee=this.plotTop,ve=this.plotWidth,ye=this.plotHeight,Se=this.plotBox,xe=this.clipRect,Ce=this.clipBox,Oe=this.chartBackground,Pe=this.plotBackground,He=this.plotBorder,Je,Xe,dt,ct="animate";Oe||(this.chartBackground=Oe=te.rect().addClass("highcharts-background").add(),ct="attr"),le?Je=Xe=Oe.strokeWidth():(Xe=(Je=ie.borderWidth||0)+(ie.shadow?8:0),dt={fill:de||"none"},(Je||Oe["stroke-width"])&&(dt.stroke=ie.borderColor,dt["stroke-width"]=Je),Oe.attr(dt).shadow(ie.shadow)),Oe[ct]({x:Xe/2,y:Xe/2,width:ne-Xe-Je%2,height:oe-Xe-Je%2,r:ie.borderRadius}),ct="animate",Pe||(ct="attr",this.plotBackground=Pe=te.rect().addClass("highcharts-plot-background").add()),Pe[ct](Se),!le&&(Pe.attr({fill:fe||"none"}).shadow(ie.plotShadow),me&&(ue?(me!==ue.attr("href")&&ue.attr("href",me),ue.animate(Se)):this.plotBGImage=te.image(me,ge,Ee,ve,ye).add())),xe?xe.animate({width:Ce.width,height:Ce.height}):this.clipRect=te.clipRect(Ce),ct="animate",He||(ct="attr",this.plotBorder=He=te.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),le||He.attr({stroke:ie.plotBorderColor,"stroke-width":ie.plotBorderWidth||0,fill:"none"}),He[ct](He.crisp({x:ge,y:Ee,width:ve,height:ye},-He.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")}propFromSeries(){let ie,te,ne,oe=this,le=oe.options.chart,ue=oe.options.series;["inverted","angular","polar"].forEach(function(de){for(te=a[le.type],ne=le[de]||te&&te.prototype[de],ie=ue&&ue.length;!ne&&ie--;)(te=a[ue[ie].type])&&te.prototype[de]&&(ne=!0);oe[de]=ne})}linkSeries(ie){let te=this,ne=te.series;ne.forEach(function(oe){oe.linkedSeries.length=0}),ne.forEach(function(oe){let{linkedTo:le}=oe.options;if(U(le)){let ue;(ue=le===":previous"?te.series[oe.index-1]:te.get(le))&&ue.linkedParent!==oe&&(ue.linkedSeries.push(oe),oe.linkedParent=ue,ue.enabledDataSorting&&oe.setDataSortingOptions(),oe.visible=O(oe.options.visible,ue.options.visible,oe.visible))}}),F(this,"afterLinkSeries",{isUpdating:ie})}renderSeries(){this.series.forEach(function(ie){ie.translate(),ie.render()})}render(){var ge;let ie=this.axes,te=this.colorAxis,ne=this.renderer,oe=this.options.chart.axisLayoutRuns||2,le=Ee=>{Ee.forEach(ve=>{ve.visible&&ve.render()})},ue=0,de=!0,fe,me=0;for(let Ee of(this.setTitle(),F(this,"beforeMargins"),(ge=this.getStacks)==null||ge.call(this),this.getMargins(!0),this.setChartSize(),ie)){let{options:ve}=Ee,{labels:ye}=ve;if(this.hasCartesianSeries&&Ee.horiz&&Ee.visible&&ye.enabled&&Ee.series.length&&Ee.coll!=="colorAxis"&&!this.polar){ue=ve.tickLength,Ee.createGroups();let Se=new H(Ee,0,"",!0),xe=Se.createLabel("x",ye);if(Se.destroy(),xe&&O(ye.reserveSpace,!w(ve.crossing))&&(ue=xe.getBBox().height+ye.distance+Math.max(ve.offset||0,0)),ue){xe==null||xe.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-ue,0);(de||fe||oe>1)&&me<oe;){let Ee=this.plotWidth,ve=this.plotHeight;for(let ye of ie)me===0?ye.setScale():(ye.horiz&&de||!ye.horiz&&fe)&&ye.setTickInterval(!0);me===0?this.getAxisMargins():this.getMargins(),de=Ee/this.plotWidth>(me?1:1.1),fe=ve/this.plotHeight>(me?1:1.05),me++}this.drawChartBox(),this.hasCartesianSeries?le(ie):te&&te.length&&le(te),this.seriesGroup||(this.seriesGroup=ne.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(ie){let te=this,ne=b(!0,this.options.credits,ie);ne.enabled&&!this.credits&&(this.credits=this.renderer.text(ne.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ne.href&&(p.location.href=ne.href)}).attr({align:ne.position.align,zIndex:8}),te.styledMode||this.credits.css(ne.style),this.credits.add().align(ne.position),this.credits.update=function(oe){te.credits=te.credits.destroy(),te.addCredits(oe)})}destroy(){let ie,te=this,ne=te.axes,oe=te.series,le=te.container,ue=le&&le.parentNode;for(F(te,"destroy"),te.renderer.forExport?I(P,te):P[te.index]=void 0,$.chartCount--,te.renderTo.removeAttribute("data-highcharts-chart"),Q(te),ie=ne.length;ie--;)ne[ie]=ne[ie].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),ie=oe.length;ie--;)oe[ie]=oe[ie].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(de){let fe=te[de];fe&&fe.destroy&&(te[de]=fe.destroy())}),le&&(le.innerHTML=V.emptyHTML,Q(le),ue&&y(le)),k(te,function(de,fe){delete te[fe]})}firstRender(){var oe;let ie=this,te=ie.options;ie.getContainer(),ie.resetMargins(),ie.setChartSize(),ie.propFromSeries(),ie.getAxes();let ne=_(te.series)?te.series:[];te.series=[],ne.forEach(function(le){ie.initSeries(le)}),ie.linkSeries(),ie.setSortedData(),F(ie,"beforeRender"),ie.render(),(oe=ie.pointer)==null||oe.getChartPosition(),ie.renderer.imgCount||ie.hasLoaded||ie.onload(),ie.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(ie){ie&&this.index!==void 0&&ie.apply(this,[this])},this),F(this,"load"),F(this,"render"),m(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:ie,title:te}=this;!ie||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(te&&te.element.textContent||"").replace(/</g,"<")}),ie.accessibility&&ie.accessibility.enabled===!1||E('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(ie,te,ne){let oe,le=this;return ie&&(te=O(te,!0),F(le,"addSeries",{options:ie},function(){oe=le.initSeries(ie),le.isDirtyLegend=!0,le.linkSeries(),oe.enabledDataSorting&&oe.setData(ie.data,!1),F(le,"afterAddSeries",{series:oe}),te&&le.redraw(ne)})),oe}addAxis(ie,te,ne,oe){return this.createAxis(te?"xAxis":"yAxis",{axis:ie,redraw:ne,animation:oe})}addColorAxis(ie,te,ne){return this.createAxis("colorAxis",{axis:ie,redraw:te,animation:ne})}createAxis(ie,te){let ne=new n(this,te.axis,ie);return O(te.redraw,!0)&&this.redraw(te.animation),ne}showLoading(ie){let te=this,ne=te.options,oe=ne.loading,le=function(){ue&&h(ue,{left:te.plotLeft+"px",top:te.plotTop+"px",width:te.plotWidth+"px",height:te.plotHeight+"px"})},ue=te.loadingDiv,de=te.loadingSpan;ue||(te.loadingDiv=ue=d("div",{className:"highcharts-loading highcharts-loading-hidden"},null,te.container)),de||(te.loadingSpan=de=d("span",{className:"highcharts-loading-inner"},null,ue),o(te,"redraw",le)),ue.className="highcharts-loading",V.setElementHTML(de,O(ie,ne.lang.loading,"")),te.styledMode||(h(ue,M(oe.style,{zIndex:10})),h(de,oe.labelStyle),te.loadingShown||(h(ue,{opacity:0,display:""}),T(ue,{opacity:oe.style.opacity||.5},{duration:oe.showDuration||0}))),te.loadingShown=!0,le()}hideLoading(){let ie=this.options,te=this.loadingDiv;te&&(te.className="highcharts-loading highcharts-loading-hidden",this.styledMode||T(te,{opacity:0},{duration:ie.loading.hideDuration||100,complete:function(){h(te,{display:"none"})}})),this.loadingShown=!1}update(ie,te,ne,oe){let le,ue,de,fe=this,me={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},ge=ie.isResponsiveOptions,Ee=[];F(fe,"update",{options:ie}),ge||fe.setResponsive(!1,!0),ie=f(ie,fe.options),fe.userOptions=b(fe.userOptions,ie);let ve=ie.chart;ve&&(b(!0,fe.options.chart,ve),this.setZoomOptions(),"className"in ve&&fe.setClassName(ve.className),("inverted"in ve||"polar"in ve||"type"in ve)&&(fe.propFromSeries(),le=!0),"alignTicks"in ve&&(le=!0),"events"in ve&&N(this,ve),k(ve,function(xe,Ce){fe.propsRequireUpdateSeries.indexOf("chart."+Ce)!==-1&&(ue=!0),fe.propsRequireDirtyBox.indexOf(Ce)!==-1&&(fe.isDirtyBox=!0),fe.propsRequireReflow.indexOf(Ce)===-1||(fe.isDirtyBox=!0,ge||(de=!0))}),!fe.styledMode&&ve.style&&fe.renderer.setStyle(fe.options.chart.style||{})),!fe.styledMode&&ie.colors&&(this.options.colors=ie.colors),ie.time&&(this.time===c&&(this.time=new R(ie.time)),b(!0,fe.options.time,ie.time)),k(ie,function(xe,Ce){fe[Ce]&&typeof fe[Ce].update=="function"?fe[Ce].update(xe,!1):typeof fe[me[Ce]]=="function"?fe[me[Ce]](xe):Ce!=="colors"&&fe.collectionsWithUpdate.indexOf(Ce)===-1&&b(!0,fe.options[Ce],ie[Ce]),Ce!=="chart"&&fe.propsRequireUpdateSeries.indexOf(Ce)!==-1&&(ue=!0)}),this.collectionsWithUpdate.forEach(function(xe){ie[xe]&&(ee(ie[xe]).forEach(function(Ce,Oe){let Pe,He=m(Ce.id);He&&(Pe=fe.get(Ce.id)),!Pe&&fe[xe]&&(Pe=fe[xe][O(Ce.index,Oe)])&&(He&&m(Pe.options.id)||Pe.options.isInternal)&&(Pe=void 0),Pe&&Pe.coll===xe&&(Pe.update(Ce,!1),ne&&(Pe.touched=!0)),!Pe&&ne&&fe.collectionsWithInit[xe]&&(fe.collectionsWithInit[xe][0].apply(fe,[Ce].concat(fe.collectionsWithInit[xe][1]||[]).concat([!1])).touched=!0)}),ne&&fe[xe].forEach(function(Ce){Ce.touched||Ce.options.isInternal?delete Ce.touched:Ee.push(Ce)}))}),Ee.forEach(function(xe){xe.chart&&xe.remove&&xe.remove(!1)}),le&&fe.axes.forEach(function(xe){xe.update({},!1)}),ue&&fe.getSeriesOrderByLinks().forEach(function(xe){xe.chart&&xe.update({},!1)},this);let ye=ve&&ve.width,Se=ve&&(U(ve.height)?W(ve.height,ye||fe.chartWidth):ve.height);de||w(ye)&&ye!==fe.chartWidth||w(Se)&&Se!==fe.chartHeight?fe.setSize(ye,Se,oe):O(te,!0)&&fe.redraw(oe),F(fe,"afterUpdate",{options:ie,redraw:te,animation:oe})}setSubtitle(ie,te){this.applyDescription("subtitle",ie),this.layOutTitles(te)}setCaption(ie,te){this.applyDescription("caption",ie),this.layOutTitles(te)}showResetZoom(){let ie=this,te=s.lang,ne=ie.zooming.resetButton,oe=ne.theme,le=ne.relativeTo==="chart"||ne.relativeTo==="spacingBox"?null:"plotBox";function ue(){ie.zoomOut()}F(this,"beforeShowResetZoom",null,function(){ie.resetZoomButton=ie.renderer.button(te.resetZoom,null,null,ue,oe).attr({align:ne.position.align,title:te.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ne.position,!1,le)}),F(this,"afterShowResetZoom")}zoomOut(){F(this,"selection",{resetSelection:!0}
129,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(ie,te){let ne=this,oe=typeof te=="object"?te:{enabled:te,type:"x"},le=oe.type,ue=le&&ne[{x:"xAxis",xy:"axes",y:"yAxis"}[le]].filter(fe=>fe.options.panningEnabled&&!fe.options.isInternal),de=ne.options.chart;de!=null&&de.panning&&(de.panning=oe),F(this,"pan",{originalEvent:ie},()=>{ne.transform({axes:ue,event:ie,to:{x:ie.chartX-(ne.mouseDownX||0),y:ie.chartY-(ne.mouseDownY||0)},trigger:"pan"}),h(ne.container,{cursor:"move"})})}transform(ie){var ye;let{axes:te=this.axes,event:ne,from:oe={},reset:le,selection:ue,to:de={},trigger:fe}=ie,{inverted:me}=this,ge=!1,Ee,ve;for(let Se of((ye=this.hoverPoints)==null||ye.forEach(xe=>xe.setState()),te)){let{horiz:xe,len:Ce,minPointOffset:Oe=0,options:Pe,reversed:He}=Se,Je=xe?"width":"height",Xe=xe?"x":"y",dt=O(de[Je],Se.len),ct=O(oe[Je],Se.len),vt=10>Math.abs(dt)?1:dt/ct,Gt=(oe[Xe]||0)+ct/2-Se.pos,Ft=Gt-((de[Xe]??Se.pos)+dt/2-Se.pos)/vt,Ii=He&&!me||!He&&me?-1:1;if(!le&&(Gt<0||Gt>Se.len))continue;let mt=Se.toValue(Ft,!0)+(ue||Se.isOrdinal?0:Oe*Ii),Lt=Se.toValue(Ft+Ce/vt,!0)-(ue||Se.isOrdinal?0:Oe*Ii||0),Kt=Se.allExtremes;if(mt>Lt&&([mt,Lt]=[Lt,mt]),vt===1&&!le&&Se.coll==="yAxis"&&!Kt){for(let Ct of Se.series){let Fe=Ct.getExtremes(Ct.getProcessedData(!0).yData,!0);Kt??(Kt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),w(Fe.dataMin)&&w(Fe.dataMax)&&(Kt.dataMin=Math.min(Fe.dataMin,Kt.dataMin),Kt.dataMax=Math.max(Fe.dataMax,Kt.dataMax))}Se.allExtremes=Kt}let{dataMin:Po,dataMax:qn,min:fs,max:Fs}=M(Se.getExtremes(),Kt||{}),Vs=Po??Pe.min,zs=qn??Pe.max,Zn=Lt-mt,yn=Se.categories?0:Math.min(Zn,zs-Vs),Fn=Vs-yn*(m(Pe.min)?0:Pe.minPadding),Kn=zs+yn*(m(Pe.max)?0:Pe.maxPadding),$s=Se.allowZoomOutside||vt===1||fe!=="zoom"&&vt>1,hn=Math.min(Pe.min??Fn,Fn,$s?fs:Fn),vn=Math.max(Pe.max??Kn,Kn,$s?Fs:Kn);(!Se.isOrdinal||Se.options.overscroll||vt!==1||le)&&(mt<hn&&(mt=hn,vt>=1&&(Lt=mt+Zn)),Lt>vn&&(Lt=vn,vt>=1&&(mt=Lt-Zn)),(le||Se.series.length&&(mt!==fs||Lt!==Fs)&&mt>=hn&&Lt<=vn)&&(ue?ue[Se.coll].push({axis:Se,min:mt,max:Lt}):(Se.isPanning=fe!=="zoom",Se.isPanning&&(ve=!0),Se.setExtremes(le?void 0:mt,le?void 0:Lt,!1,!1,{move:Ft,trigger:fe,scale:vt}),!le&&(mt>hn||Lt<vn)&&fe!=="mousewheel"&&(Ee=!0)),ge=!0),ne&&(this[xe?"mouseDownX":"mouseDownY"]=ne[xe?"chartX":"chartY"]))}return ge&&(ue?F(this,"selection",ue,()=>{delete ie.selection,ie.trigger="zoom",this.transform(ie)}):(!Ee||ve||this.resetZoomButton?!Ee&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(fe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),ge}}return M(he.prototype,{callbacks:[],collectionsWithInit:{xAxis:[he.prototype.addAxis,[!0]],yAxis:[he.prototype.addAxis,[!1]],series:[he.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
129dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),he}),r(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{stop:B}=t,{composed:$}=n,{addEvent:K,createElement:G,css:q,defined:Z,merge:R,pushUnique:Y}=C;function V(){let L=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!L&&(this.scrollablePlotArea=L=new T(this)),L==null||L.applyFixed()}function H(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class T{static compose(j,s,c){Y($,this.compose)&&(K(j,"afterInit",H),K(s,"afterSetChartSize",x=>this.afterSetSize(x.target,x)),K(s,"render",V),K(c,"show",H))}static afterSetSize(j,s){let c,x,N,{minWidth:P,minHeight:S}=j.options.chart.scrollablePlotArea||{},{clipBox:g,plotBox:v,inverted:p,renderer:a}=j;if(!a.forExport&&(P?(j.scrollablePixelsX=c=Math.max(0,P-j.chartWidth),c&&(j.scrollablePlotBox=R(j.plotBox),v.width=j.plotWidth+=c,g[p?"height":"width"]+=c,N=!0)):S&&(j.scrollablePixelsY=x=Math.max(0,S-j.chartHeight),Z(x)&&(j.scrollablePlotBox=R(j.plotBox),v.height=j.plotHeight+=x,g[p?"width":"height"]+=x,N=!1)),Z(N)&&!s.skipAxes))for(let o of j.axes)o.horiz===N&&(o.setAxisSize(),o.setAxisTranslation())}constructor(j){var u;let s,c=j.options.chart,x=l.getRendererType(),N=c.scrollablePlotArea||{},P=this.moveFixedElements.bind(this),S={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};
129j.scrollablePixelsX&&(S.overflowX="auto"),j.scrollablePixelsY&&(S.overflowY="auto"),this.chart=j;let g=this.parentDiv=G("div",{className:"highcharts-scrolling-parent"},{position:"relative"},j.renderTo),v=this.scrollingContainer=G("div",{className:"highcharts-scrolling"},S,g),p=this.innerContainer=G("div",{className:"highcharts-inner-container"},void 0,v),a=this.fixedDiv=G("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((u=c.style)==null?void 0:u.zIndex)||0)+2,top:0},void 0,!0),o=this.fixedRenderer=new x(a,j.chartWidth,j.chartHeight,c.style);this.mask=o.path().attr({fill:c.backgroundColor||"#fff","fill-opacity":N.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),v.parentNode.insertBefore(a,v),q(j.renderTo,{overflow:"visible"}),K(j,"afterShowResetZoom",P),K(j,"afterApplyDrilldown",P),K(j,"afterLayOutTitles",P),K(v,"scroll",()=>{let{pointer:d,hoverPoint:h}=j;d&&(delete d.chartPosition,h&&(s=h),d.runPointActions(void 0,s,!0))}),p.appendChild(j.container)}applyFixed(){var w;let{chart:j,fixedRenderer:s,isDirty:c,scrollingContainer:x}=this,{axisOffset:N,chartWidth:P,chartHeight:S,container:g,plotHeight:v,plotLeft:p,plotTop:a,plotWidth:o,scrollablePixelsX:u=0,scrollablePixelsY:d=0}=j,{scrollPositionX:h=0,scrollPositionY:m=0}=j.options.chart.scrollablePlotArea||{},f=P+u,y=S+d;s.setSize(P,S),(c??!0)&&(this.isDirty=!1,this.moveFixedElements()),B(j.container),q(g,{width:`${f}px`,height:`${y}px`}),j.renderer.boxWrapper.attr({width:f,height:y,viewBox:[0,0,f,y].join(" ")}),(w=j.chartBackground)==null||w.attr({width:f,height:y}),q(x,{width:`${P}px`,height:`${S}px`}),Z(c)||(x.scrollLeft=u*h,x.scrollTop=d*m);let I=a-N[0]-1,E=p-N[3]-1,M=a+v+N[2]+1,D=p+o+N[1]+1,F=p+o-u,X=a+v-d,_=[["M",0,0]];u?_=[["M",0,I],["L",p-1,I],["L",p-1,M],["L",0,M],["Z"],["M",F,I],["L",P,I],["L",P,M],["L",F,M],["Z"]]:d&&(_=[["M",E,0],["L",E,a-1],["L",D,a-1],["L",D,0],["Z"],["M",E,X],["L",E,S],["L",D,S],["L",D,X],["Z"]]),j.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:_})}moveFixedElements(){let j,{container:s,inverted:c,scrollablePixelsX:x,scrollablePixelsY:N}=this.chart,P=this.fixedRenderer,S=T.fixedSelectors;for(let g of(x&&!c?j=".highcharts-yaxis":x&&c||N&&!c?j=".highcharts-xaxis":N&&c&&(j=".highcharts-yaxis"),j&&S.push(`${j}:not(.highcharts-radial-axis)`,`${j}-labels:not(.highcharts-radial-axis-labels)`),S))[].forEach.call(s.querySelectorAll(g),v=>{(v.namespaceURI===P.SVG_NS?P.box:P.box.parentNode).appendChild(v),v.style.pointerEvents="auto"})}}return T.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],T}),r(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{format:C}=t,{series:B}=n,{destroyObjectProperties:$,fireEvent:K,isNumber:G,pick:q}=l;return class{constructor(Z,R,Y,V,H){let T=Z.chart.inverted,L=Z.reversed;this.axis=Z;let j=this.isNegative=!!Y!=!!L;this.options=R=R||{},this.x=V,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=H,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:R.align||(T?j?"left":"right":"center"),verticalAlign:R.verticalAlign||(T?"middle":j?"bottom":"top"),y:R.y,x:R.x},this.textAlign=R.textAlign||(T?j?"right":"left":"center")}destroy(){$(this,this.axis)}render(Z){let R=this.axis.chart,Y=this.options,V=Y.format,H=V?C(V,this,R):Y.formatter.call(this);if(this.label)this.label.attr({text:H,visibility:"hidden"});else{this.label=R.renderer.label(H,null,void 0,Y.shape,void 0,void 0,Y.useHTML,!1,"stack-labels");let T={r:Y.borderRadius||0,text:H,padding:q(Y.padding,5),visibility:"hidden"};R.styledMode||(T.fill=Y.backgroundColor,T.stroke=Y.borderColor,T["stroke-width"]=Y.borderWidth,this.label.css(Y.style||{})),this.label.attr(T),this.label.added||this.label.add(Z)}
129this.label.labelrank=R.plotSizeY,K(this,"afterRender")}setOffset(Z,R,Y,V,H,T){let{alignOptions:L,axis:j,label:s,options:c,textAlign:x}=this,N=j.chart,P=this.getStackBox({xOffset:Z,width:R,boxBottom:Y,boxTop:V,defaultX:H,xAxis:T}),{verticalAlign:S}=L;if(s&&P){let g=s.getBBox(void 0,0),v=s.padding,p=q(c.overflow,"justify")==="justify",a;L.x=c.x||0,L.y=c.y||0;let{x:o,y:u}=this.adjustStackPosition({labelBox:g,verticalAlign:S,textAlign:x});P.x-=o,P.y-=u,s.align(L,!1,P),(a=N.isInsidePlot(s.alignAttr.x+L.x+o,s.alignAttr.y+L.y+u))||(p=!1),p&&B.prototype.justifyDataLabel.call(j,s,L,s.alignAttr,g,P),s.attr({x:s.alignAttr.x,y:s.alignAttr.y,rotation:c.rotation,rotationOriginX:g.width*{left:0,center:.5,right:1}[c.textAlign||"center"],rotationOriginY:g.height/2}),q(!p&&c.crop,!0)&&(a=G(s.x)&&G(s.y)&&N.isInsidePlot(s.x-v+(s.width||0),s.y)&&N.isInsidePlot(s.x+v,s.y)),s[a?"show":"hide"]()}K(this,"afterSetOffset",{xOffset:Z,width:R})}adjustStackPosition({labelBox:Z,verticalAlign:R,textAlign:Y}){let V={bottom:0,middle:1,top:2,right:1,center:0,left:-1},H=V[R],T=V[Y];return{x:Z.width/2+Z.width/2*T,y:Z.height/2*H}}getStackBox(Z){let R=this.axis,Y=R.chart,{boxTop:V,defaultX:H,xOffset:T,width:L,boxBottom:j}=Z,s=R.stacking.usePercentage?100:q(V,this.total,0),c=R.toPixels(s),x=Z.xAxis||Y.xAxis[0],N=q(H,x.translate(this.x))+T,P=Math.abs(c-R.toPixels(j||G(R.min)&&R.logarithmic&&R.logarithmic.lin2log(R.min)||0)),S=Y.inverted,g=this.isNegative;return S?{x:(g?c:c-P)-Y.plotLeft,y:x.height-N-L+x.top-Y.plotTop,width:P,height:L}:{x:N+x.transB-Y.plotLeft,y:(g?c-P:c)-Y.plotTop,width:L,height:P}}}}),r(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{getDeferredAnimation:K}=t,{series:{prototype:G}}=l,{addEvent:q,correctFloat:Z,defined:R,destroyObjectProperties:Y,fireEvent:V,isArray:H,isNumber:T,objectEach:L,pick:j}=B;function s(){let a=this.inverted;this.axes.forEach(o=>{o.stacking&&o.stacking.stacks&&o.hasVisibleSeries&&(o.stacking.oldStacks=o.stacking.stacks)}),this.series.forEach(o=>{let u=o.xAxis&&o.xAxis.options||{};o.options.stacking&&o.reserveSpace()&&(o.stackKey=[o.type,j(o.options.stack,""),a?u.top:u.left,a?u.height:u.width].join(","))})}function c(){var o;let a=this.stacking;if(a){let u=a.stacks;L(u,(d,h)=>{Y(d),delete u[h]}),(o=a.stackTotalGroup)==null||o.destroy()}}function x(){this.stacking||(this.stacking=new p(this))}function N(a,o,u,d){return!R(a)||a.x!==o||d&&a.stackKey!==d?a={x:o,index:0,key:d,stackKey:d}:a.index++,a.key=[u,o,a.index].join(","),a}function P(){let a,o=this,u=o.yAxis,d=o.stackKey||"",h=u.stacking.stacks,m=o.processedXData,f=o.options.stacking,y=o[f+"Stacker"];y&&[d,"-"+d].forEach(I=>{var X;let E=m.length,M,D,F;for(;E--;)M=m[E],a=o.getStackIndicator(a,M,o.index,I),D=(X=h[I])==null?void 0:X[M],(F=D==null?void 0:D.points[a.key||""])&&y.call(o,F,D,E)})}function S(a,o,u){let d=o.total?100/o.total:0;a[0]=Z(a[0]*d),a[1]=Z(a[1]*d),this.stackedYData[u]=a[1]}function g(a){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?G.setStackedPoints.call(this,a,"group"):a.stacking.resetStacks())}function v(a,o){var ae,he;let u,d,h,m,f,y,I,E,M,D=o||this.options.stacking;if(!D||!this.reserveSpace()||({group:"xAxis"}[D]||"yAxis")!==a.coll)return;let F=this.processedXData,X=this.processedYData,_=[],w=X.length,A=this.options,U=A.threshold||0,b=A.startFromThreshold?U:0,k=A.stack,O=o?`${this.type},${D}`:this.stackKey||"",z="-"+O,W=this.negStacks,Q=a.stacking,ee=Q.stacks,se=Q.oldStacks;for(Q.stacksTouched+=1,I=0;I<w;I++){E=F[I],M=X[I],y=(u=this.getStackIndicator(u,E,this.index)).key||"",ee[f=(d=W&&M<(b?0:U))?z:O]||(ee[f]={}),ee[f][E]||((ae=se[f])!=null&&ae[E]?(ee[f][E]=se[f][E],ee[f][E].total=null):ee[f][E]=new C(a,a.options.stackLabels,!!d,E,k)),h=ee[f][E],M!==null?(h.points[y]=h.points[this.index]=[j(h.cumulative,b)],R(h.cumulative)||(h.base=y),h.touched=Q.stacksTouched,u.index>0&&this.singleStacks===!1&&(h.points[y][0]=h.points[this.index+","+E+",0"][0])):(delete h.points[y],delete h.points[this.index]);let ce=h.total||0;D==="percent"?(m=d?O:z,ce=W&&((he=ee[m])!=null&&he[E])?(m=ee[m][E]).total=Math.max(m.total||0,ce)+Math.abs(M)||0:Z(ce+(Math.abs(M)||0))):D==="group"?(H(M)&&(M=M[0]),M!==null&&ce++):ce=Z(ce+(M||0)),D==="group"?h.cumulative=(ce||1)-1:h.cumulative=Z(j(h.cumulative,b)+(M||0)),h.total=ce,M!==null&&(h.points[y].push(h.cumulative),_[I]=h.cumulative,h.hasValidPoints=!0)}D==="percent"&&(Q.usePercentage=!0),D!=="group"&&(this.stackedYData=_),Q.oldStacks={}}class p{constructor(o){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=o}buildStacks(){let o,u,d=this.axis,h=d.series,m=d.coll==="xAxis",f=d.options.reversedStacks,y=h.length;for(this.resetStacks(),this.usePercentage=!1,u=y;u--;)o=h[f?u:y-u-1],m&&o.setGroupedPoints(d),o.setStackedPoints(d);if(!m)for(u=0;
vendor: 5,286 bytes, line 129
129u<y;u++)h[u].modifyStacks();V(d,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,L(this.stacks,o=>{L(o,u=>{u.cumulative=u.total})}))}resetStacks(){L(this.stacks,o=>{L(o,(u,d)=>{T(u.touched)&&u.touched<this.stacksTouched?(u.destroy(),delete o[d]):(u.total=null,u.cumulative=null)})})}renderStackTotals(){var y;let o=this.axis,u=o.chart,d=u.renderer,h=this.stacks,m=K(u,((y=o.options.stackLabels)==null?void 0:y.animation)||!1),f=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({zIndex:6,opacity:0}).add();f.translate(u.plotLeft,u.plotTop),L(h,I=>{L(I,E=>{E.render(f)})}),f.animate({opacity:1},m)}}return($||($={})).compose=function(a,o,u){let d=o.prototype,h=u.prototype;d.getStacks||(q(a,"init",x),q(a,"destroy",c),d.getStacks=s,h.getStackIndicator=N,h.modifyStacks=P,h.percentStacker=S,h.setGroupedPoints=g,h.setStackedPoints=v)},$}),r(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{defined:C,merge:B,isObject:$}=l;class K extends t{drawGraph(){let q=this.options,Z=(this.gappedPath||this.getGraphPath).call(this),R=this.chart.styledMode;[this,...this.zones].forEach((Y,V)=>{let H,T=Y.graph,L=T?"animate":"attr",j=Y.dashStyle||q.dashStyle;T?(T.endX=this.preventGraphAnimation?null:Z.xMap,T.animate({d:Z})):Z.length&&(Y.graph=T=this.chart.renderer.path(Z).addClass("highcharts-graph"+(V?` highcharts-zone-graph-${V-1} `:" ")+(V&&Y.className||"")).attr({zIndex:1}).add(this.group)),T&&!R&&(H={stroke:!V&&q.lineColor||Y.color||this.color||"#cccccc","stroke-width":q.lineWidth||0,fill:this.fillGraph&&this.color||"none"},j?H.dashstyle=j:q.linecap!=="square"&&(H["stroke-linecap"]=H["stroke-linejoin"]="round"),T[L](H).shadow(V<2&&q.shadow&&B({filterUnits:"userSpaceOnUse"},$(q.shadow)?q.shadow:{}))),T&&(T.startX=Z.xMap,T.isArea=Z.isArea)})}getGraphPath(q,Z,R){let Y=this,V=Y.options,H=[],T=[],L,j=V.step,s=(q=q||Y.points).reversed;return s&&q.reverse(),(j={right:1,center:2}[j]||j&&3)&&s&&(j=4-j),(q=this.getValidPoints(q,!1,!(V.connectNulls&&!Z&&!R))).forEach(function(c,x){let N,P=c.plotX,S=c.plotY,g=q[x-1],v=c.isNull||typeof S!="number";(c.leftCliff||g&&g.rightCliff)&&!R&&(L=!0),v&&!C(Z)&&x>0?L=!V.connectNulls:v&&!Z?L=!0:(x===0||L?N=[["M",c.plotX,c.plotY]]:Y.getPointSpline?N=[Y.getPointSpline(q,c,x)]:j?(N=j===1?[["L",g.plotX,S]]:j===2?[["L",(g.plotX+P)/2,g.plotY],["L",(g.plotX+P)/2,S]]:[["L",P,g.plotY]]).push(["L",P,S]):N=[["L",P,S]],T.push(c.x),j&&(T.push(c.x),j===2&&T.push(c.x)),H.push.apply(H,N),L=!1)}),H.xMap=T,Y.graphPath=H,H}}return K.defaultOptions=B(t.defaultOptions,{legendSymbol:"lineMarker"}),n.registerSeriesType("line",K),K}),r(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),r(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{line:C}}=n,{extend:B,merge:$,objectEach:K,pick:G}=l;class q extends C{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:R,options:Y}=this;[this,...this.zones].forEach((V,H)=>{let T={},L=V.fillColor||Y.fillColor,j=V.area,s=j?"animate":"attr";j?(j.endX=this.preventGraphAnimation?null:R.xMap,j.animate({d:R})):(T.zIndex=0,(j=V.area=this.chart.renderer.path(R).addClass("highcharts-area"+(H?` highcharts-zone-area-${H-1} `:" ")+(H&&V.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(T.fill=L||V.color||this.color,T["fill-opacity"]=L?1:Y.fillOpacity??.75,j.css({pointerEvents:this.stickyTracking?"none":"auto"})),j[s](T),j.startX=R.xMap,j.shiftUnit=Y.step?2:1})}getGraphPath(R){let Y,V,H,T=C.prototype.getGraphPath,L=this.options,j=L.stacking,s=this.yAxis,c=[],x=[],N=this.index,P=s.stacking.stacks[this.stackKey],S=L.threshold,g=Math.round(s.getThreshold(L.threshold)),v=G(L.connectNulls,j==="percent"),p=function(m,f,y){let I=R[m],E=j&&P[I.x].points[N],M=I[y+"Null"]||0,D=I[y+"Cliff"]||0,F,X,_=!0;D||M?(F=(M?E[0]:E[1])+D,X=E[0]+D,_=!!M):!j&&R[f]&&R[f].isNull&&(F=X=S),F!==void 0&&(x.push({plotX:Y,plotY:F===null?g:s.getThreshold(F),isNull:_,isCliff:!0}),c.push({plotX:Y,plotY:X===null?g:s.getThreshold(X),doCurve:!1}))};R=R||this.points,j&&(R=this.getStackPoints(R));for(let m=0,f=R.length;m<f;++m)j||(R[m].leftCliff=R[m].rightCliff=R[m].leftNull=R[m].rightNull=void 0),V=R[m].isNull,Y=G(R[m].rectPlotX,R[m].plotX),H=j?G(R[m].yBottom,g):g,V&&!v||(v||p(m,m-1,"left"),V&&!j&&v||(x.push(R[m]),c.push({x:m,plotX:Y,plotY:H})),v||p(m,m+1,"right"));let a=T.call(this,x,!0,!0);c.reversed=!0;let o=T.call(this,c,!0,!0),u=o[0];u&&u[0]==="M"&&(o[0]=["L",u[1],u[2]]);let d=a.concat(o);d.length&&d.push(["Z"]);let h=T.call(this,x,!1,v);return this.chart.series.length>1&&j&&x.some(m=>m.isCliff)&&(d.hasStackedCliffs=h.hasStackedCliffs=!0),d.xMap=a.xMap,this.areaPath=d,h}getStackPoints(R){let Y=this,V=[],H=[],T=this.xAxis,L=this.yAxis,j=L.stacking.stacks[this.stackKey],s={},c=L.series,x=c.length,N=L.options.reversedStacks?1:-1,P=c.indexOf(Y);if(R=R||this.points,this.options.stacking){for(let g=0;g<R.length;g++)R[g].leftNull=R[g].rightNull=void 0,s[R[g].x]=R[g];K(j,function(g,v){g.total!==null&&H.push(v)}),H.sort(function(g,v){return g-v});let S=c.map(g=>g.visible);H.forEach(function(g,v){let p=0,a,o;
129if(s[g]&&!s[g].isNull)V.push(s[g]),[-1,1].forEach(function(u){let d=u===1?"rightNull":"leftNull",h=j[H[v+u]],m=0;if(h){let f=P;for(;f>=0&&f<x;){let y=c[f].index;!(a=h.points[y])&&(y===Y.index?s[g][d]=!0:S[f]&&(o=j[g].points[y])&&(m-=o[1]-o[0])),f+=N}}s[g][u===1?"rightCliff":"leftCliff"]=m});else{let u=P;for(;u>=0&&u<x;){let d=c[u].index;if(a=j[g].points[d]){p=a[1];break}u+=N}p=G(p,0),p=L.translate(p,0,1,0,1),V.push({isNull:!0,plotX:T.translate(g,0,0,0,1),x:g,plotY:p,yBottom:p})}})}return V}}return q.defaultOptions=$(C.defaultOptions,t),B(q.prototype,{singleStacks:!1}),n.registerSeriesType("area",q),q}),r(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{line:l}=t.seriesTypes,{merge:C,pick:B}=n;class $ extends l{getPointSpline(G,q,Z){let R,Y,V,H,T=q.plotX||0,L=q.plotY||0,j=G[Z-1],s=G[Z+1];function c(N){return N&&!N.isNull&&N.doCurve!==!1&&!q.isCliff}if(c(j)&&c(s)){let N=j.plotX||0,P=j.plotY||0,S=s.plotX||0,g=s.plotY||0,v=0;R=(1.5*T+N)/2.5,Y=(1.5*L+P)/2.5,V=(1.5*T+S)/2.5,H=(1.5*L+g)/2.5,V!==R&&(v=(H-Y)*(V-T)/(V-R)+L-H),Y+=v,H+=v,Y>P&&Y>L?(Y=Math.max(P,L),H=2*L-Y):Y<P&&Y<L&&(Y=Math.min(P,L),H=2*L-Y),H>g&&H>L?(H=Math.max(g,L),Y=2*L-H):H<g&&H<L&&(H=Math.min(g,L),Y=2*L-H),q.rightContX=V,q.rightContY=H,q.controlPoints={low:[R,Y],high:[V,H]}}let x=["C",B(j.rightContX,j.plotX,0),B(j.rightContY,j.plotY,0),B(R,T,0),B(Y,L,0),T,L];return j.rightContX=j.rightContY=void 0,x}}return $.defaultOptions=C(l.defaultOptions),t.registerSeriesType("spline",$),$}),r(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{area:C,area:{prototype:B}}=n.seriesTypes,{extend:$,merge:K}=l;class G extends t{}return G.defaultOptions=K(t.defaultOptions,C.defaultOptions),$(G.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph}),n.registerSeriesType("areaspline",G),G}),r(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),r(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{animObject:G}=t,{parse:q}=n,{noop:Z}=C,{clamp:R,crisp:Y,defined:V,extend:H,fireEvent:T,isArray:L,isNumber:j,merge:s,pick:c,objectEach:x}=K;class N extends B{animate(S){let g,v,p=this,a=this.yAxis,o=a.pos,u=a.reversed,d=p.options,{clipOffset:h,inverted:m}=this.chart,f={},y=m?"translateX":"translateY";S&&h?(f.scaleY=.001,v=R(a.toPixels(d.threshold),o,o+a.len),m?(v+=u?-Math.floor(h[0]):Math.ceil(h[2]),f.translateX=v-a.len):(v+=u?Math.ceil(h[0]):-Math.floor(h[2]),f.translateY=v),p.clipBox&&p.setClip(),p.group.attr(f)):(g=Number(p.group.attr(y)),p.group.animate({scaleY:1},H(G(p.options.animation),{step:function(I,E){p.group&&(f[y]=g+E.pos*(o-g),p.group.attr(f))}})))}init(S,g){super.init.apply(this,arguments);let v=this;(S=v.chart).hasRendered&&S.series.forEach(function(p){p.type===v.type&&(p.isDirty=!0)})}getColumnMetrics(){var M,D;let S=this,g=S.options,v=S.xAxis,p=S.yAxis,a=v.options.reversedStacks,o=v.reversed&&!a||!v.reversed&&a,u={},d,h=0;g.grouping===!1?h=1:S.chart.series.forEach(function(F){let X,_=F.yAxis,w=F.options;F.type===S.type&&F.reserveSpace()&&p.len===_.len&&p.pos===_.pos&&(w.stacking&&w.stacking!=="group"?(u[d=F.stackKey]===void 0&&(u[d]=h++),X=u[d]):w.grouping!==!1&&(X=h++),F.columnIndex=X)});let m=Math.min(Math.abs(v.transA)*(!((M=v.brokenAxis)!=null&&M.hasBreaks)&&((D=v.ordinal)==null?void 0:D.slope)||g.pointRange||v.closestPointRange||v.tickInterval||1),v.len),f=m*g.groupPadding,y=(m-2*f)/(h||1),I=Math.min(g.maxPointWidth||v.len,c(g.pointWidth,y*(1-2*g.pointPadding))),E=(S.columnIndex||0)+(o?1:0);return S.columnMetrics={width:I,offset:(y-I)/2+(f+E*y-m/2)*(o?-1:1),paddedWidth:y,columnCount:h},S.columnMetrics}crispCol(S,g,v,p){let a=this.borderWidth,o=this.chart.inverted;return p=Y(g+p,a,o)-(g=Y(g,a,o)),this.options.crisp&&(v=Y(S+v,a)-(S=Y(S,a))),{x:S,y:g,width:v,height:p}}adjustForMissingColumns(S,g,v,p){var a;if(!v.isNull&&p.columnCount>1){let o=this.xAxis.series.filter(m=>m.visible).map(m=>m.index),u=0,d=0;x((a=this.xAxis.stacking)==null?void 0:a.stacks,m=>{if(typeof v.x=="number"){let f=m[v.x.toString()];if(f&&L(f.points[this.index])){let y=Object.keys(f.points).filter(I=>!I.match(",")&&f.points[I]&&f.points[I].length>1).map(parseFloat).filter(I=>o.indexOf(I)!==-1).sort((I,E)=>E-I);u=y.indexOf(this.index),d=y.length}}}),u=this.xAxis.reversed?d-1-u:u;let h=(d-1)*p.paddedWidth+g;S=(v.plotX||0)+h/2-g-u*p.paddedWidth}return S}translate(){let S=this,g=S.chart,v=S.options,p=S.dense=S.closestPointRange*S.xAxis.transA<2,a=S.borderWidth=c(v.borderWidth,p?0:1),o=S.xAxis,u=S.yAxis,d=v.threshold,h=c(v.minPointLength,5),m=S.getColumnMetrics(),f=m.width,y=S.pointXOffset=m.offset,I=S.dataMin,E=S.dataMax,M=S.translatedThreshold=u.getThreshold(d),D=S.barW=Math.max(f,1+2*a);v.pointPadding&&(D=Math.ceil(D)),B.prototype.translate.apply(S),S.points.forEac
vendor: 5,809 bytes, line 129
129h(function(F){let X=c(F.yBottom,M),_=999+Math.abs(X),w=F.plotX||0,A=R(F.plotY,-_,u.len+_),U,b=Math.min(A,X),k=Math.max(A,X)-b,O=f,z=w+y,W=D;h&&Math.abs(k)<h&&(k=h,U=!u.reversed&&!F.negative||u.reversed&&F.negative,j(d)&&j(E)&&F.y===d&&E<=d&&(u.min||0)<d&&(I!==E||(u.max||0)<=d)&&(U=!U,F.negative=!F.negative),b=Math.abs(b-M)>h?X-h:M-(U?h:0)),V(F.options.pointWidth)&&(z-=Math.round(((O=W=Math.ceil(F.options.pointWidth))-f)/2)),v.centerInCategory&&!v.stacking&&(z=S.adjustForMissingColumns(z,O,F,m)),F.barX=z,F.pointWidth=O,F.tooltipPos=g.inverted?[R(u.len+u.pos-g.plotLeft-A,u.pos-g.plotLeft,u.len+u.pos-g.plotLeft),o.len+o.pos-g.plotTop-z-W/2,k]:[o.left-g.plotLeft+z+W/2,R(A+u.pos-g.plotTop,u.pos-g.plotTop,u.len+u.pos-g.plotTop),k],F.shapeType=S.pointClass.prototype.shapeType||"roundedRect",F.shapeArgs=S.crispCol(z,F.isNull?M:b,W,F.isNull?0:k)}),T(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(S,g){let v=this.options,p=this.pointAttrToOptions||{},a=p.stroke||"borderColor",o=p["stroke-width"]||"borderWidth",u,d,h,m=S&&S.color||this.color,f=S&&S[a]||v[a]||m,y=S&&S.options.dashStyle||v.dashStyle,I=S&&S[o]||v[o]||this[o]||0,E=c(S&&S.opacity,v.opacity,1);S&&this.zones.length&&(d=S.getZone(),m=S.options.color||d&&(d.color||S.nonZonedColor)||this.color,d&&(f=d.borderColor||f,y=d.dashStyle||y,I=d.borderWidth||I)),g&&S&&(h=(u=s(v.states[g],S.options.states&&S.options.states[g]||{})).brightness,m=u.color||h!==void 0&&q(m).brighten(u.brightness).get()||m,f=u[a]||f,I=u[o]||I,y=u.dashStyle||y,E=c(u.opacity,E));let M={fill:m,stroke:f,"stroke-width":I,opacity:E};return y&&(M.dashstyle=y),M}drawPoints(S=this.points){let g,v=this,p=this.chart,a=v.options,o=p.renderer,u=a.animationLimit||250;S.forEach(function(d){let h=d.plotY,m=d.graphic,f=!!m,y=m&&p.pointCount<u?"animate":"attr";j(h)&&d.y!==null?(g=d.shapeArgs,m&&d.hasNewShapeType()&&(m=m.destroy()),v.enabledDataSorting&&(d.startXPos=v.xAxis.reversed?-(g&&g.width||0):v.xAxis.width),!m&&(d.graphic=m=o[d.shapeType](g).add(d.group||v.group),m&&v.enabledDataSorting&&p.hasRendered&&p.pointCount<u&&(m.attr({x:d.startXPos}),f=!0,y="animate")),m&&f&&m[y](s(g)),p.styledMode||m[y](v.pointAttribs(d,d.selected&&"select")).shadow(d.allowShadow!==!1&&a.shadow),m&&(m.addClass(d.getClassName(),!0),m.attr({visibility:d.visible?"inherit":"hidden"}))):m&&(d.graphic=m.destroy())})}drawTracker(S=this.points){let g,v=this,p=v.chart,a=p.pointer,o=function(u){let d=a==null?void 0:a.getPointFromEvent(u);a&&d&&v.options.enableMouseTracking&&(a.isDirectTouch=!0,d.onMouseOver(u))};S.forEach(function(u){g=L(u.dataLabels)?u.dataLabels:u.dataLabel?[u.dataLabel]:[],u.graphic&&(u.graphic.element.point=u),g.forEach(function(d){(d.div||d.element).point=u})}),v._hasTracking||(v.trackerGroups.forEach(function(u){v[u]&&(v[u].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(d){a==null||a.onTrackerMouseOut(d)}).on("touchstart",o),!p.styledMode&&v.options.cursor&&v[u].css({cursor:v.options.cursor}))}),v._hasTracking=!0),T(this,"afterDrawTracker")}remove(){let S=this,g=S.chart;g.hasRendered&&g.series.forEach(function(v){v.type===S.type&&(v.isDirty=!0)}),B.prototype.remove.apply(S,arguments)}}return N.defaultOptions=s(B.defaultOptions,l),H(N.prototype,{directTouch:!0,getSymbol:Z,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),$.registerSeriesType("column",N),N}),r(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{getDeferredAnimation:B}=t,{format:$}=n,{defined:K,extend:G,fireEvent:q,isArray:Z,isString:R,merge:Y,objectEach:V,pick:H,pInt:T,splat:L}=l;return function(j){function s(){return v(this).some(a=>a==null?void 0:a.enabled)}function c(a,o,u,d,h){var A;let{chart:m,enabledDataSorting:f}=this,y=this.isCartesian&&m.inverted,I=a.plotX,E=a.plotY,M=u.rotation||0,D=K(I)&&K(E)&&m.isInsidePlot(I,Math.round(E),{inverted:y,paneCoordinates:!0,series:this}),F=M===0&&H(u.overflow,f?"none":"justify")==="justify",X=this.visible&&a.visible!==!1&&K(I)&&(a.series.forceDL||f&&!F||D||H(u.inside,!!this.options.stacking)&&d&&m.isInsidePlot(I,y?d.x+1:d.y+d.height-1,{inverted:y,paneCoordinates:!0,series:this})),_=a.pos();if(X&&_){var w;let U=o.getBBox(),b=o.getBBox(void 0,0),k={right:1,center:.5}[u.align||0]||0,O={bottom:1,middle:.5}[u.verticalAlign||0]||0;if(d=G({x:_[0],y:Math.round(_[1]),width:0,height:0},d||{}),u.alignTo==="plotEdges"&&this.isCartesian&&(d[y?"x":"y"]=0,d[y?"width":"height"]=((A=this.yAxis)==null?void 0:A.len)||0),G(u,{width:U.width,height:U.height}),w=d,f&&this.xAxis&&!F&&this.setDataLabelStartPos(a,o,h,D,w),o.align(Y(u,{width:b.width,height:b.height}),!1,d,!1),o.alignAttr.x+=k*(b.width-U.width),o.alignAttr.y+=O*(b.height-U.height),o[o.placed?"animate":"attr"]({x:o.alignAttr.x+(U.width-b.width)/2,y:o.alignAttr.y+(U.height-b.height)/2,rotationOriginX:(o.width||0)/2,rotationOriginY:(o.height||0)/2}),F&&d.height>=0)this.justifyDataLabel(o,u,o.alignAttr,U,d,h);else if(H(u.crop,!0)){let{x:z,y:W}=o.alignAttr;X=m.isInsidePlot(z,W,{paneCoordinates:!0,series:this})&&m.isInsidePlot(z+U.width-1,W+U.height-1,{paneCoordinates:!0,series:this})}u.shape&&!M&&o[h?"attr":"animate"]({anchorX:_[0],anchorY:_[1]})}h&&f&&(o.placed=!1),X||f&&!F?(o.show(),o.placed=!0):(o.hide(),o.placed=!1)}function x(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function N(a){let o=this.hasRendered||0,u=this.initDataLabelsGroup().attr({opacity:+o});return!o&&u&&(this.visible&&u.show(),this.options.animation?u.animate({opacity:1},a):u.attr({opacity:1})),u}function P(a){var X;let o;a=a||this.points;let u=this,d=u.chart,h=u.options,m=d.renderer,{backgroundColor:f,plotBackgroun
129dColor:y}=d.options.chart,I=m.getContrast(R(y)&&y||R(f)&&f||"#000000"),E=v(u),{animation:M,defer:D}=E[0],F=D?B(d,M,u):{defer:0,duration:0};q(this,"drawDataLabels"),(X=u.hasDataLabels)!=null&&X.call(u)&&(o=this.initDataLabels(F),a.forEach(_=>{var U,b;let w=_.dataLabels||[];L(g(E,_.dlOptions||((U=_.options)==null?void 0:U.dataLabels))).forEach((k,O)=>{let z=k.enabled&&(_.visible||_.dataLabelOnHidden)&&(!_.isNull||_.dataLabelOnNull)&&function(ue,de){let fe=de.filter;if(fe){let me=fe.operator,ge=ue[fe.property],Ee=fe.value;return me===">"&&ge>Ee||me==="<"&&ge<Ee||me===">="&&ge>=Ee||me==="<="&&ge<=Ee||me==="=="&&ge==Ee||me==="==="&&ge===Ee||me==="!="&&ge!=Ee||me==="!=="&&ge!==Ee}return!0}(_,k),{backgroundColor:W,borderColor:Q,distance:ee,style:se={}}=k,ae,he,ce,ie,te={},ne=w[O],oe=!ne,le;z&&(he=H(k[_.formatPrefix+"Format"],k.format),ae=_.getLabelConfig(),ce=K(he)?$(he,ae,d):(k[_.formatPrefix+"Formatter"]||k.formatter).call(ae,k),ie=k.rotation,!d.styledMode&&(se.color=H(k.color,se.color,R(u.color)?u.color:void 0,"#000000"),se.color==="contrast"?(W!=="none"&&(le=W),_.contrastColor=m.getContrast(le!=="auto"&&le||_.color||u.color),se.color=le||!K(ee)&&k.inside||0>T(ee||0)||h.stacking?_.contrastColor:I):delete _.contrastColor,h.cursor&&(se.cursor=h.cursor)),te={r:k.borderRadius||0,rotation:ie,padding:k.padding,zIndex:1},d.styledMode||(te.fill=W==="auto"?_.color:W,te.stroke=Q==="auto"?_.color:Q,te["stroke-width"]=k.borderWidth),V(te,(ue,de)=>{ue===void 0&&delete te[de]})),!ne||z&&K(ce)&&!!ne.div==!!k.useHTML&&(ne.rotation&&k.rotation||ne.rotation===k.rotation)||(ne=void 0,oe=!0),z&&K(ce)&&(ne?te.text=ce:(ne=m.label(ce,0,0,k.shape,void 0,void 0,k.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+_.colorIndex+" "+(k.className||"")+(k.useHTML?" highcharts-tracker":"")),ne&&(ne.options=k,ne.attr(te),d.styledMode?se.width&&ne.css({width:se.width,textOverflow:se.textOverflow}):ne.css(se).shadow(k.shadow),q(ne,"beforeAddingDataLabel",{labelOptions:k,point:_}),ne.added||ne.add(o),u.alignDataLabel(_,ne,k,void 0,oe),ne.isActive=!0,w[O]&&w[O]!==ne&&w[O].destroy(),w[O]=ne))});let A=w.length;for(;A--;)w[A]&&w[A].isActive?w[A].isActive=!1:((b=w[A])==null||b.destroy(),w.splice(A,1));_.dataLabel=w[0],_.dataLabels=w})),q(this,"afterDrawDataLabels")}function S(a,o,u,d,h,m){let f=this.chart,y=o.align,I=o.verticalAlign,E=a.box?0:a.padding||0,M=f.inverted?this.yAxis:this.xAxis,D=M?M.left-f.plotLeft:0,F=f.inverted?this.xAxis:this.yAxis,X=F?F.top-f.plotTop:0,{x:_=0,y:w=0}=o,A,U;return(A=(u.x||0)+E+D)<0&&(y==="right"&&_>=0?(o.align="left",o.inside=!0):_-=A,U=!0),(A=(u.x||0)+d.width-E+D)>f.plotWidth&&(y==="left"&&_<=0?(o.align="right",o.inside=!0):_+=f.plotWidth-A,U=!0),(A=u.y+E+X)<0&&(I==="bottom"&&w>=0?(o.verticalAlign="top",o.inside=!0):w-=A,U=!0),(A=(u.y||0)+d.height-E+X)>f.plotHeight&&(I==="top"&&w<=0?(o.verticalAlign="bottom",o.inside=!0):w+=f.plotHeight-A,U=!0),U&&(o.x=_,o.y=w,a.placed=!m,a.align(o,void 0,h)),U}function g(a,o){let u=[],d;if(Z(a)&&!Z(o))u=a.map(function(h){return Y(h,o)});else if(Z(o)&&!Z(a))u=o.map(function(h){return Y(a,h)});else if(Z(a)||Z(o)){if(Z(a)&&Z(o))for(d=Math.max(a.length,o.length);d--;)u[d]=Y(a[d],o[d])}else u=Y(a,o);return u}function v(a){var u,d;let o=a.chart.options.plotOptions;return L(g(g((u=o==null?void 0:o.series)==null?void 0:u.dataLabels,(d=o==null?void 0:o[a.type])==null?void 0:d.dataLabels),a.options.dataLabels))}function p(a,o,u,d,h){let m=this.chart,f=m.inverted,y=this.xAxis,I=y.reversed,E=((f?o.height:o.width)||0)/2,M=a.pointWidth,D=M?M/2:0;o.startXPos=f?h.x:I?-E-D:y.width-E+D,o.startYPos=f?I?this.yAxis.height-E+D:-E-D:h.y,d?o.visibility==="hidden"&&(o.show(),o.attr({opacity:0}).animate({opacity:1})):o.attr({opacity:1}).animate({opacity:0}
129,void 0,o.hide),m.hasRendered&&(u&&o.attr({x:o.startXPos,y:o.startYPos}),o.placed=!0)}j.compose=function(a){let o=a.prototype;o.initDataLabels||(o.initDataLabels=N,o.initDataLabelsGroup=x,o.alignDataLabel=c,o.drawDataLabels=P,o.justifyDataLabel=S,o.setDataLabelStartPos=p,o.hasDataLabels=s)}}(C||(C={})),C}),r(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{composed:$}=n,{series:K}=l,{merge:G,pick:q,pushUnique:Z}=C;return function(R){function Y(V,H,T,L,j){let s=this.chart.inverted,c=V.series,x=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,N=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,P=V.dlBox||V.shapeArgs,S=q(V.below,V.plotY>q(this.translatedThreshold,N)),g=q(T.inside,!!this.options.stacking);if(P){if(L=G(P),!(T.overflow==="allow"&&T.crop===!1)){L.y<0&&(L.height+=L.y,L.y=0);let v=L.y+L.height-N;v>0&&v<L.height-1&&(L.height-=v)}s&&(L={x:N-L.y-L.height,y:x-L.x-L.width,width:L.height,height:L.width}),g||(s?(L.x+=S?0:L.width,L.width=0):(L.y+=S?L.height:0,L.height=0))}T.align=q(T.align,!s||g?"center":S?"right":"left"),T.verticalAlign=q(T.verticalAlign,s||g?"middle":S?"top":"bottom"),K.prototype.alignDataLabel.call(this,V,H,T,L,j),T.inside&&V.contrastColor&&H.css({color:V.contrastColor})}R.compose=function(V){t.compose(K),Z($,"ColumnDataLabel")&&(V.prototype.alignDataLabel=Y)}}(B||(B={})),B}),r(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{extend:C,merge:B}=l;class $ extends t{}return $.defaultOptions=B(t.defaultOptions,{}),C($.prototype,{inverted:!0}),n.registerSeriesType("bar",$),$}),r(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),r(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,line:B}=n.seriesTypes,{addEvent:$,extend:K,merge:G}=l;class q extends B{applyJitter(){let R=this,Y=this.options.jitter,V=this.points.length;Y&&this.points.forEach(function(H,T){["x","y"].forEach(function(L,j){if(Y[L]&&!H.isNull){let s=`plot${L.toUpperCase()}`,c=R[`${L}Axis`],x=Y[L]*c.transA;if(c&&!c.logarithmic){let N=Math.max(0,(H[s]||0)-x),P=Math.min(c.len,(H[s]||0)+x);H[s]=N+(P-N)*function(S){let g=1e4*Math.sin(S);return g-Math.floor(g)}(T+j*V),L==="x"&&(H.clientX=H.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return q.defaultOptions=G(B.defaultOptions,t),K(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),$(q,"afterTranslate",function(){this.applyJitter()}),n.registerSeriesType("scatter",q),q}),r(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l){var C,B;let{deg2rad:$}=t,{fireEvent:K,isNumber:G,pick:q,relativeLength:Z}=l;return(B=C||(C={})).getCenter=function(){let R=this.options,Y=this.chart,V=2*(R.slicedOffset||0),H=Y.plotWidth-2*V,T=Y.plotHeight-2*V,L=R.center,j=Math.min(H,T),s=R.thickness,c,x=R.size,N=R.innerSize||0,P,S;typeof x=="string"&&(x=parseFloat(x)),typeof N=="string"&&(N=parseFloat(N));let g=[q(L[0],"50%"),q(L[1],"50%"),q(x&&x<0?void 0:R.size,"100%"),q(N&&N<0?void 0:R.innerSize||0,"0%")];for(!Y.angular||this instanceof n||(g[3]=0),P=0;P<4;++P)S=g[P],c=P<2||P===2&&/%$/.test(S),g[P]=Z(S,[H,T,j,g[2]][P])+(c?V:0);return g[3]>g[2]&&(g[3]=g[2]),G(s)&&2*s<g[2]&&s>0&&(g[3]=g[2]-2*s),K(this,"afterGetCenter",{positions:g}),g},B.getStartAndEndRadians=function(R,Y){let V=G(R)?R:0,H=G(Y)&&Y>V&&Y-V<360?Y:V+360;return{start:$*(V+-90),end:$*(H+-90)}},C}
vendor: 4,484 bytes, line 129
129),r(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l){let{setAnimation:C}=t,{addEvent:B,defined:$,extend:K,isNumber:G,pick:q,relativeLength:Z}=l;class R extends n{getConnectorPath(V){let H=V.dataLabelPosition,T=V.options||{},L=T.connectorShape,j=this.connectorShapes[L]||L;return H&&j.call(this,xt(ze({},H.computed),{alignment:H.alignment}),H.connectorPosition,T)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(V){let H=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(H.x,H.y,H.r+V,H.r+V,{innerR:H.r-1,start:H.start,end:H.end,borderRadius:H.borderRadius})}constructor(V,H,T){super(V,H,T),this.half=0,this.name??(this.name="Slice");let L=j=>{this.slice(j.type==="select")};B(this,"select",L),B(this,"unselect",L)}isValid(){return G(this.y)&&this.y>=0}setVisible(V,H=!0){V!==this.visible&&this.update({visible:V??!this.visible},H,void 0,!1)}slice(V,H,T){let L=this.series;C(T,L.chart),H=q(H,!0),this.sliced=this.options.sliced=V=$(V)?V:!this.sliced,L.options.data[L.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return K(R.prototype,{connectorShapes:{fixedOffset:function(Y,V,H){let T=V.breakAt,L=V.touchingSliceAt,j=H.softConnector?["C",Y.x+(Y.alignment==="left"?-5:5),Y.y,2*T.x-L.x,2*T.y-L.y,T.x,T.y]:["L",T.x,T.y];return[["M",Y.x,Y.y],j,["L",L.x,L.y]]},straight:function(Y,V){let H=V.touchingSliceAt;return[["M",Y.x,Y.y],["L",H.x,H.y]]},crookedLine:function(Y,V,H){let{breakAt:T,touchingSliceAt:L}=V,{series:j}=this,[s,c,x]=j.center,N=x/2,{plotLeft:P,plotWidth:S}=j.chart,g=Y.alignment==="left",{x:v,y:p}=Y,a=T.x;if(H.crookDistance){let u=Z(H.crookDistance,1);a=g?s+N+(S+P-s-N)*(1-u):P+(s-N)*u}else a=s+(c-p)*Math.tan((this.angle||0)-Math.PI/2);let o=[["M",v,p]];return(g?a<=v&&a>=T.x:a>=v&&a<=T.x)&&o.push(["L",a,p]),o.push(["L",T.x,T.y],["L",L.x,L.y]),o}}}),R}),r(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),r(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{getStartAndEndRadians:Z}=t,{noop:R}=l,{clamp:Y,extend:V,fireEvent:H,merge:T,pick:L}=q;class j extends ${animate(c){let x=this,N=x.points,P=x.startAngleRad;c||N.forEach(function(S){let g=S.graphic,v=S.shapeArgs;g&&v&&(g.attr({r:L(S.startR,x.center&&x.center[3]/2),start:P,end:P}),g.animate({r:v.r,start:v.start,end:v.end},x.options.animation))})}drawEmpty(){let c,x,N=this.startAngleRad,P=this.endAngleRad,S=this.options;this.total===0&&this.center?(c=this.center[0],x=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(c,x,this.center[1]/2,0,N,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:G.arc(c,x,this.center[2]/2,0,{start:N,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":S.borderWidth,fill:S.fillColor||"none",stroke:S.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let c=this.chart.renderer;this.points.forEach(function(x){x.graphic&&x.hasNewShapeType()&&(x.graphic=x.graphic.destroy()),x.graphic||(x.graphic=c[x.shapeType](x.shapeArgs).add(x.series.group),x.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(c,x,N,P){let S=this.center,g=this.radii?this.radii[N.index]||0:S[2]/2,v=P.dataLabelPosition,p=(v==null?void 0:v.distance)||0,a=Math.asin(Y((c-S[1])/(g+p),-1,1));return S[0]+Math.cos(a)*(g+p)*(x?-1:1)+(p>0?(x?-1:1)*(P.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let c,x,N,P,S=this,g=S.chart;this.drawEmpty(),S.group&&!g.styledMode&&S.group.shadow(S.options.shadow),S.points.forEac
129h(function(v){let p={};x=v.graphic,!v.isNull&&x?(P=v.shapeArgs,c=v.getTranslate(),g.styledMode||(N=S.pointAttribs(v,v.selected&&"select")),v.delayedRendering?(x.setRadialReference(S.center).attr(P).attr(c),g.styledMode||x.attr(N).attr({"stroke-linejoin":"round"}),v.delayedRendering=!1):(x.setRadialReference(S.center),g.styledMode||T(!0,p,N),T(!0,p,P,c),x.animate(p)),x.attr({visibility:v.visible?"inherit":"hidden"}),x.addClass(v.getClassName(),!0)):x&&(v.graphic=x.destroy())})}sortByAngle(c,x){c.sort(function(N,P){return N.angle!==void 0&&(P.angle-N.angle)*x})}translate(c){H(this,"translate"),this.generatePoints();let x=this.options,N=x.slicedOffset,P=Z(x.startAngle,x.endAngle),S=this.startAngleRad=P.start,g=(this.endAngleRad=P.end)-S,v=this.points,p=x.ignoreHiddenPoint,a=v.length,o,u,d,h,m,f,y,I=0;for(c||(this.center=c=this.getCenter()),f=0;f<a;f++){y=v[f],o=S+I*g,y.isValid()&&(!p||y.visible)&&(I+=y.percentage/100),u=S+I*g;let E={x:c[0],y:c[1],r:c[2]/2,innerR:c[3]/2,start:Math.round(1e3*o)/1e3,end:Math.round(1e3*u)/1e3};y.shapeType="arc",y.shapeArgs=E,(d=(u+o)/2)>1.5*Math.PI?d-=2*Math.PI:d<-Math.PI/2&&(d+=2*Math.PI),y.slicedTranslation={translateX:Math.round(Math.cos(d)*N),translateY:Math.round(Math.sin(d)*N)},h=Math.cos(d)*c[2]/2,m=Math.sin(d)*c[2]/2,y.tooltipPos=[c[0]+.7*h,c[1]+.7*m],y.half=d<-Math.PI/2||d>Math.PI/2?1:0,y.angle=d}H(this,"afterTranslate")}updateTotals(){let c=this.points,x=c.length,N=this.options.ignoreHiddenPoint,P,S,g=0;for(P=0;P<x;P++)(S=c[P]).isValid()&&(!N||S.visible)&&(g+=S.y);for(P=0,this.total=g;P<x;P++)(S=c[P]).percentage=g>0&&(S.visible||!N)?S.y/g*100:0,S.total=g}}return j.defaultOptions=T($.defaultOptions,B),V(j.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:n.prototype.drawTracker,getCenter:t.getCenter,getSymbol:R,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:n.prototype.pointAttribs,pointClass:C,requireSorting:!1,searchPoint:R,trackerGroups:["group","dataLabelsGroup"]}),K.registerSeriesType("pie",j),j}),r(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{composed:K,noop:G}=n,{distribute:q}=l,{series:Z}=C,{arrayMax:R,clamp:Y,defined:V,pick:H,pushUnique:T,relativeLength:L}=B;return function(j){let s={radialDistributionY:function(S,g){var v;return(((v=g.dataLabelPosition)==null?void 0:v.top)||0)+S.distributeBox.pos},radialDistributionX:function(S,g,v,p,a){let o=a.dataLabelPosition;return S.getX(v<((o==null?void 0:o.top)||0)+2||v>((o==null?void 0:o.bottom)||0)-2?p:v,g.half,g,a)},justify:function(S,g,v,p){var a;return p[0]+(S.half?-1:1)*(v+(((a=g.dataLabelPosition)==null?void 0:a.distance)||0))},alignToPlotEdges:function(S,g,v,p){let a=S.getBBox().width;return g?a+p:v-a-p},alignToConnectors:function(S,g,v,p){let a=0,o;return S.forEach(function(u){(o=u.dataLabel.getBBox().width)>a&&(a=o)}),g?a+p:v-a-p}};function c(S,g){let{center:v,options:p}=this,a=v[2]/2,o=S.angle||0,u=Math.cos(o),d=Math.sin(o),h=v[0]+u*a,m=v[1]+d*a,f=Math.min((p.slicedOffset||0)+(p.borderWidth||0),g/5);
vendor: 4,622 bytes, line 129
129return{natural:{x:h+u*g,y:m+d*g},computed:{},alignment:g<0?"center":S.half?"right":"left",connectorPosition:{breakAt:{x:h+u*f,y:m+d*f},touchingSliceAt:{x:h,y:m}},distance:g}}function x(){var X;let S=this,g=S.points,v=S.chart,p=v.plotWidth,a=v.plotHeight,o=v.plotLeft,u=Math.round(v.chartWidth/3),d=S.center,h=d[2]/2,m=d[1],f=[[],[]],y=[0,0,0,0],I=S.dataLabelPositioners,E,M,D,F=0;S.visible&&((X=S.hasDataLabels)!=null&&X.call(S))&&(g.forEach(_=>{(_.dataLabels||[]).forEach(w=>{w.shortened&&(w.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),w.shortened=!1)})}),Z.prototype.drawDataLabels.apply(S),g.forEach(_=>{(_.dataLabels||[]).forEach((w,A)=>{var O;let U=d[2]/2,b=w.options,k=L((b==null?void 0:b.distance)||0,U);A===0&&f[_.half].push(_),!V((O=b==null?void 0:b.style)==null?void 0:O.width)&&w.getBBox().width>u&&(w.css({width:Math.round(.7*u)+"px"}),w.shortened=!0),w.dataLabelPosition=this.getDataLabelPosition(_,k),F=Math.max(F,k)})}),f.forEach((_,w)=>{let A=_.length,U=[],b,k,O=0,z;A&&(S.sortByAngle(_,w-.5),F>0&&(b=Math.max(0,m-h-F),k=Math.min(m+h+F,v.plotHeight),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{var se;let ee=Q.dataLabelPosition;ee&&ee.distance>0&&(ee.top=Math.max(0,m-h-ee.distance),ee.bottom=Math.min(m+h+ee.distance,v.plotHeight),O=Q.getBBox().height||21,Q.lineHeight=v.renderer.fontMetrics(Q.text||Q).h+2*Q.padding,W.distributeBox={target:(((se=Q.dataLabelPosition)==null?void 0:se.natural.y)||0)-ee.top+Q.lineHeight/2,size:O,rank:W.y},U.push(W.distributeBox))})}),q(U,z=k+O-b,z/5)),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{let ee=Q.options||{},se=W.distributeBox,ae=Q.dataLabelPosition,he=(ae==null?void 0:ae.natural.y)||0,ce=ee.connectorPadding||0,ie=Q.lineHeight||21,te=(ie-Q.getBBox().height)/2,ne=0,oe=he,le="inherit";if(ae){if(U&&V(se)&&ae.distance>0&&(se.pos===void 0?le="hidden":(D=se.size,oe=I.radialDistributionY(W,Q))),ee.justify)ne=I.justify(W,Q,h,d);else switch(ee.alignTo){case"connectors":ne=I.alignToConnectors(_,w,p,o);break;case"plotEdges":ne=I.alignToPlotEdges(Q,w,p,o);break;default:ne=I.radialDistributionX(S,W,oe-te,he,Q)}if(ae.attribs={visibility:le,align:ae.alignment},ae.posAttribs={x:ne+(ee.x||0)+({left:ce,right:-ce}[ae.alignment]||0),y:oe+(ee.y||0)-ie/2},ae.computed.x=ne,ae.computed.y=oe-te,H(ee.crop,!0)){let ue;ne-(M=Q.getBBox().width)<ce&&w===1?(ue=Math.round(M-ne+ce),y[3]=Math.max(ue,y[3])):ne+M>p-ce&&w===0&&(ue=Math.round(ne+M-p+ce),y[1]=Math.max(ue,y[1])),oe-D/2<0?y[0]=Math.max(Math.round(-oe+D/2),y[0]):oe+D/2>a&&(y[2]=Math.max(Math.round(oe+D/2-a),y[2])),ae.sideOverflow=ue}}})}))}),(R(y)===0||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(_=>{(_.dataLabels||[]).forEach(w=>{var k;let{connectorColor:A,connectorWidth:U=1}=w.options||{},b=w.dataLabelPosition;if(U){let O;E=w.connector,b&&b.distance>0?(O=!E,E||(w.connector=E=v.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+_.colorIndex+(_.className?" "+_.className:"")).add(S.dataLabelsGroup)),v.styledMode||E.attr({"stroke-width":U,stroke:A||_.color||"#666666"}),E[O?"attr":"animate"]({d:_.getConnectorPath(w)}),E.attr({visibility:(k=b.attribs)==null?void 0:k.visibility})):E&&(w.connector=E.destroy())}})})))}function N(){this.points.forEach(S=>{(S.dataLabels||[]).forEach(g=>{var p;let v=g.dataLabelPosition;v?(v.sideOverflow&&(g.css({width:Math.max(g.getBBox().width-v.sideOverflow,0)+"px",textOverflow:(((p=g.options)==null?void 0:p.style)||{}).textOverflow||"ellipsis"}),g.shortened=!0),g.attr(v.attribs),g[g.moved?"animate":"attr"](v.posAttribs),g.moved=!0):g&&g.attr({y:-9999})}),delete S.distributeBox},this)}function P(S){let g=this.center,v=this.options,p=v.center,a=v.minSize||80,o=a,u=v.size!==null;return!u&&(p[0]!==null?o=Math.max(g[2]-Math.max(S[1],S[3]),a):(o=Math.max(g[2]-S[1]-S[3],a),g[0]+=(S[3]-S[1])/2),p[1]!==null?o=Y(o,a,g[2]-Math.max(S[0],S[2])):(o=Y(o,a,g[2]-S[0]-S[2]),g[1]+=(S[0]-S[2])/2),o<g[2]?(g[2]=o,g[3]=Math.min(v.thickness?Math.max(0,o-2*v.thickness):Math.max(0,L(v.innerSize||0,o)),o),this.translate(g),this.drawDataLabels&&this.drawDataLabels()):u=!0),u}j.compose=function(S){if(t.compose(Z),T(K,"PieDataLabel")){let g=S.prototype;g.dataLabelPositioners=s,g.alignDataLabel=G,g.drawDataLabels=x,g.getDataLabelPosition=c,g.placeDataLabels=N,g.verifyDataLabelOverflow=P}}}($||($={})),$}),r(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,n;return(n=t||(t={})).getCenterOfPoints=function(l){let C=l.reduce((B,$)=>(B.x+=$.x,B.y+=$.y,B),{x:0,y:0});return{x:C.x/l.length,y:C.y/l.length}},n.getDistanceBetweenPoints=function(l,C){return Math.sqrt(Math.pow(C.x-l.x,2)+Math.pow(C.y-l.y,2))}
129,n.getAngleBetweenPoints=function(l,C){return Math.atan2(C.x-l.x,C.y-l.y)},n.pointInPolygon=function({x:l,y:C},B){let $=B.length,K,G,q=!1;for(K=0,G=$-1;K<$;G=K++){let[Z,R]=B[K],[Y,V]=B[G];R>C!=V>C&&l<(Y-Z)*(C-R)/(V-R)+Z&&(q=!q)}return q},t}),r(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,n){let{pointInPolygon:l}=t,{addEvent:C,fireEvent:B,objectEach:$,pick:K}=n;function G(R){let Y=R.length,V=(N,P)=>!(P.x>=N.x+N.width||P.x+P.width<=N.x||P.y>=N.y+N.height||P.y+P.height<=N.y),H=(N,P)=>{for(let S of N)if(l({x:S[0],y:S[1]},P))return!0;return!1},T,L,j,s,c,x=!1;for(let N=0;N<Y;N++)(T=R[N])&&(T.oldOpacity=T.opacity,T.newOpacity=1,T.absoluteBox=function(P){var S,g;if(P&&(!P.alignAttr||P.placed)){let v=P.box?0:P.padding||0,p=P.alignAttr||{x:P.attr("x"),y:P.attr("y")},a=P.getBBox();return P.width=a.width,P.height=a.height,{x:p.x+(((S=P.parentGroup)==null?void 0:S.translateX)||0)+v,y:p.y+(((g=P.parentGroup)==null?void 0:g.translateY)||0)+v,width:(P.width||0)-2*v,height:(P.height||0)-2*v,polygon:a==null?void 0:a.polygon}}}(T));R.sort((N,P)=>(P.labelrank||0)-(N.labelrank||0));for(let N=0;N<Y;++N){s=(L=R[N])&&L.absoluteBox;let P=s==null?void 0:s.polygon;for(let S=N+1;S<Y;++S){c=(j=R[S])&&j.absoluteBox;let g=!1;if(s&&c&&L!==j&&L.newOpacity!==0&&j.newOpacity!==0&&L.visibility!=="hidden"&&j.visibility!=="hidden"){let v=c.polygon;if(P&&v&&P!==v?H(P,v)&&(g=!0):V(s,c)&&(g=!0),g){let p=L.labelrank<j.labelrank?L:j,a=p.text;p.newOpacity=0,a!=null&&a.element.querySelector("textPath")&&a.hide()}}}}for(let N of R)q(N,this)&&(x=!0);x&&B(this,"afterHideAllOverlappingLabels")}function q(R,Y){let V,H,T=!1;return R&&(H=R.newOpacity,R.oldOpacity!==H&&(R.hasClass("highcharts-data-label")?(R[H?"removeClass":"addClass"]("highcharts-data-label-hidden"),V=function(){Y.styledMode||R.css({pointerEvents:H?"auto":"none"})},T=!0,R[R.isOld?"animate":"attr"]({opacity:H},void 0,V),B(Y,"afterHideOverlappingLabel")):R.attr({opacity:H})),R.isOld=!0),T}function Z(){var V;let R=this,Y=[];for(let H of R.labelCollectors||[])Y=Y.concat(H());for(let H of R.yAxis||[])H.stacking&&H.options.stackLabels&&!H.options.stackLabels.allowOverlap&&$(H.stacking.stacks,T=>{$(T,L=>{L.label&&Y.push(L.label)})});for(let H of R.series||[])if(H.visible&&((V=H.hasDataLabels)!=null&&V.call(H))){let T=L=>{for(let j of L)j.visible&&(j.dataLabels||[]).forEach(s=>{var x;let c=s.options||{};s.labelrank=K(c.labelrank,j.labelrank,(x=j.shapeArgs)==null?void 0:x.height),c.allowOverlap??Number(c.distance)>0?(s.oldOpacity=s.opacity,s.newOpacity=1,q(s,R)):Y.push(s)})};T(H.nodes||[]),T(H.points)}this.hideOverlappingLabels(Y)}return{compose:function(R){let Y=R.prototype;Y.hideOverlappingLabels||(Y.hideOverlappingLabels=G,C(R,"render",Z))}}}
vendor: 3,895 bytes, line 129
129),r(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{defaultOptions:C}=t,{noop:B}=n,{addEvent:$,extend:K,isObject:G,merge:q,relativeLength:Z}=l,R={radius:0,scope:"stack",where:void 0},Y=B,V=B;function H(c,x,N,P,S={}){let g=Y(c,x,N,P,S),{innerR:v=0,r:p=N,start:a=0,end:o=0}=S;if(S.open||!S.borderRadius)return g;let u=o-a,d=Math.sin(u/2),h=Math.max(Math.min(Z(S.borderRadius||0,p-v),(p-v)/2,p*d/(1+d)),0),m=Math.min(h,u/Math.PI*2*v),f=g.length-1;for(;f--;)(function(y,I,E){let M,D,F,X=y[I],_=y[I+1];if(_[0]==="Z"&&(_=y[0]),(X[0]==="M"||X[0]==="L")&&_[0]==="A"?(M=X,D=_,F=!0):X[0]==="A"&&(_[0]==="M"||_[0]==="L")&&(M=_,D=X),M&&D&&D.params){let w=D[1],A=D[5],U=D.params,{start:b,end:k,cx:O,cy:z}=U,W=A?w-E:w+E,Q=W?Math.asin(E/W):0,ee=A?Q:-Q,se=Math.cos(Q)*W;F?(U.start=b+ee,M[1]=O+se*Math.cos(b),M[2]=z+se*Math.sin(b),y.splice(I+1,0,["A",E,E,0,0,1,O+w*Math.cos(U.start),z+w*Math.sin(U.start)])):(U.end=k-ee,D[6]=O+w*Math.cos(U.end),D[7]=z+w*Math.sin(U.end),y.splice(I+1,0,["A",E,E,0,0,1,O+se*Math.cos(k),z+se*Math.sin(k)])),D[4]=Math.abs(U.end-U.start)<Math.PI?0:1}})(g,f,f>1?m:h);return g}function T(){var c,x;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:N,yAxis:P}=this,S=N.stacking==="percent",g=(x=(c=C.plotOptions)==null?void 0:c[this.type])==null?void 0:x.borderRadius,v=L(N.borderRadius,G(g)?g:{}),p=P.options.reversed;for(let a of this.points){let{shapeArgs:o}=a;if(a.shapeType==="roundedRect"&&o){let{width:u=0,height:d=0,y:h=0}=o,m=h,f=d;if(v.scope==="stack"&&a.stackTotal){let M=P.translate(S?100:a.stackTotal,!1,!0,!1,!0),D=P.translate(N.threshold||0,!1,!0,!1,!0),F=this.crispCol(0,Math.min(M,D),0,Math.abs(M-D));m=F.y,f=F.height}let y=(a.negative?-1:1)*(p?-1:1)==-1,I=v.where;!I&&this.is("waterfall")&&Math.abs((a.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(I="all"),I||(I="end");let E=Math.min(Z(v.radius,u),u/2,I==="all"?d/2:1/0)||0;I==="end"&&(y&&(m-=E),f+=E),K(o,{brBoxHeight:f,brBoxY:m,r:E})}}}}function L(c,x){return G(c)||(c={radius:c||0}),q(R,x,c)}function j(){let c=L(this.options.borderRadius);for(let x of this.points){let N=x.shapeArgs;N&&(N.borderRadius=Z(c.radius,(N.r||0)-(N.innerR||0)))}}function s(c,x,N,P,S={}){let g=V(c,x,N,P,S),{r:v=0,brBoxHeight:p=P,brBoxY:a=x}=S,o=x-a,u=a+p-(x+P),d=o-v>-.1?0:v,h=u-v>-.1?0:v,m=Math.max(d&&o,0),f=Math.max(h&&u,0),y=[c+d,x],I=[c+N-d,x],E=[c+N,x+d],M=[c+N,x+P-h],D=[c+N-h,x+P],F=[c+h,x+P],X=[c,x+P-h],_=[c,x+d],w=(A,U)=>Math.sqrt(Math.pow(A,2)-Math.pow(U,2));if(m){let A=w(d,d-m);y[0]-=A,I[0]+=A,E[1]=_[1]=x+d-m}if(P<d-m){let A=w(d,d-m-P);E[0]=M[0]=c+N-d+A,D[0]=Math.min(E[0],D[0]),F[0]=Math.max(M[0],F[0]),X[0]=_[0]=c+d-A,E[1]=_[1]=x+P}if(f){let A=w(h,h-f);D[0]+=A,F[0]-=A,M[1]=X[1]=x+P-h+f}if(P<h-f){let A=w(h,h-f-P);E[0]=M[0]=c+N-h+A,I[0]=Math.min(E[0],I[0]),y[0]=Math.max(M[0],y[0]),X[0]=_[0]=c+h-A,M[1]=X[1]=x}return g.length=0,g.push(["M",...y],["L",...I],["A",d,d,0,0,1,...E],["L",...M],["A",h,h,0,0,1,...D],["L",...F],["A",h,h,0,0,1,...X],["L",..._],["A",d,d,0,0,1,...y],["Z"]),g}return{compose:function(c,x,N){let P=c.types.pie;if(!x.symbolCustomAttribs.includes("borderRadius")){let S=N.prototype.symbols;$(c,"afterColumnTranslate",T,{order:9}),$(P,"afterTranslate",j),x.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Y=S.arc,V=S.roundedRect,S.arc=H,S.roundedRect=s}},optionsToObject:L}}),r(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var n;let{diffObjects:l,extend:C,find:B,merge:$,pick:K,uniqueKey:G}=t;return function(q){function Z(Y,V){let H=Y.condition;(H.callback||function(){return this.chartWidth<=K(H.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=K(H.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=K(H.minWidth,0)&&this.chartHeight>=K(H.minHeight,0)}).call(this)&&V.push(Y._id)}function R(Y,V){let H=this.options.responsive,T=this.currentResponsive,L=[],j;
129!V&&H&&H.rules&&H.rules.forEach(x=>{x._id===void 0&&(x._id=G()),this.matchResponsiveRule(x,L)},this);let s=$(...L.map(x=>B((H||{}).rules||[],N=>N._id===x)).map(x=>x&&x.chartOptions));s.isResponsiveOptions=!0,L=L.toString()||void 0;let c=T&&T.ruleIds;L===c||(T&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(T.undoOptions,Y,!0),this.updatingResponsive=!1),L?((j=l(s,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:L,mergedOptions:s,undoOptions:j},this.updatingResponsive||this.update(s,Y,!0)):this.currentResponsive=void 0)}q.compose=function(Y){let V=Y.prototype;return V.matchResponsiveRule||C(V,{matchResponsiveRule:Z,setResponsive:R}),Y}}(n||(n={})),n}),r(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/
129BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j,s,c,x,N,P,S,g,v,p,a,o,u,d,h,m,f,y,I,E){return t.AST=$,t.Axis=V,t.Chart=S,t.Color=I,t.DataLabel=h,t.Fx=C,t.HTMLElement=Y,t.Legend=N,t.LegendSymbol=P,t.OverlappingDataLabels=t.OverlappingDataLabels||m,t.PlotLineOrBand=L,t.Point=c,t.Pointer=x,t.RendererRegistry=G,t.Series=a,t.SeriesRegistry=o,t.StackItem=p,t.SVGElement=Z,t.SVGRenderer=R,t.Templating=K,t.Tick=j,t.Time=E,t.Tooltip=s,t.animate=B.animate,t.animObject=B.animObject,t.chart=S.chart,t.color=I.parse,t.dateFormat=K.dateFormat,t.defaultOptions=l.defaultOptions,t.distribute=q.distribute,t.format=K.format,t.getDeferredAnimation=B.getDeferredAnimation,t.getOptions=l.getOptions,t.numberFormat=K.numberFormat,t.seriesType=o.seriesType,t.setAnimation=B.setAnimation,t.setOptions=l.setOptions,t.stop=B.stop,t.time=l.defaultTime,t.timers=C.timers,f.compose(t.Series,t.SVGElement,t.SVGRenderer),u.compose(t.Series.types.column),h.compose(t.Series),H.compose(t.Axis),Y.compose(t.SVGRenderer),N.compose(t.Chart),T.compose(t.Axis),m.compose(t.Chart),d.compose(t.Series.types.pie),L.compose(t.Chart,t.Axis),x.compose(t.Chart),y.compose(t.Chart),g.compose(t.Axis,t.Chart,t.Series),v.compose(t.Axis,t.Chart,t.Series),s.compose(t.Pointer),n.extend(t,n),t}),r(e,"Core/Axis/Color/ColorAxisComposition.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(t,n){var l;let{parse:C}=t,{addEvent:B,extend:$,merge:K,pick:G,splat:q}=n;return function(Z){let R;function Y(){let{userOptions:P}=this;this.colorAxis=[],P.colorAxis&&(P.colorAxis=q(P.colorAxis),P.colorAxis.map(S=>new R(this,S)))}function V(P){let S=this.chart.colorAxis||[],g=o=>{let u=P.allItems.indexOf(o);u!==-1&&(this.destroyItem(P.allItems[u]),P.allItems.splice(u,1))},v=[],p,a;for(S.forEach(function(o){(p=o.options)&&p.showInLegend&&(p.dataClasses&&p.visible?v=v.concat(o.getDataClassLegendSymbols()):p.visible&&v.push(o),o.series.forEach(function(u){(!u.options.showInLegend||p.dataClasses)&&(u.options.legendType==="point"?u.points.forEach(function(d){g(d)}):g(u))}))}),a=v.length;a--;)P.allItems.unshift(v[a])}function H(P){P.visible&&P.item.legendColor&&P.item.legendItem.symbol.attr({fill:P.item.legendColor})}function T(P){var S;(S=this.chart.colorAxis)==null||S.forEach(g=>{g.update({},P.redraw)})}function L(){(this.chart.colorAxis&&this.chart.colorAxis.length||this.colorAttribs)&&this.translateColors()}function j(){let P=this.axisTypes;P?P.indexOf("colorAxis")===-1&&P.push("colorAxis"):this.axisTypes=["colorAxis"]}function s(P){let S=this,g=P?"show":"hide";S.visible=S.options.visible=!!P,["graphic","dataLabel"].forEach(function(v){S[v]&&S[v][g]()}),this.series.buildKDTree()}function c(){let P=this,S=this.getPointsCollection(),g=this.options.nullColor,v=this.colorAxis,p=this.colorKey;S.forEach(a=>{let o=a.getNestedProperty(p),u=a.options.color||(a.isNull||a.value===null?g:v&&o!==void 0?v.toColor(o,a):a.color||P.color);u&&a.color!==u&&(a.color=u,P.options.legendType==="point"&&a.legendItem&&a.legendItem.label&&P.chart.legend.colorizeItem(a,a.visible))})}function x(){this.elem.attr("fill",C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}function N(){this.elem.attr("stroke",C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}Z.compose=function(P,S,g,v,p){let a=S.prototype,o=g.prototype,u=p.prototype;a.collectionsWithUpdate.includes("colorAxis")||(R=P,a.collectionsWithUpdate.push("colorAxis"),a.collectionsWithInit.colorAxis=[a.addColorAxis],B(S,"afterGetAxes",Y),function(d){let h=d.prototype.createAxis;d.prototype.createAxis=function(m,f){if(m!=="colorAxis")return h.apply(this,arguments);let y=new R(this,K(f.axis,{index:this[m].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(I=>{I.series=[]}),this.series.forEach(I=>{I.bindAxes(),I.isDirtyData=!0}),G(f.redraw,!0)&&this.redraw(f.animation),y}}(S),o.fillSetter=x,o.strokeSetter=N,B(v,"afterGetAllItems",V),B(v,"afterColorizeItem",H),B(v,"afterUpdate",T),$(u,{optionalAxis:"colorAxis",translateColors:c}),$(u.pointClass.prototype,{setVisible:s}),B(p,"afterTranslate",L,{order:1}),B(p,"bindAxes",j))},Z.pointSetVisible=s}(l||(l={})),l}),r(e,"Core/Axis/Color/ColorAxisDefaults.js",[],function(){return{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"#ffffff",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},width:.01,color:"#999999"},labels:{distance:8,overflow:"justify",rotation:0},minColor:"#e6e9ff",maxColor:"#0022ff",tickLength:5,showInLegend:!0}}),r(e,"Core/Axis/Color/ColorAxisLike.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(t,n){var l,C;let{parse:B}=t,{merge:$}=n;return(C=l||(l={})).initDataClasses=function(K){let G=this.chart,q=this.legendItem=this.legendItem||{},Z=this.options,R=K.dataClasses||[],Y,V,H=G.options.chart.colorCount,T=0,L;this.dataClasses=V=[],q.labels=[];for(let j=0,s=R.length;j<s;++j)Y=$(Y=R[j]),V.push(Y),(G.styledMode||!Y.color)&&(Z.dataClassColor==="category"?(G.styledMode||(H=(L=G.options.colors||[]).length,Y.color=L[T]),Y.colorIndex=T,++T===H&&(T=0)):Y.color=B(Z.minColor).tweenTo(B(Z.maxColor),s<2?.5:j/(s-1)))},C.initStops=function(){let K=this.options,G=this.stops=K.stops||[[0,K.minColor||""],[1,K.maxColor||""]];for(let q=0,Z=G.length;q<Z;++q)G[q].color=B(G[q][1])},C.normalizedValue=function(K){let G=this.max||0,q=this.min||0;return this.logarithmic&&(K=this.logarithmic.log2lin(K)),1-(G-K)/(G-q||1)},C.toColor=function(K,G){let q,Z,R,Y,V,H,T=this.dataClasses,L=this.stops;if(T){for(H=T.length;H--;
129)if(Z=(V=T[H]).from,R=V.to,(Z===void 0||K>=Z)&&(R===void 0||K<=R)){Y=V.color,G&&(G.dataClass=H,G.colorIndex=V.colorIndex);break}}else{for(q=this.normalizedValue(K),H=L.length;H--&&!(q>L[H][0]););Z=L[H]||L[H+1],q=1-((R=L[H+1]||Z)[0]-q)/(R[0]-Z[0]||1),Y=Z.color.tweenTo(R.color,q)}return Y},l}),r(e,"Core/Axis/Color/ColorAxis.js",[e["Core/Axis/Axis.js"],e["Core/Axis/Color/ColorAxisComposition.js"],e["Core/Axis/Color/ColorAxisDefaults.js"],e["Core/Axis/Color/ColorAxisLike.js"],e["Core/Defaults.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{defaultOptions:q}=B,{series:Z}=K,{defined:R,extend:Y,fireEvent:V,isArray:H,isNumber:T,merge:L,pick:j,relativeLength:s}=G;q.colorAxis=L(q.xAxis,l);class c extends t{static compose(N,P,S,g){n.compose(c,N,P,S,g)}constructor(N,P){super(N,P),this.coll="colorAxis",this.visible=!0,this.init(N,P)}init(N,P){let S=N.options.legend||{},g=P.layout?P.layout!=="vertical":S.layout!=="vertical";this.side=P.side||g?2:1,this.reversed=P.reversed||!g,this.opposite=!g,super.init(N,P,"colorAxis"),this.userOptions=P,H(N.userOptions.colorAxis)&&(N.userOptions.colorAxis[this.index]=P),P.dataClasses&&this.initDataClasses(P),this.initStops(),this.horiz=g,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(N){let P=L(q.colorAxis,N,{showEmpty:!1,title:null,visible:this.chart.options.legend.enabled&&N.visible!==!1});super.setOptions(P),this.options.crosshair=this.options.marker}setAxisSize(){var v;let N=this.chart,P=(v=this.legendItem)==null?void 0:v.symbol,{width:S,height:g}=this.getSize();P&&(this.left=+P.attr("x"),this.top=+P.attr("y"),this.width=S=+P.attr("width"),this.height=g=+P.attr("height"),this.right=N.chartWidth-this.left-S,this.bottom=N.chartHeight-this.top-g,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?S:g)||c.defaultLegendLength}getOffset(){var S;let N=(S=this.legendItem)==null?void 0:S.group,P=this.chart.axisOffset[this.side];if(N){this.axisParent=N,super.getOffset();let g=this.chart.legend;g.allItems.forEach(function(v){v instanceof c&&v.drawLegendSymbol(g,v)}),g.render(),this.chart.getMargins(!0),this.chart.series.some(v=>v.isDrilling)||(this.isDirty=!0),this.added||(this.added=!0,this.labelLeft=0,this.labelRight=this.width),this.chart.axisOffset[this.side]=P}}setLegendColor(){let N=this.horiz,P=this.reversed,S=P?1:0,g=P?0:1,v=N?[S,0,g,0]:[0,g,0,S];this.legendColor={linearGradient:{x1:v[0],y1:v[1],x2:v[2],y2:v[3]},stops:this.stops}}drawLegendSymbol(N,P){let S=P.legendItem||{},g=N.padding,v=N.options,p=this.options.labels,a=j(v.itemDistance,10),o=this.horiz,{width:u,height:d}=this.getSize(),h=j(v.labelPadding,o?16:30);this.setLegendColor(),S.symbol||(S.symbol=this.chart.renderer.symbol("roundedRect").attr({r:v.symbolRadius??3,zIndex:1}).add(S.group)),S.symbol.attr({x:0,y:(N.baseline||0)-11,width:u,height:d}),S.labelWidth=u+g+(o?a:j(p.x,p.distance)+(this.maxLabelLength||0)),S.labelHeight=d+g+(o?h:0)}setState(N){this.series.forEach(function(P){P.setState(N)})}setVisible(){}getSeriesExtremes(){let N=this.series,P,S,g,v,p,a,o=N.length,u,d;for(this.dataMin=1/0,this.dataMax=-1/0;o--;){if(S=(a=N[o]).colorKey=j(a.options.colorKey,a.colorKey,a.pointValKey,a.zoneAxis,"y"),v=a.pointArrayMap,p=a[S+"Min"]&&a[S+"Max"],a[S+"Data"])P=a[S+"Data"];else if(v){if(P=[],g=v.indexOf(S),u=a.yData,g>=0&&u)for(d=0;d<u.length;d++)P.push(j(u[d][g],u[d]))}else P=a.yData;if(p)a.minColorValue=a[S+"Min"],a.maxColorValue=a[S+"Max"];else{let h=Z.prototype.getExtremes.call(a,P);a.minColorValue=h.dataMin,a.maxColorValue=h.dataMax}R(a.minColorValue)&&R(a.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,a.minColorValue),this.dataMax=Math.max(this.dataMax,a.maxColorValue)),p||Z.prototype.applyExtremes.call(a)}}drawCrosshair(N,P){let S,g=this.legendItem||{},v=P&&P.plotX,p=P&&P.plotY,a=this.pos,o=this.len;P&&((S=this.toPixels(P.getNestedProperty(P.series.colorKey)))<a?S=a-2:S>a+o&&(S=a+o+2),P.plotX=S,P.plotY=this.len-S,super.drawCrosshair(N,P),P.plotX=v,P.plotY=p,this.cross&&!this.cross.addedToColorAxis&&g.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(g.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||typeof this.crosshair!="object"||this.cross.attr({fill:this.crosshair.color})))}getPlotLinePath(N){let P=this.left,S=N.translatedValue,g=this.top;return T(S)?this.horiz?[["M",S-4,g-6],["L",S+4,g-6],["L",S,g],["Z"]]:[["M",P,S],["L",P-6,S+6],["L",P-6,S-6],["Z"]]:super.getPlotLinePath(N)}update(N,P){let S=this.chart.legend;
129this.series.forEach(g=>{g.isDirtyData=!0}),(N.dataClasses&&S.allItems||this.dataClasses)&&this.destroyItems(),super.update(N,P),this.legendItem&&this.legendItem.label&&(this.setLegendColor(),S.colorizeItem(this,!0))}destroyItems(){let N=this.chart,P=this.legendItem||{};if(P.label)N.legend.destroyItem(this);else if(P.labels)for(let S of P.labels)N.legend.destroyItem(S);N.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(N){this.destroyItems(),super.remove(N)}getDataClassLegendSymbols(){let N,P=this,S=P.chart,g=P.legendItem&&P.legendItem.labels||[],v=S.options.legend,p=j(v.valueDecimals,-1),a=j(v.valueSuffix,""),o=u=>P.series.reduce((d,h)=>(d.push(...h.points.filter(m=>m.dataClass===u)),d),[]);return g.length||P.dataClasses.forEach((u,d)=>{let h=u.from,m=u.to,{numberFormatter:f}=S,y=!0;N="",h===void 0?N="< ":m===void 0&&(N="> "),h!==void 0&&(N+=f(h,p)+a),h!==void 0&&m!==void 0&&(N+=" - "),m!==void 0&&(N+=f(m,p)+a),g.push(Y({chart:S,name:N,options:{},drawLegendSymbol:$.rectangle,visible:!0,isDataClass:!0,setState:I=>{for(let E of o(d))E.setState(I)},setVisible:function(){this.visible=y=P.visible=!y;let I=[];for(let E of o(d))E.setVisible(y),E.hiddenInDataClass=!y,I.indexOf(E.series)===-1&&I.push(E.series);S.legend.colorizeItem(this,y),I.forEach(E=>{V(E,"afterDataClassLegendClick")})}},u))}),g}getSize(){let{chart:N,horiz:P}=this,{height:S,width:g}=this.options,{legend:v}=N.options;return{width:j(R(g)?s(g,N.chartWidth):void 0,v==null?void 0:v.symbolWidth,P?c.defaultLegendLength:12),height:j(R(S)?s(S,N.chartHeight):void 0,v==null?void 0:v.symbolHeight,P?12:c.defaultLegendLength)}}}return c.defaultLegendLength=200,c.keepProps=["legendItem"],Y(c.prototype,C),Array.prototype.push.apply(t.keepProps,c.keepProps),c}),r(e,"masters/modules/coloraxis.src.js",[e["Core/Globals.js"],e["Core/Axis/Color/ColorAxis.js"]],function(t,n){return t.ColorAxis=t.ColorAxis||n,t.ColorAxis.compose(t.Chart,t.Fx,t.Legend,t.Series),t}),r(e,"Maps/MapNavigationDefaults.js",[],function(){return{lang:{zoomIn:"Zoom in",zoomOut:"Zoom out"},mapNavigation:{buttonOptions:{alignTo:"plotBox",align:"left",verticalAlign:"top",x:0,width:18,height:18,padding:5,style:{color:"#666666",fontSize:"1em",fontWeight:"bold"},theme:{fill:"#ffffff",stroke:"#e6e6e6","stroke-width":1,"text-align":"center"}},buttons:{zoomIn:{onclick:function(){this.mapZoom(.5)},text:"+",y:0},zoomOut:{onclick:function(){this.mapZoom(2)},text:"-",y:28}},mouseWheelSensitivity:1.1}}}),r(e,"Maps/MapPointer.js",[e["Core/Utilities.js"]],function(t){var n;let{defined:l,extend:C,pick:B,wrap:$}=t;return function(K){let G,q=0;function Z(H){let T=this.chart;H=this.normalize(H),T.options.mapNavigation.enableDoubleClickZoomTo?T.pointer.inClass(H.target,"highcharts-tracker")&&T.hoverPoint&&T.hoverPoint.zoomTo():T.isInsidePlot(H.chartX-T.plotLeft,H.chartY-T.plotTop)&&T.mapZoom(.5,void 0,void 0,H.chartX,H.chartY)}function R(H){let T=this.chart,L=l((H=this.normalize(H)).wheelDelta)&&-H.wheelDelta/120||H.deltaY||H.detail;Math.abs(L)>=1&&(q+=Math.abs(L),G&&clearTimeout(G),G=setTimeout(()=>{q=0},50)),q<10&&T.isInsidePlot(H.chartX-T.plotLeft,H.chartY-T.plotTop)&&T.mapView&&T.mapView.zoomBy(-((T.options.mapNavigation.mouseWheelSensitivity-1)*L),void 0,[H.chartX,H.chartY],!(1>Math.abs(L))&&void 0)}function Y(H,T,L){let j=this.chart;if(T=H.call(this,T,L),j&&j.mapView){let s=j.mapView.pixelsToLonLat({x:T.chartX-j.plotLeft,y:T.chartY-j.plotTop});s&&C(T,s)}return T}function V(H){let T=this.chart.options.mapNavigation;T&&B(T.enableTouchZoom,T.enabled)&&(this.chart.zooming.pinchType="xy"),H.apply(this,[].slice.call(arguments,1))}K.compose=function(H){let T=H.prototype;T.onContainerDblClick||(C(T,{onContainerDblClick:Z,onContainerMouseWheel:R}),$(T,"normalize",Y),$(T,"zoomOption",V))}}(n||(n={})),n}),r(e,"Maps/MapSymbols.js",[],function(){let t;function n(C,B,$,K,G){if(G){let q=(G==null?void 0:G.r)||0;G.brBoxY=B-q,G.brBoxHeight=K+q}return t.roundedRect(C,B,$,K,G)}function l(C,B,$,K,G){if(G){let q=(G==null?void 0:G.r)||0;G.brBoxHeight=K+q}return t.roundedRect(C,B,$,K,G)}return{compose:function(C){(t=C.prototype.symbols).bottombutton=n,t.topbutton=l}}}),r(e,"Maps/MapNavigation.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Maps/MapNavigationDefaults.js"],e["Maps/MapPointer.js"],e["Maps/MapSymbols.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{setOptions:K}=t,{composed:G}=n,{addEvent:q,extend:Z,merge:R,objectEach:Y,pick:V,pushUnique:H}=$;function T(j){j&&(j.preventDefault&&j.preventDefault(),j.stopPropagation&&j.stopPropagation(),j.cancelBubble=!0)}class L{static compose(s,c,x){C.compose(c),B.compose(x),H(G,"Map.Navigation")&&(q(s,"beforeRender",function(){this.mapNavigation=new L(this),this.mapNavigation.update()}),K(l))}constructor(s){this.chart=s,this.navButtons=[]}update(s){let c=this,x=c.chart,N=c.navButtons,P=function(g){this.handler.call(x,g),T(g)},S=x.options.mapNavigation;for(s&&(S=x.options.mapNavigation=R(x.options.mapNavigation,s));N.length;)N.pop().destroy();if(!x.renderer.forExport&&V(S.enableButtons,S.enabled)){c.navButtonsGroup||(c.navButtonsGroup=x.renderer.g().attr({zIndex:7}).add()),Y(S.buttons,(v,p)=>{var f;let a={padding:(v=R(S.buttonOptions,v)).padding};!x.styledMode&&v.theme&&(Z(a,v.theme),a.style=R(v.theme.style,v.style));let{text:o,width:u=0,height:d=0,padding:h=0}=v,m=x.renderer.button(o!=="+"&&o!=="-"&&o||"",0,0,P,a,void 0,void 0,void 0,p==="zoomIn"?"topbutton":"bottombutton").addClass("highcharts-map-navigation highcharts-"+{zoomIn:"zoom-in",zoomOut:"zoom
129-out"}[p]).attr({width:u,height:d,title:x.options.lang[p],zIndex:5}).add(c.navButtonsGroup);if(o==="+"||o==="-"){let y=u+1,I=[["M",h+3,h+d/2],["L",h+y-3,h+d/2]];o==="+"&&I.push(["M",h+y/2,h+3],["L",h+y/2,h+d-3]),x.renderer.path(I).addClass("highcharts-button-symbol").attr(x.styledMode?{}:{stroke:(f=v.style)==null?void 0:f.color,"stroke-width":3,"stroke-linecap":"round"}).add(m)}if(m.handler=v.onclick,q(m.element,"dblclick",T),N.push(m),Z(v,{width:m.width,height:2*(m.height||0)}),x.hasLoaded)m.align(v,!1,v.alignTo);else{let y=q(x,"load",()=>{m.element&&m.align(v,!1,v.alignTo),y()})}});let g=(v,p)=>!(p.x>=v.x+v.width||p.x+p.width<=v.x||p.y>=v.y+v.height||p.y+p.height<=v.y);x.hasLoaded||q(x,"render",function(){let v=x.exportingGroup&&x.exportingGroup.getBBox();if(v){let p=c.navButtonsGroup.getBBox();if(g(v,p)){let a=-p.y-p.height+v.y-5,o=v.y+v.height-p.y+5,u=S.buttonOptions&&S.buttonOptions.verticalAlign;c.navButtonsGroup.attr({translateY:u==="bottom"?a:o})}}})}this.updateEvents(S)}updateEvents(s){let c=this.chart;V(s.enableDoubleClickZoom,s.enabled)||s.enableDoubleClickZoomTo?this.unbindDblClick=this.unbindDblClick||q(c.container,"dblclick",function(x){c.pointer.onContainerDblClick(x)}):this.unbindDblClick&&(this.unbindDblClick=this.unbindDblClick()),V(s.enableMouseWheelZoom,s.enabled)?this.unbindMouseWheel=this.unbindMouseWheel||q(c.container,"wheel",function(x){return c.pointer.inClass(x.target,"highcharts-no-mousewheel")||(c.pointer.onContainerMouseWheel(x),T(x)),!1}):this.unbindMouseWheel&&(this.unbindMouseWheel=this.unbindMouseWheel())}}return L}),r(e,"Series/ColorMapComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{column:{prototype:B}}=t.seriesTypes,{addEvent:$,defined:K}=l;return function(G){function q(Z){let R=this.series,Y=R.chart.renderer;this.moveToTopOnHover&&this.graphic&&(R.stateMarkerGraphic||(R.stateMarkerGraphic=new n(Y,"use").css({pointerEvents:"none"}).add(this.graphic.parentGroup)),(Z==null?void 0:Z.state)==="hover"?(this.graphic.attr({id:this.id}),R.stateMarkerGraphic.attr({href:`${Y.url}#${this.id}`,visibility:"visible"})):R.stateMarkerGraphic.attr({href:""}))}G.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return this.value!==null&&this.value!==1/0&&this.value!==-1/0&&(this.value===void 0||!isNaN(this.value))}},G.seriesMembers={colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(Z){let R={};return K(Z.color)&&(!Z.state||Z.state==="normal")&&(R[this.colorProp||"fill"]=Z.color),R},pointAttribs:B.pointAttribs},G.compose=function(Z){return $(Z.prototype.pointClass,"afterSetState",q),Z}}(C||(C={})),C}),r(e,"Core/Chart/MapChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{getOptions:$}=n,{isNumber:K,merge:G,pick:q}=C;class Z extends t{init(Y,V){let H=$().credits,T=G({chart:{panning:{enabled:!0,type:"xy"},type:"map"},credits:{mapText:q(H.mapText,' \xA9 <a href="{geojson.copyrightUrl}">{geojson.copyrightShort}</a>'),mapTextFull:q(H.mapTextFull,"{geojson.copyright}")},mapView:{},tooltip:{followTouchMove:!1}},Y);super.init(T,V)}mapZoom(Y,V,H,T,L){this.mapView&&(K(Y)&&(Y=Math.log(Y)/Math.log(.5)),this.mapView.zoomBy(Y,K(V)&&K(H)?this.mapView.projection.inverse([V,H]):void 0,K(T)&&K(L)?[T,L]:void 0))}update(Y){var V;Y.chart&&"map"in Y.chart&&((V=this.mapView)==null||V.recommendMapView(this,[Y.chart.map,...(this.options.series||[]).map(H=>H.mapData)],!0)),super.update.apply(this,arguments)}}return(B=Z||(Z={})).maps={},B.mapChart=function(R,Y,V){return new B(R,Y,V)},B.splitPath=function(R){let Y;return Y=typeof R=="string"?(R=R.replace(/([A-Z])/gi," $1 ").replace(/^\s*/,"").replace(/\s*$/,"")).split(/[ ,;]+/).map(V=>/[A-Z]/i.test(V)?V:parseFloat(V)):R,l.prototype.pathToSegments(Y)},Z}),r(e,"Maps/MapUtilities.js",[],function(){return{boundsFromPath:function(t){let n=-Number.MAX_VALUE,l=Number.MAX_VALUE,C=-Number.MAX_VALUE,B=Number.MAX_VALUE,$;if(t.forEach(K=>{let G=K[K.length-2],q=K[K.length-1];typeof G=="number"&&typeof q=="number"&&(l=Math.min(l,G),n=Math.max(n,G),B=Math.min(B,q),C=Math.max(C,q),$=!0)}),$)return{x1:l,y1:B,x2:n,y2:C}}}}),r(e,"Series/Map/MapPoint.js",[e["Series/ColorMapComposition.js"],e["Maps/MapUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{boundsFromPath:B}=n,$=l.seriesTypes.scatter.prototype.pointClass,{extend:K,isNumber:G,pick:q}=C;class Z extends ${static getProjectedPath(Y,V){return Y.projectedPath||(V&&Y.geometry?(V.hasCoordinates=!0,Y.projectedPath=V.path(Y.geometry)):Y.projectedPath=Y.path),Y.projectedPath||[]}applyOptions(Y,V){let H=this.series,T=super.applyOptions(Y,V),L=H.joinBy;if(H.mapData&&H.mapMap){let j=L[1],s=super.getNestedProperty(j),c=s!==void 0&&H.mapMap[s];c?K(T,xt(ze({}
129,c),{name:T.name??c.name})):H.pointArrayMap.indexOf("value")!==-1&&(T.value=T.value||null)}return T}getProjectedBounds(Y){let V=B(Z.getProjectedPath(this,Y)),H=this.properties,T=this.series.chart.mapView;if(V){let L=H&&H["hc-middle-lon"],j=H&&H["hc-middle-lat"];if(T&&G(L)&&G(j)){let s=Y.forward([L,j]);V.midX=s[0],V.midY=s[1]}else{let s=H&&H["hc-middle-x"],c=H&&H["hc-middle-y"];V.midX=V.x1+(V.x2-V.x1)*q(this.middleX,G(s)?s:.5);let x=q(this.middleY,G(c)?c:.5);this.geometry||(x=1-x),V.midY=V.y2-(V.y2-V.y1)*x}return V}}onMouseOver(Y){C.clearTimeout(this.colorInterval),!this.isNull&&this.visible||this.series.options.nullInteraction?super.onMouseOver.call(this,Y):this.series.onMouseOut()}setVisible(Y){this.visible=this.options.visible=!!Y,this.dataLabel&&this.dataLabel[Y?"show":"hide"](),this.graphic&&this.graphic.attr(this.series.pointAttribs(this))}zoomTo(Y){let V=this.series.chart,H=V.mapView,T=this.bounds;if(H&&T){let L=G(this.insetIndex)&&H.insets[this.insetIndex];if(L){let j=L.projectedUnitsToPixels({x:T.x1,y:T.y1}),s=L.projectedUnitsToPixels({x:T.x2,y:T.y2}),c=H.pixelsToProjectedUnits({x:j.x,y:j.y}),x=H.pixelsToProjectedUnits({x:s.x,y:s.y});T={x1:c.x,y1:c.y,x2:x.x,y2:x.y}}H.fitToBounds(T,void 0,!1),this.series.isDirty=!0,V.redraw(Y)}}}return K(Z.prototype,{dataLabelOnNull:t.pointMembers.dataLabelOnNull,moveToTopOnHover:t.pointMembers.moveToTopOnHover,isValid:t.pointMembers.isValid}),Z}),r(e,"Series/Map/MapSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){let{isNumber:n}=t;return{affectsMapView:!0,animation:!1,dataLabels:{crop:!1,formatter:function(){let{numberFormatter:l}=this.series.chart,{value:C}=this.point;return n(C)?l(C,-1):this.point.name},inside:!0,overflow:!1,padding:0,verticalAlign:"middle"},linecap:"round",marker:null,nullColor:"#f7f7f7",stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:"{point.name}: {point.value}<br/>"},turboThreshold:0,allAreas:!0,borderColor:"#e6e6e6",borderWidth:1,joinBy:"hc-key",states:{hover:{halo:void 0,borderColor:"#666666",borderWidth:2},normal:{animation:!0},select:{color:"#cccccc"}},legendSymbol:"rectangle"}}),r(e,"Maps/MapViewDefaults.js",[],function(){return{center:[0,0],fitToGeometry:void 0,maxZoom:void 0,padding:0,projection:{name:void 0,parallels:void 0,rotation:void 0},zoom:void 0,insetOptions:{borderColor:"#cccccc",borderWidth:1,padding:"10%",relativeTo:"mapBoundingBox",units:"percent"}}}),r(e,"Maps/GeoJSONComposition.js",[e["Core/Globals.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{win:B}=t,{format:$}=n,{error:K,extend:G,merge:q,wrap:Z}=l;return function(R){function Y(s){return this.mapView&&this.mapView.lonLatToProjectedUnits(s)}function V(s){return this.mapView&&this.mapView.projectedUnitsToLonLat(s)}function H(s,c){let x=this.options.chart.proj4||B.proj4;if(!x){K(21,!1,this);return}let{jsonmarginX:N=0,jsonmarginY:P=0,jsonres:S=1,scale:g=1,xoffset:v=0,xpan:p=0,yoffset:a=0,ypan:o=0}=c,u=x(c.crs,[s.lon,s.lat]),d=c.cosAngle||c.rotation&&Math.cos(c.rotation),h=c.sinAngle||c.rotation&&Math.sin(c.rotation),m=c.rotation?[u[0]*d+u[1]*h,-u[0]*h+u[1]*d]:u;return{x:((m[0]-v)*g+p)*S+N,y:-(((a-m[1])*g+o)*S-P)}}function T(s,c){let x=this.options.chart.proj4||B.proj4;if(!x){K(21,!1,this);return}if(s.y===null)return;let{jsonmarginX:N=0,jsonmarginY:P=0,jsonres:S=1,scale:g=1,xoffset:v=0,xpan:p=0,yoffset:a=0,ypan:o=0}=c,u={x:((s.x-N)/S-p)/g+v,y:((s.y-P)/S+o)/g+a},d=c.cosAngle||c.rotation&&Math.cos(c.rotation),h=c.sinAngle||c.rotation&&Math.sin(c.rotation),m=x(c.crs,"WGS84",c.rotation?{x:u.x*d+-(u.y*h),y:u.x*h+u.y*d}:u);return{lat:m.y,lon:m.x}}function L(s,c){c||(c=Object.keys(s.objects)[0]);let x=s.objects[c];if(x["hc-decoded-geojson"]&&x["hc-decoded-geojson"].title===s.title)return x["hc-decoded-geojson"];let N=s.arcs;if(s.transform){let p,a,o,u=s.arcs,{scale:d,translate:h}=s.transform;N=[];for(let m=0,f=u.length;m<f;++m){let y=u[m];N.push(p=[]),a=0,o=0;for(let I=0,E=y.length;I<E;++I)p.push([(a+=y[I][0])*d[0]+h[0],(o+=y[I][1])*d[1]+h[1]])}}let P=p=>typeof p[0]=="number"?p.reduce((a,o,u)=>{let d=o<0?N[~o]:N[o];return o<0?(d=d.slice(0,u===0?d.length:d.length-1)).reverse():u&&(d=d.slice(1)),a.concat(d)},[]):p.map(P),S=x.geometries,g=[];for(let p=0,a=S.length;p<a;++p)g.push({type:"Feature",properties:S[p].properties,geometry:{type:S[p].type,coordinates:S[p].coordinates||P(S[p].arcs)}});let v={type:"FeatureCollection",copyright:s.copyright,copyrightShort:s.copyrightShort,copyrightUrl:s.copyrightUrl,features:g,"hc-recommended-mapview":x["hc-recommended-mapview"],bbox:s.bbox,title:s.title};return x["hc-decoded-geojson"]=v,v}function j(s,c){c=q(!0,this.options.credits,c),s.call(this,c),this.credits&&this.mapCreditsFull&&this.credits.attr({title:this.mapCreditsFull})}R.compose=function(s){let c=s.prototype;c.transformFromLatLon||(c.fromLatLonToPoint=Y,c.fromPointToLatLon=V,c.transformFromLatLon=
129H,c.transformToLatLon=T,Z(c,"addCredits",j))},R.geojson=function(s,c="map",x){var g,v;let N=[],P=s.type==="Topology"?L(s):s,S=P.features;for(let p=0,a=S.length;p<a;++p){let o,u=S[p],d=u.geometry||{},h=d.type,m=d.coordinates,f=u.properties;if((c==="map"||c==="mapbubble")&&(h==="Polygon"||h==="MultiPolygon")?m.length&&(o={geometry:{coordinates:m,type:h}}):c==="mapline"&&(h==="LineString"||h==="MultiLineString")?m.length&&(o={geometry:{coordinates:m,type:h}}):c==="mappoint"&&h==="Point"&&m.length&&(o={geometry:{coordinates:m,type:h}}),o){let y=f&&(f.name||f.NAME),I=f&&f.lon,E=f&&f.lat;N.push(G(o,{lat:typeof E=="number"?E:void 0,lon:typeof I=="number"?I:void 0,name:typeof y=="string"?y:void 0,properties:f}))}}return x&&P.copyrightShort&&(x.chart.mapCredits=$((g=x.chart.options.credits)==null?void 0:g.mapText,{geojson:P}),x.chart.mapCreditsFull=$((v=x.chart.options.credits)==null?void 0:v.mapTextFull,{geojson:P})),N},R.topo2geo=L}(C||(C={})),C}),r(e,"Core/Geometry/PolygonClip.js",[],function(){function t(C,B,$=!0){let K=B[B.length-1],G,q,Z,R=C;for(let Y=0;Y<B.length;Y++){let V=R;G=B[Y],R=[],q=$?V[V.length-1]:V[0];for(let H=0;H<V.length;H++)n(K,G,Z=V[H])?(n(K,G,q)||R.push(l(K,G,q,Z)),R.push(Z)):n(K,G,q)&&R.push(l(K,G,q,Z)),q=Z;K=G}return R}function n(C,B,$){return(B[0]-C[0])*($[1]-C[1])>(B[1]-C[1])*($[0]-C[0])}function l(C,B,$,K){let G=[C[0]-B[0],C[1]-B[1]],q=[$[0]-K[0],$[1]-K[1]],Z=C[0]*B[1]-C[1]*B[0],R=$[0]*K[1]-$[1]*K[0],Y=1/(G[0]*q[1]-G[1]*q[0]),V=[(Z*q[0]-R*G[0])*Y,(Z*q[1]-R*G[1])*Y];return V.isIntersection=!0,V}return{clipLineString:function(C,B){let $=[],K=t(C,B,!1);for(let G=1;G<K.length;G++)K[G].isIntersection&&K[G-1].isIntersection&&($.push(K.splice(0,G)),G=0),G===K.length-1&&$.push(K);return $},clipPolygon:t}}),r(e,"Maps/Projections/LambertConformalConic.js",[],function(){let t=Math.sign||(B=>B===0?0:B>0?1:-1),n=Math.PI/180,l=Math.PI/2,C=B=>Math.tan((l+B)/2);return class{constructor(B){let $=(B.parallels||[]).map(R=>R*n),K=$[0]||0,G=$[1]??K,q=Math.cos(K);typeof B.projectedBounds=="object"&&(this.projectedBounds=B.projectedBounds);let Z=K===G?Math.sin(K):Math.log(q/Math.cos(G))/Math.log(C(G)/C(K));1e-10>Math.abs(Z)&&(Z=1e-10*(t(Z)||1)),this.n=Z,this.c=q*Math.pow(C(K),Z)/Z}forward(B){let{c:$,n:K,projectedBounds:G}=this,q=B[0]*n,Z=B[1]*n;$>0?Z<-l+1e-6&&(Z=-l+1e-6):Z>l-1e-6&&(Z=l-1e-6);let R=$/Math.pow(C(Z),K),Y=R*Math.sin(K*q)*63.78137,V=($-R*Math.cos(K*q))*63.78137,H=[Y,V];return G&&(Y<G.x1||Y>G.x2||V<G.y1||V>G.y2)&&(H.outside=!0),H}inverse(B){let{c:$,n:K}=this,G=B[0]/63.78137,q=$-B[1]/63.78137,Z=t(K)*Math.sqrt(G*G+q*q),R=Math.atan2(G,Math.abs(q))*t(q);return q*K<0&&(R-=Math.PI*t(G)*t(q)),[R/K/n,(2*Math.atan(Math.pow($/Z,1/K))-l)/n]}}}),r(e,"Maps/Projections/EqualEarth.js",[],function(){let t=Math.sqrt(3)/2;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-97.52595454902263,y2:97.52595454902263}}forward(n){let l=Math.PI/180,C=Math.asin(t*Math.sin(n[1]*l)),B=C*C,$=B*B*B;return[n[0]*l*Math.cos(C)*74.03120656864502/(t*(1.340264+-.24331799999999998*B+$*(.0062510000000000005+.034164*B))),74.03120656864502*C*(1.340264+-.081106*B+$*(893e-6+.003796*B))]}inverse(n){let l=n[0]/74.03120656864502,C=n[1]/74.03120656864502,B=180/Math.PI,$=C,K,G,q,Z;for(let V=0;V<12&&(G=(K=$*$)*K*K,q=$*(1.340264+-.081106*K+G*(893e-6+.003796*K))-C,$-=Z=q/(1.340264+-.24331799999999998*K+G*(.0062510000000000005+.034164*K)),!(1e-9>Math.abs(Z)));++V);G=(K=$*$)*K*K;let R=B*t*l*(1.340264+-.24331799999999998*K+G*(.0062510000000000005+.034164*K))/Math.cos($),Y=B*Math.asin(Math.sin($)/t);return Math.abs(R)>180?[NaN,NaN]:[R,Y]}}}),r(e,"Maps/Projections/Miller.js",[],function(){let t=Math.PI/4,n=Math.PI/180;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-146.91480769173063,y2:146.91480769173063}}forward(l){return[l[0]*n*63.78137,79.7267125*Math.log(Math.tan(t+.4*l[1]*n))]}inverse(l){return[l[0]/63.78137/n,2.5*(Math.atan(Math.exp(.8*(l[1]/63.78137)))-t)/n]}}}),r(e,"Maps/Projections/Orthographic.js",[],function(){let t=Math.PI/180;return class{constructor(){this.antimeridianCutting=!1,this.bounds={x1:-63.78460826781007,x2:63.78460826781007,y1:-63.78460826781007,y2:63.78460826781007}}forward(n){let l=n[0],C=n[1]*t,B=[Math.cos(C)*Math.sin(l*t)*63.78460826781007,63.78460826781007*Math.sin(C)];return(l<-90||l>90)&&(B.outside=!0),B}inverse(n){let l=n[0]/63.78460826781007,C=n[1]/63.78460826781007,B=Math.sqrt(l*l+C*C),$=Math.asin(B),K=Math.sin($);return[Math.atan2(l*K,B*Math.cos($))/t,Math.asin(B&&C*K/B)/t]}}}),r(e,"Maps/Projections/WebMercator.js",[],function(){let t=Math.PI/180;return class{constructor(){this.bounds={x1:-200.37508342789243,x2:200.37508342789243,y1:-200.3750834278071,y2:200.3750834278071},this.maxLatitude=85.0511287798}forward(n){let l=Math.sin(n[1]*t),C=[63.78137*n[0]*t,63.78137*Math.log((1+l)/(1-l))/2];return Math.abs(n[1])>this.maxLatitude&&(C.outside=!0),C}inverse(n){return[n[0]/(63.78137*t),(2*Math.atan(Math.exp(n[1]/63.78137))-Math.PI/2)/t]}}}),r(e,"Maps/Projections/ProjectionRegistry.js",[e["Maps/Projections/LambertConformalConic.js"],e["Maps/Projections/EqualEarth.js"],e["Maps/Projections/
129Miller.js"],e["Maps/Projections/Orthographic.js"],e["Maps/Projections/WebMercator.js"]],function(t,n,l,C,B){return{EqualEarth:n,LambertConformalConic:t,Miller:l,Orthographic:C,WebMercator:B}}),r(e,"Maps/Projection.js",[e["Core/Geometry/PolygonClip.js"],e["Maps/Projections/ProjectionRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{clipLineString:C,clipPolygon:B}=t,{clamp:$,erase:K}=l,G=2*Math.PI/360,q=V=>(V<-180&&(V+=360),V>180&&(V-=360),V),Z=V=>(1-Math.cos(V))/2,R=(V,H)=>{let T=Math.cos,L=V[1]*G,j=V[0]*G,s=H[1]*G,c=H[0]*G;return Z(s-L)+T(L)*T(s)*Z(c-j)};class Y{static add(H,T){Y.registry[H]=T}static distance(H,T){let{atan2:L,sqrt:j}=Math,s=R(H,T);return 6371e3*(2*L(j(s),j(1-s)))}static geodesic(H,T,L,j=5e5){let{atan2:s,cos:c,sin:x,sqrt:N}=Math,P=Y.distance,S=H[1]*G,g=H[0]*G,v=T[1]*G,p=T[0]*G,a=c(S)*c(g),o=c(v)*c(p),u=c(S)*x(g),d=c(v)*x(p),h=x(S),m=x(v),f=P(H,T),y=f/6371e3,I=x(y),E=Math.round(f/j),M=[];if(L&&M.push(H),E>1){let D=1/E;for(let F=D;F<.999;F+=D){let X=x((1-F)*y)/I,_=x(F*y)/I,w=X*a+_*o,A=X*u+_*d,U=s(X*h+_*m,N(w*w+A*A)),b=s(A,w);M.push([b/G,U/G])}}return L&&M.push(T),M}static insertGeodesics(H){let T=H.length-1;for(;T--;)if(Math.max(Math.abs(H[T][0]-H[T+1][0]),Math.abs(H[T][1]-H[T+1][1]))>10){let L=Y.geodesic(H[T],H[T+1]);L.length&&H.splice(T+1,0,...L)}}static toString(H){let{name:T,rotation:L}=H||{};return[T,L&&L.join(",")].join(";")}constructor(H={}){this.hasCoordinates=!1,this.hasGeoProjection=!1,this.maxLatitude=90,this.options=H;let{name:T,projectedBounds:L,rotation:j}=H;this.rotator=j?this.getRotator(j):void 0;let s=T?Y.registry[T]:void 0;s&&(this.def=new s(H));let{def:c,rotator:x}=this;c&&(this.maxLatitude=c.maxLatitude||90,this.hasGeoProjection=!0),x&&c?(this.forward=N=>c.forward(x.forward(N)),this.inverse=N=>x.inverse(c.inverse(N))):c?(this.forward=N=>c.forward(N),this.inverse=N=>c.inverse(N)):x&&(this.forward=x.forward,this.inverse=x.inverse),this.bounds=L==="world"?c&&c.bounds:L}lineIntersectsBounds(H){let{x1:T,x2:L,y1:j,y2:s}=this.bounds||{},c=(P,S,g)=>{let[v,p]=P,a=S?0:1;if(typeof g=="number"&&v[S]>=g!=p[S]>=g){let o=(g-v[S])/(p[S]-v[S]),u=v[a]+o*(p[a]-v[a]);return S?[u,g]:[g,u]}},x,N=H[0];return((x=c(H,0,T))||(x=c(H,0,L)))&&(N=x,H[1]=x),((x=c(H,1,j))||(x=c(H,1,s)))&&(N=x),N}getRotator(H){let T=H[0]*G,L=(H[1]||0)*G,j=(H[2]||0)*G,s=Math.cos(L),c=Math.sin(L),x=Math.cos(j),N=Math.sin(j);if(T!==0||L!==0||j!==0)return{forward:P=>{let S=P[0]*G+T,g=P[1]*G,v=Math.cos(g),p=Math.cos(S)*v,a=Math.sin(S)*v,o=Math.sin(g),u=o*s+p*c;return[Math.atan2(a*x-u*N,p*s-o*c)/G,Math.asin(u*x+a*N)/G]},inverse:P=>{let S=P[0]*G,g=P[1]*G,v=Math.cos(g),p=Math.cos(S)*v,a=Math.sin(S)*v,o=Math.sin(g),u=o*x-a*N;return[(Math.atan2(a*x+o*N,p*s+u*c)-T)/G,Math.asin(u*s-p*c)/G]}}}forward(H){return H}inverse(H){return H}cutOnAntimeridian(H,T){let L,j=[],s=[H];for(let c=0,x=H.length;c<x;++c){let N=H[c],P=H[c-1];if(!c){if(!T)continue;P=H[H.length-1]}let S=P[0],g=N[0];if((S<-90||S>90)&&(g<-90||g>90)&&S>0!=g>0){let v=$((180-(S+360)%360)/((g+360)%360-(S+360)%360),0,1),p=P[1]+v*(N[1]-P[1]);j.push({i:c,lat:p,direction:S<0?1:-1,previousLonLat:P,lonLat:N})}}if(j.length)if(T){j.length%2==1&&(L=j.slice().sort((x,N)=>Math.abs(N.lat)-Math.abs(x.lat))[0],K(j,L));let c=j.length-2;for(;c>=0;){let x=j[c].i,N=q(180+1e-6*j[c].direction),P=q(180-1e-6*j[c].direction),S=H.splice(x,j[c+1].i-x,...Y.geodesic([N,j[c].lat],[N,j[c+1].lat],!0));
129S.push(...Y.geodesic([P,j[c+1].lat],[P,j[c].lat],!0)),s.push(S),c-=2}if(L)for(let x=0;x<s.length;x++){let{direction:N,lat:P}=L,S=s[x],g=S.indexOf(L.lonLat);if(g>-1){let v=(P<0?-1:1)*this.maxLatitude,p=q(180+1e-6*N),a=q(180-1e-6*N),o=Y.geodesic([p,P],[p,v],!0);for(let u=p+120*N;u>-180&&u<180;u+=120*N)o.push([u,v]);o.push(...Y.geodesic([a,v],[a,L.lat],!0)),S.splice(g,0,...o);break}}}else{let c=j.length;for(;c--;){let x=j[c].i,N=H.splice(x,H.length,[q(180+1e-6*j[c].direction),j[c].lat]);N.unshift([q(180-1e-6*j[c].direction),j[c].lat]),s.push(N)}}return s}path(H){let T,{bounds:L,def:j,rotator:s}=this,c=[],x=H.type==="Polygon"||H.type==="MultiPolygon",N=this.hasGeoProjection,P=!j||j.antimeridianCutting!==!1,S=P?s:void 0,g=P&&j||this;L&&(T=[[L.x1,L.y1],[L.x2,L.y1],[L.x2,L.y2],[L.x1,L.y2]]);let v=p=>{let a=p.map(u=>{if(P){S&&(u=S.forward(u));let d=u[0];1e-6>Math.abs(d-180)&&(d=d<180?179.999999:180.000001),u=[d,u[1]]}return u}),o=[a];N&&(Y.insertGeodesics(a),P&&(o=this.cutOnAntimeridian(a,x))),o.forEach(u=>{let d,h;if(u.length<2)return;let m=!1,f=!1,y=D=>{m?c.push(["L",D[0],D[1]]):(c.push(["M",D[0],D[1]]),m=!0)},I=!1,E=!1,M=u.map(D=>{let F=g.forward(D);return F.outside?I=!0:E=!0,F[1]===1/0?F[1]=1e10:F[1]===-1/0&&(F[1]=-1e10),F});if(P){if(x&&M.push(M[0]),I){if(!E)return;if(T){if(x)M=B(M,T);else if(L){C(M,T).forEach(D=>{m=!1,D.forEach(y)});return}}}M.forEach(y)}else for(let D=0;D<M.length;D++){let F=u[D],X=M[D];X.outside?f=!0:(x&&!d&&(d=F,u.push(F),M.push(X)),f&&h&&(x&&N?Y.geodesic(h,F).forEach(_=>y(g.forward(_))):m=!1),y(X),h=F,f=!1)}})};return H.type==="LineString"?v(H.coordinates):H.type==="MultiLineString"?H.coordinates.forEach(p=>v(p)):H.type==="Polygon"?(H.coordinates.forEach(p=>v(p)),c.length&&c.push(["Z"])):H.type==="MultiPolygon"&&(H.coordinates.forEach(p=>{p.forEach(a=>v(a))}),c.length&&c.push(["Z"])),c}}return Y.registry=n,Y}),r(e,"Maps/MapView.js",[e["Core/Globals.js"],e["Maps/MapViewDefaults.js"],e["Maps/GeoJSONComposition.js"],e["Core/Geometry/GeometryUtilities.js"],e["Maps/MapUtilities.js"],e["Maps/Projection.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{composed:G}=t,{pointInPolygon:q}=C,{topo2geo:Z}=l,{boundsFromPath:R}=B,{addEvent:Y,clamp:V,crisp:H,fireEvent:T,isArray:L,isNumber:j,isObject:s,isString:c,merge:x,pick:N,pushUnique:P,relativeLength:S}=K,g={};function v(u,d){let{width:h,height:m}=d;return Math.log(400.979322/Math.max((u.x2-u.x1)/(h/256),(u.y2-u.y1)/(m/256)))/Math.log(2)}function p(u){var d,h;u.seriesOptions.mapData&&((h=this.mapView)==null||h.recommendMapView(this,[this.options.chart.map,u.seriesOptions.mapData],(d=this.options.drilldown)==null?void 0:d.mapZooming))}class a{static compose(d){P(G,"MapView")&&(g=d.maps,Y(d,"afterInit",function(){this.mapView=new a(this,this.options.mapView)},{order:0}),Y(d,"addSeriesAsDrilldown",p),Y(d,"afterDrillUp",p))}static compositeBounds(d){if(d.length)return d.slice(1).reduce((h,m)=>(h.x1=Math.min(h.x1,m.x1),h.y1=Math.min(h.y1,m.y1),h.x2=Math.max(h.x2,m.x2),h.y2=Math.max(h.y2,m.y2),h),x(d[0]))}static mergeInsets(d,h){let m=y=>{let I={};return y.forEach((E,M)=>{I[E&&E.id||`i${M}`]=E}),I},f=x(m(d),m(h));return Object.keys(f).map(y=>f[y])}constructor(d,h){var I;this.allowTransformAnimation=!0,this.eventsToUnbind=[],this.insets=[],this.padding=[0,0,0,0],this.recommendedMapView={},this instanceof o||this.recommendMapView(d,[d.options.chart.map,...(d.options.series||[]).map(E=>E.mapData)]),this.userOptions=h||{};let m=x(n,this.recommendedMapView,h),f=(I=this.recommendedMapView)==null?void 0:I.insets,y=h&&h.insets;f&&y&&(m.insets=a.mergeInsets(f,y)),this.chart=d,this.center=m.center,this.options=m,this.projection=new $(m.projection),this.playingField=d.plotBox,this.zoom=m.zoom||0,this.minZoom=m.minZoom,this.createInsets(),this.eventsToUnbind.push(Y(d,"afterSetChartSize",()=>{this.playingField=this.getField(),(this.minZoom===void 0||this.minZoom===this.zoom)&&(this.fitToBounds(void 0,void 0,!1),!this.chart.hasRendered&&j(this.userOptions.zoom)&&(this.zoom=this.userOptions.zoom),this.userOptions.center&&x(!0,this.center,this.userOptions.center))})),this.setUpEvents()}createInsets(){let d=this.options,h=d.insets;h&&h.forEach(m=>{let f=new o(this,x(d.insetOptions,m));this.insets.push(f)})}fitToBounds(d,h,m=!0,f){let y=d||this.getProjectedBounds();if(y){let I=N(h,d?0:this.options.padding),E=this.getField(!1),M=L(I)?I:[I,I,I,I];this.padding=[S(M[0],E.height),S(M[1],E.width),S(M[2],E.height),S(M[3],E.width)],this.playingField=this.getField();let D=v(y,this.playingField);d||(this.minZoom=D);let F=this.projection.inverse([(y.x2+y.x1)/2,(y.y2+y.y1)/2]);this.setView(F,D,m,f)}}getField(d=!0){let h=d?this.padding:[0,0,0,0];return{x:h[3],y:h[0],width:this.chart.plotWidth-h[1]-h[3],height:this.chart.plotHeight-h[0]-h[2]}}getGeoMap(d){if(c(d))return g[d]&&g[d].type==="Topology"?Z(g[d]):g[d];if(s(d,!0)){if(d.type==="FeatureCollection")return d;if(d.type==="Topology")return Z(d)}}getMapBBox(){let d=this.getProjectedBounds(),h=this.getScale();
vendor: 9,619 bytes, line 129
129if(d){let m=this.padding,f=this.projectedUnitsToPixels({x:d.x1,y:d.y2});return{width:(d.x2-d.x1)*h+m[1]+m[3],height:(d.y2-d.y1)*h+m[0]+m[2],x:f.x-m[3],y:f.y-m[0]}}}getProjectedBounds(){let d=this.projection,h=this.chart.series.reduce((f,y)=>{let I=y.getProjectedBounds&&y.getProjectedBounds();return I&&y.options.affectsMapView!==!1&&f.push(I),f},[]),m=this.options.fitToGeometry;if(m){if(!this.fitToGeometryCache)if(m.type==="MultiPoint"){let f=m.coordinates.map(E=>d.forward(E)),y=f.map(E=>E[0]),I=f.map(E=>E[1]);this.fitToGeometryCache={x1:Math.min.apply(0,y),x2:Math.max.apply(0,y),y1:Math.min.apply(0,I),y2:Math.max.apply(0,I)}}else this.fitToGeometryCache=R(d.path(m));return this.fitToGeometryCache}return this.projection.bounds||a.compositeBounds(h)}getScale(){return 256/400.979322*Math.pow(2,this.zoom)}getSVGTransform(){let{x:d,y:h,width:m,height:f}=this.playingField,y=this.projection.forward(this.center),I=this.projection.hasCoordinates?-1:1,E=this.getScale(),M=E*I,D=d+m/2-y[0]*E,F=h+f/2-y[1]*M;return{scaleX:E,scaleY:M,translateX:D,translateY:F}}lonLatToPixels(d){let h=this.lonLatToProjectedUnits(d);if(h)return this.projectedUnitsToPixels(h)}lonLatToProjectedUnits(d){let h=this.chart,m=h.mapTransforms;if(m){for(let y in m)if(Object.hasOwnProperty.call(m,y)&&m[y].hitZone){let I=h.transformFromLatLon(d,m[y]);if(I&&q(I,m[y].hitZone.coordinates[0]))return I}return h.transformFromLatLon(d,m.default)}for(let y of this.insets)if(y.options.geoBounds&&q({x:d.lon,y:d.lat},y.options.geoBounds.coordinates[0])){let I=y.projection.forward([d.lon,d.lat]),E=y.projectedUnitsToPixels({x:I[0],y:I[1]});return this.pixelsToProjectedUnits(E)}let f=this.projection.forward([d.lon,d.lat]);if(!f.outside)return{x:f[0],y:f[1]}}projectedUnitsToLonLat(d){let h=this.chart,m=h.mapTransforms;if(m){for(let I in m)if(Object.hasOwnProperty.call(m,I)&&m[I].hitZone&&q(d,m[I].hitZone.coordinates[0]))return h.transformToLatLon(d,m[I]);return h.transformToLatLon(d,m.default)}let f=this.projectedUnitsToPixels(d);for(let I of this.insets)if(I.hitZone&&q(f,I.hitZone.coordinates[0])){let E=I.pixelsToProjectedUnits(f),M=I.projection.inverse([E.x,E.y]);return{lon:M[0],lat:M[1]}}let y=this.projection.inverse([d.x,d.y]);return{lon:y[0],lat:y[1]}}recommendMapView(d,h,m=!1){var E;this.recommendedMapView={};let f=h.map(M=>this.getGeoMap(M)),y=[];f.forEach(M=>{if(M&&(Object.keys(this.recommendedMapView).length||(this.recommendedMapView=M["hc-recommended-mapview"]||{}),M.bbox)){let[D,F,X,_]=M.bbox;y.push({x1:D,y1:F,x2:X,y2:_})}});let I=y.length&&a.compositeBounds(y);T(this,"onRecommendMapView",{geoBounds:I,chart:d},function(){if(I&&this.recommendedMapView){if(!this.recommendedMapView.projection){let{x1:M,y1:D,x2:F,y2:X}=I;this.recommendedMapView.projection=F-M>180&&X-D>90?{name:"EqualEarth",parallels:[0,0],rotation:[0]}:{name:"LambertConformalConic",parallels:[D,X],rotation:[-(M+F)/2]}}this.recommendedMapView.insets||(this.recommendedMapView.insets=void 0)}}),this.geoMap=f[0],m&&d.hasRendered&&!((E=d.userOptions.mapView)!=null&&E.projection)&&this.recommendedMapView&&this.update(this.recommendedMapView)}redraw(d){this.chart.series.forEach(h=>{h.useMapGeometry&&(h.isDirty=!0)}),this.chart.redraw(d)}setView(d,h,m=!0,f){d&&(this.center=d),typeof h=="number"&&(typeof this.minZoom=="number"&&(h=Math.max(h,this.minZoom)),typeof this.options.maxZoom=="number"&&(h=Math.min(h,this.options.maxZoom)),j(h)&&(this.zoom=h));let y=this.getProjectedBounds();if(y){let I=this.projection.forward(this.center),{x:E,y:M,width:D,height:F}=this.playingField,X=this.getScale(),_=this.projectedUnitsToPixels({x:y.x1,y:y.y1}),w=this.projectedUnitsToPixels({x:y.x2,y:y.y2}),A=[(y.x1+y.x2)/2,(y.y1+y.y2)/2];if(!this.chart.series.some(U=>U.isDrilling)){let U=_.x,b=w.y,k=w.x,O=_.y;k-U<D?I[0]=A[0]:U<E&&k<E+D?I[0]+=Math.max(U-E,k-D-E)/X:k>E+D&&U>E&&(I[0]+=Math.min(k-D-E,U-E)/X),O-b<F?I[1]=A[1]:b<M&&O<M+F?I[1]-=Math.max(b-M,O-F-M)/X:O>M+F&&b>M&&(I[1]-=Math.min(O-F-M,b-M)/X),this.center=this.projection.inverse(I)}this.insets.forEach(U=>{U.options.field&&(U.hitZone=U.getHitZone(),U.playingField=U.getField())}),this.render()}T(this,"afterSetView"),m&&this.redraw(f)}projectedUnitsToPixels(d){let h=this.getScale(),m=this.projection.forward(this.center),f=this.playingField,y=f.x+f.width/2,I=f.y+f.height/2;return{x:y-h*(m[0]-d.x),y:I+h*(m[1]-d.y)}}pixelsToLonLat(d){return this.projectedUnitsToLonLat(this.pixelsToProjectedUnits(d))}pixelsToProjectedUnits(d){let{x:h,y:m}=d,f=this.getScale(),y=this.projection.forward(this.center),I=this.playingField,E=I.x+I.width/2,M=I.y+I.height/2;return{x:y[0]+(h-E)/f,y:y[1]-(m-M)/f}}setUpEvents(){let d,h,m,{chart:f}=this,y=I=>{let{lastTouches:E,pinchDown:M}=f.pointer,D=this.projection,F=I.touches,{mouseDownX:X,mouseDownY:_}=f,w=0;if((M==null?void 0:M.length)===1?(X=M[0].chartX,_=M[0].chartY):(M==null?void 0:M.length)===2&&(X=(M[0].chartX+M[1].chartX)/2,_=(M[0].chartY+M[1].chartY)/2),(F==null?void 0:F.length)===2&&E&&(w=Math.log(Math.sqrt(Math.pow(E[0].chartX-E[1].chartX,2)+Math.pow(E[0].chartY-E[1].chartY,2))/Math.sqrt(Math.pow(F[0].chartX-F[1].chartX,2)+Math.pow(F[0].chartY-F[1].chartY,2)))/Math.log(.5)),j(X)&&j(_)){let A=`${X},${_}`,{chartX:U,chartY:b}=I.originalEvent;(F==null?void 0:F.length)===2&&(U=(F[0].chartX+F[1].chartX)/2,b=(F[0].chartY+F[1].chartY)/2),A!==h&&(h=A,d=this.projection.forward(this.center),m=(this.projection.options.rotation||[0,0]).slice());let k=D.def&&D.def.bounds,O=k&&v(k,this.playingField)||-1/0;if(D.options.name==="Orthographic"&&2>((F==null?void 0:F.length)||0)&&(this.minZoom||1/0)<1.3*O){let z=440/(this.getScale()*Math.min(f.plotWidth,f.plotHeight));if(m){let W=(X-U)*z-m[0],Q=V(-m[1]-(_-b)*z,-80,80),ee=this.zoom;this.update({projection:{rotation:[-W,-Q]}},!1),this.fitToBounds(void 0,void 0,!1),this.zoom=ee,f.redraw(!1)}}else if(j(U)&&j(b)){let z=this.getScale(),W=this.projection.hasCoordinates?1:-1,Q=this.projection.inverse([d[0]+(X-U)/z,d[1]-(_-b)/z*W]);isNaN(Q[0]+Q[1])||this.zoomBy(w,Q,void 0,!1)}I.preventDefault()}};Y(f,"pan",y),Y(f,"touchpan",y),Y(f,"selection",I=>{if(I.resetSelection)this.zoomBy();else{let E=I.x-f.plotLeft,M=I.y-f.plotTop,{y:D,x:F}=this.pixelsToProjectedUnits({x:E,y:M}),{y:X,x:_}=this.pixelsToProjectedUnits({x:E+I.width,y:M+I.height});this.fitToBounds({x1:F,y1:D,x2:_,y2:X},void 0,!0,!I.originalEvent.touches&&void 0),/^touch/.test(I.originalEvent.type)||f.showResetZoom(),I.preventDefault()}})}render(){this.group||(this.group=this.chart.renderer.g("map-view").attr({zIndex:4}).add())}update(d,h=!0,m){let f=d.projection,y=f&&$.toString(f)!==$.toString(this.options.projection),I=!1;x(!0,this.userOptions,d),x(!0,this.options,d),"insets"in d&&(this.insets.forEach(E=>E.destroy()),this.insets.length=0,I=!0),(y||"fitToGeometry"in d)&&delete this.fitToGeometryCache,(y||I)&&(this.chart.series.forEach(E=>{let M=E.transformGroups;if(E.clearBounds&&E.clearBounds(),E.isDirty=!0,E.isDirtyData=!0,I&&M)for(;M.length>1;){let D=M.pop();D&&D.destroy()}}),y&&(this.projection=new $(this.options.projection)),I&&this.createInsets(),!d.center&&Object.hasOwnProperty.call(d,"zoom")&&!j(d.zoom)&&this.fitToBounds(void 0,void 0,!1)),d.center||j(d.zoom)?this.setView(this.options.center,d.zoom,!1):"fitToGeometry"in d&&this.fitToBounds(void 0,void 0,!1),h&&this.chart.redraw(m)}zoomBy(d,h,m,f){let y=this.chart,I=this.projection.forward(this.center);if(typeof d=="number"){let E,M,D,F=this.zoom+d;if(m){let[X,_]=m,w=this.getScale(),A=X-y.plotLeft-y.plotWidth/2,U=_-y.plotTop-y.plotHeight/2;M=I[0]+A/w,D=I[1]+U/w}if(typeof M=="number"&&typeof D=="number"){let X=1-Math.pow(2,this.zoom)/Math.pow(2,F),_=I[0]-M,w=I[1]-D;I[0]-=_*X,I[1]+=w*X,E=this.projection.inverse(I)}this.setView(h||E,F,void 0,f)}else this.fitToBounds(void 0,void 0,void 0,f)}}class o extends a{constructor(d,h){if(super(d.chart,h),this.id=h.id,this.mapView=d,this.options=x({center:[0,0]},d.options.insetOptions,h),this.allBounds=[],this.options.geoBounds){let m=d.projection.path(this.options.geoBounds);this.geoBoundsProjectedBox=R(m),this.geoBoundsProjectedPolygon=m.map(f=>[f[1]||0,f[2]||0])}}getField(d=!0){let h=this.hitZone;if(h){let m=d?this.padding:[0,0,0,0],f=h.coordinates[0],y=f.map(X=>X[0]),I=f.map(X=>X[1]),E=Math.min.apply(0,y)+m[3],M=Math.max.apply(0,y)-m[1],D=Math.min.apply(0,I)+m[0],F=Math.max.apply(0,I)-m[2];if(j(E)&&j(D))return{x:E,y:D,width:M-E,height:F-D}}return super.getField.call(this,d)}getHitZone(){let{chart:d,mapView:h,options:m}=this,{coordinates:f}=m.field||{};if(f){let y=f[0];if(m.units==="percent"){let I=m.relativeTo==="mapBoundingBox"&&h.getMapBBox()||x(d.plotBox,{x:0,y:0});y=y.map(E=>[S(`${E[0]}%`,I.width,I.x),S(`${E[1]}%`,I.height,I.y)])}return{type:"Polygon",coordinates:[y]}}}getProjectedBounds(){return a.compositeBounds(this.allBounds)}isInside(d){let{geoBoundsProjectedBox:h,geoBoundsProjectedPolygon:m}=this;return!!(h&&d.x>=h.x1&&d.x<=h.x2&&d.y>=h.y1&&d.y<=h.y2&&m&&q(d,m))}render(){let{chart:d,mapView:h,options:m}=this,f=m.borderPath||m.field;if(f&&h.group){let y=!0;this.border||(this.border=d.renderer.path().addClass("highcharts-mapview-inset-border").add(h.group),y=!1),d.styledMode||this.border.attr({stroke:m.borderColor,"stroke-width":m.borderWidth});let I=this.border.strokeWidth(),E=m.relativeTo==="mapBoundingBox"&&h.getMapBBox()||h.playingField,M=(f.coordinates||[]).reduce((D,F)=>F.reduce((X,_,w)=>{let[A,U]=_;return m.units==="percent"&&(A=d.plotLeft+S(`${A}%`,E.width,E.x),U=d.plotTop+S(`${U}%`,E.height,E.y)),A=H(A,I),U=H(U,I),X.push(w===0?["M",A,U]:["L",A,U]),X},D),[]);this.border[y?"animate":"attr"]({d:M})}}destroy(){this.border&&(this.border=this.border.destroy()),this.eventsToUnbind.forEac
129h(d=>d())}setUpEvents(){}}return a}),r(e,"Series/Map/MapSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Series/ColorMapComposition.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Chart/MapChart.js"],e["Series/Map/MapPoint.js"],e["Series/Map/MapSeriesDefaults.js"],e["Maps/MapView.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let{animObject:R,stop:Y}=t,{noop:V}=C,{splitPath:H}=B,{column:T,scatter:L}=q.seriesTypes,{extend:j,find:s,fireEvent:c,getNestedProperty:x,isArray:N,defined:P,isNumber:S,isObject:g,merge:v,objectEach:p,pick:a,splat:o}=Z;class u extends L{constructor(){super(...arguments),this.processedData=[]}animate(h){let{chart:m,group:f}=this,y=R(this.options.animation);h?f.attr({translateX:m.plotLeft+m.plotWidth/2,translateY:m.plotTop+m.plotHeight/2,scaleX:.001,scaleY:.001}):f.animate({translateX:m.plotLeft,translateY:m.plotTop,scaleX:1,scaleY:1},y)}clearBounds(){this.points.forEach(h=>{delete h.bounds,delete h.insetIndex,delete h.projectedPath}),delete this.bounds}doFullTranslate(){return!!(this.isDirtyData||this.chart.isResizing||!this.hasRendered)}drawMapDataLabels(){super.drawDataLabels(),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}drawPoints(){let h=this,{chart:m,group:f,transformGroups:y=[]}=this,{mapView:I,renderer:E}=m;if(I){this.transformGroups=y,y[0]||(y[0]=E.g().add(f));for(let M=0,D=I.insets.length;M<D;++M)y[M+1]||y.push(E.g().add(f));this.doFullTranslate()&&(this.points.forEach(M=>{let{graphic:D}=M;M.group=y[typeof M.insetIndex=="number"?M.insetIndex+1:0],D&&D.parentGroup!==M.group&&D.add(M.group)}),T.prototype.drawPoints.apply(this),this.points.forEach(M=>{let D=M.graphic;if(D){let F=D.animate,X="";M.name&&(X+="highcharts-name-"+M.name.replace(/ /g,"-").toLowerCase()),M.properties&&M.properties["hc-key"]&&(X+=" highcharts-key-"+M.properties["hc-key"].toString().toLowerCase()),X&&D.addClass(X),m.styledMode&&D.css(this.pointAttribs(M,M.selected&&"select"||void 0)),D.attr({visibility:!M.visible&&(M.visible||M.isNull)?"hidden":"inherit"}),D.animate=function(_,w,A){let U=S(_["stroke-width"])&&!S(D["stroke-width"]),b=S(D["stroke-width"])&&!S(_["stroke-width"]);if(U||b){let k=a(h.getStrokeWidth(h.options),1)/(m.mapView&&m.mapView.getScale()||1);U&&(D["stroke-width"]=k),b&&(_["stroke-width"]=k)}return F.call(D,_,w,b?function(){D.element.removeAttribute("stroke-width"),delete D["stroke-width"],A&&A.apply(this,arguments)}:A)}}})),y.forEach((M,D)=>{let F=(D===0?I:I.insets[D-1]).getSVGTransform(),X=a(this.getStrokeWidth(this.options),1),_=F.scaleX,w=F.scaleY>0?1:-1,A=U=>{(h.points||[]).forEach(b=>{let k,O=b.graphic;O&&O["stroke-width"]&&(k=this.getStrokeWidth(b.options))&&O.attr({"stroke-width":k/U})})};if(E.globalAnimation&&m.hasRendered&&I.allowTransformAnimation){let U=Number(M.attr("translateX")),b=Number(M.attr("translateY")),k=Number(M.attr("scaleX")),O=(Q,ee)=>{let se=k+(_-k)*ee.pos;M.attr({translateX:U+(F.translateX-U)*ee.pos,translateY:b+(F.translateY-b)*ee.pos,scaleX:se,scaleY:se*w,"stroke-width":X/se}),A(se)},z=v(R(E.globalAnimation)),W=z.step;z.step=function(){W&&W.apply(this,arguments),O.apply(this,arguments)},M.attr({animator:0}).animate({animator:1},z,(function(){typeof E.globalAnimation!="boolean"&&E.globalAnimation.complete&&E.globalAnimation.complete({applyDrilldown:!0}),c(this,"mapZoomComplete")}).bind(this))}else Y(M),M.attr(v(F,{"stroke-width":X/_})),A(_)}),this.isDrilling||this.drawMapDataLabels()}}getProjectedBounds(){if(!this.bounds&&this.chart.mapView){let{insets:h,projection:m}=this.chart.mapView,f=[];(this.points||[]).forEach(y=>{if(y.path||y.geometry){if(typeof y.path=="string"?y.path=H(y.path):N(y.path)&&y.path[0]==="M"&&(y.path=this.chart.renderer.pathToSegments(y.path)),!y.bounds){let I=y.getProjectedBounds(m);if(I){y.labelrank=a(y.labelrank,(I.x2-I.x1)*(I.y2-I.y1));let{midX:E,midY:M}=I;if(h&&S(E)&&S(M)){let D=s(h,F=>F.isInside({x:E,y:M}));D&&(delete y.projectedPath,(I=y.getProjectedBounds(D.projection))&&D.allBounds.push(I),y.insetIndex=h.indexOf(D))}y.bounds=I}}y.bounds&&y.insetIndex===void 0&&f.push(y.bounds)}}),this.bounds=G.compositeBounds(f)}return this.bounds}getStrokeWidth(h){let m=this.pointAttrToOptions;return h[m&&m["stroke-width"]||"borderWidth"]}hasData(){return!!this.processedXData.length}pointAttribs(h,m){let{mapView:f,styledMode:y}=h.series.chart,I=y?this.colorAttribs(h):T.prototype.pointAttribs.call(this,h,m),E=this.getStrokeWidth(h.options);if(m){let D=v(this.options.states&&this.options.states[m],h.options.states&&h.options.states[m]||{}),F=this.getStrokeWidth(D);P(F)&&(E=F),I.stroke=D.borderColor??h.color}E&&f&&(E/=f.getScale());let M=this.getStrokeWidth(this.options);return I.dashstyle&&f&&S(M)&&(E=M/f.getScale()),h.visible||(I.fill=this.options.nullColor),P(E)?I["stroke-width"]=E:delete I["stroke-width"],I["stroke-linecap"]=I["stroke-linejoin"]=this.options.linecap,I}updateData(){return!this.processedData&&super.updateData.apply(this,arguments)}setData(h,m=!0,f,y){delete this.bounds,super.setData(h,!1,void 0,y),this.processData(),this.generatePoints(),m&&this.chart.redraw(f)}processData(){let h,m,f,y=this.options,I=y.data,E=this.chart,M=E.options.chart,D=this.joinBy,F=y.keys||this.pointArrayMap,X=[],_={},w=this.chart.mapView,A=w&&(g(y.mapData,!0)?w.getGeoMap(y.mapData):w.geoMap),U=E.mapTransforms=M.mapTransforms||A&&A["hc-transform"]||E.mapTransforms;U&&p(U,k=>{k.rotation&&(k.cosAngle=Math.cos(k.rotation),k.sinAngle=Math.sin(k.rotation))}),N(y.mapData)?f=y.mapData:A&&A.type==="FeatureCollection"&&(this.mapTitle=A.title,f=C.geojson(A,this.type,this)),this.processedData=[];let b=this.processedData;if(I){let k;for(let O=0,z=I.length;O<z;++O){if(S(k=I[O]))b[O]={value:k};else if(N(k)){let W=0;b[O]={},!y.keys&&k.length>F.length&&typeof k[0]=="string"&&(b[O]["hc-key"]=k[0],++W);for(let Q=0;Q<F.length;++Q,++W)F[Q]&&k[W]!==void 0&&(F[Q].indexOf(".")>0?$.prototype.setNestedProperty(b[O],k[W],F[Q]):b[O][F[Q]]=k[W])}else b[O]=I[O];D&&D[0]==="_i"&&(b[O]._i=O)}
129}if(f){this.mapData=f,this.mapMap={};for(let k=0;k<f.length;k++)m=(h=f[k]).properties,h._i=k,D[0]&&m&&m[D[0]]&&(h[D[0]]=m[D[0]]),_[h[D[0]]]=h;if(this.mapMap=_,D[1]){let k=D[1];b.forEach(O=>{let z=x(k,O);_[z]&&X.push(_[z])})}if(y.allAreas){if(D[1]){let O=D[1];b.forEach(z=>{X.push(x(O,z))})}let k="|"+X.map(function(O){return O&&O[D[0]]}).join("|")+"|";f.forEach(O=>{D[0]&&k.indexOf("|"+O[D[0]]+"|")!==-1||b.push(v(O,{value:null}))})}}this.processedXData=Array(b.length)}setOptions(h){let m=super.setOptions(h),f=m.joinBy;return m.joinBy===null&&(f="_i"),(f=this.joinBy=o(f))[1]||(f[1]=f[0]),m}translate(){let h=this.doFullTranslate(),m=this.chart.mapView,f=m&&m.projection;if(this.chart.hasRendered&&(this.isDirtyData||!this.hasRendered)&&(this.processData(),this.generatePoints(),delete this.bounds,!m||m.userOptions.center||S(m.userOptions.zoom)||m.zoom!==m.minZoom?this.getProjectedBounds():m.fitToBounds(void 0,void 0,!1)),m){let y=m.getSVGTransform();this.points.forEach(I=>{let E=S(I.insetIndex)&&m.insets[I.insetIndex].getSVGTransform()||y;E&&I.bounds&&S(I.bounds.midX)&&S(I.bounds.midY)&&(I.plotX=I.bounds.midX*E.scaleX+E.translateX,I.plotY=I.bounds.midY*E.scaleY+E.translateY),h&&(I.shapeType="path",I.shapeArgs={d:$.getProjectedPath(I,f)}),I.hiddenInDataClass||(I.projectedPath&&!I.projectedPath.length?I.setVisible(!1):I.visible||I.setVisible(!0))})}c(this,"afterTranslate")}update(h){var m;h.mapData&&((m=this.chart.mapView)==null||m.recommendMapView(this.chart,[this.chart.options.chart.map,...(this.chart.options.series||[]).map((f,y)=>y===this._i?h.mapData:f.mapData)],!0)),super.update.apply(this,arguments)}}return u.defaultOptions=v(L.defaultOptions,K),j(u.prototype,{type:"map",axisTypes:n.seriesMembers.axisTypes,colorAttribs:n.seriesMembers.colorAttribs,colorKey:n.seriesMembers.colorKey,directTouch:!0,drawDataLabels:V,drawGraph:V,forceDL:!0,getCenter:l.getCenter,getExtremesFromAll:!0,getSymbol:V,isCartesian:!1,parallelArrays:n.seriesMembers.parallelArrays,pointArrayMap:n.seriesMembers.pointArrayMap,pointClass:$,preserveAspectRatio:!0,searchPoint:V,trackerGroups:n.seriesMembers.trackerGroups,useMapGeometry:!0}),n.compose(u),q.registerSeriesType("map",u),u}),r(e,"Series/MapLine/MapLineSeriesDefaults.js",[],function(){return{lineWidth:1,fillColor:"none",legendSymbol:"lineMarker"}}),r(e,"Series/MapLine/MapLineSeries.js",[e["Series/MapLine/MapLineSeriesDefaults.js"],e["Series/Map/MapSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{extend:B,merge:$}=C;class K extends n{pointAttribs(q,Z){let R=super.pointAttribs(q,Z);return R.fill=this.options.fillColor,R}}return K.defaultOptions=$(n.defaultOptions,t),B(K.prototype,{type:"mapline",colorProp:"stroke",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"}}),l.registerSeriesType("mapline",K),K}),r(e,"Series/MapPoint/MapPointPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{scatter:l}=t.seriesTypes,{isNumber:C}=n;class B extends l.prototype.pointClass{isValid(){return!!(this.options.geometry||C(this.x)&&C(this.y)||C(this.options.lon)&&C(this.options.lat))}}return B}),r(e,"Series/MapPoint/MapPointSeriesDefaults.js",[],function(){return{dataLabels:{crop:!1,defer:!1,enabled:!0,formatter:function(){return this.point.name},overflow:!1,style:{color:"#000000"}},legendSymbol:"lineMarker"}}),r(e,"Series/MapPoint/MapPointSeries.js",[e["Core/Globals.js"],e["Series/MapPoint/MapPointPoint.js"],e["Series/MapPoint/MapPointSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{noop:K}=t,{map:G,scatter:q}=C.seriesTypes,{extend:Z,fireEvent:R,isNumber:Y,merge:V}=$;class H extends q{constructor(){super(...arguments),this.clearBounds=G.prototype.clearBounds}drawDataLabels(){super.drawDataLabels(),this.dataLabelsGroup&&this.dataLabelsGroup.clip(this.chart.clipRect)}projectPoint(L){let j=this.chart.mapView;if(j){let{geometry:s,lon:c,lat:x}=L,N=s&&s.type==="Point"&&s.coordinates;if(Y(c)&&Y(x)&&(N=[c,x]),N)return j.lonLatToProjectedUnits({lon:N[0],lat:N[1]})}}translate(){let L=this.chart.mapView;if(this.processedXData||this.processData(),this.generatePoints(),this.getProjectedBounds&&this.isDirtyData&&(delete this.bounds,this.getProjectedBounds()),L){let j=L.getSVGTransform(),{hasCoordinates:s}=L.projection;
129this.points.forEach(c=>{let x,{x:N,y:P}=c,S=Y(c.insetIndex)&&L.insets[c.insetIndex].getSVGTransform()||j,g=this.projectPoint(c.options)||c.properties&&this.projectPoint(c.properties);if(g?(N=g.x,P=g.y):c.bounds&&(N=c.bounds.midX,P=c.bounds.midY,S&&Y(N)&&Y(P)&&(c.plotX=N*S.scaleX+S.translateX,c.plotY=P*S.scaleY+S.translateY,x=!0)),Y(N)&&Y(P)){if(!x){let v=L.projectedUnitsToPixels({x:N,y:P});c.plotX=v.x,c.plotY=s?v.y:this.chart.plotHeight-v.y}}else c.y=c.plotX=c.plotY=void 0;c.isInside=this.isPointInside(c),c.zone=this.zones.length?c.getZone():void 0})}R(this,"afterTranslate")}}return H.defaultOptions=V(q.defaultOptions,l),B.prototype.symbols.mapmarker=(T,L,j,s,c)=>{let x,N,P=c&&c.context==="legend";P?(x=T+j/2,N=L+s):c&&typeof c.anchorX=="number"&&typeof c.anchorY=="number"?(x=c.anchorX,N=c.anchorY):(x=T+j/2,N=L+s/2,L-=s);let S=P?s/3:s/2;return[["M",x,N],["C",x,N,x-S,L+1.5*S,x-S,L+S],["A",S,S,1,1,1,x+S,L+S],["C",x+S,L+1.5*S,x,N,x,N],["Z"]]},Z(H.prototype,{type:"mappoint",axisTypes:["colorAxis"],forceDL:!0,isCartesian:!1,pointClass:n,searchPoint:K,useMapGeometry:!0}),C.registerSeriesType("mappoint",H),H}),r(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),r(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{parse:B}=t,{noop:$}=l,{arrayMax:K,arrayMin:G,isNumber:q,merge:Z,pick:R,stableSort:Y}=C;return class{constructor(V,H){this.setState=$,this.init(V,H)}init(V,H){this.options=V,this.visible=!0,this.chart=H.chart,this.legend=H}addToLegend(V){V.splice(this.options.legendIndex,0,this)}drawLegendSymbol(V){let H,T=R(V.options.itemDistance,20),L=this.legendItem||{},j=this.options,s=j.ranges,c=j.connectorDistance;if(!s||!s.length||!q(s[0].value)){V.options.bubbleLegend.autoRanges=!0;return}Y(s,function(S,g){return g.value-S.value}),this.ranges=s,this.setOptions(),this.render();let x=this.getMaxLabelSize(),N=this.ranges[0].radius,P=2*N;H=(H=c-N+x.width)>0?H:0,this.maxLabel=x,this.movementX=j.labels.align==="left"?H:0,L.labelWidth=P+H+T,L.labelHeight=P+x.height/2}setOptions(){let V=this.ranges,H=this.options,T=this.chart.series[H.seriesIndex],L=this.legend.baseline,j={zIndex:H.zIndex,"stroke-width":H.borderWidth},s={zIndex:H.zIndex,"stroke-width":H.connectorWidth},c={align:this.legend.options.rtl||H.labels.align==="left"?"right":"left",zIndex:H.zIndex},x=T.options.marker.fillOpacity,N=this.chart.styledMode;V.forEach(function(P,S){N||(j.stroke=R(P.borderColor,H.borderColor,T.color),j.fill=R(P.color,H.color,x!==1?B(T.color).setOpacity(x).get("rgba"):T.color),s.stroke=R(P.connectorColor,H.connectorColor,T.color)),V[S].radius=this.getRangeRadius(P.value),V[S]=Z(V[S],{center:V[0].radius-V[S].radius+L}),N||Z(!0,V[S],{bubbleAttribs:Z(j),connectorAttribs:Z(s),labelAttribs:c})},this)}getRangeRadius(V){let H=this.options,T=this.options.seriesIndex,L=this.chart.series[T],j=H.ranges[0].value,s=H.ranges[H.ranges.length-1].value,c=H.minSize,x=H.maxSize;return L.getRadius.call(this,s,j,c,x,V)}render(){let V=this.legendItem||{},H=this.chart.renderer,T=this.options.zThreshold;for(let L of(this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),V.symbol=H.g("bubble-legend"),V.label=H.g("bubble-legend-item").css(this.legend.itemStyle||{}),V.symbol.translateX=0,V.symbol.translateY=0,V.symbol.add(V.label),V.label.add(V.group),this.ranges))L.value>=T&&this.renderRange(L);this.hideOverlappingLabels()}renderRange(V){let H=this.ranges[0],T=this.legend,L=this.options,j=L.labels,s=this.chart,c=s.series[L.seriesIndex],x=s.renderer,N=this.symbols,P=N.labels,S=V.center,g=Math.abs(V.radius),v=L.connectorDistance||0,p=j.align,a=T.options.rtl,o=L.borderWidth,u=L.connectorWidth,d=H.radius||0,h=S-g-o/2+u/2,m=(h%1?1:.5)-(u%2?0:.5),f=x.styledMode,y=a||p==="left"?-v:v;
vendor: 4,849 bytes, line 129
129p==="center"&&(y=0,L.connectorDistance=0,V.labelAttribs.align="center"),N.bubbleItems.push(x.circle(d,S+m,g).attr(f?{}:V.bubbleAttribs).addClass((f?"highcharts-color-"+c.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(L.className||"")).add(this.legendItem.symbol)),N.connectors.push(x.path(x.crispLine([["M",d,h],["L",d+y,h]],L.connectorWidth)).attr(f?{}:V.connectorAttribs).addClass((f?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(L.connectorClassName||"")).add(this.legendItem.symbol));let I=x.text(this.formatLabel(V)).attr(f?{}:V.labelAttribs).css(f?{}:j.style).addClass("highcharts-bubble-legend-labels "+(L.labels.className||"")).add(this.legendItem.symbol),E={x:d+y+L.labels.x,y:h+L.labels.y+.4*I.getBBox().height};I.attr(E),P.push(I),I.placed=!0,I.alignAttr=E}getMaxLabelSize(){let V,H;return this.symbols.labels.forEach(function(T){H=T.getBBox(!0),V=V?H.width>V.width?H:V:H}),V||{}}formatLabel(V){let H=this.options,T=H.labels.formatter,L=H.labels.format,{numberFormatter:j}=this.chart;return L?n.format(L,V):T?T.call(V):j(V.value,1)}hideOverlappingLabels(){let V=this.chart,H=this.options.labels.allowOverlap,T=this.symbols;!H&&T&&(V.hideOverlappingLabels(T.labels),T.labels.forEach(function(L,j){L.newOpacity?L.newOpacity!==L.oldOpacity&&T.connectors[j].show():T.connectors[j].hide()}))}getRanges(){let V=this.legend.bubbleLegend,H=V.chart.series,T=V.options.ranges,L,j,s=Number.MAX_VALUE,c=-Number.MAX_VALUE;return H.forEach(function(x){x.isBubble&&!x.ignoreSeries&&(j=x.zData.filter(q)).length&&(s=R(x.options.zMin,Math.min(s,Math.max(G(j),x.options.displayNegative===!1?x.options.zThreshold:-Number.MAX_VALUE))),c=R(x.options.zMax,Math.max(c,K(j))))}),L=s===c?[{value:c}]:[{value:s},{value:(s+c)/2},{value:c,autoRanges:!0}],T.length&&T[0].radius&&L.reverse(),L.forEach(function(x,N){T&&T[N]&&(L[N]=Z(T[N],x))}),L}predictBubbleSizes(){let V=this.chart,H=V.legend.options,T=H.floating,L=H.layout==="horizontal",j=L?V.legend.lastLineHeight:0,s=V.plotSizeX,c=V.plotSizeY,x=V.series[this.options.seriesIndex],N=x.getPxExtremes(),P=Math.ceil(N.minPxSize),S=Math.ceil(N.maxPxSize),g=Math.min(c,s),v,p=x.options.maxSize;return T||!/%$/.test(p)?v=S:(v=(g+j)*(p=parseFloat(p))/100/(p/100+1),(L&&c-v>=s||!L&&s-v>=c)&&(v=S)),[P,Math.ceil(v)]}updateRanges(V,H){let T=this.legend.options.bubbleLegend;T.minSize=V,T.maxSize=H,T.ranges=this.getRanges()}correctSizes(){let V=this.legend,H=this.chart.series[this.options.seriesIndex].getPxExtremes();Math.abs(Math.ceil(H.maxPxSize)-this.options.maxSize)>1&&(this.updateRanges(this.options.minSize,H.maxPxSize),V.render())}}}),r(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{setOptions:$}=l,{composed:K}=C,{addEvent:G,objectEach:q,pushUnique:Z,wrap:R}=B;function Y(s,c,x){let N,P,S,g=this.legend,v=V(this)>=0;g&&g.options.enabled&&g.bubbleLegend&&g.options.bubbleLegend.autoRanges&&v?(N=g.bubbleLegend.options,P=g.bubbleLegend.predictBubbleSizes(),g.bubbleLegend.updateRanges(P[0],P[1]),N.placed||(g.group.placed=!1,g.allItems.forEach(p=>{(S=p.legendItem||{}).group&&(S.group.translateY=void 0)})),g.render(),N.placed||(this.getMargins(),this.axes.forEach(function(p){p.visible&&p.render(),N.placed||(p.setScale(),p.updateNames(),q(p.ticks,function(a){a.isNew=!0,a.isNewLabel=!0}))}),this.getMargins()),N.placed=!0,s.call(this,c,x),g.bubbleLegend.correctSizes(),j(g,H(g))):(s.call(this,c,x),g&&g.options.enabled&&g.bubbleLegend&&(g.render(),j(g,H(g))))}function V(s){let c=s.series,x=0;for(;x<c.length;){if(c[x]&&c[x].isBubble&&c[x].visible&&c[x].zData.length)return x;x++}return-1}function H(s){let c=s.allItems,x=[],N=c.length,P,S,g,v=0,p=0;for(v=0;v<N;v++)if(S=c[v].legendItem||{},g=(c[v+1]||{}).legendItem||{},S.labelHeight&&(c[v].itemHeight=S.labelHeight),c[v]===c[N-1]||S.y!==g.y){for(x.push({height:0}),P=x[x.length-1];p<=v;p++)c[p].itemHeight>P.height&&(P.height=c[p].itemHeight);P.step=v}return x}function T(s){let c=this.bubbleLegend,x=this.options,N=x.bubbleLegend,P=V(this.chart);c&&c.ranges&&c.ranges.length&&(N.ranges.length&&(N.autoRanges=!!N.ranges[0].autoRanges),this.destroyItem(c)),P>=0&&x.enabled&&N.enabled&&(N.seriesIndex=P,this.bubbleLegend=new n(N,this),this.bubbleLegend.addToLegend(s.allItems))}function L(s){let c;if(s.defaultPrevented)return!1;let x=s.legendItem,N=this.chart,P=x.visible;this&&this.bubbleLegend&&(x.visible=!P,x.ignoreSeries=P,c=V(N)>=0,this.bubbleLegend.visible!==c&&(this.update({bubbleLegend:{enabled:c}}),this.bubbleLegend.visible=c),x.visible=P)}function j(s,c){let x=s.allItems,N=s.options.rtl,P,S,g,v,p=0;x.forEach((a,o)=>{(v=a.legendItem||{}).group&&(P=v.group.translateX||0,S=v.y||0,((g=a.movementX)||N&&a.ranges)&&(g=N?P-
129a.options.maxSize/2:P+g,v.group.attr({translateX:g})),o>c[p].step&&p++,v.group.attr({translateY:Math.round(S+c[p].height/2)}),v.y=S+c[p].height/2)})}return{compose:function(s,c){Z(K,"Series.BubbleLegend")&&($({legend:{bubbleLegend:t}}),R(s.prototype,"drawChartBox",Y),G(c,"afterGetAllItems",T),G(c,"itemClick",L))}}}),r(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{scatter:{prototype:{pointClass:C}}}}=n,{extend:B}=l;class $ extends C{haloPath(G){let q=(G&&this.marker&&this.marker.radius||0)+G;if(this.series.chart.inverted){let Z=this.pos()||[0,0],{xAxis:R,yAxis:Y,chart:V}=this.series;return V.renderer.symbols.circle(R.len-Z[1]-q,Y.len-Z[0]-q,2*q,2*q)}return t.prototype.haloPath.call(this,q)}}return B($.prototype,{ttBelow:!1}),$}),r(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{parse:K}=l,{composed:G,noop:q}=C,{series:Z,seriesTypes:{column:{prototype:R},scatter:Y}}=B,{addEvent:V,arrayMax:H,arrayMin:T,clamp:L,extend:j,isNumber:s,merge:c,pick:x,pushUnique:N}=$;function P(){let g=this.len,{coll:v,isXAxis:p,min:a}=this,o=p?"xData":"yData",u=(this.max||0)-(a||0),d=0,h=g,m=g/u,f;(v==="xAxis"||v==="yAxis")&&(this.series.forEach(y=>{if(y.bubblePadding&&y.reserveSpace()){this.allowZoomOutside=!0,f=!0;let I=y[o];if(p&&((y.onPoint||y).getRadii(0,0,y),y.onPoint&&(y.radii=y.onPoint.radii)),u>0){let E=I.length;for(;E--;)if(s(I[E])&&this.dataMin<=I[E]&&I[E]<=this.max){let M=y.radii&&y.radii[E]||0;d=Math.min((I[E]-a)*m-M,d),h=Math.max((I[E]-a)*m+M,h)}}}}),f&&u>0&&!this.logarithmic&&(h-=g,m*=(g+Math.max(0,d)-Math.min(h,g))/g,[["min","userMin",d],["max","userMax",h]].forEach(y=>{x(this.options[y[0]],this[y[1]])===void 0&&(this[y[0]]+=y[2]/m)})))}class S extends Y{static compose(v,p,a){t.compose(p,a),N(G,"Series.Bubble")&&V(v,"foundExtremes",P)}animate(v){!v&&this.points.length<this.options.animationLimit&&this.points.forEach(function(p){let{graphic:a,plotX:o=0,plotY:u=0}=p;a&&a.width&&(this.hasRendered||a.attr({x:o,y:u,width:1,height:1}),a.animate(this.markerAttribs(p),this.options.animation))},this)}getRadii(){let v=this.zData,p=this.yData,a=[],o,u,d,h=this.chart.bubbleZExtremes,{minPxSize:m,maxPxSize:f}=this.getPxExtremes();if(!h){let y,I=Number.MAX_VALUE,E=-Number.MAX_VALUE;this.chart.series.forEach(M=>{if(M.bubblePadding&&M.reserveSpace()){let D=(M.onPoint||M).getZExtremes();D&&(I=Math.min(x(I,D.zMin),D.zMin),E=Math.max(x(E,D.zMax),D.zMax),y=!0)}}),y?(h={zMin:I,zMax:E},this.chart.bubbleZExtremes=h):h={zMin:0,zMax:0}}for(u=0,o=v.length;u<o;u++)d=v[u],a.push(this.getRadius(h.zMin,h.zMax,m,f,d,p&&p[u]));this.radii=a}getRadius(v,p,a,o,u,d){let h=this.options,m=h.sizeBy!=="width",f=h.zThreshold,y=p-v,I=.5;if(d===null||u===null)return null;if(s(u)){if(h.sizeByAbsoluteValue&&(u=Math.abs(u-f),p=y=Math.max(p-f,Math.abs(v-f)),v=0),u<v)return a/2-1;y>0&&(I=(u-v)/y)}return m&&I>=0&&(I=Math.sqrt(I)),Math.ceil(a+I*(o-a))/2}hasData(){return!!this.processedXData.length}markerAttribs(v,p){let a=super.markerAttribs(v,p),{height:o=0,width:u=0}=a;return this.chart.inverted?j(a,{x:(v.plotX||0)-u/2,y:(v.plotY||0)-o/2}):a}pointAttribs(v,p){let a=this.options.marker.fillOpacity,o=Z.prototype.pointAttribs.call(this,v,p);return a!==1&&(o.fill=K(o.fill).setOpacity(a).get("rgba")),o}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:v,options:p,radii:a}=this,{minPxSize:o}=this.getPxExtremes(),u=v.length;for(;u--;){let d=v[u],h=a?a[u]:0;this.zoneAxis==="z"&&(d.negative=(d.z||0)<(p.zThreshold||0)),s(h)&&h>=o/2?(d.marker=j(d.marker,{radius:h,width:2*h,height:2*h}),d.dlBox={x:d.plotX-h,y:d.plotY-h,width:2*h,height:2*h}):(d.shapeArgs=d.plotY=d.dlBox=void 0,d.isInside=!1)}}getPxExtremes(){let v=Math.min(this.chart.plotWidth,this.chart.plotHeight),p=u=>{let d;return typeof u=="string"&&(d=/%$/.test(u),u=parseInt(u,10)),d?v*u/100:u},a=p(x(this.options.minSize,8)),o=Math.max(p(x(this.options.maxSize,"20%")),a);return{minPxSize:a,maxPxSize:o}}getZExtremes(){let v=this.options,p=(this.zData||[]).filter(s);if(p.length){let a=x(v.zMin,L(T(p),v.displayNegative===!1?v.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),o=x(v.zMax,H(p));if(s(a)&&s(o))return{zMin:a,zMax:o}}}}return S.defaultOptions=c(Y.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:g}=this.series.chart,{z:v}=this.point;return s(v)?g(v,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,
129states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),j(S.prototype,{alignDataLabel:R.alignDataLabel,applyZones:q,bubblePadding:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),V(S,"updatedData",g=>{delete g.target.chart.bubbleZExtremes}),V(S,"remove",g=>{delete g.target.chart.bubbleZExtremes}),B.registerSeriesType("bubble",S),S}),r(e,"Series/MapBubble/MapBubblePoint.js",[e["Series/Bubble/BubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{map:{prototype:{pointClass:{prototype:C}}}}}=n,{extend:B}=l;class $ extends t{isValid(){return typeof this.z=="number"}}return B($.prototype,{applyOptions:C.applyOptions,getProjectedBounds:C.getProjectedBounds}),$}),r(e,"Series/MapBubble/MapBubbleSeries.js",[e["Series/Bubble/BubbleSeries.js"],e["Series/MapBubble/MapBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{seriesTypes:{map:{prototype:B},mappoint:{prototype:$}}}=l,{extend:K,merge:G}=C;class q extends t{constructor(){super(...arguments),this.clearBounds=B.clearBounds}searchPoint(R,Y){return this.searchKDTree({plotX:R.chartX-this.chart.plotLeft,plotY:R.chartY-this.chart.plotTop},Y,R)}translate(){$.translate.call(this),this.getRadii(),this.translateBubble()}updateParallelArrays(R,Y,V){super.updateParallelArrays.call(this,R,Y,V);let H=this.processedXData,T=this.xData;H&&T&&(H.length=T.length)}}return q.defaultOptions=G(t.defaultOptions,{lineWidth:0,animationLimit:500,joinBy:"hc-key",tooltip:{pointFormat:"{point.name}: {point.z}"}}),K(q.prototype,{type:"mapbubble",axisTypes:["colorAxis"],getProjectedBounds:B.getProjectedBounds,isCartesian:!1,pointArrayMap:["z"],pointClass:n,processData:B.processData,projectPoint:$.projectPoint,kdAxisArray:["plotX","plotY"],setData:B.setData,setOptions:B.setOptions,updateData:B.updateData,useMapGeometry:!0,xyFromShape:!0}),l.registerSeriesType("mapbubble",q),q}),r(e,"Series/Heatmap/HeatmapPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{scatter:{prototype:{pointClass:l}}}=t.seriesTypes,{clamp:C,defined:B,extend:$,pick:K}=n;class G extends l{applyOptions(Z,R){return(this.isNull||this.value===null)&&delete this.color,super.applyOptions(Z,R),this.formatPrefix=this.isNull||this.value===null?"null":"point",this}getCellAttributes(){let Z=this.series,R=Z.options,Y=(R.colsize||1)/2,V=(R.rowsize||1)/2,H=Z.xAxis,T=Z.yAxis,L=this.options.marker||Z.options.marker,j=Z.pointPlacementToXValue(),s=K(this.pointPadding,R.pointPadding,0),c={x1:C(Math.round(H.len-H.translate(this.x-Y,!1,!0,!1,!0,-j)),-H.len,2*H.len),x2:C(Math.round(H.len-H.translate(this.x+Y,!1,!0,!1,!0,-j)),-H.len,2*H.len),y1:C(Math.round(T.translate(this.y-V,!1,!0,!1,!0)),-T.len,2*T.len),y2:C(Math.round(T.translate(this.y+V,!1,!0,!1,!0)),-T.len,2*T.len)};for(let x of[["width","x"],["height","y"]]){let N=x[0],P=x[1],S=P+"1",g=P+"2",v=Math.abs(c[S]-c[g]),p=L&&L.lineWidth||0,a=Math.abs(c[S]+c[g])/2,o=L&&L[N];if(B(o)&&o<v){let u=o/2+p/2;c[S]=a-u,c[g]=a+u}s&&((P==="x"&&H.reversed||P==="y"&&!T.reversed)&&(S=g,g=P+"1"),c[S]+=s,c[g]-=s)}return c}
129haloPath(Z){if(!Z)return[];let{x:R=0,y:Y=0,width:V=0,height:H=0}=this.shapeArgs||{};return[["M",R-Z,Y-Z],["L",R-Z,Y+H+Z],["L",R+V+Z,Y+H+Z],["L",R+V+Z,Y-Z],["Z"]]}isValid(){return this.value!==1/0&&this.value!==-1/0}}return $(G.prototype,{dataLabelOnNull:!0,moveToTopOnHover:!0,ttBelow:!1}),G}),r(e,"Series/Heatmap/HeatmapSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){let{isNumber:n}=t;return{animation:!1,borderRadius:0,borderWidth:0,interpolation:!1,nullColor:"#f7f7f7",dataLabels:{formatter:function(){let{numberFormatter:l}=this.series.chart,{value:C}=this.point;return n(C)?l(C,-1):""},inside:!0,verticalAlign:"middle",crop:!1,overflow:"allow",padding:0},marker:{symbol:"rect",radius:0,lineColor:void 0,states:{hover:{lineWidthPlus:0},select:{}}},clip:!0,pointRange:null,tooltip:{pointFormat:"{point.x}, {point.y}: {point.value}<br/>"},states:{hover:{halo:!1,brightness:.2}},legendSymbol:"rectangle"}}),r(e,"Series/InterpolationUtilities.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{doc:l}=t,{defined:C,pick:B}=n;return{colorFromPoint:function($,K){let G=K.series.colorAxis;if(G){let q=G.toColor($||0,K).split(")")[0].split("(")[1].split(",").map(Z=>B(parseFloat(Z),parseInt(Z,10)));return q[3]=255*B(q[3],1),C($)&&K.visible||(q[3]=0),q}return[0,0,0,0]},getContext:function($){let{canvas:K,context:G}=$;return K&&G?(G.clearRect(0,0,K.width,K.height),G):($.canvas=l.createElement("canvas"),$.context=$.canvas.getContext("2d",{willReadFrequently:!0})||void 0,$.context)}}}),r(e,"Series/Heatmap/HeatmapSeries.js",[e["Core/Color/Color.js"],e["Series/ColorMapComposition.js"],e["Series/Heatmap/HeatmapPoint.js"],e["Series/Heatmap/HeatmapSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"],e["Series/InterpolationUtilities.js"]],function(t,n,l,C,B,$,K,G){let{series:q,seriesTypes:{column:Z,scatter:R}}=B,{prototype:{symbols:Y}}=$,{addEvent:V,extend:H,fireEvent:T,isNumber:L,merge:j,pick:s}=K,{colorFromPoint:c,getContext:x}=G;class N extends R{constructor(){super(...arguments),this.valueMax=NaN,this.valueMin=NaN,this.isDirtyCanvas=!0}drawPoints(){let S=this,g=S.options,v=g.interpolation,p=g.marker||{};if(v){let{image:a,chart:o,xAxis:u,yAxis:d}=S,{reversed:h=!1,len:m}=u,{reversed:f=!1,len:y}=d,I={width:m,height:y};if(!a||S.isDirtyData||S.isDirtyCanvas){let E=x(S),{canvas:M,options:{colsize:D=1,rowsize:F=1},points:X,points:{length:_}}=S,w=o.colorAxis&&o.colorAxis[0];if(M&&E&&w){let{min:A,max:U}=u.getExtremes(),{min:b,max:k}=d.getExtremes(),O=U-A,z=k-b,W=Math.round(O/D/8*8),Q=Math.round(z/F/8*8),[ee,se]=[[W,W/O,h,"ceil"],[Q,Q/z,!f,"floor"]].map(([ne,oe,le,ue])=>le?de=>Math[ue](ne-oe*de):de=>Math[ue](oe*de)),ae=M.width=W+1,he=ae*(M.height=Q+1),ce=(_-1)/he,ie=new Uint8ClampedArray(4*he),te=(ne,oe)=>4*Math.ceil(ae*se(oe-b)+ee(ne-A));S.buildKDTree();for(let ne=0;ne<he;ne++){let oe=X[Math.ceil(ce*ne)],{x:le,y:ue}=oe;ie.set(c(oe.value,oe),te(le,ue))}E.putImageData(new ImageData(ie,ae),0,0),a?a.attr(xt(ze({},I),{href:M.toDataURL("image/png",1)})):(S.directTouch=!1,S.image=o.renderer.image(M.toDataURL("image/png",1)).attr(I).add(S.group))}S.isDirtyCanvas=!1}else(a.width!==m||a.height!==y)&&a.attr(I)}else(p.enabled||S._hasPointMarkers)&&(q.prototype.drawPoints.call(S),S.points.forEach(a=>{a.graphic&&(a.graphic[S.chart.styledMode?"css":"animate"](S.colorAttribs(a)),a.value===null&&a.graphic.addClass("highcharts-null-point"))}))}getExtremes(){let{dataMin:S,dataMax:g}=q.prototype.getExtremes.call(this,this.valueData);return L(S)&&(this.valueMin=S),L(g)&&(this.valueMax=g),q.prototype.getExtremes.call(this)}getValidPoints(S,g){return q.prototype.getValidPoints.call(this,S,g,!0)}hasData(){return!!this.xData}init(){super.init.apply(this,arguments);let S=this.options;S.pointRange=s(S.pointRange,S.colsize||1),this.yAxis.axisPointRange=S.rowsize||1,Y.ellipse=Y.circle,S.marker&&L(S.borderRadius)&&(S.marker.r=S.borderRadius)}markerAttribs(S,g){let v=S.shapeArgs||{};if(S.hasImage)return{x:S.plotX,y:S.plotY};if(g&&g!=="normal"){let p=S.options.marker||{},a=this.options.marker||{},o=a.states&&a.states[g]||{},u=p.states&&p.states[g]||{},d=(u.width||o.width||v.width||0)+(u.widthPlus||o.widthPlus||0),h=(u.height||o.height||v.height||0)+(u.heightPlus||o.heightPlus||0);return{x:(v.x||0)+((v.width||0)-d)/2,y:(v.y||0)+((v.height||0)-h)/2,width:d,height:h}}return v}pointAttribs(S,g){let v=q.prototype.pointAttribs.call(this,S,g),p=this.options||{},a=this.chart.options.plotOptions||{},o=a.series||{},u=a.heatmap||{},d=S&&S.options.borderColor||p.borderColor||u.borderColor||o.borderColor,h=S&&S.options.borderWidth||p.borderWidth||u.borderWidth||o.borderWidth||v["stroke-width"];if(v.stroke=S&&S.marker&&S.marker.lineColor||p.marker&&p.marker.lineColor||d||this.color,v["stroke-width"]=h,g&&g!=="normal"){let m=j(p.states&&p.states[g],p.marker&&p.marker.states&&p.marker.states[g],S&&S.options.states&&S.options.states[g]||{});v.fill=m.color||t.parse(v.fill).brighten(m.brightness||0).get(),v.stroke=m.lineColor||v.stroke}return v}translate(){let{borderRadius:S,marker:g}=this.options,v=g&&g.symbol||"rect",p=Y[v]?v:"rect",a=["circle","square"].indexOf(p)!==-1;if(!this.processedXData){let{xData:o,yData:u}=this.getProcessedData();this.processedXData=o,this.processedYData=u}for(let o of(this.generatePoints(),this.points)){let u=o.getCellAttributes(),d=Math.min(u.x1,u.x2),h=Math.min(u.y1,u.y2),m=Math.max(Math.abs(u.x2-u.x1),0),f=Math.max(Math.abs(u.y2-u.y1),0);if(o.hasImage=(o.marker&&o.marker.symbol||v||"").indexOf("url")===0,a){let y=Math.abs(m-f);d=Math.min(u.x1,u.x2)+(m<f?0:y/2),h=Math.min(u.y1,u.y2)+(m<f?y/2:0),m=f=Math.min(m,f)}o.hasImage&&(o.marker={width:m,height:f}),o.plotX=o.clientX=(u.x1+u.x2)/2,o.plotY=(u.y1+u.y2)/2,o.shapeType="path",o.shapeArgs=j(!0,{x:d,y:h,width:m,height:f},{d:Y[p](d,h,m,f,{r:L(S)?S:0})})}T(this,"afterTranslate")}}return N.defaultOptions=j(R.defaultOptions,C),V(N,"afterDataClassLegendClick",function(){this.isDirtyCanvas=!0,this.drawPoints()}),H(N.prototype,{axisTypes:n.seriesMembers.axisTypes,colorKey:n.seriesMembers.colorKey,directTouch:!0,getExtremesFromAll:!0,parallelArrays:n.seriesMembers.parallelArrays,pointArrayMap:["y","value"],pointClass:l,specialGroup:"group",trackerGroups:n.seriesMembers.trackerGroups,alignDataLabel:Z.prototype.alignDataLabel,colorAttribs:n.seriesMembers.colorAttribs,getSymbol:q.prototype.getSymbol}),n.compose(N),B.registerSeriesType("heatmap",N),N}),r(e,"masters/modules/map.src.js",[e["Core/Globals.js"],e["Maps/MapNavigation.js"],e["Series/ColorMapComposition.js"],e["Series/MapBubble/MapBubbleSeries.js"],e["Maps/GeoJSONComposition.js"],e["Core/Chart/MapChart.js"],e["Maps/MapView.js"],e["Maps/Projection.js"]],function(t,n,l,C,B,$,K,G){return t.ColorMapComposition=l,t.MapChart=t.MapChart||$,t.MapNavigation=t.MapNavigation||n,t.MapView=t.MapView||K,t.Projection=t.Projection||G,t.mapChart=t.Map=t.MapChart.mapChart,t.maps=t.MapChart.maps,t.geojson=B.geojson,t.topo2geo=B.topo2geo,B.compose(t.Chart),C.compose(t.Axis,t.Chart,t.Legend),n.compose($,t.Pointer,t.SVGRenderer),K.compose($),t}),r(e,"masters/highmaps.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highmaps",t}),e["masters/highmaps.src.js"]._modules=e,e["masters/highmaps.src.js"]})});var AA=$n((kA,f1)=>{"use strict";(function(i,e){typeof f1=="object"&&f1.exports?(e.default=e,f1.exports=i&&i.document?e(i):e):typeof define=="function"&&define.amd?define("highcharts/highstock",function(){return e(i)}):(i.Highcharts&&i.Highcharts.error(16,!0),i.Highcharts=e(i))})(typeof window<"u"?window:kA,function(i){"use strict";var e={};function r(t,n,l,C){!t.hasOwnProperty(n)&&(t[n]=C.apply(null,l),i&&typeof CustomEvent=="function"&&i.dispatchEvent(new CustomEvent("HighchartsM
129oduleLoaded",{detail:{path:n,module:t[n]}})))}return r(e,"Core/Globals.js",[],function(){var t,n;return(n=t||(t={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.8",n.win=i!==void 0?i:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=n.userAgent.indexOf("Firefox")!==-1,n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&n.userAgent.indexOf("Safari")!==-1,n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=n.userAgent.indexOf("AppleWebKit")!==-1,n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let l=!1;if(!n.isMS){let C=Object.defineProperty({},"passive",{get:function(){l=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,C),n.win.removeEventListener("testPassive",n.noop,C))}return l}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,t}),r(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let n,{charts:l,doc:C,win:B}=t;function $(a,o,u,d){let h=o?"Highcharts error":"Highcharts warning";a===32&&(a=`${h}: Deprecated member`);let m=V(a),f=m?`${h} #${a}: www.highcharts.com/errors/${a}/`:a.toString();if(d!==void 0){let y="";m&&(f+="?"),S(d,function(I,E){y+=` 130 - ${E}: ${I}`,m&&(f+=encodeURI(E)+"="+encodeURI(I))}),f+=y}v(t,"displayError",{chart:u,code:a,message:f,params:d},function(){if(o)throw Error(f);B.console&&$.messages.indexOf(f)===-1&&console.warn(f)}),$.messages.push(f)}function K(a,o){return parseInt(a,o||10)}function G(a){return typeof a=="string"}function q(a){let o=Object.prototype.toString.call(a);return o==="[object Array]"||o==="[object Array Iterator]"}function Z(a,o){return!!a&&typeof a=="object"&&(!o||!q(a))}function R(a){return Z(a)&&typeof a.nodeType=="number"}function Y(a){let o=a&&a.constructor;return!!(Z(a,!0)&&!R(a)&&o&&o.name&&o.name!=="Object")}function V(a){return typeof a=="number"&&!isNaN(a)&&a<1/0&&a>-1/0}function H(a){return a!=null}function T(a,o,u){let d,h=G(o)&&!H(u),m=(f,y)=>{H(f)?a.setAttribute(y,f):h?(d=a.getAttribute(y))||y!=="class"||(d=a.getAttribute(y+"Name")):a.removeAttribute(y)};return G(o)?m(u,o):S(o,m),d}function L(a){return q(a)?a:[a]}function j(a,o){let u;for(u in a||(a={}),o)a[u]=o[u];return a}function s(){let a=arguments,o=a.length;for(let u=0;u<o;u++){let d=a[u];if(d!=null)return d}}function c(a,o){j(a.style,o)}function x(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))}function N(a,o){return a>1e14?a:parseFloat(a.toPrecision(o||14))}($||($={})).messages=[],Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};let P=Array.prototype.find?function(a,o){return a.find(o)}:function(a,o){let u,d=a.length;for(u=0;u<d;u++)if(o(a[u],u))return a[u]};function S(a,o,u){for(let d in a)Object.hasOwnProperty.call(a,d)&&o.call(u||a[d],a[d],d,a)}function g(a,o,u){function d(f,y){let I=a.removeEventListener;I&&I.call(a,f,y,!1)}function h(f){let y,I;a.nodeName&&(o?(y={})[o]=!0:y=f,S(y,function(E,M){if(f[M])for(I=f[M].length;I--;)d(M,f[M][I].fn)}))}let m=typeof a=="function"&&a.prototype||a;if(Object.hasOwnProperty.call(m,"hcEvents")){let f=m.hcEvents;if(o){let y=f[o]||[];u?(f[o]=y.filter(function(I){return u!==I.fn}),d(o,u)):(h(f),f[o]=[])}else h(f),delete m.hcEvents}}function v(a,o,u,d){if(u=u||{},C.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==t)){let h=C.createEvent("Events");h.initEvent(o,!0,!0),u=j(h,u),a.dispatchEvent?a.dispatchEvent(u):a.fireEvent(o,u)}else if(a.hcEvents){u.target||j(u,{preventDefault:function(){u.defaultPrevented=!0},target:a,type:o});let h=[],m=a,f=!1;for(;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[o]&&(h.length&&(f=!0),h.unshift.apply(h,m.hcEvents[o])),m=Object.getPrototypeOf(m);f&&h.sort((y,I)=>y.order-I.order),h.forEach(y=>{y.fn.call(a,u)===!1&&u.preventDefault()})}d&&!u.defaultPrevented&&d.call(a,u)}
vendor: 4,905 bytes, line 130
130S({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,o){t[o]=function(u){return $(32,!1,void 0,{[`Highcharts.${o}`]:`use Array.${a}`}),Array.prototype[a].apply(u,[].slice.call(arguments,1))}});let p=function(){let a=Math.random().toString(36).substring(2,9)+"-",o=0;return function(){return"highcharts-"+(n?"":a)+o++}}();return B.jQuery&&(B.jQuery.fn.highcharts=function(){let a=[].slice.call(arguments);if(this[0])return a[0]?(new t[G(a[0])?a.shift():"Chart"](this[0],a[0],a[1]),this):l[T(this[0],"data-highcharts-chart")]}),{addEvent:function(a,o,u,d={}){let h=typeof a=="function"&&a.prototype||a;Object.hasOwnProperty.call(h,"hcEvents")||(h.hcEvents={});let m=h.hcEvents;t.Point&&a instanceof t.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);let f=a.addEventListener;f&&f.call(a,o,u,!!t.supportsPassiveEvents&&{passive:d.passive===void 0?o.indexOf("touch")!==-1:d.passive,capture:!1}),m[o]||(m[o]=[]);let y={fn:u,order:typeof d.order=="number"?d.order:1/0};return m[o].push(y),m[o].sort((I,E)=>I.order-E.order),function(){g(a,o,u)}},arrayMax:function(a){let o=a.length,u=a[0];for(;o--;)a[o]>u&&(u=a[o]);return u},arrayMin:function(a){let o=a.length,u=a[0];for(;o--;)a[o]<u&&(u=a[o]);return u},attr:T,clamp:function(a,o,u){return a>o?a<u?a:u:o},clearTimeout:function(a){H(a)&&clearTimeout(a)},correctFloat:N,createElement:function(a,o,u,d,h){let m=C.createElement(a);return o&&j(m,o),h&&c(m,{padding:"0",border:"none",margin:"0"}),u&&c(m,u),d&&d.appendChild(m),m},crisp:(a,o=0,u)=>{let d=o%2/2,h=u?-1:1;return(Math.round(a*h-d)+d)*h},css:c,defined:H,destroyObjectProperties:function(a,o,u){S(a,function(d,h){d!==o&&(d!=null&&d.destroy)&&d.destroy(),(d!=null&&d.destroy||!u)&&delete a[h]})},diffObjects:function(a,o,u,d){let h={};return function m(f,y,I,E){let M=u?y:f;S(f,function(D,F){if(!E&&d&&d.indexOf(F)>-1&&y[F]){D=L(D),I[F]=[];for(let X=0;X<Math.max(D.length,y[F].length);X++)y[F][X]&&(D[X]===void 0?I[F][X]=y[F][X]:(I[F][X]={},m(D[X],y[F][X],I[F][X],E+1)))}else Z(D,!0)&&!D.nodeType?(I[F]=q(D)?[]:{},m(D,y[F]||{},I[F],E+1),Object.keys(I[F]).length!==0||F==="colorAxis"&&E===0||delete I[F]):(f[F]!==y[F]||F in f&&!(F in y))&&F!=="__proto__"&&F!=="constructor"&&(I[F]=M[F])})}(a,o,h,0),h},discardElement:function(a){a&&a.parentElement&&a.parentElement.removeChild(a)},erase:function(a,o){let u=a.length;for(;u--;)if(a[u]===o){a.splice(u,1);break}},error:$,extend:j,extendClass:function(a,o){let u=function(){};return u.prototype=new a,j(u.prototype,o),u},find:P,fireEvent:v,getClosestDistance:function(a,o){let u,d,h,m,f=!o;return a.forEach(y=>{if(y.length>1)for(m=d=y.length-1;m>0;m--)(h=y[m]-y[m-1])<0&&!f?(o==null||o(),o=void 0):h&&(u===void 0||h<u)&&(u=h)}),u},getMagnitude:x,getNestedProperty:function(a,o){let u=a.split(".");for(;u.length&&H(o);){let d=u.shift();if(d===void 0||d==="__proto__")return;if(d==="this"){let m;return Z(o)&&(m=o["@this"]),m??o}let h=o[d];if(!H(h)||typeof h=="function"||typeof h.nodeType=="number"||h===B)return;o=h}return o},getStyle:function a(o,u,d){let h;if(u==="width"){let f=Math.min(o.offsetWidth,o.scrollWidth),y=o.getBoundingClientRect&&o.getBoundingClientRect().width;return y<f&&y>=f-1&&(f=Math.floor(y)),Math.max(0,f-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0))}if(u==="height")return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));let m=B.getComputedStyle(o,void 0);return m&&(h=m.getPropertyValue(u),s(d,u!=="opacity")&&(h=K(h))),h},inArray:function(a,o,u){return $(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),o.indexOf(a,u)},insertItem:function(a,o){let u,d=a.options.index,h=o.length;for(u=a.options.isInternal?h:0;u<h+1;u++)if(!o[u]||V(d)&&d<s(o[u].options.index,o[u]._i)||o[u].options.isInternal){o.splice(u,0,a);break}return u},isArray:q,isClass:Y,isDOMElement:R,isFunction:function(a){return typeof a=="function"},isNumber:V,isObject:Z,isString:G,keys:function(a){return $(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(a)},merge:function(){let a,o=arguments,u={},d=function(m,f){return typeof m!="object"&&(m={}),S(f,function(y,I){I!=="__proto__"&&I!=="constructor"&&(!Z(y,!0)||Y(y)||R(y)?m[I]=f[I]:m[I]=d(m[I]||{},y))}),m};o[0]===!0&&(u=o[1],o=Array.prototype.slice.call(o,2));let h=o.length;for(a=0;a<h;a++)u=d(u,o[a]);return u},normalizeTickInterval:function(a,o,u,d,h){let m,f=a;u=s(u,x(a));let y=a/u;for(!o&&(o=h?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],d===!1&&(u===1?o=o.filter(function(I){return I%1==0}):u<=.1&&(o=[1/u]))),m=0;m<o.length&&(f=o[m],(!h||!(f*u>=a))&&(h||!(y<=(o[m]+(o[m+1]||o[m]))/2)));m++);return N(f*u,-Math.round(Math.log(.001)/Math.LN10))},objectEach:S,offset:function(a){let o=C.documentElement,u=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:u.top+(B.pageYOffset||o.scrollTop)-(o.clientTop||0),left
130:u.left+(B.pageXOffset||o.scrollLeft)-(o.clientLeft||0),width:u.width,height:u.height}},pad:function(a,o,u){return Array((o||2)+1-String(a).replace("-","").length).join(u||"0")+a},pick:s,pInt:K,pushUnique:function(a,o){return 0>a.indexOf(o)&&!!a.push(o)},relativeLength:function(a,o,u){return/%$/.test(a)?o*parseFloat(a)/100+(u||0):parseFloat(a)},removeEvent:g,replaceNested:function(a,...o){let u,d;do for(d of(u=a,o))a=a.replace(d[0],d[1]);while(a!==u);return a},splat:L,stableSort:function(a,o){let u,d,h=a.length;for(d=0;d<h;d++)a[d].safeI=d;for(a.sort(function(m,f){return(u=o(m,f))===0?m.safeI-f.safeI:u}),d=0;d<h;d++)delete a[d].safeI},syncTimeout:function(a,o,u){return o>0?setTimeout(a,o,u):(a.call(0,u),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:p,useSerialIds:function(a){return n=s(a,n)},wrap:function(a,o,u){let d=a[o];a[o]=function(){let h=arguments,m=this;return u.apply(this,[function(){return d.apply(m,arguments.length?arguments:h)}].concat([].slice.call(arguments)))}}}}),r(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),r(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),r(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{win:l}=t,{defined:C,error:B,extend:$,isNumber:K,isObject:G,merge:q,objectEach:Z,pad:R,pick:Y,splat:V,timeUnits:H}=n,T=t.isSafari&&l.Intl&&l.Intl.DateTimeFormat.prototype.formatRange,L=t.isSafari&&l.Intl&&!l.Intl.DateTimeFormat.prototype.formatRange;class j{constructor(c){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=l.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(c)}get(c,x){if(this.variableTimezone||this.timezoneOffset){let N=x.getTime(),P=N-this.getTimezoneOffset(x);x.setTime(P);let S=x["getUTC"+c]();return x.setTime(N),S}return this.useUTC?x["getUTC"+c]():x["get"+c]()}set(c,x,N){if(this.variableTimezone||this.timezoneOffset){if(c==="Milliseconds"||c==="Seconds"||c==="Minutes"&&this.getTimezoneOffset(x)%36e5==0)return x["setUTC"+c](N);let P=this.getTimezoneOffset(x),S=x.getTime()-P;x.setTime(S),x["setUTC"+c](N);let g=this.getTimezoneOffset(x);return S=x.getTime()+g,x.setTime(S)}return this.useUTC||T&&c==="FullYear"?x["setUTC"+c](N):x["set"+c](N)}update(c={}){let x=Y(c.useUTC,!0);this.options=c=q(!0,this.options,c),this.Date=c.Date||l.Date||Date,this.useUTC=x,this.timezoneOffset=x&&c.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=x&&!!(c.getTimezoneOffset||c.timezone)}
130makeTime(c,x,N,P,S,g){let v,p,a;return this.useUTC?(v=this.Date.UTC.apply(0,arguments),p=this.getTimezoneOffset(v),v+=p,p!==(a=this.getTimezoneOffset(v))?v+=a-p:p-36e5!==this.getTimezoneOffset(v-36e5)||L||(v-=36e5)):v=new this.Date(c,x,Y(N,1),Y(P,0),Y(S,0),Y(g,0)).getTime(),v}timezoneOffsetFunction(){let c=this,x=this.options,N=x.getTimezoneOffset;return this.useUTC?x.timezone?P=>{try{let S=`shortOffset,${x.timezone||""}`,[g,v,p,a,o=0]=(j.formatCache[S]=j.formatCache[S]||Intl.DateTimeFormat("en",{timeZone:x.timezone,timeZoneName:"shortOffset"})).format(P).split(/(GMT|:)/).map(Number),u=-(36e5*(p+o/60));if(K(u))return u}catch{B(34)}return 0}:this.useUTC&&N?P=>6e4*N(P.valueOf()):()=>6e4*(c.timezoneOffset||0):P=>6e4*new Date(P.toString()).getTimezoneOffset()}dateFormat(c,x,N){if(!C(x)||isNaN(x))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";c=Y(c,"%Y-%m-%d %H:%M:%S");let P=this,S=new this.Date(x),g=this.get("Hours",S),v=this.get("Day",S),p=this.get("Date",S),a=this.get("Month",S),o=this.get("FullYear",S),u=t.defaultOptions.lang,d=u&&u.weekdays,h=u&&u.shortWeekdays;return Z($({a:h?h[v]:d[v].substr(0,3),A:d[v],d:R(p),e:R(p,2," "),w:v,b:u.shortMonths[a],B:u.months[a],m:R(a+1),o:a+1,y:o.toString().substr(2,2),Y:o,H:R(g),k:g,I:R(g%12||12),l:g%12||12,M:R(this.get("Minutes",S)),p:g<12?"AM":"PM",P:g<12?"am":"pm",S:R(this.get("Seconds",S)),L:R(Math.floor(x%1e3),3)},t.dateFormats),function(m,f){for(;c.indexOf("%"+f)!==-1;)c=c.replace("%"+f,typeof m=="function"?m.call(P,x):m)}),N?c.substr(0,1).toUpperCase()+c.substr(1):c}resolveDTLFormat(c){return G(c,!0)?c:{main:(c=V(c))[0],from:c[1],to:c[2]}}getTimeTicks(c,x,N,P){let S,g,v,p,a=this,o=a.Date,u=[],d={},h=new o(x),m=c.unitRange,f=c.count||1;if(P=Y(P,1),C(x)){a.set("Milliseconds",h,m>=H.second?0:f*Math.floor(a.get("Milliseconds",h)/f)),m>=H.second&&a.set("Seconds",h,m>=H.minute?0:f*Math.floor(a.get("Seconds",h)/f)),m>=H.minute&&a.set("Minutes",h,m>=H.hour?0:f*Math.floor(a.get("Minutes",h)/f)),m>=H.hour&&a.set("Hours",h,m>=H.day?0:f*Math.floor(a.get("Hours",h)/f)),m>=H.day&&a.set("Date",h,m>=H.month?1:Math.max(1,f*Math.floor(a.get("Date",h)/f))),m>=H.month&&(a.set("Month",h,m>=H.year?0:f*Math.floor(a.get("Month",h)/f)),g=a.get("FullYear",h)),m>=H.year&&(g-=g%f,a.set("FullYear",h,g)),m===H.week&&(p=a.get("Day",h),a.set("Date",h,a.get("Date",h)-p+P+(p<P?-7:0))),g=a.get("FullYear",h);let y=a.get("Month",h),I=a.get("Date",h),E=a.get("Hours",h);x=h.getTime(),(a.variableTimezone||!a.useUTC)&&C(N)&&(v=N-x>4*H.month||a.getTimezoneOffset(x)!==a.getTimezoneOffset(N));let M=h.getTime();for(S=1;M<N;)u.push(M),m===H.year?M=a.makeTime(g+S*f,0):m===H.month?M=a.makeTime(g,y+S*f):v&&(m===H.day||m===H.week)?M=a.makeTime(g,y,I+S*f*(m===H.day?1:7)):v&&m===H.hour&&f>1?M=a.makeTime(g,y,I,E+S*f):M+=m*f,S++;u.push(M),m<=H.hour&&u.length<1e4&&u.forEach(function(D){D%18e5==0&&a.dateFormat("%H%M%S%L",D)==="000000000"&&(d[D]="day")})}return u.info=$(c,{higherRanks:d,totalRange:m*f}),u}getDateFormat(c,x,N,P){let S=this.dateFormat("%m-%d %H:%M:%S.%L",x),g="01-01 00:00:00.000",v={millisecond:15,second:12,minute:9,hour:6,day:3},p="millisecond",a=p;for(p in H){if(c===H.week&&+this.dateFormat("%w",x)===N&&S.substr(6)===g.substr(6)){p="week";break}if(H[p]>c){p=a;break}if(v[p]&&S.substr(v[p])!==g.substr(v[p]))break;p!=="week"&&(a=p)}return this.resolveDTLFormat(P[p]).main}}return j.formatCache={},j}),r(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{isTouchDevice:$}=n,{fireEvent:K,merge:G}=B,q={colors:l.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"}
130,states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:R=>Math.sqrt(1-Math.pow(R-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:$?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};q.chart.styledMode=!1;let Z=new C(q.time);return{defaultOptions:q,defaultTime:Z,getOptions:function(){return q},setOptions:function(R){return K(n,"setOptions",{options:R}),G(!0,q,R),(R.time||R.global)&&(n.time?n.time.update(G(q.global,q.time,R.global,R.time)):n.time=Z),q}}}),r(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isNumber:l,merge:C,pInt:B}=n;class ${static parse(G){return G?new $(G):$.None}constructor(G){let q,Z,R,Y;this.rgba=[NaN,NaN,NaN,NaN],this.input=G;let V=t.Color;if(V&&V!==$)return new V(G);if(typeof G=="object"&&G.stops!==void 0)this.stops=G.stops.map(H=>new $(H[1]));else if(typeof G=="string"){if(this.input=G=$.names[G.toLowerCase()]||G,G.charAt(0)==="#"){let H=G.length,T=parseInt(G.substr(1),16);H===7?Z=[(16711680&T)>>16,(65280&T)>>8,255&T,1]:H===4&&(Z=[(3840&T)>>4|(3840&T)>>8,(240&T)>>4|240&T,(15&T)<<4|15&T,1])}if(!Z)for(R=$.parsers.length;R--&&!Z;)(q=(Y=$.parsers[R]).regex.exec(G))&&(Z=Y.parse(q))}Z&&(this.rgba=Z)}get(G){let q=this.input,Z=this.rgba;if(typeof q=="object"&&this.stops!==void 0){let R=C(q);return R.stops=[].slice.call(R.stops),this.stops.forEach((Y,V)=>{R.stops[V]=[R.stops[V][0],Y.get(G)]}),R}return Z&&l(Z[0])?G!=="rgb"&&(G||Z[3]!==1)?G==="a"?`${Z[3]}`:"rgba("+Z.join(",")+")":"rgb("+Z[0]+","+Z[1]+","+Z[2]+")":q}brighten(G){let q=this.rgba;if(this.stops)this.stops.forEach(function(Z){Z.brighten(G)});else if(l(G)&&G!==0)for(let Z=0;Z<3;Z++)q[Z]+=B(255*G),q[Z]<0&&(q[Z]=0),q[Z]>255&&(q[Z]=255);return this}setOpacity(G){return this.rgba[3]=G,this}tweenTo(G,q){let Z=this.rgba,R=G.rgba;if(!l(Z[0])||!l(R[0]))return G.input||"none";let Y=R[3]!==1||Z[3]!==1;return(Y?"rgba(":"rgb(")+Math.round(R[0]+(Z[0]-R[0])*(1-q))+","+Math.round(R[1]+(Z[1]-R[1])*(1-q))+","+Math.round(R[2]+(Z[2]-R[2])*(1-q))+(Y?","+(R[3]+(Z[3]-R[3])*(1-q)):"")+")"}}return $.names={white:"#ffffff",black:"#000000"},$.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),parseFloat(K[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),1]}}],$.None=new $(""),$}
130),r(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{parse:C}=t,{win:B}=n,{isNumber:$,objectEach:K}=l;class G{constructor(Z,R,Y){this.pos=NaN,this.options=R,this.elem=Z,this.prop=Y}dSetter(){let Z=this.paths,R=Z&&Z[0],Y=Z&&Z[1],V=this.now||0,H=[];if(V!==1&&R&&Y)if(R.length===Y.length&&V<1)for(let T=0;T<Y.length;T++){let L=R[T],j=Y[T],s=[];for(let c=0;c<j.length;c++){let x=L[c],N=j[c];$(x)&&$(N)&&!(j[0]==="A"&&(c===4||c===5))?s[c]=x+V*(N-x):s[c]=N}H.push(s)}else H=Y;else H=this.toD||[];this.elem.attr("d",H,void 0,!0)}update(){let Z=this.elem,R=this.prop,Y=this.now,V=this.options.step;this[R+"Setter"]?this[R+"Setter"]():Z.attr?Z.element&&Z.attr(R,Y,null,!0):Z.style[R]=Y+this.unit,V&&V.call(Z,Y,this)}run(Z,R,Y){let V=this,H=V.options,T=function(s){return!T.stopped&&V.step(s)},L=B.requestAnimationFrame||function(s){setTimeout(s,13)},j=function(){for(let s=0;s<G.timers.length;s++)G.timers[s]()||G.timers.splice(s--,1);G.timers.length&&L(j)};Z!==R||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=Z,this.end=R,this.unit=Y,this.now=this.start,this.pos=0,T.elem=this.elem,T.prop=this.prop,T()&&G.timers.push(T)===1&&L(j)):(delete H.curAnim[this.prop],H.complete&&Object.keys(H.curAnim).length===0&&H.complete.call(this.elem))}step(Z){let R,Y,V=+new Date,H=this.options,T=this.elem,L=H.complete,j=H.duration,s=H.curAnim;return T.attr&&!T.element?R=!1:Z||V>=j+this.startTime?(this.now=this.end,this.pos=1,this.update(),s[this.prop]=!0,Y=!0,K(s,function(c){c!==!0&&(Y=!1)}),Y&&L&&L.call(T),R=!1):(this.pos=H.easing((V-this.startTime)/j),this.now=this.start+(this.end-this.start)*this.pos,this.update(),R=!0),R}
vendor: 5,342 bytes, line 130
130initPath(Z,R,Y){let V=Z.startX,H=Z.endX,T=Y.slice(),L=Z.isArea,j=L?2:1,s=R&&Y.length>R.length&&Y.hasStackedCliffs,c,x,N,P,S=R&&R.slice();if(!S||s)return[T,T];function g(p,a){for(;p.length<x;){let o=p[0],u=a[x-p.length];if(u&&o[0]==="M"&&(u[0]==="C"?p[0]=["C",o[1],o[2],o[1],o[2],o[1],o[2]]:p[0]=["L",o[1],o[2]]),p.unshift(o),L){let d=p.pop();p.push(p[p.length-1],d)}}}function v(p){for(;p.length<x;){let a=p[Math.floor(p.length/j)-1].slice();if(a[0]==="C"&&(a[1]=a[5],a[2]=a[6]),L){let o=p[Math.floor(p.length/j)].slice();p.splice(p.length/2,0,a,o)}else p.push(a)}}if(V&&H&&H.length){for(N=0;N<V.length;N++){if(V[N]===H[0]){c=N;break}if(V[0]===H[H.length-V.length+N]){c=N,P=!0;break}if(V[V.length-1]===H[H.length-V.length+N]){c=V.length-N;break}}c===void 0&&(S=[])}return S.length&&$(c)&&(x=T.length+c*j,P?(g(S,T),v(T)):(g(T,S),v(S))),[S,T]}fillSetter(){G.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}}return G.timers=[],G}),r(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,getStyle:C,isArray:B,isNumber:$,isObject:K,merge:G,objectEach:q,pick:Z}=n;function R(V){return K(V)?G({duration:500,defer:0},V):{duration:V?500:0,defer:0}}function Y(V,H){let T=t.timers.length;for(;T--;)t.timers[T].elem!==V||H&&H!==t.timers[T].prop||(t.timers[T].stopped=!0)}return{animate:function(V,H,T){let L,j="",s,c,x;K(T)||(x=arguments,T={duration:x[2],easing:x[3],complete:x[4]}),$(T.duration)||(T.duration=400),T.easing=typeof T.easing=="function"?T.easing:Math[T.easing]||Math.easeInOutSine,T.curAnim=G(H),q(H,function(N,P){Y(V,P),c=new t(V,T,P),s=void 0,P==="d"&&B(H.d)?(c.paths=c.initPath(V,V.pathArray,H.d),c.toD=H.d,L=0,s=1):V.attr?L=V.attr(P):(L=parseFloat(C(V,P))||0,P!=="opacity"&&(j="px")),s||(s=N),typeof s=="string"&&s.match("px")&&(s=s.replace(/px/g,"")),c.run(L,s,j)})},animObject:R,getDeferredAnimation:function(V,H,T){let L=R(H),j=T?[T]:V.series,s=0,c=0;return j.forEach(x=>{let N=R(x.options.animation);s=K(H)&&l(H.defer)?L.defer:Math.max(s,N.duration+N.defer),c=Math.min(L.duration,N.duration)}),V.renderer.forExport&&(s=0),{defer:Math.max(0,s-c),duration:Math.min(s,c)}},setAnimation:function(V,H){H.renderer.globalAnimation=Z(V,H.options.chart.animation,!0)},stop:Y}}),r(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{SVG_NS:l,win:C}=t,{attr:B,createElement:$,css:K,error:G,isFunction:q,isString:Z,objectEach:R,splat:Y}=n,{trustedTypes:V}=C,H=V&&q(V.createPolicy)&&V.createPolicy("highcharts",{createHTML:s=>s}),T=H?H.createHTML(""):"",L=function(){try{return!!new DOMParser().parseFromString(T,"text/html")}catch{return!1}}();class j{static filterUserAttributes(c){return R(c,(x,N)=>{let P=!0;j.allowedAttributes.indexOf(N)===-1&&(P=!1),["background","dynsrc","href","lowsrc","src"].indexOf(N)!==-1&&(P=Z(x)&&j.allowedReferences.some(S=>x.indexOf(S)===0)),P||(G(33,!1,void 0,{"Invalid attribute in config":`${N}`}),delete c[N]),Z(x)&&c[N]&&(c[N]=x.replace(/</g,"<"))}),c}static parseStyle(c){return c.split(";").reduce((x,N)=>{let P=N.split(":").map(g=>g.trim()),S=P.shift();return S&&P.length&&(x[S.replace(/-([a-z])/g,g=>g[1].toUpperCase())]=P.join(":")),x},{})}static setElementHTML(c,x){c.innerHTML=j.emptyHTML,x&&new j(x).addToDOM(c)}constructor(c){this.nodes=typeof c=="string"?this.parseMarkup(c):c}addToDOM(c){return function x(N,P){let S;return Y(N).forEach(function(g){let v,p=g.tagName,a=g.textContent?t.doc.createTextNode(g.textContent):void 0,o=j.bypassHTMLFiltering;if(p)if(p==="#text")v=a;else if(j.allowedTags.indexOf(p)!==-1||o){let u=p==="svg"?l:P.namespaceURI||l,d=t.doc.createElementNS(u,p),h=g.attributes||{};R(g,function(m,f){f!=="tagName"&&f!=="attributes"&&f!=="children"&&f!=="style"&&f!=="textContent"&&(h[f]=m)}),B(d,o?h:j.filterUserAttributes(h)),g.style&&K(d,g.style),a&&d.appendChild(a),x(g.children||[],d),v=d}else G(33,!1,void 0,{"Invalid tagName in config":p});v&&P.appendChild(v),S=v}),S}(this.nodes,c)}parseMarkup(c){let x,N=[];if(c=c.trim().replace(/ style=(["'])/g," data-style=$1"),L)x=new DOMParser().parseFromString(H?H.createHTML(c):c,"text/html");else{let S=$("div");S.innerHTML=c,x={body:S}}let P=(S,g)=>{let v=S.nodeName.toLowerCase(),p={tagName:v};v==="#text"&&(p.textContent=S.textContent||"");let a=S.attributes;if(a){let o={};[].forEach.call(a,u=>{u.name==="data-style"?p.style=j.parseStyle(u.value):o[u.name]=u.value}),p.attributes=o}if(S.childNodes.length){let o=[];[].forEach.call(S.childNodes,u=>{P(u,o)}),o.length&&(p.children=o)}g.push(p)};return[].forEach.call(x.body.childNodes,S=>P(S,N)),N}}return j.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","
130summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],j.allowedReferences=["https://","http://","mailto:","/","../","./","#"],j.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],j.emptyHTML=T,j.bypassHTMLFiltering=!1,j}),r(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n){let{defaultOptions:l,defaultTime:C}=t,{extend:B,getNestedProperty:$,isArray:K,isNumber:G,isObject:q,pick:Z,pInt:R}=n,Y={add:(T,L)=>T+L,divide:(T,L)=>L!==0?T/L:"",eq:(T,L)=>T==L,each:function(T){let L=arguments[arguments.length-1];return!!K(T)&&T.map((j,s)=>V(L.body,B(q(j)?j:{"@this":j},{"@index":s,"@first":s===0,"@last":s===T.length-1}))).join("")},ge:(T,L)=>T>=L,gt:(T,L)=>T>L,if:T=>!!T,le:(T,L)=>T<=L,lt:(T,L)=>T<L,multiply:(T,L)=>T*L,ne:(T,L)=>T!=L,subtract:(T,L)=>T-L,unless:T=>!T};function V(T="",L,j){let s=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,c=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,x=[],N=/f$/,P=/\.(\d)/,S=l.lang,g=j&&j.time||C,v=j&&j.numberFormatter||H,p=(h="")=>{let m;return h==="true"||h!=="false"&&((m=Number(h)).toString()===h?m:$(h,L))},a,o,u=0,d;for(;(a=s.exec(T))!==null;){let h=c.exec(a[1]);h&&(a=h,d=!0),o&&o.isBlock||(o={ctx:L,expression:a[1],find:a[0],isBlock:a[1].charAt(0)==="#",start:a.index,startInner:a.index+a[0].length,length:a[0].length});let m=a[1].split(" ")[0].replace("#","");Y[m]&&(o.isBlock&&m===o.fn&&u++,o.fn||(o.fn=m));let f=a[1]==="else";if(o.isBlock&&o.fn&&(a[1]===`/${o.fn}`||f))if(u)!f&&u--;else{let y=o.startInner,I=T.substr(y,a.index-y);o.body===void 0?(o.body=I,o.startInner=a.index+a[0].length):o.elseBody=I,o.find+=I+a[0],f||(x.push(o),o=void 0)}else o.isBlock||x.push(o);if(h&&!(o!=null&&o.isBlock))break}return x.forEach(h=>{let m,f,{body:y,elseBody:I,expression:E,fn:M}=h;if(M){let D=[h],F=E.split(" ");for(f=Y[M].length;f--;)D.unshift(p(F[f+1]));m=Y[M].apply(L,D),h.isBlock&&typeof m=="boolean"&&(m=V(m?y:I,L,j))}else{let D=E.split(":");if(m=p(D.shift()||""),D.length&&typeof m=="number"){let F=D.join(":");if(N.test(F)){let X=parseInt((F.match(P)||["","-1"])[1],10);m!==null&&(m=v(m,X,S.decimalPoint,F.indexOf(",")>-1?S.thousandsSep:""))}else m=g.dateFormat(F,m)}}T=T.replace(h.find,Z(m,""))}),d?V(T,L,j):T}function H(T,L,j,s){let c,x;T=+T||0,L=+L;let N=l.lang,P=(T.toString().split(".")[1]||"").split("e")[0].length,S=T.toString().split("e"),g=L;L===-1?L=Math.min(P,20):G(L)?L&&S[1]&&S[1]<0&&((x=L+ +S[1])>=0?(S[0]=(+S[0]).toExponential(x).split("e")[0],L=x):(S[0]=S[0].split(".")[0]||0,T=L<20?(S[0]*Math.pow(10,S[1])).toFixed(L):0,S[1]=0)):L=2;let v=(Math.abs(S[1]?S[0]:T)+Math.pow(10,-Math.max(L,P)-1)).toFixed(L),p=String(R(v)),a=p.length>3?p.length%3:0;return j=Z(j,N.decimalPoint),s=Z(s,N.thousandsSep),c=(T<0?"-":"")+(a?p.substr(0,a)+s:""),0>+S[1]&&!g?c="0":c+=p.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+s),L?c+=j+v.slice(-L):+c==0&&(c="0"),S[1]&&+c!=0&&(c+="e"+S[1]),c}return{dateFormat:function(T,L,j){return C.dateFormat(T,L,j)},format:V,helpers:Y,numberFormat:H}}),r(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var n,l;let C;return(l=n||(n={})).rendererTypes={},l.getRendererType=function(B=C){return l.rendererTypes[B]||l.rendererTypes[C]},l.registerRendererType=function(B,$,K){l.rendererTypes[B]=$,(!C||K)&&(C=B,t.Renderer=$)},n}),r(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var n;let{clamp:l,pick:C,pushUnique:B,stableSort:$}=t;return(n||(n={})).distribute=function K(G,q,Z){let R=G,Y=R.reducedLen||q,V=(p,a)=>p.target-a.target,H=[],T=G.length,L=[],j=H.push,s,c,x,N=!0,P,S,g=0,v;for(s=T;s--;)g+=G[s].size;if(g>Y){for($(G,(p,a)=>(a.rank||0)-(p.rank||0)),x=(v=G[0].rank===G[G.length-1].rank)?T/2:-1,c=v?x:T-1;x&&g>Y;)P=G[s=Math.floor(c)],B(L,s)&&(g-=P.size),c+=x,v&&c>=G.length&&(x/=2,c=x);L.sort((p,a)=>
vendor: 34,728 bytes, line 130
130a-p).forEach(p=>j.apply(H,G.splice(p,1)))}for($(G,V),G=G.map(p=>({size:p.size,targets:[p.target],align:C(p.align,.5)}));N;){for(s=G.length;s--;)P=G[s],S=(Math.min.apply(0,P.targets)+Math.max.apply(0,P.targets))/2,P.pos=l(S-P.size*P.align,0,q-P.size);for(s=G.length,N=!1;s--;)s>0&&G[s-1].pos+G[s-1].size>G[s].pos&&(G[s-1].size+=G[s].size,G[s-1].targets=G[s-1].targets.concat(G[s].targets),G[s-1].align=.5,G[s-1].pos+G[s-1].size>q&&(G[s-1].pos=q-G[s-1].size),G.splice(s,1),N=!0)}return j.apply(R,H),s=0,G.some(p=>{let a=0;return(p.targets||[]).some(()=>(R[s].pos=p.pos+a,Z!==void 0&&Math.abs(R[s].pos-R[s].target)>Z?(R.slice(0,s+1).forEach(o=>delete o.pos),R.reducedLen=(R.reducedLen||q)-.1*q,R.reducedLen>.1*q&&K(R,q,Z),!0):(a+=R[s].size,s++,!1)))}),$(R,V),R},n}),r(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{animate:B,animObject:$,stop:K}=t,{deg2rad:G,doc:q,svg:Z,SVG_NS:R,win:Y}=l,{addEvent:V,attr:H,createElement:T,crisp:L,css:j,defined:s,erase:c,extend:x,fireEvent:N,isArray:P,isFunction:S,isObject:g,isString:v,merge:p,objectEach:a,pick:o,pInt:u,pushUnique:d,replaceNested:h,syncTimeout:m,uniqueKey:f}=C;class y{_defaultGetter(E){let M=o(this[E+"Value"],this[E],this.element?this.element.getAttribute(E):null,0);return/^-?[\d\.]+$/.test(M)&&(M=parseFloat(M)),M}_defaultSetter(E,M,D){D.setAttribute(M,E)}add(E){let M,D=this.renderer,F=this.element;return E&&(this.parentGroup=E),this.textStr!==void 0&&this.element.nodeName==="text"&&D.buildText(this),this.added=!0,(!E||E.handleZ||this.zIndex)&&(M=this.zIndexSetter()),M||(E?E.element:D.box).appendChild(F),this.onAdd&&this.onAdd(),this}addClass(E,M){let D=M?"":this.attr("class")||"";return(E=(E||"").split(/ /g).reduce(function(F,X){return D.indexOf(X)===-1&&F.push(X),F},D?[D]:[]).join(" "))!==D&&this.attr("class",E),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(E,M,D,F=!0){let X,_,w,A,U={},b=this.renderer,k=b.alignedObjects,O=!!E;E?(this.alignOptions=E,this.alignByTranslate=M,this.alignTo=D):(E=this.alignOptions||{},M=this.alignByTranslate,D=this.alignTo);let z=!D||v(D)?D||"renderer":void 0;z&&(O&&d(k,this),D=void 0);let W=o(D,b[z],b),Q=E.align,ee=E.verticalAlign;return X=(W.x||0)+(E.x||0),_=(W.y||0)+(E.y||0),Q==="right"?w=1:Q==="center"&&(w=2),w&&(X+=((W.width||0)-(E.width||0))/w),U[M?"translateX":"x"]=Math.round(X),ee==="bottom"?A=1:ee==="middle"&&(A=2),A&&(_+=((W.height||0)-(E.height||0))/A),U[M?"translateY":"y"]=Math.round(_),F&&(this[this.placed?"animate":"attr"](U),this.placed=!0),this.alignAttr=U,this}alignSetter(E){let M={left:"start",center:"middle",right:"end"};M[E]&&(this.alignValue=E,this.element.setAttribute("text-anchor",M[E]))}animate(E,M,D){let F=$(o(M,this.renderer.globalAnimation,!0)),X=F.defer;return q.hidden&&(F.duration=0),F.duration!==0?(D&&(F.complete=D),m(()=>{this.element&&B(this,E,F)},X)):(this.attr(E,void 0,D||F.complete),a(E,function(_,w){F.step&&F.step.call(this,_,{prop:w,pos:1,elem:this})},this)),this}applyTextOutline(E){let M=this.element;E.indexOf("contrast")!==-1&&(E=E.replace(/contrast/g,this.renderer.getContrast(M.style.fill)));let D=E.split(" "),F=D[D.length-1],X=D[0];if(X&&X!=="none"&&l.svg){this.fakeTS=!0,X=X.replace(/(^[\d\.]+)(.*?)$/g,function(b,k,O){return 2*Number(k)+O}),this.removeTextOutline();let _=q.createElementNS(R,"tspan");H(_,{class:"highcharts-text-outline",fill:F,stroke:F,"stroke-width":X,"stroke-linejoin":"round"});let w=M.querySelector("textPath")||M;[].forEach.call(w.childNodes,b=>{let k=b.cloneNode(!0);k.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(O=>k.removeAttribute(O)),_.appendChild(k)});let A=0;[].forEach.call(w.querySelectorAll("text tspan"),b=>{A+=Number(b.getAttribute("dy"))});let U=q.createElementNS(R,"tspan");U.textContent="\u200B",H(U,{x:Number(M.getAttribute("x")),dy:-A}),_.appendChild(U),w.insertBefore(_,w.firstChild)}}attr(E,M,D,F){let{element:X}=this,_=y.symbolCustomAttribs,w,A,U=this,b;return typeof E=="string"&&M!==void 0&&(w=E,(E={})[w]=M),typeof E=="string"?U=(this[E+"Getter"]||this._defaultGetter).call(this,E,X):(a(E,function(k,O){b=!1,F||K(this,O),this.symbolName&&_.indexOf(O)!==-1&&(A||(this.symbolAttr(E),A=!0),b=!0),this.rotation&&(O==="x"||O==="y")&&(this.doTransform=!0),b||(this[O+"Setter"]||this._defaultSetter).call(this,k,O,X)},this),this.afterSetters()),D&&D.call(this),U}clip(E){if(E&&!E.clipPath){let M=f()+"-",D=this.renderer.createElement("clipPath").attr({id:M}).add(this.renderer.defs);x(E,{clipPath:D,id:M,count:0}),E.add(D)}return this.attr("clip-path",E?`url(${this.renderer.url}#${E.id})`:"none")}crisp(E,M){M=Math.round(M||E.strokeWidth||0);let D=E.x||this.x||0,F=E.y||this.y||0,X=(E.width||this.width||0)+D,_=(E.height||this.height||0)+F,w=L(D,M),A=L(F,M);return x(E,{x:w,y:A,width:L(X,M)-w,height:L(_,M)-A}),s(E.strokeWidth)&&(E.strokeWidth=M),E}complexColor(E,M,D){let F=this.renderer,X,_,w,A,U,b,k,O,z,W,Q=[],ee;N(this.renderer,"complexColor",{args:arguments},function(){if(E.radialGradient?_="radialGradient":E.linearGradient&&(_="linearGradient"),_){if(w=E[_],U=F.gradients,b=E.stops,z=D.radialReference,P(w)&&(E[_]=w={x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientUnits:"userSpaceOnUse"}),_==="radialGradient"&&z&&!s(w.gradientUnits)&&(A=w,w=p(w,F.getRadialAttr(z,A),{gradientUnits:"userSpaceOnUse"})),a(w,function(se,ae){ae!=="id"&&Q.push(ae,se)}),a(b,function(se){Q.push(se)}),U[Q=Q.join(",")])W=U[Q].attr("id");else{w.id=W=f();let se=U[Q]=F.createElement(_).attr(w).add(F.defs);se.radAttr=A,se.stops=[],b.forEach(function(ae){ae[1].indexOf("rgba")===0?(k=(X=n.parse(ae[1])).get("rgb"),O=X.get("a")):(k=ae[1],O=1);let he=F.createElement("stop").attr({offset:ae[0],"stop-color":k,"stop-opacity":O}).add(se);se.stops.push(he)})}ee="url("+F.url+"#"+W+")",D.setAttribute(M,ee),D.gradient=Q,E.toString=function(){return ee}}})}css(E){let M=this.styles,D={},F=this.element,X,_=!M;if(M&&a(E,function(w,A){M&&M[A]!==w&&(D[A]=w,_=!0)}),_){M&&(E=x(M,D)),E.width===null||E.width==="auto"?delete this.textWidth:F.nodeName.toLowerCase()==="text"&&E.width&&(X=this.textWidth=u(E.width)),x(this.styles,E),X&&!Z&&this.renderer.forExport&&delete E.width;let w=p(E);F.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(A=>w&&delete w[A]),w.color&&(w.fill=w.color)),j(F,w)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),E.textOutline&&this.applyTextOutline(E.textOutline)),this}dashstyleSetter(E){let M,D=this["stroke-width"];if(D==="inherit"&&(D=1),E=E&&E.toLowerCase()){let F=E.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(M=F.length;M--;)F[M]=""+u(F[M])*o(D,NaN);E=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",E)}}destroy(){var A;let E=this,M=E.element||{},D=E.renderer,F=M.ownerSVGElement,X=M.nodeName==="SPAN"&&E.parentGroup||void 0,_,w;if(M.onclick=M.onmouseout=M.onmouseover=M.onmousemove=M.point=null,K(E),E.clipPath&&F){let U=E.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){b.getAttribute("clip-path").indexOf(U.element.id)>-1&&b.removeAttribute("clip-path")}),E.clipPath=U.destroy()}if(E.connector=(A=E.connector)==null?void 0:A.destroy(),E.stops){for(w=0;w<E.stops.length;w++)E.stops[w].destroy();E.stops.length=0,E.stops=void 0}for(E.safeRemoveChild(M);X&&X.div&&X.div.childNodes.length===0;)_=X.parentGroup,E.safeRemoveChild(X.div),delete X.div,X=_;E.alignOptions&&c(D.alignedObjects,E),a(E,function(U,b){E[b]&&E[b].parentGroup===E&&E[b].destroy&&E[b].destroy(),delete E[b]})}dSetter(E,M,D){P(E)&&(typeof E[0]=="string"&&(E=this.renderer.pathToSegments(E)),this.pathArray=E,E=E.reduce((F,X,_)=>X&&X.join?(_?F+" ":"")+X.join(" "):(X||"").toString(),"")),/(NaN| {2}|^$)/.test(E)&&(E="M 0 0"),this[M]!==E&&(D.setAttribute(M,E),this[M]=E)}fillSetter(E,M,D){typeof E=="string"?D.setAttribute(M,E):E&&this.complexColor(E,M,D)}hrefSetter(E,M,D){D.setAttributeNS("http://www.w3.org/1999/xlink",M,E)}getBBox(E,M){let D,F,X,_,{alignValue:w,element:A,renderer:U,styles:b,textStr:k}=this,{cache:O,cacheKeys:z}=U,W=A.namespaceURI===this.SVG_NS,Q=o(M,this.rotation,0),ee=U.styledMode?A&&y.prototype.getStyle.call(A,"font-size"):b.fontSize;if(s(k)&&((_=k.toString()).indexOf("<")===-1&&(_=_.replace(/\d/g,"0")),_+=["",U.rootFontSize,ee,Q,this.textWidth,w,b.textOverflow,b.fontWeight].join(",")),_&&!E&&(D=O[_]),!D||D.polygon){if(W||U.forExport){try{X=this.fakeTS&&function(ae){let he=A.querySelector(".highcharts-text-outline");he&&j(he,{display:ae})},S(X)&&X("none"),D=A.getBBox?x({},A.getBBox()):{width:A.offsetWidth,height:A.offsetHeight,x:0,y:0},S(X)&&X("")}catch{}(!D||D.width<0)&&(D={x:0,y:0,width:0,height:0})}else D=this.htmlGetBBox();F=D.height,W&&(D.height=F={"11px,17":14,"13px,20":16}[`${ee||""},${Math.round(F)}`]||F),Q&&(D=this.getRotatedBox(D,Q));let se={bBox:D};N(this,"afterGetBBox",se),D=se.bBox}if(_&&(k===""||D.height>0)){for(;z.length>250;)delete O[z.shift()];O[_]||z.push(_),O[_]=D}return D}getRotatedBox(E,M){let{x:D,y:F,width:X,height:_}=E,{alignValue:w,translateY:A,rotationOriginX:U=0,rotationOriginY:b=0}=this,k={right:1,center:.5}[w||0]||0,O=Number(this.element.getAttribute("y")||0)-(A?0:F),z=M*G,W=(M-90)*G,Q=Math.cos(z),ee=Math.sin(z),se=X*Q,ae=X*ee,he=Math.cos(W),ce=Math.sin(W),[[ie,te],[ne,oe]]=[U,b].map(Oe=>[Oe-Oe*Q,Oe*ee]),le=D+k*(X-se)+ie+oe+O*he,ue=le+se,de=ue-_*he,fe=de-se,me=F+O-k*ae-te+ne+O*ce,ge=me+ae,Ee=ge-_*ce,ve=Ee-ae,ye=Math.min(le,ue,de,fe),Se=Math.min(me,ge,Ee,ve),xe=Math.max(le,ue,de,fe)-ye,Ce=Math.max(me,ge,Ee,ve)-Se;return{x:ye,y:Se,width:xe,height:Ce,polygon:[[le,me],[ue,ge],[de,Ee],[fe,ve]]}}getStyle(E){return Y.getComputedStyle(this.element||this,"").getPropertyValue(E)}hasClass(E){return(""+this.attr("class")).split(" ").indexOf(E)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(E,M){this.onEvents={},this.opacity=1,this.SVG_NS=R,this.element=M==="span"||M==="body"?T(M):q.createElementNS(this.SVG_NS,M),this.renderer=E,this.styles={},N(this,"afterInit")}on(E,M){let{onEvents:D}=this;return D[E]&&D[E](),D[E]=V(this.element,E,M),this}opacitySetter(E,M,D){let F=Number(Number(E).toFixed(3));this.opacity=F,D.setAttribute(M,F)}reAlign(){var E;(E=this.alignOptions)!=null&&E.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(E){return this.attr("class",(""+this.attr("class")).replace(v(E)?RegExp(`(^| )${E}( |$)`):E," ").replace(/ +/g," ").trim())}removeTextOutline(){let E=this.element.querySelector("tspan.highcharts-text-outline");E&&this.safeRemoveChild(E)}safeRemoveChild(E){let M=E.parentNode;M&&M.removeChild(E)}setRadialReference(E){let M=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=E,M&&M.radAttr&&M.animate(this.renderer.getRadialAttr(E,M.radAttr)),this}shadow(E){var X;let{renderer:M}=this,D=p(((X=this.parentGroup)==null?void 0:X.rotation)===90?{offsetX:-1,offsetY:-1}:{},g(E)?E:{}),F=M.shadowDefinition(D);return this.attr({filter:E?`url(${M.url}#${F})`:"none"})}show(E=!0){return this.attr({visibility:E?"inherit":"visible"})}"stroke-widthSetter"(E,M,D){this[M]=E,D.setAttribute(M,E)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let E=this.getStyle("stroke-width"),M=0,D;return/px$/.test(E)?M=u(E):E!==""&&(H(D=q.createElementNS(R,"rect"),{width:E,"stroke-width":0}),this.element.parentNode.appendChild(D),M=D.getBBox().width,D.parentNode.removeChild(D)),M}symbolAttr(E){let M=this;y.symbolCustomAttribs.forEach(function(D){M[D]=o(E[D],M[D])}),M.attr({d:M.renderer.symbols[M.symbolName](M.x,M.y,M.width,M.height,M)})}textSetter(E){E!==this.textStr&&(delete this.textPxLength,this.textStr=E,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(E){let M=this.element,D=M.getElementsByTagName("title")[0]||q.createElementNS(this.SVG_NS,"title");M.insertBefore?M.insertBefore(D,M.firstChild):M.appendChild(D),D.textContent=h(o(E,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let E=this.element;return E.parentNode.appendChild(E),this}translate(E,M){return this.attr({translateX:E,translateY:M})}updateTransform(E="transform"){var O;let{element:M,matrix:D,rotation:F=0,rotationOriginX:X,rotationOriginY:_,scaleX:w,scaleY:A,translateX:U=0,translateY:b=0}=this,k=["translate("+U+","+b+")"];s(D)&&k.push("matrix("+D.join(",")+")"),F&&(k.push("rotate("+F+" "+o(X,M.getAttribute("x"),0)+" "+o(_,M.getAttribute("y")||0)+")"),((O=this.text)==null?void 0:O.element.tagName)==="SPAN"&&this.text.attr({rotation:F,rotationOriginX:(X||0)-this.padding,rotationOriginY:(_||0)-this.padding})),(s(w)||s(A))&&k.push("scale("+o(w,1)+" "+o(A,1)+")"),k.length&&!(this.text||this).textPath&&M.setAttribute(E,k.join(" "))}visibilitySetter(E,M,D){E==="inherit"?D.removeAttribute(M):this[M]!==E&&D.setAttribute(M,E),this[M]=E}xGetter(E){return this.element.nodeName==="circle"&&(E==="x"?E="cx":E==="y"&&(E="cy")),this._defaultGetter(E)}zIndexSetter(E,M){let D=this.renderer,F=this.parentGroup,X=(F||D).element||D.box,_=this.element,w=X===D.box,A,U,b,k=!1,O,z=this.added,W;if(s(E)?(_.setAttribute("data-z-index",E),E=+E,this[M]===E&&(z=!1)):s(this[M])&&_.removeAttribute("data-z-index"),this[M]=E,z){for((E=this.zIndex)&&F&&(F.handleZ=!0),W=(A=X.childNodes).length-1;W>=0&&!k;W--)O=!s(b=(U=A[W]).getAttribute("data-z-index")),U!==_&&(E<0&&O&&!w&&!W?(X.insertBefore(_,A[W]),k=!0):(u(b)<=E||O&&(!s(E)||E>=0))&&(X.insertBefore(_,A[W+1]),k=!0));k||(X.insertBefore(_,A[w?3:0]),k=!0)}return k}}return y.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],y.prototype.strokeSetter=y.prototype.fillSetter,y.prototype.yGetter=y.prototype.xGetter,y.prototype.matrixSetter=y.prototype.rotationOriginXSetter=y.prototype.rotationOriginYSetter=y.prototype.rotationSetter=y.prototype.scaleXSetter=y.prototype.scaleYSetter=y.prototype.translateXSetter=y.prototype.translateYSetter=y.prototype.verticalAlignSetter=function(I,E){this[E]=I,this.doTransform=!0},y}),r(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,extend:C,isNumber:B,merge:$,pick:K,removeEvent:G}=n;class q extends t{constructor(R,Y,V,H,T,L,j,s,c,x){let N;super(R,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=Y,this.x=V,this.y=H,this.anchorX=L,this.anchorY=j,this.baseline=c,this.className=x,this.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&this.addClass("highcharts-"+x),this.text=R.text(void 0,0,0,s).attr({zIndex:1}),typeof T=="string"&&((N=/^url\((.*?)\)$/.test(T))||this.renderer.symbols[T])&&(this.symbolKey=T),this.bBox=q.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=R.styledMode||N,this.deferredAttr={},this.alignFactor=0}alignSetter(R){let Y={left:0,center:.5,right:1}[R];Y!==this.alignFactor&&(this.alignFactor=Y,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(R,Y){this.anchorX=R,this.boxAttr(Y,Math.round(R)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(R,Y){this.anchorY=R,this.boxAttr(Y,R-this.ySetting)}boxAttr(R,Y){this.box?this.box.attr(R,Y):this.deferredAttr[R]=Y}css(R){if(R){let Y={};R=$(R),q.textProps.forEach(V=>{R[V]!==void 0&&(Y[V]=R[V],delete R[V])}),this.text.css(Y),"fontSize"in Y||"fontWeight"in Y?this.updateTextPadding():("width"in Y||"textOverflow"in Y)&&this.updateBoxSize()}return t.prototype.css.call(this,R)}destroy(){G(this.element,"mouseenter"),G(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(R,Y){R&&(this.needsBox=!0),this.fill=R,this.boxAttr(Y,R)}getBBox(R,Y){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:V,height:H=0,translateX:T=0,translateY:L=0,width:j=0}=this,s=K(this.paddingLeft,V),c=Y??(this.rotation||0),x={width:j,height:H,x:T+this.bBox.x-s,y:L+this.bBox.y-V+this.baselineOffset};return c&&(x=this.getRotatedBox(x,c)),x}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(R){this.heightSetting=R,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:K(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&l(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(R,Y){B(R)?R!==this[Y]&&(this[Y]=R,this.updateTextPadding()):this[Y]=void 0}rSetter(R,Y){this.boxAttr(Y,R)}strokeSetter(R,Y){this.stroke=R,this.boxAttr(Y,R)}"stroke-widthSetter"(R,Y){R&&(this.needsBox=!0),this["stroke-width"]=R,this.boxAttr(Y,R)}"text-alignSetter"(R){this.textAlign=R}textSetter(R){R!==void 0&&this.text.attr({text:R}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let R,Y=this.text,V={},H=this.padding,T=this.bBox=(!B(this.widthSetting)||!B(this.heightSetting)||this.textAlign)&&l(Y.textStr)?Y.getBBox(void 0,0):q.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||T.height||0)+2*H;let L=this.renderer.fontMetrics(Y);if(this.baselineOffset=H+Math.min((this.text.firstLineMetrics||L).b,T.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-L.h)/2),this.needsBox&&!Y.textPath){if(!this.box){let j=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();j.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),j.add(this)}R=this.getCrispAdjust(),V.x=R,V.y=(this.baseline?-this.baselineOffset:0)+R,V.width=Math.round(this.width),V.height=Math.round(this.height),this.box.attr(C(V,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let R=this.text;if(!R.textPath){this.updateBoxSize();let Y=this.baseline?0:this.baselineOffset,V=K(this.paddingLeft,this.padding);l(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(V+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(V!==R.x||Y!==R.y)&&(R.attr("x",V),R.hasBoxWidthChanged&&(this.bBox=R.getBBox(!0)),Y!==void 0&&R.attr("y",Y)),R.x=V,R.y=Y}}widthSetter(R){this.widthSetting=B(R)?R:void 0,this.doUpdate=!0}getPaddedWidth(){let R=this.padding,Y=K(this.paddingLeft,R),V=K(this.paddingRight,R);return(this.widthSetting||this.bBox.width||0)+Y+V}xSetter(R){this.x=R,this.alignFactor&&(R-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(R),this.attr("translateX",this.xSetting)}ySetter(R){this.ySetting=this.y=Math.round(R),this.attr("translateY",this.ySetting)}}return q.emptyBBox={width:0,height:0,x:0,y:0},q.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],q}),r(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t;function B(G,q,Z,R,Y){let V=[];if(Y){let H=Y.start||0,T=C(Y.r,Z),L=C(Y.r,R||Z),j=2e-4/(Y.borderRadius?1:Math.max(T,1)),s=Math.abs((Y.end||0)-H-2*Math.PI)<j,c=(Y.end||0)-(s?j:0),x=Y.innerR,N=C(Y.open,s),P=Math.cos(H),S=Math.sin(H),g=Math.cos(c),v=Math.sin(c),p=C(Y.longArc,c-H-Math.PI<j?0:1),a=["A",T,L,0,p,C(Y.clockwise,1),G+T*g,q+L*v];a.params={start:H,end:c,cx:G,cy:q},V.push(["M",G+T*P,q+L*S],a),n(x)&&((a=["A",x,x,0,p,n(Y.clockwise)?1-Y.clockwise:0,G+x*P,q+x*S]).params={start:c,end:H,cx:G,cy:q},V.push(N?["M",G+x*g,q+x*v]:["L",G+x*g,q+x*v],a)),N||V.push(["Z"])}return V}function $(G,q,Z,R,Y){return Y&&Y.r?K(G,q,Z,R,Y):[["M",G,q],["L",G+Z,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]}function K(G,q,Z,R,Y){let V=(Y==null?void 0:Y.r)||0;return[["M",G+V,q],["L",G+Z-V,q],["A",V,V,0,0,1,G+Z,q+V],["L",G+Z,q+R-V],["A",V,V,0,0,1,G+Z-V,q+R],["L",G+V,q+R],["A",V,V,0,0,1,G,q+R-V],["L",G,q+V],["A",V,V,0,0,1,G+V,q],["Z"]]}return{arc:B,callout:function(G,q,Z,R,Y){let V=Math.min(Y&&Y.r||0,Z,R),H=V+6,T=Y&&Y.anchorX,L=Y&&Y.anchorY||0,j=K(G,q,Z,R,{r:V});if(!l(T)||T<Z&&T>0&&L<R&&L>0)return j;if(G+T>Z-H)if(L>q+H&&L<q+R-H)j.splice(3,1,["L",G+Z,L-6],["L",G+Z+6,L],["L",G+Z,L+6],["L",G+Z,q+R-V]);else if(T<Z){let s=L<q+H,c=s?q:q+R;j.splice(s?2:5,0,["L",T,L],["L",G+Z-V,c])}else j.splice(3,1,["L",G+Z,R/2],["L",T,L],["L",G+Z,R/2],["L",G+Z,q+R-V]);else if(G+T<H)if(L>q+H&&L<q+R-H)j.splice(7,1,["L",G,L+6],["L",G-6,L],["L",G,L-6],["L",G,q+V]);else if(T>0){let s=L<q+H,c=s?q:q+R;j.splice(s?1:6,0,["L",T,L],["L",G+V,c])}else j.splice(7,1,["L",G,R/2],["L",T,L],["L",G,R/2],["L",G,q+V]);else L>R&&T<Z-H?j.splice(5,1,["L",T+6,q+R],["L",T,q+R+6],["L",T-6,q+R],["L",G+V,q+R]):L<0&&T>H&&j.splice(1,1,["L",T-6,q],["L",T,q-6],["L",T+6,q],["L",Z-V,q]);return j},circle:function(G,q,Z,R){return B(G+Z/2,q+R/2,Z/2,R/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R/2],["L",G+Z/2,q+R],["L",G,q+R/2],["Z"]]},rect:$,roundedRect:K,square:$,triangle:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]},"triangle-down":function(G,q,Z,R){return[["M",G,q],["L",G+Z,q],["L",G+Z/2,q+R],["Z"]]}}}),r(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{doc:C,SVG_NS:B,win:$}=n,{attr:K,extend:G,fireEvent:q,isString:Z,objectEach:R,pick:Y}=l;return class{constructor(V){let H=V.styles;this.renderer=V.renderer,this.svgElement=V,this.width=V.textWidth,this.textLineHeight=H&&H.lineHeight,this.textOutline=H&&H.textOutline,this.ellipsis=!!(H&&H.textOverflow==="ellipsis"),this.noWrap=!!(H&&H.whiteSpace==="nowrap")}buildSVG(){let V=this.svgElement,H=V.element,T=V.renderer,L=Y(V.textStr,"").toString(),j=L.indexOf("<")!==-1,s=H.childNodes,c=!V.added&&T.box,x=[L,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,V.getStyle("font-size"),this.width].join(",");if(x!==V.textCache){V.textCache=x,delete V.actualWidth;for(let N=s.length;N--;)H.removeChild(s[N]);if(j||this.ellipsis||this.width||V.textPath||L.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(L))){if(L!==""){c&&c.appendChild(H);let N=new t(L);this.modifyTree(N.nodes),N.addToDOM(H),this.modifyDOM(),this.ellipsis&&(H.textContent||"").indexOf("\u2026")!==-1&&V.attr("title",this.unescapeEntities(V.textStr||"",["<",">"])),c&&c.removeChild(H)}}else H.appendChild(C.createTextNode(this.unescapeEntities(L)));Z(this.textOutline)&&V.applyTextOutline&&V.applyTextOutline(this.textOutline)}}modifyDOM(){let V,H=this.svgElement,T=K(H.element,"x");for(H.firstLineMetrics=void 0;(V=H.element.firstChild)&&/^[\s\u200B]*$/.test(V.textContent||" ");)H.element.removeChild(V);[].forEach.call(H.element.querySelectorAll("tspan.highcharts-br"),(c,x)=>{c.nextSibling&&c.previousSibling&&(x===0&&c.previousSibling.nodeType===1&&(H.firstLineMetrics=H.renderer.fontMetrics(c.previousSibling)),K(c,{dy:this.getLineHeight(c.nextSibling),x:T}))});let L=this.width||0;if(!L)return;let j=(c,x)=>{let N=c.textContent||"",P=N.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(P.length>1||H.element.childNodes.length>1),g=this.getLineHeight(x),v=0,p=H.actualWidth;if(this.ellipsis)N&&this.truncate(c,N,void 0,0,Math.max(0,L-.8*g),(a,o)=>a.substring(0,o)+"\u2026");else if(S){let a=[],o=[];for(;x.firstChild&&x.firstChild!==c;)o.push(x.firstChild),x.removeChild(x.firstChild);for(;P.length;)P.length&&!this.noWrap&&v>0&&(a.push(c.textContent||""),c.textContent=P.join(" ").replace(/- /g,"-")),this.truncate(c,void 0,P,v===0&&p||0,L,(u,d)=>P.slice(0,d).join(" ").replace(/- /g,"-")),p=H.actualWidth,v++;o.forEach(u=>{x.insertBefore(u,c)}),a.forEach(u=>{x.insertBefore(C.createTextNode(u),c);let d=C.createElementNS(B,"tspan");d.textContent="\u200B",K(d,{dy:g,x:T}),x.insertBefore(d,c)})}},s=c=>{[].slice.call(c.childNodes).forEach(x=>{x.nodeType===$.Node.TEXT_NODE?j(x,c):(x.className.baseVal.indexOf("highcharts-br")!==-1&&(H.actualWidth=0),s(x))})};s(H.element)}getLineHeight(V){let H=V.nodeType===$.Node.TEXT_NODE?V.parentElement:V;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(H||this.svgElement.element).h}modifyTree(V){let H=(T,L)=>{let{attributes:j={},children:s,style:c={},tagName:x}=T,N=this.renderer.styledMode;if(x==="b"||x==="strong"?N?j.class="highcharts-strong":c.fontWeight="bold":(x==="i"||x==="em")&&(N?j.class="highcharts-emphasized":c.fontStyle="italic"),c&&c.color&&(c.fill=c.color),x==="br"){j.class="highcharts-br",T.textContent="\u200B";let P=V[L+1];P&&P.textContent&&(P.textContent=P.textContent.replace(/^ +/gm,""))}else x==="a"&&s&&s.some(P=>P.tagName==="#text")&&(T.children=[{children:s,tagName:"tspan"}]);x!=="#text"&&x!=="a"&&(T.tagName="tspan"),G(T,{attributes:j,style:c}),s&&s.filter(P=>P.tagName!=="#text").forEach(H)};V.forEach(H),q(this.svgElement,"afterModifyTree",{nodes:V})}truncate(V,H,T,L,j,s){let c,x,N=this.svgElement,{rotation:P}=N,S=[],g=T?1:0,v=(H||T||"").length,p=v,a=function(o,u){let d=u||o,h=V.parentNode;if(h&&S[d]===void 0&&h.getSubStringLength)try{S[d]=L+h.getSubStringLength(0,T?d+1:d)}catch{}return S[d]};if(N.rotation=0,L+(x=a(V.textContent.length))>j){for(;g<=v;)p=Math.ceil((g+v)/2),T&&(c=s(T,p)),x=a(p,c&&c.length-1),g===v?g=v+1:x>j?v=p-1:g=p;v===0?V.textContent="":H&&v===H.length-1||(V.textContent=c||s(H||T,p))}T&&T.splice(0,p),N.actualWidth=x,N.rotation=P}unescapeEntities(V,H){return R(this.renderer.escapes,function(T,L){H&&H.indexOf(T)!==-1||(V=V.toString().replace(RegExp(T,"g"),L))}),V}}}),r(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let R,{defaultOptions:Y}=n,{charts:V,deg2rad:H,doc:T,isFirefox:L,isMS:j,isWebKit:s,noop:c,SVG_NS:x,symbolSizes:N,win:P}=C,{addEvent:S,attr:g,createElement:v,crisp:p,css:a,defined:o,destroyObjectProperties:u,extend:d,isArray:h,isNumber:m,isObject:f,isString:y,merge:I,pick:E,pInt:M,replaceNested:D,uniqueKey:F}=Z;class X{constructor(w,A,U,b,k,O,z){let W,Q,ee=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),se=ee.element;z||ee.css(this.getStyle(b||{})),w.appendChild(se),g(w,"dir","ltr"),w.innerHTML.indexOf("xmlns")===-1&&g(se,"xmlns",this.SVG_NS),this.box=se,this.boxWrapper=ee,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(T.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=O,this.forExport=k,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=ee.getStyle("font-size"),this.setSize(A,U,!1),L&&w.getBoundingClientRect&&((W=function(){a(w,{left:0,top:0}),Q=w.getBoundingClientRect(),a(w,{left:Math.ceil(Q.left)-Q.left+"px",top:Math.ceil(Q.top)-Q.top+"px"})})(),this.unSubPixelFix=S(P,"resize",W))}definition(w){return new t([w]).addToDOM(this.defs.element)}getReferenceURL(){if((L||s)&&T.getElementsByTagName("base").length){if(!o(R)){let w=F(),A=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:w},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${w})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(T.body);a(A,{position:"fixed",top:0,left:0,zIndex:9e5});let U=T.elementFromPoint(6,6);R=(U&&U.id)==="hitme",T.body.removeChild(A)}if(R)return D(P.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(w){return this.style=d({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},w),this.style}setStyle(w){this.boxWrapper.css(this.getStyle(w))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let w=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,this.defs=w.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(w){return new this.Element(this,w)}getRadialAttr(w,A){return{cx:w[0]-w[2]/2+(A.cx||0)*w[2],cy:w[1]-w[2]/2+(A.cy||0)*w[2],r:(A.r||0)*w[2]}}shadowDefinition(w){let A=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(w).map(b=>`${b}-${w[b]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),U=I({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},w);return this.defs.element.querySelector(`#${A}`)||this.definition({tagName:"filter",attributes:{id:A,filterUnits:U.filterUnits},children:this.getShadowFilterContent(U)}),A}getShadowFilterContent(w){return[{tagName:"feDropShadow",attributes:{dx:w.offsetX,dy:w.offsetY,"flood-color":w.color,"flood-opacity":Math.min(5*w.opacity,1),stdDeviation:w.width/2}}]}buildText(w){new q(w).buildSVG()}getContrast(w){let A=l.parse(w).rgba.map(b=>{let k=b/255;return k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4)}),U=.2126*A[0]+.7152*A[1]+.0722*A[2];return 1.05/(U+.05)>(U+.05)/.05?"#FFFFFF":"#000000"}button(w,A,U,b,k={},O,z,W,Q,ee){let se=this.label(w,A,U,Q,void 0,void 0,ee,void 0,"button"),ae=this.styledMode,he=arguments,ce=0;k=I(Y.global.buttonTheme,k),ae&&(delete k.fill,delete k.stroke,delete k["stroke-width"]);let ie=k.states||{},te=k.style||{};delete k.states,delete k.style;let ne=[t.filterUserAttributes(k)],oe=[te];return ae||["hover","select","disabled"].forEach((le,ue)=>{ne.push(I(ne[0],t.filterUserAttributes(he[ue+5]||ie[le]||{}))),oe.push(ne[ue+1].style),delete ne[ue+1].style}),S(se.element,j?"mouseover":"mouseenter",function(){ce!==3&&se.setState(1)}),S(se.element,j?"mouseout":"mouseleave",function(){ce!==3&&se.setState(ce)}),se.setState=(le=0)=>{if(le!==1&&(se.state=ce=le),se.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][le]),!ae){se.attr(ne[le]);let ue=oe[le];f(ue)&&se.css(ue)}},se.attr(ne[0]),!ae&&(se.css(d({cursor:"default"},te)),ee&&se.text.css({pointerEvents:"none"})),se.on("touchstart",le=>le.stopPropagation()).on("click",function(le){ce!==3&&b.call(se,le)})}crispLine(w,A){let[U,b]=w;return o(U[1])&&U[1]===b[1]&&(U[1]=b[1]=p(U[1],A)),o(U[2])&&U[2]===b[2]&&(U[2]=b[2]=p(U[2],A)),w}path(w){let A=this.styledMode?{}:{fill:"none"};return h(w)?A.d=w:f(w)&&d(A,w),this.createElement("path").attr(A)}circle(w,A,U){let b=f(w)?w:w===void 0?{}:{x:w,y:A,r:U},k=this.createElement("circle");return k.xSetter=k.ySetter=function(O,z,W){W.setAttribute("c"+z,O)},k.attr(b)}arc(w,A,U,b,k,O){let z;f(w)?(A=(z=w).y,U=z.r,b=z.innerR,k=z.start,O=z.end,w=z.x):z={innerR:b,start:k,end:O};let W=this.symbol("arc",w,A,U,U,z);return W.r=U,W}rect(w,A,U,b,k,O){let z=f(w)?w:w===void 0?{}:{x:w,y:A,r:k,width:Math.max(U||0,0),height:Math.max(b||0,0)},W=this.createElement("rect");return this.styledMode||(O!==void 0&&(z["stroke-width"]=O,d(z,W.crisp(z))),z.fill="none"),W.rSetter=function(Q,ee,se){W.r=Q,g(se,{rx:Q,ry:Q})},W.rGetter=function(){return W.r||0},W.attr(z)}roundedRect(w){return this.symbol("roundedRect").attr(w)}setSize(w,A,U){this.width=w,this.height=A,this.boxWrapper.animate({width:w,height:A},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(U,!0)?void 0:0}),this.alignElements()}g(w){let A=this.createElement("g");return w?A.attr({class:"highcharts-"+w}):A}image(w,A,U,b,k,O){let z={preserveAspectRatio:"none"};m(A)&&(z.x=A),m(U)&&(z.y=U),m(b)&&(z.width=b),m(k)&&(z.height=k);let W=this.createElement("image").attr(z),Q=function(ee){W.attr({href:w}),O.call(W,ee)};if(O){W.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let ee=new P.Image;S(ee,"load",Q),ee.src=w,ee.complete&&Q({})}else W.attr({href:w});return W}symbol(w,A,U,b,k,O){let z,W,Q,ee,se=this,ae=/^url\((.*?)\)$/,he=ae.test(w),ce=!he&&(this.symbols[w]?w:"circle"),ie=ce&&this.symbols[ce];if(ie)typeof A=="number"&&(W=ie.call(this.symbols,A||0,U||0,b||0,k||0,O)),z=this.path(W),se.styledMode||z.attr("fill","none"),d(z,{symbolName:ce||void 0,x:A,y:U,width:b,height:k}),O&&d(z,O);else if(he){Q=w.match(ae)[1];let te=z=this.image(Q);te.imgwidth=E(O&&O.width,N[Q]&&N[Q].width),te.imgheight=E(O&&O.height,N[Q]&&N[Q].height),ee=ne=>ne.attr({width:ne.width,height:ne.height}),["width","height"].forEach(ne=>{te[`${ne}Setter`]=function(oe,le){this[le]=oe;let{alignByTranslate:ue,element:de,width:fe,height:me,imgwidth:ge,imgheight:Ee}=this,ve=le==="width"?ge:Ee,ye=1;O&&O.backgroundSize==="within"&&fe&&me&&ge&&Ee?(ye=Math.min(fe/ge,me/Ee),g(de,{width:Math.round(ge*ye),height:Math.round(Ee*ye)})):de&&ve&&de.setAttribute(le,ve),!ue&&ge&&Ee&&this.translate(((fe||0)-ge*ye)/2,((me||0)-Ee*ye)/2)}}),o(A)&&te.attr({x:A,y:U}),te.isImg=!0,te.symbolUrl=w,o(te.imgwidth)&&o(te.imgheight)?ee(te):(te.attr({width:0,height:0}),v("img",{onload:function(){let ne=V[se.chartIndex];this.width===0&&(a(this,{position:"absolute",top:"-999em"}),T.body.appendChild(this)),N[Q]={width:this.width,height:this.height},te.imgwidth=this.width,te.imgheight=this.height,te.element&&ee(te),this.parentNode&&this.parentNode.removeChild(this),se.imgCount--,se.imgCount||!ne||ne.hasLoaded||ne.onload()},src:Q}),this.imgCount++)}return z}clipRect(w,A,U,b){return this.rect(w,A,U,b,0)}text(w,A,U,b){let k={};if(b&&(this.allowHTML||!this.forExport))return this.html(w,A,U);k.x=Math.round(A||0),U&&(k.y=Math.round(U)),o(w)&&(k.text=w);let O=this.createElement("text").attr(k);return b&&(!this.forExport||this.allowHTML)||(O.xSetter=function(z,W,Q){let ee=Q.getElementsByTagName("tspan"),se=Q.getAttribute(W);for(let ae=0,he;ae<ee.length;ae++)(he=ee[ae]).getAttribute(W)===se&&he.setAttribute(W,z);Q.setAttribute(W,z)}),O}fontMetrics(w){let A=M($.prototype.getStyle.call(w,"font-size")||0),U=A<24?A+3:Math.round(1.2*A),b=Math.round(.8*U);return{h:U,b,f:A}}rotCorr(w,A,U){let b=w;return A&&U&&(b=Math.max(b*Math.cos(A*H),4)),{x:-w/3*Math.sin(A*H),y:b}}pathToSegments(w){let A=[],U=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let k=0;k<w.length;k++)y(U[0])&&m(w[k])&&U.length===b[U[0].toUpperCase()]&&w.splice(k,0,U[0].replace("M","L").replace("m","l")),typeof w[k]=="string"&&(U.length&&A.push(U.slice(0)),U.length=0),U.push(w[k]);return A.push(U.slice(0)),A}label(w,A,U,b,k,O,z,W,Q){return new K(this,w,A,U,b,k,O,z,W,Q)}
130alignElements(){this.alignedObjects.forEach(w=>w.align())}}return d(X.prototype,{Element:$,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:G,draw:c}),B.registerRendererType("svg",X,!0),X}),r(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{composed:B}=n,{attr:$,css:K,createElement:G,defined:q,extend:Z,pInt:R,pushUnique:Y}=C;function V(j,s,c){var N;let x=((N=this.div)==null?void 0:N.style)||c.style;l.prototype[`${s}Setter`].call(this,j,s,c),x&&(x[s]=j)}let H=(j,s)=>{var c;if(!j.div){let x=$(j.element,"class"),N=j.css,P=G("div",x?{className:x}:void 0,xt(ze({position:"absolute",left:`${j.translateX||0}px`,top:`${j.translateY||0}px`},j.styles),{display:j.display,opacity:j.opacity,visibility:j.visibility}),((c=j.parentGroup)==null?void 0:c.div)||s);j.classSetter=(S,g,v)=>{v.setAttribute("class",S),P.className=S},j.translateXSetter=j.translateYSetter=(S,g)=>{j[g]=S,P.style[g==="translateX"?"left":"top"]=`${S}px`,j.doTransform=!0},j.opacitySetter=j.visibilitySetter=V,j.css=S=>(N.call(j,S),S.cursor&&(P.style.cursor=S.cursor),S.pointerEvents&&(P.style.pointerEvents=S.pointerEvents),j),j.on=function(){return l.prototype.on.apply({element:P,onEvents:j.onEvents},arguments),j},j.div=P}return j.div};class T extends l{static compose(s){Y(B,this.compose)&&(s.prototype.html=function(c,x,N){return new T(this,"span").attr({text:c,x:Math.round(x),y:Math.round(N)})})}constructor(s,c){super(s,c),this.css(ze({position:"absolute"},s.styledMode?{}:{fontFamily:s.style.fontFamily,fontSize:s.style.fontSize})),this.element.style.whiteSpace="nowrap"}getSpanCorrection(s,c,x){this.xCorr=-s*x,this.yCorr=-c}css(s){let c,{element:x}=this,N=x.tagName==="SPAN"&&s&&"width"in s,P=N&&s.width;return N&&(delete s.width,this.textWidth=R(P)||void 0,c=!0),(s==null?void 0:s.textOverflow)==="ellipsis"&&(s.whiteSpace="nowrap",s.overflow="hidden"),Z(this.styles,s),K(x,s),c&&this.updateTransform(),this}htmlGetBBox(){let{element:s}=this;return{x:s.offsetLeft,y:s.offsetTop,width:s.offsetWidth,height:s.offsetHeight}}updateTransform(){var m;if(!this.added){this.alignOnAdd=!0;return}let{element:s,renderer:c,rotation:x,rotationOriginX:N,rotationOriginY:P,styles:S,textAlign:g="left",textWidth:v,translateX:p=0,translateY:a=0,x:o=0,y:u=0}=this,d={left:0,center:.5,right:1}[g],h=S.whiteSpace;if(K(s,{marginLeft:`${p}px`,marginTop:`${a}px`}),s.tagName==="SPAN"){let f=[x,g,s.innerHTML,v,this.textAlign].join(","),y=-(((m=this.parentGroup)==null?void 0:m.padding)*1)||0,I,E=!1;if(v!==this.oldTextWidth){let _=this.textPxLength?this.textPxLength:(K(s,{width:"",whiteSpace:h||"nowrap"}),s.offsetWidth),w=v||0;(w>this.oldTextWidth||_>w)&&(/[ \-]/.test(s.textContent||s.innerText)||s.style.textOverflow==="ellipsis")&&(K(s,{width:_>w||x?v+"px":"auto",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=v,E=!0)}this.hasBoxWidthChanged=E,f!==this.cTT&&(I=c.fontMetrics(s).b,q(x)&&(x!==(this.oldRotation||0)||g!==this.oldAlign)&&this.setSpanRotation(x,y,y),this.getSpanCorrection(!q(x)&&this.textPxLength||s.offsetWidth,I,d));let{xCorr:M=0,yCorr:D=0}=this,F=(N??o)-M-o-y,X=(P??u)-D-u-y;K(s,{left:`${o+M}px`,top:`${u+D}px`,transformOrigin:`${F}px ${X}px`}),this.cTT=f,this.oldRotation=x,this.oldAlign=g}}setSpanRotation(s,c,x){K(this.element,{transform:`rotate(${s}deg)`,transformOrigin:`${c}% ${x}px`})}add(s){let c,x=this.renderer.box.parentNode,N=[];if(this.parentGroup=s,s&&!(c=s.div)){let P=s;for(;P;)N.push(P),P=P.parentGroup;for(let S of N.reverse())c=H(S,x)}return(c||x).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(s){s!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,s??""),this.textStr=s,this.doTransform=!0)}alignSetter(s){this.alignValue=this.textAlign=s,this.doTransform=!0}xSetter(s,c){this[c]=s,this.doTransform=!0}}let L=T.prototype;return L.visibilitySetter=L.opacitySetter=V,L.ySetter=L.rotationSetter=L.rotationOriginXSetter=L.rotationOriginYSetter=L.xSetter,T}),r(e,"Core/Axis/AxisDefaults.js",[],function(){var t,n;return(n=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"
130%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},n.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:l}=this.axis.chart;return l(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),r(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,isFunction:C,objectEach:B,removeEvent:$}=t;return(n||(n={})).registerEventOptions=function(K,G){K.eventOptions=K.eventOptions||{},B(G.events,function(q,Z){K.eventOptions[Z]!==q&&(K.eventOptions[Z]&&($(K,Z,K.eventOptions[Z]),delete K.eventOptions[Z]),C(q)&&(K.eventOptions[Z]=q,l(K,Z,q,{order:0})))})},n}),r(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{deg2rad:C}=n,{clamp:B,correctFloat:$,defined:K,destroyObjectProperties:G,extend:q,fireEvent:Z,isNumber:R,merge:Y,objectEach:V,pick:H}=l;return class{constructor(T,L,j,s,c){this.isNew=!0,this.isNewLabel=!0,this.axis=T,this.pos=L,this.type=j||"",this.parameters=c||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,Z(this,"init"),j||s||this.addLabel()}addLabel(){let T=this,L=T.axis,j=L.options,s=L.chart,c=L.categories,x=L.logarithmic,N=L.names,P=T.pos,S=H(T.options&&T.options.labels,j.labels),g=L.tickPositions,v=P===g[0],p=P===g[g.length-1],a=(!S.step||S.step===1)&&L.tickInterval===1,o=g.info,u=T.label,d,h,m,f=this.parameters.category||(c?H(c[P],N[P],P):P);x&&R(f)&&(f=$(x.lin2log(f))),L.dateTime&&(o?d=(h=s.time.resolveDTLFormat(j.dateTimeLabelFormats[!j.grid&&o.higherRanks[P]||o.unitName])).main:R(f)&&(d=L.dateTime.getXDateFormat(f,j.dateTimeLabelFormats||{}))),T.isFirst=v,T.isLast=p;let y={axis:L,chart:s,dateTimeLabelFormat:d,isFirst:v,isLast:p,pos:P,tick:T,tickPositionInfo:o,value:f};Z(this,"labelFormat",y);let I=D=>S.formatter?S.formatter.call(D,D):S.format?(D.text=L.defaultLabelFormatter.call(D),t.format(S.format,D,s)):L.defaultLabelFormatter.call(D),E=I.call(y,y),M=h&&h.list;M?T.shortenLabel=function(){for(m=0;m<M.length;m++)if(q(y,{dateTimeLabelFormat:M[m]}),u.attr({text:I.call(y,y)}),u.getBBox().width<L.getSlotWidth(T)-2*(S.padding||0))return;u.attr({text:""})}:T.shortenLabel=void 0,a&&L._addedPlotLB&&T.moveLabel(E,S),K(u)||T.movedLabel?u&&u.textStr!==E&&!a&&(!u.textWidth||S.style.width||u.styles.width||u.css({width:null}),u.attr({text:E}),u.textPxLength=u.getBBox().width):(T.label=u=T.createLabel(E,S),T.rotation=0)}createLabel(T,L,j){let s=this.axis,c=s.chart,x=K(T)&&L.enabled?c.renderer.text(T,j==null?void 0:j.x,j==null?void 0:j.y,L.useHTML).add(s.labelGroup):void 0;return x&&(c.styledMode||x.css(Y(L.style)),x.textPxLength=x.getBBox().width),x}destroy(){G(this,this.axis)}getPosition(T,L,j,s){let c=this.axis,x=c.chart,N=s&&x.oldChartHeight||x.chartHeight,P={x:T?$(c.translate(L+j,void 0,void 0,s)+c.transB):c.left+c.offset+(c.opposite?(s&&x.oldChartWidth||x.chartWidth)-c.right-c.left:0),y:T?N-c.bottom+c.offset-(c.opposite?c.height:0):$(N-c.translate(L+j,void 0,void 0,s)-c.transB)};return P.y=B(P.y,-1e9,1e9),Z(this,"afterGetPosition",{pos:P}),P}getLabelPosition(T,L,j,s,c,x,N,P){let S,g,v=this.axis,p=v.transA,a=v.isLinked&&v.linkedParent?v.linkedParent.reversed:v.reversed,o=v.staggerLines,u=v.tickRotCorr||{x:0,y:0},d=s||v.reserveSpaceDefault?0:-v.labelOffset*(v.labelAlign==="center"?.5:1),h=c.distance,m={};return S=v.side===0?j.rotation?-h:-j.getBBox().height:v.side===2?u.y+h:Math.cos(j.rotation*C)*(u.y-j.getBBox(!1,0).height/2),K(c.y)&&(S=v.side===0&&v.horiz?c.y+S:c.y),T=T+H(c.x,[0,1,0,-1][v.side]*h)+d+u.x-(x&&s?x*p*(a?-1:1):0),L=L+S-(x&&!s?x*p*(a?1:-1):0),o&&(g=N/(P||1)%o,v.o
130pposite&&(g=o-g-1),L+=g*(v.labelOffset/o)),m.x=T,m.y=Math.round(L),Z(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:x,index:N}),m}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(T,L,j,s,c=!1,x){return x.crispLine([["M",T,L],["L",T+(c?0:-j),L+(c?j:0)]],s)}handleOverflow(T){let L=this.axis,j=L.options.labels,s=T.x,c=L.chart.chartWidth,x=L.chart.spacing,N=H(L.labelLeft,Math.min(L.pos,x[3])),P=H(L.labelRight,Math.max(L.isRadial?0:L.pos+L.len,c-x[1])),S=this.label,g=this.rotation,v={left:0,center:.5,right:1}[L.labelAlign||S.attr("align")],p=S.getBBox().width,a=L.getSlotWidth(this),o={},u=a,d=1,h,m,f;g||j.overflow!=="justify"?g<0&&s-v*p<N?f=Math.round(s/Math.cos(g*C)-N):g>0&&s+v*p>P&&(f=Math.round((c-s)/Math.cos(g*C))):(h=s-v*p,m=s+(1-v)*p,h<N?u=T.x+u*(1-v)-N:m>P&&(u=P-T.x+u*v,d=-1),(u=Math.min(a,u))<a&&L.labelAlign==="center"&&(T.x+=d*(a-u-v*(a-Math.min(p,u)))),(p>u||L.autoRotation&&(S.styles||{}).width)&&(f=u)),f&&(this.shortenLabel?this.shortenLabel():(o.width=Math.floor(f)+"px",(j.style||{}).textOverflow||(o.textOverflow="ellipsis"),S.css(o)))}moveLabel(T,L){let j=this,s=j.label,c=j.axis,x=!1,N;s&&s.textStr===T?(j.movedLabel=s,x=!0,delete j.label):V(c.ticks,function(P){x||P.isNew||P===j||!P.label||P.label.textStr!==T||(j.movedLabel=P.label,x=!0,P.labelPos=j.movedLabel.xy,delete P.label)}),!x&&(j.labelPos||s)&&(N=j.labelPos||s.xy,j.movedLabel=j.createLabel(T,L,N),j.movedLabel&&j.movedLabel.attr({opacity:0}))}render(T,L,j){let s=this.axis,c=s.horiz,x=this.pos,N=H(this.tickmarkOffset,s.tickmarkOffset),P=this.getPosition(c,x,N,L),S=P.x,g=P.y,v=s.pos,p=v+s.len,a=c?S:g;!s.chart.polar&&this.isNew&&($(a)<v||a>p)&&(j=0);let o=H(j,this.label&&this.label.newOpacity,1);j=H(j,1),this.isActive=!0,this.renderGridLine(L,j),this.renderMark(P,j),this.renderLabel(P,L,o,T),this.isNew=!1,Z(this,"afterRender")}renderGridLine(T,L){let j=this.axis,s=j.options,c={},x=this.pos,N=this.type,P=H(this.tickmarkOffset,j.tickmarkOffset),S=j.chart.renderer,g=this.gridLine,v,p=s.gridLineWidth,a=s.gridLineColor,o=s.gridLineDashStyle;this.type==="minor"&&(p=s.minorGridLineWidth,a=s.minorGridLineColor,o=s.minorGridLineDashStyle),g||(j.chart.styledMode||(c.stroke=a,c["stroke-width"]=p||0,c.dashstyle=o),N||(c.zIndex=1),T&&(L=0),this.gridLine=g=S.path().attr(c).addClass("highcharts-"+(N?N+"-":"")+"grid-line").add(j.gridGroup)),g&&(v=j.getPlotLinePath({value:x+P,lineWidth:g.strokeWidth(),force:"pass",old:T,acrossPanes:!1}))&&g[T||this.isNew?"attr":"animate"]({d:v,opacity:L})}renderMark(T,L){let j=this.axis,s=j.options,c=j.chart.renderer,x=this.type,N=j.tickSize(x?x+"Tick":"tick"),P=T.x,S=T.y,g=H(s[x!=="minor"?"tickWidth":"minorTickWidth"],!x&&j.isXAxis?1:0),v=s[x!=="minor"?"tickColor":"minorTickColor"],p=this.mark,a=!p;N&&(j.opposite&&(N[0]=-N[0]),p||(this.mark=p=c.path().addClass("highcharts-"+(x?x+"-":"")+"tick").add(j.axisGroup),j.chart.styledMode||p.attr({stroke:v,"stroke-width":g})),p[a?"attr":"animate"]({d:this.getMarkPath(P,S,N[0],p.strokeWidth(),j.horiz,c),opacity:L}))}renderLabel(T,L,j,s){let c=this.axis,x=c.horiz,N=c.options,P=this.label,S=N.labels,g=S.step,v=H(this.tickmarkOffset,c.tickmarkOffset),p=T.x,a=T.y,o=!0;P&&R(p)&&(P.xy=T=this.getLabelPosition(p,a,P,x,S,v,s,g),(!this.isFirst||this.isLast||N.showFirstLabel)&&(!this.isLast||this.isFirst||N.showLastLabel)?!x||S.step||S.rotation||L||j===0||this.handleOverflow(T):o=!1,g&&s%g&&(o=!1),o&&R(T.y)?(T.opacity=j,P[this.isNewLabel?"attr":"animate"](T).show(!0),this.isNewLabel=!1):(P.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let T=this.label,L=this.axis;T&&!this.isNew&&(T.animate({opacity:0}
vendor: 18,127 bytes, line 130
130,void 0,T.destroy),delete this.label),L.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),r(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{animObject:q}=t,{xAxis:Z,yAxis:R}=n,{defaultOptions:Y}=C,{registerEventOptions:V}=B,{deg2rad:H}=$,{arrayMax:T,arrayMin:L,clamp:j,correctFloat:s,defined:c,destroyObjectProperties:x,erase:N,error:P,extend:S,fireEvent:g,getClosestDistance:v,insertItem:p,isArray:a,isNumber:o,isString:u,merge:d,normalizeTickInterval:h,objectEach:m,pick:f,relativeLength:y,removeEvent:I,splat:E,syncTimeout:M}=G,D=(X,_)=>h(_,void 0,void 0,f(X.options.allowDecimals,_<.5||X.tickAmount!==void 0),!!X.tickAmount);S(Y,{xAxis:Z,yAxis:d(Z,R)});class F{constructor(_,w,A){this.init(_,w,A)}init(_,w,A=this.coll){let U=A==="xAxis",b=this.isZAxis||(_.inverted?!U:U);this.chart=_,this.horiz=b,this.isXAxis=U,this.coll=A,g(this,"init",{userOptions:w}),this.opposite=f(w.opposite,this.opposite),this.side=f(w.side,this.side,b?this.opposite?0:2:this.opposite?1:3),this.setOptions(w);let k=this.options,O=k.labels;this.type??(this.type=k.type||"linear"),this.uniqueNames??(this.uniqueNames=k.uniqueNames??!0),g(this,"afterSetType"),this.userOptions=w,this.minPixelPadding=0,this.reversed=f(k.reversed,this.reversed),this.visible=k.visible,this.zoomEnabled=k.zoomEnabled,this.hasNames=this.type==="category"||k.categories===!0,this.categories=a(k.categories)&&k.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=c(k.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=k.minRange||k.maxZoom,this.range=k.range,this.offset=k.offset||0,this.max=void 0,this.min=void 0;let z=f(k.crosshair,E(_.options.tooltip.crosshairs)[U?0:1]);this.crosshair=z===!0?{}:z,_.axes.indexOf(this)===-1&&(U?_.axes.splice(_.xAxis.length,0,this):_.axes.push(this),p(this,_[this.coll])),_.orderItems(this.coll),this.series=this.series||[],_.inverted&&!this.isZAxis&&U&&!c(this.reversed)&&(this.reversed=!0),this.labelRotation=o(O.rotation)?O.rotation:void 0,V(this,k),g(this,"afterInit")}setOptions(_){let w=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=d(w,Y[this.coll],_),g(this,"afterSetOptions",{userOptions:_})}defaultLabelFormatter(){let _=this.axis,{numberFormatter:w}=this.chart,A=o(this.value)?this.value:NaN,U=_.chart.time,b=_.categories,k=this.dateTimeLabelFormat,O=Y.lang,z=O.numericSymbols,W=O.numericSymbolMagnitude||1e3,Q=_.logarithmic?Math.abs(A):_.tickInterval,ee=z&&z.length,se,ae;if(b)ae=`${this.value}`;else if(k)ae=U.dateFormat(k,A);else if(ee&&z&&Q>=1e3)for(;ee--&&ae===void 0;)Q>=(se=Math.pow(W,ee+1))&&10*A%se==0&&z[ee]!==null&&A!==0&&(ae=w(A/se,-1)+z[ee]);return ae===void 0&&(ae=Math.abs(A)>=1e4?w(A,-1):w(A,-1,void 0,"")),ae}getSeriesExtremes(){let _,w=this;g(this,"getSeriesExtremes",null,function(){w.hasVisibleSeries=!1,w.dataMin=w.dataMax=w.threshold=void 0,w.softThreshold=!w.isXAxis,w.series.forEach(A=>{if(A.reserveSpace()){let U=A.options,b,k=U.threshold,O,z;if(w.hasVisibleSeries=!0,w.positiveValuesOnly&&0>=(k||0)&&(k=void 0),w.isXAxis)(b=A.xData)&&b.length&&(b=w.logarithmic?b.filter(W=>W>0):b,O=(_=A.getXExtremes(b)).min,z=_.max,o(O)||O instanceof Date||(b=b.filter(o),O=(_=A.getXExtremes(b)).min,z=_.max),b.length&&(w.dataMin=Math.min(f(w.dataMin,O),O),w.dataMax=Math.max(f(w.dataMax,z),z)));else{let W=A.applyExtremes();o(W.dataMin)&&(O=W.dataMin,w.dataMin=Math.min(f(w.dataMin,O),O)),o(W.dataMax)&&(z=W.dataMax,w.dataMax=Math.max(f(w.dataMax,z),z)),c(k)&&(w.threshold=k),(!U.softThreshold||w.positiveValuesOnly)&&(w.softThreshold=!1)}}})}),g(this,"afterGetSeriesExtremes")}translate(_,w,A,U,b,k){var ce;let O=this.linkedParent||this,z=U&&O.old?O.old.min:O.min;if(!o(z))return NaN;let W=O.minPixelPadding,Q=(O.isOrdinal||((ce=O.brokenAxis)==null?void 0:ce.hasBreaks)||O.logarithmic&&b)&&O.lin2val,ee=1,se=0,ae=U&&O.old?O.old.transA:O.transA,he=0;return ae||(ae=O.transA),A&&(ee*=-1,se=O.len),O.reversed&&(ee*=-1,se-=ee*(O.sector||O.len)),w?(he=(_=_*ee+se-W)/ae+z,Q&&(he=O.lin2val(he))):(Q&&(_=O.val2lin(_)),he=ee*(_-z)*ae+se+ee*W+(o(k)?ae*k:0),O.isRadial||(he=s(he))),he}toPixels(_,w){return this.translate(_,!1,!this.horiz,void 0,!0)+(w?0:this.pos)}toValue(_,w){return this.translate(_-(w?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(_){let w=this,A=w.chart,U=w.left,b=w.top,k=_.old,O=_.value,z=_.lineWidth,W=k&&A.oldChartHeight||A.chartHeight,Q=k&&A.oldChartWidth||A.chartWidth,ee=w.transB,se=_.translatedValue,ae=_.force,he,ce,ie,te,ne;function oe(ue,de,fe){return ae!=="pass"&&(ue<de||ue>fe)&&(ae?ue=j(ue,de,fe):ne=!0),ue}let le={value:O,lineWidth:z,old:k,force:ae,acrossPanes:_.acrossPanes,translatedValue:se};return g(this,"getPlotLinePath",le,function(ue){he=ie=(se=j(se=f(se,w.translate(O,void 0,void 0,k)),-1e9,1e9))+ee,ce=te=W-se-ee,o(se)?w.horiz?(ce=b,te=W-w.bottom+(w.options.isInternal?0:A.scrollablePixelsY||0),he=ie=oe(he,U,U+w.width)):(he=U,ie=Q-w.right+(A.scrollablePixelsX||0),ce=te=oe(ce,b,b+w.height)):(ne=!0,ae=!1),ue.path=ne&&!ae?void 0:A.renderer.crispLine([["M",he,ce],["L",ie,te]],z||1)}),le.path}getLinearTickPositions(_,w,A){let U,b,k,O=s(Math.floor(w/_)*_),z=s(Math.ceil(A/_)*_),W=[];if(s(O+_)===O&&(k=20),this.single)return[w];for(U=O;U<=z&&(W.push(U),(U=s(U+_,k))!==b);)b=U;return W}getMinorTickInterval(){let{minorTicks:_,minorTickInterval:w}=this.options;return _===!0?f(w,"auto"):_!==!1?w:void 0}getMinorTickPositions(){let _=this.options,w=this.tickPositions,A=this.minorTickInterval,U=this.pointRangePadding||0,b=(this.min||0)-U,k=(this.max||0)+U,O=k-b,z=[],W;if(O&&O/A<this.len/3){let Q=this.logarithmic;if(Q)this.paddedTicks.forEach(function(ee,se,ae){se&&z.push.apply(z,Q.getLogTickPositions(A,ae[se-1],ae[se],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")z=z.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(A),b,k,_.startOfWeek));else for(W=b+(w[0]-b)%A;W<=k&&W!==z[0];W+=A)z.push(W)}return z.length!==0&&this.trimTicks(z),z}adjustForMinRange(){let _=this.options,w=this.logarithmic,{max:A,min:U,minRange:b}=this,k,O,z,W;this.isXAxis&&b===void 0&&!w&&(b=c(_.min)||c(_.max)||c(_.floor)||c(_.ceiling)?null:Math.min(5*(v(this.series.map(Q=>{var ee;return(Q.xIncrement?(ee=Q.xData)==null?void 0:ee.slice(0,2):Q.xData)||[]}))||0),this.dataMax-this.dataMin)),o(A)&&o(U)&&o(b)&&A-U<b&&(O=this.dataMax-this.dataMin>=b,k=(b-A+U)/2,z=[U-k,f(_.min,U-k)],O&&(z[2]=w?w.log2lin(this.dataMin):this.dataMin),W=[(U=T(z))+b,f(_.max,U+b)],O&&(W[2]=w?w.log2lin(this.dataMax):this.dataMax),(A=L(W))-U<b&&(z[0]=A-b,z[1]=f(_.min,A-b),U=T(z))),this.minRange=b,this.min=U,this.max=A}getClosest(){let _,w;if(this.categories)w=1;else{let A=[];this.series.forEach(function(U){var k;let b=U.closestPointRange;((k=U.xData)==null?void 0:k.length)===1?A.push(U.xData[0]):!U.noSharedTooltip&&c(b)&&U.reserveSpace()&&(w=c(w)?Math.min(w,b):b)}),A.length&&(A.sort((U,b)=>U-b),_=v([A]))}return _&&w?Math.min(_,w):_||w}nameToX(_){let w=a(this.options.categories),A=w?this.categories:this.names,U=_.options.x,b;return _.series.requireSorting=!1,c(U)||(U=this.uniqueNames&&A?w?A.indexOf(_.name):f(A.keys[_.name],-1):_.series.autoIncrement()),U===-1?!w&&A&&(b=A.length):b=U,b!==void 0?(this.names[b]=_.name,this.names.keys[_.name]=b):_.x&&(b=_.x),b}updateNames(){let _=this,w=this.names;w.length>0&&(Object.keys(w.keys).forEach(function(A){delete w.keys[A]}),w.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(A=>{A.xIncrement=null,(!A.points||A.isDirtyData)&&(_.max=Math.max(_.max,A.xData.length-1),A.processData(),A.generatePoints()),A.data.forEach(function(U,b){let k;U!=null&&U.options&&U.name!==void 0&&(k=_.nameToX(U))!==void 0&&k!==U.x&&(U.x=k,A.xData[b]=k)})}))}setAxisTranslation(){let _=this,w=_.max-_.min,A=_.linkedParent,U=!!_.categories,b=_.isXAxis,k=_.axisPointRange||0,O,z=0,W=0,Q,ee=_.transA;(b||U||k)&&(O=_.getClosest(),A?(z=A.minPointOffset,W=A.pointRangePadding):_.series.forEach(function(se){let ae=U?1:b?f(se.options.pointRange,O,0):_.axisPointRange||0,he=se.options.pointPlacement;if(k=Math.max(k,ae),!_.single||U){let ce=se.is("xrange")?!b:b;z=Math.max(z,ce&&u(he)?0:ae/2),W=Math.max(W,ce&&he==="on"?0:ae)}}),Q=_.ordinal&&_.ordinal.slope&&O?_.ordinal.slope/O:1,_.minPointOffset=z*=Q,_.pointRangePadding=W*=Q,_.pointRange=Math.min(k,_.single&&U?1:w),b&&O&&(_.closestPointRange=O)),_.translationSlope=_.transA=ee=_.staticScale||_.len/(w+W||1),_.transB=_.horiz?_.left:_.bottom,_.minPixelPadding=ee*z,g(this,"afterSetAxisTranslation")}minFromRange(){let{max:_,min:w}=this;return o(_)&&o(w)&&_-w||void 0}setTickInterval(_){var xe,Ce,Oe,Pe;let{categories:w,chart:A,dataMax:U,dataMin:b,dateTime:k,isXAxis:O,logarithmic:z,options:W,softThreshold:Q}=this,ee=o(this.threshold)?this.threshold:void 0,se=this.minRange||0,{ceiling:ae,floor:he,linkedTo:ce,softMax:ie,softMin:te}=W,ne=o(ce)&&((xe=A[this.coll])==null?void 0:xe[ce]),oe=W.tickPixelInterval,le=W.maxPadding,ue=W.minPadding,de=0,fe,me=o(W.tickInterval)&&W.tickInterval>=0?W.tickInterval:void 0,ge,Ee,ve,ye;if(k||w||ne||this.getTickAmount(),ve=f(this.userMin,W.min),ye=f(this.userMax,W.max),ne?(this.linkedParent=ne,fe=ne.getExtremes(),this.min=f(fe.min,fe.dataMin),this.max=f(fe.max,fe.dataMax),this.type!==ne.type&&P(11,!0,A)):(Q&&c(ee)&&o(U)&&o(b)&&(b>=ee?(ge=ee,ue=0):U<=ee&&(Ee=ee,le=0)),this.min=f(ve,ge,b),this.max=f(ye,Ee,U)),o(this.max)&&o(this.min)&&(z&&(this.positiveValuesOnly&&!_&&0>=Math.min(this.min,f(b,this.min))&&P(10,!0,A),this.min=s(z.log2lin(this.min),16),this.max=s(z.log2lin(this.max),16)),this.range&&o(b)&&(this.userMin=this.min=ve=Math.max(b,this.minFromRange()||0),this.userMax=ye=this.max,this.range=void 0)),g(this,"foundExtremes"),this.adjustForMinRange(),o(this.min)&&o(this.max)){if(!o(this.userMin)&&o(te)&&te<this.min&&(this.min=ve=te),!o(this.userMax)&&o(ie)&&ie>this.max&&(this.max=ye=ie),w||this.axisPointRange||(Ce=this.stacking)!=null&&Ce.usePercentage||ne||!(de=this.max-this.min)||(!c(ve)&&ue&&(this.min-=de*ue),c(ye)||!le||(this.max+=de*le)),!o(this.userMin)&&o(he)&&(this.min=Math.max(this.min,he)),!o(this.userMax)&&o(ae)&&(this.max=Math.min(this.max,ae)),Q&&o(b)&&o(U)){let He=ee||0;!c(ve)&&this.min<He&&b>=He?this.min=W.minRange?Math.min(He,this.max-se):He:!c(ye)&&this.max>He&&U<=He&&(this.max=W.minRange?Math.max(He,this.min+se):He)}!A.polar&&this.min>this.max&&(c(W.min)?this.max=this.min:c(W.max)&&(this.min=this.max)),de=this.max-this.min}if(this.min!==this.max&&o(this.min)&&o(this.max)?ne&&!me&&oe===ne.options.tickPixelInterval?this.tickInterval=me=ne.tickInterval:this.tickInterval=f(me,this.tickAmount?de/Math.max(this.tickAmount-1,1):void 0,w?1:de*oe/Math.max(this.len,oe)):this.tickInterval=1,O&&!_){let He=this.min!==((Oe=this.old)==null?void 0:Oe.min)||this.max!==((Pe=this.old)==null?void 0:Pe.max);this.series.forEach(function(Je){var Xe;Je.forceCrop=(Xe=Je.forceCropping)==null?void 0:Xe.call(Je),Je.processData(He)}),g(this,"postProcessData",{hasExtremesChanged:He})}this.setAxisTranslation(),g(this,"initialAxisTranslation"),this.pointRange&&!me&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Se=f(W.minTickInterval,k&&!this.series.some(He=>He.noSharedTooltip)?this.closestPointRange:0);!me&&this.tickInterval<Se&&(this.tickInterval=Se),k||z||me||(this.tickInterval=D(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var Q,ee;let _=this.options,w=_.tickPositions,A=_.tickPositioner,U=this.getMinorTickInterval(),b=!this.isPanning,k=b&&_.startOnTick,O=b&&_.endOnTick,z=[],W;if(this.tickmarkOffset=this.categories&&_.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&c(this.min)&&!this.tickAmount&&(this.min%1==0||_.allowDecimals!==!1),w)z=w.slice();else if(o(this.min)&&o(this.max)){if(!((Q=this.ordinal)!=null&&Q.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))z=[this.min,this.max],P(19,!1,this.chart);else if(this.dateTime)z=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,_.units),this.min,this.max,_.startOfWeek,(ee=this.ordinal)==null?void 0:ee.positions,this.closestPointRange,!0);else if(this.logarithmic)z=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let se=this.tickInterval,ae=se;for(;ae<=2*se&&(z=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&z.length>this.tickAmount);)this.tickInterval=D(this,ae*=1.1)}z.length>this.len&&(z=[z[0],z[z.length-1]])[0]===z[1]&&(z.length=1),A&&(this.tickPositions=z,(W=A.apply(this,[this.min,this.max]))&&(z=W))}this.tickPositions=z,this.minorTickInterval=U==="auto"&&this.tickInterval?this.tickInterval/_.minorTicksPerMajor:U,this.paddedTicks=z.slice(0),this.trimTicks(z,k,O),!this.isLinked&&o(this.min)&&o(this.max)&&(this.single&&z.length<2&&!this.categories&&!this.series.some(se=>se.is("heatmap")&&se.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),w||W||this.adjustTickAmount()),g(this,"afterSetTickPositions")}trimTicks(_,w,A){let U=_[0],b=_[_.length-1],k=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(w&&U!==-1/0)this.min=U;else for(;this.min-k>_[0];)_.shift();if(A)this.max=b;else for(;this.max+k<_[_.length-1];)_.pop();_.length===0&&c(U)&&!this.options.tickPositions&&_.push((b+U)/2)}}alignToOthers(){let _,w=this,A=w.chart,U=[this],b=w.options,k=A.options.chart,O=this.coll==="yAxis"&&k.alignThresholds,z=[];if(w.thresholdAlignment=void 0,(k.alignTicks!==!1&&b.alignTicks||O)&&b.startOnTick!==!1&&b.endOnTick!==!1&&!w.logarithmic){let W=ee=>{let{horiz:se,options:ae}=ee;return[se?ae.left:ae.top,ae.width,ae.height,ae.pane].join(",")},Q=W(this);A[this.coll].forEach(function(ee){let{series:se}=ee;se.length&&se.some(ae=>ae.visible)&&ee!==w&&W(ee)===Q&&(_=!0,U.push(ee))})}if(_&&O){U.forEach(Q=>{let ee=Q.getThresholdAlignment(w);o(ee)&&z.push(ee)});let W=z.length>1?z.reduce((Q,ee)=>Q+=ee,0)/z.length:void 0;U.forEach(Q=>{Q.thresholdAlignment=W})}return _}getThresholdAlignment(_){if((!o(this.dataMin)||this!==_&&this.series.some(w=>w.isDirty||w.isDirtyData))&&this.getSeriesExtremes(),o(this.threshold)){let w=j((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(w=1-w),w}}getTickAmount(){let _=this.options,w=_.tickPixelInterval,A=_.tickAmount;c(_.tickInterval)||A||!(this.len<w)||this.isRadial||this.logarithmic||!_.startOnTick||!_.endOnTick||(A=2),!A&&this.alignToOthers()&&(A=Math.ceil(this.len/w)+1),A<4&&(this.finalTickAmt=A,A=5),this.tickAmount=A}adjustTickAmount(){let _=this,{finalTickAmt:w,max:A,min:U,options:b,tickPositions:k,tickAmount:O,thresholdAlignment:z}=_,W=k==null?void 0:k.length,Q=f(_.threshold,_.softThreshold?0:null),ee,se,ae=_.tickInterval,he,ce=()=>k.push(s(k[k.length-1]+ae)),ie=()=>k.unshift(s(k[0]-ae));if(o(z)&&(he=z<.5?Math.ceil(z*(O-1)):Math.floor(z*(O-1)),b.reversed&&(he=O-1-he)),_.hasData()&&o(U)&&o(A)){let te=()=>{_.transA*=(W-1)/(O-1),_.min=b.startOnTick?k[0]:Math.min(U,k[0]),_.max=b.endOnTick?k[k.length-1]:Math.max(A,k[k.length-1])};if(o(he)&&o(_.threshold)){for(;k[he]!==Q||k.length!==O||k[0]>U||k[k.length-1]<A;){for(k.length=0,k.push(_.threshold);k.length<O;)k[he]===void 0||k[he]>_.threshold?ie():ce();if(ae>8*_.tickInterval)break;ae*=2}te()}else if(W<O){for(;k.length<O;)k.length%2||U===Q?ce():ie();te()}if(c(w)){for(se=ee=k.length;se--;)(w===3&&se%2==1||w<=2&&se>0&&se<ee-1)&&k.splice(se,1);_.finalTickAmt=void 0}}}setScale(){var k,O;let{coll:_,stacking:w}=this,A=!1,U=!1;this.series.forEach(z=>{A=A||z.isDirtyData||z.isDirty,U=U||z.xAxis&&z.xAxis.isDirty||!1}),this.setAxisSize();let b=this.len!==(this.old&&this.old.len);b||A||U||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(w&&_==="yAxis"&&w.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),w&&_==="xAxis"&&w.buildStacks(),this.isDirty||(this.isDirty=b||this.min!==((k=this.old)==null?void 0:k.min)||this.max!==((O=this.old)==null?void 0:O.max))):w&&w.cleanStacks(),A&&delete this.allExtremes,g(this,"afterSetScale")}setExtremes(_,w,A=!0,U,b){this.series.forEach(k=>{delete k.kdTree}),g(this,"setExtremes",b=S(b,{min:_,max:w}),k=>{this.userMin=k.min,this.userMax=k.max,this.eventArgs=k,A&&this.chart.redraw(U)})}setAxisSize(){let _=this.chart,w=this.options,A=w.offsets||[0,0,0,0],U=this.horiz,b=this.width=Math.round(y(f(w.width,_.plotWidth-A[3]+A[1]),_.plotWidth)),k=this.height=Math.round(y(f(w.height,_.plotHeight-A[0]+A[2]),_.plotHeight)),O=this.top=Math.round(y(f(w.top,_.plotTop+A[0]),_.plotHeight,_.plotTop)),z=this.left=Math.round(y(f(w.left,_.plotLeft+A[3]),_.plotWidth,_.plotLeft));this.bottom=_.chartHeight-k-O,this.right=_.chartWidth-b-z,this.len=Math.max(U?b:k,0),this.pos=U?z:O}getExtremes(){let _=this.logarithmic;return{min:_?s(_.lin2log(this.min)):this.min,max:_?s(_.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(_){let w=this.logarithmic,A=w?w.lin2log(this.min):this.min,U=w?w.lin2log(this.max):this.max;return _===null||_===-1/0?_=A:_===1/0?_=U:A>_?_=A:U<_&&(_=U),this.translate(_,0,1,0,1)}autoLabelAlign(_){let w=(f(_,0)-90*this.side+720)%360,A={align:"center"};return g(this,"autoLabelAlign",A,function(U){w>15&&w<165?U.align="right":w>195&&w<345&&(U.align="left")}),A.align}tickSize(_){let w=this.options,A=f(w[_==="tick"?"tickWidth":"minorTickWidth"],_==="tick"&&this.isXAxis&&!this.categories?1:0),U=w[_==="tick"?"tickLength":"minorTickLength"],b;A&&U&&(w[_+"Position"]==="inside"&&(U=-U),b=[U,A]);let k={tickSize:b};return g(this,"afterTickSize",k),k.tickSize}
130labelMetrics(){let _=this.chart.renderer,w=this.ticks,A=w[Object.keys(w)[0]]||{};return this.chart.renderer.fontMetrics(A.label||A.movedLabel||_.box)}unsquish(){let _=this.options.labels,w=_.padding||0,A=this.horiz,U=this.tickInterval,b=this.len/(((this.categories?1:0)+this.max-this.min)/U),k=_.rotation,O=s(.8*this.labelMetrics().h),z=Math.max(this.max-this.min,0),W=function(he){let ce=(he+2*w)/(b||1);return(ce=ce>1?Math.ceil(ce):1)*U>z&&he!==1/0&&b!==1/0&&z&&(ce=Math.ceil(z/U)),s(ce*U)},Q=U,ee,se=Number.MAX_VALUE,ae;if(A){if(!_.staggerLines&&(o(k)?ae=[k]:b<_.autoRotationLimit&&(ae=_.autoRotation)),ae){let he,ce;for(let ie of ae)(ie===k||ie&&ie>=-90&&ie<=90)&&(ce=(he=W(Math.abs(O/Math.sin(H*ie))))+Math.abs(ie/360))<se&&(se=ce,ee=ie,Q=he)}}else Q=W(.75*O);return this.autoRotation=ae,this.labelRotation=f(ee,o(k)?k:0),_.step?U:Q}getSlotWidth(_){let w=this.chart,A=this.horiz,U=this.options.labels,b=Math.max(this.tickPositions.length-(this.categories?0:1),1),k=w.margin[3];if(_&&o(_.slotWidth))return _.slotWidth;if(A&&U.step<2)return U.rotation?0:(this.staggerLines||1)*this.len/b;if(!A){let O=U.style.width;if(O!==void 0)return parseInt(String(O),10);if(k)return k-w.spacing[3]}return .33*w.chartWidth}renderUnsquish(){let _=this.chart,w=_.renderer,A=this.tickPositions,U=this.ticks,b=this.options.labels,k=b.style,O=this.horiz,z=this.getSlotWidth(),W=Math.max(1,Math.round(z-(O?2*(b.padding||0):b.distance||0))),Q={},ee=this.labelMetrics(),se=k.textOverflow,ae,he,ce=0,ie,te;if(u(b.rotation)||(Q.rotation=b.rotation||0),A.forEach(function(ne){let oe=U[ne];oe.movedLabel&&oe.replaceMovedLabel(),oe&&oe.label&&oe.label.textPxLength>ce&&(ce=oe.label.textPxLength)}),this.maxLabelLength=ce,this.autoRotation)ce>W&&ce>ee.h?Q.rotation=this.labelRotation:this.labelRotation=0;else if(z&&(ae=W,!se))for(he="clip",te=A.length;!O&&te--;)(ie=U[A[te]].label)&&(ie.styles.textOverflow==="ellipsis"?ie.css({textOverflow:"clip"}):ie.textPxLength>z&&ie.css({width:z+"px"}),ie.getBBox().height>this.len/A.length-(ee.h-ee.f)&&(ie.specificTextOverflow="ellipsis"));Q.rotation&&(ae=ce>.5*_.chartHeight?.33*_.chartHeight:ce,se||(he="ellipsis")),this.labelAlign=b.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(Q.align=this.labelAlign),A.forEach(function(ne){let oe=U[ne],le=oe&&oe.label,ue=k.width,de={};le&&(le.attr(Q),oe.shortenLabel?oe.shortenLabel():ae&&!ue&&k.whiteSpace!=="nowrap"&&(ae<le.textPxLength||le.element.tagName==="SPAN")?(de.width=ae+"px",se||(de.textOverflow=le.specificTextOverflow||he),le.css(de)):!le.styles.width||de.width||ue||le.css({width:null}),delete le.specificTextOverflow,oe.rotation=Q.rotation)},this),this.tickRotCorr=w.rotCorr(ee.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(_){return _.hasData()})||this.options.showEmpty&&c(this.min)&&c(this.max)}addTitle(_){let w,A=this.chart.renderer,U=this.horiz,b=this.opposite,k=this.options.title,O=this.chart.styledMode;this.axisTitle||((w=k.textAlign)||(w=(U?{low:"left",middle:"center",high:"right"}:{low:b?"right":"left",middle:"center",high:b?"left":"right"})[k.align]),this.axisTitle=A.text(k.text||"",0,0,k.useHTML).attr({zIndex:7,rotation:k.rotation||0,align:w}).addClass("highcharts-axis-title"),O||this.axisTitle.css(d(k.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),O||k.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[_?"show":"hide"](_)}generateTick(_){let w=this.ticks;w[_]?w[_].addLabel():w[_]=new K(this,_)}createGroups(){let{axisParent:_,chart:w,coll:A,options:U}=this,b=w.renderer,k=(O,z,W)=>b.g(O).attr({zIndex:W}).addClass(`highcharts-${A.toLowerCase()}${z} `+(this.isRadial?`highcharts-radial-axis${z} `:"")+(U.className||"")).add(_);this.axisGroup||(this.gridGroup=k("grid","-grid",U.gridZIndex),this.axisGroup=k("axis","",U.zIndex),this.labelGroup=k("axis-labels","-labels",U.labels.zIndex))}getOffset(){let _=this,{chart:w,horiz:A,options:U,side:b,ticks:k,tickPositions:O,coll:z}=_,W=w.inverted&&!_.isZAxis?[1,0,3,2][b]:b,Q=_.hasData(),ee=U.title,se=U.labels,ae=o(U.crossing),he=w.axisOffset,ce=w.clipOffset,ie=[-1,1,1,-1][b],te,ne=0,oe,le=0,ue=0,de,fe;if(_.showAxis=te=Q||U.showEmpty,_.staggerLines=_.horiz&&se.staggerLines||void 0,_.createGroups(),Q||_.isLinked?(O.forEach(function(me){_.generateTick(me)}),_.renderUnsquish(),_.reserveSpaceDefault=b===0||b===2||{1:"left",3:"right"}[b]===_.labelAlign,f(se.reserveSpace,!ae&&null,_.labelAlign==="center"||null,_.reserveSpaceDefault)&&O.forEach(function(me){ue=Math.max(k[me].getLabelSize(),ue)}),_.staggerLines&&(ue*=_.staggerLines),_.labelOffset=ue*(_.opposite?-1:1)):m(k,function(me,ge){me.destroy(),delete k[ge]}
vendor: 18,806 bytes, line 130
130),ee!=null&&ee.text&&ee.enabled!==!1&&(_.addTitle(te),te&&!ae&&ee.reserveSpace!==!1&&(_.titleOffset=ne=_.axisTitle.getBBox()[A?"height":"width"],le=c(oe=ee.offset)?0:f(ee.margin,A?5:10))),_.renderLine(),_.offset=ie*f(U.offset,he[b]?he[b]+(U.margin||0):0),_.tickRotCorr=_.tickRotCorr||{x:0,y:0},fe=b===0?-_.labelMetrics().h:b===2?_.tickRotCorr.y:0,de=Math.abs(ue)+le,ue&&(de-=fe,de+=ie*(A?f(se.y,_.tickRotCorr.y+ie*se.distance):f(se.x,ie*se.distance))),_.axisTitleMargin=f(oe,de),_.getMaxLabelDimensions&&(_.maxLabelDimensions=_.getMaxLabelDimensions(k,O)),z!=="colorAxis"&&ce){let me=this.tickSize("tick");he[b]=Math.max(he[b],(_.axisTitleMargin||0)+ne+ie*_.offset,de,O&&O.length&&me?me[0]+ie*_.offset:0);let ge=!_.axisLine||U.offset?0:_.axisLine.strokeWidth()/2;ce[W]=Math.max(ce[W],ge)}g(this,"afterGetOffset")}getLinePath(_){let w=this.chart,A=this.opposite,U=this.offset,b=this.horiz,k=this.left+(A?this.width:0)+U,O=w.chartHeight-this.bottom-(A?this.height:0)+U;return A&&(_*=-1),w.renderer.crispLine([["M",b?this.left:k,b?O:this.top],["L",b?w.chartWidth-this.right:k,b?O:w.chartHeight-this.bottom]],_)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(_){let w=this.horiz,A=this.left,U=this.top,b=this.len,k=this.options.title,O=w?A:U,z=this.opposite,W=this.offset,Q=k.x,ee=k.y,se=this.chart.renderer.fontMetrics(_),ae=_?Math.max(_.getBBox(!1,0).height-se.h-1,0):0,he={low:O+(w?0:b),middle:O+b/2,high:O+(w?b:0)}[k.align],ce=(w?U+this.height:A)+(w?1:-1)*(z?-1:1)*(this.axisTitleMargin||0)+[-ae,ae,se.f,-ae][this.side],ie={x:w?he+Q:ce+(z?this.width:0)+W+Q,y:w?ce+ee-(z?this.height:0)+W:he+ee};return g(this,"afterGetTitlePosition",{titlePosition:ie}),ie}renderMinorTick(_,w){let A=this.minorTicks;A[_]||(A[_]=new K(this,_,"minor")),w&&A[_].isNew&&A[_].render(null,!0),A[_].render(null,!1,1)}renderTick(_,w,A){let U=this.isLinked,b=this.ticks;(!U||_>=this.min&&_<=this.max||this.grid&&this.grid.isColumn)&&(b[_]||(b[_]=new K(this,_)),A&&b[_].isNew&&b[_].render(w,!0,-1),b[_].render(w))}render(){let _,w,A=this,U=A.chart,b=A.logarithmic,k=U.renderer,O=A.options,z=A.isLinked,W=A.tickPositions,Q=A.axisTitle,ee=A.ticks,se=A.minorTicks,ae=A.alternateBands,he=O.stackLabels,ce=O.alternateGridColor,ie=O.crossing,te=A.tickmarkOffset,ne=A.axisLine,oe=A.showAxis,le=q(k.globalAnimation);if(A.labelEdge.length=0,A.overlap=!1,[ee,se,ae].forEach(function(ue){m(ue,function(de){de.isActive=!1})}),o(ie)){let ue=this.isXAxis?U.yAxis[0]:U.xAxis[0],de=[1,-1,-1,1][this.side];if(ue){let fe=ue.toPixels(ie,!0);A.horiz&&(fe=ue.len-fe),A.offset=de*fe}}if(A.hasData()||z){let ue=A.chart.hasRendered&&A.old&&o(A.old.min);A.minorTickInterval&&!A.categories&&A.getMinorTickPositions().forEach(function(de){A.renderMinorTick(de,ue)}),W.length&&(W.forEach(function(de,fe){A.renderTick(de,fe,ue)}),te&&(A.min===0||A.single)&&(ee[-1]||(ee[-1]=new K(A,-1,null,!0)),ee[-1].render(-1))),ce&&W.forEach(function(de,fe){w=W[fe+1]!==void 0?W[fe+1]+te:A.max-te,fe%2==0&&de<A.max&&w<=A.max+(U.polar?-te:te)&&(ae[de]||(ae[de]=new $.PlotLineOrBand(A,{})),_=de+te,ae[de].options={from:b?b.lin2log(_):_,to:b?b.lin2log(w):w,color:ce,className:"highcharts-alternate-grid"},ae[de].render(),ae[de].isActive=!0)}),A._addedPlotLB||(A._addedPlotLB=!0,(O.plotLines||[]).concat(O.plotBands||[]).forEach(function(de){A.addPlotBandOrLine(de)}))}[ee,se,ae].forEach(function(ue){let de=[],fe=le.duration;m(ue,function(me,ge){me.isActive||(me.render(ge,!1,0),me.isActive=!1,de.push(ge))}),M(function(){let me=de.length;for(;me--;)ue[de[me]]&&!ue[de[me]].isActive&&(ue[de[me]].destroy(),delete ue[de[me]])},ue!==ae&&U.hasRendered&&fe?fe:0)}),ne&&(ne[ne.isPlaced?"animate":"attr"]({d:this.getLinePath(ne.strokeWidth())}),ne.isPlaced=!0,ne[oe?"show":"hide"](oe)),Q&&oe&&(Q[Q.isNew?"attr":"animate"](A.getTitlePosition(Q)),Q.isNew=!1),he&&he.enabled&&A.stacking&&A.stacking.renderStackTotals(),A.old={len:A.len,max:A.max,min:A.min,transA:A.transA,userMax:A.userMax,userMin:A.userMin},A.isDirty=!1,g(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(_){_.render()})),this.series.forEach(function(_){_.isDirty=!0})}getKeepProps(){return this.keepProps||F.keepProps}destroy(_){let w=this,A=w.plotLinesAndBands,U=this.eventOptions;if(g(this,"destroy",{keepEvents:_}),_||I(w),[w.ticks,w.minorTicks,w.alternateBands].forEach(function(b){x(b)}),A){let b=A.length;for(;b--;)A[b].destroy()}for(let b in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(k){w[k]&&(w[k]=w[k].destroy())}),w.plotLinesAndBandsGroups)w.plotLinesAndBandsGroups[b]=w.plotLinesAndBandsGroups[b].destroy();m(w,function(b,k){w.getKeepProps().indexOf(k)===-1&&delete w[k]}),this.eventOptions=U}drawCrosshair(_,w){let A=this.crosshair,U=f(A&&A.snap,!0),b=this.chart,k,O,z,W=this.cross,Q;if(g(this,"drawCrosshair",{e:_,point:w}),_||(_=this.cross&&this.cross.e),A&&(c(w)||!U)!==!1){if(U?c(w)&&(O=f(this.coll!=="colorAxis"?w.crosshairPos:null,this.isXAxis?w.plotX:this.len-w.plotY)):O=_&&(this.horiz?_.chartX-this.pos:this.len-_.chartY+this.pos),c(O)&&(Q={value:w&&(this.isXAxis?w.x:f(w.stackY,w.y)),translatedValue:O},b.polar&&S(Q,{isCrosshair:!0,chartX:_&&_.chartX,chartY:_&&_.chartY,point:w}),k=this.getPlotLinePath(Q)||null),!c(k)){this.hideCrosshair();return}z=this.categories&&!this.isRadial,W||(this.cross=W=b.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(z?"category ":"thin ")+(A.className||"")).attr({zIndex:f(A.zIndex,2)}).add(),!b.styledMode&&(W.attr({stroke:A.color||(z?l.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":f(A.width,1)}).css({"pointer-events":"none"}),A.dashStyle&&W.attr({dashstyle:A.dashStyle}))),W.show().attr({d:k}),z&&!A.width&&W.attr({"stroke-width":this.transA}),this.cross.e=_}else this.hideCrosshair();g(this,"afterDrawCrosshair",{e:_,point:w})}hideCrosshair(){this.cross&&this.cross.hide(),g(this,"afterHideCrosshair")}update(_,w){let A=this.chart;_=d(this.userOptions,_),this.destroy(!0),this.init(A,_),A.isDirtyBox=!0,f(w,!0)&&A.redraw()}remove(_){let w=this.chart,A=this.coll,U=this.series,b=U.length;for(;b--;)U[b]&&U[b].remove(!1);N(w.axes,this),N(w[A]||[],this),w.orderItems(A),this.destroy(),w.isDirtyBox=!0,f(_,!0)&&w.redraw()}setTitle(_,w){this.update({title:_},w)}setCategories(_,w){this.update({categories:_},w)}}return F.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],F}),r(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,getMagnitude:C,normalizeTickInterval:B,timeUnits:$}=t;return function(K){function G(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function q(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new Z(this))}K.compose=function(R){return R.keepProps.includes("dateTime")||(R.keepProps.push("dateTime"),R.prototype.getTimeTicks=G,l(R,"afterSetType",q)),R};class Z{constructor(Y){this.axis=Y}normalizeTimeTickInterval(Y,V){let H=V||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],T=H[H.length-1],L=$[T[0]],j=T[1],s;for(s=0;s<H.length&&(L=$[(T=H[s])[0]],j=T[1],!H[s+1]||!(Y<=(L*j[j.length-1]+$[H[s+1][0]])/2));s++);L===$.year&&Y<5*L&&(j=[1,2,5]);let c=B(Y/L,j,T[0]==="year"?Math.max(C(Y/L),1):1);return{unitRange:L,count:c,unitName:T[0]}}getXDateFormat(Y,V){let{axis:H}=this,T=H.chart.time;return H.closestPointRange?T.getDateFormat(H.closestPointRange,Y,H.options.startOfWeek,V)||T.resolveDTLFormat(V.year).main:T.resolveDTLFormat(V.day).main}}K.Additions=Z}(n||(n={})),n}),r(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,normalizeTickInterval:C,pick:B}=t;return function($){function K(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new q(this))}function G(){let Z=this.logarithmic;Z&&(this.lin2val=function(R){return Z.lin2log(R)},this.val2lin=function(R){return Z.log2lin(R)})}$.compose=function(Z){return Z.keepProps.includes("logarithmic")||(Z.keepProps.push("logarithmic"),l(Z,"afterSetType",K),l(Z,"afterInit",G)),Z};class q{constructor(R){this.axis=R}getLogTickPositions(R,Y,V,H){let T=this.axis,L=T.len,j=T.options,s=[];if(H||(this.minorAutoInterval=void 0),R>=.5)R=Math.round(R),s=T.getLinearTickPositions(R,Y,V);else if(R>=.08){let c,x,N,P,S,g,v,p=Math.floor(Y);for(c=R>.3?[1,2,4]:R>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],x=p;x<V+1&&!v;x++)for(N=0,P=c.length;N<P&&!v;N++)(S=this.log2lin(this.lin2log(x)*c[N]))>Y&&(!H||g<=V)&&g!==void 0&&s.push(g),g>V&&(v=!0),g=S}else{let c=this.lin2log(Y),x=this.lin2log(V),N=H?T.getMinorTickInterval():j.tickInterval,P=j.tickPixelInterval/(H?5:1),S=H?L/T.tickPositions.length:L;R=C(R=B(N==="auto"?null:N,this.minorAutoInterval,(x-c)*P/(S||1))),s=T.getLinearTickPositions(R,c,x).map(this.log2lin),H||(this.minorAutoInterval=R/5)}return H||(T.tickInterval=R),s}lin2log(R){return Math.pow(10,R)}log2lin(R){return Math.log(R)/Math.LN10}}$.Additions=q}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{erase:l,extend:C,isNumber:B}=t;return function($){let K;function G(T){return this.addPlotBandOrLine(T,"plotBands")}function q(T,L){let j=this.userOptions,s=new K(this,T);if(this.visible&&(s=s.render()),s){if(this._addedPlotLB||(this._addedPlotLB=!0,(j.plotLines||[]).concat(j.plotBands||[]).forEach(c=>{this.addPlotBandOrLine(c)})),L){let c=j[L]||[];c.push(T),j[L]=c}this.plotLinesAndBands.push(s)}return s}function Z(T){return this.addPlotBandOrLine(T,"plotLines")}function R(T,L,j){j=j||this.options;let s=this.getPlotLinePath({value:L,force:!0,acrossPanes:j.acrossPanes}),c=[],x=this.horiz,N=!B(this.min)||!B(this.max)||T<this.min&&L<this.min||T>this.max&&L>this.max,P=this.getPlotLinePath({value:T,force:!0,acrossPanes:j.acrossPanes}),S,g=1,v;if(P&&s)for(N&&(v=P.toString()===s.toString(),g=0),S=0;S<P.length;S+=2){let p=P[S],a=P[S+1],o=s[S],u=s[S+1];(p[0]==="M"||p[0]==="L")&&(a[0]==="M"||a[0]==="L")&&(o[0]==="M"||o[0]==="L")&&(u[0]==="M"||u[0]==="L")&&(x&&o[1]===p[1]?(o[1]+=g,u[1]+=g):x||o[2]!==p[2]||(o[2]+=g,u[2]+=g),c.push(["M",p[1],p[2]],["L",a[1],a[2]],["L",u[1],u[2]],["L",o[1],o[2]],["Z"])),c.isFlat=v}return c}function Y(T){this.removePlotBandOrLine(T)}function V(T){let L=this.plotLinesAndBands,j=this.options,s=this.userOptions;if(L){let c=L.length;for(;c--;)L[c].id===T&&L[c].destroy();[j.plotLines||[],s.plotLines||[],j.plotBands||[],s.plotBands||[]].forEach(function(x){for(c=x.length;c--;)(x[c]||{}).id===T&&l(x,x[c])})}}function H(T){this.removePlotBandOrLine(T)}$.compose=function(T,L){let j=L.prototype;return j.addPlotBand||(K=T,C(j,{addPlotBand:G,addPlotLine:Z,addPlotBandOrLine:q,getPlotBandPath:R,removePlotBand:Y,removePlotLine:H,removePlotBandOrLine:V})),L}}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,arrayMax:C,arrayMin:B,defined:$,destroyObjectProperties:K,erase:G,fireEvent:q,merge:Z,objectEach:R,pick:Y}=n;class V{static compose(T,L){return l(T,"afterInit",function(){this.labelCollectors.push(()=>{var s;let j=[];for(let c of this.axes)for(let{label:x,options:N}of c.plotLinesAndBands)x&&!((s=N==null?void 0:N.label)!=null&&s.allowOverlap)&&j.push(x);return j})}),t.compose(V,L)}constructor(T,L){this.axis=T,this.options=L,this.id=L.id}render(){q(this,"render");let{axis:T,options:L}=this,{horiz:j,logarithmic:s}=T,{color:c,events:x,zIndex:N=0}=L,P={},S=T.chart.renderer,g=L.to,v=L.from,p=L.value,a=L.borderWidth,o=L.label,{label:u,svgElem:d}=this,h=[],m,f=$(v)&&$(g),y=$(p),I=!d,E={class:"highcharts-plot-"+(f?"band ":"line ")+(L.className||"")},M=f?"bands":"lines";if(!T.chart.styledMode&&(y?(E.stroke=c||"#999999",E["stroke-width"]=Y(L.width,1),L.dashStyle&&(E.dashstyle=L.dashStyle)):f&&(E.fill=c||"#e6e9ff",a&&(E.stroke=L.borderColor,E["stroke-width"]=a))),P.zIndex=N,M+="-"+N,(m=T.plotLinesAndBandsGroups[M])||(T.plotLinesAndBandsGroups[M]=m=S.g("plot-"+M).attr(P).add()),d||(this.svgElem=d=S.path().attr(E).add(m)),$(p))h=T.getPlotLinePath({value:(s==null?void 0:s.log2lin(p))??p,lineWidth:d.strokeWidth(),acrossPanes:L.acrossPanes});else{if(!($(v)&&$(g)))return;h=T.getPlotBandPath((s==null?void 0:s.log2lin(v))??v,(s==null?void 0:s.log2lin(g))??g,L)}return!this.eventsAdded&&x&&(R(x,(D,F)=>{d==null||d.on(F,X=>{x[F].apply(this,[X])})}),this.eventsAdded=!0),(I||!d.d)&&(h!=null&&h.length)?d.attr({d:h}):d&&(h?(d.show(),d.animate({d:h})):d.d&&(d.hide(),u&&(this.label=u=u.destroy()))),o&&($(o.text)||$(o.formatter))&&(h!=null&&h.length)&&T.width>0&&T.height>0&&!h.isFlat?(o=Z(ze({align:j&&f?"center":void 0,x:j?!f&&4:10,verticalAlign:!j&&f?"middle":void 0,y:j?f?16:10:f?6:-4,rotation:j&&!f?90:0},f?{inside:!0}:{}),o),this.renderLabel(o,h,f,N)):u&&u.hide(),this}renderLabel(T,L,j,s){var o;let c=this.axis,x=c.chart.renderer,N=T.inside,P=this.label;P||(this.label=P=x.text(this.getLabelText(T),0,0,T.useHTML).attr({align:T.textAlign||T.align,rotation:T.rotation,class:"highcharts-plot-"+(j?"band":"line")+"-label "+(T.className||""),zIndex:s}),c.chart.styledMode||P.css(Z({fontSize:"0.8em",textOverflow:j&&!N?"":"ellipsis"},T.style)),P.add());let S=L.xBounds||[L[0][1],L[1][1],j?L[2][1]:L[0][1]],g=L.yBounds||[L[0][2],L[1][2],j?L[2][2]:L[0][2]],v=B(S),p=B(g),a=C(S)-v;P.align(T,!1,{x:v,y:p,width:a,height:C(g)-p}),(!P.alignValue||P.alignValue==="left"||$(N))&&P.css({width:(((o=T.style)==null?void 0:o.width)||(j&&N?a:P.rotation===90?c.height-(P.alignAttr.y-c.top):(T.clip?c.width:c.chart.chartWidth)-(P.alignAttr.x-c.left)))+"px"}),P.show(!0)}getLabelText(T){return $(T.formatter)?T.formatter.call(this):T.text}destroy(){G(this.axis.plotLinesAndBands,this),delete this.axis,K(this)}}return V}),r(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){var K;let{animObject:G}=t,{format:q}=n,{composed:Z,doc:R,isSafari:Y}=l,{distribute:V}=C,{addEvent:H,clamp:T,css:L,discardElement:j,extend:s,fireEvent:c,isArray:x,isNumber:N,isString:P,merge:S,pick:g,pushUnique:v,splat:p,syncTimeout:a}=$;class o{constructor(d,h,m){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=d,this.init(d,h),this.pointer=m}bodyFormatter(d){return d.map(function(h){let m=h.series.tooltipOptions;return(m[(h.point.formatPrefix||"point")+"Formatter"]||h.point.tooltipFormatter).call(h.point,m[(h.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(d){this.chart.series.forEach(function(h){let m=h&&h.tt;m&&(!m.isActive||d?h.tt=m.destroy():m.isActive=!1)})}defaultFormatter(d){let h,m=this.points||p(this);return(h=(h=[d.tooltipFooterHeaderFormatter(m[0])]).concat(d.bodyFormatter(m))).push(d.tooltipFooterHeaderFormatter(m[0],!0)),h}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),j(this.container)),$.clearTimeout(this.hideTimer)}getAnchor(d,h){let m,{chart:f,pointer:y}=this,I=f.inverted,E=f.plotTop,M=f.plotLeft;if((d=p(d))[0].series&&d[0].series.yAxis&&!d[0].series.yAxis.options.reversedStacks&&(d=d.slice().reverse()),this.followPointer&&h)h.chartX===void 0&&(h=y.normalize(h)),m=[h.chartX-M,h.chartY-E];else if(d[0].tooltipPos)m=d[0].tooltipPos;else{let D=0,F=0;d.forEach(function(X){let _=X.pos(!0);_&&(D+=_[0],F+=_[1])}),D/=d.length,F/=d.length,this.shared&&d.length>1&&h&&(I?D=h.chartX:F=h.chartY),m=[D-M,F-E]}return m.map(Math.round)}getClassName(d,h,m){let f=this.options,y=d.series,I=y.options;return[f.className,"highcharts-label",m&&"highcharts-tooltip-header",h?"highcharts-tooltip-box":"highcharts-tooltip",!m&&"highcharts-color-"+g(d.colorIndex,y.colorIndex),I&&I.className].filter(P).join(" ")}getLabel({anchorX:d,anchorY:h}={anchorX:0,anchorY:0}){let m=this,f=this.chart.styledMode,y=this.options,I=this.split&&this.allowShared,E=this.container,M=this.chart.renderer;if(this.label){let D=!this.label.hasClass("highcharts-label");(!I&&D||I&&!D)&&this.destroy()}if(!this.label){if(this.outside){let D=this.chart.options.chart.style,F=B.getRendererType();this.container=E=l.doc.createElement("div"),E.className="highcharts-tooltip-container",L(E,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(D&&D.zIndex||0)+3)}),this.renderer=M=new F(E,0,0,D,void 0,void 0,M.styledMode)}if(I?this.label=M.g("tooltip"):(this.label=M.label("",d,h,y.shape,void 0,void 0,y.useHTML,void 0,"tooltip").attr({padding:y.padding,r:y.borderRadius}),f||this.label.attr({fill:y.backgroundColor,"stroke-width":y.borderWidth||0}).css(y.style).css({pointerEvents:y.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),m.outside){let D=this.label;[D.xSetter,D.ySetter].forEach((F,X)=>{D[X?"ySetter":"xSetter"]=_=>{F.call(D,m.distance),D[X?"y":"x"]=_,E&&(E.style[X?"top":"left"]=`${_}px`)}})}this.label.attr({zIndex:8}).shadow(y.shadow).add()}return E&&!E.parentElement&&l.doc.body.appendChild(E),this.label}getPlayingField(){let{body:d,documentElement:h}=R,{chart:m,distance:f,outside:y}=this;return{width:y?Math.max(d.scrollWidth,h.scrollWidth,d.offsetWidth,h.offsetWidth,h.clientWidth)-2*f:m.chartWidth,height:y?Math.max(d.scrollHeight,h.scrollHeight,d.offsetHeight,h.offsetHeight,h.clientHeight):m.chartHeight}}getPosition(d,h,m){var le,ue;let{distance:f,chart:y,outside:I,pointer:E}=this,{inverted:M,plotLeft:D,plotTop:F,polar:X}=y,{plotX:_=0,plotY:w=0}=m,A={},U=M&&m.h||0,{height:b,width:k}=this.getPlayingField(),O=E.getChartPosition(),z=de=>de*O.scaleX,W=de=>de*O.scaleY,Q=de=>{let fe=de==="x";return[de,fe?k:b,fe?d:h].concat(I?[fe?z(d):W(h),fe?O.left-f+z(_+D):O.top-f+W(w+F),0,fe?k:b]:[fe?d:h,fe?_+D:w+F,fe?D:F,fe?D+y.plotWidth:F+y.plotHeight])},ee=Q("y"),se=Q("x"),ae,he=!!m.negative;!X&&((ue=(le=y.hoverSeries)==null?void 0:le.yAxis)!=null&&ue.reversed)&&(he=!he);let ce=!this.followPointer&&g(m.ttBelow,!X&&!M===he),ie=function(de,fe,me,ge,Ee,ve,ye){let Se=I?de==="y"?W(f):z(f):f,xe=(me-ge)/2,Ce=ge<Ee-f,Oe=Ee+f+ge<fe,Pe=Ee-Se-me+xe,He=Ee+Se-xe;if(ce&&Oe)A[de]=He;else if(!ce&&Ce)A[de]=Pe;else if(Ce)A[de]=Math.min(ye-ge,Pe-U<0?Pe:Pe-U);else{if(!Oe)return!1;A[de]=Math.max(ve,He+U+me>fe?He:He+U)}},te=function(de,fe,me,ge,Ee){if(Ee<f||Ee>fe-f)return!1;Ee<me/2?A[de]=1:Ee>fe-ge/2?A[de]=fe-ge-2:A[de]=Ee-me/2}
130,ne=function(de){[ee,se]=[se,ee],ae=de},oe=()=>{ie.apply(0,ee)!==!1?te.apply(0,se)!==!1||ae||(ne(!0),oe()):ae?A.x=A.y=0:(ne(!0),oe())};return(M&&!X||this.len>1)&&ne(),oe(),A}hide(d){let h=this;$.clearTimeout(this.hideTimer),d=g(d,this.options.hideDelay),this.isHidden||(this.hideTimer=a(function(){let m=h.getLabel();h.getLabel().animate({opacity:0},{duration:d&&150,complete:()=>{m.hide(),h.container&&h.container.remove()}}),h.isHidden=!0},d))}init(d,h){this.chart=d,this.options=h,this.crosshairs=[],this.isHidden=!0,this.split=h.split&&!d.inverted&&!d.polar,this.shared=h.shared||this.split,this.outside=g(h.outside,!!(d.scrollablePixelsX||d.scrollablePixelsY))}shouldStickOnContact(d){return!!(!this.followPointer&&this.options.stickOnContact&&(!d||this.pointer.inClass(d.target,"highcharts-tooltip")))}move(d,h,m,f){let y=this,I=G(!y.isHidden&&y.options.animation),E=y.followPointer||(y.len||0)>1,M={x:d,y:h};E||(M.anchorX=m,M.anchorY=f),I.step=()=>y.drawTracker(),y.getLabel().animate(M,I)}refresh(d,h){let{chart:m,options:f,pointer:y,shared:I}=this,E=p(d),M=E[0],D=[],F=f.format,X=f.formatter||this.defaultFormatter,_=m.styledMode,w={},A=this.allowShared;if(!f.enabled||!M.series)return;$.clearTimeout(this.hideTimer),this.allowShared=!(!x(d)&&d.series&&d.series.noSharedTooltip),A=A&&!this.allowShared,this.followPointer=!this.split&&M.series.tooltipOptions.followPointer;let U=this.getAnchor(d,h),b=U[0],k=U[1];I&&this.allowShared?(y.applyInactiveState(E),E.forEach(function(W){W.setState("hover"),D.push(W.getLabelConfig())}),(w=M.getLabelConfig()).points=D):w=M.getLabelConfig(),this.len=D.length;let O=P(F)?q(F,w,m):X.call(w,this),z=M.series;if(this.distance=g(z.tooltipOptions.distance,16),O===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(O,E);else{let W=b,Q=k;if(h&&y.isDirectTouch&&(W=h.chartX-m.plotLeft,Q=h.chartY-m.plotTop),m.polar||z.options.clip===!1||E.some(ee=>y.isDirectTouch||ee.series.shouldShowTooltip(W,Q))){let ee=this.getLabel(A&&this.tt||{});(!f.style.width||_)&&ee.css({width:(this.outside?this.getPlayingField():m.spacingBox).width+"px"}),ee.attr({class:this.getClassName(M),text:O&&O.join?O.join(""):O}),this.outside&&ee.attr({x:T(ee.x||0,0,this.getPlayingField().width-(ee.width||0))}),_||ee.attr({stroke:f.borderColor||M.color||z.color||"#666666"}),this.updatePosition({plotX:b,plotY:k,negative:M.negative,ttBelow:M.ttBelow,h:U[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}c(this,"refresh")}renderSplit(d,h){var fe;let m=this,{chart:f,chart:{chartWidth:y,chartHeight:I,plotHeight:E,plotLeft:M,plotTop:D,scrollablePixelsY:F=0,scrollablePixelsX:X,styledMode:_},distance:w,options:A,options:{positioner:U},pointer:b}=m,{scrollLeft:k=0,scrollTop:O=0}=((fe=f.scrollablePlotArea)==null?void 0:fe.scrollingContainer)||{},z=m.outside&&typeof X!="number"?R.documentElement.getBoundingClientRect():{left:k,right:k+y,top:O,bottom:O+I},W=m.getLabel(),Q=this.renderer||f.renderer,ee=!!(f.xAxis[0]&&f.xAxis[0].opposite),{left:se,top:ae}=b.getChartPosition(),he=D+O,ce=0,ie=E-F;function te(me,ge,Ee,ve,ye=!0){let Se,xe;return Ee?(Se=ee?0:ie,xe=T(me-ve/2,z.left,z.right-ve-(m.outside?se:0))):(Se=ge-he,xe=T(xe=ye?me-ve-w:me+w,ye?xe:z.left,z.right)),{x:xe,y:Se}}P(d)&&(d=[!1,d]);let ne=d.slice(0,h.length+1).reduce(function(me,ge,Ee){if(ge!==!1&&ge!==""){let ve=h[Ee-1]||{isHeader:!0,plotX:h[0].plotX,plotY:E,series:{}},ye=ve.isHeader,Se=ye?m:ve.series,xe=Se.tt=function(Je,Xe,dt){let ct=Je,{isHeader:vt,series:Gt}=Xe;if(!ct){let Ft={padding:A.padding,r:A.borderRadius};_||(Ft.fill=A.backgroundColor,Ft["stroke-width"]=A.borderWidth??1),ct=Q.label("",0,0,A[vt?"headerShape":"shape"],void 0,void 0,A.useHTML).addClass(m.getClassName(Xe,!0,vt)).attr(Ft).add(W)}return ct.isActive=!0,ct.attr({text:dt}),_||ct.css(A.style).attr({stroke:A.borderColor||Xe.color||Gt.color||"#333333"}),ct}(Se.tt,ve,ge.toString()),Ce=xe.getBBox(),Oe=Ce.width+xe.strokeWidth();ye&&(ce=Ce.height,ie+=ce,ee&&(he-=ce));let{anchorX:Pe,anchorY:He}=function(Je){let Xe,dt,{isHeader:ct,plotX:vt=0,plotY:Gt=0,series:Ft}=Je;if(ct)Xe=Math.max(M+vt,M),dt=D+E/2;else{let{xAxis:Ii,yAxis:mt}=Ft;Xe=Ii.pos+T(vt,-w,Ii.len+w),Ft.shouldShowTooltip(0,mt.pos-D+Gt,{ignoreX:!0})&&(dt=mt.pos+Gt)}return{anchorX:Xe=T(Xe,z.left-w,z.right+w),anchorY:dt}}(ve);if(typeof He=="number"){let Je=Ce.height+1,Xe=U?U.call(m,Oe,Je,ve):te(Pe,He,ye,Oe);me.push({align:U?0:void 0,anchorX:Pe,anchorY:He,boxWidth:Oe,point:ve,rank:g(Xe.rank,ye?1:0),size:Je,target:Xe.y,tt:xe,x:Xe.x})}else xe.isActive=!1}return me},[]);!U&&ne.some(me=>{let{outside:ge}=m,Ee=(ge?se:0)+me.anchorX;return Ee<z.left&&Ee+me.boxWidth<z.right||Ee<se-z.left+me.boxWidth&&z.right-Ee>Ee})&&(ne=ne.map(me=>{let{x:ge,y:Ee}=te(me.anchorX,me.anchorY,me.point.isHeader,me.boxWidth,!1);return s(me,{target:Ee,x:ge})})),m.cleanSplit(),V(ne,ie);let oe={left:se,right:se};ne.forEach(function(me){let{x:ge,boxWidth:Ee,isHeader:ve}=me;!ve&&(m.outside&&se+ge<oe.left&&(oe.left=se+ge),!ve&&m.outside&&oe.left+Ee>oe.right&&(oe.right=se+ge))}),ne.forEach(function(me){let{x:ge,anchorX:Ee,anchorY:ve,pos:ye,point:{isHeader:Se}}
vendor: 1,763 bytes, line 130
130=me,xe={visibility:ye===void 0?"hidden":"inherit",x:ge,y:(ye||0)+he,anchorX:Ee,anchorY:ve};if(m.outside&&ge<Ee){let Ce=se-oe.left;Ce>0&&(Se||(xe.x=ge+Ce,xe.anchorX=Ee+Ce),Se&&(xe.x=(oe.right-oe.left)/2,xe.anchorX=Ee+Ce))}me.tt.attr(xe)});let{container:le,outside:ue,renderer:de}=m;if(ue&&le&&de){let{width:me,height:ge,x:Ee,y:ve}=W.getBBox();de.setSize(me+Ee,ge+ve,!1),le.style.left=oe.left+"px",le.style.top=ae+"px"}Y&&W.attr({opacity:W.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let d=this.chart,h=this.label,m=this.shared?d.hoverPoints:d.hoverPoint;if(!h||!m)return;let f={x:0,y:0,width:0,height:0},y=this.getAnchor(m),I=h.getBBox();y[0]+=d.plotLeft-(h.translateX||0),y[1]+=d.plotTop-(h.translateY||0),f.x=Math.min(0,y[0]),f.y=Math.min(0,y[1]),f.width=y[0]<0?Math.max(Math.abs(y[0]),I.width-y[0]):Math.max(Math.abs(y[0]),I.width),f.height=y[1]<0?Math.max(Math.abs(y[1]),I.height-Math.abs(y[1])):Math.max(Math.abs(y[1]),I.height),this.tracker?this.tracker.attr(f):(this.tracker=h.renderer.rect(f).addClass("highcharts-tracker").add(h),d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(d){return d.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(d,h){let m=d.series,f=m.tooltipOptions,y=m.xAxis,I=y&&y.dateTime,E={isFooter:h,labelConfig:d},M=f.xDateFormat,D=f[h?"footerFormat":"headerFormat"];return c(this,"headerFormatter",E,function(F){I&&!M&&N(d.key)&&(M=I.getXDateFormat(d.key,f.dateTimeLabelFormats)),I&&M&&(d.point&&d.point.tooltipDateKeys||["key"]).forEac
130h(function(X){D=D.replace("{point."+X+"}","{point."+X+":"+M+"}")}),m.chart.styledMode&&(D=this.styledModeFormat(D)),F.text=q(D,{point:d,series:m},this.chart)}),E.text}update(d){this.destroy(),this.init(this.chart,S(!0,this.options,d))}updatePosition(d){let{chart:h,container:m,distance:f,options:y,pointer:I,renderer:E}=this,{height:M=0,width:D=0}=this.getLabel(),{left:F,top:X,scaleX:_,scaleY:w}=I.getChartPosition(),A=(y.positioner||this.getPosition).call(this,D,M,d),U=(d.plotX||0)+h.plotLeft,b=(d.plotY||0)+h.plotTop,k;E&&m&&(y.positioner&&(A.x+=F-f,A.y+=X-f),k=(y.borderWidth||0)+2*f+2,E.setSize(D+k,M+k,!1),(_!==1||w!==1)&&(L(m,{transform:`scale(${_}, ${w})`}),U*=_,b*=w),U+=F-A.x,b+=X-A.y),this.move(Math.round(A.x),Math.round(A.y||0),U,b)}}return(K=o||(o={})).compose=function(u){v(Z,"Core.Tooltip")&&H(u,"afterInit",function(){let d=this.chart;d.options.tooltip&&(d.tooltip=new K(d,d.options.tooltip,this))})},o}),r(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{animObject:$}=n,{defaultOptions:K}=l,{format:G}=C,{addEvent:q,crisp:Z,erase:R,extend:Y,fireEvent:V,getNestedProperty:H,isArray:T,isFunction:L,isNumber:j,isObject:s,merge:c,pick:x,syncTimeout:N,removeEvent:P,uniqueKey:S}=B;class g{animateBeforeDestroy(){let p=this,a={x:p.startXPos,opacity:0},o=p.getGraphicalProps();o.singular.forEach(function(u){p[u]=p[u].animate(u==="dataLabel"?{x:p[u].startXPos,y:p[u].startYPos,opacity:0}:a)}),o.plural.forEach(function(u){p[u].forEach(function(d){d.element&&d.animate(Y({x:p.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})}applyOptions(p,a){let o=this.series,u=o.options.pointValKey||o.pointValKey;return Y(this,p=g.prototype.optionsToObject.call(this,p)),this.options=this.options?Y(this.options,p):p,p.group&&delete this.group,p.dataLabels&&delete this.dataLabels,u&&(this.y=g.prototype.getNestedProperty.call(this,u)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),this.x===void 0&&o?this.x=a??o.autoIncrement():j(p.x)&&o.options.relativeXValue&&(this.x=o.autoIncrement(p.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let p=this,a=p.series,o=a.chart,u=a.options.dataSorting,d=o.hoverPoints,h=$(p.series.chart.renderer.globalAnimation),m=()=>{for(let f in(p.graphic||p.graphics||p.dataLabel||p.dataLabels)&&(P(p),p.destroyElements()),p)delete p[f]};p.legendItem&&o.legend.destroyItem(p),d&&(p.setState(),R(d,p),d.length||(o.hoverPoints=null)),p===o.hoverPoint&&p.onMouseOut(),u&&u.enabled?(this.animateBeforeDestroy(),N(m,h.duration)):m(),o.pointCount--}this.destroyed=!0}destroyElements(p){let a=this,o=a.getGraphicalProps(p);o.singular.forEach(function(u){a[u]=a[u].destroy()}),o.plural.forEach(function(u){a[u].forEach(function(d){d&&d.element&&d.destroy()}),delete a[u]})}firePointEvent(p,a,o){let u=this,d=this.series.options;u.manageEvent(p),p==="click"&&d.allowPointSelect&&(o=function(h){!u.destroyed&&u.select&&u.select(null,h.ctrlKey||h.metaKey||h.shiftKey)}),V(u,p,a,o)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(p){let a,o,u=this,d=[],h={singular:[],plural:[]};for((p=p||{graphic:1,dataLabel:1}).graphic&&d.push("graphic","connector"),p.dataLabel&&d.push("dataLabel","dataLabelPath","dataLabelUpper"),o=d.length;o--;)u[a=d[o]]&&h.singular.push(a);return["graphic","dataLabel"].forEach(function(m){let f=m+"s";p[m]&&u[f]&&h.plural.push(f)}),h}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(p){return p?p.indexOf("custom.")===0?H(p,this.options):this[p]:void 0}getZone(){let p=this.series,a=p.zones,o=p.zoneAxis||"y",u,d=0;for(u=a[0];this[o]>=u.value;)u=a[++d];return this.nonZonedColor||(this.nonZonedColor=this.color),u&&u.color&&!this.options.color?this.color=u.color:this.color=this.nonZonedColor,u}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(p,a,o){this.formatPrefix="point",this.visible=!0,this.series=p,this.applyOptions(a,o),this.id??(this.id=S()),this.resolveColor(),p.chart.pointCount++,V(this,"afterInit")}isValid(){return(j(this.x)||this.x instanceof Date)&&j(this.y)}optionsToObject(p){let a=this.series,o=a.options.keys,u=o||a.pointArrayMap||["y"],d=u.length,h={},m,f=0,y=0;if(j(p)||p===null)h[u[0]]=p;else if(T(p))for(!o&&p.length>d&&((m=typeof p[0])=="string"?h.name=p[0]:m==="number"&&(h.x=p[0]),f++);y<d;)o&&p[f]===void 0||(u[y].indexOf(".")>0?g.prototype.setNestedProperty(h,p[f],u[y]):h[u[y]]=p[f]),f++,y++;else typeof p=="object"&&(h=p,p.dataLabels&&(a.hasDataLabels=()=>!0),p.marker&&(a._hasPointMarkers=!0));return h}pos(p,a=this.plotY){if(!this.destroyed){let{plotX:o,series:u}=this,{chart:d,xAxis:h,yAxis:m}=u,f=0,y=0;if(j(o)&&j(a))return p&&(f=h?h.pos:d.plotLeft,y=m?m.pos:d.plotTop),d.inverted&&h&&m?[m.len-a+y,h.len-o+f]:[o+f,a+y]}}resolveColor(){let p=this.series,a=p.chart.options.chart,o=p.chart.styledMode,u,d,h=a.colorCount,m;delete this.nonZonedColor,p.options.colorByPoint?(o||(u=(d=p.options.colors||p.chart.options.colors)[p.colorCounter],h=d.length),m=p.colorCounter,p.colorCounter++,p.colorCounter===h&&(p.colorCounter=0)):(o||(u=p.color),m=p.colorIndex),this.colorIndex=x(this.options.colorIndex,m),this.color=x(this.options.color,u)}setNestedProperty(p,a,o){return o.split(".").reduce(function(u,d,h,m){let f=m.length-1===h;return u[d]=f?a:s(u[d],!0)?u[d]:{},u[d]},p),p}shouldDraw(){return!this.isNull}tooltipFormatter(p){let a=this.series,o=a.tooltipOptions,u=x(o.valueDecimals,""),d=o.valuePrefix||"",h=o.valueSuffix||"";return a.chart.styledMode&&(p=a.chart.tooltip.styledModeFormat(p)),(a.pointArrayMap||["y"]).forEac
vendor: 1,189 bytes, line 130
130h(function(m){m="{point."+m,(d||h)&&(p=p.replace(RegExp(m+"}","g"),d+m+"}"+h)),p=p.replace(RegExp(m+"}","g"),m+":,."+u+"f}")}),G(p,{point:this,series:this.series},a.chart)}update(p,a,o,u){let d,h=this,m=h.series,f=h.graphic,y=m.chart,I=m.options;function E(){h.applyOptions(p);let M=f&&h.hasMockGraphic,D=h.y===null?!M:M;f&&D&&(h.graphic=f.destroy(),delete h.hasMockGraphic),s(p,!0)&&(f&&f.element&&p&&p.marker&&p.marker.symbol!==void 0&&(h.graphic=f.destroy()),p!=null&&p.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy())),d=h.index,m.updateParallelArrays(h,d),I.data[d]=s(I.data[d],!0)||s(p,!0)?h.options:x(p,I.data[d]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(y.isDirtyBox=!0),I.legendType==="point"&&(y.isDirtyLegend=!0),a&&y.redraw(o)}a=x(a,!0),u===!1?E():h.firePointEvent("update",{options:p},E)}remove(p,a){this.series.removePoint(this.series.data.indexOf(this),p,a)}select(p,a){let o=this,u=o.series,d=u.chart;p=x(p,!o.selected),this.selectedStaging=p,o.firePointEvent(p?"select":"unselect",{accumulate:a},function(){o.selected=o.options.selected=p,u.options.data[u.data.indexOf(o)]=o.options,o.setState(p&&"select"),a||d.getSelectedPoints().forEac
130h(function(h){let m=h.series;h.selected&&h!==o&&(h.selected=h.options.selected=!1,m.options.data[m.data.indexOf(h)]=h.options,h.setState(d.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),h.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(p){let{inverted:a,pointer:o}=this.series.chart;o&&(p=p?o.normalize(p):o.getChartCoordinatesFromPoint(this,a),o.runPointActions(p,this))}onMouseOut(){let p=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(p.hoverPoints||[]).forEach(function(a){a.setState()}),p.hoverPoints=p.hoverPoint=null}manageEvent(p){var u,d,h,m,f,y;let a=c(this.series.options.point,this.options),o=(u=a.events)==null?void 0:u[p];L(o)&&(!((d=this.hcEvents)!=null&&d[p])||((m=(h=this.hcEvents)==null?void 0:h[p])==null?void 0:m.map(I=>I.fn).indexOf(o))===-1)?((f=this.importedUserEvent)==null||f.call(this),this.importedUserEvent=q(this,p,o)):this.importedUserEvent&&!o&&((y=this.hcEvents)!=null&&y[p])&&(P(this,p),delete this.hcEvents[p],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(p,a){var O;let o=this.series,u=this.state,d=o.options.states[p||"normal"]||{},h=K.plotOptions[o.type].marker&&o.options.marker,m=h&&h.enabled===!1,f=h&&h.states&&h.states[p||"normal"]||{},y=f.enabled===!1,I=this.marker||{},E=o.chart,M=h&&o.markerAttribs,D=o.halo,F,X,_,w=o.stateMarkerGraphic,A;if((p=p||"")===this.state&&!a||this.selected&&p!=="select"||d.enabled===!1||p&&(y||m&&f.enabled===!1)||p&&I.states&&I.states[p]&&I.states[p].enabled===!1)return;if(this.state=p,M&&(F=o.markerAttribs(this,p)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),p&&this.graphic.addClass("highcharts-point-"+p),!E.styledMode){X=o.pointAttribs(this,p),_=x(E.options.chart.animation,d.animation);let z=X.opacity;o.options.inactiveOtherPoints&&j(z)&&(this.dataLabels||[]).forEach(function(W){W&&!W.hasClass("highcharts-data-label-hidden")&&(W.animate({opacity:z},_),W.connector&&W.connector.animate({opacity:z},_))}),this.graphic.animate(X,_)}F&&this.graphic.animate(F,x(E.options.chart.animation,f.animation,h.animation)),w&&w.hide()}else p&&f&&(A=I.symbol||o.symbol,w&&w.currentSymbol!==A&&(w=w.destroy()),F&&(w?w[a?"animate":"attr"]({x:F.x,y:F.y}):A&&(o.stateMarkerGraphic=w=E.renderer.symbol(A,F.x,F.y,F.width,F.height).add(o.markerGroup),w.currentSymbol=A)),!E.styledMode&&w&&this.state!=="inactive"&&w.attr(o.pointAttribs(this,p))),w&&(w[p&&this.isInside?"show":"hide"](),w.element.point=this,w.addClass(this.getClassName(),!0));let U=d.halo,b=this.graphic||w,k=b&&b.visibility||"inherit";U&&U.size&&b&&k!=="hidden"&&!this.isCluster?(D||(o.halo=D=E.renderer.path().add(b.parentGroup)),D.show()[a?"animate":"attr"]({d:this.haloPath(U.size)}),D.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:k,zIndex:-1}),D.point=this,E.styledMode||D.attr(Y({fill:this.color||o.color,"fill-opacity":U.opacity},t.filterUserAttributes(U.attributes||{})))):(O=D==null?void 0:D.point)!=null&&O.haloPath&&!D.point.destroyed&&D.animate({d:D.point.haloPath(0)},null,D.hide),V(this,"afterSetState",{state:p})}haloPath(p){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(Z(a[0],1)-p,a[1]-p,2*p,2*p):[]}}return g}),r(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{parse:B}=t,{charts:$,composed:K,isTouchDevice:G}=n,{addEvent:q,attr:Z,css:R,extend:Y,find:V,fireEvent:H,isNumber:T,isObject:L,objectEach:j,offset:s,pick:c,pushUnique:x,splat:N}=l;class P{applyInactiveState(g){let v=[],p;(g||[]).forEach(function(a){p=a.series,v.push(p),p.linkedParent&&v.push(p.linkedParent),p.linkedSeries&&(v=v.concat(p.linkedSeries)),p.navigatorSeries&&v.push(p.navigatorSeries)}),this.chart.series.forEach(function(a){v.indexOf(a)===-1?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})}destroy(){let g=this;this.eventsToUnbind.forEach(v=>v()),this.eventsToUnbind=[],!n.chartCount&&(P.unbindDocumentMouseUp&&P.unbindDocumentMouseUp.forEac
vendor: 4,590 bytes, line 130
130h(v=>v()),P.unbindDocumentTouchEnd&&(P.unbindDocumentTouchEnd=P.unbindDocumentTouchEnd())),clearInterval(g.tooltipTimeout),j(g,function(v,p){g[p]=void 0})}getSelectionMarkerAttrs(g,v){let p={args:{chartX:g,chartY:v},attrs:{},shapeType:"rect"};return H(this,"getSelectionMarkerAttrs",p,a=>{let o,{chart:u,zoomHor:d,zoomVert:h}=this,{mouseDownX:m=0,mouseDownY:f=0}=u,y=a.attrs;y.x=u.plotLeft,y.y=u.plotTop,y.width=d?1:u.plotWidth,y.height=h?1:u.plotHeight,d&&(o=g-m,y.width=Math.max(1,Math.abs(o)),y.x=(o>0?0:o)+m),h&&(o=v-f,y.height=Math.max(1,Math.abs(o)),y.y=(o>0?0:o)+f)}),p}drag(g){let{chart:v}=this,{mouseDownX:p=0,mouseDownY:a=0}=v,{panning:o,panKey:u,selectionMarkerFill:d}=v.options.chart,h=v.plotLeft,m=v.plotTop,f=v.plotWidth,y=v.plotHeight,I=L(o)?o.enabled:o,E=u&&g[`${u}Key`],M=g.chartX,D=g.chartY,F,X=this.selectionMarker;if((!X||!X.touch)&&(M<h?M=h:M>h+f&&(M=h+f),D<m?D=m:D>m+y&&(D=m+y),this.hasDragged=Math.sqrt(Math.pow(p-M,2)+Math.pow(a-D,2)),this.hasDragged>10)){F=v.isInsidePlot(p-h,a-m,{visiblePlotOnly:!0});let{shapeType:_,attrs:w}=this.getSelectionMarkerAttrs(M,D);(v.hasCartesianSeries||v.mapView)&&this.hasZoom&&F&&!E&&!X&&(this.selectionMarker=X=v.renderer[_](),X.attr({class:"highcharts-selection-marker",zIndex:7}).add(),v.styledMode||X.attr({fill:d||B("#334eff").setOpacity(.25).get()})),X&&X.attr(w),F&&!X&&I&&v.pan(g,o)}}dragStart(g){let v=this.chart;v.mouseIsDown=g.type,v.cancelClick=!1,v.mouseDownX=g.chartX,v.mouseDownY=g.chartY}getSelectionBox(g){let v={args:{marker:g},result:g.getBBox()};return H(this,"getSelectionBox",v),v.result}drop(g){let v,{chart:p,selectionMarker:a}=this;for(let o of p.axes)o.isPanning&&(o.isPanning=!1,(o.options.startOnTick||o.options.endOnTick||o.series.some(u=>u.boosted))&&(o.forceRedraw=!0,o.setExtremes(o.userMin,o.userMax,!1),v=!0));if(v&&p.redraw(),a&&g){if(this.hasDragged){let o=this.getSelectionBox(a);p.transform({axes:p.axes.filter(u=>u.zoomEnabled&&(u.coll==="xAxis"&&this.zoomX||u.coll==="yAxis"&&this.zoomY)),selection:ze({originalEvent:g,xAxis:[],yAxis:[]},o),from:o})}T(p.index)&&(this.selectionMarker=a.destroy())}p&&T(p.index)&&(R(p.container,{cursor:p._cursor}),p.cancelClick=this.hasDragged>10,p.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(g,v,p){let a;return g.forEach(function(o){let u=!(o.noSharedTooltip&&v)&&0>o.options.findNearestPointBy.indexOf("y"),d=o.searchPoint(p,u);L(d,!0)&&d.series&&(!L(a,!0)||function(h,m){var E,M;let f=h.distX-m.distX,y=h.dist-m.dist,I=((E=m.series.group)==null?void 0:E.zIndex)-((M=h.series.group)==null?void 0:M.zIndex);return f!==0&&v?f:y!==0?y:I!==0?I:h.series.index>m.series.index?-1:1}(a,d)>0)&&(a=d)}),a}getChartCoordinatesFromPoint(g,v){let{xAxis:p,yAxis:a}=g.series,o=g.shapeArgs;if(p&&a){let u=g.clientX??g.plotX??0,d=g.plotY||0;return g.isNode&&o&&T(o.x)&&T(o.y)&&(u=o.x,d=o.y),v?{chartX:a.len+a.pos-d,chartY:p.len+p.pos-u}:{chartX:u+p.pos,chartY:d+a.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:g}=this.chart,v=s(g);this.chartPosition={left:v.left,top:v.top,scaleX:1,scaleY:1};let{offsetHeight:p,offsetWidth:a}=g;return a>2&&p>2&&(this.chartPosition.scaleX=v.width/a,this.chartPosition.scaleY=v.height/p),this.chartPosition}getCoordinates(g){let v={xAxis:[],yAxis:[]};for(let p of this.chart.axes)v[p.isXAxis?"xAxis":"yAxis"].push({axis:p,value:p.toValue(g[p.horiz?"chartX":"chartY"])});return v}getHoverData(g,v,p,a,o,u){let d=[],h=function(E){return E.visible&&!(!o&&E.directTouch)&&c(E.options.enableMouseTracking,!0)},m=v,f,y={chartX:u?u.chartX:void 0,chartY:u?u.chartY:void 0,shared:o};H(this,"beforeGetHoverData",y),f=m&&!m.stickyTracking?[m]:p.filter(E=>E.stickyTracking&&(y.filter||h)(E));let I=a&&g||!u?g:this.findNearestKDPoint(f,o,u);return m=I&&I.series,I&&(o&&!m.noSharedTooltip?(f=p.filter(function(E){return y.filter?y.filter(E):h(E)&&!E.noSharedTooltip})).forEach(function(E){let M=V(E.points,function(D){return D.x===I.x&&!D.isNull});L(M)&&(E.boosted&&E.boost&&(M=E.boost.getPoint(M)),d.push(M))}):d.push(I)),H(this,"afterGetHoverData",y={hoverPoint:I}),{hoverPoint:y.hoverPoint,hoverSeries:m,hoverPoints:d}}getPointFromEvent(g){let v=g.target,p;for(;v&&!p;)p=v.point,v=v.parentNode;return p}onTrackerMouseOut(g){let v=this.chart,p=g.relatedTarget,a=v.hoverSeries;this.isDirectTouch=!1,!a||!p||a.stickyTracking||this.inClass(p,"highcharts-tooltip")||this.inClass(p,"highcharts-series-"+a.index)&&this.inClass(p,"highcharts-tracker")||a.onMouseOut()}inClass(g,v){let p=g,a;for(;p;){if(a=Z(p,"class")){if(a.indexOf(v)!==-1)return!0;
130if(a.indexOf("highcharts-container")!==-1)return!1}p=p.parentElement}}constructor(g,v){var p;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=v,this.chart=g,this.runChartClick=!!((p=v.chart.events)!=null&&p.click),this.pinchDown=[],this.setDOMEvents(),H(this,"afterInit")}normalize(g,v){let p=g.touches,a=p?p.length?p.item(0):c(p.changedTouches,g.changedTouches)[0]:g;v||(v=this.getChartPosition());let o=a.pageX-v.left,u=a.pageY-v.top;return Y(g,{chartX:Math.round(o/=v.scaleX),chartY:Math.round(u/=v.scaleY)})}onContainerClick(g){let v=this.chart,p=v.hoverPoint,a=this.normalize(g),o=v.plotLeft,u=v.plotTop;!v.cancelClick&&(p&&this.inClass(a.target,"highcharts-tracker")?(H(p.series,"click",Y(a,{point:p})),v.hoverPoint&&p.firePointEvent("click",a)):(Y(a,this.getCoordinates(a)),v.isInsidePlot(a.chartX-o,a.chartY-u,{visiblePlotOnly:!0})&&H(v,"click",a)))}onContainerMouseDown(g){var p;let v=(1&(g.buttons||g.button))==1;g=this.normalize(g),n.isFirefox&&g.button!==0&&this.onContainerMouseMove(g),(g.button===void 0||v)&&(this.zoomOption(g),v&&((p=g.preventDefault)==null||p.call(g)),this.dragStart(g))}onContainerMouseLeave(g){let{pointer:v}=$[c(P.hoverChartIndex,-1)]||{};g=this.normalize(g),this.onContainerMouseMove(g),v&&!this.inClass(g.relatedTarget,"highcharts-tooltip")&&(v.reset(),v.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(g){let v=this.chart,p=v.tooltip,a=this.normalize(g);this.setHoverChartIndex(g),(v.mouseIsDown==="mousedown"||this.touchSelect(a))&&this.drag(a),!v.openMenu&&(this.inClass(a.target,"highcharts-tracker")||v.isInsidePlot(a.chartX-v.plotLeft,a.chartY-v.plotTop,{visiblePlotOnly:!0}))&&!(p&&p.shouldStickOnContact(a))&&(this.inClass(a.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(a))}onDocumentTouchEnd(g){this.onDocumentMouseUp(g)}onContainerTouchMove(g){this.touchSelect(g)?this.onContainerMouseMove(g):this.touch(g)}onContainerTouchStart(g){this.touchSelect(g)?this.onContainerMouseDown(g):(this.zoomOption(g),this.touch(g,!0))}onDocumentMouseMove(g){let v=this.chart,p=v.tooltip,a=this.chartPosition,o=this.normalize(g,a);!a||v.isInsidePlot(o.chartX-v.plotLeft,o.chartY-v.plotTop,{visiblePlotOnly:!0})||p&&p.shouldStickOnContact(o)||o.target!==v.container.ownerDocument&&this.inClass(o.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(g){var v,p;(p=(v=$[c(P.hoverChartIndex,-1)])==null?void 0:v.pointer)==null||p.drop(g)}pinch(g){let v=this,{chart:p,hasZoom:a,lastTouches:o}=v,u=[].map.call(g.touches||[],y=>v.normalize(y)),d=u.length,h=d===1&&(v.inClass(g.target,"highcharts-tracker")&&p.runTrackerClick||v.runChartClick),m=p.tooltip,f=d===1&&c(m==null?void 0:m.options.followTouchMove,!0);d>1?v.initiated=!0:f&&(v.initiated=!1),a&&v.initiated&&!h&&g.cancelable!==!1&&g.preventDefault(),g.type==="touchstart"?(v.pinchDown=u,v.res=!0,p.mouseDownX=g.chartX):f?this.runPointActions(v.normalize(g)):o&&(H(p,"touchpan",{originalEvent:g,touches:u},()=>{let y=I=>{let E=I[0],M=I[1]||E;return{x:E.chartX,y:E.chartY,width:M.chartX-E.chartX,height:M.chartY-E.chartY}};p.transform({axes:p.axes.filter(I=>I.zoomEnabled&&(this.zoomHor&&I.horiz||this.zoomVert&&!I.horiz)),to:y(u),from:y(o),trigger:g.type})}),v.res&&(v.res=!1,this.reset(!1,0))),v.lastTouches=u}reset(g,v){let p=this.chart,a=p.hoverSeries,o=p.hoverPoint,u=p.hoverPoints,d=p.tooltip,h=d&&d.shared?u:o;g&&h&&N(h).forEach(function(m){m.series.isCartesian&&m.plotX===void 0&&(g=!1)}),g?d&&h&&N(h).length&&(d.refresh(h),d.shared&&u?u.forEach(function(m){m.setState(m.state,!0),m.series.isCartesian&&(m.series.xAxis.crosshair&&m.series.xAxis.drawCrosshair(null,m),m.series.yAxis.crosshair&&m.series.yAxis.drawCrosshair(null,m))}):o&&(o.setState(o.state,!0),p.axes.forEach(function(m){m.crosshair&&o.series[m.coll]===m&&m.drawCrosshair(null,o)}))):(o&&o.onMouseOut(),u&&u.forEach(function(m){m.setState()}),a&&a.onMouseOut(),d&&d.hide(v),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),p.axes.forEach(function(m){m.hideCrosshair()}),p.hoverPoints=p.hoverPoint=void 0)}runPointActions(g,v,p){let a=this.chart,o=a.series,u=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,d=!!u&&u.shared,h=v||a.hoverPoint,m=h&&h.series||a.hoverSeries,f=(!g||g.type!=="touchmove")&&(!!v||m&&m.directTouch&&this.isDirectTouch),y=this.getHoverData(h,m,o,f,d,g);h=y.hoverPoint,m=y.hoverSeries;let I=y.hoverPoints,E=m&&m.tooltipOptions.followPointer&&!m.tooltipOptions.split,M=d&&m&&!m.noSharedTooltip;if(h&&(p||h!==a.hoverPoint||u&&u.isHidden)){if((a.hoverPoints||[]).forEac
130h(function(D){I.indexOf(D)===-1&&D.setState()}),a.hoverSeries!==m&&m.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(D){D.setState("hover")}),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!h.series)return;a.hoverPoints=I,a.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{u&&h&&u.refresh(M?I:h,g)})}else if(E&&u&&!u.isHidden){let D=u.getAnchor([{}],g);a.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&u.updatePosition({plotX:D[0],plotY:D[1]})}this.unDocMouseMove||(this.unDocMouseMove=q(a.container.ownerDocument,"mousemove",D=>{var F,X;return(X=(F=$[P.hoverChartIndex??-1])==null?void 0:F.pointer)==null?void 0:X.onDocumentMouseMove(D)}),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach(function(D){let F,X=c((D.crosshair||{}).snap,!0);!X||(F=a.hoverPoint)&&F.series[D.coll]===D||(F=V(I,_=>_.series&&_.series[D.coll]===D)),F||!X?D.drawCrosshair(g,F):D.hideCrosshair()})}setDOMEvents(){let g=this.chart.container,v=g.ownerDocument;g.onmousedown=this.onContainerMouseDown.bind(this),g.onmousemove=this.onContainerMouseMove.bind(this),g.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(q(g,"mouseenter",this.onContainerMouseEnter.bind(this)),q(g,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=[]),P.unbindDocumentMouseUp.push(q(v,"mouseup",this.onDocumentMouseUp.bind(this)));let p=this.chart.renderTo.parentElement;for(;p&&p.tagName!=="BODY";)this.eventsToUnbind.push(q(p,"scroll",()=>{delete this.chartPosition})),p=p.parentElement;this.eventsToUnbind.push(q(g,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),q(g,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=q(v,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),q(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var o,u;if(!G)return;let g=this.pointerCaptureEventsToUnbind,v=this.chart,p=v.container,a=c((o=v.options.tooltip)==null?void 0:o.followTouchMove,!0)&&v.series.some(d=>d.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&a?(g.push(q(p,"pointerdown",d=>{var h,m;(h=d.target)!=null&&h.hasPointerCapture(d.pointerId)&&((m=d.target)==null||m.releasePointerCapture(d.pointerId))}),q(p,"pointermove",d=>{var h,m;(m=(h=v.pointer)==null?void 0:h.getPointFromEvent(d))==null||m.onMouseOver(d)})),v.styledMode||R(p,{"touch-action":"none"}),p.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!a&&(g.forEach(d=>d()),g.length=0,v.styledMode||R(p,{"touch-action":c((u=v.options.chart.style)==null?void 0:u["touch-action"],"manipulation")}),p.className=p.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(g){var a;let v=this.chart,p=n.charts[c(P.hoverChartIndex,-1)];if(p&&p!==v){let o={relatedTarget:v.container};g&&!(g!=null&&g.relatedTarget)&&(g=ze(ze({},o),g)),(a=p.pointer)==null||a.onContainerMouseLeave(g||o)}p&&p.mouseIsDown||(P.hoverChartIndex=v.index)}touch(g,v){let p,{chart:a,pinchDown:o=[]}=this;this.setHoverChartIndex(),(g=this.normalize(g)).touches.length===1?a.isInsidePlot(g.chartX-a.plotLeft,g.chartY-a.plotTop,{visiblePlotOnly:!0})&&!a.openMenu?(v&&this.runPointActions(g),g.type==="touchmove"&&(p=!!o[0]&&Math.pow(o[0].chartX-g.chartX,2)+Math.pow(o[0].chartY-g.chartY,2)>=16),c(p,!0)&&this.pinch(g)):v&&this.reset():g.touches.length===2&&this.pinch(g)}touchSelect(g){return!!(this.chart.zooming.singleTouch&&g.touches&&g.touches.length===1)}zoomOption(g){let v=this.chart,p=v.inverted,a=v.zooming.type||"",o,u;/touch/.test(g.type)&&(a=c(v.zooming.pinchType,a)),this.zoomX=o=/x/.test(a),this.zoomY=u=/y/.test(a),this.zoomHor=o&&!p||u&&p,this.zoomVert=u&&!p||o&&p,this.hasZoom=o||u}}return(C=P||(P={})).compose=function(S){x(K,"Core.Pointer")&&q(S,"beforeRender",function(){this.pointer=new C(this,this.options)})},P}),r(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var n;let{extend:l,merge:C,pick:B}=t;return function($){function K(G,q,Z){var p,a;let R=this.legendItem=this.legendItem||{},{chart:Y,options:V}
130=this,{baseline:H=0,symbolWidth:T,symbolHeight:L}=G,j=this.symbol||"circle",s=L/2,c=Y.renderer,x=R.group,N=H-Math.round((((p=G.fontMetrics)==null?void 0:p.b)||L)*(Z?.4:.3)),P={},S,g=V.marker,v=0;if(Y.styledMode||(P["stroke-width"]=Math.min(V.lineWidth||0,24),V.dashStyle?P.dashstyle=V.dashStyle:V.linecap==="square"||(P["stroke-linecap"]="round")),R.line=c.path().addClass("highcharts-graph").attr(P).add(x),Z&&(R.area=c.path().addClass("highcharts-area").add(x)),P["stroke-linecap"]&&(v=Math.min(R.line.strokeWidth(),T)/2),T){let o=[["M",v,N],["L",T-v,N]];R.line.attr({d:o}),(a=R.area)==null||a.attr({d:[...o,["L",T-v,H],["L",v,H]]})}if(g&&g.enabled!==!1&&T){let o=Math.min(B(g.radius,s),s);j.indexOf("url")===0&&(g=C(g,{width:L,height:L}),o=0),R.symbol=S=c.symbol(j,T/2-o,N-o,2*o,2*o,l({context:"legend"},g)).addClass("highcharts-point").add(x),S.isMarker=!0}}$.areaMarker=function(G,q){K.call(this,G,q,!0)},$.lineMarker=K,$.rectangle=function(G,q){let Z=q.legendItem||{},R=G.options,Y=G.symbolHeight,V=R.squareSymbol,H=V?Y:G.symbolWidth;Z.symbol=this.chart.renderer.rect(V?(G.symbolWidth-Y)/2:0,G.baseline-Y+1,H,Y,B(G.options.symbolRadius,Y/2)).addClass("highcharts-point").attr({zIndex:3}).add(Z.group)}}(n||(n={})),n}),r(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return typeof this.y!="number"?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),r(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{defaultOptions:$}=n,{extend:K,extendClass:G,merge:q}=C;return function(Z){function R(Y,V){let H=$.plotOptions||{},T=V.defaultOptions,L=V.prototype;return L.type=Y,L.pointClass||(L.pointClass=l),!Z.seriesTypes[Y]&&(T&&(H[Y]=T),Z.seriesTypes[Y]=V,!0)}Z.seriesTypes=t.seriesTypes,Z.registerSeriesType=R,Z.seriesType=function(Y,V,H,T,L){let j=$.plotOptions||{};if(V=V||"",j[Y]=q(j[V],H),delete Z.seriesTypes[Y],R(Y,G(Z.seriesTypes[V]||function(){},T)),Z.seriesTypes[Y].prototype.type=Y,L){class s extends l{}K(s.prototype,L),Z.seriesTypes[Y].prototype.pointClass=s}return Z.seriesTypes[Y]}}(B||(B={})),B}),r(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let{animObject:R,setAnimation:Y}=t,{defaultOptions:V}=n,{registerEventOptions:H}=l,{svg:T,win:L}=C,{seriesTypes:j}=G,{arrayMax:s,arrayMin:c,clamp:x,correctFloat:N,crisp:P,defined:S,destroyObjectProperties:g,diffObjects:v,erase:p,error:a,extend:o,find:u,fireEvent:d,getClosestDistance:h,getNestedProperty:m,insertItem:f,isArray:y,isNumber:I,isString:E,merge:M,objectEach:D,pick:F,removeEvent:X,splat:_,syncTimeout:w}=Z;class A{constructor(){this.zoneAxis="y"}init(b,k){let O;d(this,"init",{options:k});let z=this,W=b.series;this.eventsToUnbind=[],z.chart=b,z.options=z.setOptions(k);let Q=z.options,ee=Q.visible!==!1;z.linkedSeries=[],z.bindAxes(),o(z,{name:Q.name,state:"",visible:ee,selected:Q.selected===!0}),H(this,Q);let se=Q.events;(se&&se.click||Q.point&&Q.point.events&&Q.point.events.click||Q.allowPointSelect)&&(b.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(ae){z[ae+"Data"]||(z[ae+"Data"]=[])}),z.isCartesian&&(b.hasCartesianSeries=!0),W.length&&(O=W[W.length-1]),z._i=F(O&&O._i,-1)+1,z.opacity=z.options.opacity,b.orderItems("series",f(this,W)),Q.dataSorting&&Q.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(Q.data,!1),d(this,"afterInit")}is(b){return j[b]&&this instanceof j[b]}bindAxes(){let b,k=this,O=k.options,z=k.chart;
130d(this,"bindAxes",null,function(){(k.axisTypes||[]).forEach(function(W){(z[W]||[]).forEach(function(Q){b=Q.options,(F(O[W],0)===Q.index||O[W]!==void 0&&O[W]===b.id)&&(f(k,Q.series),k[W]=Q,Q.isDirty=!0)}),k[W]||k.optionalAxis===W||a(18,!0,z)})}),d(this,"afterBindAxes")}updateParallelArrays(b,k,O){let z=b.series,W=I(k)?function(Q){let ee=Q==="y"&&z.toYData?z.toYData(b):b[Q];z[Q+"Data"][k]=ee}:function(Q){Array.prototype[k].apply(z[Q+"Data"],O)};z.parallelArrays.forEach(W)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(b,k){let O=b.marker,z=k.marker||{};return O&&(z.enabled&&!O.enabled||z.symbol!==O.symbol||z.height!==O.height||z.width!==O.width)}autoIncrement(b){let k=this.options,O=k.pointIntervalUnit,z=k.relativeXValue,W=this.chart.time,Q=this.xIncrement,ee,se;return Q=F(Q,k.pointStart,0),this.pointInterval=se=F(this.pointInterval,k.pointInterval,1),z&&I(b)&&(se*=b),O&&(ee=new W.Date(Q),O==="day"?W.set("Date",ee,W.get("Date",ee)+se):O==="month"?W.set("Month",ee,W.get("Month",ee)+se):O==="year"&&W.set("FullYear",ee,W.get("FullYear",ee)+se),se=ee.getTime()-Q),z&&I(b)?Q+se:(this.xIncrement=Q+se,Q)}setDataSortingOptions(){let b=this.options;o(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(b.pointRange)||(b.pointRange=1)}setOptions(b){var le,ue;let k,O=this.chart,z=O.options.plotOptions,W=O.userOptions||{},Q=M(b),ee=O.styledMode,se={plotOptions:z,userOptions:Q};d(this,"setOptions",se);let ae=se.plotOptions[this.type],he=W.plotOptions||{},ce=he.series||{},ie=V.plotOptions[this.type]||{},te=he[this.type]||{};this.userOptions=se.userOptions;let ne=M(ae,z.series,te,Q);this.tooltipOptions=M(V.tooltip,(le=V.plotOptions.series)==null?void 0:le.tooltip,ie==null?void 0:ie.tooltip,O.userOptions.tooltip,(ue=he.series)==null?void 0:ue.tooltip,te.tooltip,Q.tooltip),this.stickyTracking=F(Q.stickyTracking,te.stickyTracking,ce.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ne.stickyTracking),ae.marker===null&&delete ne.marker,this.zoneAxis=ne.zoneAxis||"y";let oe=this.zones=(ne.zones||[]).map(de=>ze({},de));return(ne.negativeColor||ne.negativeFillColor)&&!ne.zones&&(k={value:ne[this.zoneAxis+"Threshold"]||ne.threshold||0,className:"highcharts-negative"},ee||(k.color=ne.negativeColor,k.fillColor=ne.negativeFillColor),oe.push(k)),oe.length&&S(oe[oe.length-1].value)&&oe.push(ee?{}:{color:this.color,fillColor:this.fillColor}),d(this,"afterSetOptions",{options:ne}),ne}getName(){return F(this.options.name,"Series "+(this.index+1))}getCyclic(b,k,O){let z,W,Q=this.chart,ee=`${b}Index`,se=`${b}Counter`,ae=(O==null?void 0:O.length)||Q.options.chart.colorCount;!k&&(S(W=F(b==="color"?this.options.colorIndex:void 0,this[ee]))?z=W:(Q.series.length||(Q[se]=0),z=Q[se]%ae,Q[se]+=1),O&&(k=O[z])),z!==void 0&&(this[ee]=z),this[b]=k}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||V.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let b=this.options.marker;this.getCyclic("symbol",b.symbol,this.chart.options.symbols)}findPointIndex(b,k){let O,z,W,Q=b.id,ee=b.x,se=this.points,ae=this.options.dataSorting;if(Q){let he=this.chart.get(Q);he instanceof $&&(O=he)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let he=ce=>!ce.touched&&ce.index===b.index;if(ae&&ae.matchByName?he=ce=>!ce.touched&&ce.name===b.name:this.options.relativeXValue&&(he=ce=>!ce.touched&&ce.options.x===b.x),!(O=u(se,he)))return}return O&&(W=O&&O.index)!==void 0&&(z=!0),W===void 0&&I(ee)&&(W=this.xData.indexOf(ee,k)),W!==-1&&W!==void 0&&this.cropped&&(W=W>=this.cropStart?W-this.cropStart:W),!z&&I(W)&&se[W]&&se[W].touched&&(W=void 0),W}updateData(b,k){let O=this.options,z=O.dataSorting,W=this.points,Q=[],ee=this.requireSorting,se=b.length===W.length,ae,he,ce,ie,te=!0;if(this.xIncrement=null,b.forEach(function(ne,oe){let le,ue=S(ne)&&this.pointClass.prototype.optionsToObject.call({series:this},ne)||{},de=ue.x;ue.id||I(de)?((le=this.findPointIndex(ue,ie))===-1||le===void 0?Q.push(ne):W[le]&&ne!==O.data[le]?(W[le].update(ne,!1,null,!1),W[le].touched=!0,ee&&(ie=le+1)):W[le]&&(W[le].touched=!0),(!se||oe!==le||z&&z.enabled||this.hasDerivedData)&&(ae=!0)):Q.push(ne)},this),ae)for(he=W.length;he--;)(ce=W[he])&&!ce.touched&&ce.remove&&ce.remove(!1,k);else!se||z&&z.enabled?te=!1:(b.forEach(function(ne,oe){ne===W[oe].y||W[oe].destroyed||W[oe].update(ne,!1,null,!1)}),Q.length=0);return W.forEach(function(ne){ne&&(ne.touched=!1)}
130),!!te&&(Q.forEach(function(ne){this.addPoint(ne,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=s(this.xData),this.autoIncrement()),!0)}setData(b,k=!0,O,z){var Se;let W=this,Q=W.points,ee=Q&&Q.length||0,se=W.options,ae=W.chart,he=se.dataSorting,ce=W.xAxis,ie=se.turboThreshold,te=this.xData,ne=this.yData,oe=W.pointArrayMap,le=oe&&oe.length,ue=se.keys,de,fe,me,ge=0,Ee=1,ve;ae.options.chart.allowMutatingData||(se.data&&delete W.options.data,W.userOptions.data&&delete W.userOptions.data,ve=M(!0,b));let ye=(b=ve||b||[]).length;if(he&&he.enabled&&(b=this.sortData(b)),ae.options.chart.allowMutatingData&&z!==!1&&ye&&ee&&!W.cropped&&!W.hasGroupedData&&W.visible&&!W.boosted&&(me=this.updateData(b,O)),!me){W.xIncrement=null,W.colorCounter=0,this.parallelArrays.forEach(function(Ce){W[Ce+"Data"].length=0});let xe=ie&&ye>ie;if(xe){let Ce=W.getFirstValidPoint(b),Oe=W.getFirstValidPoint(b,ye-1,-1),Pe=He=>!!(y(He)&&(ue||I(He[0])));if(I(Ce)&&I(Oe))for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else if(Pe(Ce)&&Pe(Oe))if(le)if(Ce.length===le)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[0],ne[de]=fe.slice(1,le+1);else if(ue&&(ge=ue.indexOf("x"),Ee=ue.indexOf("y"),ge=ge>=0?ge:0,Ee=Ee>=0?Ee:1),Ce.length===1&&(Ee=0),ge===Ee)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de][Ee];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[ge],ne[de]=fe[Ee];else xe=!1}if(!xe)for(de=0;de<ye;de++)fe={series:W},W.pointClass.prototype.applyOptions.apply(fe,[b[de]]),W.updateParallelArrays(fe,de);for(ne&&E(ne[0])&&a(14,!0,ae),W.data=[],W.options.data=W.userOptions.data=b,de=ee;de--;)(Se=Q[de])==null||Se.destroy();ce&&(ce.minRange=ce.userMinRange),W.isDirty=ae.isDirtyBox=!0,W.isDirtyData=!!Q,O=!1}se.legendType==="point"&&(this.processData(),this.generatePoints()),k&&ae.redraw(O)}sortData(b){let k=this,O=k.options.dataSorting.sortKey||"y",z=function(W,Q){return S(Q)&&W.pointClass.prototype.optionsToObject.call({series:W},Q)||{}};return b.forEach(function(W,Q){b[Q]=z(k,W),b[Q].index=Q},this),b.concat().sort((W,Q)=>{let ee=m(O,W),se=m(O,Q);return se<ee?-1:se>ee?1:0}).forEach(function(W,Q){W.x=Q},this),k.linkedSeries&&k.linkedSeries.forEach(function(W){let Q=W.options,ee=Q.data;Q.dataSorting&&Q.dataSorting.enabled||!ee||(ee.forEach(function(se,ae){ee[ae]=z(W,se),b[ae]&&(ee[ae].x=b[ae].x,ee[ae].index=ae)}),W.setData(ee,!1))}),b}getProcessedData(b){let k=this,O=k.xAxis,z=k.options.cropThreshold,W=O==null?void 0:O.logarithmic,Q=k.isCartesian,ee,se,ae=0,he,ce,ie,te=k.xData,ne=k.yData,oe=!1,le=te.length;O&&(ce=(he=O.getExtremes()).min,ie=he.max,oe=!!(O.categories&&!O.names.length)),Q&&k.sorted&&!b&&(!z||le>z||k.forceCrop)&&(te[le-1]<ce||te[0]>ie?(te=[],ne=[]):k.yData&&(te[0]<ce||te[le-1]>ie)&&(te=(ee=this.cropData(k.xData,k.yData,ce,ie)).xData,ne=ee.yData,ae=ee.start,se=!0));let ue=h([W?te.map(W.log2lin):te],()=>k.requireSorting&&!oe&&a(15,!1,k.chart));return{xData:te,yData:ne,cropped:se,cropStart:ae,closestPointRange:ue}}processData(b){let k=this.xAxis;if(this.isCartesian&&!this.isDirty&&!k.isDirty&&!this.yAxis.isDirty&&!b)return!1;let O=this.getProcessedData();this.cropped=O.cropped,this.cropStart=O.cropStart,this.processedXData=O.xData,this.processedYData=O.yData,this.closestPointRange=this.basePointRange=O.closestPointRange,d(this,"afterProcessData")}cropData(b,k,O,z){let W=b.length,Q,ee,se=0,ae=W;for(Q=0;Q<W;Q++)if(b[Q]>=O){se=Math.max(0,Q-1);break}for(ee=Q;ee<W;ee++)if(b[ee]>z){ae=ee+1;break}return{xData:b.slice(se,ae),yData:k.slice(se,ae),start:se,end:ae}}generatePoints(){let b=this.options,k=this.processedData||b.data,O=this.processedXData,z=this.processedYData,W=this.pointClass,Q=O.length,ee=this.cropStart||0,se=this.hasGroupedData,ae=b.keys,he=[],ce=b.dataGrouping&&b.dataGrouping.groupAll?ee:0,ie,te,ne,oe,le=this.data;if(!le&&!se){let ue=[];ue.length=k.length,le=this.data=ue}for(ae&&se&&(this.options.keys=!1),oe=0;oe<Q;
130oe++)te=ee+oe,se?((ne=new W(this,[O[oe]].concat(_(z[oe])))).dataGroup=this.groupMap[ce+oe],ne.dataGroup.options&&(ne.options=ne.dataGroup.options,o(ne,ne.dataGroup.options),delete ne.dataLabels)):(ne=le[te])||k[te]===void 0||(le[te]=ne=new W(this,k[te],O[oe])),ne&&(ne.index=se?ce+oe:te,he[oe]=ne);if(this.options.keys=ae,le&&(Q!==(ie=le.length)||se))for(oe=0;oe<ie;oe++)oe!==ee||se||(oe+=Q),le[oe]&&(le[oe].destroyElements(),le[oe].plotX=void 0);this.data=le,this.points=he,d(this,"afterGeneratePoints")}getXExtremes(b){return{min:c(b),max:s(b)}}getExtremes(b,k){let O=this.xAxis,z=this.yAxis,W=[],Q=this.requireSorting&&!this.is("column")?1:0,ee=!!z&&z.positiveValuesOnly,se=k||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:ae,processedYData:he}=this,ce,ie,te,ne,oe,le,ue,de=0,fe=0,me=0;if(this.cropped&&se){let ye=this.getProcessedData(!0);ae=ye.xData,he=ye.yData}let ge=(b=b||this.stackedYData||he||[]).length,Ee=ae||this.xData;for(O&&(de=(ce=O.getExtremes()).min,fe=ce.max),le=0;le<ge;le++)if(ne=Ee[le],ie=(I(oe=b[le])||y(oe))&&((I(oe)?oe>0:oe.length)||!ee),te=k||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!O||(Ee[le+Q]||ne)>=de&&(Ee[le-Q]||ne)<=fe,ie&&te)if(ue=oe.length)for(;ue--;)I(oe[ue])&&(W[me++]=oe[ue]);else W[me++]=oe;let ve={activeYData:W,dataMin:c(W),dataMax:s(W)};return d(this,"afterGetExtremes",{dataExtremes:ve}),ve}applyExtremes(){let b=this.getExtremes();return this.dataMin=b.dataMin,this.dataMax=b.dataMax,b}getFirstValidPoint(b,k=0,O=1){let z=b.length,W=k;for(;W>=0&&W<z;){if(S(b[W]))return b[W];W+=O}}translate(){var fe;this.processedXData||this.processData(),this.generatePoints();let b=this.options,k=b.stacking,O=this.xAxis,z=O.categories,W=this.enabledDataSorting,Q=this.yAxis,ee=this.points,se=ee.length,ae=this.pointPlacementToXValue(),he=!!ae,ce=b.threshold,ie=b.startFromThreshold?ce:0,te,ne,oe,le,ue=Number.MAX_VALUE;function de(me){return x(me,-1e9,1e9)}for(te=0;te<se;te++){let me,ge=ee[te],Ee=ge.x,ve,ye,Se=ge.y,xe=ge.low,Ce=k&&((fe=Q.stacking)==null?void 0:fe.stacks[(this.negStacks&&Se<(ie?0:ce)?"-":"")+this.stackKey]);ne=O.translate(Ee,!1,!1,!1,!0,ae),ge.plotX=I(ne)?N(de(ne)):void 0,k&&this.visible&&Ce&&Ce[Ee]&&(le=this.getStackIndicator(le,Ee,this.index),!ge.isNull&&le.key&&(ye=(ve=Ce[Ee]).points[le.key]),ve&&y(ye)&&(xe=ye[0],Se=ye[1],xe===ie&&le.key===Ce[Ee].base&&(xe=F(I(ce)?ce:Q.min)),Q.positiveValuesOnly&&S(xe)&&xe<=0&&(xe=void 0),ge.total=ge.stackTotal=F(ve.total),ge.percentage=S(ge.y)&&ve.total?ge.y/ve.total*100:void 0,ge.stackY=Se,this.irregularWidths||ve.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),ge.yBottom=S(xe)?de(Q.translate(xe,!1,!0,!1,!0)):void 0,this.dataModify&&(Se=this.dataModify.modifyValue(Se,te)),I(Se)&&ge.plotX!==void 0&&(me=I(me=Q.translate(Se,!1,!0,!1,!0))?de(me):void 0),ge.plotY=me,ge.isInside=this.isPointInside(ge),ge.clientX=he?N(O.translate(Ee,!1,!1,!1,!0,ae)):ne,ge.negative=(ge.y||0)<(ce||0),ge.category=F(z&&z[ge.x],ge.x),ge.isNull||ge.visible===!1||(oe!==void 0&&(ue=Math.min(ue,Math.abs(ne-oe))),oe=ne),ge.zone=this.zones.length?ge.getZone():void 0,!ge.graphic&&this.group&&W&&(ge.isNew=!0)}this.closestPointRangePx=ue,d(this,"afterTranslate")}getValidPoints(b,k,O){let z=this.chart;return(b||this.points||[]).filter(function(W){let{plotX:Q,plotY:ee}=W;return!!((O||!W.isNull&&I(ee))&&(!k||z.isInsidePlot(Q,ee,{inverted:z.inverted})))&&W.visible!==!1})}getClipBox(){let{chart:b,xAxis:k,yAxis:O}=this,{x:z,y:W,width:Q,height:ee}=M(b.clipBox);return k&&k.len!==b.plotSizeX&&(Q=k.len),O&&O.len!==b.plotSizeY&&(ee=O.len),b.inverted&&!this.invertible&&([Q,ee]=[ee,Q]),{x:z,y:W,width:Q,height:ee}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:b,group:k,markerGroup:O}=this,z=b.sharedClips,W=b.renderer,Q=this.getClipBox(),ee=this.getSharedClipKey(),se=z[ee];se?se.animate(Q):z[ee]=se=W.clipRect(Q),k&&k.clip(this.options.clip===!1?void 0:se),O&&O.clip()}animate(b){let{chart:k,group:O,markerGroup:z}
130=this,W=k.inverted,Q=R(this.options.animation),ee=[this.getSharedClipKey(),Q.duration,Q.easing,Q.defer].join(","),se=k.sharedClips[ee],ae=k.sharedClips[ee+"m"];if(b&&O){let he=this.getClipBox();if(se)se.attr("height",he.height);else{he.width=0,W&&(he.x=k.plotHeight),se=k.renderer.clipRect(he),k.sharedClips[ee]=se;let ce={x:-99,y:-99,width:W?k.plotWidth+199:99,height:W?99:k.plotHeight+199};ae=k.renderer.clipRect(ce),k.sharedClips[ee+"m"]=ae}O.clip(se),z==null||z.clip(ae)}else if(se&&!se.hasClass("highcharts-animating")){let he=this.getClipBox(),ce=Q.step;(z!=null&&z.element.childNodes.length||k.series.length>1)&&(Q.step=function(ie,te){ce&&ce.apply(te,arguments),te.prop==="width"&&(ae!=null&&ae.element)&&ae.attr(W?"height":"width",ie+99)}),se.addClass("highcharts-animating").animate(he,Q)}}afterAnimate(){this.setClip(),D(this.chart.sharedClips,(b,k,O)=>{b&&!this.chart.container.querySelector(`[clip-path="url(#${b.id})"]`)&&(b.destroy(),delete O[k])}),this.finishedAnimating=!0,d(this,"afterAnimate")}drawPoints(b=this.points){let k,O,z,W,Q,ee,se,ae=this.chart,he=ae.styledMode,{colorAxis:ce,options:ie}=this,te=ie.marker,ne=this[this.specialGroup||"markerGroup"],oe=this.xAxis,le=F(te.enabled,!oe||!!oe.isRadial||null,this.closestPointRangePx>=te.enabledThreshold*te.radius);if(te.enabled!==!1||this._hasPointMarkers)for(k=0;k<b.length;k++)if(W=(z=(O=b[k]).graphic)?"animate":"attr",Q=O.marker||{},ee=!!O.marker,(le&&Q.enabled===void 0||Q.enabled)&&!O.isNull&&O.visible!==!1){let ue=F(Q.symbol,this.symbol,"rect");se=this.markerAttribs(O,O.selected&&"select"),this.enabledDataSorting&&(O.startXPos=oe.reversed?-(se.width||0):oe.width);let de=O.isInside!==!1;if(!z&&de&&((se.width||0)>0||O.hasImage)&&(O.graphic=z=ae.renderer.symbol(ue,se.x,se.y,se.width,se.height,ee?Q:te).add(ne),this.enabledDataSorting&&ae.hasRendered&&(z.attr({x:O.startXPos}),W="animate")),z&&W==="animate"&&z[de?"show":"hide"](de).animate(se),z){let fe=this.pointAttribs(O,he||!O.selected?void 0:"select");he?ce&&z.css({fill:fe.fill}):z[W](fe)}z&&z.addClass(O.getClassName(),!0)}else z&&(O.graphic=z.destroy())}markerAttribs(b,k){let O=this.options,z=O.marker,W=b.marker||{},Q=W.symbol||z.symbol,ee={},se,ae,he=F(W.radius,z&&z.radius);k&&(se=z.states[k],he=F((ae=W.states&&W.states[k])&&ae.radius,se&&se.radius,he&&he+(se&&se.radiusPlus||0))),b.hasImage=Q&&Q.indexOf("url")===0,b.hasImage&&(he=0);let ce=b.pos();return I(he)&&ce&&(O.crisp&&(ce[0]=P(ce[0],b.hasImage?0:Q==="rect"?(z==null?void 0:z.lineWidth)||0:1)),ee.x=ce[0]-he,ee.y=ce[1]-he),he&&(ee.width=ee.height=2*he),ee}pointAttribs(b,k){let O=this.options.marker,z=b&&b.options,W=z&&z.marker||{},Q=z&&z.color,ee=b&&b.color,se=b&&b.zone&&b.zone.color,ae,he,ce=this.color,ie,te,ne=F(W.lineWidth,O.lineWidth),oe=1;return ce=Q||se||ee||ce,ie=W.fillColor||O.fillColor||ce,te=W.lineColor||O.lineColor||ce,k=k||"normal",ae=O.states[k]||{},ne=F((he=W.states&&W.states[k]||{}).lineWidth,ae.lineWidth,ne+F(he.lineWidthPlus,ae.lineWidthPlus,0)),ie=he.fillColor||ae.fillColor||ie,{stroke:te=he.lineColor||ae.lineColor||te,"stroke-width":ne,fill:ie,opacity:oe=F(he.opacity,ae.opacity,oe)}}destroy(b){let k,O,z,W=this,Q=W.chart,ee=/AppleWebKit\/533/.test(L.navigator.userAgent),se=W.data||[];for(d(W,"destroy",{keepEventsForUpdate:b}),this.removeEvents(b),(W.axisTypes||[]).forEach(function(ae){(z=W[ae])&&z.series&&(p(z.series,W),z.isDirty=z.forceRedraw=!0)}),W.legendItem&&W.chart.legend.destroyItem(W),k=se.length;k--;)(O=se[k])&&O.destroy&&O.destroy();for(let ae of W.zones)g(ae,void 0,!0);Z.clearTimeout(W.animationTimeout),D(W,function(ae,he){ae instanceof q&&!ae.survive&&ae[ee&&he==="group"?"hide":"destroy"]()}),Q.hoverSeries===W&&(Q.hoverSeries=void 0),p(Q.series,W),Q.orderItems("series"),D(W,function(ae,he){b&&he==="hcEvents"||delete W[he]})}applyZones(){let{area:b,chart:k,graph:O,zones:z,points:W,xAxis:Q,yAxis:ee,zoneAxis:se}=this,{inverted:ae,renderer:he}=k,ce=this[`${se}Axis`],{isXAxis:ie,len:te=0}=ce||{},ne=((O==null?void 0:O.strokeWidth())||0)/2+1,oe=(le,ue=0,de=0)=>{ae&&(de=te-de);let{translated:fe=0,lineClip:me}=le,ge=de-fe;me==null||me.push(["L",ue,Math.abs(ge)<ne?de-ne*(ge<=0?-1:1):fe])};if(z.length&&(O||b)&&ce&&I(ce.min)){let le=ce.getExtremes().max,ue=me=>{me.forEach((ge,Ee)=>{(ge[0]==="M"||ge[0]==="L")&&(me[Ee]=[ge[0],ie?te-ge[1]:ge[1],ie?ge[2]:te-ge[2]])})};if(z.forEach(me=>{me.lineClip=[],me.translated=x(ce.toPixels(F(me.value,le),!0)||0,0,te)}),O&&!this.showLine&&O.hide(),b&&b.hide(),se==="y"&&W.length<Q.len)for(let me of W){let{plotX:ge,plotY:Ee,zone:ve}=me,ye=ve&&z[z.indexOf(ve)-1];ve&&oe(ve,ge,Ee),ye&&oe(ye,ge,Ee)}let de=[],fe=ce.toPixels(ce.getExtremes().min,!0);z.forEach(me=>{var Je,Xe;let ge=me.lineClip||[],Ee=Math.round(me.translated||0);Q.reversed&&ge.reverse();let{clip:ve,simpleClip:ye}=me,Se=0,xe=0,Ce=Q.len,Oe=ee.len;ie?(Se=Ee,Ce=fe):(xe=Ee,Oe=fe);let Pe=[["M",Se,xe],["L",Ce,xe],["L",Ce,Oe],["L",Se,Oe],["Z"]],He=[Pe[0],...ge,Pe[1],Pe[2],...de,Pe[3],Pe[4]];de=ge.reverse(),fe=Ee,ae&&(ue(He),b&&ue(Pe)),ve?(ve.animate({d:He}),ye==null||ye.animate({d:Pe})):(ve=me.clip=he.path(He),b&&(ye=me.simpleClip=he.path(Pe))),O&&((Je=me.graph)==null||Je.clip(ve)),b&&((Xe=me.area)==null||Xe.clip(ye))})}else this.visible&&(O&&O.show(),b&&b.show())}plotGroup(b,k,O,z,W){let Q=this[b],ee=!Q,se={visibility:O,zIndex:z||.1};return S(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(se.opacity=this.opacity),Q||(this[b]=Q=this.chart.renderer.g().add(W)),Q.addClass("highcharts-"+k+" highcharts-series-"+this.index+" highcharts-"+this.t
130ype+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(Q.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),Q.attr(se)[ee?"attr":"animate"](this.getPlotBox(k)),Q}getPlotBox(b){let k=this.xAxis,O=this.yAxis,z=this.chart,W=z.inverted&&!z.polar&&k&&this.invertible&&b==="series";return z.inverted&&(k=O,O=this.xAxis),{translateX:k?k.left:z.plotLeft,translateY:O?O.top:z.plotTop,rotation:W?90:0,rotationOriginX:W?(k.len-O.len)/2:0,rotationOriginY:W?(k.len+O.len)/2:0,scaleX:W?-1:1,scaleY:1}}removeEvents(b){let{eventsToUnbind:k}=this;b||X(this),k.length&&(k.forEach(O=>{O()}),k.length=0)}render(){var he,ce,ie,te,ne;let b=this,{chart:k,options:O,hasRendered:z}=b,W=R(O.animation),Q=b.visible?"inherit":"hidden",ee=O.zIndex,se=k.seriesGroup,ae=b.finishedAnimating?0:W.duration;d(this,"render"),b.plotGroup("group","series",Q,ee,se),b.markerGroup=b.plotGroup("markerGroup","markers",Q,ee,se),O.clip!==!1&&b.setClip(),ae&&((he=b.animate)==null||he.call(b,!0)),b.drawGraph&&(b.drawGraph(),b.applyZones()),b.visible&&b.drawPoints(),(ce=b.drawDataLabels)==null||ce.call(b),(ie=b.redrawPoints)==null||ie.call(b),O.enableMouseTracking&&((te=b.drawTracker)==null||te.call(b)),ae&&((ne=b.animate)==null||ne.call(b)),z||(ae&&W.defer&&(ae+=W.defer),b.animationTimeout=w(()=>{b.afterAnimate()},ae||0)),b.isDirty=!1,b.hasRendered=!0,d(b,"afterRender")}redraw(){let b=this.isDirty||this.isDirtyData;this.translate(),this.render(),b&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(b,k){let{xAxis:O,yAxis:z}=this,W=this.chart.inverted;return this.searchKDTree({clientX:W?O.len-b.chartY+O.pos:b.chartX-O.pos,plotY:W?z.len-b.chartX+z.pos:b.chartY-z.pos},k,b)}buildKDTree(b){this.buildingKdTree=!0;let k=this,O=k.options.findNearestPointBy.indexOf("y")>-1?2:1;delete k.kdTree,w(function(){k.kdTree=function z(W,Q,ee){let se,ae,he=W==null?void 0:W.length;if(he)return se=k.kdAxisArray[Q%ee],W.sort((ce,ie)=>(ce[se]||0)-(ie[se]||0)),{point:W[ae=Math.floor(he/2)],left:z(W.slice(0,ae),Q+1,ee),right:z(W.slice(ae+1),Q+1,ee)}}(k.getValidPoints(void 0,!k.directTouch),O,O),k.buildingKdTree=!1},k.options.kdNow||(b==null?void 0:b.type)==="touchstart"?0:1)}searchKDTree(b,k,O){let z=this,[W,Q]=this.kdAxisArray,ee=k?"distX":"dist",se=(z.options.findNearestPointBy||"").indexOf("y")>-1?2:1,ae=!!z.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(O),this.kdTree)return function he(ce,ie,te,ne){var ve;let oe=ie.point,le=z.kdAxisArray[te%ne],ue,de,fe=oe;(function(ye,Se){var dt;let xe=ye[W],Ce=Se[W],Oe=S(xe)&&S(Ce)?xe-Ce:null,Pe=ye[Q],He=Se[Q],Je=S(Pe)&&S(He)?Pe-He:0,Xe=ae&&((dt=Se.marker)==null?void 0:dt.radius)||0;Se.dist=Math.sqrt((Oe&&Oe*Oe||0)+Je*Je)-Xe,Se.distX=S(Oe)?Math.abs(Oe)-Xe:Number.MAX_VALUE})(ce,oe);let me=(ce[le]||0)-(oe[le]||0)+(ae&&((ve=oe.marker)==null?void 0:ve.radius)||0),ge=me<0?"left":"right",Ee=me<0?"right":"left";return ie[ge]&&(fe=(ue=he(ce,ie[ge],te+1,ne))[ee]<fe[ee]?ue:oe),ie[Ee]&&Math.sqrt(me*me)<fe[ee]&&(fe=(de=he(ce,ie[Ee],te+1,ne))[ee]<fe[ee]?de:fe),fe}(b,this.kdTree,se,se)}pointPlacementToXValue(){let{options:b,xAxis:k}=this,O=b.pointPlacement;return O==="between"&&(O=k.reversed?-.5:.5),I(O)?O*(b.pointRange||k.pointRange):0}isPointInside(b){let{chart:k,xAxis:O,yAxis:z}=this,{plotX:W=-1,plotY:Q=-1}=b;return Q>=0&&Q<=(z?z.len:k.plotHeight)&&W>=0&&W<=(O?O.len:k.plotWidth)}drawTracker(){var ie;let b=this,k=b.options,O=k.trackByArea,z=[].concat((O?b.areaPath:b.graphPath)||[]),W=b.chart,Q=W.pointer,ee=W.renderer,se=((ie=W.options.tooltip)==null?void 0:ie.snap)||0,ae=()=>{k.enableMouseTracking&&W.hoverSeries!==b&&b.onMouseOver()},he="rgba(192,192,192,"+(T?1e-4:.002)+")",ce=b.tracker;ce?ce.attr({d:z}):b.graph&&(b.tracker=ce=ee.path(z).attr({visibility:b.visible?"inherit":"hidden",zIndex:2}).addClass(O?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),W.styledMode||ce.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:he,fill:O?he:"none","stroke-width":b.graph.strokeWidth()+(O?0:2*se)}
130),[b.tracker,b.markerGroup,b.dataLabelsGroup].forEach(te=>{te&&(te.addClass("highcharts-tracker").on("mouseover",ae).on("mouseout",ne=>{Q==null||Q.onTrackerMouseOut(ne)}),k.cursor&&!W.styledMode&&te.css({cursor:k.cursor}),te.on("touchstart",ae))})),d(this,"afterDrawTracker")}addPoint(b,k,O,z,W){let Q,ee,se=this.options,ae=this.data,he=this.chart,ce=this.xAxis,ie=ce&&ce.hasNames&&ce.names,te=se.data,ne=this.xData;k=F(k,!0);let oe={series:this};this.pointClass.prototype.applyOptions.apply(oe,[b]);let le=oe.x;if(ee=ne.length,this.requireSorting&&le<ne[ee-1])for(Q=!0;ee&&ne[ee-1]>le;)ee--;this.updateParallelArrays(oe,"splice",[ee,0,0]),this.updateParallelArrays(oe,ee),ie&&oe.name&&(ie[le]=oe.name),te.splice(ee,0,b),(Q||this.processedData)&&(this.data.splice(ee,0,null),this.processData()),se.legendType==="point"&&this.generatePoints(),O&&(ae[0]&&ae[0].remove?ae[0].remove(!1):(ae.shift(),this.updateParallelArrays(oe,"shift"),te.shift())),W!==!1&&d(this,"addPoint",{point:oe}),this.isDirty=!0,this.isDirtyData=!0,k&&he.redraw(z)}removePoint(b,k,O){let z=this,W=z.data,Q=W[b],ee=z.points,se=z.chart,ae=function(){ee&&ee.length===W.length&&ee.splice(b,1),W.splice(b,1),z.options.data.splice(b,1),z.updateParallelArrays(Q||{series:z},"splice",[b,1]),Q&&Q.destroy(),z.isDirty=!0,z.isDirtyData=!0,k&&se.redraw()};Y(O,se),k=F(k,!0),Q?Q.firePointEvent("remove",null,ae):ae()}remove(b,k,O,z){let W=this,Q=W.chart;function ee(){W.destroy(z),Q.isDirtyLegend=Q.isDirtyBox=!0,Q.linkSeries(z),F(b,!0)&&Q.redraw(k)}O!==!1?d(W,"remove",null,ee):ee()}update(b,k){var ue,de,fe;d(this,"update",{options:b=v(b,this.userOptions)});let O=this,z=O.chart,W=O.userOptions,Q=O.initialType||O.type,ee=z.options.plotOptions,se=j[Q].prototype,ae=O.finishedAnimating&&{animation:!1},he={},ce,ie,te=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ne=b.type||W.type||z.options.chart.type,oe=!(this.hasDerivedData||ne&&ne!==this.type||b.pointStart!==void 0||b.pointInterval!==void 0||b.relativeXValue!==void 0||b.joinBy||b.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(me=>O.hasOptionChanged(me)));ne=ne||Q,oe&&(te.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),b.visible!==!1&&te.push("area","graph"),O.parallelArrays.forEach(function(me){te.push(me+"Data")}),b.data&&(b.dataSorting&&o(O.options.dataSorting,b.dataSorting),this.setData(b.data,!1))),b=M(W,{index:W.index===void 0?O.index:W.index,pointStart:((ue=ee==null?void 0:ee.series)==null?void 0:ue.pointStart)??W.pointStart??((de=O.xData)==null?void 0:de[0])},!oe&&{data:O.options.data},b,ae),oe&&b.data&&(b.data=O.options.data),(te=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(te)).forEach(function(me){te[me]=O[me],delete O[me]});let le=!1;if(j[ne]){if(le=ne!==O.type,O.remove(!1,!1,!1,!0),le)if(z.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(O,j[ne].prototype);else{let me=Object.hasOwnProperty.call(O,"hcEvents")&&O.hcEvents;for(ie in se)O[ie]=void 0;o(O,j[ne].prototype),me?O.hcEvents=me:delete O.hcEvents}}else a(17,!0,z,{missingModuleFor:ne});if(te.forEach(function(me){O[me]=te[me]}),O.init(z,b),oe&&this.points)for(let me of((ce=O.options).visible===!1?(he.graphic=1,he.dataLabel=1):(this.hasMarkerChanged(ce,W)&&(he.graphic=1),(fe=O.hasDataLabels)!=null&&fe.call(O)||(he.dataLabel=1)),this.points))me&&me.series&&(me.resolveColor(),Object.keys(he).length&&me.destroyElements(he),ce.showInLegend===!1&&me.legendItem&&z.legend.destroyItem(me));O.initialType=Q,z.linkSeries(),z.setSortedData(),le&&O.linkedSeries.length&&(O.isDirtyData=!0),d(this,"afterUpdate"),F(k,!0)&&z.redraw(!!oe&&void 0)}setName(b){this.name=this.options.name=this.userOptions.name=b,this.chart.isDirtyLegend=!0}hasOptionChanged(b){var ee,se;let k=this.chart,O=this.options[b],z=k.options.plotOptions,W=this.userOptions[b],Q=F((ee=z==null?void 0:z[this.type])==null?void 0:ee[b],(se=z==null?void 0:z.series)==null?void 0:se[b]);return W&&!S(Q)?O!==W:O!==F(Q,O)}onMouseOver(){let b=this.chart,k=b.hoverSeries,O=b.pointer;O==null||O.setHoverChartIndex(),k&&k!==this&&k.onMouseOut(),this.options.events.mouseOver&&d(this,"mouseOver"),this.setState("hover"),b.hoverSeries=this}onMouseOut(){let b=this.options,k=this.chart,O=k.tooltip,z=k.hoverPoint;k.hoverSeries=null,z&&z.onMouseOut(),this&&b.events.mouseOut&&d(this,"mouseOut"),O&&!this.stickyTracking&&(!O.shared||this.noSharedTooltip)&&O.hide(),k.series.forEac
130h(function(W){W.setState("",!0)})}setState(b,k){let O=this,z=O.options,W=O.graph,Q=z.inactiveOtherPoints,ee=z.states,se=F(ee[b||"normal"]&&ee[b||"normal"].animation,O.chart.options.chart.animation),ae=z.lineWidth,he=z.opacity;if(b=b||"",O.state!==b&&([O.group,O.markerGroup,O.dataLabelsGroup].forEach(function(ce){ce&&(O.state&&ce.removeClass("highcharts-series-"+O.state),b&&ce.addClass("highcharts-series-"+b))}),O.state=b,!O.chart.styledMode)){if(ee[b]&&ee[b].enabled===!1)return;if(b&&(ae=ee[b].lineWidth||ae+(ee[b].lineWidthPlus||0),he=F(ee[b].opacity,he)),W&&!W.dashstyle&&I(ae))for(let ce of[W,...this.zones.map(ie=>ie.graph)])ce==null||ce.animate({"stroke-width":ae},se);Q||[O.group,O.markerGroup,O.dataLabelsGroup,O.labelBySeries].forEach(function(ce){ce&&ce.animate({opacity:he},se)})}k&&Q&&O.points&&O.setAllPointsToState(b||void 0)}setAllPointsToState(b){this.points.forEach(function(k){k.setState&&k.setState(b)})}setVisible(b,k){var se;let O=this,z=O.chart,W=z.options.chart.ignoreHiddenSeries,Q=O.visible;O.visible=b=O.options.visible=O.userOptions.visible=b===void 0?!Q:b;let ee=b?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(ae=>{var he;(he=O[ae])==null||he[ee]()}),(z.hoverSeries===O||((se=z.hoverPoint)==null?void 0:se.series)===O)&&O.onMouseOut(),O.legendItem&&z.legend.colorizeItem(O,b),O.isDirty=!0,O.options.stacking&&z.series.forEach(ae=>{ae.options.stacking&&ae.visible&&(ae.isDirty=!0)}),O.linkedSeries.forEach(ae=>{ae.setVisible(b,!1)}),W&&(z.isDirtyBox=!0),d(O,ee),k!==!1&&z.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(b){this.selected=b=this.options.selected=b===void 0?!this.selected:b,this.checkbox&&(this.checkbox.checked=b),d(this,b?"select":"unselect")}shouldShowTooltip(b,k,O={}){return O.series=this,O.visiblePlotOnly=!0,this.chart.isInsidePlot(b,k,O)}drawLegendSymbol(b,k){var O;(O=B[this.options.legendSymbol||"rectangle"])==null||O.call(this,b,k)}}return A.defaultOptions=K,A.types=G.seriesTypes,A.registerType=G.registerSeriesType,o(A.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:$,requireSorting:!0,sorted:!0}),G.series=A,A}),r(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){var q;let{animObject:Z,setAnimation:R}=t,{registerEventOptions:Y}=n,{composed:V,marginNames:H}=l,{distribute:T}=$,{format:L}=K,{addEvent:j,createElement:s,css:c,defined:x,discardElement:N,find:P,fireEvent:S,isNumber:g,merge:v,pick:p,pushUnique:a,relativeLength:o,stableSort:u,syncTimeout:d}=G;class h{constructor(f,y){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=f,this.setOptions(y),y.enabled&&(this.render(),Y(this,y),j(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),j(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(f){let y=p(f.padding,8);this.options=f,this.chart.styledMode||(this.itemStyle=f.itemStyle,this.itemHiddenStyle=v(this.itemStyle,f.itemHiddenStyle)),this.itemMarginTop=f.itemMarginTop,this.itemMarginBottom=f.itemMarginBottom,this.padding=y,this.initialItemY=y-5,this.symbolWidth=p(f.symbolWidth,16),this.pages=[],this.proximate=f.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(f,y){let I=this.chart;this.setOptions(v(!0,this.options,f)),"events"in this.options&&Y(this,this.options),this.destroy(),I.isDirtyLegend=I.isDirtyBox=!0,p(y,!0)&&I.redraw(),S(this,"afterUpdate",{redraw:y})}colorizeItem(f,y){let{area:I,group:E,label:M,line:D,symbol:F}=f.legendItem||{};if(E==null||E[y?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:X={}}=this,_=X.color,{fillColor:w,fillOpacity:A,lineColor:U,marker:b}=f.options,k=O=>(!y&&(O.fill&&(O.fill=_),O.stroke&&(O.stroke=_)),O);M==null||M.css(v(y?this.itemStyle:X)),D==null||D.attr(k({stroke:U||f.color})),F&&F.attr(k(b&&F.isMarker?f.pointAttribs():{fill:f.color})),I==null||I.attr(k({fill:w||f.color,"fill-opacity":w?1:A??.75}))}S(this,"afterColorizeItem",{item:f,visible:y})}
vendor: 17,251 bytes, line 130
130positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(f){let{group:y,x:I=0,y:E=0}=f.legendItem||{},M=this.options,D=M.symbolPadding,F=!M.rtl,X=f.checkbox;if(y&&y.element){let _={translateX:F?I:this.legendWidth-I-2*D-4,translateY:E};y[x(y.translateY)?"animate":"attr"](_,void 0,()=>{S(this,"afterPositionItem",{item:f})})}X&&(X.x=I,X.y=E)}destroyItem(f){let y=f.checkbox,I=f.legendItem||{};for(let E of["group","label","line","symbol"])I[E]&&(I[E]=I[E].destroy());y&&N(y),f.legendItem=void 0}destroy(){for(let f of this.getAllItems())this.destroyItem(f);for(let f of["clipRect","up","down","pager","nav","box","title","group"])this[f]&&(this[f]=this[f].destroy());this.display=null}positionCheckboxes(){let f,y=this.group&&this.group.alignAttr,I=this.clipHeight||this.legendHeight,E=this.titleHeight;y&&(f=y.translateY,this.allItems.forEach(function(M){let D,F=M.checkbox;F&&(D=f+E+F.y+(this.scrollOffset||0)+3,c(F,{left:y.translateX+M.checkboxOffset+F.x-20+"px",top:D+"px",display:this.proximate||D>f-6&&D<f+I-6?"":"none"}))},this))}renderTitle(){let f=this.options,y=this.padding,I=f.title,E,M=0;I.text&&(this.title||(this.title=this.chart.renderer.label(I.text,y-3,y-4,void 0,void 0,void 0,f.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(I.style),this.title.add(this.group)),I.width||this.title.css({width:this.maxLegendWidth+"px"}),M=(E=this.title.getBBox()).height,this.offsetWidth=E.width,this.contentGroup.attr({translateY:M})),this.titleHeight=M}setText(f){let y=this.options;f.legendItem.label.attr({text:y.labelFormat?L(y.labelFormat,f,this.chart):y.labelFormatter.call(f)})}renderItem(f){let y=f.legendItem=f.legendItem||{},I=this.chart,E=I.renderer,M=this.options,D=M.layout==="horizontal",F=this.symbolWidth,X=M.symbolPadding||0,_=this.itemStyle,w=this.itemHiddenStyle,A=D?p(M.itemDistance,20):0,U=!M.rtl,b=!f.series,k=!b&&f.series.drawLegendSymbol?f.series:f,O=k.options,z=!!this.createCheckboxForItem&&O&&O.showCheckbox,W=M.useHTML,Q=f.options.className,ee=y.label,se=F+X+A+(z?20:0);!ee&&(y.group=E.g("legend-item").addClass("highcharts-"+k.type+"-series highcharts-color-"+f.colorIndex+(Q?" "+Q:"")+(b?" highcharts-series-"+f.index:"")).attr({zIndex:1}).add(this.scrollGroup),y.label=ee=E.text("",U?F+X:-X,this.baseline||0,W),I.styledMode||ee.css(v(f.visible?_:w)),ee.attr({align:U?"left":"right",zIndex:2}).add(y.group),!this.baseline&&(this.fontMetrics=E.fontMetrics(ee),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,ee.attr("y",this.baseline),this.symbolHeight=p(M.symbolHeight,this.fontMetrics.f),M.squareSymbol&&(this.symbolWidth=p(M.symbolWidth,Math.max(this.symbolHeight,16)),se=this.symbolWidth+X+A+(z?20:0),U&&ee.attr("x",this.symbolWidth+X))),k.drawLegendSymbol(this,f),this.setItemEvents&&this.setItemEvents(f,ee,W)),z&&!f.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(f),this.colorizeItem(f,f.visible),(I.styledMode||!_.width)&&ee.css({width:(M.itemWidth||this.widthOption||I.spacingBox.width)-se+"px"}),this.setText(f);let ae=ee.getBBox(),he=this.fontMetrics&&this.fontMetrics.h||0;f.itemWidth=f.checkboxOffset=M.itemWidth||y.labelWidth||ae.width+se,this.maxItemWidth=Math.max(this.maxItemWidth,f.itemWidth),this.totalItemWidth+=f.itemWidth,this.itemHeight=f.itemHeight=Math.round(y.labelHeight||(ae.height>1.5*he?ae.height:he))}layoutItem(f){let y=this.options,I=this.padding,E=y.layout==="horizontal",M=f.itemHeight,D=this.itemMarginBottom,F=this.itemMarginTop,X=E?p(y.itemDistance,20):0,_=this.maxLegendWidth,w=y.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:f.itemWidth,A=f.legendItem||{};E&&this.itemX-I+w>_&&(this.itemX=I,this.lastLineHeight&&(this.itemY+=F+this.lastLineHeight+D),this.lastLineHeight=0),this.lastItemY=F+this.itemY+D,this.lastLineHeight=Math.max(M,this.lastLineHeight),A.x=this.itemX,A.y=this.itemY,E?this.itemX+=w:(this.itemY+=F+M+D,this.lastLineHeight=M),this.offsetWidth=this.widthOption||Math.max((E?this.itemX-I-(f.checkbox?0:X):w)+I,this.offsetWidth)}getAllItems(){let f=[];return this.chart.series.forEach(function(y){let I=y&&y.options;y&&p(I.showInLegend,!x(I.linkedTo)&&void 0,!0)&&(f=f.concat((y.legendItem||{}).labels||(I.legendType==="point"?y.data:y)))}),S(this,"afterGetAllItems",{allItems:f}),f}getAlignment(){let f=this.options;return this.proximate?f.align.charAt(0)+"tv":f.floating?"":f.align.charAt(0)+f.verticalAlign.charAt(0)+f.layout.charAt(0)}adjustMargins(f,y){let I=this.chart,E=this.options,M=this.getAlignment();M&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(D,F){D.test(M)&&!x(f[F])&&(I[H[F]]=Math.max(I[H[F]],I.legend[(F+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][F]*E[F%2?"x":"y"]+p(E.margin,12)+y[F]+(I.titleOffset[F]||0)))})}proximatePositions(){let f,y=this.chart,I=[],E=this.options.align==="left";for(let M of(this.allItems.forEach(function(D){let F,X,_=E,w,A;D.yAxis&&(D.xAxis.options.reversed&&(_=!_),D.points&&(F=P(_?D.points:D.points.slice(0).reverse(),function(U){return g(U.plotY)})),X=this.itemMarginTop+D.legendItem.label.getBBox().height+this.itemMarginBottom,A=D.yAxis.top-y.plotTop,w=D.visible?(F?F.plotY:D.yAxis.height)+(A-.3*X):A+D.yAxis.height,I.push({target:w,size:X,item:D}))},this),T(I,y.plotHeight)))f=M.item.legendItem||{},g(M.pos)&&(f.y=y.plotTop-y.spacing[0]+M.pos)}render(){let f=this.chart,y=f.renderer,I=this.options,E=this.padding,M=this.getAllItems(),D,F,X,_=this.group,w,A=this.box;this.itemX=E,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=o(I.width,f.spacingBox.width-E),w=f.spacingBox.width-2*E-I.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(w/=2),this.maxLegendWidth=this.widthOption||w,_||(this.group=_=y.g("legend").addClass(I.className||"").attr({zIndex:7}).add(),this.contentGroup=y.g().attr({zIndex:1}).add(_),this.scrollGroup=y.g().add(this.contentGroup)),this.renderTitle(),u(M,(U,b)=>(U.options&&U.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)),I.reversed&&M.reverse(),this.allItems=M,this.display=D=!!M.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,M.forEach(this.renderItem,this),M.forEach(this.layoutItem,this),F=(this.widthOption||this.offsetWidth)+E,X=this.lastItemY+this.lastLineHeight+this.titleHeight,X=this.handleOverflow(X)+E,A||(this.box=A=y.rect().addClass("highcharts-legend-box").attr({r:I.borderRadius}).add(_)),f.styledMode||A.attr({stroke:I.borderColor,"stroke-width":I.borderWidth||0,fill:I.backgroundColor||"none"}).shadow(I.shadow),F>0&&X>0&&A[A.placed?"animate":"attr"](A.crisp.call({},{x:0,y:0,width:F,height:X},A.strokeWidth())),_[D?"show":"hide"](),f.styledMode&&_.getStyle("display")==="none"&&(F=X=0),this.legendWidth=F,this.legendHeight=X,D&&this.align(),this.proximate||this.positionItems(),S(this,"afterRender")}align(f=this.chart.spacingBox){let y=this.chart,I=this.options,E=f.y;/(lth|ct|rth)/.test(this.getAlignment())&&y.titleOffset[0]>0?E+=y.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&y.titleOffset[2]>0&&(E-=y.titleOffset[2]),E!==f.y&&(f=v(f,{y:E})),y.hasRendered||(this.group.placed=!1),this.group.align(v(I,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":I.verticalAlign}),!0,f)}handleOverflow(f){let y=this,I=this.chart,E=I.renderer,M=this.options,D=M.y,F=M.verticalAlign==="top",X=this.padding,_=M.maxHeight,w=M.navigation,A=p(w.animation,!0),U=w.arrowSize||12,b=this.pages,k=this.allItems,O=function(ce){typeof ce=="number"?he.attr({height:ce}):he&&(y.clipRect=he.destroy(),y.contentGroup.clip()),y.contentGroup.div&&(y.contentGroup.div.style.clip=ce?"rect("+X+"px,9999px,"+(X+ce)+"px,0)":"auto")},z=function(ce){return y[ce]=E.circle(0,0,1.3*U).translate(U/2,U/2).add(ae),I.styledMode||y[ce].attr("fill","rgba(0,0,0,0.0001)"),y[ce]},W,Q,ee,se=I.spacingBox.height+(F?-D:D)-X,ae=this.nav,he=this.clipRect;return M.layout!=="horizontal"||M.verticalAlign==="middle"||M.floating||(se/=2),_&&(se=Math.min(se,_)),b.length=0,f&&se>0&&f>se&&w.enabled!==!1?(this.clipHeight=W=Math.max(se-20-this.titleHeight-X,0),this.currentPage=p(this.currentPage,1),this.fullHeight=f,k.forEach((ce,ie)=>{let te=(ee=ce.legendItem||{}).y||0,ne=Math.round(ee.label.getBBox().height),oe=b.length;(!oe||te-b[oe-1]>W&&(Q||te)!==b[oe-1])&&(b.push(Q||te),oe++),ee.pageIx=oe-1,Q&&((k[ie-1].legendItem||{}).pageIx=oe-1),ie===k.length-1&&te+ne-b[oe-1]>W&&te>b[oe-1]&&(b.push(te),ee.pageIx=oe),te!==Q&&(Q=te)}),he||(he=y.clipRect=E.clipRect(0,X-2,9999,0),y.contentGroup.clip(he)),O(W),ae||(this.nav=ae=E.g().attr({zIndex:1}).add(this.group),this.up=E.symbol("triangle",0,0,U,U).add(ae),z("upTracker").on("click",function(){y.scroll(-1,A)}),this.pager=E.text("",15,10).addClass("highcharts-legend-navigation"),!I.styledMode&&w.style&&this.pager.css(w.style),this.pager.add(ae),this.down=E.symbol("triangle-down",0,0,U,U).add(ae),z("downTracker").on("click",function(){y.scroll(1,A)})),y.scroll(0),f=se):ae&&(O(),this.nav=ae.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),f}scroll(f,y){let I=this.chart,E=this.pages,M=E.length,D=this.clipHeight,F=this.options.navigation,X=this.pager,_=this.padding,w=this.currentPage+f;w>M&&(w=M),w>0&&(y!==void 0&&R(y,I),this.nav.attr({translateX:_,translateY:D+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(A){A.attr({class:w===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),X.attr({text:w+"/"+M}),[this.down,this.downTracker].forEach(function(A){A.attr({x:18+this.pager.getBBox().width,class:w===M?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),I.styledMode||(this.up.attr({fill:w===1?F.inactiveColor:F.activeColor}),this.upTracker.css({cursor:w===1?"default":"pointer"}),this.down.attr({fill:w===M?F.inactiveColor:F.activeColor}),this.downTracker.css({cursor:w===M?"default":"pointer"})),this.scrollOffset=-E[w-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=w,this.positionCheckboxes(),d(()=>{S(this,"afterScroll",{currentPage:w})},Z(p(y,I.renderer.globalAnimation,!0)).duration))}setItemEvents(f,y,I){let E=this,M=f.legendItem||{},D=E.chart.renderer.boxWrapper,F=f instanceof B,X=f instanceof C,_="highcharts-legend-"+(F?"point":"series")+"-active",w=E.chart.styledMode,A=I?[y,M.symbol]:[M.group],U=b=>{E.allItems.forEach(k=>{f!==k&&[k].concat(k.linkedSeries||[]).forEach(O=>{O.setState(b,!F)})})};for(let b of A)b&&b.on("mouseover",function(){f.visible&&U("inactive"),f.setState("hover"),f.visible&&D.addClass(_),w||y.css(E.options.itemHoverStyle)}).on("mouseout",function(){E.chart.styledMode||y.css(v(f.visible?E.itemStyle:E.itemHiddenStyle)),U(""),D.removeClass(_),f.setState()}).on("click",function(k){let O=function(){f.setVisible&&f.setVisible(),U(f.visible?"inactive":"")};D.removeClass(_),S(E,"itemClick",{browserEvent:k,legendItem:f},O),F?f.firePointEvent("legendItemClick",{browserEvent:k}):X&&S(f,"legendItemClick",{browserEvent:k})})}createCheckboxForItem(f){f.checkbox=s("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:f.selected,defaultChecked:f.selected},this.options.itemCheckboxStyle,this.chart.container),j(f.checkbox,"click",function(y){let I=y.target;S(f.series||f,"checkboxClick",{checked:I.checked,item:f},function(){f.select()})})}}return(q=h||(h={})).compose=function(m){a(V,"Core.Legend")&&j(m,"beforeMargins",function(){this.legend=new q(this,this.options.legend)})},h}),r(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H){let{animate:T,animObject:L,setAnimation:j}=t,{defaultOptions:s,defaultTime:c}=l,{numberFormat:x}=C,{registerEventOptions:N}=B,{charts:P,doc:S,marginNames:g,svg:v,win:p}=$,{seriesTypes:a}=q,{addEvent:o,attr:u,createElement:d,css:h,defined:m,diffObjects:f,discardElement:y,erase:I,error:E,extend:M,find:D,fireEvent:F,getStyle:X,isArray:_,isNumber:w,isObject:A,isString:U,merge:b,objectEach:k,pick:O,pInt:z,relativeLength:W,removeEvent:Q,splat:ee,syncTimeout:se,uniqueKey:ae}=Y;class he{static chart(ie,te,ne){return new he(ie,te,ne)}constructor(ie,te,ne){this.sharedClips={};let oe=[...arguments];(U(ie)||ie.nodeName)&&(this.renderTo=oe.shift()),this.init(oe[0],oe[1])}setZoomOptions(){let ie=this.options.chart,te=ie.zooming;this.zooming=xt(ze({},te),{type:O(ie.zoomType,te.type),key:O(ie.zoomKey,te.key),pinchType:O(ie.pinchType,te.pinchType),singleTouch:O(ie.zoomBySingleTouch,te.singleTouch,!1),resetButton:b(te.resetButton,ie.resetZoomButton)})}init(ie,te){F(this,"init",{args:arguments},function(){let ne=b(s,ie),oe=ne.chart;this.userOptions=M({},ie),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=te,this.isResizing=0,this.options=ne,this.axes=[],this.series=[],this.time=ie.time&&Object.keys(ie.time).length?new R(ie.time):$.time,this.numberFormatter=oe.numberFormatter||x,this.styledMode=oe.styledMode,this.hasCartesianSeries=oe.showAxes,this.index=P.length,P.push(this),$.chartCount++,N(this,oe),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),F(this,"afterInit"),this.firstRender()})}initSeries(ie){let te=this.options.chart,ne=ie.type||te.type,oe=a[ne];oe||E(17,!0,this,{missingModuleFor:ne});let le=new oe;return typeof le.init=="function"&&le.init(this,ie),le}setSortedData(){this.getSeriesOrderByLinks().forEach(function(ie){ie.points||ie.data||!ie.enabledDataSorting||ie.setData(ie.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(ie,te){return ie.linkedSeries.length||te.linkedSeries.length?te.linkedSeries.length-ie.linkedSeries.length:0})}orderItems(ie,te=0){let ne=this[ie],oe=this.options[ie]=ee(this.options[ie]).slice(),le=this.userOptions[ie]=this.userOptions[ie]?ee(this.userOptions[ie]).slice():[];if(this.hasRendered&&(oe.splice(te),le.splice(te)),ne)for(let ue=te,de=ne.length;ue<de;++ue){let fe=ne[ue];fe&&(fe.index=ue,fe instanceof G&&(fe.name=fe.getName()),fe.options.isInternal||(oe[ue]=fe.options,le[ue]=fe.userOptions))}}isInsidePlot(ie,te,ne={}){var Ce;let{inverted:oe,plotBox:le,plotLeft:ue,plotTop:de,scrollablePlotBox:fe}=this,{scrollLeft:me=0,scrollTop:ge=0}=ne.visiblePlotOnly&&((Ce=this.scrollablePlotArea)==null?void 0:Ce.scrollingContainer)||{},Ee=ne.series,ve=ne.visiblePlotOnly&&fe||le,ye=ne.inverted?te:ie,Se=ne.inverted?ie:te,xe={x:ye,y:Se,isInsidePlot:!0,options:ne};if(!ne.ignoreX){let Oe=Ee&&(oe&&!this.polar?Ee.yAxis:Ee.xAxis)||{pos:ue,len:1/0},Pe=ne.paneCoordinates?Oe.pos+ye:ue+ye;Pe>=Math.max(me+ue,Oe.pos)&&Pe<=Math.min(me+ue+ve.width,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}if(!ne.ignoreY&&xe.isInsidePlot){let Oe=!oe&&ne.axis&&!ne.axis.isXAxis&&ne.axis||Ee&&(oe?Ee.xAxis:Ee.yAxis)||{pos:de,len:1/0},Pe=ne.paneCoordinates?Oe.pos+Se:de+Se;Pe>=Math.max(ge+de,Oe.pos)&&Pe<=Math.min(ge+de+ve.height,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}return F(this,"afterIsInsidePlot",xe),xe.isInsidePlot}redraw(ie){F(this,"beforeRedraw");let te=this.hasCartesianSeries?this.axes:this.colorAxis||[],ne=this.series,oe=this.pointer,le=this.legend,ue=this.userOptions.legend,de=this.renderer,fe=de.isHidden(),me=[],ge,Ee,ve,ye=this.isDirtyBox,Se=this.isDirtyLegend,xe;for(de.rootFontSize=de.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),j(!!this.hasRendered&&ie,this),fe&&this.temporaryDisplay(),this.layOutTitles(!1),ve=ne.length;ve--;)if(((xe=ne[ve]).options.stacking||xe.options.centerInCategory)&&(Ee=!0,xe.isDirty)){ge=!0;break}if(ge)for(ve=ne.length;ve--;)(xe=ne[ve]).options.stacking&&(xe.isDirty=!0);ne.forEach(function(Ce){Ce.isDirty&&(Ce.options.legendType==="point"?(typeof Ce.updateTotals=="function"&&Ce.updateTotals(),Se=!0):ue&&(ue.labelFormatter||ue.labelFormat)&&(Se=!0)),Ce.isDirtyData&&F(Ce,"updatedData")}),Se&&le&&le.options.enabled&&(le.render(),this.isDirtyLegend=!1),Ee&&this.getStacks(),te.forEach(function(Ce){Ce.updateNames(),Ce.setScale()}),this.getMargins(),te.forEach(function(Ce){Ce.isDirty&&(ye=!0)}),te.forEach(function(Ce){let Oe=Ce.min+","+Ce.max;Ce.extKey!==Oe&&(Ce.extKey=Oe,me.push(function(){F(Ce,"afterSetExtremes",M(Ce.eventArgs,Ce.getExtremes())),delete Ce.eventArgs})),(ye||Ee)&&Ce.redraw()}),ye&&this.drawChartBox(),F(this,"predraw"),ne.forEach(function(Ce){(ye||Ce.isDirty)&&Ce.visible&&Ce.redraw(),Ce.isDirtyData=!1}),oe&&oe.reset(!0),de.draw(),F(this,"redraw"),F(this,"render"),fe&&this.temporaryDisplay(!0),me.forEach(function(Ce){Ce.call()})}get(ie){let te=this.series;function ne(le){return le.id===ie||le.options&&le.options.id===ie}let oe=D(this.axes,ne)||D(this.series,ne);for(let le=0;!oe&&le<te.length;le++)oe=D(te[le].points||[],ne);return oe}getAxes(){let ie=this.userOptions;for(let te of(F(this,"getAxes"),["xAxis","yAxis"]))for(let ne of ie[te]=ee(ie[te]||{}))new n(this,ne,te);F(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((ie,te)=>
130(te.getPointsCollection().forEach(ne=>{O(ne.selectedStaging,ne.selected)&&ie.push(ne)}),ie),[])}getSelectedSeries(){return this.series.filter(function(ie){return ie.selected})}setTitle(ie,te,ne){this.applyDescription("title",ie),this.applyDescription("subtitle",te),this.applyDescription("caption",void 0),this.layOutTitles(ne)}applyDescription(ie,te){let ne=this,oe=this.options[ie]=b(this.options[ie],te),le=this[ie];le&&te&&(this[ie]=le=le.destroy()),oe&&!le&&((le=this.renderer.text(oe.text,0,0,oe.useHTML).attr({align:oe.align,class:"highcharts-"+ie,zIndex:oe.zIndex||4}).add()).update=function(ue,de){ne.applyDescription(ie,ue),ne.layOutTitles(de)},this.styledMode||le.css(M(ie==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},oe.style)),this[ie]=le)}layOutTitles(ie=!0){let te=[0,0,0],ne=this.renderer,oe=this.spacingBox;["title","subtitle","caption"].forEach(function(ue){let de=this[ue],fe=this.options[ue],me=fe.verticalAlign||"top",ge=ue==="title"?me==="top"?-3:0:me==="top"?te[0]+2:0;if(de){de.css({width:(fe.width||oe.width+(fe.widthAdjust||0))+"px"});let Ee=ne.fontMetrics(de).b,ve=Math.round(de.getBBox(fe.useHTML).height);de.align(M({y:me==="bottom"?Ee:ge+Ee,height:ve},fe),!1,"spacingBox"),fe.floating||(me==="top"?te[0]=Math.ceil(te[0]+ve):me==="bottom"&&(te[2]=Math.ceil(te[2]+ve)))}},this),te[0]&&(this.options.title.verticalAlign||"top")==="top"&&(te[0]+=this.options.title.margin),te[2]&&this.options.caption.verticalAlign==="bottom"&&(te[2]+=this.options.caption.margin);let le=!this.titleOffset||this.titleOffset.join(",")!==te.join(",");this.titleOffset=te,F(this,"afterLayOutTitles"),!this.isDirtyBox&&le&&(this.isDirtyBox=this.isDirtyLegend=le,this.hasRendered&&ie&&this.isDirtyBox&&this.redraw())}getContainerBox(){let ie=[].map.call(this.renderTo.children,ne=>{if(ne!==this.container){let oe=ne.style.display;return ne.style.display="none",[ne,oe]}}),te={width:X(this.renderTo,"width",!0)||0,height:X(this.renderTo,"height",!0)||0};return ie.filter(Boolean).forEach(([ne,oe])=>{ne.style.display=oe}),te}getChartSize(){var ue;let ie=this.options.chart,te=ie.width,ne=ie.height,oe=this.getContainerBox(),le=oe.height>1&&!(!((ue=this.renderTo.parentElement)!=null&&ue.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,te||oe.width||600),this.chartHeight=Math.max(0,W(ne,this.chartWidth)||(le?oe.height:400)),this.containerBox=oe}temporaryDisplay(ie){let te=this.renderTo,ne;if(ie)for(;te&&te.style;)te.hcOrigStyle&&(h(te,te.hcOrigStyle),delete te.hcOrigStyle),te.hcOrigDetached&&(S.body.removeChild(te),te.hcOrigDetached=!1),te=te.parentNode;else for(;te&&te.style&&(S.body.contains(te)||te.parentNode||(te.hcOrigDetached=!0,S.body.appendChild(te)),(X(te,"display",!1)==="none"||te.hcOricDetached)&&(te.hcOrigStyle={display:te.style.display,height:te.style.height,overflow:te.style.overflow},ne={display:"block",overflow:"hidden"},te!==this.renderTo&&(ne.height=0),h(te,ne),te.offsetWidth||te.style.setProperty("display","block","important")),(te=te.parentNode)!==S.body););}setClassName(ie){this.container.className="highcharts-container "+(ie||"")}getContainer(){var ve;let ie=this.options,te=ie.chart,ne="data-highcharts-chart",oe=ae(),le,ue=this.renderTo;ue||(this.renderTo=ue=te.renderTo),U(ue)&&(this.renderTo=ue=S.getElementById(ue)),ue||E(13,!0,this);let de=z(u(ue,ne));w(de)&&P[de]&&P[de].hasRendered&&P[de].destroy(),u(ue,ne,this.index),ue.innerHTML=V.emptyHTML,te.skipClone||ue.offsetWidth||this.temporaryDisplay(),this.getChartSize();let fe=this.chartHeight,me=this.chartWidth;h(ue,{overflow:"hidden"}),this.styledMode||(le=M({position:"relative",overflow:"hidden",width:me+"px",height:fe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},te.style||{}));let ge=d("div",{id:oe},le,ue);this.container=ge,this.getChartSize(),me===this.chartWidth||(me=this.chartWidth,this.styledMode||h(ge,{width:O((ve=te.style)==null?void 0:ve.width,me+"px")})),this.containerBox=this.getContainerBox(),this._cursor=ge.style.cursor;let Ee=te.renderer||!v?K.getRendererType(te.renderer):Z;if(this.renderer=new Ee(ge,me,fe,void 0,te.forExport,ie.exporting&&ie.exp
130orting.allowHTML,this.styledMode),j(void 0,this),this.setClassName(te.className),this.styledMode)for(let ye in ie.defs)this.renderer.definition(ie.defs[ye]);else this.renderer.setStyle(te.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")}getMargins(ie){let{spacing:te,margin:ne,titleOffset:oe}=this;this.resetMargins(),oe[0]&&!m(ne[0])&&(this.plotTop=Math.max(this.plotTop,oe[0]+te[0])),oe[2]&&!m(ne[2])&&(this.marginBottom=Math.max(this.marginBottom,oe[2]+te[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ne,te),F(this,"getMargins"),ie||this.getAxisMargins()}getAxisMargins(){let ie=this,te=ie.axisOffset=[0,0,0,0],ne=ie.colorAxis,oe=ie.margin,le=function(ue){ue.forEach(function(de){de.visible&&de.getOffset()})};ie.hasCartesianSeries?le(ie.axes):ne&&ne.length&&le(ne),g.forEach(function(ue,de){m(oe[de])||(ie[ue]+=te[de])}),ie.setChartSize()}getOptions(){return f(this.userOptions,s)}reflow(ie){var le;let te=this,ne=te.containerBox,oe=te.getContainerBox();(le=te.pointer)==null||delete le.chartPosition,!te.isPrinting&&!te.isResizing&&ne&&oe.width&&((oe.width!==ne.width||oe.height!==ne.height)&&(Y.clearTimeout(te.reflowTimeout),te.reflowTimeout=se(function(){te.container&&te.setSize(void 0,void 0,!1)},ie?100:0)),te.containerBox=oe)}setReflow(){let ie=this,te=ne=>{var oe;(oe=ie.options)!=null&&oe.chart.reflow&&ie.hasLoaded&&ie.reflow(ne)};if(typeof ResizeObserver=="function")new ResizeObserver(te).observe(ie.renderTo);else{let ne=o(p,"resize",te);o(this,"destroy",ne)}}setSize(ie,te,ne){let oe=this,le=oe.renderer;oe.isResizing+=1,j(ne,oe);let ue=le.globalAnimation;oe.oldChartHeight=oe.chartHeight,oe.oldChartWidth=oe.chartWidth,ie!==void 0&&(oe.options.chart.width=ie),te!==void 0&&(oe.options.chart.height=te),oe.getChartSize();let{chartWidth:de,chartHeight:fe,scrollablePixelsX:me=0,scrollablePixelsY:ge=0}=oe;(oe.isDirtyBox||de!==oe.oldChartWidth||fe!==oe.oldChartHeight)&&(oe.styledMode||(ue?T:h)(oe.container,{width:`${de+me}px`,height:`${fe+ge}px`},ue),oe.setChartSize(!0),le.setSize(de,fe,ue),oe.axes.forEach(function(Ee){Ee.isDirty=!0,Ee.setScale()}),oe.isDirtyLegend=!0,oe.isDirtyBox=!0,oe.layOutTitles(),oe.getMargins(),oe.redraw(ue),oe.oldChartHeight=void 0,F(oe,"resize"),setTimeout(()=>{oe&&F(oe,"endResize")},L(ue).duration)),oe.isResizing-=1}setChartSize(ie){let te,ne,oe,le,{chartHeight:ue,chartWidth:de,inverted:fe,spacing:me,renderer:ge}=this,Ee=this.clipOffset,ve=Math[fe?"floor":"round"];this.plotLeft=te=Math.round(this.plotLeft),this.plotTop=ne=Math.round(this.plotTop),this.plotWidth=oe=Math.max(0,Math.round(de-te-this.marginRight)),this.plotHeight=le=Math.max(0,Math.round(ue-ne-this.marginBottom)),this.plotSizeX=fe?le:oe,this.plotSizeY=fe?oe:le,this.spacingBox=ge.spacingBox={x:me[3],y:me[0],width:de-me[3]-me[1],height:ue-me[0]-me[2]},this.plotBox=ge.plotBox={x:te,y:ne,width:oe,height:le},Ee&&(this.clipBox={x:ve(Ee[3]),y:ve(Ee[0]),width:ve(this.plotSizeX-Ee[1]-Ee[3]),height:ve(this.plotSizeY-Ee[0]-Ee[2])}),ie||(this.axes.forEach(function(ye){ye.setAxisSize(),ye.setAxisTranslation()}),ge.alignElements()),F(this,"afterSetChartSize",{skipAxes:ie})}resetMargins(){F(this,"resetMargins");let ie=this,te=ie.options.chart,ne=te.plotBorderWidth||0,oe=ne/2;["margin","spacing"].forEach(function(le){let ue=te[le],de=A(ue)?ue:[ue,ue,ue,ue];["Top","Right","Bottom","Left"].forEach(function(fe,me){ie[le][me]=O(te[le+fe],de[me])})}),g.forEach(function(le,ue){ie[le]=O(ie.margin[ue],ie.spacing[ue])}),ie.axisOffset=[0,0,0,0],ie.clipOffset=[oe,oe,oe,oe],ie.plotBorderWidth=ne}drawChartBox(){let ie=this.options.chart,te=this.renderer,ne=this.chartWidth,oe=this.chartHeight,le=this.styledMode,ue=this.plotBGImage,de=ie.backgroundColor,fe=ie.plotBackgroun
vendor: 10,150 bytes, line 130
130dColor,me=ie.plotBackgroundImage,ge=this.plotLeft,Ee=this.plotTop,ve=this.plotWidth,ye=this.plotHeight,Se=this.plotBox,xe=this.clipRect,Ce=this.clipBox,Oe=this.chartBackground,Pe=this.plotBackground,He=this.plotBorder,Je,Xe,dt,ct="animate";Oe||(this.chartBackground=Oe=te.rect().addClass("highcharts-background").add(),ct="attr"),le?Je=Xe=Oe.strokeWidth():(Xe=(Je=ie.borderWidth||0)+(ie.shadow?8:0),dt={fill:de||"none"},(Je||Oe["stroke-width"])&&(dt.stroke=ie.borderColor,dt["stroke-width"]=Je),Oe.attr(dt).shadow(ie.shadow)),Oe[ct]({x:Xe/2,y:Xe/2,width:ne-Xe-Je%2,height:oe-Xe-Je%2,r:ie.borderRadius}),ct="animate",Pe||(ct="attr",this.plotBackground=Pe=te.rect().addClass("highcharts-plot-background").add()),Pe[ct](Se),!le&&(Pe.attr({fill:fe||"none"}).shadow(ie.plotShadow),me&&(ue?(me!==ue.attr("href")&&ue.attr("href",me),ue.animate(Se)):this.plotBGImage=te.image(me,ge,Ee,ve,ye).add())),xe?xe.animate({width:Ce.width,height:Ce.height}):this.clipRect=te.clipRect(Ce),ct="animate",He||(ct="attr",this.plotBorder=He=te.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),le||He.attr({stroke:ie.plotBorderColor,"stroke-width":ie.plotBorderWidth||0,fill:"none"}),He[ct](He.crisp({x:ge,y:Ee,width:ve,height:ye},-He.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")}propFromSeries(){let ie,te,ne,oe=this,le=oe.options.chart,ue=oe.options.series;["inverted","angular","polar"].forEach(function(de){for(te=a[le.type],ne=le[de]||te&&te.prototype[de],ie=ue&&ue.length;!ne&&ie--;)(te=a[ue[ie].type])&&te.prototype[de]&&(ne=!0);oe[de]=ne})}linkSeries(ie){let te=this,ne=te.series;ne.forEach(function(oe){oe.linkedSeries.length=0}),ne.forEach(function(oe){let{linkedTo:le}=oe.options;if(U(le)){let ue;(ue=le===":previous"?te.series[oe.index-1]:te.get(le))&&ue.linkedParent!==oe&&(ue.linkedSeries.push(oe),oe.linkedParent=ue,ue.enabledDataSorting&&oe.setDataSortingOptions(),oe.visible=O(oe.options.visible,ue.options.visible,oe.visible))}}),F(this,"afterLinkSeries",{isUpdating:ie})}renderSeries(){this.series.forEach(function(ie){ie.translate(),ie.render()})}render(){var ge;let ie=this.axes,te=this.colorAxis,ne=this.renderer,oe=this.options.chart.axisLayoutRuns||2,le=Ee=>{Ee.forEach(ve=>{ve.visible&&ve.render()})},ue=0,de=!0,fe,me=0;for(let Ee of(this.setTitle(),F(this,"beforeMargins"),(ge=this.getStacks)==null||ge.call(this),this.getMargins(!0),this.setChartSize(),ie)){let{options:ve}=Ee,{labels:ye}=ve;if(this.hasCartesianSeries&&Ee.horiz&&Ee.visible&&ye.enabled&&Ee.series.length&&Ee.coll!=="colorAxis"&&!this.polar){ue=ve.tickLength,Ee.createGroups();let Se=new H(Ee,0,"",!0),xe=Se.createLabel("x",ye);if(Se.destroy(),xe&&O(ye.reserveSpace,!w(ve.crossing))&&(ue=xe.getBBox().height+ye.distance+Math.max(ve.offset||0,0)),ue){xe==null||xe.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-ue,0);(de||fe||oe>1)&&me<oe;){let Ee=this.plotWidth,ve=this.plotHeight;for(let ye of ie)me===0?ye.setScale():(ye.horiz&&de||!ye.horiz&&fe)&&ye.setTickInterval(!0);me===0?this.getAxisMargins():this.getMargins(),de=Ee/this.plotWidth>(me?1:1.1),fe=ve/this.plotHeight>(me?1:1.05),me++}this.drawChartBox(),this.hasCartesianSeries?le(ie):te&&te.length&&le(te),this.seriesGroup||(this.seriesGroup=ne.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(ie){let te=this,ne=b(!0,this.options.credits,ie);ne.enabled&&!this.credits&&(this.credits=this.renderer.text(ne.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ne.href&&(p.location.href=ne.href)}).attr({align:ne.position.align,zIndex:8}),te.styledMode||this.credits.css(ne.style),this.credits.add().align(ne.position),this.credits.update=function(oe){te.credits=te.credits.destroy(),te.addCredits(oe)})}destroy(){let ie,te=this,ne=te.axes,oe=te.series,le=te.container,ue=le&&le.parentNode;for(F(te,"destroy"),te.renderer.forExport?I(P,te):P[te.index]=void 0,$.chartCount--,te.renderTo.removeAttribute("data-highcharts-chart"),Q(te),ie=ne.length;ie--;)ne[ie]=ne[ie].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),ie=oe.length;ie--;)oe[ie]=oe[ie].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(de){let fe=te[de];fe&&fe.destroy&&(te[de]=fe.destroy())}),le&&(le.innerHTML=V.emptyHTML,Q(le),ue&&y(le)),k(te,function(de,fe){delete te[fe]})}firstRender(){var oe;let ie=this,te=ie.options;ie.getContainer(),ie.resetMargins(),ie.setChartSize(),ie.propFromSeries(),ie.getAxes();let ne=_(te.series)?te.series:[];te.series=[],ne.forEach(function(le){ie.initSeries(le)}),ie.linkSeries(),ie.setSortedData(),F(ie,"beforeRender"),ie.render(),(oe=ie.pointer)==null||oe.getChartPosition(),ie.renderer.imgCount||ie.hasLoaded||ie.onload(),ie.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(ie){ie&&this.index!==void 0&&ie.apply(this,[this])},this),F(this,"load"),F(this,"render"),m(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:ie,title:te}=this;!ie||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(te&&te.element.textContent||"").replace(/</g,"<")}),ie.accessibility&&ie.accessibility.enabled===!1||E('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(ie,te,ne){let oe,le=this;return ie&&(te=O(te,!0),F(le,"addSeries",{options:ie},function(){oe=le.initSeries(ie),le.isDirtyLegend=!0,le.linkSeries(),oe.enabledDataSorting&&oe.setData(ie.data,!1),F(le,"afterAddSeries",{series:oe}),te&&le.redraw(ne)})),oe}addAxis(ie,te,ne,oe){return this.createAxis(te?"xAxis":"yAxis",{axis:ie,redraw:ne,animation:oe})}addColorAxis(ie,te,ne){return this.createAxis("colorAxis",{axis:ie,redraw:te,animation:ne})}createAxis(ie,te){let ne=new n(this,te.axis,ie);return O(te.redraw,!0)&&this.redraw(te.animation),ne}showLoading(ie){let te=this,ne=te.options,oe=ne.loading,le=function(){ue&&h(ue,{left:te.plotLeft+"px",top:te.plotTop+"px",width:te.plotWidth+"px",height:te.plotHeight+"px"})},ue=te.loadingDiv,de=te.loadingSpan;ue||(te.loadingDiv=ue=d("div",{className:"highcharts-loading highcharts-loading-hidden"},null,te.container)),de||(te.loadingSpan=de=d("span",{className:"highcharts-loading-inner"},null,ue),o(te,"redraw",le)),ue.className="highcharts-loading",V.setElementHTML(de,O(ie,ne.lang.loading,"")),te.styledMode||(h(ue,M(oe.style,{zIndex:10})),h(de,oe.labelStyle),te.loadingShown||(h(ue,{opacity:0,display:""}),T(ue,{opacity:oe.style.opacity||.5},{duration:oe.showDuration||0}))),te.loadingShown=!0,le()}hideLoading(){let ie=this.options,te=this.loadingDiv;te&&(te.className="highcharts-loading highcharts-loading-hidden",this.styledMode||T(te,{opacity:0},{duration:ie.loading.hideDuration||100,complete:function(){h(te,{display:"none"})}})),this.loadingShown=!1}update(ie,te,ne,oe){let le,ue,de,fe=this,me={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},ge=ie.isResponsiveOptions,Ee=[];F(fe,"update",{options:ie}),ge||fe.setResponsive(!1,!0),ie=f(ie,fe.options),fe.userOptions=b(fe.userOptions,ie);let ve=ie.chart;ve&&(b(!0,fe.options.chart,ve),this.setZoomOptions(),"className"in ve&&fe.setClassName(ve.className),("inverted"in ve||"polar"in ve||"type"in ve)&&(fe.propFromSeries(),le=!0),"alignTicks"in ve&&(le=!0),"events"in ve&&N(this,ve),k(ve,function(xe,Ce){fe.propsRequireUpdateSeries.indexOf("chart."+Ce)!==-1&&(ue=!0),fe.propsRequireDirtyBox.indexOf(Ce)!==-1&&(fe.isDirtyBox=!0),fe.propsRequireReflow.indexOf(Ce)===-1||(fe.isDirtyBox=!0,ge||(de=!0))}),!fe.styledMode&&ve.style&&fe.renderer.setStyle(fe.options.chart.style||{})),!fe.styledMode&&ie.colors&&(this.options.colors=ie.colors),ie.time&&(this.time===c&&(this.time=new R(ie.time)),b(!0,fe.options.time,ie.time)),k(ie,function(xe,Ce){fe[Ce]&&typeof fe[Ce].update=="function"?fe[Ce].update(xe,!1):typeof fe[me[Ce]]=="function"?fe[me[Ce]](xe):Ce!=="colors"&&fe.collectionsWithUpdate.indexOf(Ce)===-1&&b(!0,fe.options[Ce],ie[Ce]),Ce!=="chart"&&fe.propsRequireUpdateSeries.indexOf(Ce)!==-1&&(ue=!0)}),this.collectionsWithUpdate.forEach(function(xe){ie[xe]&&(ee(ie[xe]).forEach(function(Ce,Oe){let Pe,He=m(Ce.id);He&&(Pe=fe.get(Ce.id)),!Pe&&fe[xe]&&(Pe=fe[xe][O(Ce.index,Oe)])&&(He&&m(Pe.options.id)||Pe.options.isInternal)&&(Pe=void 0),Pe&&Pe.coll===xe&&(Pe.update(Ce,!1),ne&&(Pe.touched=!0)),!Pe&&ne&&fe.collectionsWithInit[xe]&&(fe.collectionsWithInit[xe][0].apply(fe,[Ce].concat(fe.collectionsWithInit[xe][1]||[]).concat([!1])).touched=!0)}),ne&&fe[xe].forEach(function(Ce){Ce.touched||Ce.options.isInternal?delete Ce.touched:Ee.push(Ce)}))}),Ee.forEach(function(xe){xe.chart&&xe.remove&&xe.remove(!1)}),le&&fe.axes.forEach(function(xe){xe.update({},!1)}),ue&&fe.getSeriesOrderByLinks().forEach(function(xe){xe.chart&&xe.update({},!1)},this);let ye=ve&&ve.width,Se=ve&&(U(ve.height)?W(ve.height,ye||fe.chartWidth):ve.height);de||w(ye)&&ye!==fe.chartWidth||w(Se)&&Se!==fe.chartHeight?fe.setSize(ye,Se,oe):O(te,!0)&&fe.redraw(oe),F(fe,"afterUpdate",{options:ie,redraw:te,animation:oe})}setSubtitle(ie,te){this.applyDescription("subtitle",ie),this.layOutTitles(te)}setCaption(ie,te){this.applyDescription("caption",ie),this.layOutTitles(te)}showResetZoom(){let ie=this,te=s.lang,ne=ie.zooming.resetButton,oe=ne.theme,le=ne.relativeTo==="chart"||ne.relativeTo==="spacingBox"?null:"plotBox";function ue(){ie.zoomOut()}F(this,"beforeShowResetZoom",null,function(){ie.resetZoomButton=ie.renderer.button(te.resetZoom,null,null,ue,oe).attr({align:ne.position.align,title:te.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ne.position,!1,le)}),F(this,"afterShowResetZoom")}zoomOut(){F(this,"selection",{resetSelection:!0}
130,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(ie,te){let ne=this,oe=typeof te=="object"?te:{enabled:te,type:"x"},le=oe.type,ue=le&&ne[{x:"xAxis",xy:"axes",y:"yAxis"}[le]].filter(fe=>fe.options.panningEnabled&&!fe.options.isInternal),de=ne.options.chart;de!=null&&de.panning&&(de.panning=oe),F(this,"pan",{originalEvent:ie},()=>{ne.transform({axes:ue,event:ie,to:{x:ie.chartX-(ne.mouseDownX||0),y:ie.chartY-(ne.mouseDownY||0)},trigger:"pan"}),h(ne.container,{cursor:"move"})})}transform(ie){var ye;let{axes:te=this.axes,event:ne,from:oe={},reset:le,selection:ue,to:de={},trigger:fe}=ie,{inverted:me}=this,ge=!1,Ee,ve;for(let Se of((ye=this.hoverPoints)==null||ye.forEach(xe=>xe.setState()),te)){let{horiz:xe,len:Ce,minPointOffset:Oe=0,options:Pe,reversed:He}=Se,Je=xe?"width":"height",Xe=xe?"x":"y",dt=O(de[Je],Se.len),ct=O(oe[Je],Se.len),vt=10>Math.abs(dt)?1:dt/ct,Gt=(oe[Xe]||0)+ct/2-Se.pos,Ft=Gt-((de[Xe]??Se.pos)+dt/2-Se.pos)/vt,Ii=He&&!me||!He&&me?-1:1;if(!le&&(Gt<0||Gt>Se.len))continue;let mt=Se.toValue(Ft,!0)+(ue||Se.isOrdinal?0:Oe*Ii),Lt=Se.toValue(Ft+Ce/vt,!0)-(ue||Se.isOrdinal?0:Oe*Ii||0),Kt=Se.allExtremes;if(mt>Lt&&([mt,Lt]=[Lt,mt]),vt===1&&!le&&Se.coll==="yAxis"&&!Kt){for(let Ct of Se.series){let Fe=Ct.getExtremes(Ct.getProcessedData(!0).yData,!0);Kt??(Kt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),w(Fe.dataMin)&&w(Fe.dataMax)&&(Kt.dataMin=Math.min(Fe.dataMin,Kt.dataMin),Kt.dataMax=Math.max(Fe.dataMax,Kt.dataMax))}Se.allExtremes=Kt}let{dataMin:Po,dataMax:qn,min:fs,max:Fs}=M(Se.getExtremes(),Kt||{}),Vs=Po??Pe.min,zs=qn??Pe.max,Zn=Lt-mt,yn=Se.categories?0:Math.min(Zn,zs-Vs),Fn=Vs-yn*(m(Pe.min)?0:Pe.minPadding),Kn=zs+yn*(m(Pe.max)?0:Pe.maxPadding),$s=Se.allowZoomOutside||vt===1||fe!=="zoom"&&vt>1,hn=Math.min(Pe.min??Fn,Fn,$s?fs:Fn),vn=Math.max(Pe.max??Kn,Kn,$s?Fs:Kn);(!Se.isOrdinal||Se.options.overscroll||vt!==1||le)&&(mt<hn&&(mt=hn,vt>=1&&(Lt=mt+Zn)),Lt>vn&&(Lt=vn,vt>=1&&(mt=Lt-Zn)),(le||Se.series.length&&(mt!==fs||Lt!==Fs)&&mt>=hn&&Lt<=vn)&&(ue?ue[Se.coll].push({axis:Se,min:mt,max:Lt}):(Se.isPanning=fe!=="zoom",Se.isPanning&&(ve=!0),Se.setExtremes(le?void 0:mt,le?void 0:Lt,!1,!1,{move:Ft,trigger:fe,scale:vt}),!le&&(mt>hn||Lt<vn)&&fe!=="mousewheel"&&(Ee=!0)),ge=!0),ne&&(this[xe?"mouseDownX":"mouseDownY"]=ne[xe?"chartX":"chartY"]))}return ge&&(ue?F(this,"selection",ue,()=>{delete ie.selection,ie.trigger="zoom",this.transform(ie)}):(!Ee||ve||this.resetZoomButton?!Ee&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(fe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),ge}}return M(he.prototype,{callbacks:[],collectionsWithInit:{xAxis:[he.prototype.addAxis,[!0]],yAxis:[he.prototype.addAxis,[!1]],series:[he.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
130dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),he}),r(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{stop:B}=t,{composed:$}=n,{addEvent:K,createElement:G,css:q,defined:Z,merge:R,pushUnique:Y}=C;function V(){let L=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!L&&(this.scrollablePlotArea=L=new T(this)),L==null||L.applyFixed()}function H(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class T{static compose(j,s,c){Y($,this.compose)&&(K(j,"afterInit",H),K(s,"afterSetChartSize",x=>this.afterSetSize(x.target,x)),K(s,"render",V),K(c,"show",H))}static afterSetSize(j,s){let c,x,N,{minWidth:P,minHeight:S}=j.options.chart.scrollablePlotArea||{},{clipBox:g,plotBox:v,inverted:p,renderer:a}=j;if(!a.forExport&&(P?(j.scrollablePixelsX=c=Math.max(0,P-j.chartWidth),c&&(j.scrollablePlotBox=R(j.plotBox),v.width=j.plotWidth+=c,g[p?"height":"width"]+=c,N=!0)):S&&(j.scrollablePixelsY=x=Math.max(0,S-j.chartHeight),Z(x)&&(j.scrollablePlotBox=R(j.plotBox),v.height=j.plotHeight+=x,g[p?"width":"height"]+=x,N=!1)),Z(N)&&!s.skipAxes))for(let o of j.axes)o.horiz===N&&(o.setAxisSize(),o.setAxisTranslation())}constructor(j){var u;let s,c=j.options.chart,x=l.getRendererType(),N=c.scrollablePlotArea||{},P=this.moveFixedElements.bind(this),S={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};
130j.scrollablePixelsX&&(S.overflowX="auto"),j.scrollablePixelsY&&(S.overflowY="auto"),this.chart=j;let g=this.parentDiv=G("div",{className:"highcharts-scrolling-parent"},{position:"relative"},j.renderTo),v=this.scrollingContainer=G("div",{className:"highcharts-scrolling"},S,g),p=this.innerContainer=G("div",{className:"highcharts-inner-container"},void 0,v),a=this.fixedDiv=G("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((u=c.style)==null?void 0:u.zIndex)||0)+2,top:0},void 0,!0),o=this.fixedRenderer=new x(a,j.chartWidth,j.chartHeight,c.style);this.mask=o.path().attr({fill:c.backgroundColor||"#fff","fill-opacity":N.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),v.parentNode.insertBefore(a,v),q(j.renderTo,{overflow:"visible"}),K(j,"afterShowResetZoom",P),K(j,"afterApplyDrilldown",P),K(j,"afterLayOutTitles",P),K(v,"scroll",()=>{let{pointer:d,hoverPoint:h}=j;d&&(delete d.chartPosition,h&&(s=h),d.runPointActions(void 0,s,!0))}),p.appendChild(j.container)}applyFixed(){var w;let{chart:j,fixedRenderer:s,isDirty:c,scrollingContainer:x}=this,{axisOffset:N,chartWidth:P,chartHeight:S,container:g,plotHeight:v,plotLeft:p,plotTop:a,plotWidth:o,scrollablePixelsX:u=0,scrollablePixelsY:d=0}=j,{scrollPositionX:h=0,scrollPositionY:m=0}=j.options.chart.scrollablePlotArea||{},f=P+u,y=S+d;s.setSize(P,S),(c??!0)&&(this.isDirty=!1,this.moveFixedElements()),B(j.container),q(g,{width:`${f}px`,height:`${y}px`}),j.renderer.boxWrapper.attr({width:f,height:y,viewBox:[0,0,f,y].join(" ")}),(w=j.chartBackground)==null||w.attr({width:f,height:y}),q(x,{width:`${P}px`,height:`${S}px`}),Z(c)||(x.scrollLeft=u*h,x.scrollTop=d*m);let I=a-N[0]-1,E=p-N[3]-1,M=a+v+N[2]+1,D=p+o+N[1]+1,F=p+o-u,X=a+v-d,_=[["M",0,0]];u?_=[["M",0,I],["L",p-1,I],["L",p-1,M],["L",0,M],["Z"],["M",F,I],["L",P,I],["L",P,M],["L",F,M],["Z"]]:d&&(_=[["M",E,0],["L",E,a-1],["L",D,a-1],["L",D,0],["Z"],["M",E,X],["L",E,S],["L",D,S],["L",D,X],["Z"]]),j.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:_})}moveFixedElements(){let j,{container:s,inverted:c,scrollablePixelsX:x,scrollablePixelsY:N}=this.chart,P=this.fixedRenderer,S=T.fixedSelectors;for(let g of(x&&!c?j=".highcharts-yaxis":x&&c||N&&!c?j=".highcharts-xaxis":N&&c&&(j=".highcharts-yaxis"),j&&S.push(`${j}:not(.highcharts-radial-axis)`,`${j}-labels:not(.highcharts-radial-axis-labels)`),S))[].forEach.call(s.querySelectorAll(g),v=>{(v.namespaceURI===P.SVG_NS?P.box:P.box.parentNode).appendChild(v),v.style.pointerEvents="auto"})}}return T.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],T}),r(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{format:C}=t,{series:B}=n,{destroyObjectProperties:$,fireEvent:K,isNumber:G,pick:q}=l;return class{constructor(Z,R,Y,V,H){let T=Z.chart.inverted,L=Z.reversed;this.axis=Z;let j=this.isNegative=!!Y!=!!L;this.options=R=R||{},this.x=V,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=H,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:R.align||(T?j?"left":"right":"center"),verticalAlign:R.verticalAlign||(T?"middle":j?"bottom":"top"),y:R.y,x:R.x},this.textAlign=R.textAlign||(T?j?"right":"left":"center")}destroy(){$(this,this.axis)}render(Z){let R=this.axis.chart,Y=this.options,V=Y.format,H=V?C(V,this,R):Y.formatter.call(this);if(this.label)this.label.attr({text:H,visibility:"hidden"});else{this.label=R.renderer.label(H,null,void 0,Y.shape,void 0,void 0,Y.useHTML,!1,"stack-labels");let T={r:Y.borderRadius||0,text:H,padding:q(Y.padding,5),visibility:"hidden"};R.styledMode||(T.fill=Y.backgroundColor,T.stroke=Y.borderColor,T["stroke-width"]=Y.borderWidth,this.label.css(Y.style||{})),this.label.attr(T),this.label.added||this.label.add(Z)}
130this.label.labelrank=R.plotSizeY,K(this,"afterRender")}setOffset(Z,R,Y,V,H,T){let{alignOptions:L,axis:j,label:s,options:c,textAlign:x}=this,N=j.chart,P=this.getStackBox({xOffset:Z,width:R,boxBottom:Y,boxTop:V,defaultX:H,xAxis:T}),{verticalAlign:S}=L;if(s&&P){let g=s.getBBox(void 0,0),v=s.padding,p=q(c.overflow,"justify")==="justify",a;L.x=c.x||0,L.y=c.y||0;let{x:o,y:u}=this.adjustStackPosition({labelBox:g,verticalAlign:S,textAlign:x});P.x-=o,P.y-=u,s.align(L,!1,P),(a=N.isInsidePlot(s.alignAttr.x+L.x+o,s.alignAttr.y+L.y+u))||(p=!1),p&&B.prototype.justifyDataLabel.call(j,s,L,s.alignAttr,g,P),s.attr({x:s.alignAttr.x,y:s.alignAttr.y,rotation:c.rotation,rotationOriginX:g.width*{left:0,center:.5,right:1}[c.textAlign||"center"],rotationOriginY:g.height/2}),q(!p&&c.crop,!0)&&(a=G(s.x)&&G(s.y)&&N.isInsidePlot(s.x-v+(s.width||0),s.y)&&N.isInsidePlot(s.x+v,s.y)),s[a?"show":"hide"]()}K(this,"afterSetOffset",{xOffset:Z,width:R})}adjustStackPosition({labelBox:Z,verticalAlign:R,textAlign:Y}){let V={bottom:0,middle:1,top:2,right:1,center:0,left:-1},H=V[R],T=V[Y];return{x:Z.width/2+Z.width/2*T,y:Z.height/2*H}}getStackBox(Z){let R=this.axis,Y=R.chart,{boxTop:V,defaultX:H,xOffset:T,width:L,boxBottom:j}=Z,s=R.stacking.usePercentage?100:q(V,this.total,0),c=R.toPixels(s),x=Z.xAxis||Y.xAxis[0],N=q(H,x.translate(this.x))+T,P=Math.abs(c-R.toPixels(j||G(R.min)&&R.logarithmic&&R.logarithmic.lin2log(R.min)||0)),S=Y.inverted,g=this.isNegative;return S?{x:(g?c:c-P)-Y.plotLeft,y:x.height-N-L+x.top-Y.plotTop,width:P,height:L}:{x:N+x.transB-Y.plotLeft,y:(g?c-P:c)-Y.plotTop,width:L,height:P}}}}),r(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{getDeferredAnimation:K}=t,{series:{prototype:G}}=l,{addEvent:q,correctFloat:Z,defined:R,destroyObjectProperties:Y,fireEvent:V,isArray:H,isNumber:T,objectEach:L,pick:j}=B;function s(){let a=this.inverted;this.axes.forEach(o=>{o.stacking&&o.stacking.stacks&&o.hasVisibleSeries&&(o.stacking.oldStacks=o.stacking.stacks)}),this.series.forEach(o=>{let u=o.xAxis&&o.xAxis.options||{};o.options.stacking&&o.reserveSpace()&&(o.stackKey=[o.type,j(o.options.stack,""),a?u.top:u.left,a?u.height:u.width].join(","))})}function c(){var o;let a=this.stacking;if(a){let u=a.stacks;L(u,(d,h)=>{Y(d),delete u[h]}),(o=a.stackTotalGroup)==null||o.destroy()}}function x(){this.stacking||(this.stacking=new p(this))}function N(a,o,u,d){return!R(a)||a.x!==o||d&&a.stackKey!==d?a={x:o,index:0,key:d,stackKey:d}:a.index++,a.key=[u,o,a.index].join(","),a}function P(){let a,o=this,u=o.yAxis,d=o.stackKey||"",h=u.stacking.stacks,m=o.processedXData,f=o.options.stacking,y=o[f+"Stacker"];y&&[d,"-"+d].forEach(I=>{var X;let E=m.length,M,D,F;for(;E--;)M=m[E],a=o.getStackIndicator(a,M,o.index,I),D=(X=h[I])==null?void 0:X[M],(F=D==null?void 0:D.points[a.key||""])&&y.call(o,F,D,E)})}function S(a,o,u){let d=o.total?100/o.total:0;a[0]=Z(a[0]*d),a[1]=Z(a[1]*d),this.stackedYData[u]=a[1]}function g(a){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?G.setStackedPoints.call(this,a,"group"):a.stacking.resetStacks())}function v(a,o){var ae,he;let u,d,h,m,f,y,I,E,M,D=o||this.options.stacking;if(!D||!this.reserveSpace()||({group:"xAxis"}[D]||"yAxis")!==a.coll)return;let F=this.processedXData,X=this.processedYData,_=[],w=X.length,A=this.options,U=A.threshold||0,b=A.startFromThreshold?U:0,k=A.stack,O=o?`${this.type},${D}`:this.stackKey||"",z="-"+O,W=this.negStacks,Q=a.stacking,ee=Q.stacks,se=Q.oldStacks;for(Q.stacksTouched+=1,I=0;I<w;I++){E=F[I],M=X[I],y=(u=this.getStackIndicator(u,E,this.index)).key||"",ee[f=(d=W&&M<(b?0:U))?z:O]||(ee[f]={}),ee[f][E]||((ae=se[f])!=null&&ae[E]?(ee[f][E]=se[f][E],ee[f][E].total=null):ee[f][E]=new C(a,a.options.stackLabels,!!d,E,k)),h=ee[f][E],M!==null?(h.points[y]=h.points[this.index]=[j(h.cumulative,b)],R(h.cumulative)||(h.base=y),h.touched=Q.stacksTouched,u.index>0&&this.singleStacks===!1&&(h.points[y][0]=h.points[this.index+","+E+",0"][0])):(delete h.points[y],delete h.points[this.index]);let ce=h.total||0;D==="percent"?(m=d?O:z,ce=W&&((he=ee[m])!=null&&he[E])?(m=ee[m][E]).total=Math.max(m.total||0,ce)+Math.abs(M)||0:Z(ce+(Math.abs(M)||0))):D==="group"?(H(M)&&(M=M[0]),M!==null&&ce++):ce=Z(ce+(M||0)),D==="group"?h.cumulative=(ce||1)-1:h.cumulative=Z(j(h.cumulative,b)+(M||0)),h.total=ce,M!==null&&(h.points[y].push(h.cumulative),_[I]=h.cumulative,h.hasValidPoints=!0)}D==="percent"&&(Q.usePercentage=!0),D!=="group"&&(this.stackedYData=_),Q.oldStacks={}}class p{constructor(o){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=o}buildStacks(){let o,u,d=this.axis,h=d.series,m=d.coll==="xAxis",f=d.options.reversedStacks,y=h.length;for(this.resetStacks(),this.usePercentage=!1,u=y;u--;)o=h[f?u:y-u-1],m&&o.setGroupedPoints(d),o.setStackedPoints(d);if(!m)for(u=0;
vendor: 5,286 bytes, line 130
130u<y;u++)h[u].modifyStacks();V(d,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,L(this.stacks,o=>{L(o,u=>{u.cumulative=u.total})}))}resetStacks(){L(this.stacks,o=>{L(o,(u,d)=>{T(u.touched)&&u.touched<this.stacksTouched?(u.destroy(),delete o[d]):(u.total=null,u.cumulative=null)})})}renderStackTotals(){var y;let o=this.axis,u=o.chart,d=u.renderer,h=this.stacks,m=K(u,((y=o.options.stackLabels)==null?void 0:y.animation)||!1),f=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({zIndex:6,opacity:0}).add();f.translate(u.plotLeft,u.plotTop),L(h,I=>{L(I,E=>{E.render(f)})}),f.animate({opacity:1},m)}}return($||($={})).compose=function(a,o,u){let d=o.prototype,h=u.prototype;d.getStacks||(q(a,"init",x),q(a,"destroy",c),d.getStacks=s,h.getStackIndicator=N,h.modifyStacks=P,h.percentStacker=S,h.setGroupedPoints=g,h.setStackedPoints=v)},$}),r(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{defined:C,merge:B,isObject:$}=l;class K extends t{drawGraph(){let q=this.options,Z=(this.gappedPath||this.getGraphPath).call(this),R=this.chart.styledMode;[this,...this.zones].forEach((Y,V)=>{let H,T=Y.graph,L=T?"animate":"attr",j=Y.dashStyle||q.dashStyle;T?(T.endX=this.preventGraphAnimation?null:Z.xMap,T.animate({d:Z})):Z.length&&(Y.graph=T=this.chart.renderer.path(Z).addClass("highcharts-graph"+(V?` highcharts-zone-graph-${V-1} `:" ")+(V&&Y.className||"")).attr({zIndex:1}).add(this.group)),T&&!R&&(H={stroke:!V&&q.lineColor||Y.color||this.color||"#cccccc","stroke-width":q.lineWidth||0,fill:this.fillGraph&&this.color||"none"},j?H.dashstyle=j:q.linecap!=="square"&&(H["stroke-linecap"]=H["stroke-linejoin"]="round"),T[L](H).shadow(V<2&&q.shadow&&B({filterUnits:"userSpaceOnUse"},$(q.shadow)?q.shadow:{}))),T&&(T.startX=Z.xMap,T.isArea=Z.isArea)})}getGraphPath(q,Z,R){let Y=this,V=Y.options,H=[],T=[],L,j=V.step,s=(q=q||Y.points).reversed;return s&&q.reverse(),(j={right:1,center:2}[j]||j&&3)&&s&&(j=4-j),(q=this.getValidPoints(q,!1,!(V.connectNulls&&!Z&&!R))).forEach(function(c,x){let N,P=c.plotX,S=c.plotY,g=q[x-1],v=c.isNull||typeof S!="number";(c.leftCliff||g&&g.rightCliff)&&!R&&(L=!0),v&&!C(Z)&&x>0?L=!V.connectNulls:v&&!Z?L=!0:(x===0||L?N=[["M",c.plotX,c.plotY]]:Y.getPointSpline?N=[Y.getPointSpline(q,c,x)]:j?(N=j===1?[["L",g.plotX,S]]:j===2?[["L",(g.plotX+P)/2,g.plotY],["L",(g.plotX+P)/2,S]]:[["L",P,g.plotY]]).push(["L",P,S]):N=[["L",P,S]],T.push(c.x),j&&(T.push(c.x),j===2&&T.push(c.x)),H.push.apply(H,N),L=!1)}),H.xMap=T,Y.graphPath=H,H}}return K.defaultOptions=B(t.defaultOptions,{legendSymbol:"lineMarker"}),n.registerSeriesType("line",K),K}),r(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),r(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{line:C}}=n,{extend:B,merge:$,objectEach:K,pick:G}=l;class q extends C{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:R,options:Y}=this;[this,...this.zones].forEach((V,H)=>{let T={},L=V.fillColor||Y.fillColor,j=V.area,s=j?"animate":"attr";j?(j.endX=this.preventGraphAnimation?null:R.xMap,j.animate({d:R})):(T.zIndex=0,(j=V.area=this.chart.renderer.path(R).addClass("highcharts-area"+(H?` highcharts-zone-area-${H-1} `:" ")+(H&&V.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(T.fill=L||V.color||this.color,T["fill-opacity"]=L?1:Y.fillOpacity??.75,j.css({pointerEvents:this.stickyTracking?"none":"auto"})),j[s](T),j.startX=R.xMap,j.shiftUnit=Y.step?2:1})}getGraphPath(R){let Y,V,H,T=C.prototype.getGraphPath,L=this.options,j=L.stacking,s=this.yAxis,c=[],x=[],N=this.index,P=s.stacking.stacks[this.stackKey],S=L.threshold,g=Math.round(s.getThreshold(L.threshold)),v=G(L.connectNulls,j==="percent"),p=function(m,f,y){let I=R[m],E=j&&P[I.x].points[N],M=I[y+"Null"]||0,D=I[y+"Cliff"]||0,F,X,_=!0;D||M?(F=(M?E[0]:E[1])+D,X=E[0]+D,_=!!M):!j&&R[f]&&R[f].isNull&&(F=X=S),F!==void 0&&(x.push({plotX:Y,plotY:F===null?g:s.getThreshold(F),isNull:_,isCliff:!0}),c.push({plotX:Y,plotY:X===null?g:s.getThreshold(X),doCurve:!1}))};R=R||this.points,j&&(R=this.getStackPoints(R));for(let m=0,f=R.length;m<f;++m)j||(R[m].leftCliff=R[m].rightCliff=R[m].leftNull=R[m].rightNull=void 0),V=R[m].isNull,Y=G(R[m].rectPlotX,R[m].plotX),H=j?G(R[m].yBottom,g):g,V&&!v||(v||p(m,m-1,"left"),V&&!j&&v||(x.push(R[m]),c.push({x:m,plotX:Y,plotY:H})),v||p(m,m+1,"right"));let a=T.call(this,x,!0,!0);c.reversed=!0;let o=T.call(this,c,!0,!0),u=o[0];u&&u[0]==="M"&&(o[0]=["L",u[1],u[2]]);let d=a.concat(o);d.length&&d.push(["Z"]);let h=T.call(this,x,!1,v);return this.chart.series.length>1&&j&&x.some(m=>m.isCliff)&&(d.hasStackedCliffs=h.hasStackedCliffs=!0),d.xMap=a.xMap,this.areaPath=d,h}getStackPoints(R){let Y=this,V=[],H=[],T=this.xAxis,L=this.yAxis,j=L.stacking.stacks[this.stackKey],s={},c=L.series,x=c.length,N=L.options.reversedStacks?1:-1,P=c.indexOf(Y);if(R=R||this.points,this.options.stacking){for(let g=0;g<R.length;g++)R[g].leftNull=R[g].rightNull=void 0,s[R[g].x]=R[g];K(j,function(g,v){g.total!==null&&H.push(v)}),H.sort(function(g,v){return g-v});let S=c.map(g=>g.visible);H.forEach(function(g,v){let p=0,a,o;
130if(s[g]&&!s[g].isNull)V.push(s[g]),[-1,1].forEach(function(u){let d=u===1?"rightNull":"leftNull",h=j[H[v+u]],m=0;if(h){let f=P;for(;f>=0&&f<x;){let y=c[f].index;!(a=h.points[y])&&(y===Y.index?s[g][d]=!0:S[f]&&(o=j[g].points[y])&&(m-=o[1]-o[0])),f+=N}}s[g][u===1?"rightCliff":"leftCliff"]=m});else{let u=P;for(;u>=0&&u<x;){let d=c[u].index;if(a=j[g].points[d]){p=a[1];break}u+=N}p=G(p,0),p=L.translate(p,0,1,0,1),V.push({isNull:!0,plotX:T.translate(g,0,0,0,1),x:g,plotY:p,yBottom:p})}})}return V}}return q.defaultOptions=$(C.defaultOptions,t),B(q.prototype,{singleStacks:!1}),n.registerSeriesType("area",q),q}),r(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{line:l}=t.seriesTypes,{merge:C,pick:B}=n;class $ extends l{getPointSpline(G,q,Z){let R,Y,V,H,T=q.plotX||0,L=q.plotY||0,j=G[Z-1],s=G[Z+1];function c(N){return N&&!N.isNull&&N.doCurve!==!1&&!q.isCliff}if(c(j)&&c(s)){let N=j.plotX||0,P=j.plotY||0,S=s.plotX||0,g=s.plotY||0,v=0;R=(1.5*T+N)/2.5,Y=(1.5*L+P)/2.5,V=(1.5*T+S)/2.5,H=(1.5*L+g)/2.5,V!==R&&(v=(H-Y)*(V-T)/(V-R)+L-H),Y+=v,H+=v,Y>P&&Y>L?(Y=Math.max(P,L),H=2*L-Y):Y<P&&Y<L&&(Y=Math.min(P,L),H=2*L-Y),H>g&&H>L?(H=Math.max(g,L),Y=2*L-H):H<g&&H<L&&(H=Math.min(g,L),Y=2*L-H),q.rightContX=V,q.rightContY=H,q.controlPoints={low:[R,Y],high:[V,H]}}let x=["C",B(j.rightContX,j.plotX,0),B(j.rightContY,j.plotY,0),B(R,T,0),B(Y,L,0),T,L];return j.rightContX=j.rightContY=void 0,x}}return $.defaultOptions=C(l.defaultOptions),t.registerSeriesType("spline",$),$}),r(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{area:C,area:{prototype:B}}=n.seriesTypes,{extend:$,merge:K}=l;class G extends t{}return G.defaultOptions=K(t.defaultOptions,C.defaultOptions),$(G.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph}),n.registerSeriesType("areaspline",G),G}),r(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),r(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{animObject:G}=t,{parse:q}=n,{noop:Z}=C,{clamp:R,crisp:Y,defined:V,extend:H,fireEvent:T,isArray:L,isNumber:j,merge:s,pick:c,objectEach:x}=K;class N extends B{animate(S){let g,v,p=this,a=this.yAxis,o=a.pos,u=a.reversed,d=p.options,{clipOffset:h,inverted:m}=this.chart,f={},y=m?"translateX":"translateY";S&&h?(f.scaleY=.001,v=R(a.toPixels(d.threshold),o,o+a.len),m?(v+=u?-Math.floor(h[0]):Math.ceil(h[2]),f.translateX=v-a.len):(v+=u?Math.ceil(h[0]):-Math.floor(h[2]),f.translateY=v),p.clipBox&&p.setClip(),p.group.attr(f)):(g=Number(p.group.attr(y)),p.group.animate({scaleY:1},H(G(p.options.animation),{step:function(I,E){p.group&&(f[y]=g+E.pos*(o-g),p.group.attr(f))}})))}init(S,g){super.init.apply(this,arguments);let v=this;(S=v.chart).hasRendered&&S.series.forEach(function(p){p.type===v.type&&(p.isDirty=!0)})}getColumnMetrics(){var M,D;let S=this,g=S.options,v=S.xAxis,p=S.yAxis,a=v.options.reversedStacks,o=v.reversed&&!a||!v.reversed&&a,u={},d,h=0;g.grouping===!1?h=1:S.chart.series.forEach(function(F){let X,_=F.yAxis,w=F.options;F.type===S.type&&F.reserveSpace()&&p.len===_.len&&p.pos===_.pos&&(w.stacking&&w.stacking!=="group"?(u[d=F.stackKey]===void 0&&(u[d]=h++),X=u[d]):w.grouping!==!1&&(X=h++),F.columnIndex=X)});let m=Math.min(Math.abs(v.transA)*(!((M=v.brokenAxis)!=null&&M.hasBreaks)&&((D=v.ordinal)==null?void 0:D.slope)||g.pointRange||v.closestPointRange||v.tickInterval||1),v.len),f=m*g.groupPadding,y=(m-2*f)/(h||1),I=Math.min(g.maxPointWidth||v.len,c(g.pointWidth,y*(1-2*g.pointPadding))),E=(S.columnIndex||0)+(o?1:0);return S.columnMetrics={width:I,offset:(y-I)/2+(f+E*y-m/2)*(o?-1:1),paddedWidth:y,columnCount:h},S.columnMetrics}crispCol(S,g,v,p){let a=this.borderWidth,o=this.chart.inverted;return p=Y(g+p,a,o)-(g=Y(g,a,o)),this.options.crisp&&(v=Y(S+v,a)-(S=Y(S,a))),{x:S,y:g,width:v,height:p}}adjustForMissingColumns(S,g,v,p){var a;if(!v.isNull&&p.columnCount>1){let o=this.xAxis.series.filter(m=>m.visible).map(m=>m.index),u=0,d=0;x((a=this.xAxis.stacking)==null?void 0:a.stacks,m=>{if(typeof v.x=="number"){let f=m[v.x.toString()];if(f&&L(f.points[this.index])){let y=Object.keys(f.points).filter(I=>!I.match(",")&&f.points[I]&&f.points[I].length>1).map(parseFloat).filter(I=>o.indexOf(I)!==-1).sort((I,E)=>E-I);u=y.indexOf(this.index),d=y.length}}}),u=this.xAxis.reversed?d-1-u:u;let h=(d-1)*p.paddedWidth+g;S=(v.plotX||0)+h/2-g-u*p.paddedWidth}return S}translate(){let S=this,g=S.chart,v=S.options,p=S.dense=S.closestPointRange*S.xAxis.transA<2,a=S.borderWidth=c(v.borderWidth,p?0:1),o=S.xAxis,u=S.yAxis,d=v.threshold,h=c(v.minPointLength,5),m=S.getColumnMetrics(),f=m.width,y=S.pointXOffset=m.offset,I=S.dataMin,E=S.dataMax,M=S.translatedThreshold=u.getThreshold(d),D=S.barW=Math.max(f,1+2*a);v.pointPadding&&(D=Math.ceil(D)),B.prototype.translate.apply(S),S.points.forEac
vendor: 5,809 bytes, line 130
130h(function(F){let X=c(F.yBottom,M),_=999+Math.abs(X),w=F.plotX||0,A=R(F.plotY,-_,u.len+_),U,b=Math.min(A,X),k=Math.max(A,X)-b,O=f,z=w+y,W=D;h&&Math.abs(k)<h&&(k=h,U=!u.reversed&&!F.negative||u.reversed&&F.negative,j(d)&&j(E)&&F.y===d&&E<=d&&(u.min||0)<d&&(I!==E||(u.max||0)<=d)&&(U=!U,F.negative=!F.negative),b=Math.abs(b-M)>h?X-h:M-(U?h:0)),V(F.options.pointWidth)&&(z-=Math.round(((O=W=Math.ceil(F.options.pointWidth))-f)/2)),v.centerInCategory&&!v.stacking&&(z=S.adjustForMissingColumns(z,O,F,m)),F.barX=z,F.pointWidth=O,F.tooltipPos=g.inverted?[R(u.len+u.pos-g.plotLeft-A,u.pos-g.plotLeft,u.len+u.pos-g.plotLeft),o.len+o.pos-g.plotTop-z-W/2,k]:[o.left-g.plotLeft+z+W/2,R(A+u.pos-g.plotTop,u.pos-g.plotTop,u.len+u.pos-g.plotTop),k],F.shapeType=S.pointClass.prototype.shapeType||"roundedRect",F.shapeArgs=S.crispCol(z,F.isNull?M:b,W,F.isNull?0:k)}),T(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(S,g){let v=this.options,p=this.pointAttrToOptions||{},a=p.stroke||"borderColor",o=p["stroke-width"]||"borderWidth",u,d,h,m=S&&S.color||this.color,f=S&&S[a]||v[a]||m,y=S&&S.options.dashStyle||v.dashStyle,I=S&&S[o]||v[o]||this[o]||0,E=c(S&&S.opacity,v.opacity,1);S&&this.zones.length&&(d=S.getZone(),m=S.options.color||d&&(d.color||S.nonZonedColor)||this.color,d&&(f=d.borderColor||f,y=d.dashStyle||y,I=d.borderWidth||I)),g&&S&&(h=(u=s(v.states[g],S.options.states&&S.options.states[g]||{})).brightness,m=u.color||h!==void 0&&q(m).brighten(u.brightness).get()||m,f=u[a]||f,I=u[o]||I,y=u.dashStyle||y,E=c(u.opacity,E));let M={fill:m,stroke:f,"stroke-width":I,opacity:E};return y&&(M.dashstyle=y),M}drawPoints(S=this.points){let g,v=this,p=this.chart,a=v.options,o=p.renderer,u=a.animationLimit||250;S.forEach(function(d){let h=d.plotY,m=d.graphic,f=!!m,y=m&&p.pointCount<u?"animate":"attr";j(h)&&d.y!==null?(g=d.shapeArgs,m&&d.hasNewShapeType()&&(m=m.destroy()),v.enabledDataSorting&&(d.startXPos=v.xAxis.reversed?-(g&&g.width||0):v.xAxis.width),!m&&(d.graphic=m=o[d.shapeType](g).add(d.group||v.group),m&&v.enabledDataSorting&&p.hasRendered&&p.pointCount<u&&(m.attr({x:d.startXPos}),f=!0,y="animate")),m&&f&&m[y](s(g)),p.styledMode||m[y](v.pointAttribs(d,d.selected&&"select")).shadow(d.allowShadow!==!1&&a.shadow),m&&(m.addClass(d.getClassName(),!0),m.attr({visibility:d.visible?"inherit":"hidden"}))):m&&(d.graphic=m.destroy())})}drawTracker(S=this.points){let g,v=this,p=v.chart,a=p.pointer,o=function(u){let d=a==null?void 0:a.getPointFromEvent(u);a&&d&&v.options.enableMouseTracking&&(a.isDirectTouch=!0,d.onMouseOver(u))};S.forEach(function(u){g=L(u.dataLabels)?u.dataLabels:u.dataLabel?[u.dataLabel]:[],u.graphic&&(u.graphic.element.point=u),g.forEach(function(d){(d.div||d.element).point=u})}),v._hasTracking||(v.trackerGroups.forEach(function(u){v[u]&&(v[u].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(d){a==null||a.onTrackerMouseOut(d)}).on("touchstart",o),!p.styledMode&&v.options.cursor&&v[u].css({cursor:v.options.cursor}))}),v._hasTracking=!0),T(this,"afterDrawTracker")}remove(){let S=this,g=S.chart;g.hasRendered&&g.series.forEach(function(v){v.type===S.type&&(v.isDirty=!0)}),B.prototype.remove.apply(S,arguments)}}return N.defaultOptions=s(B.defaultOptions,l),H(N.prototype,{directTouch:!0,getSymbol:Z,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),$.registerSeriesType("column",N),N}),r(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{getDeferredAnimation:B}=t,{format:$}=n,{defined:K,extend:G,fireEvent:q,isArray:Z,isString:R,merge:Y,objectEach:V,pick:H,pInt:T,splat:L}=l;return function(j){function s(){return v(this).some(a=>a==null?void 0:a.enabled)}function c(a,o,u,d,h){var A;let{chart:m,enabledDataSorting:f}=this,y=this.isCartesian&&m.inverted,I=a.plotX,E=a.plotY,M=u.rotation||0,D=K(I)&&K(E)&&m.isInsidePlot(I,Math.round(E),{inverted:y,paneCoordinates:!0,series:this}),F=M===0&&H(u.overflow,f?"none":"justify")==="justify",X=this.visible&&a.visible!==!1&&K(I)&&(a.series.forceDL||f&&!F||D||H(u.inside,!!this.options.stacking)&&d&&m.isInsidePlot(I,y?d.x+1:d.y+d.height-1,{inverted:y,paneCoordinates:!0,series:this})),_=a.pos();if(X&&_){var w;let U=o.getBBox(),b=o.getBBox(void 0,0),k={right:1,center:.5}[u.align||0]||0,O={bottom:1,middle:.5}[u.verticalAlign||0]||0;if(d=G({x:_[0],y:Math.round(_[1]),width:0,height:0},d||{}),u.alignTo==="plotEdges"&&this.isCartesian&&(d[y?"x":"y"]=0,d[y?"width":"height"]=((A=this.yAxis)==null?void 0:A.len)||0),G(u,{width:U.width,height:U.height}),w=d,f&&this.xAxis&&!F&&this.setDataLabelStartPos(a,o,h,D,w),o.align(Y(u,{width:b.width,height:b.height}),!1,d,!1),o.alignAttr.x+=k*(b.width-U.width),o.alignAttr.y+=O*(b.height-U.height),o[o.placed?"animate":"attr"]({x:o.alignAttr.x+(U.width-b.width)/2,y:o.alignAttr.y+(U.height-b.height)/2,rotationOriginX:(o.width||0)/2,rotationOriginY:(o.height||0)/2}),F&&d.height>=0)this.justifyDataLabel(o,u,o.alignAttr,U,d,h);else if(H(u.crop,!0)){let{x:z,y:W}=o.alignAttr;X=m.isInsidePlot(z,W,{paneCoordinates:!0,series:this})&&m.isInsidePlot(z+U.width-1,W+U.height-1,{paneCoordinates:!0,series:this})}u.shape&&!M&&o[h?"attr":"animate"]({anchorX:_[0],anchorY:_[1]})}h&&f&&(o.placed=!1),X||f&&!F?(o.show(),o.placed=!0):(o.hide(),o.placed=!1)}function x(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function N(a){let o=this.hasRendered||0,u=this.initDataLabelsGroup().attr({opacity:+o});return!o&&u&&(this.visible&&u.show(),this.options.animation?u.animate({opacity:1},a):u.attr({opacity:1})),u}function P(a){var X;let o;a=a||this.points;let u=this,d=u.chart,h=u.options,m=d.renderer,{backgroundColor:f,plotBackgroun
130dColor:y}=d.options.chart,I=m.getContrast(R(y)&&y||R(f)&&f||"#000000"),E=v(u),{animation:M,defer:D}=E[0],F=D?B(d,M,u):{defer:0,duration:0};q(this,"drawDataLabels"),(X=u.hasDataLabels)!=null&&X.call(u)&&(o=this.initDataLabels(F),a.forEach(_=>{var U,b;let w=_.dataLabels||[];L(g(E,_.dlOptions||((U=_.options)==null?void 0:U.dataLabels))).forEach((k,O)=>{let z=k.enabled&&(_.visible||_.dataLabelOnHidden)&&(!_.isNull||_.dataLabelOnNull)&&function(ue,de){let fe=de.filter;if(fe){let me=fe.operator,ge=ue[fe.property],Ee=fe.value;return me===">"&&ge>Ee||me==="<"&&ge<Ee||me===">="&&ge>=Ee||me==="<="&&ge<=Ee||me==="=="&&ge==Ee||me==="==="&&ge===Ee||me==="!="&&ge!=Ee||me==="!=="&&ge!==Ee}return!0}(_,k),{backgroundColor:W,borderColor:Q,distance:ee,style:se={}}=k,ae,he,ce,ie,te={},ne=w[O],oe=!ne,le;z&&(he=H(k[_.formatPrefix+"Format"],k.format),ae=_.getLabelConfig(),ce=K(he)?$(he,ae,d):(k[_.formatPrefix+"Formatter"]||k.formatter).call(ae,k),ie=k.rotation,!d.styledMode&&(se.color=H(k.color,se.color,R(u.color)?u.color:void 0,"#000000"),se.color==="contrast"?(W!=="none"&&(le=W),_.contrastColor=m.getContrast(le!=="auto"&&le||_.color||u.color),se.color=le||!K(ee)&&k.inside||0>T(ee||0)||h.stacking?_.contrastColor:I):delete _.contrastColor,h.cursor&&(se.cursor=h.cursor)),te={r:k.borderRadius||0,rotation:ie,padding:k.padding,zIndex:1},d.styledMode||(te.fill=W==="auto"?_.color:W,te.stroke=Q==="auto"?_.color:Q,te["stroke-width"]=k.borderWidth),V(te,(ue,de)=>{ue===void 0&&delete te[de]})),!ne||z&&K(ce)&&!!ne.div==!!k.useHTML&&(ne.rotation&&k.rotation||ne.rotation===k.rotation)||(ne=void 0,oe=!0),z&&K(ce)&&(ne?te.text=ce:(ne=m.label(ce,0,0,k.shape,void 0,void 0,k.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+_.colorIndex+" "+(k.className||"")+(k.useHTML?" highcharts-tracker":"")),ne&&(ne.options=k,ne.attr(te),d.styledMode?se.width&&ne.css({width:se.width,textOverflow:se.textOverflow}):ne.css(se).shadow(k.shadow),q(ne,"beforeAddingDataLabel",{labelOptions:k,point:_}),ne.added||ne.add(o),u.alignDataLabel(_,ne,k,void 0,oe),ne.isActive=!0,w[O]&&w[O]!==ne&&w[O].destroy(),w[O]=ne))});let A=w.length;for(;A--;)w[A]&&w[A].isActive?w[A].isActive=!1:((b=w[A])==null||b.destroy(),w.splice(A,1));_.dataLabel=w[0],_.dataLabels=w})),q(this,"afterDrawDataLabels")}function S(a,o,u,d,h,m){let f=this.chart,y=o.align,I=o.verticalAlign,E=a.box?0:a.padding||0,M=f.inverted?this.yAxis:this.xAxis,D=M?M.left-f.plotLeft:0,F=f.inverted?this.xAxis:this.yAxis,X=F?F.top-f.plotTop:0,{x:_=0,y:w=0}=o,A,U;return(A=(u.x||0)+E+D)<0&&(y==="right"&&_>=0?(o.align="left",o.inside=!0):_-=A,U=!0),(A=(u.x||0)+d.width-E+D)>f.plotWidth&&(y==="left"&&_<=0?(o.align="right",o.inside=!0):_+=f.plotWidth-A,U=!0),(A=u.y+E+X)<0&&(I==="bottom"&&w>=0?(o.verticalAlign="top",o.inside=!0):w-=A,U=!0),(A=(u.y||0)+d.height-E+X)>f.plotHeight&&(I==="top"&&w<=0?(o.verticalAlign="bottom",o.inside=!0):w+=f.plotHeight-A,U=!0),U&&(o.x=_,o.y=w,a.placed=!m,a.align(o,void 0,h)),U}function g(a,o){let u=[],d;if(Z(a)&&!Z(o))u=a.map(function(h){return Y(h,o)});else if(Z(o)&&!Z(a))u=o.map(function(h){return Y(a,h)});else if(Z(a)||Z(o)){if(Z(a)&&Z(o))for(d=Math.max(a.length,o.length);d--;)u[d]=Y(a[d],o[d])}else u=Y(a,o);return u}function v(a){var u,d;let o=a.chart.options.plotOptions;return L(g(g((u=o==null?void 0:o.series)==null?void 0:u.dataLabels,(d=o==null?void 0:o[a.type])==null?void 0:d.dataLabels),a.options.dataLabels))}function p(a,o,u,d,h){let m=this.chart,f=m.inverted,y=this.xAxis,I=y.reversed,E=((f?o.height:o.width)||0)/2,M=a.pointWidth,D=M?M/2:0;o.startXPos=f?h.x:I?-E-D:y.width-E+D,o.startYPos=f?I?this.yAxis.height-E+D:-E-D:h.y,d?o.visibility==="hidden"&&(o.show(),o.attr({opacity:0}).animate({opacity:1})):o.attr({opacity:1}).animate({opacity:0}
130,void 0,o.hide),m.hasRendered&&(u&&o.attr({x:o.startXPos,y:o.startYPos}),o.placed=!0)}j.compose=function(a){let o=a.prototype;o.initDataLabels||(o.initDataLabels=N,o.initDataLabelsGroup=x,o.alignDataLabel=c,o.drawDataLabels=P,o.justifyDataLabel=S,o.setDataLabelStartPos=p,o.hasDataLabels=s)}}(C||(C={})),C}),r(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{composed:$}=n,{series:K}=l,{merge:G,pick:q,pushUnique:Z}=C;return function(R){function Y(V,H,T,L,j){let s=this.chart.inverted,c=V.series,x=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,N=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,P=V.dlBox||V.shapeArgs,S=q(V.below,V.plotY>q(this.translatedThreshold,N)),g=q(T.inside,!!this.options.stacking);if(P){if(L=G(P),!(T.overflow==="allow"&&T.crop===!1)){L.y<0&&(L.height+=L.y,L.y=0);let v=L.y+L.height-N;v>0&&v<L.height-1&&(L.height-=v)}s&&(L={x:N-L.y-L.height,y:x-L.x-L.width,width:L.height,height:L.width}),g||(s?(L.x+=S?0:L.width,L.width=0):(L.y+=S?L.height:0,L.height=0))}T.align=q(T.align,!s||g?"center":S?"right":"left"),T.verticalAlign=q(T.verticalAlign,s||g?"middle":S?"top":"bottom"),K.prototype.alignDataLabel.call(this,V,H,T,L,j),T.inside&&V.contrastColor&&H.css({color:V.contrastColor})}R.compose=function(V){t.compose(K),Z($,"ColumnDataLabel")&&(V.prototype.alignDataLabel=Y)}}(B||(B={})),B}),r(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{extend:C,merge:B}=l;class $ extends t{}return $.defaultOptions=B(t.defaultOptions,{}),C($.prototype,{inverted:!0}),n.registerSeriesType("bar",$),$}),r(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),r(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,line:B}=n.seriesTypes,{addEvent:$,extend:K,merge:G}=l;class q extends B{applyJitter(){let R=this,Y=this.options.jitter,V=this.points.length;Y&&this.points.forEach(function(H,T){["x","y"].forEach(function(L,j){if(Y[L]&&!H.isNull){let s=`plot${L.toUpperCase()}`,c=R[`${L}Axis`],x=Y[L]*c.transA;if(c&&!c.logarithmic){let N=Math.max(0,(H[s]||0)-x),P=Math.min(c.len,(H[s]||0)+x);H[s]=N+(P-N)*function(S){let g=1e4*Math.sin(S);return g-Math.floor(g)}(T+j*V),L==="x"&&(H.clientX=H.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return q.defaultOptions=G(B.defaultOptions,t),K(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),$(q,"afterTranslate",function(){this.applyJitter()}),n.registerSeriesType("scatter",q),q}),r(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l){var C,B;let{deg2rad:$}=t,{fireEvent:K,isNumber:G,pick:q,relativeLength:Z}=l;return(B=C||(C={})).getCenter=function(){let R=this.options,Y=this.chart,V=2*(R.slicedOffset||0),H=Y.plotWidth-2*V,T=Y.plotHeight-2*V,L=R.center,j=Math.min(H,T),s=R.thickness,c,x=R.size,N=R.innerSize||0,P,S;typeof x=="string"&&(x=parseFloat(x)),typeof N=="string"&&(N=parseFloat(N));let g=[q(L[0],"50%"),q(L[1],"50%"),q(x&&x<0?void 0:R.size,"100%"),q(N&&N<0?void 0:R.innerSize||0,"0%")];for(!Y.angular||this instanceof n||(g[3]=0),P=0;P<4;++P)S=g[P],c=P<2||P===2&&/%$/.test(S),g[P]=Z(S,[H,T,j,g[2]][P])+(c?V:0);return g[3]>g[2]&&(g[3]=g[2]),G(s)&&2*s<g[2]&&s>0&&(g[3]=g[2]-2*s),K(this,"afterGetCenter",{positions:g}),g},B.getStartAndEndRadians=function(R,Y){let V=G(R)?R:0,H=G(Y)&&Y>V&&Y-V<360?Y:V+360;return{start:$*(V+-90),end:$*(H+-90)}},C}
vendor: 4,484 bytes, line 130
130),r(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l){let{setAnimation:C}=t,{addEvent:B,defined:$,extend:K,isNumber:G,pick:q,relativeLength:Z}=l;class R extends n{getConnectorPath(V){let H=V.dataLabelPosition,T=V.options||{},L=T.connectorShape,j=this.connectorShapes[L]||L;return H&&j.call(this,xt(ze({},H.computed),{alignment:H.alignment}),H.connectorPosition,T)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(V){let H=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(H.x,H.y,H.r+V,H.r+V,{innerR:H.r-1,start:H.start,end:H.end,borderRadius:H.borderRadius})}constructor(V,H,T){super(V,H,T),this.half=0,this.name??(this.name="Slice");let L=j=>{this.slice(j.type==="select")};B(this,"select",L),B(this,"unselect",L)}isValid(){return G(this.y)&&this.y>=0}setVisible(V,H=!0){V!==this.visible&&this.update({visible:V??!this.visible},H,void 0,!1)}slice(V,H,T){let L=this.series;C(T,L.chart),H=q(H,!0),this.sliced=this.options.sliced=V=$(V)?V:!this.sliced,L.options.data[L.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return K(R.prototype,{connectorShapes:{fixedOffset:function(Y,V,H){let T=V.breakAt,L=V.touchingSliceAt,j=H.softConnector?["C",Y.x+(Y.alignment==="left"?-5:5),Y.y,2*T.x-L.x,2*T.y-L.y,T.x,T.y]:["L",T.x,T.y];return[["M",Y.x,Y.y],j,["L",L.x,L.y]]},straight:function(Y,V){let H=V.touchingSliceAt;return[["M",Y.x,Y.y],["L",H.x,H.y]]},crookedLine:function(Y,V,H){let{breakAt:T,touchingSliceAt:L}=V,{series:j}=this,[s,c,x]=j.center,N=x/2,{plotLeft:P,plotWidth:S}=j.chart,g=Y.alignment==="left",{x:v,y:p}=Y,a=T.x;if(H.crookDistance){let u=Z(H.crookDistance,1);a=g?s+N+(S+P-s-N)*(1-u):P+(s-N)*u}else a=s+(c-p)*Math.tan((this.angle||0)-Math.PI/2);let o=[["M",v,p]];return(g?a<=v&&a>=T.x:a>=v&&a<=T.x)&&o.push(["L",a,p]),o.push(["L",T.x,T.y],["L",L.x,L.y]),o}}}),R}),r(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),r(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{getStartAndEndRadians:Z}=t,{noop:R}=l,{clamp:Y,extend:V,fireEvent:H,merge:T,pick:L}=q;class j extends ${animate(c){let x=this,N=x.points,P=x.startAngleRad;c||N.forEach(function(S){let g=S.graphic,v=S.shapeArgs;g&&v&&(g.attr({r:L(S.startR,x.center&&x.center[3]/2),start:P,end:P}),g.animate({r:v.r,start:v.start,end:v.end},x.options.animation))})}drawEmpty(){let c,x,N=this.startAngleRad,P=this.endAngleRad,S=this.options;this.total===0&&this.center?(c=this.center[0],x=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(c,x,this.center[1]/2,0,N,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:G.arc(c,x,this.center[2]/2,0,{start:N,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":S.borderWidth,fill:S.fillColor||"none",stroke:S.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let c=this.chart.renderer;this.points.forEach(function(x){x.graphic&&x.hasNewShapeType()&&(x.graphic=x.graphic.destroy()),x.graphic||(x.graphic=c[x.shapeType](x.shapeArgs).add(x.series.group),x.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(c,x,N,P){let S=this.center,g=this.radii?this.radii[N.index]||0:S[2]/2,v=P.dataLabelPosition,p=(v==null?void 0:v.distance)||0,a=Math.asin(Y((c-S[1])/(g+p),-1,1));return S[0]+Math.cos(a)*(g+p)*(x?-1:1)+(p>0?(x?-1:1)*(P.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let c,x,N,P,S=this,g=S.chart;this.drawEmpty(),S.group&&!g.styledMode&&S.group.shadow(S.options.shadow),S.points.forEac
130h(function(v){let p={};x=v.graphic,!v.isNull&&x?(P=v.shapeArgs,c=v.getTranslate(),g.styledMode||(N=S.pointAttribs(v,v.selected&&"select")),v.delayedRendering?(x.setRadialReference(S.center).attr(P).attr(c),g.styledMode||x.attr(N).attr({"stroke-linejoin":"round"}),v.delayedRendering=!1):(x.setRadialReference(S.center),g.styledMode||T(!0,p,N),T(!0,p,P,c),x.animate(p)),x.attr({visibility:v.visible?"inherit":"hidden"}),x.addClass(v.getClassName(),!0)):x&&(v.graphic=x.destroy())})}sortByAngle(c,x){c.sort(function(N,P){return N.angle!==void 0&&(P.angle-N.angle)*x})}translate(c){H(this,"translate"),this.generatePoints();let x=this.options,N=x.slicedOffset,P=Z(x.startAngle,x.endAngle),S=this.startAngleRad=P.start,g=(this.endAngleRad=P.end)-S,v=this.points,p=x.ignoreHiddenPoint,a=v.length,o,u,d,h,m,f,y,I=0;for(c||(this.center=c=this.getCenter()),f=0;f<a;f++){y=v[f],o=S+I*g,y.isValid()&&(!p||y.visible)&&(I+=y.percentage/100),u=S+I*g;let E={x:c[0],y:c[1],r:c[2]/2,innerR:c[3]/2,start:Math.round(1e3*o)/1e3,end:Math.round(1e3*u)/1e3};y.shapeType="arc",y.shapeArgs=E,(d=(u+o)/2)>1.5*Math.PI?d-=2*Math.PI:d<-Math.PI/2&&(d+=2*Math.PI),y.slicedTranslation={translateX:Math.round(Math.cos(d)*N),translateY:Math.round(Math.sin(d)*N)},h=Math.cos(d)*c[2]/2,m=Math.sin(d)*c[2]/2,y.tooltipPos=[c[0]+.7*h,c[1]+.7*m],y.half=d<-Math.PI/2||d>Math.PI/2?1:0,y.angle=d}H(this,"afterTranslate")}updateTotals(){let c=this.points,x=c.length,N=this.options.ignoreHiddenPoint,P,S,g=0;for(P=0;P<x;P++)(S=c[P]).isValid()&&(!N||S.visible)&&(g+=S.y);for(P=0,this.total=g;P<x;P++)(S=c[P]).percentage=g>0&&(S.visible||!N)?S.y/g*100:0,S.total=g}}return j.defaultOptions=T($.defaultOptions,B),V(j.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:n.prototype.drawTracker,getCenter:t.getCenter,getSymbol:R,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:n.prototype.pointAttribs,pointClass:C,requireSorting:!1,searchPoint:R,trackerGroups:["group","dataLabelsGroup"]}),K.registerSeriesType("pie",j),j}),r(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{composed:K,noop:G}=n,{distribute:q}=l,{series:Z}=C,{arrayMax:R,clamp:Y,defined:V,pick:H,pushUnique:T,relativeLength:L}=B;return function(j){let s={radialDistributionY:function(S,g){var v;return(((v=g.dataLabelPosition)==null?void 0:v.top)||0)+S.distributeBox.pos},radialDistributionX:function(S,g,v,p,a){let o=a.dataLabelPosition;return S.getX(v<((o==null?void 0:o.top)||0)+2||v>((o==null?void 0:o.bottom)||0)-2?p:v,g.half,g,a)},justify:function(S,g,v,p){var a;return p[0]+(S.half?-1:1)*(v+(((a=g.dataLabelPosition)==null?void 0:a.distance)||0))},alignToPlotEdges:function(S,g,v,p){let a=S.getBBox().width;return g?a+p:v-a-p},alignToConnectors:function(S,g,v,p){let a=0,o;return S.forEach(function(u){(o=u.dataLabel.getBBox().width)>a&&(a=o)}),g?a+p:v-a-p}};function c(S,g){let{center:v,options:p}=this,a=v[2]/2,o=S.angle||0,u=Math.cos(o),d=Math.sin(o),h=v[0]+u*a,m=v[1]+d*a,f=Math.min((p.slicedOffset||0)+(p.borderWidth||0),g/5);
vendor: 4,622 bytes, line 130
130return{natural:{x:h+u*g,y:m+d*g},computed:{},alignment:g<0?"center":S.half?"right":"left",connectorPosition:{breakAt:{x:h+u*f,y:m+d*f},touchingSliceAt:{x:h,y:m}},distance:g}}function x(){var X;let S=this,g=S.points,v=S.chart,p=v.plotWidth,a=v.plotHeight,o=v.plotLeft,u=Math.round(v.chartWidth/3),d=S.center,h=d[2]/2,m=d[1],f=[[],[]],y=[0,0,0,0],I=S.dataLabelPositioners,E,M,D,F=0;S.visible&&((X=S.hasDataLabels)!=null&&X.call(S))&&(g.forEach(_=>{(_.dataLabels||[]).forEach(w=>{w.shortened&&(w.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),w.shortened=!1)})}),Z.prototype.drawDataLabels.apply(S),g.forEach(_=>{(_.dataLabels||[]).forEach((w,A)=>{var O;let U=d[2]/2,b=w.options,k=L((b==null?void 0:b.distance)||0,U);A===0&&f[_.half].push(_),!V((O=b==null?void 0:b.style)==null?void 0:O.width)&&w.getBBox().width>u&&(w.css({width:Math.round(.7*u)+"px"}),w.shortened=!0),w.dataLabelPosition=this.getDataLabelPosition(_,k),F=Math.max(F,k)})}),f.forEach((_,w)=>{let A=_.length,U=[],b,k,O=0,z;A&&(S.sortByAngle(_,w-.5),F>0&&(b=Math.max(0,m-h-F),k=Math.min(m+h+F,v.plotHeight),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{var se;let ee=Q.dataLabelPosition;ee&&ee.distance>0&&(ee.top=Math.max(0,m-h-ee.distance),ee.bottom=Math.min(m+h+ee.distance,v.plotHeight),O=Q.getBBox().height||21,Q.lineHeight=v.renderer.fontMetrics(Q.text||Q).h+2*Q.padding,W.distributeBox={target:(((se=Q.dataLabelPosition)==null?void 0:se.natural.y)||0)-ee.top+Q.lineHeight/2,size:O,rank:W.y},U.push(W.distributeBox))})}),q(U,z=k+O-b,z/5)),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{let ee=Q.options||{},se=W.distributeBox,ae=Q.dataLabelPosition,he=(ae==null?void 0:ae.natural.y)||0,ce=ee.connectorPadding||0,ie=Q.lineHeight||21,te=(ie-Q.getBBox().height)/2,ne=0,oe=he,le="inherit";if(ae){if(U&&V(se)&&ae.distance>0&&(se.pos===void 0?le="hidden":(D=se.size,oe=I.radialDistributionY(W,Q))),ee.justify)ne=I.justify(W,Q,h,d);else switch(ee.alignTo){case"connectors":ne=I.alignToConnectors(_,w,p,o);break;case"plotEdges":ne=I.alignToPlotEdges(Q,w,p,o);break;default:ne=I.radialDistributionX(S,W,oe-te,he,Q)}if(ae.attribs={visibility:le,align:ae.alignment},ae.posAttribs={x:ne+(ee.x||0)+({left:ce,right:-ce}[ae.alignment]||0),y:oe+(ee.y||0)-ie/2},ae.computed.x=ne,ae.computed.y=oe-te,H(ee.crop,!0)){let ue;ne-(M=Q.getBBox().width)<ce&&w===1?(ue=Math.round(M-ne+ce),y[3]=Math.max(ue,y[3])):ne+M>p-ce&&w===0&&(ue=Math.round(ne+M-p+ce),y[1]=Math.max(ue,y[1])),oe-D/2<0?y[0]=Math.max(Math.round(-oe+D/2),y[0]):oe+D/2>a&&(y[2]=Math.max(Math.round(oe+D/2-a),y[2])),ae.sideOverflow=ue}}})}))}),(R(y)===0||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(_=>{(_.dataLabels||[]).forEach(w=>{var k;let{connectorColor:A,connectorWidth:U=1}=w.options||{},b=w.dataLabelPosition;if(U){let O;E=w.connector,b&&b.distance>0?(O=!E,E||(w.connector=E=v.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+_.colorIndex+(_.className?" "+_.className:"")).add(S.dataLabelsGroup)),v.styledMode||E.attr({"stroke-width":U,stroke:A||_.color||"#666666"}),E[O?"attr":"animate"]({d:_.getConnectorPath(w)}),E.attr({visibility:(k=b.attribs)==null?void 0:k.visibility})):E&&(w.connector=E.destroy())}})})))}function N(){this.points.forEach(S=>{(S.dataLabels||[]).forEach(g=>{var p;let v=g.dataLabelPosition;v?(v.sideOverflow&&(g.css({width:Math.max(g.getBBox().width-v.sideOverflow,0)+"px",textOverflow:(((p=g.options)==null?void 0:p.style)||{}).textOverflow||"ellipsis"}),g.shortened=!0),g.attr(v.attribs),g[g.moved?"animate":"attr"](v.posAttribs),g.moved=!0):g&&g.attr({y:-9999})}),delete S.distributeBox},this)}function P(S){let g=this.center,v=this.options,p=v.center,a=v.minSize||80,o=a,u=v.size!==null;return!u&&(p[0]!==null?o=Math.max(g[2]-Math.max(S[1],S[3]),a):(o=Math.max(g[2]-S[1]-S[3],a),g[0]+=(S[3]-S[1])/2),p[1]!==null?o=Y(o,a,g[2]-Math.max(S[0],S[2])):(o=Y(o,a,g[2]-S[0]-S[2]),g[1]+=(S[0]-S[2])/2),o<g[2]?(g[2]=o,g[3]=Math.min(v.thickness?Math.max(0,o-2*v.thickness):Math.max(0,L(v.innerSize||0,o)),o),this.translate(g),this.drawDataLabels&&this.drawDataLabels()):u=!0),u}j.compose=function(S){if(t.compose(Z),T(K,"PieDataLabel")){let g=S.prototype;g.dataLabelPositioners=s,g.alignDataLabel=G,g.drawDataLabels=x,g.getDataLabelPosition=c,g.placeDataLabels=N,g.verifyDataLabelOverflow=P}}}($||($={})),$}),r(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,n;return(n=t||(t={})).getCenterOfPoints=function(l){let C=l.reduce((B,$)=>(B.x+=$.x,B.y+=$.y,B),{x:0,y:0});return{x:C.x/l.length,y:C.y/l.length}},n.getDistanceBetweenPoints=function(l,C){return Math.sqrt(Math.pow(C.x-l.x,2)+Math.pow(C.y-l.y,2))}
130,n.getAngleBetweenPoints=function(l,C){return Math.atan2(C.x-l.x,C.y-l.y)},n.pointInPolygon=function({x:l,y:C},B){let $=B.length,K,G,q=!1;for(K=0,G=$-1;K<$;G=K++){let[Z,R]=B[K],[Y,V]=B[G];R>C!=V>C&&l<(Y-Z)*(C-R)/(V-R)+Z&&(q=!q)}return q},t}),r(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,n){let{pointInPolygon:l}=t,{addEvent:C,fireEvent:B,objectEach:$,pick:K}=n;function G(R){let Y=R.length,V=(N,P)=>!(P.x>=N.x+N.width||P.x+P.width<=N.x||P.y>=N.y+N.height||P.y+P.height<=N.y),H=(N,P)=>{for(let S of N)if(l({x:S[0],y:S[1]},P))return!0;return!1},T,L,j,s,c,x=!1;for(let N=0;N<Y;N++)(T=R[N])&&(T.oldOpacity=T.opacity,T.newOpacity=1,T.absoluteBox=function(P){var S,g;if(P&&(!P.alignAttr||P.placed)){let v=P.box?0:P.padding||0,p=P.alignAttr||{x:P.attr("x"),y:P.attr("y")},a=P.getBBox();return P.width=a.width,P.height=a.height,{x:p.x+(((S=P.parentGroup)==null?void 0:S.translateX)||0)+v,y:p.y+(((g=P.parentGroup)==null?void 0:g.translateY)||0)+v,width:(P.width||0)-2*v,height:(P.height||0)-2*v,polygon:a==null?void 0:a.polygon}}}(T));R.sort((N,P)=>(P.labelrank||0)-(N.labelrank||0));for(let N=0;N<Y;++N){s=(L=R[N])&&L.absoluteBox;let P=s==null?void 0:s.polygon;for(let S=N+1;S<Y;++S){c=(j=R[S])&&j.absoluteBox;let g=!1;if(s&&c&&L!==j&&L.newOpacity!==0&&j.newOpacity!==0&&L.visibility!=="hidden"&&j.visibility!=="hidden"){let v=c.polygon;if(P&&v&&P!==v?H(P,v)&&(g=!0):V(s,c)&&(g=!0),g){let p=L.labelrank<j.labelrank?L:j,a=p.text;p.newOpacity=0,a!=null&&a.element.querySelector("textPath")&&a.hide()}}}}for(let N of R)q(N,this)&&(x=!0);x&&B(this,"afterHideAllOverlappingLabels")}function q(R,Y){let V,H,T=!1;return R&&(H=R.newOpacity,R.oldOpacity!==H&&(R.hasClass("highcharts-data-label")?(R[H?"removeClass":"addClass"]("highcharts-data-label-hidden"),V=function(){Y.styledMode||R.css({pointerEvents:H?"auto":"none"})},T=!0,R[R.isOld?"animate":"attr"]({opacity:H},void 0,V),B(Y,"afterHideOverlappingLabel")):R.attr({opacity:H})),R.isOld=!0),T}function Z(){var V;let R=this,Y=[];for(let H of R.labelCollectors||[])Y=Y.concat(H());for(let H of R.yAxis||[])H.stacking&&H.options.stackLabels&&!H.options.stackLabels.allowOverlap&&$(H.stacking.stacks,T=>{$(T,L=>{L.label&&Y.push(L.label)})});for(let H of R.series||[])if(H.visible&&((V=H.hasDataLabels)!=null&&V.call(H))){let T=L=>{for(let j of L)j.visible&&(j.dataLabels||[]).forEach(s=>{var x;let c=s.options||{};s.labelrank=K(c.labelrank,j.labelrank,(x=j.shapeArgs)==null?void 0:x.height),c.allowOverlap??Number(c.distance)>0?(s.oldOpacity=s.opacity,s.newOpacity=1,q(s,R)):Y.push(s)})};T(H.nodes||[]),T(H.points)}this.hideOverlappingLabels(Y)}return{compose:function(R){let Y=R.prototype;Y.hideOverlappingLabels||(Y.hideOverlappingLabels=G,C(R,"render",Z))}}}
vendor: 3,895 bytes, line 130
130),r(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{defaultOptions:C}=t,{noop:B}=n,{addEvent:$,extend:K,isObject:G,merge:q,relativeLength:Z}=l,R={radius:0,scope:"stack",where:void 0},Y=B,V=B;function H(c,x,N,P,S={}){let g=Y(c,x,N,P,S),{innerR:v=0,r:p=N,start:a=0,end:o=0}=S;if(S.open||!S.borderRadius)return g;let u=o-a,d=Math.sin(u/2),h=Math.max(Math.min(Z(S.borderRadius||0,p-v),(p-v)/2,p*d/(1+d)),0),m=Math.min(h,u/Math.PI*2*v),f=g.length-1;for(;f--;)(function(y,I,E){let M,D,F,X=y[I],_=y[I+1];if(_[0]==="Z"&&(_=y[0]),(X[0]==="M"||X[0]==="L")&&_[0]==="A"?(M=X,D=_,F=!0):X[0]==="A"&&(_[0]==="M"||_[0]==="L")&&(M=_,D=X),M&&D&&D.params){let w=D[1],A=D[5],U=D.params,{start:b,end:k,cx:O,cy:z}=U,W=A?w-E:w+E,Q=W?Math.asin(E/W):0,ee=A?Q:-Q,se=Math.cos(Q)*W;F?(U.start=b+ee,M[1]=O+se*Math.cos(b),M[2]=z+se*Math.sin(b),y.splice(I+1,0,["A",E,E,0,0,1,O+w*Math.cos(U.start),z+w*Math.sin(U.start)])):(U.end=k-ee,D[6]=O+w*Math.cos(U.end),D[7]=z+w*Math.sin(U.end),y.splice(I+1,0,["A",E,E,0,0,1,O+se*Math.cos(k),z+se*Math.sin(k)])),D[4]=Math.abs(U.end-U.start)<Math.PI?0:1}})(g,f,f>1?m:h);return g}function T(){var c,x;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:N,yAxis:P}=this,S=N.stacking==="percent",g=(x=(c=C.plotOptions)==null?void 0:c[this.type])==null?void 0:x.borderRadius,v=L(N.borderRadius,G(g)?g:{}),p=P.options.reversed;for(let a of this.points){let{shapeArgs:o}=a;if(a.shapeType==="roundedRect"&&o){let{width:u=0,height:d=0,y:h=0}=o,m=h,f=d;if(v.scope==="stack"&&a.stackTotal){let M=P.translate(S?100:a.stackTotal,!1,!0,!1,!0),D=P.translate(N.threshold||0,!1,!0,!1,!0),F=this.crispCol(0,Math.min(M,D),0,Math.abs(M-D));m=F.y,f=F.height}let y=(a.negative?-1:1)*(p?-1:1)==-1,I=v.where;!I&&this.is("waterfall")&&Math.abs((a.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(I="all"),I||(I="end");let E=Math.min(Z(v.radius,u),u/2,I==="all"?d/2:1/0)||0;I==="end"&&(y&&(m-=E),f+=E),K(o,{brBoxHeight:f,brBoxY:m,r:E})}}}}function L(c,x){return G(c)||(c={radius:c||0}),q(R,x,c)}function j(){let c=L(this.options.borderRadius);for(let x of this.points){let N=x.shapeArgs;N&&(N.borderRadius=Z(c.radius,(N.r||0)-(N.innerR||0)))}}function s(c,x,N,P,S={}){let g=V(c,x,N,P,S),{r:v=0,brBoxHeight:p=P,brBoxY:a=x}=S,o=x-a,u=a+p-(x+P),d=o-v>-.1?0:v,h=u-v>-.1?0:v,m=Math.max(d&&o,0),f=Math.max(h&&u,0),y=[c+d,x],I=[c+N-d,x],E=[c+N,x+d],M=[c+N,x+P-h],D=[c+N-h,x+P],F=[c+h,x+P],X=[c,x+P-h],_=[c,x+d],w=(A,U)=>Math.sqrt(Math.pow(A,2)-Math.pow(U,2));if(m){let A=w(d,d-m);y[0]-=A,I[0]+=A,E[1]=_[1]=x+d-m}if(P<d-m){let A=w(d,d-m-P);E[0]=M[0]=c+N-d+A,D[0]=Math.min(E[0],D[0]),F[0]=Math.max(M[0],F[0]),X[0]=_[0]=c+d-A,E[1]=_[1]=x+P}if(f){let A=w(h,h-f);D[0]+=A,F[0]-=A,M[1]=X[1]=x+P-h+f}if(P<h-f){let A=w(h,h-f-P);E[0]=M[0]=c+N-h+A,I[0]=Math.min(E[0],I[0]),y[0]=Math.max(M[0],y[0]),X[0]=_[0]=c+h-A,M[1]=X[1]=x}return g.length=0,g.push(["M",...y],["L",...I],["A",d,d,0,0,1,...E],["L",...M],["A",h,h,0,0,1,...D],["L",...F],["A",h,h,0,0,1,...X],["L",..._],["A",d,d,0,0,1,...y],["Z"]),g}return{compose:function(c,x,N){let P=c.types.pie;if(!x.symbolCustomAttribs.includes("borderRadius")){let S=N.prototype.symbols;$(c,"afterColumnTranslate",T,{order:9}),$(P,"afterTranslate",j),x.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Y=S.arc,V=S.roundedRect,S.arc=H,S.roundedRect=s}},optionsToObject:L}}),r(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var n;let{diffObjects:l,extend:C,find:B,merge:$,pick:K,uniqueKey:G}=t;return function(q){function Z(Y,V){let H=Y.condition;(H.callback||function(){return this.chartWidth<=K(H.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=K(H.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=K(H.minWidth,0)&&this.chartHeight>=K(H.minHeight,0)}).call(this)&&V.push(Y._id)}function R(Y,V){let H=this.options.responsive,T=this.currentResponsive,L=[],j;
130!V&&H&&H.rules&&H.rules.forEach(x=>{x._id===void 0&&(x._id=G()),this.matchResponsiveRule(x,L)},this);let s=$(...L.map(x=>B((H||{}).rules||[],N=>N._id===x)).map(x=>x&&x.chartOptions));s.isResponsiveOptions=!0,L=L.toString()||void 0;let c=T&&T.ruleIds;L===c||(T&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(T.undoOptions,Y,!0),this.updatingResponsive=!1),L?((j=l(s,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:L,mergedOptions:s,undoOptions:j},this.updatingResponsive||this.update(s,Y,!0)):this.currentResponsive=void 0)}q.compose=function(Y){let V=Y.prototype;return V.matchResponsiveRule||C(V,{matchResponsiveRule:Z,setResponsive:R}),Y}}(n||(n={})),n}),r(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/
130BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j,s,c,x,N,P,S,g,v,p,a,o,u,d,h,m,f,y,I,E){return t.AST=$,t.Axis=V,t.Chart=S,t.Color=I,t.DataLabel=h,t.Fx=C,t.HTMLElement=Y,t.Legend=N,t.LegendSymbol=P,t.OverlappingDataLabels=t.OverlappingDataLabels||m,t.PlotLineOrBand=L,t.Point=c,t.Pointer=x,t.RendererRegistry=G,t.Series=a,t.SeriesRegistry=o,t.StackItem=p,t.SVGElement=Z,t.SVGRenderer=R,t.Templating=K,t.Tick=j,t.Time=E,t.Tooltip=s,t.animate=B.animate,t.animObject=B.animObject,t.chart=S.chart,t.color=I.parse,t.dateFormat=K.dateFormat,t.defaultOptions=l.defaultOptions,t.distribute=q.distribute,t.format=K.format,t.getDeferredAnimation=B.getDeferredAnimation,t.getOptions=l.getOptions,t.numberFormat=K.numberFormat,t.seriesType=o.seriesType,t.setAnimation=B.setAnimation,t.setOptions=l.setOptions,t.stop=B.stop,t.time=l.defaultTime,t.timers=C.timers,f.compose(t.Series,t.SVGElement,t.SVGRenderer),u.compose(t.Series.types.column),h.compose(t.Series),H.compose(t.Axis),Y.compose(t.SVGRenderer),N.compose(t.Chart),T.compose(t.Axis),m.compose(t.Chart),d.compose(t.Series.types.pie),L.compose(t.Chart,t.Axis),x.compose(t.Chart),y.compose(t.Chart),g.compose(t.Axis,t.Chart,t.Series),v.compose(t.Axis,t.Chart,t.Series),s.compose(t.Pointer),n.extend(t,n),t}),r(e,"Series/DataModifyComposition.js",[e["Core/Axis/Axis.js"],e["Core/Series/Point.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{tooltipFormatter:$}=n.prototype,{addEvent:K,arrayMax:G,arrayMin:q,correctFloat:Z,defined:R,isArray:Y,isNumber:V,isString:H,pick:T}=C;return function(L){function j(a,o,u){!this.isXAxis&&(this.series.forEach(function(d){a==="compare"&&typeof o!="boolean"?d.setCompare(o,!1):a!=="cumulative"||H(o)||d.setCumulative(o,!1)}),T(u,!0)&&this.chart.redraw())}function s(a){let o=this,{numberFormatter:u}=o.series.chart,d=function(h){a=a.replace("{point."+h+"}",(o[h]>0&&h==="change"?"+":"")+u(o[h],T(o.series.tooltipOptions.changeDecimals,2)))};return R(o.change)&&d("change"),R(o.cumulativeSum)&&d("cumulativeSum"),$.apply(this,[a])}function c(){let a,o=this.options.compare;(o==="percent"||o==="value"||this.options.cumulative)&&(a=new p(this),o==="percent"||o==="value"?a.initCompare(o):a.initCumulative()),this.dataModify=a}function x(a){let o=a.dataExtremes,u=o.activeYData;if(this.dataModify&&o){let d;this.options.compare?d=[this.dataModify.modifyValue(o.dataMin),this.dataModify.modifyValue(o.dataMax)]:this.options.cumulative&&Y(u)&&u.length>=2&&(d=p.getCumulativeExtremes(u)),d&&(o.dataMin=q(d),o.dataMax=G(d))}}function N(a,o){this.options.compare=this.userOptions.compare=a,this.update({},T(o,!0)),this.dataModify&&(a==="value"||a==="percent")?this.dataModify.initCompare(a):this.points.forEach(u=>{delete u.change})}function P(){if(this.xAxis&&this.processedYData&&this.dataModify){let a=this.processedXData,o=this.processedYData,u=o.length,d=this.options.compareStart===!0?0:1,h=-1,m;for(this.pointArrayMap&&(h=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),m=0;m<u-d;m++){let f=o[m]&&h>-1?o[m][h]:o[m];if(V(f)&&f!==0&&a[m+d]>=(this.xAxis.min||0)){this.dataModify.compareValue=f;break}}}}function S(a,o){this.setModifier("compare",a,o)}function g(a,o){a=T(a,!1),this.options.cumulative=this.userOptions.cumulative=a,this.update({},T(o,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(u=>{delete u.cumulativeSum})}function v(a,o){this.setModifier("cumulative",a,o)}L.compose=function(a,o,u){let d=o.prototype,h=u.prototype,m=a.prototype;return m.setCompare||(m.setCompare=N,m.setCumulative=g,K(a,"afterInit",c),K(a,"afterGetExtremes",x),K(a,"afterProcessData",P)),d.setCompare||(d.setCompare=S,d.setModifier=j,d.setCumulative=v,h.tooltipFormatter=s),a};class p{constructor(o){this.series=o}modifyValue(){return 0}static getCumulativeExtremes(o){let u=1/0,d=-1/0;return o.reduce((h,m)=>{let f=h+m;return u=Math.min(u,f,h),d=Math.max(d,f,h),f}),[u,d]}initCompare(o){this.modifyValue=function(u,d){u===null&&(u=0);let h=this.compareValue;if(u!==void 0&&h!==void 0){if(o==="value"?u-=h:u=u/h*100-(this.series.options.compareBase===100?0:100),d!==void 0){let m=this.series.points[d];m&&(m.change=u)}return u}return 0}}initCumulative(){this.modifyValue=function(o,u){if(o===null&&(o=0),o!==void 0&&u!==void 0){let d=u>0?this.series.points[u-1]:null;d&&d.cumulativeSum&&(o=Z(d.cumulativeSum+o));let h=this.series.points[u],m=h.series.options.cumulativeStart,f=h.x<=this.series.xAxis.max&&h.x>=this.series.xAxis.min;return h&&(!m||f?h.cumulativeSum=o:h.cumulativeSum=void 0),o}return 0}}}L.Additions=p}(B||(B={})),B}),r(e,"Stock/Navigator/ChartNavigatorComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let l,{isTouchDevice:C}=t,{addEvent:B,merge:$,pick:K}=n,G=[];function q(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function Z(){var N;let L,j,s,c=this.legend,x=this.navigator;if(x){L=c&&c.options,j=x.xAxis,s=x.yAxis;let{scrollbarHeight:P,scrollButtonSize:S}=x;this.inverted?(x.left=x.opposite?this.chartWidth-P-x.height:this.spacing[3]+P,x.top=this.plotTop+S):(x.left=K(j.left,this.plotLeft+S),x.top=x.navigatorOptions.top||this.chartHe
130ight-x.height-P-(((N=this.scrollbar)==null?void 0:N.options.margin)||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(L&&L.verticalAlign==="bottom"&&L.layout!=="proximate"&&L.enabled&&!L.floating?c.legendHeight+K(L.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),j&&s&&(this.inverted?j.options.left=s.options.left=x.left:j.options.top=s.options.top=x.top,j.setAxisSize(),s.setAxisSize())}}function R(L){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new l(this),K(L.redraw,!0)&&this.redraw(L.animation))}function Y(){let L=this.options;(L.navigator.enabled||L.scrollbar.enabled)&&(this.scroller=this.navigator=new l(this))}function V(){let L=this.options,j=L.navigator,s=L.rangeSelector;if((j&&j.enabled||s&&s.enabled)&&(!C&&this.zooming.type==="x"||C&&this.zooming.pinchType==="x"))return!1}function H(L){let j=L.navigator;if(j&&L.xAxis[0]){let s=L.xAxis[0].getExtremes();j.render(s.min,s.max)}}function T(L){let j=L.options.navigator||{},s=L.options.scrollbar||{};!this.navigator&&!this.scroller&&(j.enabled||s.enabled)&&($(!0,this.options.navigator,j),$(!0,this.options.scrollbar,s),delete L.options.navigator,delete L.options.scrollbar)}return{compose:function(L,j){if(n.pushUnique(G,L)){let s=L.prototype;l=j,s.callbacks.push(H),B(L,"afterAddSeries",q),B(L,"afterSetChartSize",Z),B(L,"afterUpdate",R),B(L,"beforeRender",Y),B(L,"beforeShowResetZoom",V),B(L,"update",T)}}}}),r(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isTouchDevice:l}=t,{addEvent:C,correctFloat:B,defined:$,isNumber:K,pick:G}=n;function q(){this.navigatorAxis||(this.navigatorAxis=new R(this))}function Z(Y){let V,H=this.chart,T=H.options,L=T.navigator,j=this.navigatorAxis,s=H.zooming.pinchType,c=T.rangeSelector,x=H.zooming.type;if(this.isXAxis&&(L!=null&&L.enabled||c!=null&&c.enabled)){if(x==="y"&&Y.trigger==="zoom")V=!1;else if((Y.trigger==="zoom"&&x==="xy"||l&&s==="xy")&&this.options.range){let N=j.previousZoom;$(Y.min)?j.previousZoom=[this.min,this.max]:N&&(Y.min=N[0],Y.max=N[1],j.previousZoom=void 0)}}V!==void 0&&Y.preventDefault()}class R{static compose(V){V.keepProps.includes("navigatorAxis")||(V.keepProps.push("navigatorAxis"),C(V,"init",q),C(V,"setExtremes",Z))}constructor(V){this.axis=V}destroy(){this.axis=void 0}toFixedRange(V,H,T,L){let j=this.axis,s=(j.pointRange||0)/2,c=G(T,j.translate(V,!0,!j.horiz)),x=G(L,j.translate(H,!0,!j.horiz));return $(T)||(c=B(c+s)),$(L)||(x=B(x-s)),K(c)&&K(x)||(c=x=void 0),{min:c,max:x}}}return R}),r(e,"Stock/Navigator/NavigatorDefaults.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"]],function(t,n){let{parse:l}=t,{seriesTypes:C}=n;return{height:40,margin:25,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:l("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:C.areaspline===void 0?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),r(e,"Stock/Navigator/NavigatorSymbols.js",[e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n){let{relativeLength:l}=n;return{"navigator-handle":function(C,B,$,K,G={}){let q=G.width?G.width/2:$,Z=l(G.borderRadius||0,Math.min(2*q,K));return[["M",-1.5,(K=G.height||K)/2-3.5],["L",-1.5,K/2+4.5],["M",.5,K/2-3.5],["L",.5,K/2+4.5],...t.rect(-q-1,.5,2*q+1,K,{r:Z})]}}}),r(e,"Stock/Utilities/StockUtilities.js",[e["Core/Utilities.js"]],function(t){let{defined:n}=t;return{setFixedRange:function(l){let C=this.xAxis[0];n(C.dataMax)&&n(C.dataMin)&&l?this.fixedRange=Math.min(l,C.dataMax-C.dataMin):this.fixedRange=l}}}),r(e,"Stock/Navigator/NavigatorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/Navigator/NavigatorSymbols.js"],e["Core/Renderer/RendererRegistry.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{setOptions:q}=t,{composed:Z}=n,{getRendererType:R}=$,{setFixedRange:Y}=K,{addEvent:V,extend:H,pushUnique:T}=G;function L(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}return{compose:function(j,s,c){l.compose(s),T(Z,"Navigator")&&(j.prototype.setFixedRange=Y,H(R().prototype.symbols,B),V(c,"afterUpdate",L),q({navigator:C}))}}}),r(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){var l;let{composed:C}=t,{addEvent:B,defined:$,pick:K,pushUnique:G}=n;return function(q){let Z;function R(T){let L=K(T.options&&T.options.min,T.min),j=K(T.options&&T.options.max,T.max);return{axisMin:L,axisMax:j,scrollMin:$(T.dataMin)?Math.min(L,T.min,T.dataMin,K(T.threshold,1/0)):L,scrollMax:$(T.dataMax)?Math.max(j,T.max,T.dataMax,K(T.threshold,-1/0)):j}}function Y(){let T=this.scrollbar,L=T&&!T.options.opposite,j=this.horiz?2:L?3:1;T&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[j]+=T.size+(T.options.margin||0))}function V(){let T=this;T.options&&T.options.scrollbar&&T.options.scrollbar.enabled&&(T.options.scrollbar.vertical=!T.horiz,T.options.startOnTick=T.options.endOnTick=!1,T.scrollbar=new Z(T.chart.renderer,T.options.scrollbar,T.chart),B(T.scrollbar,"changed",function(L){let j,s,{axisMin:c,axisMax:x,scrollMin:N,scrollMax:P}=R(T),S=P-N;if($(c)&&$(x))if(T.horiz&&!T.reversed||!T.horiz&&T.reversed?(j=N+S*this.to,s=N+S*this.from):(j=N+S*(1-this.from),s=N+S*(1-this.to)),this.shouldUpdateExtremes(L.DOMType)){let g=L.DOMType!=="mousemove"&&L.DOMType!=="touchmove"&&void 0;T.setExtremes(s,j,!0,g,L)}else this.setRange(this.from,this.to)}))}function H(){let T,L,j,{scrollMin:s,scrollMax:c}=R(this),x=this.scrollbar,N=this.axisTitleMargin+(this.titleOffset||0),P=this.chart.scrollbarsOffsets,S=this.options.margin||0;if(x&&P){if(this.horiz)this.opposite||(P[1]+=N),x.position(this.left,this.top+this.height+2+P[1]-(this.opposite?S:0),this.width,this.height),this.opposite||(P[1]+=S),T=1;else{let g;this.opposite&&(P[0]+=N),g=x.options.opposite?this.left+this.width+2+P[0]-(this.opposite?0:S):this.opposite?0:S,x.position(g,this.top,this.width,this.height),this.opposite&&(P[0]+=S),T=0}if(P[T]+=x.size+(x.options.margin||0),isNaN(s)||isNaN(c)||!$(this.min)||!$(this.max)||this.dataMin===this.dataMax)x.setRange(0,1);else if(this.min===this.max){let g=this.pointRange/(this.dataMax+1);L=g*this.min,j=g*(this.max+1),x.setRange(L,j)}else L=(this.min-s)/(c-s),j=(this.max-s)/(c-s),this.horiz&&!this.reversed||!this.horiz&&this.reversed?x.setRange(L,j):x.setRange(1-j,1-L)}}q.compose=function(T,L){G(C,"Axis.Scrollbar")&&(Z=L,B(T,"afterGetOffset",Y),B(T,"afterInit",V),B(T,"afterRe
130nder",H))}}(l||(l={})),l}),r(e,"Stock/Scrollbar/ScrollbarDefaults.js",[],function(){return{height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1}}),r(e,"Stock/Scrollbar/Scrollbar.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{defaultOptions:$}=t,{addEvent:K,correctFloat:G,crisp:q,defined:Z,destroyObjectProperties:R,fireEvent:Y,merge:V,pick:H,removeEvent:T}=B;class L{static compose(s){l.compose(s,L)}static swapXY(s,c){return c&&s.forEach(x=>{let N,P=x.length;for(let S=0;S<P;S+=2)typeof(N=x[S+1])=="number"&&(x[S+1]=x[S+2],x[S+2]=N)}),s}constructor(s,c,x){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(s,c,x)}addEvents(){let s=this.options.inverted?[1,0]:[0,1],c=this.scrollbarButtons,x=this.scrollbarGroup.element,N=this.track.element,P=this.mouseDownHandler.bind(this),S=this.mouseMoveHandler.bind(this),g=this.mouseUpHandler.bind(this),v=[[c[s[0]].element,"click",this.buttonToMinClick.bind(this)],[c[s[1]].element,"click",this.buttonToMaxClick.bind(this)],[N,"click",this.trackClick.bind(this)],[x,"mousedown",P],[x.ownerDocument,"mousemove",S],[x.ownerDocument,"mouseup",g],[x,"touchstart",P],[x.ownerDocument,"touchmove",S],[x.ownerDocument,"touchend",g]];v.forEach(function(p){K.apply(null,p)}),this._events=v}buttonToMaxClick(s){let c=(this.to-this.from)*H(this.options.step,.2);this.updatePosition(this.from+c,this.to+c),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}buttonToMinClick(s){let c=G(this.to-this.from)*H(this.options.step,.2);this.updatePosition(G(this.from-c),G(this.to-c)),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}cursorToScrollbarPosition(s){let c=this.options,x=c.minWidth>this.calculatedWidth?c.minWidth:0;return{chartX:(s.chartX-this.x-this.xOffset)/(this.barWidth-x),chartY:(s.chartY-this.y-this.yOffset)/(this.barWidth-x)}}destroy(){let s=this,c=s.chart.scroller;s.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(x){s[x]&&s[x].destroy&&(s[x]=s[x].destroy())}),c&&s===c.scrollbar&&(c.scrollbar=null,R(c.scrollbarButtons))}drawScrollbarButton(s){let c=this.renderer,x=this.scrollbarButtons,N=this.options,P=this.size,S=c.g().add(this.group);if(x.push(S),N.buttonsEnabled){let g=c.rect().addClass("highcharts-scrollbar-button").add(S);this.chart.styledMode||g.attr({stroke:N.buttonBorderColor,"stroke-width":N.buttonBorderWidth,fill:N.buttonBackgroundColor}),g.attr(g.crisp({x:-.5,y:-.5,width:P,height:P,r:N.buttonBorderRadius},g.strokeWidth()));let v=c.path(L.swapXY([["M",P/2+(s?-1:1),P/2-3],["L",P/2+(s?-1:1),P/2+3],["L",P/2+(s?2:-2),P/2]],N.vertical)).addClass("highcharts-scrollbar-arrow").add(x[s]);this.chart.styledMode||v.attr({fill:N.buttonArrowColor})}}init(s,c,x){this.scrollbarButtons=[],this.renderer=s,this.userOptions=c,this.options=V(C,$.scrollbar,c),this.options.margin=H(this.options.margin,10),this.chart=x,this.size=H(this.options.size,this.options.height),c.enabled&&(this.render(),this.addEvents())}mouseDownHandler(s){var N;let c=((N=this.chart.pointer)==null?void 0:N.normalize(s))||s,x=this.cursorToScrollbarPosition(c);this.chartX=x.chartX,this.chartY=x.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(s){var S;let c,x=((S=this.chart.pointer)==null?void 0:S.normalize(s))||s,N=this.options.vertical?"chartY":"chartX",P=this.initPositions||[];this.grabbedCenter&&(!s.touches||s.touches[0][N]!==0)&&(c=this.cursorToScrollbarPosition(x)[N]-this[N],this.hasDragged=!0,this.updatePosition(P[0]+c,P[1]+c),this.hasDragged&&Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:s.type,DOMEvent:s}))}
vendor: 9,606 bytes, line 130
130mouseUpHandler(s){this.hasDragged&&Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:s.type,DOMEvent:s}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(s,c,x,N){let{buttonsEnabled:P,margin:S=0,vertical:g}=this.options,v=this.rendered?"animate":"attr",p=N,a=0;this.group.show(),this.x=s,this.y=c+this.trackBorderWidth,this.width=x,this.height=N,this.xOffset=p,this.yOffset=a,g?(this.width=this.yOffset=x=a=this.size,this.xOffset=p=0,this.yOffset=a=P?this.size:0,this.barWidth=N-(P?2*x:0),this.x=s+=S):(this.height=N=this.size,this.xOffset=p=P?this.size:0,this.barWidth=x-(P?2*N:0),this.y=this.y+S),this.group[v]({translateX:s,translateY:this.y}),this.track[v]({width:x,height:N}),this.scrollbarButtons[1][v]({translateX:g?0:x-p,translateY:g?N-a:0})}removeEvents(){this._events.forEach(function(s){T.apply(null,s)}),this._events.length=0}render(){let s=this.renderer,c=this.options,x=this.size,N=this.chart.styledMode,P=s.g("scrollbar").attr({zIndex:c.zIndex}).hide().add();this.group=P,this.track=s.rect().addClass("highcharts-scrollbar-track").attr({r:c.trackBorderRadius||0,height:x,width:x}).add(P),N||this.track.attr({fill:c.trackBackgroundColor,stroke:c.trackBorderColor,"stroke-width":c.trackBorderWidth});let S=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-q(0,S),y:-q(0,S)}),this.scrollbarGroup=s.g().add(P),this.scrollbar=s.rect().addClass("highcharts-scrollbar-thumb").attr({height:x-S,width:x-S,r:c.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=s.path(L.swapXY([["M",-3,x/4],["L",-3,2*x/3],["M",0,x/4],["L",0,2*x/3],["M",3,x/4],["L",3,2*x/3]],c.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),N||(this.scrollbar.attr({fill:c.barBackgroundColor,stroke:c.barBorderColor,"stroke-width":c.barBorderWidth}),this.scrollbarRifles.attr({stroke:c.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-q(0,this.scrollbarStrokeWidth),-q(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(s,c){let x,N,P=this.options,S=P.vertical,g=P.minWidth,v=this.barWidth,p=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!Z(v))return;let a=v*Math.min(c,1);x=Math.ceil(v*(s=Math.max(s,0))),this.calculatedWidth=N=G(a-x),N<g&&(x=(v-g+N)*s,N=g);let o=Math.floor(x+this.xOffset+this.yOffset),u=N/2-.5;this.from=s,this.to=c,S?(this.scrollbarGroup[p]({translateY:o}),this.scrollbar[p]({height:N}),this.scrollbarRifles[p]({translateY:u}),this.scrollbarTop=o,this.scrollbarLeft=0):(this.scrollbarGroup[p]({translateX:o}),this.scrollbar[p]({width:N}),this.scrollbarRifles[p]({translateX:u}),this.scrollbarLeft=o,this.scrollbarTop=0),N<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),P.showFull===!1&&(s<=0&&c>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(s){return H(this.options.liveRedraw,n.svg&&!n.isTouchDevice&&!this.chart.boosted)||s==="mouseup"||s==="touchend"||!Z(s)}trackClick(s){var S;let c=((S=this.chart.pointer)==null?void 0:S.normalize(s))||s,x=this.to-this.from,N=this.y+this.scrollbarTop,P=this.x+this.scrollbarLeft;this.options.vertical&&c.chartY>N||!this.options.vertical&&c.chartX>P?this.updatePosition(this.from+x,this.to+x):this.updatePosition(this.from-x,this.to-x),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}update(s){this.destroy(),this.init(this.chart.renderer,V(!0,this.options,s),this.chart)}updatePosition(s,c){c>1&&(s=G(1-G(c-s)),c=1),s<0&&(c=G(c-s),s=0),this.from=s,this.to=c}}return L.defaultOptions=C,$.scrollbar=V(!0,L.defaultOptions,$.scrollbar),L}),r(e,"Stock/Navigator/Navigator.js",[e["Core/Axis/Axis.js"],e["Stock/Navigator/ChartNavigatorComposition.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorComposition.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{defaultOptions:Z}=l,{isTouchDevice:R}=C,{prototype:{symbols:Y}}=G,{addEvent:V,clamp:H,correctFloat:T,defined:L,destroyObjectProperties:j,erase:s,extend:c,find:x,fireEvent:N,isArray:P,isNumber:S,merge:g,pick:v,removeEvent:p,splat:a}=q;function o(d,...h){let m=[].filter.call(h,S);if(m.length)return Math[d].apply(0,m)}class u{static compose(h,m,f){n.compose(h,u),$.compose(h,m,f)}constructor(h){this.isDirty=!1,this.scrollbarHeight=0,this.init(h)}drawHandle(h,m,f,y){let I=this.navigatorOptions.handles.height;this.handles[m][y](f?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(h,10)+.5-I)}:{translateX:Math.round(this.left+parseInt(h,10)),translateY:Math.round(this.top+this.height/2-I/2-1)})}drawOutline(h,m,f,y){let I=this.navigatorOptions.maskInside,E=this.outline.strokeWidth(),M=E/2,D=E%2/2,F=this.scrollButtonSize,X=this.size,_=this.top,w=this.height,A=_-M,U=_+w,b=this.left,k,O;f?(k=_+m+D,m=_+h+D,O=[["M",b+w,_-F-D],["L",b+w,k],["L",b,k],["M",b,m],["L",b+w,m],["L",b+w,_+X+F]],I&&O.push(["M",b+w,k-M],["L",b+w,m+M])):(b-=F,h+=b+F-D,m+=b+F-D,O=[["M",b,A],["L",h,A],["L",h,U],["M",m,U],["L",m,A],["L",b+X+2*F,A]],I&&O.push(["M",h-M,A],["L",m+M,A])),this.outline[y]({d:O})}drawMasks(h,m,f,y){let I,E,M,D,F=this.left,X=this.top,_=this.height;f?(M=[F,F,F],D=[X,X+h,X+m],E=[_,_,_],I=[h,m-h,this.size-m]):(M=[F,F+h,F+m],D=[X,X,X],E=[h,m-h,this.size-m],I=[_,_,_]),this.shades.forEach((w,A)=>{w[y]({x:M[A],y:D[A],width:E[A],height:I[A]})})}renderElements(){var F;let h=this,m=h.navigatorOptions,f=m.maskInside,y=h.chart,I=y.inverted,E=y.renderer,M={cursor:I?"ns-resize":"ew-resize"},D=h.navigatorGroup??(h.navigatorGroup=E.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!f,f,!f].forEach((X,_)=>{let w=h.shades[_]??(h.shades[_]=E.rect().addClass("highcharts-navigator-mask"+(_===1?"-inside":"-outside")).add(D));y.styledMode||(w.attr({fill:X?m.maskFill:"rgba(0,0,0,0)"}),_===1&&w.css(M))}),h.outline||(h.outline=E.path().addClass("highcharts-navigator-outline").add(D)),y.styledMode||h.outline.attr({"stroke-width":m.outlineWidth,stroke:m.outlineColor}),(F=m.handles)==null?void 0:F.enabled){let X=m.handles,{height:_,width:w}=X;[0,1].forEach(A=>{var b;let U=X.symbols[A];if(h.handles[A]&&h.handles[A].symbolUrl===U){if(!h.handles[A].isImg&&h.handles[A].symbolName!==U){let k=Y[U].call(Y,-w/2-1,0,w,_);h.handles[A].attr({d:k}),h.handles[A].symbolName=U}}else(b=h.handles[A])==null||b.destroy(),h.handles[A]=E.symbol(U,-w/2-1,0,w,_,X),h.handles[A].attr({zIndex:7-A}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][A]).add(D),h.addMouseEvents();y.inverted&&h.handles[A].attr({rotation:90,rotationOriginX:Math.floor(-w/2),rotationOriginY:(_+w)/2}),y.styledMode||h.handles[A].attr({fill:X.backgroundColor,stroke:X.borderColor,"stroke-width":X.lineWidth,width:X.width,height:X.height,x:-w/2-1,y:0}).css(M)})}}update(h,m=!1){var I;let f=this.chart,y=f.options.chart.inverted!==((I=f.scrollbar)==null?void 0:I.options.vertical);if(g(!0,f.options.navigator,h),this.navigatorOptions=f.options.navigator||{},this.setOpposite(),L(h.enabled)||y)return this.destroy(),this.navigatorEnabled=h.enabled||this.navigatorEnabled,this.init(f);if(this.navigatorEnabled&&(this.isDirty=!0,h.adaptToUpdatedData===!1&&this.baseSeries.forEach(E=>{p(E,"updatedData",this.updatedDataHandler)},this),h.adaptToUpdatedData&&this.baseSeries.forEach(E=>{E.eventsToUnbind.push(V(E,"updatedData",this.updatedDataHandler))},this),(h.series||h.baseSeries)&&this.setBaseSeries(void 0,!1),h.height||h.xAxis||h.yAxis)){this.height=h.height??this.height;let E=this.getXAxisOffsets();this.xAxis.update(xt(ze({},h.xAxis),{offsets:E,[f.inverted?"width":"height"]:this.height,[f.inverted?"height":"width"]:void 0}),!1),this.yAxis.update(xt(ze({},h.yAxis),{[f.inverted?"width":"height"]:this.height}),!1)}m&&f.redraw()}render(h,m,f,y){let I=this.chart,E=this.xAxis,M=E.pointRange||0,D=E.navigatorAxis.fake?I.xAxis[0]:E,F=this.navigatorEnabled,X=this.rendered,_=I.inverted,w=I.xAxis[0].minRange,A=I.xAxis[0].options.maxRange,U=this.scrollButtonSize,b,k,O,z=this.scrollbarHeight,W,Q;if(this.hasDragged&&!L(f))return;if(this.isDirty&&this.renderElements(),h=T(h-M/2),m=T(m+M/2),!S(h)||!S(m)){if(!X)return;f=0,y=v(E.width,D.width)}this.left=v(E.left,I.plotLeft+U+(_?I.plotWidth:0));let ee=this.size=W=v(E.len,(_?I.plotHeight:I.plotWidth)-2*U);b=_?z:W+2*U,f=v(f,E.toPixels(h,!0)),y=v(y,E.toPixels(m,!0)),S(f)&&Math.abs(f)!==1/0||(f=0,y=b);let se=E.toValue(f,!0),ae=E.toValue(y,!0),he=Math.abs(T(ae-se));he<w?this.grabbedLeft?f=E.toPixels(ae-w-M,!0):this.grabbedRight&&(y=E.toPixels(se+w+M,!0)):L(A)&&T(he-M)>A&&(this.grabbedLeft?f=E.toPixels(ae-A-M,!0):this.grabbedRight&&(y=E.toPixels(se+A+M,!0))),this.zoomedMax=H(Math.max(f,y),0,ee),this.zoomedMin=H(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(f,y),0,ee),this.range=this.zoomedMax-this.zoomedMin,ee=Math.round(this.zoomedMax);let ce=Math.round(this.zoomedMin);F&&(this.navigatorGroup.attr({visibility:"inherit"}),Q=X&&!this.hasDragged?"animate":"attr",this.drawMasks(ce,ee,_,Q),this.drawOutline(ce,ee,_,Q),this.navigatorOptions.handles.enabled&&(this.drawHandle(ce,0,_,Q),this.drawHandle(ee,1,_,Q))),this.scrollbar&&(_?(O=this.top-U,k=this.left-z+(F||!D.opposite?0:(D.titleOffset||0)+D.axisTitleMargin),z=W+2*U):(O=this.top+(F?this.height:-z),k=this.left-U),this.scrollbar.position(k,O,b,z),this.scrollbar.setRange(this.zoomedMin/(W||1),this.zoomedMax/(W||1))),this.rendered=!0,this.isDirty=!1,N(this,"afterRe
130nder")}addMouseEvents(){let h=this,m=h.chart,f=m.container,y=[],I,E;h.mouseMoveHandler=I=function(M){h.onMouseMove(M)},h.mouseUpHandler=E=function(M){h.onMouseUp(M)},(y=h.getPartsEvents("mousedown")).push(V(m.renderTo,"mousemove",I),V(f.ownerDocument,"mouseup",E),V(m.renderTo,"touchmove",I),V(f.ownerDocument,"touchend",E)),y.concat(h.getPartsEvents("touchstart")),h.eventsToUnbind=y,h.series&&h.series[0]&&y.push(V(h.series[0].xAxis,"foundExtremes",function(){m.navigator.modifyNavigatorAxisExtremes()}))}getPartsEvents(h){let m=this,f=[];return["shades","handles"].forEach(function(y){m[y].forEach(function(I,E){f.push(V(I.element,h,function(M){m[y+"Mousedown"](M,E)}))})}),f}shadesMousedown(h,m){var U;h=((U=this.chart.pointer)==null?void 0:U.normalize(h))||h;let f=this.chart,y=this.xAxis,I=this.zoomedMin,E=this.size,M=this.range,D=this.left,F=h.chartX,X,_,w,A;f.inverted&&(F=h.chartY,D=this.top),m===1?(this.grabbedCenter=F,this.fixedWidth=M,this.dragOffset=F-I):(A=F-D-M/2,m===0?A=Math.max(0,A):m===2&&A+M>=E&&(A=E-M,this.reversedExtremes?(A-=M,_=this.getUnionExtremes().dataMin):X=this.getUnionExtremes().dataMax),A!==I&&(this.fixedWidth=M,L((w=y.navigatorAxis.toFixedRange(A,A+M,_,X)).min)&&N(this,"setRange",{min:Math.min(w.min,w.max),max:Math.max(w.min,w.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(h,m){var E;h=((E=this.chart.pointer)==null?void 0:E.normalize(h))||h;let f=this.chart,y=f.xAxis[0],I=this.reversedExtremes;m===0?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=I?y.min:y.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=I?y.max:y.min),f.setFixedRange(void 0)}onMouseMove(h){var X;let m=this,f=m.chart,y=m.navigatorSize,I=m.range,E=m.dragOffset,M=f.inverted,D=m.left,F;(!h.touches||h.touches[0].pageX!==0)&&(F=(h=((X=f.pointer)==null?void 0:X.normalize(h))||h).chartX,M&&(D=m.top,F=h.chartY),m.grabbedLeft?(m.hasDragged=!0,m.render(0,0,F-D,m.otherHandlePos)):m.grabbedRight?(m.hasDragged=!0,m.render(0,0,m.otherHandlePos,F-D)):m.grabbedCenter&&(m.hasDragged=!0,F<E?F=E:F>y+E-I&&(F=y+E-I),m.render(0,0,F-E,F-E+I)),m.hasDragged&&m.scrollbar&&v(m.scrollbar.options.liveRedraw,!R&&!this.chart.boosted)&&(h.DOMType=h.type,setTimeout(function(){m.onMouseUp(h)},0)))}onMouseUp(h){let m,f,y,I,E,M,D=this.chart,F=this.xAxis,X=this.scrollbar,_=h.DOMEvent||h,w=D.inverted,A=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!X||!X.hasDragged)||h.trigger==="scrollbar")&&(y=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?I=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(E=this.fixedExtreme),this.zoomedMax===this.size&&(E=this.reversedExtremes?y.dataMin:y.dataMax),this.zoomedMin===0&&(I=this.reversedExtremes?y.dataMax:y.dataMin),L((M=F.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,I,E)).min)&&N(this,"setRange",{min:Math.min(M.min,M.max),max:Math.max(M.min,M.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:_}})),h.DOMType!=="mousemove"&&h.DOMType!=="touchmove"&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&S(this.zoomedMin)&&S(this.zoomedMax)&&(f=Math.round(this.zoomedMin),m=Math.round(this.zoomedMax),this.shades&&this.drawMasks(f,m,w,A),this.outline&&this.drawOutline(f,m,w,A),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(f,0,w,A),this.drawHandle(m,1,w,A)))}removeEvents(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(h){h()}),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let h=this.baseSeries||[];this.navigatorEnabled&&h[0]&&(this.navigatorOptions.adaptToUpdatedData!==!1&&h.forEach(function(m){p(m,"updatedData",this.updatedDataHandler)},this),h[0].xAxis&&p(h[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(h){var b;
vendor: 4,357 bytes, line 130
130let m=h.options,f=m.navigator||{},y=f.enabled,I=m.scrollbar||{},E=I.enabled,M=y&&f.height||0,D=E&&I.height||0,F=I.buttonsEnabled&&D||0;this.handles=[],this.shades=[],this.chart=h,this.setBaseSeries(),this.height=M,this.scrollbarHeight=D,this.scrollButtonSize=F,this.scrollbarEnabled=E,this.navigatorEnabled=y,this.navigatorOptions=f,this.scrollbarOptions=I,this.setOpposite();let X=this,_=X.baseSeries,w=h.xAxis.length,A=h.yAxis.length,U=_&&_[0]&&_[0].xAxis||h.xAxis[0]||{options:{}};if(h.isDirtyBox=!0,X.navigatorEnabled){let k=this.getXAxisOffsets();X.xAxis=new t(h,g({breaks:U.options.breaks,ordinal:U.options.ordinal,overscroll:U.options.overscroll},f.xAxis,{type:"datetime",yAxis:(b=f.yAxis)==null?void 0:b.id,index:w,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:U.options.ordinal?0:U.options.minPadding,maxPadding:U.options.ordinal?0:U.options.maxPadding,zoomEnabled:!1},h.inverted?{offsets:k,width:M}:{offsets:k,height:M}),"xAxis"),X.yAxis=new t(h,g(f.yAxis,{alignTicks:!1,offset:0,index:A,isInternal:!0,reversed:v(f.yAxis&&f.yAxis.reversed,h.yAxis[0]&&h.yAxis[0].reversed,!1),zoomEnabled:!1},h.inverted?{width:M}:{height:M}),"yAxis"),_||f.series.data?X.updateNavigatorSeries(!1):h.series.length===0&&(X.unbindRedraw=V(h,"beforeRedraw",function(){h.series.length>0&&!X.series&&(X.setBaseSeries(),X.unbindRedraw())})),X.reversedExtremes=h.inverted&&!X.xAxis.reversed||!h.inverted&&X.xAxis.reversed,X.renderElements(),X.addMouseEvents()}else X.xAxis={chart:h,navigatorAxis:{fake:!0},translate:function(k,O){let z=h.xAxis[0],W=z.getExtremes(),Q=z.len-2*F,ee=o("min",z.options.min,W.dataMin),se=o("max",z.options.max,W.dataMax)-ee;return O?k*se/Q+ee:Q*(k-ee)/se},toPixels:function(k){return this.translate(k)},toValue:function(k){return this.translate(k,!0)}},X.xAxis.navigatorAxis.axis=X.xAxis,X.xAxis.navigatorAxis.toFixedRange=B.prototype.toFixedRange.bind(X.xAxis.navigatorAxis);if(h.options.scrollbar.enabled){let k=g(h.options.scrollbar,{vertical:h.inverted});!S(k.margin)&&X.navigatorEnabled&&(k.margin=h.inverted?-3:3),h.scrollbar=X.scrollbar=new K(h.renderer,k,h),V(X.scrollbar,"changed",function(O){let z=X.size,W=z*this.to,Q=z*this.from;X.hasDragged=X.scrollbar.hasDragged,X.render(0,0,Q,W),this.shouldUpdateExtremes(O.DOMType)&&setTimeout(function(){X.onMouseUp(O)})})}X.addBaseSeriesEvents(),X.addChartEvents()}setOpposite(){let h=this.navigatorOptions,m=this.navigatorEnabled,f=this.chart;this.opposite=v(h.opposite,!!(!m&&f.inverted))}getUnionExtremes(h){let m,f=this.chart.xAxis[0],y=this.xAxis,I=y.options,E=f.options;return h&&f.dataMin===null||(m={dataMin:v(I&&I.min,o("min",E.min,f.dataMin,y.dataMin,y.min)),dataMax:v(I&&I.max,o("max",E.max,f.dataMax,y.dataMax,y.max))}),m}setBaseSeries(h,m){let f=this.chart,y=this.baseSeries=[];h=h||f.options&&f.options.navigator.baseSeries||(f.series.length?x(f.series,I=>!I.options.isInternal).index:0),(f.series||[]).forEach((I,E)=>{!I.options.isInternal&&(I.options.showInNavigator||(E===h||I.options.id===h)&&I.options.showInNavigator!==!1)&&y.push(I)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,m)}updateNavigatorSeries(h,m){var w,A;let f=this,y=f.chart,I=f.baseSeries,E={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:(w=this.navigatorOptions.xAxis)==null?void 0:w.id,yAxis:(A=this.navigatorOptions.yAxis)==null?void 0:A.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},M=f.series=(f.series||[]).filter(U=>{let b=U.baseSeries;return!(0>I.indexOf(b))||(b&&(p(b,"updatedData",f.updatedDataHandler),delete b.navigatorSeries),U.chart&&U.destroy(),!1)}),D,F,X=f.navigatorOptions.series,_;I&&I.length&&I.forEach(U=>{let b=U.navigatorSeries,k=c({color:U.color,visible:U.visible},P(X)?Z.navigator.series:X);if(b&&f.navigatorOptions.adaptToUpdatedData===!1)return;E.name="Navigator "+I.length,_=(D=U.options||{}).navigatorOptions||{},k.dataLabels=a(k.dataLabels),(F=g(D,E,k,_)).pointRange=v(k.pointRange,_.pointRange,Z.plotOptions[F.type||"line"].pointRange);let O=_.data||k.data;f.hasNavigatorData=f.hasNavigatorData||!!O,F.data=O||D.data&&D.data.slice(0),b&&b.options?b.update(F,m):(U.navigatorSeries=y.initSeries(F),y.setSortedData(),U.navigatorSeries.baseSeries=U,M.push(U.navigatorSeries))}),(X.data&&!(I&&I.length)||P(X))&&(f.hasNavigatorData=!1,(X=a(X)).forEac
130h((U,b)=>{E.name="Navigator "+(M.length+1),(F=g(Z.navigator.series,{color:y.series[b]&&!y.series[b].options.isInternal&&y.series[b].color||y.options.colors[b]||y.options.colors[0]},E,U)).data=U.data,F.data&&(f.hasNavigatorData=!0,M.push(y.initSeries(F)))})),h&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let h=this,m=h.baseSeries||[];m[0]&&m[0].xAxis&&m[0].eventsToUnbind.push(V(m[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),m.forEach(f=>{f.eventsToUnbind.push(V(f,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),f.eventsToUnbind.push(V(f,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),this.navigatorOptions.adaptToUpdatedData!==!1&&f.xAxis&&f.eventsToUnbind.push(V(f,"updatedData",this.updatedDataHandler)),f.eventsToUnbind.push(V(f,"remove",function(){m&&s(m,f),this.navigatorSeries&&(s(h.series,this.navigatorSeries),L(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(h){return this.baseSeries.reduce(function(m,f){return Math.min(m,f.xData&&f.xData.length?f.xData[0]:m)},h)}modifyNavigatorAxisExtremes(){let h=this.xAxis;if(h.getExtremes!==void 0){let m=this.getUnionExtremes(!0);m&&(m.dataMin!==h.min||m.dataMax!==h.max)&&(h.min=m.dataMin,h.max=m.dataMax)}}modifyBaseAxisExtremes(){var b;let h,m,f=this.chart.navigator,y=this.getExtremes(),I=y.min,E=y.max,M=y.dataMin,D=y.dataMax,F=E-I,X=f.stickToMin,_=f.stickToMax,w=v((b=this.ordinal)==null?void 0:b.convertOverscroll(this.options.overscroll),0),A=f.series&&f.series[0],U=!!this.setExtremes;!(this.eventArgs&&this.eventArgs.trigger==="rangeSelectorButton")&&(X&&(h=(m=M)+F),_&&(h=D+w,X||(m=Math.max(M,h-F,f.getBaseSeriesMin(A&&A.xData?A.xData[0]:-Number.MAX_VALUE)))),U&&(X||_)&&S(m)&&(this.min=this.userMin=m,this.max=this.userMax=h)),f.stickToMin=f.stickToMax=null}updatedDataHandler(){let h=this.chart.navigator,m=this.navigatorSeries,f=h.reversedExtremes?Math.round(h.zoomedMin)===0:Math.round(h.zoomedMax)>=Math.round(h.size);h.stickToMax=v(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,f),h.stickToMin=h.shouldStickToMin(this,h),m&&!h.hasNavigatorData&&(m.options.pointStart=this.xData[0],m.setData(this.options.data,!1,null,!1))}shouldStickToMin(h,m){let f=m.getBaseSeriesMin(h.xData[0]),y=h.xAxis,I=y.max,E=y.min,M=y.options.range;return!!(S(I)&&S(E))&&(M&&I-f>0?I-f<M:E<=f)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(V(this.chart,"redraw",function(){let h=this.navigator,m=h&&(h.baseSeries&&h.baseSeries[0]&&h.baseSeries[0].xAxis||this.xAxis[0]);m&&h.render(m.min,m.max)}),V(this.chart,"getMargins",function(){let h=this.navigator,m=h.opposite?"plotTop":"marginBottom";this.inverted&&(m=h.opposite?"marginRight":"plotLeft"),this[m]=(this[m]||0)+(h.navigatorEnabled||!this.inverted?h.height+h.scrollbarHeight:0)+h.navigatorOptions.margin}),V(u,"setRange",function(h){this.chart.xAxis[0].setExtremes(h.min,h.max,h.redraw,h.animation,h.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(s(this.chart.xAxis,this.xAxis),s(this.chart.axes,this.xAxis)),this.yAxis&&(s(this.chart.yAxis,this.yAxis),s(this.chart.axes,this.yAxis)),(this.series||[]).forEach(h=>{h.destroy&&h.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(h=>{this[h]&&this[h].destroy&&this[h].destroy(),this[h]=null}),[this.handles].forEach(h=>{j(h)}),this.navigatorEnabled=!1}}return u}),r(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{addEvent:$,correctFloat:K,css:G,defined:q,error:Z,isNumber:R,pick:Y,timeUnits:V,isString:H}=C;return function(T){function L(o,u,d,h,m=[],f=0,y){let I={},E=this.options.tickPixelInterval,M=this.chart.time,D=[],F,X,_,w,A,U=0,b=[],k=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!m||m.length<3||u===void 0)return M.getTimeTicks.apply(M,arguments);let O=m.length;for(F=0;F<O;F++){if(A=F&&m[F-1]>d,m[F]<u&&(U=F),F===O-1||m[F+1]-m[F]>5*f||A){if(m[F]>k){for(X=M.getTimeTicks(o,m[U],m[F],h);X.length&&X[0]<=k;)X.shift();X.length&&(k=X[X.length-1]),D.push(b.length),b=b.concat(X)}U=F+1}if(A)break}if(X){if(w=X.info,y&&w.unitRange<=V.hour){for(U=1,F=b.length-1;U<F;U++)M.dateFormat("%d",b[U])!==M.dateFormat("%d",b[U-1])&&(I[b[U]]="day",_=!0);_&&(I[b[0]]="day"),w.higherRanks=I}w.segmentStarts=D,b.info=w}else Z(12,!1,this.chart);if(y&&q(E)){let z=b.length,W=[],Q=[],ee,se,ae,he,ce,ie=z;for(;ie--;)se=this.translate(b[ie]),ae&&(Q[ie]=ae-se),W[ie]=ae=se;for(Q.sort((te,ne)=>te-ne),(he=Q[Math.floor(Q.length/2)])<.6*E&&(he=null),ie=b[z-1]>d?z-1:z,ae=void 0;ie--;)ce=Math.abs(ae-(se=W[ie])),ae&&ce<.8*E&&(he===null||ce<.8*he)?(I[b[ie]]&&!I[b[ie+1]]?(ee=ie+1,ae=se):ee=ie,b.splice(ee,1)):ae=se}return b}function j(o){let u=this.ordinal.positions;if(!u)return o;let d=u.length-1,h;return o<0?o=u[0]:o>d?o=u[d]:(d=Math.floor(o),h=o-d),h!==void 0&&u[d]!==void 0?u[d]+(h?h*(u[d+1]-u[d]):0):o}function s(o){let u=this.ordinal,d=this.old?this.old.min:this.min,h=this.old?this.old.transA:this.transA,m=u.getExtendedPositions();if(m&&m.length){let f=K((o-d)*h+this.minPixelPadding),y=K(u.getIndexOfPoint(f,m)),I=K(y%1);if(y>=0&&y<=m.length-1){let E=m[Math.floor(y)],M=m[Math.ceil(y)];return m[Math.floor(y)]+I*(M-E)}}return o}function c(o,u){let d=T.Additions.findIndexOf(o,u,!0);if(o[d]===u)return d;let h=(u-o[d])/(o[d+1]-o[d]);return d+h}function x(){this.ordinal||(this.ordinal=new T.Additions(this))}function N(){let{eventArgs:o,options:u}=this;if(this.isXAxis&&q(u.overscroll)&&u.overscroll!==0&&R(this.max)&&R(this.min)&&(this.options.ordinal&&!this.ordinal.originalOrdinalRange&&this.ordinal.getExtendedPositions(!1),this.max===this.dataMax&&((o==null?void 0:o.trigger)!=="pan"||this.isInternal)&&(o==null?void 0:o.trigger)!=="navigator")){let d=this.ordinal.convertOverscroll(u.overscroll);this.max+=d,!this.isInternal&&q(this.userMin)&&(o==null?void 0:o.trigger)!=="mousewheel"&&(this.min+=d)}}function P(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function S(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function g(o){let u=this.xAxis[0],d=u.ordinal.convertOverscroll(u.options.overscroll),h=o.originalEvent.chartX,m=this.options.chart.panning,f=!1;if(m&&m.type!=="y"&&u.options.ordinal&&u.series.length&&(!o.touches||o.touches.length<=1)){let y,I,E=this.mouseDownX,M=u.getExtremes(),D=M.dataMin,F=M.dataMax,X=M.min,_=M.max,w=this.hoverPoints,A=u.closestPointRange||u.ordinal&&u.ordinal.overscrollPointsRange,U=Math.round((E-h)/(u.translationSlope*(u.ordinal.slope||A))),b=u.ordinal.getExtendedPositions(),k={ordinal:{positions:b,extendedOrdinalPositions:b}},O=u.index2val,z=u.val2lin;if(X<=D&&U<0||_+d>=F&&U>0)return;k.ordinal.positions?Math.abs(U)>
1301&&(w&&w.forEach(function(W){W.setState()}),F>(I=k.ordinal.positions)[I.length-1]&&I.push(F),this.setFixedRange(_-X),(y=u.navigatorAxis.toFixedRange(void 0,void 0,O.apply(k,[z.apply(k,[X,!0])+U]),O.apply(k,[z.apply(k,[_,!0])+U]))).min>=Math.min(M.dataMin,X)&&y.max<=Math.max(F,_)+d&&u.setExtremes(y.min,y.max,!0,!1,{trigger:"pan"}),this.mouseDownX=h,G(this.container,{cursor:"move"})):f=!0}else f=!0;f||m&&/y/.test(m.type)?d&&(u.max=u.dataMax+d):o.preventDefault()}function v(){let o=this.xAxis;o&&o.options.ordinal&&(delete o.ordinal.index,delete o.ordinal.originalOrdinalRange)}function p(o,u){let d,h=this.ordinal,m=h.positions,f=h.slope,y;if(!m)return o;let I=m.length;if(m[0]<=o&&m[I-1]>=o)d=c(m,o);else{if(!((y=h.getExtendedPositions&&h.getExtendedPositions())&&y.length))return o;let E=y.length;f||(f=(y[E-1]-y[0])/E);let M=c(y,m[0]);if(o>=y[0]&&o<=y[E-1])d=c(y,o)-M;else{if(!u)return o;d=o<y[0]?-M-(y[0]-o)/f:(o-y[E-1])/f+E-M}}return u?d:f*(d||0)+h.offset}T.compose=function(o,u,d){let h=o.prototype;return h.ordinal2lin||(h.getTimeTicks=L,h.index2val=j,h.lin2val=s,h.val2lin=p,h.ordinal2lin=h.val2lin,$(o,"afterInit",x),$(o,"foundExtremes",N),$(o,"afterSetScale",P),$(o,"initialAxisTranslation",S),$(d,"pan",g),$(d,"touchpan",g),$(u,"updatedData",v)),o};class a{constructor(u){this.index={},this.axis=u}beforeSetTickPositions(){var z;let u=this.axis,d=u.ordinal,h=u.getExtremes(),m=h.min,f=h.max,y=(z=u.brokenAxis)==null?void 0:z.hasBreaks,I=u.options.ordinal,E,M,D,F,X,_,w,A=[],U=Number.MAX_VALUE,b=!1,k=!1,O=!1;if(I||y){let W=0;if(u.series.forEach(function(Q,ee){if(M=[],ee>0&&Q.options.id!=="highcharts-navigator-series"&&Q.processedXData.length>1&&(k=W!==Q.processedXData[1]-Q.processedXData[0]),W=Q.processedXData[1]-Q.processedXData[0],Q.boosted&&(O=Q.boosted),Q.reserveSpace()&&(Q.takeOrdinalPosition!==!1||y)&&(E=(A=A.concat(Q.processedXData)).length,A.sort(function(se,ae){return se-ae}),U=Math.min(U,Y(Q.closestPointRange,U)),E)){for(ee=0;ee<E-1;)A[ee]!==A[ee+1]&&M.push(A[ee+1]),ee++;M[0]!==A[0]&&M.unshift(A[0]),A=M}}),u.ordinal.originalOrdinalRange||(u.ordinal.originalOrdinalRange=(A.length-1)*U),k&&O&&(A.pop(),A.shift()),(E=A.length)>2){for(D=A[1]-A[0],w=E-1;w--&&!b;)A[w+1]-A[w]!==D&&(b=!0);!u.options.keepOrdinalPadding&&(A[0]-m>D||f-A[A.length-1]>D)&&(b=!0)}else u.options.overscroll&&(E===2?U=A[1]-A[0]:E===1?(U=u.ordinal.convertOverscroll(u.options.overscroll),A=[A[0],A[0]+U]):U=d.overscrollPointsRange);b||u.forceOrdinal?(u.options.overscroll&&(d.overscrollPointsRange=U,A=A.concat(d.getOverscrollPositions())),d.positions=A,F=u.ordinal2lin(Math.max(m,A[0]),!0),X=Math.max(u.ordinal2lin(Math.min(f,A[A.length-1]),!0),1),d.slope=_=(f-m)/(X-F),d.offset=m-F*_):(d.overscrollPointsRange=Y(u.closestPointRange,d.overscrollPointsRange),d.positions=u.ordinal.slope=d.offset=void 0)}u.isOrdinal=I&&b,d.groupIntervalFactor=null}static findIndexOf(u,d,h){let m=0,f=u.length-1,y;for(;m<f;)u[y=Math.ceil((m+f)/2)]<=d?m=y:f=y-1;return u[m]===d||h?m:-1}getExtendedPositions(u=!0){var _;let d=this,h=d.axis,m=h.constructor.prototype,f=h.chart,y=(_=h.series[0])==null?void 0:_.currentDataGrouping,I=y?y.count+y.unitName:"raw",E=u?h.ordinal.convertOverscroll(h.options.overscroll):0,M=h.getExtremes(),D,F,X=d.index;return X||(X=d.index={}),X[I]||((D={series:[],chart:f,forceOrdinal:!1,getExtremes:function(){return{min:M.dataMin,max:M.dataMax+E}},applyGrouping:m.applyGrouping,getGroupPixelWidth:m.getGroupPixelWidth,getTimeTicks:m.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:m.ordinal2lin,getIndexOfPoint:m.getIndexOfPoint,val2lin:m.val2lin}).ordinal.axis=D,h.series.forEach(function(w){var A,U,b;F={xAxis:D,xData:w.xData.slice(),chart:f,groupPixelWidth:w.groupPixelWidth,destroyGroupedData:n.noop,getProcessedData:l.prototype.getProcessedData,applyGrouping:l.prototype.applyGrouping,reserveSpace:l.prototype.reserveSpace,visible:w.visible},u&&(F.xData=F.xData.concat(d.getOverscrollPositions())),F.options={dataGrouping:y?{firstAnchor:(A=w.options.dataGrouping)==null?void 0:A.firstAnchor,anchor:(U=w.options.dataGrouping)==null?void 0:U.anchor,lastAnchor:(b=w.options.dataGrouping)==null?void 0:b.firstAnchor,enabled:!0,forced:!0,approximation:"open",units:[[y.unitName,[y.count]]]}:{enabled:!1}},D.series.push(F),w.processData.apply(F)}),D.applyGrouping({hasExtremesChanged:!0}),(F==null?void 0:F.closestPointRange)!==(F==null?void 0:F.basePointRange)&&F.currentDataGrouping&&(D.forceOrdinal=!0),h.ordinal.beforeSetTickPositions.apply({axis:D}),!h.ordinal.originalOrdinalRange&&D.ordinal.originalOrdinalRange&&(h.ordinal.originalOrdinalRange=D.ordinal.originalOrdinalRange),X[I]=D.ordinal.positions),X[I]}getGroupIntervalFactor(u,d,h){let m=h.processedXData,f=m.length,y=[],I,E,M=this.groupIntervalFactor;if(!M){for(E=0;E<f-1;E++)y[E]=m[E+1]-m[E];y.sort(function(D,F){return D-F}),I=y[Math.floor(f/2)],u=Math.max(u,m[0]),d=Math.min(d,m[f-1]),this.groupIntervalFactor=M=f*I/(d-u)}return M}getIndexOfPoint(u,d){let h,m=this.axis,f=0,y=function(M){let{min:D,max:F}=m;return!!(q(D)&&q(F))&&M.points.some(X=>X.x>=D&&X.x<=F)};
130m.series.forEach(M=>{var F;let D=(F=M.points)==null?void 0:F[0];q(D==null?void 0:D.plotX)&&(D.plotX<h||!q(h))&&y(M)&&(h=D.plotX,f=D.x)}),h??(h=m.minPixelPadding);let I=m.translationSlope*(this.slope||m.closestPointRange||this.overscrollPointsRange),E=K((u-h)/I);return a.findIndexOf(d,f,!0)+E}getOverscrollPositions(){let u=this.axis,d=this.convertOverscroll(u.options.overscroll),h=this.overscrollPointsRange,m=[],f=u.dataMax;if(q(h))for(;f<=u.dataMax+d;)m.push(f+=h);return m}postProcessTickInterval(u){let d=this.axis,h=this.slope;return h?d.options.breaks?d.closestPointRange||u:u/(h/d.closestPointRange):u}convertOverscroll(u=0){let d=this,h=d.axis,m=function(f){return Y(d.originalOrdinalRange,q(h.dataMax)&&q(h.dataMin)?h.dataMax-h.dataMin:0)*f};if(H(u)){let f=parseInt(u,10);if(/%$/.test(u))return m(f/100);if(/px/.test(u)){let y=Math.min(f,.9*h.len)/h.len;return m(y/(1-y))}return 0}return u}}T.Additions=a}(B||(B={})),B}),r(e,"Stock/RangeSelector/RangeSelectorDefaults.js",[],function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%e %b %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#334eff",cursor:"pointer",fontSize:"0.8em"},labelStyle:{color:"#666666",fontSize:"0.8em"}}}}),r(e,"Stock/RangeSelector/RangeSelectorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C){let B,{defaultOptions:$}=t,{composed:K}=n,{addEvent:G,defined:q,extend:Z,isNumber:R,merge:Y,pick:V,pushUnique:H}=C,T=[];function L(){let S,g,v=this.range,p=v.type,a=this.max,o=this.chart.time,u=function(h,m){let f=p==="year"?"FullYear":"Month",y=new o.Date(h),I=o.get(f,y);return o.set(f,y,I+m),I===o.get(f,y)&&o.set("Date",y,0),y.getTime()-h};R(v)?(S=a-v,g=v):v&&(S=a+u(a,-(v.count||1)),this.chart&&this.chart.setFixedRange(a-S));let d=V(this.dataMin,Number.MIN_VALUE);return R(S)||(S=d),S<=d&&(S=d,g===void 0&&(g=u(S,v.count)),this.newMax=Math.min(S+g,V(this.dataMax,Number.MAX_VALUE))),R(a)?!R(v)&&v&&v._offsetMin&&(S+=v._offsetMin):S=void 0,S}function j(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new B(this))}function s(){let S=this.rangeSelector;if(S){R(S.deferredYTDClick)&&(S.clickButton(S.deferredYTDClick),delete S.deferredYTDClick);let g=S.options.verticalAlign;S.options.floating||(g==="bottom"?this.extraBottomMargin=!0:g==="middle"||(this.extraTopMargin=!0))}}function c(){let S,g=this.rangeSelector;if(!g)return;let v=this.xAxis[0].getExtremes(),p=this.legend,a=g&&g.options.verticalAlign;R(v.min)&&g.render(v.min,v.max),p.display&&a==="top"&&a===p.options.verticalAlign&&(S=Y(this.spacingBox),p.options.layout==="vertical"?S.y=this.plotTop:S.y+=g.getHeight(),p.group.placed=!1,p.align(S))}function x(){for(let S=0,g=T.length;S<g;++S){let v=T[S];
130if(v[0]===this){v[1].forEach(p=>p()),T.splice(S,1);return}}}function N(){let S=this.rangeSelector;if(S){let g=S.getHeight();this.extraTopMargin&&(this.plotTop+=g),this.extraBottomMargin&&(this.marginBottom+=g)}}function P(S){let g=S.options.rangeSelector,v=this.extraBottomMargin,p=this.extraTopMargin,a=this.rangeSelector;if(g&&g.enabled&&!q(a)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=a=new B(this)),this.extraBottomMargin=!1,this.extraTopMargin=!1,a){let o=g&&g.verticalAlign||a.options&&a.options.verticalAlign;a.options.floating||(o==="bottom"?this.extraBottomMargin=!0:o==="middle"||(this.extraTopMargin=!0)),(this.extraBottomMargin!==v||this.extraTopMargin!==p)&&(this.isDirtyBox=!0)}}return{compose:function(S,g,v){if(B=v,H(K,"RangeSelector")){let p=g.prototype;S.prototype.minFromRange=L,G(g,"afterGetContainer",j),G(g,"beforeRender",s),G(g,"destroy",x),G(g,"getMargins",N),G(g,"redraw",c),G(g,"update",P),p.callbacks.push(c),Z($,{rangeSelector:l.rangeSelector}),Z($.lang,l.lang)}}}}),r(e,"Stock/RangeSelector/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorComposition.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"],e["Core/Axis/OrdinalAxis.js"]],function(t,n,l,C,B,$,K){let{defaultOptions:G}=n,{addEvent:q,createElement:Z,css:R,defined:Y,destroyObjectProperties:V,discardElement:H,extend:T,fireEvent:L,isNumber:j,merge:s,objectEach:c,pad:x,pick:N,pInt:P,splat:S}=$;class g{static compose(p,a){C.compose(p,a,g)}constructor(p){this.buttonOptions=g.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.init(p)}clickButton(p,a){let o=this.chart,u=this.buttonOptions[p],d=o.xAxis[0],h=o.scroller&&o.scroller.getUnionExtremes()||d||{},m=u.type,f=u.dataGrouping,y=h.dataMin,I=h.dataMax,E,M=d&&Math.round(Math.min(d.max,N(I,d.max))),D,F=u._range,X,_,w,A=!0;if(y!==null&&I!==null){if(this.setSelected(p),f&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(d||{chart:this.chart},f,!1),this.frozenStates=u.preserveDataGrouping),m==="month"||m==="year")d?(_={range:u,max:M,chart:o,dataMin:y,dataMax:I},E=d.minFromRange.call(_),j(_.newMax)&&(M=_.newMax),A=!1):F=u;else if(F)M=Math.min((E=Math.max(M-F,y))+F,I),A=!1;else if(m==="ytd")if(d)(I===void 0||y===void 0)&&(y=Number.MAX_VALUE,I=Number.MIN_VALUE,o.series.forEach(U=>{let b=U.xData;b&&(y=Math.min(b[0],y),I=Math.max(b[b.length-1],I))}),a=!1),E=X=(w=this.getYTDExtremes(I,y,o.time.useUTC)).min,M=w.max;else{this.deferredYTDClick=p;return}else m==="all"&&d&&(o.navigator&&o.navigator.baseSeries[0]&&(o.navigator.baseSeries[0].xAxis.options.range=void 0),E=y,M=I);if(A&&u._offsetMin&&Y(E)&&(E+=u._offsetMin),u._offsetMax&&Y(M)&&(M+=u._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=p+1),d)d.setExtremes(E,M,N(a,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:u}),o.setFixedRange(u._range);else{D=S(o.options.xAxis)[0];let U=q(o,"afterGetAxes",function(){let b=o.xAxis[0];b.range=b.options.range=F,b.min=b.options.min=X});q(o,"load",function(){let b=o.xAxis[0];o.setFixedRange(u._range),b.options.range=D.range,b.options.min=D.min,U()})}L(this,"afterBtnClick")}}setSelected(p){this.selected=this.options.selected=p}init(p){let a=this,o=p.options.rangeSelector,u=o.buttons||a.defaultButtons.slice(),d=o.selected,h=function(){let m=a.minInput,f=a.maxInput;m&&m.blur&&L(m,"blur"),f&&f.blur&&L(f,"blur")};a.chart=p,a.options=o,a.buttons=[],a.buttonOptions=u,this.eventsToUnbind=[],this.eventsToUnbind.push(q(p.container,"mousedown",h)),this.eventsToUnbind.push(q(p,"resize",h)),u.forEach(a.computeButtonRange),d!==void 0&&u[d]&&this.clickButton(d,!1),this.eventsToUnbind.push(q(p,"load",function(){p.xAxis&&p.xAxis[0]&&q(p.xAxis[0],"setExtremes",function(m){j(this.max)&&j(this.min)&&this.max-this.min!==p.fixedRange&&m.trigger!=="rangeSelectorButton"&&m.trigger!=="updatedData"&&a.forcedDataGrouping&&!a.frozenStates&&this.setDataGrouping(!1,!1)})})),this.createElements()}updateButtonStates(){let p=this,a=this.chart,o=this.dropdown,u=this.dropdownLabel,d=a.xAxis[0],h=Math.round(d.max-d.min),m=!d.hasVisibleSeries,f=24*36e5,y=a.scroller&&a.scroller.getUnionExtremes()||d,I=y.dataMin,E=y.dataMax,M=p.getYTDExtremes(E,I,a.time.useUTC),D=M.min,F=M.max,X=p.selected,_=p.options.allButtonsEnabled,w=Array(p.buttonOptions.length).fill(0),A=j(X),U=p.buttons,b=!1,k=null;p.buttonOptions.forEach((O,z)=>
130{var le;let W=O._range,Q=O.type,ee=O.count||1,se=O._offsetMax-O._offsetMin,ae=z===X,he=W>E-I,ce=W<d.minRange,ie=!1,te=W===h;if(ae&&he&&(b=!0),d.isOrdinal&&((le=d.ordinal)==null?void 0:le.positions)&&W&&h<W){let ue=d.ordinal.positions,de=K.Additions.findIndexOf(ue,d.min,!0),fe=Math.min(K.Additions.findIndexOf(ue,d.max,!0)+1,ue.length-1);ue[fe]-ue[de]>W&&(te=!0)}else(Q==="month"||Q==="year")&&h+36e5>={month:28,year:365}[Q]*f*ee-se&&h-36e5<={month:31,year:366}[Q]*f*ee+se?te=!0:Q==="ytd"?(te=F-D+se===h,ie=!ae):Q==="all"&&(te=d.max-d.min>=E-I);let ne=!_&&!(b&&Q==="all")&&(he||ce||m),oe=b&&Q==="all"||!ie&&te||ae&&p.frozenStates;ne?w[z]=3:oe&&(!A||z===X)&&(k=z)}),k!==null?(w[k]=2,p.setSelected(k)):(p.setSelected(),u&&(u.setState(0),u.attr({text:(G.lang.rangeSelectorZoom||"")+" \u25BE"})));for(let O=0;O<w.length;O++){let z=w[O],W=U[O];if(W.state!==z&&(W.setState(z),o)){o.options[O+1].disabled=z===3,z===2&&(u&&(u.setState(2),u.attr({text:p.buttonOptions[O].text+" \u25BE"})),o.selectedIndex=O+1);let Q=u.getBBox();R(o,{width:`${Q.width}px`,height:`${Q.height}px`})}}}computeButtonRange(p){let a=p.type,o=p.count||1,u={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};u[a]?p._range=u[a]*o:(a==="month"||a==="year")&&(p._range=24*{month:30,year:365}[a]*36e5*o),p._offsetMin=N(p.offsetMin,0),p._offsetMax=N(p.offsetMax,0),p._range+=p._offsetMax-p._offsetMin}getInputValue(p){let a=p==="min"?this.minInput:this.maxInput,o=this.chart.options.rangeSelector,u=this.chart.time;return a?(a.type==="text"&&o.inputDateParser||this.defaultInputDateParser)(a.value,u.useUTC,u):0}setInputValue(p,a){let o=this.options,u=this.chart.time,d=p==="min"?this.minInput:this.maxInput,h=p==="min"?this.minDateBox:this.maxDateBox;if(d){let m=d.getAttribute("data-hc-time"),f=Y(m)?Number(m):void 0;if(Y(a)){let y=f;Y(y)&&d.setAttribute("data-hc-time-previous",y),d.setAttribute("data-hc-time",a),f=a}d.value=u.dateFormat(this.inputTypeFormats[d.type]||o.inputEditDateFormat,f),h&&h.attr({text:u.dateFormat(o.inputDateFormat,f)})}}setInputExtremes(p,a,o){let u=p==="min"?this.minInput:this.maxInput;if(u){let d=this.inputTypeFormats[u.type],h=this.chart.time;if(d){let m=h.dateFormat(d,a);u.min!==m&&(u.min=m);let f=h.dateFormat(d,o);u.max!==f&&(u.max=f)}}}showInput(p){let a=p==="min"?this.minDateBox:this.maxDateBox,o=p==="min"?this.minInput:this.maxInput;if(o&&a&&this.inputGroup){let u=o.type==="text",{translateX:d=0,translateY:h=0}=this.inputGroup,{x:m=0,width:f=0,height:y=0}=a,{inputBoxWidth:I}=this.options;R(o,{width:u?f+(I?-2:20)+"px":"auto",height:y-2+"px",border:"2px solid silver"}),u&&I?R(o,{left:d+m+"px",top:h+"px"}):R(o,{left:Math.min(Math.round(m+d-(o.offsetWidth-f)/2),this.chart.chartWidth-o.offsetWidth)+"px",top:h-(o.offsetHeight-y)/2+"px"})}}hideInput(p){let a=p==="min"?this.minInput:this.maxInput;a&&R(a,{top:"-9999em",border:0,width:"1px",height:"1px"})}defaultInputDateParser(p,a,o){let u=p.split("/").join("-").split(" ").join("T");if(u.indexOf("T")===-1&&(u+="T00:00"),a)u+="Z";else{let h;if(l.isSafari&&!((h=u).length>6&&(h.lastIndexOf("-")===h.length-6||h.lastIndexOf("+")===h.length-6))){let m=new Date(u).getTimezoneOffset()/60;u+=m<=0?`+${x(-m)}:00`:`-${x(m)}:00`}}let d=Date.parse(u);if(!j(d)){let h=p.split("-");d=Date.UTC(P(h[0]),P(h[1])-1,P(h[2]))}return o&&a&&j(d)&&(d+=o.getTimezoneOffset(d)),d}drawInput(p){let{chart:a,div:o,inputGroup:u}=this,d=this,h=a.renderer.style||{},m=a.renderer,f=a.options.rangeSelector,y=G.lang,I=p==="min";function E(w){var ee;let{maxInput:A,minInput:U}=d,b=a.xAxis[0],k=((ee=a.scroller)==null?void 0:ee.getUnionExtremes())||b,O=k.dataMin,z=k.dataMax,W=a.xAxis[0].getExtremes()[w],Q=d.getInputValue(w);j(Q)&&Q!==W&&(I&&A&&j(O)?Q>Number(A.getAttribute("data-hc-time"))?Q=void 0:Q<O&&(Q=O):U&&j(z)&&(Q<Number(U.getAttribute("data-hc-time"))?Q=void 0:Q>z&&(Q=z)),Q!==void 0&&b.setExtremes(I?Q:b.min,I?b.max:Q,void 0,void 0,{trigger:"rangeSelectorInput"}))}let M=y[I?"rangeSelectorFrom":"rangeSelectorTo"]||"",D=m.label(M,0).addClass("highcharts-range-label").attr({padding:M?2:0,height:M?f.inputBoxHeight:0}).add(u),F=m.label("",0).addClass("highcharts-range-input").attr({padding:2,width:f.inputBoxWidth,height:f.inputBoxHeight,"text-align":"center"}).on("click",function(){d.showInput(p),d[p+"Input"].focus()});a.styledMode||F.attr({stroke:f.inputBoxBorderColor,"stroke-width":1}),F.add(u);let X=Z("input",{name:p,className:"highcharts-range-selector"},void 0,o);X.setAttribute("type",function(w){if(w.indexOf("%L")!==-1)return"text";let A=["a","A","d","e","w","b","B","m","o","y","Y"].some(b=>w.indexOf("%"+b)!==-1),U=["H","k","I","l","M","S"].some(b=>w.indexOf("%"+b)!==-1);return A&&U?"datetime-local":A?"date":U?"time":"text"}(f.inputDateFormat||"%e %b %Y")),a.styledMode||(D.css(s(h,f.labelStyle)),F.css(s({color:"#333333"},h,f.inputStyle)),R(X,T({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},f.inputStyle))),X.onfocus=()=>{d.showInput(p)},X.onblur=()=>{X===l.doc.activeElement&&E(p),d.hideInput(p),d.setInputValue(p),X.blur()};let _=!1;return X.onchange=()=>{_||(E(p),d.hideInput(p),X.blur())},X.onkeypress=w=>{w.keyCode===13&&E(p)},X.onkeydown=w=>{_=!0,(w.key==="ArrowUp"||w.key==="ArrowDown"||w.key==="Tab")&&E(p)},X.onkeyup=()=>{_=!1}
130,{dateBox:F,input:X,label:D}}getPosition(){let p=this.chart,a=p.options.rangeSelector,o=a.verticalAlign==="top"?p.plotTop-p.axisOffset[0]:0;return{buttonTop:o+a.buttonPosition.y,inputTop:o+a.inputPosition.y-10}}getYTDExtremes(p,a,o){let u=this.chart.time,d=new u.Date(p),h=u.get("FullYear",d),m=Math.max(a,o?u.Date.UTC(h,0,1):+new u.Date(h,0,1)),f=d.getTime();return{max:Math.min(p||f,f),min:m}}createElements(){var f;let p=this.chart,a=p.renderer,o=p.container,u=p.options,d=u.rangeSelector,h=d.inputEnabled,m=N((f=u.chart.style)==null?void 0:f.zIndex,0)+1;if(d.enabled!==!1&&(this.group=a.g("range-selector-group").attr({zIndex:7}).add(),this.div=Z("div",void 0,{position:"relative",height:0,zIndex:m}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),h)){this.inputGroup=a.g("input-group").add(this.group);let y=this.drawInput("min");this.minDateBox=y.dateBox,this.minLabel=y.label,this.minInput=y.input;let I=this.drawInput("max");this.maxDateBox=I.dateBox,this.maxLabel=I.label,this.maxInput=I.input}}render(p,a){let o=this.chart,u=o.options.rangeSelector,d=u.inputEnabled;if(u.enabled!==!1){if(d){this.setInputValue("min",p),this.setInputValue("max",a);let h=o.scroller&&o.scroller.getUnionExtremes()||o.xAxis[0]||{};if(Y(h.dataMin)&&Y(h.dataMax)){let m=o.xAxis[0].minRange||0;this.setInputExtremes("min",h.dataMin,Math.min(h.dataMax,this.getInputValue("max"))-m),this.setInputExtremes("max",Math.max(h.dataMin,this.getInputValue("min"))+m,h.dataMax)}if(this.inputGroup){let m=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(f=>{if(f){let{width:y}=f.getBBox();y&&(f.attr({x:m}),m+=y+u.inputSpacing)}})}}this.alignElements(),this.updateButtonStates()}}renderButtons(){var D;let{buttons:p,chart:a,options:o}=this,u=G.lang,d=a.renderer,h=s(o.buttonTheme),m=h&&h.states,f=h.width||28;delete h.width,delete h.states,this.buttonGroup=d.g("range-selector-buttons").add(this.group);let y=this.dropdown=Z("select",void 0,{position:"absolute",padding:0,border:0,cursor:"pointer",opacity:1e-4},this.div),I=(D=a.userOptions.rangeSelector)==null?void 0:D.buttonTheme;this.dropdownLabel=d.button("",0,0,()=>{},s(h,{"stroke-width":N(h["stroke-width"],0),width:"auto",paddingLeft:N(o.buttonTheme.paddingLeft,I==null?void 0:I.padding,8),paddingRight:N(o.buttonTheme.paddingRight,I==null?void 0:I.padding,8)}),m&&m.hover,m&&m.select,m&&m.disabled).hide().add(this.group),q(y,"touchstart",()=>{y.style.fontSize="16px"});let E=l.isMS?"mouseover":"mouseenter",M=l.isMS?"mouseout":"mouseleave";q(y,E,()=>{L(this.dropdownLabel.element,E)}),q(y,M,()=>{L(this.dropdownLabel.element,M)}),q(y,"change",()=>{L(this.buttons[y.selectedIndex-1].element,"click")}),this.zoomText=d.label(u.rangeSelectorZoom||"",0).attr({padding:o.buttonTheme.padding,height:o.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(o.labelStyle),h["stroke-width"]=N(h["stroke-width"],0)),Z("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,y),this.buttonOptions.forEach((F,X)=>{Z("option",{textContent:F.title||F.text},void 0,y),p[X]=d.button(F.text,0,0,_=>{let w,A=F.events&&F.events.click;A&&(w=A.call(F,_)),w!==!1&&this.clickButton(X),this.isActive=!0},h,m&&m.hover,m&&m.select,m&&m.disabled).attr({"text-align":"center",width:f}).add(this.buttonGroup),F.title&&p[X].attr("title",F.title)})}alignElements(){var X;let{buttonGroup:p,buttons:a,chart:o,group:u,inputGroup:d,options:h,zoomText:m}=this,f=o.options,y=f.exporting&&f.exporting.enabled!==!1&&f.navigation&&f.navigation.buttonOptions,{buttonPosition:I,inputPosition:E,verticalAlign:M}=h,D=(_,w)=>y&&this.titleCollision(o)&&M==="top"&&w.align==="right"&&w.y-_.getBBox().height-12<(y.y||0)+(y.height||0)+o.spacing[0]?-40:0,F=o.plotLeft;if(u&&I&&E){let _=I.x-o.spacing[3];if(p){if(this.positionButtons(),!this.initialButtonGroupWidth){let Q=0;m&&(Q+=m.getBBox().width+5),a.forEach((ee,se)=>{Q+=ee.width||0,se!==a.length-1&&(Q+=h.buttonSpacing)}),this.initialButtonGroupWidth=Q}F-=o.spacing[3];let W=D(p,I);this.alignButtonGroup(W),(X=this.buttonGroup)!=null&&X.translateY&&this.dropdownLabel.attr({y:this.buttonGroup.translateY}),u.placed=p.placed=o.hasLoaded}let w=0;d&&(w=D(d,E),E.align==="left"?_=F:E.align==="right"&&(_=-Math.max(o.axisOffset[1],-w)),d.align({y:E.y,width:d.getBBox().width,align:E.align,x:E.x+_-2},!0,o.spacingBox),d.placed=o.hasLoaded),this.handleCollision(w),u.align({verticalAlign:M},!0,o.spacingBox);let A=u.alignAttr.translateY,U=u.getBBox().height+20,b=0;if(M==="bottom"){let W=o.legend&&o.legend.options;b=A-(U=U+(W&&W.verticalAlign==="bottom"&&W.enabled&&!W.floating?o.legend.legendHeight+N(W.margin,10):0)-20)-(h.floating?0:h.y)-(o.titleOffset?o.titleOffset[2]:0)-10}M==="top"?(h.floating&&(b=0),o.titleOffset&&o.titleOffset[0]&&(b=o.titleOffset[0]),b+=o.margin[0]-o.spacing[0]||0):M==="middle"&&(E.y===I.y?b=A:(E.y||I.y)&&(E.y<0||I.y<0?b-=Math.min(E.y,I.y):b=A-U)),u.translate(h.x,h.y+Math.floor(b));
130let{minInput:k,maxInput:O,dropdown:z}=this;h.inputEnabled&&k&&O&&(k.style.marginTop=u.translateY+"px",O.style.marginTop=u.translateY+"px"),z&&(z.style.marginTop=u.translateY+"px")}}alignButtonGroup(p,a){let{chart:o,options:u,buttonGroup:d}=this,{buttonPosition:h}=u,m=o.plotLeft-o.spacing[3],f=h.x-o.spacing[3];h.align==="right"?f+=p-m:h.align==="center"&&(f-=m/2),d&&d.align({y:h.y,width:N(a,this.initialButtonGroupWidth),align:h.align,x:f},!0,o.spacingBox)}positionButtons(){let{buttons:p,chart:a,options:o,zoomText:u}=this,d=a.hasLoaded?"animate":"attr",{buttonPosition:h}=o,m=a.plotLeft,f=m;u&&u.visibility!=="hidden"&&(u[d]({x:N(m+h.x,m)}),f+=h.x+u.getBBox().width+5);for(let y=0,I=this.buttonOptions.length;y<I;++y)p[y].visibility!=="hidden"?(p[y][d]({x:f}),f+=(p[y].width||0)+o.buttonSpacing):p[y][d]({x:m})}handleCollision(p){let{chart:a,buttonGroup:o,inputGroup:u}=this,{buttonPosition:d,dropdown:h,inputPosition:m}=this.options,f=()=>{let E=0;return this.buttons.forEach(M=>{let D=M.getBBox();D.width>E&&(E=D.width)}),E},y=E=>{if(u!=null&&u.alignOptions&&o){let M=u.alignAttr.translateX+u.alignOptions.x-p+u.getBBox().x+2,D=u.alignOptions.width||0,F=o.alignAttr.translateX+o.getBBox().x;return F+E>M&&M+D>F&&d.y<m.y+u.getBBox().height}return!1},I=()=>{u&&o&&u.attr({translateX:u.alignAttr.translateX+(a.axisOffset[1]>=-p?0:-p),translateY:u.alignAttr.translateY+o.getBBox().height+10})};if(o){if(h==="always"){this.collapseButtons(),y(f())&&I();return}h==="never"&&this.expandButtons()}u&&o?m.align===d.align||y(this.initialButtonGroupWidth+20)?h==="responsive"?(this.collapseButtons(),y(f())&&I()):I():h==="responsive"&&this.expandButtons():o&&h==="responsive"&&(this.initialButtonGroupWidth>a.plotWidth?this.collapseButtons():this.expandButtons())}collapseButtons(){let{buttons:p,zoomText:a}=this;this.isCollapsed!==!0&&(this.isCollapsed=!0,a.hide(),p.forEach(o=>void o.hide()),this.showDropdown())}expandButtons(){let{buttons:p,zoomText:a}=this;this.isCollapsed!==!1&&(this.isCollapsed=!1,this.hideDropdown(),a.show(),p.forEach(o=>void o.show()),this.positionButtons())}showDropdown(){let{buttonGroup:p,chart:a,dropdownLabel:o,dropdown:u}=this;if(p&&u){let{translateX:d=0,translateY:h=0}=p,m=a.plotLeft+d;o.attr({x:m,y:h}).show(),R(u,{left:m+"px",top:h+"px",visibility:"inherit"}),this.hasVisibleDropdown=!0}}hideDropdown(){let{dropdown:p}=this;p&&(this.dropdownLabel.hide(),R(p,{visibility:"hidden",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)}getHeight(){let p=this.options,a=this.group,o=p.inputPosition,u=p.buttonPosition,d=p.y,h=u.y,m=o.y,f=0;if(p.height)return p.height;this.alignElements(),f=a?a.getBBox(!0).height+13+d:0;let y=Math.min(m,h);return(m<0&&h<0||m>0&&h>0)&&(f+=Math.abs(y)),f}titleCollision(p){return!(p.options.title.text||p.options.subtitle.text)}update(p,a=!0){let o=this.chart;s(!0,o.options.rangeSelector,p),this.destroy(),this.init(o),a&&this.render()}destroy(){let p=this,a=p.minInput,o=p.maxInput;p.eventsToUnbind&&(p.eventsToUnbind.forEach(u=>u()),p.eventsToUnbind=void 0),V(p.buttons),a&&(a.onfocus=a.onblur=a.onchange=null),o&&(o.onfocus=o.onblur=o.onchange=null),c(p,function(u,d){u&&d!=="chart"&&(u instanceof B?u.destroy():u instanceof i.HTMLElement&&H(u)),u!==g.prototype[d]&&(p[d]=null)},this)}}return T(g.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),g}),r(e,"Core/Chart/StockChart.js",[e["Core/Chart/Chart.js"],e["Core/Templating.js"],e["Core/Defaults.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{format:q}=n,{getOptions:Z}=l,{setFixedRange:R}=K,{addEvent:Y,clamp:V,crisp:H,defined:T,extend:L,find:j,isNumber:s,isString:c,merge:x,pick:N,splat:P}=G;function S(p,a,o){var u,d;return p==="xAxis"?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0}:p==="yAxis"?{labels:{y:-2},opposite:o.opposite??a.opposite??!0,showLastLabel:!!(a.categories||a.type==="category"),title:{text:((u
130=o.title)==null?void 0:u.text)!=="Values"?(d=o.title)==null?void 0:d.text:null}}:{}}function g(p,a){if(p==="xAxis"){let o=N(a.navigator&&a.navigator.enabled,C.enabled,!0),u={type:"datetime",categories:void 0};return o&&(u.startOnTick=!1,u.endOnTick=!1),u}return{}}class v extends t{init(a,o){let u=Z(),d=a.xAxis,h=a.yAxis,m=N(a.navigator&&a.navigator.enabled,C.enabled,!0);a.xAxis=a.yAxis=void 0;let f=x({chart:{panning:{enabled:!0,type:"x"},zooming:{pinchType:"x",mouseWheel:{type:"x"}}},navigator:{enabled:m},scrollbar:{enabled:N($.enabled,!0)},rangeSelector:{enabled:N(B.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:N(u.tooltip&&u.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},a,{isStock:!0});a.xAxis=d,a.yAxis=h,f.xAxis=P(a.xAxis||{}).map(y=>x(S("xAxis",y,u.xAxis),y,g("xAxis",a))),f.yAxis=P(a.yAxis||{}).map(y=>x(S("yAxis",y,u.yAxis),y)),super.init(f,o)}createAxis(a,o){return o.axis=x(S(a,o.axis,Z()[a]),o.axis,g(a,this.userOptions)),super.createAxis(a,o)}}return Y(t,"update",function(p){let a=p.options;"scrollbar"in a&&this.navigator&&(x(!0,this.options.scrollbar,a.scrollbar),this.navigator.update({enabled:!!this.navigator.navigatorEnabled}),delete a.scrollbar)}),function(p){function a(I){if(!this.crosshair||!this.crosshair.label||!this.crosshair.label.enabled||!this.cross||!s(this.min)||!s(this.max))return;let E=this.chart,M=this.logarithmic,D=this.crosshair.label,F=this.horiz,X=this.opposite,_=this.left,w=this.top,A=this.width,U=this.options.tickPosition==="inside",b=this.crosshair.snap!==!1,k=I.e||this.cross&&this.cross.e,O=I.point,z=this.crossLabel,W,Q,ee=D.format,se="",ae,he=0,ce=this.min,ie=this.max;M&&(ce=M.lin2log(this.min),ie=M.lin2log(this.max));let te=F?"center":X?this.labelAlign==="right"?"right":"left":this.labelAlign==="left"?"left":"center";z||(z=this.crossLabel=E.renderer.label("",0,void 0,D.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(O&&O.series?O.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:D.align||te,padding:N(D.padding,8),r:N(D.borderRadius,3),zIndex:2}).add(this.labelGroup),E.styledMode||z.attr({fill:D.backgroundColor||O&&O.series&&O.series.color||"#666666",stroke:D.borderColor||"","stroke-width":D.borderWidth||0}).css(L({color:"#ffffff",fontWeight:"normal",fontSize:"0.7em",textAlign:"center"},D.style||{}))),F?(W=b?(O.plotX||0)+_:k.chartX,Q=w+(X?0:this.height)):(W=_+this.offset+(X?A:0),Q=b?(O.plotY||0)+w:k.chartY),ee||D.formatter||(this.dateTime&&(se="%b %d, %Y"),ee="{value"+(se?":"+se:"")+"}");let ne=b?this.isXAxis?O.x:O.y:this.toValue(F?k.chartX:k.chartY),oe=O&&O.series?O.series.isPointInside(O):s(ne)&&ne>ce&&ne<ie,le="";ee?le=q(ee,{value:ne},E):D.formatter&&s(ne)&&(le=D.formatter.call(this,ne)),z.attr({text:le,x:W,y:Q,visibility:oe?"inherit":"hidden"});let ue=z.getBBox();!s(z.x)||F||X||(W=z.x-ue.width/2),s(z.y)&&(F?(U&&!X||!U&&X)&&(Q=z.y-ue.height):Q=z.y-ue.height/2),ae=F?{left:_,right:_+this.width}:{left:this.labelAlign==="left"?_:0,right:this.labelAlign==="right"?_+this.width:E.chartWidth};let de=z.translateX||0;de<ae.left&&(he=ae.left-de),de+ue.width>=ae.right&&(he=-(de+ue.width-ae.right)),z.attr({x:W+he,y:Q,anchorX:F?W:this.opposite?0:E.chartWidth,anchorY:F?this.opposite?E.chartHeight:0:Q+ue.height/2})}function o(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())}function u(I){let E=this.chart,M=this.options,D=E._labelPanes=E._labelPanes||{},F=M.labels;if(E.options.isStock&&this.coll==="yAxis"){let X=M.top+","+M.height;!D[X]&&F.enabled&&(F.distance===15&&this.side===1&&(F.distance=0),F.align===void 0&&(F.align="right"),D[X]=this,I.align="right",I.preventDefault())}}function d(){let I=this.chart,E=this.options&&this.options.top+","+this.options.height;E&&I._labelPanes&&I._labelPanes[E]===this&&delete I._labelPanes[E]}function h(I){let E=this,M=E.isLinked&&!E.series&&E.linkedParent?E.linkedParent.series:E.series,D=E.chart,F=D.renderer,X=E.left,_=E.top,w=[],A=I.translatedValue,U=I.value,b=I.force,k,O,z,W,Q=[],ee,se;if(D.options.isStock&&I.acrossPanes!==!1&&E.coll==="xAxis"||E.coll==="yAxis"){for(let ae of(I.preventDefault(),Q=(he=>{let ce=he==="xAxis"?"yAxis":"xAxis",ie=E.options[ce];return s(ie)?[D[ce][ie]]:c(ie)?[D.get(ie)]:M.map(te=>te[ce])})(E.coll),E.isXAxis?D.yAxis:D.xAxis))if(!ae.options.isInternal){let he=ae.isXAxis?"yAxis":"xAxis";E===(T(ae.options[he])?D[he][ae.options[he]]:D[he][0])&&Q.push(ae)}for(let ae of(ee=Q.length?[]:[E.isXAxis?D.yAxis[0]:D.xAxis[0]],Q))ee.indexOf(ae)!==-1||j(ee,he=>he.pos===ae.pos&&he.len===ae.len)||ee.push(ae);if(s(se=N(A,E.translate(U||0,void 0,void 0,I.old))))if(E.horiz)for(let ae of ee){let he;W=(O=ae.pos)+ae.len,k=z=Math.round(se+E.transB),b!=="pass"&&(k<X||k>X+E.width)&&(b?k=z=V(k,X,X+E.width):he=!0),he||w.push(["M",k,O],["L",z,W])}else for(let ae of ee){let he;z=(k=ae.pos)+ae.len,O=W=Math.round(_+E.height-se),b!=="pass"&&(O<_||O>_+E.height)&&(b?O=W=V(O,_,_+E.height):he=!0),he||w.push(["M",k,O],["L",z,W])}I.path=w.length>0?F.crispPolyLine(w,I.lineWidth||1):void 0}}function m(I){if(this.chart.options.isStock){let E;this.is("column")||this.is("columnrange")?E={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(E={marker:{enabled:!1,radius:2}}),E&&(I.plotOptions[this.type]=x(I.plotOptions[this.type],E))}}function f(){let I=this.chart,E=this.options.dataGrouping;return this.allowDG!==!1&&E&&N(E.enabled,I.options.isStock)}function y(I,E){for(let M=0;M<I.length;M+=2){let D=I[M],F=I[M+1];T(D[1])&&D[1]===F[1]&&(D[1]=F[1]=H(D[1],E)),T(D[2])&&D[2]===F[2]&&(D[2]=F[2]=H(D[2],E))}return I}p.compose=function(I,E,M,D){let F=M.prototype;F.forceCropping||(Y(E,"afterDrawCrosshair",a),Y(E,"afterHideCrosshair",o),Y(E,"autoLabelAlign",u),Y(E,"destroy",d),Y(E,"getPlotLinePath",h),I.prototype.setFixedRange=R,F.forceCropping=f,Y(M,"setOptions",m),D.prototype.crispPolyLine=y)},p.stockChart=function(I,E,M){return new p(I,E,M)}}(v||(v={})),v}),r(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){let{column:{prototype:{pointClass:n}}}=t.seriesTypes;return class extends n{}}),r(e,"Series/HLC/HLCSeriesDefaults.js",[],function(){return{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}}),r(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Series/HLC/HLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{column:B}
130=l.seriesTypes,{crisp:$,extend:K,merge:G}=C;class q extends B{extendStem(R,Y,V){let H=R[0],T=R[1];typeof H[2]=="number"&&(H[2]=Math.max(V+Y,H[2])),typeof T[2]=="number"&&(T[2]=Math.min(V-Y,T[2]))}getPointPath(R,Y){let V=Y.strokeWidth(),H=R.series,T=$(R.plotX||0,V),L=Math.round(R.shapeArgs.width/2),j=[["M",T,Math.round(R.yBottom)],["L",T,Math.round(R.plotHigh)]];if(R.close!==null){let s=$(R.plotClose,V);j.push(["M",T,s],["L",T+L,s]),H.extendStem(j,V/2,s)}return j}drawSinglePoint(R){let Y=R.series,V=Y.chart,H,T=R.graphic;R.plotY!==void 0&&(T||(R.graphic=T=V.renderer.path().add(Y.group)),V.styledMode||T.attr(Y.pointAttribs(R,R.selected&&"select")),H=Y.getPointPath(R,T),T[T?"animate":"attr"]({d:H}).addClass(R.getClassName(),!0))}drawPoints(){this.points.forEach(this.drawSinglePoint)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}pointAttribs(R,Y){let V=super.pointAttribs.call(this,R,Y);return delete V.fill,V}toYData(R){return[R.high,R.low,R.close]}translate(){let R=this,Y=R.yAxis,V=this.pointArrayMap&&this.pointArrayMap.slice()||[],H=V.map(T=>`plot${T.charAt(0).toUpperCase()+T.slice(1)}`);H.push("yBottom"),V.push("low"),super.translate.apply(R),R.points.forEach(function(T){V.forEach(function(L,j){let s=T[L];s!==null&&(R.dataModify&&(s=R.dataModify.modifyValue(s)),T[H[j]]=Y.toPixels(s,!0))}),T.tooltipPos[1]=T.plotHigh+Y.pos-R.chart.plotTop})}}return q.defaultOptions=G(B.defaultOptions,n),K(q.prototype,{pointClass:t,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),l.registerSeriesType("hlc",q),q}),r(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){let{seriesTypes:{hlc:n}}=t;class l extends n.prototype.pointClass{getClassName(){return super.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")}resolveUpColor(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)}resolveColor(){super.resolveColor(),this.series.is("heikinashi")||this.resolveUpColor()}getZone(){let B=super.getZone();return this.resolveUpColor(),B}applyOptions(){return super.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this}}return l}),r(e,"Series/OHLC/OHLCSeriesDefaults.js",[],function(){return{tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}}),r(e,"Series/OHLC/OHLCSeries.js",[e["Core/Globals.js"],e["Series/OHLC/OHLCPoint.js"],e["Series/OHLC/OHLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{composed:$}=t,{hlc:K}=C.seriesTypes,{addEvent:G,crisp:q,extend:Z,merge:R,pushUnique:Y}=B;function V(L){let j=L.options,s=j.dataGrouping;s&&j.useOhlcData&&j.id!=="highcharts-navigator-series"&&(s.approximation="ohlc")}function H(L){let j=L.options;j.useOhlcData&&j.id!=="highcharts-navigator-series"&&Z(this,{pointValKey:T.prototype.pointValKey,pointArrayMap:T.prototype.pointArrayMap,toYData:T.prototype.toYData})}class T extends K{static compose(j,...s){Y($,"OHLCSeries")&&(G(j,"afterSetOptions",V),G(j,"init",H))}getPointPath(j,s){let c=super.getPointPath(j,s),x=s.strokeWidth(),N=q(j.plotX||0,x),P=Math.round(j.shapeArgs.width/2);if(j.open!==null){let S=q(j.plotOpen,x);c.push(["M",N,S],["L",N-P,S]),super.extendStem(c,x/2,S)}return c}pointAttribs(j,s){let c=super.pointAttribs.call(this,j,s),x=this.options;return delete c.fill,!j.options.color&&x.upColor&&j.open<j.close&&(c.stroke=x.upColor),c}toYData(j){return[j.open,j.high,j.low,j.close]}}return T.defaultOptions=R(K.defaultOptions,l),Z(T.prototype,{pointClass:n,pointArrayMap:["open","high","low","close"]}),C.registerSeriesType("ohlc",T),T}),r(e,"Series/Candlestick/CandlestickSeriesDefaults.js",[],function(){return{states:{hover:{lineWidth:2}},threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}}),r(e,"Series/Candlestick/CandlestickSeries.js",[e["Series/Candlestick/CandlestickSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,ohlc:B}
130=n.seriesTypes,{crisp:$,merge:K}=l;class G extends B{pointAttribs(Z,R){let Y=C.prototype.pointAttribs.call(this,Z,R),V=this.options,H=Z.open<Z.close,T=V.lineColor||this.color,L=Z.color||this.color;if(Y["stroke-width"]=V.lineWidth,Y.fill=Z.options.color||H&&V.upColor||L,Y.stroke=Z.options.lineColor||H&&V.upLineColor||T,R){let j=V.states[R];Y.fill=j.color||Y.fill,Y.stroke=j.lineColor||Y.stroke,Y["stroke-width"]=j.lineWidth||Y["stroke-width"]}return Y}drawPoints(){let Z=this.points,R=this.chart,Y=this.yAxis.reversed;for(let V of Z){let H=V.graphic,T,L,j,s,c,x,N,P,S,g=!H;if(V.plotY!==void 0){H||(V.graphic=H=R.renderer.path().add(this.group)),this.chart.styledMode||H.attr(this.pointAttribs(V,V.selected&&"select")).shadow(this.options.shadow);let v=H.strokeWidth();N=$(V.plotX||0,v),j=Math.min(T=V.plotOpen,L=V.plotClose),s=Math.max(T,L),S=Math.round(V.shapeArgs.width/2),c=Y?s!==V.yBottom:Math.round(j)!==Math.round(V.plotHigh||0),x=Y?Math.round(j)!==Math.round(V.plotHigh||0):s!==V.yBottom,j=$(j,v),s=$(s,v),(P=[]).push(["M",N-S,s],["L",N-S,j],["L",N+S,j],["L",N+S,s],["Z"],["M",N,j],["L",N,c?Math.round(Y?V.yBottom:V.plotHigh):j],["M",N,s],["L",N,x?Math.round(Y?V.plotHigh:V.yBottom):s]),H[g?"attr":"animate"]({d:P}).addClass(V.getClassName(),!0)}}}}return G.defaultOptions=K(B.defaultOptions,{tooltip:B.defaultOptions.tooltip},t),n.registerSeriesType("candlestick",G),G}),r(e,"Series/Flags/FlagsPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{column:{prototype:{pointClass:l}}}=t.seriesTypes,{isNumber:C}=n;return class extends l{constructor(){super(...arguments),this.ttBelow=!1}isValid(){return C(this.y)||this.y===void 0}hasNewShapeType(){let B=this.options.shape||this.series.options.shape;return this.graphic&&B&&B!==this.graphic.symbolKey}}}),r(e,"Series/Flags/FlagsSeriesDefaults.js",[],function(){return{borderRadius:0,pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd3ff"}},style:{fontSize:"0.7em",fontWeight:"bold"}}}),r(e,"Series/Flags/FlagsSymbols.js",[e["Core/Renderer/RendererRegistry.js"]],function(t){var n;return function(l){let C=[];function B(K,G,q,Z,R){let Y=R&&R.anchorX||K,V=R&&R.anchorY||G,H=this.circle(Y-1,V-1,2,2);return H.push(["M",Y,V],["L",K,G+Z],["L",K,G],["L",K+q,G],["L",K+q,G+Z],["L",K,G+Z],["Z"]),H}function $(K,G){K[G+"pin"]=function(q,Z,R,Y,V){let H,T=V&&V.anchorX,L=V&&V.anchorY;if(G==="circle"&&Y>R&&(q-=Math.round((Y-R)/2),R=Y),H=K[G](q,Z,R,Y,V),T&&L){let j=T;if(G==="circle")j=q+R/2;else{let c=H[0],x=H[1];c[0]==="M"&&x[0]==="L"&&(j=(c[1]+x[1])/2)}let s=Z>L?Z:Z+Y;H.push(["M",j,s],["L",T,L]),H=H.concat(K.circle(T-1,L-1,2,2))}return H}}l.compose=function(K){if(C.indexOf(K)===-1){C.push(K);let q=K.prototype.symbols;q.flag=B,$(q,"circle"),$(q,"square")}let G=t.getRendererType();C.indexOf(G)&&C.push(G)}}(n||(n={})),n}),r(e,"Series/OnSeriesComposition.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{composed:$}=n,{prototype:K}=t,{prototype:G}=l,{defined:q,pushUnique:Z,stableSort:R}=C;return function(Y){function V(T){return G.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,T)}function H(){var M,D;K.translate.apply(this);let T=this,L=T.options,j=T.chart,s=T.points,c=L.onSeries,x=c&&j.get(c),N=x&&x.options.step,P=x&&x.points,S=j.inverted,g=T.xAxis,v=T.yAxis,p=s.length-1,a,o,u=L.onKey||"y",d=P&&P.length,h=0,m,f,y,I,E;if(x&&x.visible&&d){for(h=(x.pointXOffset||0)+(x.barW||0)/2,I=x.currentDataGrouping,f=P[d-1].x+(I?I.totalRange:0),R(s,(F,X)=>F.x-X.x),u="plot"+u[0].toUpperCase()+u.substr(1);d--&&s[p];)if(m=P[d],(a=s[p]).y=m.y,m.x<=a.x&&m[u]!==void 0){if(a.x<=f&&(a.plotY=m[u],m.x<a.x&&!N&&(y=P[d+1])&&y[u]!==void 0))if(q(a.plotX)&&x.is("spline")){let F=[m.plotX||0,m.plotY||0],X=[y.plotX||0,y.plotY||0],_=((M=m.controlPoints)==null?void 0:M.high)||F,w=((D=y.controlPoints)==null?void 0:D.low)||X,A=(O,z)=>Math.pow(1-O,3)*F[z]+3*(1-O)*(1-O)*O*_[z]+3*(1-O)*O*O*w[z]+O*O*O*X[z],U=0,b=1,k;for(let O=0;O<100;O++){let z=(U+b)/2,W=A(z,0);if(W===null)break;
130if(.25>Math.abs(W-a.plotX)){k=z;break}W<a.plotX?U=z:b=z}q(k)&&(a.plotY=A(k,1),a.y=v.toValue(a.plotY,!0))}else E=(a.x-m.x)/(y.x-m.x),a.plotY+=E*(y[u]-m[u]),a.y+=E*(y.y-m.y);if(p--,d++,p<0)break}}s.forEach((F,X)=>{let _;F.plotX+=h,(F.plotY===void 0||S)&&(F.plotX>=0&&F.plotX<=g.len?S?(F.plotY=g.translate(F.x,0,1,0,1),F.plotX=q(F.y)?v.translate(F.y,0,0,0,1):0):F.plotY=(g.opposite?0:T.yAxis.len)+g.offset:F.shapeArgs={}),(o=s[X-1])&&o.plotX===F.plotX&&(o.stackIndex===void 0&&(o.stackIndex=0),_=o.stackIndex+1),F.stackIndex=_}),this.onSeries=x}Y.compose=function(T){if(Z($,"OnSeries")){let L=T.prototype;L.getPlotBox=V,L.translate=H}return T},Y.getPlotBox=V,Y.translate=H}(B||(B={})),B}),r(e,"Series/Flags/FlagsSeries.js",[e["Series/Flags/FlagsPoint.js"],e["Series/Flags/FlagsSeriesDefaults.js"],e["Series/Flags/FlagsSymbols.js"],e["Core/Globals.js"],e["Series/OnSeriesComposition.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{noop:Z}=C,{distribute:R}=$,{series:Y,seriesTypes:{column:V}}=K,{addEvent:H,defined:T,extend:L,isNumber:j,merge:s,objectEach:c,wrap:x}=q;class N extends V{animate(S){S&&this.setClip()}drawPoints(){let S,g,v,p,a,o,u,d,h,m,f,y=this.points,I=this.chart,E=I.renderer,M=I.inverted,D=this.options,F=D.y,X=this.yAxis,_={},w=[],A=j(D.borderRadius)?D.borderRadius:0;for(p=y.length;p--;)a=y[p],m=(M?a.plotY:a.plotX)>this.xAxis.len,S=a.plotX,u=a.stackIndex,v=a.options.shape||D.shape,(g=a.plotY)!==void 0&&(g=a.plotY+F-(u!==void 0&&u*D.stackDistance)),a.anchorX=u?void 0:a.plotX,d=u?void 0:a.plotY,f=v!=="flag",o=a.graphic,g!==void 0&&S>=0&&!m?(o&&a.hasNewShapeType()&&(o=o.destroy()),o||(o=a.graphic=E.label("",0,void 0,v,void 0,void 0,D.useHTML).addClass("highcharts-point").add(this.markerGroup),a.graphic.div&&(a.graphic.div.point=a),o.isNew=!0),o.attr({align:f?"center":"left",width:D.width,height:D.height,"text-align":D.textAlign,r:A}),I.styledMode||o.attr(this.pointAttribs(a)).css(s(D.style,a.style)).shadow(D.shadow),S>0&&(S-=o.strokeWidth()%2),h={y:g,anchorY:d},D.allowOverlapX&&(h.x=S,h.anchorX=a.anchorX),o.attr({text:a.options.title??D.title??"A"})[o.isNew?"attr":"animate"](h),D.allowOverlapX||(_[a.plotX]?_[a.plotX].size=Math.max(_[a.plotX].size,o.width||0):_[a.plotX]={align:f?.5:0,size:o.width||0,target:S,anchorX:S}),a.tooltipPos=[S,g+X.pos-I.plotTop]):o&&(a.graphic=o.destroy());if(!D.allowOverlapX){let U=100;for(let b of(c(_,function(k){k.plotX=k.anchorX,w.push(k),U=Math.max(k.size,U)}),R(w,M?X.len:this.xAxis.len,U),y)){let k=b.plotX,O=b.graphic,z=O&&_[k];z&&O&&(T(z.pos)?O[O.isNew?"attr":"animate"]({x:z.pos+(z.align||0)*z.size,anchorX:b.anchorX}).show().isNew=!1:O.hide().isNew=!0)}}D.useHTML&&this.markerGroup&&x(this.markerGroup,"on",function(U){return G.prototype.on.apply(U.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))})}drawTracker(){let S=this.points;for(let g of(super.drawTracker(),S)){let v=g.graphic;v&&(g.unbindMouseOver&&g.unbindMouseOver(),g.unbindMouseOver=H(v.element,"mouseover",function(){for(let p of(g.stackIndex>0&&!g.raised&&(g._y=v.y,v.attr({y:g._y-8}),g.raised=!0),S))p!==g&&p.raised&&p.graphic&&(p.graphic.attr({y:p._y}),p.raised=!1)}))}}pointAttribs(S,g){let v=this.options,p=S&&S.color||this.color,a=v.lineColor,o=S&&S.lineWidth,u=S&&S.fillColor||v.fillColor;return g&&(u=v.states[g].fillColor,a=v.states[g].lineColor,o=v.states[g].lineWidth),{fill:u||p,stroke:a||p,"stroke-width":o||v.lineWidth||0}}setClip(){Y.prototype.setClip.apply(this,arguments),this.options.clip!==!1&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])}}return N.compose=l.compose,N.defaultOptions=s(V.defaultOptions,n),B.compose(N),L(N.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:Z,init:Y.prototype.init}),K.registerSeriesType("flags",N),N}),r(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n){var l;let{addEvent:C,find:B,fireEvent:$,isArray:K,isNumber:G,pick:q}=n;return function(Z){function R(){this.brokenAxis!==void 0&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function Y(){var x;(x=this.brokenAxis)!=null&&x.hasBreaks&&(this.options.ordinal=!1)}function V(){let x=this.brokenAxis;if(x!=null&&x.hasBreaks){let N=this.tickPositions,P=this.tickPositions.info,S=[];for(let g=0;g<N.length;g++)x.isInAnyBreak(N[g])||S.push(N[g]);this.tickPositions=S,this.tickPositions.info=P}}function H(){this.brokenAxis||(this.brokenAxis=new c(this))}function T(){var v,p;let{isDirty:x,options:{connectNulls:N},points:P,xAxis:S,yAxis:g}=this;if(x){let a=P.length;for(;a--;
130){let o=P[a],u=!(o.y===null&&N===!1)&&(((v=S==null?void 0:S.brokenAxis)==null?void 0:v.isInAnyBreak(o.x,!0))||((p=g==null?void 0:g.brokenAxis)==null?void 0:p.isInAnyBreak(o.y,!0)));o.visible=!u&&o.options.visible!==!1}}}function L(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,q(this.pointArrayMap,["y"]))}function j(x,N){var a;let P,S,g,v=this,p=v.points;if((a=x==null?void 0:x.brokenAxis)!=null&&a.hasBreaks){let o=x.brokenAxis;N.forEach(function(u){var h,m;P=(o==null?void 0:o.breakArray)||[],S=x.isXAxis?x.min:q(v.options.threshold,x.min);let d=(m=(h=x==null?void 0:x.options)==null?void 0:h.breaks)==null?void 0:m.filter(function(f){let y=!0;for(let I=0;I<P.length;I++){let E=P[I];if(E.from===f.from&&E.to===f.to){y=!1;break}}return y});p.forEach(function(f){g=q(f["stack"+u.toUpperCase()],f[u]),P.forEach(function(y){if(G(S)&&G(g)){let I="";S<y.from&&g>y.to||S>y.from&&g<y.from?I="pointBreak":(S<y.from&&g>y.from&&g<y.to||S>y.from&&g>y.to&&g<y.from)&&(I="pointInBreak"),I&&$(x,I,{point:f,brk:y})}}),d==null||d.forEach(function(y){$(x,"pointOutsideOfBreak",{point:f,brk:y})})})})}}function s(){let x=this.currentDataGrouping,N=x==null?void 0:x.gapSize,P=this.points.slice(),S=this.yAxis,g=this.options.gapSize,v=P.length-1;if(g&&v>0){let p,a;for(this.options.gapUnit!=="value"&&(g*=this.basePointRange),N&&N>g&&N>=this.basePointRange&&(g=N);v--;)if(a&&a.visible!==!1||(a=P[v+1]),p=P[v],a.visible!==!1&&p.visible!==!1){if(a.x-p.x>g){let o=(p.x+a.x)/2;P.splice(v+1,0,{isNull:!0,x:o}),S.stacking&&this.options.stacking&&((S.stacking.stacks[this.stackKey][o]=new t(S,S.options.stackLabels,!1,o,this.stack)).total=0)}a=p}}return this.getGraphPath(P)}Z.compose=function(x,N){if(!x.keepProps.includes("brokenAxis")){x.keepProps.push("brokenAxis"),C(x,"init",H),C(x,"afterInit",R),C(x,"afterSetTickPositions",V),C(x,"afterSetOptions",Y);let P=N.prototype;P.drawBreaks=j,P.gappedPath=s,C(N,"afterGeneratePoints",T),C(N,"afterRender",L)}return x};class c{static isInBreak(N,P){let S=N.repeat||1/0,g=N.from,v=N.to-N.from,p=P>=g?(P-g)%S:S-(g-P)%S;return N.inclusive?p<=v:p<v&&p!==0}static lin2Val(N){let P=this.brokenAxis,S=P&&P.breakArray;if(!S||!G(N))return N;let g=N,v,p;for(p=0;p<S.length&&!((v=S[p]).from>=g);p++)(v.to<g||c.isInBreak(v,g))&&(g+=v.len);return g}static val2Lin(N){let P=this.brokenAxis,S=P&&P.breakArray;if(!S||!G(N))return N;let g=N,v,p;for(p=0;p<S.length;p++)if((v=S[p]).to<=N)g-=v.len;else{if(v.from>=N)break;if(c.isInBreak(v,N)){g-=N-v.from;break}}return g}constructor(N){this.hasBreaks=!1,this.axis=N}findBreakAt(N,P){return B(P,function(S){return S.from<N&&N<S.to})}isInAnyBreak(N,P){let S=this.axis,g=S.options.breaks||[],v=g.length,p,a,o;if(v&&G(N)){for(;v--;)c.isInBreak(g[v],N)&&(p=!0,a||(a=q(g[v].showPoints,!S.isXAxis)));o=p&&P?p&&!a:p}return o}setBreaks(N,P){let S=this,g=S.axis,v=K(N)&&!!N.length&&!!Object.keys(N[0]).length;g.isDirty=S.hasBreaks!==v,S.hasBreaks=v,N!==g.options.breaks&&(g.options.breaks=g.userOptions.breaks=N),g.forceRedraw=!0,g.series.forEach(function(p){p.isDirty=!0}),v||g.val2lin!==c.val2Lin||(delete g.val2lin,delete g.lin2val),v&&(g.userOptions.ordinal=!1,g.lin2val=c.lin2Val,g.val2lin=c.val2Lin,g.setExtremes=function(p,a,o,u,d){if(S.hasBreaks){let h,m=this.options.breaks||[];for(;h=S.findBreakAt(p,m);)p=h.to;for(;h=S.findBreakAt(a,m);)a=h.from;a<p&&(a=p)}g.constructor.prototype.setExtremes.call(this,p,a,o,u,d)},g.setAxisTranslation=function(){if(g.constructor.prototype.setAxisTranslation.call(this),S.unitLength=void 0,S.hasBreaks){let p=g.options.breaks||[],a=[],o=[],u=q(g.pointRangePadding,0),d=0,h,m,f=g.userMin||g.min,y=g.userMax||g.max,I,E;p.forEach(function(M){m=M.repeat||1/0,G(f)&&G(y)&&(c.isInBreak(M,f)&&(f+=M.to%m-f%m),c.isInBreak(M,y)&&(y-=y%m-M.from%m))}),p.forEach(function(M){if(I=M.from,m=M.repeat||1/0,G(f)&&G(y)){for(;I-m>f;)I-=m;for(;I<f;)I+=m;for(E=I;E<y;E+=m)a.push({value:E,move:"in"}),a.push({value:E+M.to-M.from,move:"out",size:M.breakSize})}}),a.sort(function(M,D){return M.value===D.value?(M.move==="in"?0:1)-(D.move==="in"?0:1):M.value-D.value}),h=0,I=f,a.forEach(function(M){(h+=M.move==="in"?1:-1)===1&&M.move==="in"&&(I=M.value),h===0&&G(I)&&(o.push({from:I,to:M.value,len:M.value-I-(M.size||0)}),d+=M.value-I-(M.size||0))}),S.breakArray=o,G(f)&&G(y)&&G(g.min)&&(S.unitLength=y-f-d+u,$(g,"afterBreaks"),g.staticScale?g.transA=g.staticScale:S.unitLength&&(g.transA*=(y-g.min+u)/S.unitLength),u&&(g.minPixelPadding=g.transA*(g.minPointOffset||0)),g.min=f,g.max=y)}}),q(P,!0)&&g.chart.redraw()}}Z.Additions=c}(l||(l={})),l}),r(e,"masters/modules/broken-axis.src.js",[e["Core/Globals.js"],e["Core/Axis/BrokenAxis.js"]],function(t,n){return t.BrokenAxis=t.BrokenAxis||n,t.BrokenAxis.compose(t.Axis,t.Series),t}),r(e,"Extensions/DataGrouping/ApproximationRegistry.js",[],function(){return{}}),r(e,"Extensions/DataGrouping/ApproximationDefaults.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{arrayMax:l,arrayMin:C,correctFloat:B,extend:$,isNumber:K}=n;
130function G(R){let Y=R.length,V=q(R);return K(V)&&Y&&(V=B(V/Y)),V}function q(R){let Y=R.length,V;if(!Y&&R.hasNulls)V=null;else if(Y)for(V=0;Y--;)V+=R[Y];return V}let Z={average:G,averages:function(){let R=[];return[].forEach.call(arguments,function(Y){R.push(G(Y))}),R[0]===void 0?void 0:R},close:function(R){return R.length?R[R.length-1]:R.hasNulls?null:void 0},high:function(R){return R.length?l(R):R.hasNulls?null:void 0},hlc:function(R,Y,V){if(R=t.high(R),Y=t.low(Y),V=t.close(V),K(R)||K(Y)||K(V))return[R,Y,V]},low:function(R){return R.length?C(R):R.hasNulls?null:void 0},ohlc:function(R,Y,V,H){if(R=t.open(R),Y=t.high(Y),V=t.low(V),H=t.close(H),K(R)||K(Y)||K(V)||K(H))return[R,Y,V,H]},open:function(R){return R.length?R[0]:R.hasNulls?null:void 0},range:function(R,Y){return R=t.low(R),Y=t.high(Y),K(R)||K(Y)?[R,Y]:R===null&&Y===null?null:void 0},sum:q};return $(t,Z),Z}),r(e,"Extensions/DataGrouping/DataGroupingDefaults.js",[],function(){return{common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %e %b, %H:%M:%S.%L","%A, %e %b, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %e %b, %H:%M:%S","%A, %e %b, %H:%M:%S","-%H:%M:%S"],minute:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],hour:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],day:["%A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],week:["Week from %A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]]}}),r(e,"Extensions/DataGrouping/DataGroupingAxisComposition.js",[e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Utilities.js"]],function(t,n){let l,{addEvent:C,extend:B,merge:$,pick:K}=n;function G(Y){let V=this,H=V.series;H.forEach(function(T){T.groupPixelWidth=void 0}),H.forEach(function(T){T.groupPixelWidth=V.getGroupPixelWidth&&V.getGroupPixelWidth(),T.groupPixelWidth&&(T.hasProcessed=!0),T.applyGrouping(!!Y.hasExtremesChanged)})}function q(){let Y=this.series,V=Y.length,H=0,T=!1,L,j;for(;V--;)(j=Y[V].options.dataGrouping)&&(H=Math.max(H,K(j.groupPixelWidth,t.common.groupPixelWidth)),L=(Y[V].processedXData||Y[V].data).length,(Y[V].groupPixelWidth||L>this.chart.plotSizeX/H||L&&j.forced)&&(T=!0));return T?H:0}function Z(){this.series.forEach(function(Y){Y.hasProcessed=!1})}function R(Y,V){let H;if(V=K(V,!0),Y||(Y={forced:!1,units:null}),this instanceof l)for(H=this.series.length;H--;)this.series[H].update({dataGrouping:Y},!1);else this.chart.options.series.forEach(function(T){T.dataGrouping=typeof Y=="boolean"?Y:$(Y,T.dataGrouping)});this.ordinal&&(this.ordinal.slope=void 0),V&&this.chart.redraw()}return{compose:function(Y){l=Y;let V=Y.prototype;V.applyGrouping||(C(Y,"afterSetScale",Z),C(Y,"postProcessData",G),B(V,{applyGrouping:G,getGroupPixelWidth:q,setDataGrouping:R}))}}}),r(e,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{series:{prototype:K}}=B,{addEvent:G,defined:q,error:Z,extend:R,isNumber:Y,merge:V,pick:H}=$,T=K.generatePoints;function L(P){var S;let g,v,p=this.chart,a=this.options.dataGrouping,o=this.allowDG!==!1&&a&&H(a.enabled,p.options.isStock),u=this.reserveSpace(),d=this.currentDataGrouping,h,m,f=!1;o&&!this.requireSorting&&(this.requireSorting=f=!0);let y=!!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!P)||!o;if(f&&(this.requireSorting=!1),y)return;this.destroyGroupedData();let I=a.groupAll?this.xData:this.processedXData,E=a.groupAll?this.yData:this.processedYData,M=p.plotSizeX,D=this.xAxis,F=D.options.ordinal,X=this.groupPixelWidth;if(X&&I&&I.length&&M){v=!0,this.isDirty=!0,this.points=null;let _=D.getExtremes(),w=_.min,A=_.max,U=F&&D.ordinal&&D.ordinal.getGroupIntervalFactor(w,A,this)||1,b=X*(A-w)/M*U,k=D.getTimeTicks(l.Additions.prototype.normalizeTimeTickInterval(b,a.units||n.units),Math.min(w,I[0]),Math.max(A,I[I.length-1]),D.options.startOfWeek,I,this.closestPointRange),O=K.groupData.apply(this,[I,E,k,a.approximation]),z=O.groupedXData,W=O.groupedYData,Q=0;for(a&&a.smoothed&&z.length&&(a.firstAnchor="firstPoint",a.anchor="middle",a.lastAnchor="lastPoint",Z(32,!1,p,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),g=1;g<k.length;g++)k.info.segmentStarts&&k.info.segmentStarts.indexOf(g)!==-1||(Q=Math.max(k[g]-k[g-1],Q));(h=k.info).gapSize=Q,this.closestPointRange=k.info.totalRange,this.groupMap=O.groupMap,this.currentDataGrouping=h,function(ee,se,ae){let he=ee.options.dataGrouping,ce=ee.currentDataGrouping&&ee.currentDataGrouping.gapSize;if(!(he&&ee.xData&&ce&&ee.groupMap))return;let ie=se.length-1,te=he.anchor,ne=he.firstAnchor,oe=he.lastAnchor,le=se.length-1,ue=0;if(ne&&ee.xData[0]>=se[0]){let de;ue++;let fe=ee.groupMap[0].start,me=ee.groupMap[0].length;Y(fe)&&Y(me)&&(de=fe+(me-1)),se[0]={start:se[0],middle:se[0]+.5*ce,end:se[0]+ce,firstPoint:ee.xData[0],lastPoint:de&&ee.xData[de]}[ne]}if(ie>0&&oe&&ce&&se[ie]>=ae-ce){le--;let de=ee.groupMap[ee.groupMap.length-1].start;se[ie]={start:se[ie],middle:se[ie]+.5*ce,end:se[ie]+ce,firstPoint:de&&ee.xData[de],lastPoint:ee.xData[ee.xData.length-1]}[oe]}if(te&&te!=="start"){let de=ce*{middle:.5,end:1}[te];for(;le>=ue;)se[le]+=de,le--}}(this,z,A),u&&(q((S=z)[0])&&Y(D.min)&&Y(D.dataMin)&&S[0]<D.min&&((!q(D.options.min)&&D.min<=D.dataMin||D.min===D.dataMin)&&(D.min=Math.min(S[0],D.min)),D.dataMin=Math.min(S[0],D.dataMin)),q(S[S.length-1])&&Y(D.max)&&Y(D.dataMax)&&S[S.length-1]>D.max&&((!q(D.options.max)&&Y(D.dataMax)&&D.max>=D.dataMax||D.max===D.dataMax)&&(D.max=Math.max(S[S.length-1],D.max)
130),D.dataMax=Math.max(S[S.length-1],D.dataMax))),a.groupAll&&(this.allGroupedData=W,z=(m=this.cropData(z,W,D.min,D.max)).xData,W=m.yData,this.cropStart=m.start),this.processedXData=z,this.processedYData=W}else this.groupMap=null,this.currentDataGrouping=void 0;this.hasGroupedData=v,this.preventGraphAnimation=(d&&d.totalRange)!==(h&&h.totalRange)}function j(){this.groupedData&&(this.groupedData.forEach(function(P,S){P&&(this.groupedData[S]=P.destroy?P.destroy():null)},this),this.groupedData.length=0,delete this.allGroupedData)}function s(){T.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function c(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")||this.options.cumulative?"sum":"average"}function x(P,S,g,v){let p=this,a=p.data,o=p.options&&p.options.data,u=[],d=[],h=[],m=P.length,f=!!S,y=[],I=p.pointArrayMap,E=I&&I.length,M=["x"].concat(I||["y"]),D=this.options.dataGrouping&&this.options.dataGrouping.groupAll,F,X,_,w=0,A=0,U=typeof v=="function"?v:v&&t[v]?t[v]:t[p.getDGApproximation&&p.getDGApproximation()||"average"];if(E){let k=I.length;for(;k--;)y.push([])}else y.push([]);let b=E||1;for(let k=0;k<=m;k++)if(!(P[k]<g[0])){for(;g[w+1]!==void 0&&P[k]>=g[w+1]||k===m;){F=g[w],p.dataGroupInfo={start:D?A:p.cropStart+A,length:y[0].length,groupStart:F},_=U.apply(p,y),p.pointClass&&!q(p.dataGroupInfo.options)&&(p.dataGroupInfo.options=V(p.pointClass.prototype.optionsToObject.call({series:p},p.options.data[p.cropStart+A])),M.forEach(function(O){delete p.dataGroupInfo.options[O]})),_!==void 0&&(u.push(F),d.push(_),h.push(p.dataGroupInfo)),A=k;for(let O=0;O<b;O++)y[O].length=0,y[O].hasNulls=!1;if(w+=1,k===m)break}if(k===m)break;if(I){let O,z=p.options.dataGrouping&&p.options.dataGrouping.groupAll?k:p.cropStart+k,W=a&&a[z]||p.pointClass.prototype.applyOptions.apply({series:p},[o[z]]);for(let Q=0;Q<E;Q++)Y(O=W[I[Q]])?y[Q].push(O):O===null&&(y[Q].hasNulls=!0)}else Y(X=f?S[k]:null)?y[0].push(X):X===null&&(y[0].hasNulls=!0)}return{groupedXData:u,groupedYData:d,groupMap:h}}function N(P){let S=P.options,g=this.type,v=this.chart.options.plotOptions,p=this.useCommonDataGrouping&&n.common,a=n.seriesSpecific,o=C.defaultOptions.plotOptions[g].dataGrouping;if(v&&(a[g]||p)){let u=this.chart.rangeSelector;o||(o=V(n.common,a[g])),S.dataGrouping=V(p,o,v.series&&v.series.dataGrouping,v[g].dataGrouping,this.userOptions.dataGrouping,!S.isInternal&&u&&Y(u.selected)&&u.buttonOptions[u.selected].dataGrouping)}}return{compose:function(P){let S=P.prototype;S.applyGrouping||(G(P.prototype.pointClass,"update",function(){if(this.dataGroup)return Z(24,!1,this.series.chart),!1}),G(P,"afterSetOptions",N),G(P,"destroy",j),R(S,{applyGrouping:L,destroyGroupedData:j,generatePoints:s,getDGApproximation:c,groupData:x}))},groupData:x}}),r(e,"Extensions/DataGrouping/DataGrouping.js",[e["Extensions/DataGrouping/DataGroupingAxisComposition.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Extensions/DataGrouping/DataGroupingSeriesComposition.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{format:K}=C,{composed:G}=B,{addEvent:q,extend:Z,isNumber:R,pick:Y,pushUnique:V}=$;function H(T){var m;let L=this.chart,j=L.time,s=T.labelConfig,c=s.series,x=s.point,N=c.options,P=c.tooltipOptions,S=N.dataGrouping,g=c.xAxis,v=P.xDateFormat,p,a,o,u,d,h=P[T.isFooter?"footerFormat":"headerFormat"];if(g&&g.options.type==="datetime"&&S&&R(s.key)){a=c.currentDataGrouping,o=S.dateTimeLabelFormats||n.common.dateTimeLabelFormats,a?(u=o[a.unitName],a.count===1?v=u[0]:(v=u[1],p=u[2])):!v&&o&&g.dateTime&&(v=g.dateTime.getXDateFormat(s.x,P.dateTimeLabelFormats));let f=Y((m=c.groupMap)==null?void 0:m[x.index].groupStart,s.key),y=f+(a==null?void 0:a.totalRange)-1;d=j.dateFormat(v,f),p&&(d+=j.dateFormat(p,y)),c.chart.styledMode&&(h=this.styledModeFormat(h)),T.text=K(h,{point:Z(s.point,{key:d}),series:c},L),T.preventDefault()}}return{compose:function(T,L,j){t.compose(T),l.compose(L),j&&V(G,"DataGrouping")&&q(j,"headerFormatter",H)},groupData:l.groupData}}),r(e,"masters/modules/datagrouping.src.js",[e["Core/Globals.js"],e["Extensions/DataGrouping/ApproximationDefaults.js"],e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGrouping.js"]],function(t,n,l,C){return t.dataGrouping=t.dataGrouping||{},t.dataGrouping.approximationDefaults=t.dataGrouping.approximationDefaults||n,t.dataGrouping.approximations=t.dataGrouping.approximations||l,C.compose(t.Axis,t.Series,t.Tooltip),t}),r(e,"Extensions/Annotations/NavigationBindingsUtilities.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t,B={backgroundColor:"string",borderColor:"string",borderRadius:"string",color:"string",fill:"string",fontSize:"string",labels:"string",name:"string",stroke:"string",title:"string"};return{annotationsFieldsTypes:B,getAssignedAxis:function($){return $.filter(K=>{let G=K.axis.getExtremes(),q=G.min,Z=G.max,R=C(K.axis.minPointOffset,0);return l(q)&&l(Z)&&K.value>=q-R&&K.value<=Z+R&&!K.axis.options.isInternal})[0]},getFieldType:function($,K){let G=B[$],q=typeof K;return n(G)&&(q=G),{string:"text",number:"number",boolean:"checkbox"}[q]}}}),r(e,"Extensions/MouseWheelZoom/MouseWheelZoom.js",[e["Core/Utilities.js"],e["Extensions/Annotations/NavigationBindingsUtilities.js"]],function(t,n){let l,{addEvent:C,isObject:B,pick:$,defined:K,merge:G}=t,{getAssignedAxis:q}=n,Z=[],R={enabled:!0,sensitivity:1.1},Y=T=>(B(T)||(T={enabled:T??!0}),G(R,T)),V=function(T,L,j,s,c,x,N){let P=$(N.type,T.zooming.type,""),S=[];P==="x"?S=j:P==="y"?S=s:P==="xy"&&(S=T.axes);let g=T.transform({axes:S,to:{x:c-5,y:x-5,width:10,height:10},from:{x:c-5*L,y:x-5*L,width:10*L,height:10*L},trigger:"mousewheel"});return g&&(K(l)&&clearTimeout(l),l=setTimeout(()=>{var v;(v=T.pointer)==null||v.drop()},400)),g};function H(){let T=Y(this.zooming.mouseWheel);T.enabled&&C(this.container,"wheel",L=>{var c,x;L=((c=this.pointer)==null?void 0:c.normalize(L))||L;let{pointer:j}=this,s=j&&!j.inClass(L.target,"highcharts-no-mousewheel");if(this.isInsidePlot(L.chartX-this.plotLeft,L.chartY-this.plotTop)&&s){let N=T.sensitivity||1.1,P=L.detail||(L.deltaY||0)/120,S=q(j.getCoordinates(L).xAxis),g=q(j.getCoordinates(L).yAxis);V(this,Math.pow(N,P),S?[S.axis]:this.xAxis,g?[g.axis]:this.yAxis,L.chartX,L.chartY,T)&&((x=L.preventDefault)==null||x.call(L))}})}return{compose:function(T){Z.indexOf(T)===-1&&(Z.push(T),C(T,"afterGetContainer",H))}}}),r(e,"masters/modules/mouse-wheel-zoom.src.js",[e["Core/Globals.js"],e["Extensions/MouseWheelZoom/MouseWheelZoom.js"]],function(t,n){return t.MouseWheelZoom=t.MouseWheelZoom||n,t.MouseWheelZoom.compose(t.Chart),t}),r(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Series/DataModifyComposition.js"],e["Stock/Navigator/Navigator.js"],e["Core/Axis/OrdinalAxis.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.
130js"],e["Core/Chart/StockChart.js"],e["Series/OHLC/OHLCSeries.js"],e["Series/Flags/FlagsSeries.js"]],function(t,n,l,C,B,$,K,G,q){return t.Navigator=t.Navigator||l,t.OrdinalAxis=t.OrdinalAxis||C,t.RangeSelector=t.RangeSelector||B,t.Scrollbar=t.Scrollbar||$,t.stockChart=t.stockChart||K.stockChart,t.StockChart=t.StockChart||t.stockChart,t.extend(t.StockChart,K),n.compose(t.Series,t.Axis,t.Point),q.compose(t.Renderer),G.compose(t.Series),t.Navigator.compose(t.Chart,t.Axis,t.Series),t.OrdinalAxis.compose(t.Axis,t.Series,t.Chart),t.RangeSelector.compose(t.Axis,t.Chart),t.Scrollbar.compose(t.Axis),t.StockChart.compose(t.Chart,t.Axis,t.Series,t.SVGRenderer),t}),r(e,"masters/highstock.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highstock",t}),e["masters/highstock.src.js"]._modules=e,e["masters/highstock.src.js"]})});var LA=$n((DA,m1)=>{"use strict";(function(i,e){typeof m1=="object"&&m1.exports?(e.default=e,m1.exports=i&&i.document?e(i):e):typeof define=="function"&&define.amd?define("highcharts/highcharts-gantt",function(){return e(i)}):(i.Highcharts&&i.Highcharts.error(16,!0),i.Highcharts=e(i))})(typeof window<"u"?window:DA,function(i){"use strict";var e={};function r(t,n,l,C){!t.hasOwnProperty(n)&&(t[n]=C.apply(null,l),i&&typeof CustomEvent=="function"&&i.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}return r(e,"Core/Globals.js",[],function(){var t,n;return(n=t||(t={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="11.4.8",n.win=i!==void 0?i:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=n.win.chrome,n.isFirefox=n.userAgent.indexOf("Firefox")!==-1,n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&n.userAgent.indexOf("Safari")!==-1,n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=n.userAgent.indexOf("AppleWebKit")!==-1,n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){let l=!1;if(!n.isMS){let C=Object.defineProperty({},"passive",{get:function(){l=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,C),n.win.removeEventListener("testPassive",n.noop,C))}return l}(),n.charts=[],n.composed=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,t}),r(e,"Core/Utilities.js",[e["Core/Globals.js"]],function(t){let n,{charts:l,doc:C,win:B}=t;function $(a,o,u,d){let h=o?"Highcharts error":"Highcharts warning";a===32&&(a=`${h}: Deprecated member`);let m=V(a),f=m?`${h} #${a}: www.highcharts.com/errors/${a}/`:a.toString();if(d!==void 0){let y="";m&&(f+="?"),S(d,function(I,E){y+=` 131 - ${E}: ${I}`,m&&(f+=encodeURI(E)+"="+encodeURI(I))}),f+=y}v(t,"displayError",{chart:u,code:a,message:f,params:d},function(){if(o)throw Error(f);B.console&&$.messages.indexOf(f)===-1&&console.warn(f)}),$.messages.push(f)}function K(a,o){return parseInt(a,o||10)}function G(a){return typeof a=="string"}function q(a){let o=Object.prototype.toString.call(a);return o==="[object Array]"||o==="[object Array Iterator]"}function Z(a,o){return!!a&&typeof a=="object"&&(!o||!q(a))}function R(a){return Z(a)&&typeof a.nodeType=="number"}function Y(a){let o=a&&a.constructor;return!!(Z(a,!0)&&!R(a)&&o&&o.name&&o.name!=="Object")}function V(a){return typeof a=="number"&&!isNaN(a)&&a<1/0&&a>-1/0}function H(a){return a!=null}function T(a,o,u){let d,h=G(o)&&!H(u),m=(f,y)=>{H(f)?a.setAttribute(y,f):h?(d=a.getAttribute(y))||y!=="class"||(d=a.getAttribute(y+"Name")):a.removeAttribute(y)};return G(o)?m(u,o):S(o,m),d}function L(a){return q(a)?a:[a]}function j(a,o){let u;for(u in a||(a={}),o)a[u]=o[u];return a}function s(){let a=arguments,o=a.length;for(let u=0;u<o;u++){let d=a[u];if(d!=null)return d}}function c(a,o){j(a.style,o)}function x(a){return Math.pow(10,Math.floor(Math.log(a)/Math.LN10))}function N(a,o){return a>1e14?a:parseFloat(a.toPrecision(o||14))}($||($={})).messages=[],Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};let P=Array.prototype.find?function(a,o){return a.find(o)}:function(a,o){let u,d=a.length;for(u=0;
vendor: 6,055 bytes, line 131
131u<d;u++)if(o(a[u],u))return a[u]};function S(a,o,u){for(let d in a)Object.hasOwnProperty.call(a,d)&&o.call(u||a[d],a[d],d,a)}function g(a,o,u){function d(f,y){let I=a.removeEventListener;I&&I.call(a,f,y,!1)}function h(f){let y,I;a.nodeName&&(o?(y={})[o]=!0:y=f,S(y,function(E,M){if(f[M])for(I=f[M].length;I--;)d(M,f[M][I].fn)}))}let m=typeof a=="function"&&a.prototype||a;if(Object.hasOwnProperty.call(m,"hcEvents")){let f=m.hcEvents;if(o){let y=f[o]||[];u?(f[o]=y.filter(function(I){return u!==I.fn}),d(o,u)):(h(f),f[o]=[])}else h(f),delete m.hcEvents}}function v(a,o,u,d){if(u=u||{},C.createEvent&&(a.dispatchEvent||a.fireEvent&&a!==t)){let h=C.createEvent("Events");h.initEvent(o,!0,!0),u=j(h,u),a.dispatchEvent?a.dispatchEvent(u):a.fireEvent(o,u)}else if(a.hcEvents){u.target||j(u,{preventDefault:function(){u.defaultPrevented=!0},target:a,type:o});let h=[],m=a,f=!1;for(;m.hcEvents;)Object.hasOwnProperty.call(m,"hcEvents")&&m.hcEvents[o]&&(h.length&&(f=!0),h.unshift.apply(h,m.hcEvents[o])),m=Object.getPrototypeOf(m);f&&h.sort((y,I)=>y.order-I.order),h.forEach(y=>{y.fn.call(a,u)===!1&&u.preventDefault()})}d&&!u.defaultPrevented&&d.call(a,u)}S({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(a,o){t[o]=function(u){return $(32,!1,void 0,{[`Highcharts.${o}`]:`use Array.${a}`}),Array.prototype[a].apply(u,[].slice.call(arguments,1))}});let p=function(){let a=Math.random().toString(36).substring(2,9)+"-",o=0;return function(){return"highcharts-"+(n?"":a)+o++}}();return B.jQuery&&(B.jQuery.fn.highcharts=function(){let a=[].slice.call(arguments);if(this[0])return a[0]?(new t[G(a[0])?a.shift():"Chart"](this[0],a[0],a[1]),this):l[T(this[0],"data-highcharts-chart")]}),{addEvent:function(a,o,u,d={}){let h=typeof a=="function"&&a.prototype||a;Object.hasOwnProperty.call(h,"hcEvents")||(h.hcEvents={});let m=h.hcEvents;t.Point&&a instanceof t.Point&&a.series&&a.series.chart&&(a.series.chart.runTrackerClick=!0);let f=a.addEventListener;f&&f.call(a,o,u,!!t.supportsPassiveEvents&&{passive:d.passive===void 0?o.indexOf("touch")!==-1:d.passive,capture:!1}),m[o]||(m[o]=[]);let y={fn:u,order:typeof d.order=="number"?d.order:1/0};return m[o].push(y),m[o].sort((I,E)=>I.order-E.order),function(){g(a,o,u)}},arrayMax:function(a){let o=a.length,u=a[0];for(;o--;)a[o]>u&&(u=a[o]);return u},arrayMin:function(a){let o=a.length,u=a[0];for(;o--;)a[o]<u&&(u=a[o]);return u},attr:T,clamp:function(a,o,u){return a>o?a<u?a:u:o},clearTimeout:function(a){H(a)&&clearTimeout(a)},correctFloat:N,createElement:function(a,o,u,d,h){let m=C.createElement(a);return o&&j(m,o),h&&c(m,{padding:"0",border:"none",margin:"0"}),u&&c(m,u),d&&d.appendChild(m),m},crisp:(a,o=0,u)=>{let d=o%2/2,h=u?-1:1;return(Math.round(a*h-d)+d)*h},css:c,defined:H,destroyObjectProperties:function(a,o,u){S(a,function(d,h){d!==o&&(d!=null&&d.destroy)&&d.destroy(),(d!=null&&d.destroy||!u)&&delete a[h]})},diffObjects:function(a,o,u,d){let h={};return function m(f,y,I,E){let M=u?y:f;S(f,function(D,F){if(!E&&d&&d.indexOf(F)>-1&&y[F]){D=L(D),I[F]=[];for(let X=0;X<Math.max(D.length,y[F].length);X++)y[F][X]&&(D[X]===void 0?I[F][X]=y[F][X]:(I[F][X]={},m(D[X],y[F][X],I[F][X],E+1)))}else Z(D,!0)&&!D.nodeType?(I[F]=q(D)?[]:{},m(D,y[F]||{},I[F],E+1),Object.keys(I[F]).length!==0||F==="colorAxis"&&E===0||delete I[F]):(f[F]!==y[F]||F in f&&!(F in y))&&F!=="__proto__"&&F!=="constructor"&&(I[F]=M[F])})}(a,o,h,0),h},discardElement:function(a){a&&a.parentElement&&a.parentElement.removeChild(a)},erase:function(a,o){let u=a.length;for(;u--;)if(a[u]===o){a.splice(u,1);break}},error:$,extend:j,extendClass:function(a,o){let u=function(){};return u.prototype=new a,j(u.prototype,o),u},find:P,fireEvent:v,getClosestDistance:function(a,o){let u,d,h,m,f=!o;return a.forEach(y=>{if(y.length>1)for(m=d=y.length-1;m>0;m--)(h=y[m]-y[m-1])<0&&!f?(o==null||o(),o=void 0):h&&(u===void 0||h<u)&&(u=h)}),u},getMagnitude:x,getNestedProperty:function(a,o){let u=a.split(".");for(;u.length&&H(o);){let d=u.shift();if(d===void 0||d==="__proto__")return;if(d==="this"){let m;return Z(o)&&(m=o["@this"]),m??o}let h=o[d];if(!H(h)||typeof h=="function"||typeof h.nodeType=="number"||h===B)return;o=h}return o},getStyle:function a(o,u,d){let h;if(u==="width"){let f=Math.min(o.offsetWidth,o.scrollWidth),y=o.getBoundingClientRect&&o.getBoundingClientRect().width;return y<f&&y>=f-1&&(f=Math.floor(y)),Math.max(0,f-(a(o,"padding-left",!0)||0)-(a(o,"padding-right",!0)||0))}if(u==="height")return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(a(o,"padding-top",!0)||0)-(a(o,"padding-bottom",!0)||0));let m=B.getComputedStyle(o,void 0);return m&&(h=m.getPropertyValue(u),s(d,u!=="opacity")&&(h=K(h))),h},inArray:function(a,o,u){return $(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),o.indexOf(a,u)},insertItem:function(a,o){let u,d=a.options.index,h=o.length;for(u=a.options.isInternal?h:0;u<h+1;u++)if(!o[u]||V(d)&&d<s(o[u].options.index,o[u]._i)||o[u].options.isInternal){o.splice(u,0,a);break}return u},isArray:q,isClass:Y,isDOMElement:R,isFunction:function(a){return typeof a=="function"},isNumber:V,isObject:Z,isString:G,keys:function(a){return $(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(a)},merge:function(){let a,o=arguments,u={},d=function(m,f){return typeof m!="object"&&(m={}),S(f,function(y,I){I!=="__proto__"&&I!=="constructor"&&(!Z(y,!0)||Y(y)||R(y)?m[I]=f[I]:m[I]=d(m[I]||{},y))}),m};o[0]===!0&&(u=o[1],o=Array.prototype.slice.call(o,2));let h=o.length;for(a=0;a<h;a++)u=d(u,o[a]);return u},normalizeTickInterval:function(a,o,u,d,h){let m,f=a;u=s(u,x(a));let y=a/u;for(!o&&(o=h?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],d===!1&&(u===1?o=o.filter(function(I){return I%1==0}):u<=.1&&(o=[1/u]))),m=0;m<o.length&&(f=o[m],(!h||!(f*u>=a))&&(h||!(y<=(o[m]+(o[m+1]||o[m]))/2)));m++);return N(f*u,-Math.round(Math.log(.001)/Math.LN10))},objectEach:S,offset:function(a){let o=C.documentElement,u=a.parentElement||a.parentNode?a.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:u.top+(B.pageYOffset||o.scrollTop)-(o.clientTop||0),left
131:u.left+(B.pageXOffset||o.scrollLeft)-(o.clientLeft||0),width:u.width,height:u.height}},pad:function(a,o,u){return Array((o||2)+1-String(a).replace("-","").length).join(u||"0")+a},pick:s,pInt:K,pushUnique:function(a,o){return 0>a.indexOf(o)&&!!a.push(o)},relativeLength:function(a,o,u){return/%$/.test(a)?o*parseFloat(a)/100+(u||0):parseFloat(a)},removeEvent:g,replaceNested:function(a,...o){let u,d;do for(d of(u=a,o))a=a.replace(d[0],d[1]);while(a!==u);return a},splat:L,stableSort:function(a,o){let u,d,h=a.length;for(d=0;d<h;d++)a[d].safeI=d;for(a.sort(function(m,f){return(u=o(m,f))===0?m.safeI-f.safeI:u}),d=0;d<h;d++)delete a[d].safeI},syncTimeout:function(a,o,u){return o>0?setTimeout(a,o,u):(a.call(0,u),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:p,useSerialIds:function(a){return n=s(a,n)},wrap:function(a,o,u){let d=a[o];a[o]=function(){let h=arguments,m=this;return u.apply(this,[function(){return d.apply(m,arguments.length?arguments:h)}].concat([].slice.call(arguments)))}}}}),r(e,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),r(e,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),r(e,"Core/Time.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{win:l}=t,{defined:C,error:B,extend:$,isNumber:K,isObject:G,merge:q,objectEach:Z,pad:R,pick:Y,splat:V,timeUnits:H}=n,T=t.isSafari&&l.Intl&&l.Intl.DateTimeFormat.prototype.formatRange,L=t.isSafari&&l.Intl&&!l.Intl.DateTimeFormat.prototype.formatRange;class j{constructor(c){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=l.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(c)}get(c,x){if(this.variableTimezone||this.timezoneOffset){let N=x.getTime(),P=N-this.getTimezoneOffset(x);x.setTime(P);let S=x["getUTC"+c]();return x.setTime(N),S}return this.useUTC?x["getUTC"+c]():x["get"+c]()}set(c,x,N){if(this.variableTimezone||this.timezoneOffset){if(c==="Milliseconds"||c==="Seconds"||c==="Minutes"&&this.getTimezoneOffset(x)%36e5==0)return x["setUTC"+c](N);let P=this.getTimezoneOffset(x),S=x.getTime()-P;x.setTime(S),x["setUTC"+c](N);let g=this.getTimezoneOffset(x);return S=x.getTime()+g,x.setTime(S)}return this.useUTC||T&&c==="FullYear"?x["setUTC"+c](N):x["set"+c](N)}update(c={}){let x=Y(c.useUTC,!0);this.options=c=q(!0,this.options,c),this.Date=c.Date||l.Date||Date,this.useUTC=x,this.timezoneOffset=x&&c.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=x&&!!(c.getTimezoneOffset||c.timezone)}
131makeTime(c,x,N,P,S,g){let v,p,a;return this.useUTC?(v=this.Date.UTC.apply(0,arguments),p=this.getTimezoneOffset(v),v+=p,p!==(a=this.getTimezoneOffset(v))?v+=a-p:p-36e5!==this.getTimezoneOffset(v-36e5)||L||(v-=36e5)):v=new this.Date(c,x,Y(N,1),Y(P,0),Y(S,0),Y(g,0)).getTime(),v}timezoneOffsetFunction(){let c=this,x=this.options,N=x.getTimezoneOffset;return this.useUTC?x.timezone?P=>{try{let S=`shortOffset,${x.timezone||""}`,[g,v,p,a,o=0]=(j.formatCache[S]=j.formatCache[S]||Intl.DateTimeFormat("en",{timeZone:x.timezone,timeZoneName:"shortOffset"})).format(P).split(/(GMT|:)/).map(Number),u=-(36e5*(p+o/60));if(K(u))return u}catch{B(34)}return 0}:this.useUTC&&N?P=>6e4*N(P.valueOf()):()=>6e4*(c.timezoneOffset||0):P=>6e4*new Date(P.toString()).getTimezoneOffset()}dateFormat(c,x,N){if(!C(x)||isNaN(x))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";c=Y(c,"%Y-%m-%d %H:%M:%S");let P=this,S=new this.Date(x),g=this.get("Hours",S),v=this.get("Day",S),p=this.get("Date",S),a=this.get("Month",S),o=this.get("FullYear",S),u=t.defaultOptions.lang,d=u&&u.weekdays,h=u&&u.shortWeekdays;return Z($({a:h?h[v]:d[v].substr(0,3),A:d[v],d:R(p),e:R(p,2," "),w:v,b:u.shortMonths[a],B:u.months[a],m:R(a+1),o:a+1,y:o.toString().substr(2,2),Y:o,H:R(g),k:g,I:R(g%12||12),l:g%12||12,M:R(this.get("Minutes",S)),p:g<12?"AM":"PM",P:g<12?"am":"pm",S:R(this.get("Seconds",S)),L:R(Math.floor(x%1e3),3)},t.dateFormats),function(m,f){for(;c.indexOf("%"+f)!==-1;)c=c.replace("%"+f,typeof m=="function"?m.call(P,x):m)}),N?c.substr(0,1).toUpperCase()+c.substr(1):c}resolveDTLFormat(c){return G(c,!0)?c:{main:(c=V(c))[0],from:c[1],to:c[2]}}getTimeTicks(c,x,N,P){let S,g,v,p,a=this,o=a.Date,u=[],d={},h=new o(x),m=c.unitRange,f=c.count||1;if(P=Y(P,1),C(x)){a.set("Milliseconds",h,m>=H.second?0:f*Math.floor(a.get("Milliseconds",h)/f)),m>=H.second&&a.set("Seconds",h,m>=H.minute?0:f*Math.floor(a.get("Seconds",h)/f)),m>=H.minute&&a.set("Minutes",h,m>=H.hour?0:f*Math.floor(a.get("Minutes",h)/f)),m>=H.hour&&a.set("Hours",h,m>=H.day?0:f*Math.floor(a.get("Hours",h)/f)),m>=H.day&&a.set("Date",h,m>=H.month?1:Math.max(1,f*Math.floor(a.get("Date",h)/f))),m>=H.month&&(a.set("Month",h,m>=H.year?0:f*Math.floor(a.get("Month",h)/f)),g=a.get("FullYear",h)),m>=H.year&&(g-=g%f,a.set("FullYear",h,g)),m===H.week&&(p=a.get("Day",h),a.set("Date",h,a.get("Date",h)-p+P+(p<P?-7:0))),g=a.get("FullYear",h);let y=a.get("Month",h),I=a.get("Date",h),E=a.get("Hours",h);x=h.getTime(),(a.variableTimezone||!a.useUTC)&&C(N)&&(v=N-x>4*H.month||a.getTimezoneOffset(x)!==a.getTimezoneOffset(N));let M=h.getTime();for(S=1;M<N;)u.push(M),m===H.year?M=a.makeTime(g+S*f,0):m===H.month?M=a.makeTime(g,y+S*f):v&&(m===H.day||m===H.week)?M=a.makeTime(g,y,I+S*f*(m===H.day?1:7)):v&&m===H.hour&&f>1?M=a.makeTime(g,y,I,E+S*f):M+=m*f,S++;u.push(M),m<=H.hour&&u.length<1e4&&u.forEach(function(D){D%18e5==0&&a.dateFormat("%H%M%S%L",D)==="000000000"&&(d[D]="day")})}return u.info=$(c,{higherRanks:d,totalRange:m*f}),u}getDateFormat(c,x,N,P){let S=this.dateFormat("%m-%d %H:%M:%S.%L",x),g="01-01 00:00:00.000",v={millisecond:15,second:12,minute:9,hour:6,day:3},p="millisecond",a=p;for(p in H){if(c===H.week&&+this.dateFormat("%w",x)===N&&S.substr(6)===g.substr(6)){p="week";break}if(H[p]>c){p=a;break}if(v[p]&&S.substr(v[p])!==g.substr(v[p]))break;p!=="week"&&(a=p)}return this.resolveDTLFormat(P[p]).main}}return j.formatCache={},j}),r(e,"Core/Defaults.js",[e["Core/Chart/ChartDefaults.js"],e["Core/Globals.js"],e["Core/Color/Palettes.js"],e["Core/Time.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{isTouchDevice:$}=n,{fireEvent:K,merge:G}=B,q={colors:l.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",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"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"}
131,states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:R=>Math.sqrt(1-Math.pow(R-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:$?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};q.chart.styledMode=!1;let Z=new C(q.time);return{defaultOptions:q,defaultTime:Z,getOptions:function(){return q},setOptions:function(R){return K(n,"setOptions",{options:R}),G(!0,q,R),(R.time||R.global)&&(n.time?n.time.update(G(q.global,q.time,R.global,R.time)):n.time=Z),q}}}),r(e,"Core/Color/Color.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isNumber:l,merge:C,pInt:B}=n;class ${static parse(G){return G?new $(G):$.None}constructor(G){let q,Z,R,Y;this.rgba=[NaN,NaN,NaN,NaN],this.input=G;let V=t.Color;if(V&&V!==$)return new V(G);if(typeof G=="object"&&G.stops!==void 0)this.stops=G.stops.map(H=>new $(H[1]));else if(typeof G=="string"){if(this.input=G=$.names[G.toLowerCase()]||G,G.charAt(0)==="#"){let H=G.length,T=parseInt(G.substr(1),16);H===7?Z=[(16711680&T)>>16,(65280&T)>>8,255&T,1]:H===4&&(Z=[(3840&T)>>4|(3840&T)>>8,(240&T)>>4|240&T,(15&T)<<4|15&T,1])}if(!Z)for(R=$.parsers.length;R--&&!Z;)(q=(Y=$.parsers[R]).regex.exec(G))&&(Z=Y.parse(q))}Z&&(this.rgba=Z)}get(G){let q=this.input,Z=this.rgba;if(typeof q=="object"&&this.stops!==void 0){let R=C(q);return R.stops=[].slice.call(R.stops),this.stops.forEach((Y,V)=>{R.stops[V]=[R.stops[V][0],Y.get(G)]}),R}return Z&&l(Z[0])?G!=="rgb"&&(G||Z[3]!==1)?G==="a"?`${Z[3]}`:"rgba("+Z.join(",")+")":"rgb("+Z[0]+","+Z[1]+","+Z[2]+")":q}brighten(G){let q=this.rgba;if(this.stops)this.stops.forEach(function(Z){Z.brighten(G)});else if(l(G)&&G!==0)for(let Z=0;Z<3;Z++)q[Z]+=B(255*G),q[Z]<0&&(q[Z]=0),q[Z]>255&&(q[Z]=255);return this}setOpacity(G){return this.rgba[3]=G,this}tweenTo(G,q){let Z=this.rgba,R=G.rgba;if(!l(Z[0])||!l(R[0]))return G.input||"none";let Y=R[3]!==1||Z[3]!==1;return(Y?"rgba(":"rgb(")+Math.round(R[0]+(Z[0]-R[0])*(1-q))+","+Math.round(R[1]+(Z[1]-R[1])*(1-q))+","+Math.round(R[2]+(Z[2]-R[2])*(1-q))+(Y?","+(R[3]+(Z[3]-R[3])*(1-q)):"")+")"}}return $.names={white:"#ffffff",black:"#000000"},$.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),parseFloat(K[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(K){return[B(K[1]),B(K[2]),B(K[3]),1]}}],$.None=new $(""),$}
131),r(e,"Core/Animation/Fx.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{parse:C}=t,{win:B}=n,{isNumber:$,objectEach:K}=l;class G{constructor(Z,R,Y){this.pos=NaN,this.options=R,this.elem=Z,this.prop=Y}dSetter(){let Z=this.paths,R=Z&&Z[0],Y=Z&&Z[1],V=this.now||0,H=[];if(V!==1&&R&&Y)if(R.length===Y.length&&V<1)for(let T=0;T<Y.length;T++){let L=R[T],j=Y[T],s=[];for(let c=0;c<j.length;c++){let x=L[c],N=j[c];$(x)&&$(N)&&!(j[0]==="A"&&(c===4||c===5))?s[c]=x+V*(N-x):s[c]=N}H.push(s)}else H=Y;else H=this.toD||[];this.elem.attr("d",H,void 0,!0)}update(){let Z=this.elem,R=this.prop,Y=this.now,V=this.options.step;this[R+"Setter"]?this[R+"Setter"]():Z.attr?Z.element&&Z.attr(R,Y,null,!0):Z.style[R]=Y+this.unit,V&&V.call(Z,Y,this)}run(Z,R,Y){let V=this,H=V.options,T=function(s){return!T.stopped&&V.step(s)},L=B.requestAnimationFrame||function(s){setTimeout(s,13)},j=function(){for(let s=0;s<G.timers.length;s++)G.timers[s]()||G.timers.splice(s--,1);G.timers.length&&L(j)};Z!==R||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=Z,this.end=R,this.unit=Y,this.now=this.start,this.pos=0,T.elem=this.elem,T.prop=this.prop,T()&&G.timers.push(T)===1&&L(j)):(delete H.curAnim[this.prop],H.complete&&Object.keys(H.curAnim).length===0&&H.complete.call(this.elem))}step(Z){let R,Y,V=+new Date,H=this.options,T=this.elem,L=H.complete,j=H.duration,s=H.curAnim;return T.attr&&!T.element?R=!1:Z||V>=j+this.startTime?(this.now=this.end,this.pos=1,this.update(),s[this.prop]=!0,Y=!0,K(s,function(c){c!==!0&&(Y=!1)}),Y&&L&&L.call(T),R=!1):(this.pos=H.easing((V-this.startTime)/j),this.now=this.start+(this.end-this.start)*this.pos,this.update(),R=!0),R}
vendor: 5,342 bytes, line 131
131initPath(Z,R,Y){let V=Z.startX,H=Z.endX,T=Y.slice(),L=Z.isArea,j=L?2:1,s=R&&Y.length>R.length&&Y.hasStackedCliffs,c,x,N,P,S=R&&R.slice();if(!S||s)return[T,T];function g(p,a){for(;p.length<x;){let o=p[0],u=a[x-p.length];if(u&&o[0]==="M"&&(u[0]==="C"?p[0]=["C",o[1],o[2],o[1],o[2],o[1],o[2]]:p[0]=["L",o[1],o[2]]),p.unshift(o),L){let d=p.pop();p.push(p[p.length-1],d)}}}function v(p){for(;p.length<x;){let a=p[Math.floor(p.length/j)-1].slice();if(a[0]==="C"&&(a[1]=a[5],a[2]=a[6]),L){let o=p[Math.floor(p.length/j)].slice();p.splice(p.length/2,0,a,o)}else p.push(a)}}if(V&&H&&H.length){for(N=0;N<V.length;N++){if(V[N]===H[0]){c=N;break}if(V[0]===H[H.length-V.length+N]){c=N,P=!0;break}if(V[V.length-1]===H[H.length-V.length+N]){c=V.length-N;break}}c===void 0&&(S=[])}return S.length&&$(c)&&(x=T.length+c*j,P?(g(S,T),v(T)):(g(T,S),v(S))),[S,T]}fillSetter(){G.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,C(this.start).tweenTo(C(this.end),this.pos),void 0,!0)}}return G.timers=[],G}),r(e,"Core/Animation/AnimationUtilities.js",[e["Core/Animation/Fx.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,getStyle:C,isArray:B,isNumber:$,isObject:K,merge:G,objectEach:q,pick:Z}=n;function R(V){return K(V)?G({duration:500,defer:0},V):{duration:V?500:0,defer:0}}function Y(V,H){let T=t.timers.length;for(;T--;)t.timers[T].elem!==V||H&&H!==t.timers[T].prop||(t.timers[T].stopped=!0)}return{animate:function(V,H,T){let L,j="",s,c,x;K(T)||(x=arguments,T={duration:x[2],easing:x[3],complete:x[4]}),$(T.duration)||(T.duration=400),T.easing=typeof T.easing=="function"?T.easing:Math[T.easing]||Math.easeInOutSine,T.curAnim=G(H),q(H,function(N,P){Y(V,P),c=new t(V,T,P),s=void 0,P==="d"&&B(H.d)?(c.paths=c.initPath(V,V.pathArray,H.d),c.toD=H.d,L=0,s=1):V.attr?L=V.attr(P):(L=parseFloat(C(V,P))||0,P!=="opacity"&&(j="px")),s||(s=N),typeof s=="string"&&s.match("px")&&(s=s.replace(/px/g,"")),c.run(L,s,j)})},animObject:R,getDeferredAnimation:function(V,H,T){let L=R(H),j=T?[T]:V.series,s=0,c=0;return j.forEach(x=>{let N=R(x.options.animation);s=K(H)&&l(H.defer)?L.defer:Math.max(s,N.duration+N.defer),c=Math.min(L.duration,N.duration)}),V.renderer.forExport&&(s=0),{defer:Math.max(0,s-c),duration:Math.min(s,c)}},setAnimation:function(V,H){H.renderer.globalAnimation=Z(V,H.options.chart.animation,!0)},stop:Y}}),r(e,"Core/Renderer/HTML/AST.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{SVG_NS:l,win:C}=t,{attr:B,createElement:$,css:K,error:G,isFunction:q,isString:Z,objectEach:R,splat:Y}=n,{trustedTypes:V}=C,H=V&&q(V.createPolicy)&&V.createPolicy("highcharts",{createHTML:s=>s}),T=H?H.createHTML(""):"",L=function(){try{return!!new DOMParser().parseFromString(T,"text/html")}catch{return!1}}();class j{static filterUserAttributes(c){return R(c,(x,N)=>{let P=!0;j.allowedAttributes.indexOf(N)===-1&&(P=!1),["background","dynsrc","href","lowsrc","src"].indexOf(N)!==-1&&(P=Z(x)&&j.allowedReferences.some(S=>x.indexOf(S)===0)),P||(G(33,!1,void 0,{"Invalid attribute in config":`${N}`}),delete c[N]),Z(x)&&c[N]&&(c[N]=x.replace(/</g,"<"))}),c}static parseStyle(c){return c.split(";").reduce((x,N)=>{let P=N.split(":").map(g=>g.trim()),S=P.shift();return S&&P.length&&(x[S.replace(/-([a-z])/g,g=>g[1].toUpperCase())]=P.join(":")),x},{})}static setElementHTML(c,x){c.innerHTML=j.emptyHTML,x&&new j(x).addToDOM(c)}constructor(c){this.nodes=typeof c=="string"?this.parseMarkup(c):c}addToDOM(c){return function x(N,P){let S;return Y(N).forEach(function(g){let v,p=g.tagName,a=g.textContent?t.doc.createTextNode(g.textContent):void 0,o=j.bypassHTMLFiltering;if(p)if(p==="#text")v=a;else if(j.allowedTags.indexOf(p)!==-1||o){let u=p==="svg"?l:P.namespaceURI||l,d=t.doc.createElementNS(u,p),h=g.attributes||{};R(g,function(m,f){f!=="tagName"&&f!=="attributes"&&f!=="children"&&f!=="style"&&f!=="textContent"&&(h[f]=m)}),B(d,o?h:j.filterUserAttributes(h)),g.style&&K(d,g.style),a&&d.appendChild(a),x(g.children||[],d),v=d}else G(33,!1,void 0,{"Invalid tagName in config":p});v&&P.appendChild(v),S=v}),S}(this.nodes,c)}parseMarkup(c){let x,N=[];if(c=c.trim().replace(/ style=(["'])/g," data-style=$1"),L)x=new DOMParser().parseFromString(H?H.createHTML(c):c,"text/html");else{let S=$("div");S.innerHTML=c,x={body:S}}let P=(S,g)=>{let v=S.nodeName.toLowerCase(),p={tagName:v};v==="#text"&&(p.textContent=S.textContent||"");let a=S.attributes;if(a){let o={};[].forEach.call(a,u=>{u.name==="data-style"?p.style=j.parseStyle(u.value):o[u.name]=u.value}),p.attributes=o}if(S.childNodes.length){let o=[];[].forEach.call(S.childNodes,u=>{P(u,o)}),o.length&&(p.children=o)}g.push(p)};return[].forEach.call(x.body.childNodes,S=>P(S,N)),N}}return j.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","
131summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],j.allowedReferences=["https://","http://","mailto:","/","../","./","#"],j.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],j.emptyHTML=T,j.bypassHTMLFiltering=!1,j}),r(e,"Core/Templating.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n){let{defaultOptions:l,defaultTime:C}=t,{extend:B,getNestedProperty:$,isArray:K,isNumber:G,isObject:q,pick:Z,pInt:R}=n,Y={add:(T,L)=>T+L,divide:(T,L)=>L!==0?T/L:"",eq:(T,L)=>T==L,each:function(T){let L=arguments[arguments.length-1];return!!K(T)&&T.map((j,s)=>V(L.body,B(q(j)?j:{"@this":j},{"@index":s,"@first":s===0,"@last":s===T.length-1}))).join("")},ge:(T,L)=>T>=L,gt:(T,L)=>T>L,if:T=>!!T,le:(T,L)=>T<=L,lt:(T,L)=>T<L,multiply:(T,L)=>T*L,ne:(T,L)=>T!=L,subtract:(T,L)=>T-L,unless:T=>!T};function V(T="",L,j){let s=/\{([\w\:\.\,;\-\/<>%@"'â= #\(\)]+)\}/g,c=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,x=[],N=/f$/,P=/\.(\d)/,S=l.lang,g=j&&j.time||C,v=j&&j.numberFormatter||H,p=(h="")=>{let m;return h==="true"||h!=="false"&&((m=Number(h)).toString()===h?m:$(h,L))},a,o,u=0,d;for(;(a=s.exec(T))!==null;){let h=c.exec(a[1]);h&&(a=h,d=!0),o&&o.isBlock||(o={ctx:L,expression:a[1],find:a[0],isBlock:a[1].charAt(0)==="#",start:a.index,startInner:a.index+a[0].length,length:a[0].length});let m=a[1].split(" ")[0].replace("#","");Y[m]&&(o.isBlock&&m===o.fn&&u++,o.fn||(o.fn=m));let f=a[1]==="else";if(o.isBlock&&o.fn&&(a[1]===`/${o.fn}`||f))if(u)!f&&u--;else{let y=o.startInner,I=T.substr(y,a.index-y);o.body===void 0?(o.body=I,o.startInner=a.index+a[0].length):o.elseBody=I,o.find+=I+a[0],f||(x.push(o),o=void 0)}else o.isBlock||x.push(o);if(h&&!(o!=null&&o.isBlock))break}return x.forEach(h=>{let m,f,{body:y,elseBody:I,expression:E,fn:M}=h;if(M){let D=[h],F=E.split(" ");for(f=Y[M].length;f--;)D.unshift(p(F[f+1]));m=Y[M].apply(L,D),h.isBlock&&typeof m=="boolean"&&(m=V(m?y:I,L,j))}else{let D=E.split(":");if(m=p(D.shift()||""),D.length&&typeof m=="number"){let F=D.join(":");if(N.test(F)){let X=parseInt((F.match(P)||["","-1"])[1],10);m!==null&&(m=v(m,X,S.decimalPoint,F.indexOf(",")>-1?S.thousandsSep:""))}else m=g.dateFormat(F,m)}}T=T.replace(h.find,Z(m,""))}),d?V(T,L,j):T}function H(T,L,j,s){let c,x;T=+T||0,L=+L;let N=l.lang,P=(T.toString().split(".")[1]||"").split("e")[0].length,S=T.toString().split("e"),g=L;L===-1?L=Math.min(P,20):G(L)?L&&S[1]&&S[1]<0&&((x=L+ +S[1])>=0?(S[0]=(+S[0]).toExponential(x).split("e")[0],L=x):(S[0]=S[0].split(".")[0]||0,T=L<20?(S[0]*Math.pow(10,S[1])).toFixed(L):0,S[1]=0)):L=2;let v=(Math.abs(S[1]?S[0]:T)+Math.pow(10,-Math.max(L,P)-1)).toFixed(L),p=String(R(v)),a=p.length>3?p.length%3:0;return j=Z(j,N.decimalPoint),s=Z(s,N.thousandsSep),c=(T<0?"-":"")+(a?p.substr(0,a)+s:""),0>+S[1]&&!g?c="0":c+=p.substr(a).replace(/(\d{3})(?=\d)/g,"$1"+s),L?c+=j+v.slice(-L):+c==0&&(c="0"),S[1]&&+c!=0&&(c+="e"+S[1]),c}return{dateFormat:function(T,L,j){return C.dateFormat(T,L,j)},format:V,helpers:Y,numberFormat:H}}),r(e,"Core/Renderer/RendererRegistry.js",[e["Core/Globals.js"]],function(t){var n,l;let C;return(l=n||(n={})).rendererTypes={},l.getRendererType=function(B=C){return l.rendererTypes[B]||l.rendererTypes[C]},l.registerRendererType=function(B,$,K){l.rendererTypes[B]=$,(!C||K)&&(C=B,t.Renderer=$)},n}),r(e,"Core/Renderer/RendererUtilities.js",[e["Core/Utilities.js"]],function(t){var n;let{clamp:l,pick:C,pushUnique:B,stableSort:$}=t;return(n||(n={})).distribute=function K(G,q,Z){let R=G,Y=R.reducedLen||q,V=(p,a)=>p.target-a.target,H=[],T=G.length,L=[],j=H.push,s,c,x,N=!0,P,S,g=0,v;for(s=T;s--;)g+=G[s].size;if(g>Y){for($(G,(p,a)=>(a.rank||0)-(p.rank||0)),x=(v=G[0].rank===G[G.length-1].rank)?T/2:-1,c=v?x:T-1;x&&g>Y;)P=G[s=Math.floor(c)],B(L,s)&&(g-=P.size),c+=x,v&&c>=G.length&&(x/=2,c=x);L.sort((p,a)=>
vendor: 34,728 bytes, line 131
131a-p).forEach(p=>j.apply(H,G.splice(p,1)))}for($(G,V),G=G.map(p=>({size:p.size,targets:[p.target],align:C(p.align,.5)}));N;){for(s=G.length;s--;)P=G[s],S=(Math.min.apply(0,P.targets)+Math.max.apply(0,P.targets))/2,P.pos=l(S-P.size*P.align,0,q-P.size);for(s=G.length,N=!1;s--;)s>0&&G[s-1].pos+G[s-1].size>G[s].pos&&(G[s-1].size+=G[s].size,G[s-1].targets=G[s-1].targets.concat(G[s].targets),G[s-1].align=.5,G[s-1].pos+G[s-1].size>q&&(G[s-1].pos=q-G[s-1].size),G.splice(s,1),N=!0)}return j.apply(R,H),s=0,G.some(p=>{let a=0;return(p.targets||[]).some(()=>(R[s].pos=p.pos+a,Z!==void 0&&Math.abs(R[s].pos-R[s].target)>Z?(R.slice(0,s+1).forEach(o=>delete o.pos),R.reducedLen=(R.reducedLen||q)-.1*q,R.reducedLen>.1*q&&K(R,q,Z),!0):(a+=R[s].size,s++,!1)))}),$(R,V),R},n}),r(e,"Core/Renderer/SVG/SVGElement.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{animate:B,animObject:$,stop:K}=t,{deg2rad:G,doc:q,svg:Z,SVG_NS:R,win:Y}=l,{addEvent:V,attr:H,createElement:T,crisp:L,css:j,defined:s,erase:c,extend:x,fireEvent:N,isArray:P,isFunction:S,isObject:g,isString:v,merge:p,objectEach:a,pick:o,pInt:u,pushUnique:d,replaceNested:h,syncTimeout:m,uniqueKey:f}=C;class y{_defaultGetter(E){let M=o(this[E+"Value"],this[E],this.element?this.element.getAttribute(E):null,0);return/^-?[\d\.]+$/.test(M)&&(M=parseFloat(M)),M}_defaultSetter(E,M,D){D.setAttribute(M,E)}add(E){let M,D=this.renderer,F=this.element;return E&&(this.parentGroup=E),this.textStr!==void 0&&this.element.nodeName==="text"&&D.buildText(this),this.added=!0,(!E||E.handleZ||this.zIndex)&&(M=this.zIndexSetter()),M||(E?E.element:D.box).appendChild(F),this.onAdd&&this.onAdd(),this}addClass(E,M){let D=M?"":this.attr("class")||"";return(E=(E||"").split(/ /g).reduce(function(F,X){return D.indexOf(X)===-1&&F.push(X),F},D?[D]:[]).join(" "))!==D&&this.attr("class",E),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(E,M,D,F=!0){let X,_,w,A,U={},b=this.renderer,k=b.alignedObjects,O=!!E;E?(this.alignOptions=E,this.alignByTranslate=M,this.alignTo=D):(E=this.alignOptions||{},M=this.alignByTranslate,D=this.alignTo);let z=!D||v(D)?D||"renderer":void 0;z&&(O&&d(k,this),D=void 0);let W=o(D,b[z],b),Q=E.align,ee=E.verticalAlign;return X=(W.x||0)+(E.x||0),_=(W.y||0)+(E.y||0),Q==="right"?w=1:Q==="center"&&(w=2),w&&(X+=((W.width||0)-(E.width||0))/w),U[M?"translateX":"x"]=Math.round(X),ee==="bottom"?A=1:ee==="middle"&&(A=2),A&&(_+=((W.height||0)-(E.height||0))/A),U[M?"translateY":"y"]=Math.round(_),F&&(this[this.placed?"animate":"attr"](U),this.placed=!0),this.alignAttr=U,this}alignSetter(E){let M={left:"start",center:"middle",right:"end"};M[E]&&(this.alignValue=E,this.element.setAttribute("text-anchor",M[E]))}animate(E,M,D){let F=$(o(M,this.renderer.globalAnimation,!0)),X=F.defer;return q.hidden&&(F.duration=0),F.duration!==0?(D&&(F.complete=D),m(()=>{this.element&&B(this,E,F)},X)):(this.attr(E,void 0,D||F.complete),a(E,function(_,w){F.step&&F.step.call(this,_,{prop:w,pos:1,elem:this})},this)),this}applyTextOutline(E){let M=this.element;E.indexOf("contrast")!==-1&&(E=E.replace(/contrast/g,this.renderer.getContrast(M.style.fill)));let D=E.split(" "),F=D[D.length-1],X=D[0];if(X&&X!=="none"&&l.svg){this.fakeTS=!0,X=X.replace(/(^[\d\.]+)(.*?)$/g,function(b,k,O){return 2*Number(k)+O}),this.removeTextOutline();let _=q.createElementNS(R,"tspan");H(_,{class:"highcharts-text-outline",fill:F,stroke:F,"stroke-width":X,"stroke-linejoin":"round"});let w=M.querySelector("textPath")||M;[].forEach.call(w.childNodes,b=>{let k=b.cloneNode(!0);k.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(O=>k.removeAttribute(O)),_.appendChild(k)});let A=0;[].forEach.call(w.querySelectorAll("text tspan"),b=>{A+=Number(b.getAttribute("dy"))});let U=q.createElementNS(R,"tspan");U.textContent="\u200B",H(U,{x:Number(M.getAttribute("x")),dy:-A}),_.appendChild(U),w.insertBefore(_,w.firstChild)}}attr(E,M,D,F){let{element:X}=this,_=y.symbolCustomAttribs,w,A,U=this,b;return typeof E=="string"&&M!==void 0&&(w=E,(E={})[w]=M),typeof E=="string"?U=(this[E+"Getter"]||this._defaultGetter).call(this,E,X):(a(E,function(k,O){b=!1,F||K(this,O),this.symbolName&&_.indexOf(O)!==-1&&(A||(this.symbolAttr(E),A=!0),b=!0),this.rotation&&(O==="x"||O==="y")&&(this.doTransform=!0),b||(this[O+"Setter"]||this._defaultSetter).call(this,k,O,X)},this),this.afterSetters()),D&&D.call(this),U}clip(E){if(E&&!E.clipPath){let M=f()+"-",D=this.renderer.createElement("clipPath").attr({id:M}).add(this.renderer.defs);x(E,{clipPath:D,id:M,count:0}),E.add(D)}return this.attr("clip-path",E?`url(${this.renderer.url}#${E.id})`:"none")}crisp(E,M){M=Math.round(M||E.strokeWidth||0);let D=E.x||this.x||0,F=E.y||this.y||0,X=(E.width||this.width||0)+D,_=(E.height||this.height||0)+F,w=L(D,M),A=L(F,M);return x(E,{x:w,y:A,width:L(X,M)-w,height:L(_,M)-A}),s(E.strokeWidth)&&(E.strokeWidth=M),E}complexColor(E,M,D){let F=this.renderer,X,_,w,A,U,b,k,O,z,W,Q=[],ee;N(this.renderer,"complexColor",{args:arguments},function(){if(E.radialGradient?_="radialGradient":E.linearGradient&&(_="linearGradient"),_){if(w=E[_],U=F.gradients,b=E.stops,z=D.radialReference,P(w)&&(E[_]=w={x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientUnits:"userSpaceOnUse"}),_==="radialGradient"&&z&&!s(w.gradientUnits)&&(A=w,w=p(w,F.getRadialAttr(z,A),{gradientUnits:"userSpaceOnUse"})),a(w,function(se,ae){ae!=="id"&&Q.push(ae,se)}),a(b,function(se){Q.push(se)}),U[Q=Q.join(",")])W=U[Q].attr("id");else{w.id=W=f();let se=U[Q]=F.createElement(_).attr(w).add(F.defs);se.radAttr=A,se.stops=[],b.forEach(function(ae){ae[1].indexOf("rgba")===0?(k=(X=n.parse(ae[1])).get("rgb"),O=X.get("a")):(k=ae[1],O=1);let he=F.createElement("stop").attr({offset:ae[0],"stop-color":k,"stop-opacity":O}).add(se);se.stops.push(he)})}ee="url("+F.url+"#"+W+")",D.setAttribute(M,ee),D.gradient=Q,E.toString=function(){return ee}}})}css(E){let M=this.styles,D={},F=this.element,X,_=!M;if(M&&a(E,function(w,A){M&&M[A]!==w&&(D[A]=w,_=!0)}),_){M&&(E=x(M,D)),E.width===null||E.width==="auto"?delete this.textWidth:F.nodeName.toLowerCase()==="text"&&E.width&&(X=this.textWidth=u(E.width)),x(this.styles,E),X&&!Z&&this.renderer.forExport&&delete E.width;let w=p(E);F.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(A=>w&&delete w[A]),w.color&&(w.fill=w.color)),j(F,w)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),E.textOutline&&this.applyTextOutline(E.textOutline)),this}dashstyleSetter(E){let M,D=this["stroke-width"];if(D==="inherit"&&(D=1),E=E&&E.toLowerCase()){let F=E.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(M=F.length;M--;)F[M]=""+u(F[M])*o(D,NaN);E=F.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",E)}}destroy(){var A;let E=this,M=E.element||{},D=E.renderer,F=M.ownerSVGElement,X=M.nodeName==="SPAN"&&E.parentGroup||void 0,_,w;if(M.onclick=M.onmouseout=M.onmouseover=M.onmousemove=M.point=null,K(E),E.clipPath&&F){let U=E.clipPath;[].forEach.call(F.querySelectorAll("[clip-path],[CLIP-PATH]"),function(b){b.getAttribute("clip-path").indexOf(U.element.id)>-1&&b.removeAttribute("clip-path")}),E.clipPath=U.destroy()}if(E.connector=(A=E.connector)==null?void 0:A.destroy(),E.stops){for(w=0;w<E.stops.length;w++)E.stops[w].destroy();E.stops.length=0,E.stops=void 0}for(E.safeRemoveChild(M);X&&X.div&&X.div.childNodes.length===0;)_=X.parentGroup,E.safeRemoveChild(X.div),delete X.div,X=_;E.alignOptions&&c(D.alignedObjects,E),a(E,function(U,b){E[b]&&E[b].parentGroup===E&&E[b].destroy&&E[b].destroy(),delete E[b]})}dSetter(E,M,D){P(E)&&(typeof E[0]=="string"&&(E=this.renderer.pathToSegments(E)),this.pathArray=E,E=E.reduce((F,X,_)=>X&&X.join?(_?F+" ":"")+X.join(" "):(X||"").toString(),"")),/(NaN| {2}|^$)/.test(E)&&(E="M 0 0"),this[M]!==E&&(D.setAttribute(M,E),this[M]=E)}fillSetter(E,M,D){typeof E=="string"?D.setAttribute(M,E):E&&this.complexColor(E,M,D)}hrefSetter(E,M,D){D.setAttributeNS("http://www.w3.org/1999/xlink",M,E)}getBBox(E,M){let D,F,X,_,{alignValue:w,element:A,renderer:U,styles:b,textStr:k}=this,{cache:O,cacheKeys:z}=U,W=A.namespaceURI===this.SVG_NS,Q=o(M,this.rotation,0),ee=U.styledMode?A&&y.prototype.getStyle.call(A,"font-size"):b.fontSize;if(s(k)&&((_=k.toString()).indexOf("<")===-1&&(_=_.replace(/\d/g,"0")),_+=["",U.rootFontSize,ee,Q,this.textWidth,w,b.textOverflow,b.fontWeight].join(",")),_&&!E&&(D=O[_]),!D||D.polygon){if(W||U.forExport){try{X=this.fakeTS&&function(ae){let he=A.querySelector(".highcharts-text-outline");he&&j(he,{display:ae})},S(X)&&X("none"),D=A.getBBox?x({},A.getBBox()):{width:A.offsetWidth,height:A.offsetHeight,x:0,y:0},S(X)&&X("")}catch{}(!D||D.width<0)&&(D={x:0,y:0,width:0,height:0})}else D=this.htmlGetBBox();F=D.height,W&&(D.height=F={"11px,17":14,"13px,20":16}[`${ee||""},${Math.round(F)}`]||F),Q&&(D=this.getRotatedBox(D,Q));let se={bBox:D};N(this,"afterGetBBox",se),D=se.bBox}if(_&&(k===""||D.height>0)){for(;z.length>250;)delete O[z.shift()];O[_]||z.push(_),O[_]=D}return D}getRotatedBox(E,M){let{x:D,y:F,width:X,height:_}=E,{alignValue:w,translateY:A,rotationOriginX:U=0,rotationOriginY:b=0}=this,k={right:1,center:.5}[w||0]||0,O=Number(this.element.getAttribute("y")||0)-(A?0:F),z=M*G,W=(M-90)*G,Q=Math.cos(z),ee=Math.sin(z),se=X*Q,ae=X*ee,he=Math.cos(W),ce=Math.sin(W),[[ie,te],[ne,oe]]=[U,b].map(Oe=>[Oe-Oe*Q,Oe*ee]),le=D+k*(X-se)+ie+oe+O*he,ue=le+se,de=ue-_*he,fe=de-se,me=F+O-k*ae-te+ne+O*ce,ge=me+ae,Ee=ge-_*ce,ve=Ee-ae,ye=Math.min(le,ue,de,fe),Se=Math.min(me,ge,Ee,ve),xe=Math.max(le,ue,de,fe)-ye,Ce=Math.max(me,ge,Ee,ve)-Se;return{x:ye,y:Se,width:xe,height:Ce,polygon:[[le,me],[ue,ge],[de,Ee],[fe,ve]]}}getStyle(E){return Y.getComputedStyle(this.element||this,"").getPropertyValue(E)}hasClass(E){return(""+this.attr("class")).split(" ").indexOf(E)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(E,M){this.onEvents={},this.opacity=1,this.SVG_NS=R,this.element=M==="span"||M==="body"?T(M):q.createElementNS(this.SVG_NS,M),this.renderer=E,this.styles={},N(this,"afterInit")}on(E,M){let{onEvents:D}=this;return D[E]&&D[E](),D[E]=V(this.element,E,M),this}opacitySetter(E,M,D){let F=Number(Number(E).toFixed(3));this.opacity=F,D.setAttribute(M,F)}reAlign(){var E;(E=this.alignOptions)!=null&&E.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(E){return this.attr("class",(""+this.attr("class")).replace(v(E)?RegExp(`(^| )${E}( |$)`):E," ").replace(/ +/g," ").trim())}removeTextOutline(){let E=this.element.querySelector("tspan.highcharts-text-outline");E&&this.safeRemoveChild(E)}safeRemoveChild(E){let M=E.parentNode;M&&M.removeChild(E)}setRadialReference(E){let M=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=E,M&&M.radAttr&&M.animate(this.renderer.getRadialAttr(E,M.radAttr)),this}shadow(E){var X;let{renderer:M}=this,D=p(((X=this.parentGroup)==null?void 0:X.rotation)===90?{offsetX:-1,offsetY:-1}:{},g(E)?E:{}),F=M.shadowDefinition(D);return this.attr({filter:E?`url(${M.url}#${F})`:"none"})}show(E=!0){return this.attr({visibility:E?"inherit":"visible"})}"stroke-widthSetter"(E,M,D){this[M]=E,D.setAttribute(M,E)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let E=this.getStyle("stroke-width"),M=0,D;return/px$/.test(E)?M=u(E):E!==""&&(H(D=q.createElementNS(R,"rect"),{width:E,"stroke-width":0}),this.element.parentNode.appendChild(D),M=D.getBBox().width,D.parentNode.removeChild(D)),M}symbolAttr(E){let M=this;y.symbolCustomAttribs.forEach(function(D){M[D]=o(E[D],M[D])}),M.attr({d:M.renderer.symbols[M.symbolName](M.x,M.y,M.width,M.height,M)})}textSetter(E){E!==this.textStr&&(delete this.textPxLength,this.textStr=E,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(E){let M=this.element,D=M.getElementsByTagName("title")[0]||q.createElementNS(this.SVG_NS,"title");M.insertBefore?M.insertBefore(D,M.firstChild):M.appendChild(D),D.textContent=h(o(E,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let E=this.element;return E.parentNode.appendChild(E),this}translate(E,M){return this.attr({translateX:E,translateY:M})}updateTransform(E="transform"){var O;let{element:M,matrix:D,rotation:F=0,rotationOriginX:X,rotationOriginY:_,scaleX:w,scaleY:A,translateX:U=0,translateY:b=0}=this,k=["translate("+U+","+b+")"];s(D)&&k.push("matrix("+D.join(",")+")"),F&&(k.push("rotate("+F+" "+o(X,M.getAttribute("x"),0)+" "+o(_,M.getAttribute("y")||0)+")"),((O=this.text)==null?void 0:O.element.tagName)==="SPAN"&&this.text.attr({rotation:F,rotationOriginX:(X||0)-this.padding,rotationOriginY:(_||0)-this.padding})),(s(w)||s(A))&&k.push("scale("+o(w,1)+" "+o(A,1)+")"),k.length&&!(this.text||this).textPath&&M.setAttribute(E,k.join(" "))}visibilitySetter(E,M,D){E==="inherit"?D.removeAttribute(M):this[M]!==E&&D.setAttribute(M,E),this[M]=E}xGetter(E){return this.element.nodeName==="circle"&&(E==="x"?E="cx":E==="y"&&(E="cy")),this._defaultGetter(E)}zIndexSetter(E,M){let D=this.renderer,F=this.parentGroup,X=(F||D).element||D.box,_=this.element,w=X===D.box,A,U,b,k=!1,O,z=this.added,W;if(s(E)?(_.setAttribute("data-z-index",E),E=+E,this[M]===E&&(z=!1)):s(this[M])&&_.removeAttribute("data-z-index"),this[M]=E,z){for((E=this.zIndex)&&F&&(F.handleZ=!0),W=(A=X.childNodes).length-1;W>=0&&!k;W--)O=!s(b=(U=A[W]).getAttribute("data-z-index")),U!==_&&(E<0&&O&&!w&&!W?(X.insertBefore(_,A[W]),k=!0):(u(b)<=E||O&&(!s(E)||E>=0))&&(X.insertBefore(_,A[W+1]),k=!0));k||(X.insertBefore(_,A[w?3:0]),k=!0)}return k}}return y.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],y.prototype.strokeSetter=y.prototype.fillSetter,y.prototype.yGetter=y.prototype.xGetter,y.prototype.matrixSetter=y.prototype.rotationOriginXSetter=y.prototype.rotationOriginYSetter=y.prototype.rotationSetter=y.prototype.scaleXSetter=y.prototype.scaleYSetter=y.prototype.translateXSetter=y.prototype.translateYSetter=y.prototype.verticalAlignSetter=function(I,E){this[E]=I,this.doTransform=!0},y}),r(e,"Core/Renderer/SVG/SVGLabel.js",[e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,extend:C,isNumber:B,merge:$,pick:K,removeEvent:G}=n;class q extends t{constructor(R,Y,V,H,T,L,j,s,c,x){let N;super(R,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=Y,this.x=V,this.y=H,this.anchorX=L,this.anchorY=j,this.baseline=c,this.className=x,this.addClass(x==="button"?"highcharts-no-tooltip":"highcharts-label"),x&&this.addClass("highcharts-"+x),this.text=R.text(void 0,0,0,s).attr({zIndex:1}),typeof T=="string"&&((N=/^url\((.*?)\)$/.test(T))||this.renderer.symbols[T])&&(this.symbolKey=T),this.bBox=q.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=R.styledMode||N,this.deferredAttr={},this.alignFactor=0}alignSetter(R){let Y={left:0,center:.5,right:1}[R];Y!==this.alignFactor&&(this.alignFactor=Y,this.bBox&&B(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(R,Y){this.anchorX=R,this.boxAttr(Y,Math.round(R)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(R,Y){this.anchorY=R,this.boxAttr(Y,R-this.ySetting)}boxAttr(R,Y){this.box?this.box.attr(R,Y):this.deferredAttr[R]=Y}css(R){if(R){let Y={};R=$(R),q.textProps.forEach(V=>{R[V]!==void 0&&(Y[V]=R[V],delete R[V])}),this.text.css(Y),"fontSize"in Y||"fontWeight"in Y?this.updateTextPadding():("width"in Y||"textOverflow"in Y)&&this.updateBoxSize()}return t.prototype.css.call(this,R)}destroy(){G(this.element,"mouseenter"),G(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)}fillSetter(R,Y){R&&(this.needsBox=!0),this.fill=R,this.boxAttr(Y,R)}getBBox(R,Y){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:V,height:H=0,translateX:T=0,translateY:L=0,width:j=0}=this,s=K(this.paddingLeft,V),c=Y??(this.rotation||0),x={width:j,height:H,x:T+this.bBox.x-s,y:L+this.bBox.y-V+this.baselineOffset};return c&&(x=this.getRotatedBox(x,c)),x}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(R){this.heightSetting=R,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:K(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&l(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(R,Y){B(R)?R!==this[Y]&&(this[Y]=R,this.updateTextPadding()):this[Y]=void 0}rSetter(R,Y){this.boxAttr(Y,R)}strokeSetter(R,Y){this.stroke=R,this.boxAttr(Y,R)}"stroke-widthSetter"(R,Y){R&&(this.needsBox=!0),this["stroke-width"]=R,this.boxAttr(Y,R)}"text-alignSetter"(R){this.textAlign=R}textSetter(R){R!==void 0&&this.text.attr({text:R}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let R,Y=this.text,V={},H=this.padding,T=this.bBox=(!B(this.widthSetting)||!B(this.heightSetting)||this.textAlign)&&l(Y.textStr)?Y.getBBox(void 0,0):q.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||T.height||0)+2*H;let L=this.renderer.fontMetrics(Y);if(this.baselineOffset=H+Math.min((this.text.firstLineMetrics||L).b,T.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-L.h)/2),this.needsBox&&!Y.textPath){if(!this.box){let j=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();j.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),j.add(this)}R=this.getCrispAdjust(),V.x=R,V.y=(this.baseline?-this.baselineOffset:0)+R,V.width=Math.round(this.width),V.height=Math.round(this.height),this.box.attr(C(V,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let R=this.text;if(!R.textPath){this.updateBoxSize();let Y=this.baseline?0:this.baselineOffset,V=K(this.paddingLeft,this.padding);l(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(V+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(V!==R.x||Y!==R.y)&&(R.attr("x",V),R.hasBoxWidthChanged&&(this.bBox=R.getBBox(!0)),Y!==void 0&&R.attr("y",Y)),R.x=V,R.y=Y}}widthSetter(R){this.widthSetting=B(R)?R:void 0,this.doUpdate=!0}getPaddedWidth(){let R=this.padding,Y=K(this.paddingLeft,R),V=K(this.paddingRight,R);return(this.widthSetting||this.bBox.width||0)+Y+V}xSetter(R){this.x=R,this.alignFactor&&(R-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(R),this.attr("translateX",this.xSetting)}ySetter(R){this.ySetting=this.y=Math.round(R),this.attr("translateY",this.ySetting)}}return q.emptyBBox={width:0,height:0,x:0,y:0},q.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],q}),r(e,"Core/Renderer/SVG/Symbols.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t;function B(G,q,Z,R,Y){let V=[];if(Y){let H=Y.start||0,T=C(Y.r,Z),L=C(Y.r,R||Z),j=2e-4/(Y.borderRadius?1:Math.max(T,1)),s=Math.abs((Y.end||0)-H-2*Math.PI)<j,c=(Y.end||0)-(s?j:0),x=Y.innerR,N=C(Y.open,s),P=Math.cos(H),S=Math.sin(H),g=Math.cos(c),v=Math.sin(c),p=C(Y.longArc,c-H-Math.PI<j?0:1),a=["A",T,L,0,p,C(Y.clockwise,1),G+T*g,q+L*v];a.params={start:H,end:c,cx:G,cy:q},V.push(["M",G+T*P,q+L*S],a),n(x)&&((a=["A",x,x,0,p,n(Y.clockwise)?1-Y.clockwise:0,G+x*P,q+x*S]).params={start:c,end:H,cx:G,cy:q},V.push(N?["M",G+x*g,q+x*v]:["L",G+x*g,q+x*v],a)),N||V.push(["Z"])}return V}function $(G,q,Z,R,Y){return Y&&Y.r?K(G,q,Z,R,Y):[["M",G,q],["L",G+Z,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]}function K(G,q,Z,R,Y){let V=(Y==null?void 0:Y.r)||0;return[["M",G+V,q],["L",G+Z-V,q],["A",V,V,0,0,1,G+Z,q+V],["L",G+Z,q+R-V],["A",V,V,0,0,1,G+Z-V,q+R],["L",G+V,q+R],["A",V,V,0,0,1,G,q+R-V],["L",G,q+V],["A",V,V,0,0,1,G+V,q],["Z"]]}return{arc:B,callout:function(G,q,Z,R,Y){let V=Math.min(Y&&Y.r||0,Z,R),H=V+6,T=Y&&Y.anchorX,L=Y&&Y.anchorY||0,j=K(G,q,Z,R,{r:V});if(!l(T)||T<Z&&T>0&&L<R&&L>0)return j;if(G+T>Z-H)if(L>q+H&&L<q+R-H)j.splice(3,1,["L",G+Z,L-6],["L",G+Z+6,L],["L",G+Z,L+6],["L",G+Z,q+R-V]);else if(T<Z){let s=L<q+H,c=s?q:q+R;j.splice(s?2:5,0,["L",T,L],["L",G+Z-V,c])}else j.splice(3,1,["L",G+Z,R/2],["L",T,L],["L",G+Z,R/2],["L",G+Z,q+R-V]);else if(G+T<H)if(L>q+H&&L<q+R-H)j.splice(7,1,["L",G,L+6],["L",G-6,L],["L",G,L-6],["L",G,q+V]);else if(T>0){let s=L<q+H,c=s?q:q+R;j.splice(s?1:6,0,["L",T,L],["L",G+V,c])}else j.splice(7,1,["L",G,R/2],["L",T,L],["L",G,R/2],["L",G,q+V]);else L>R&&T<Z-H?j.splice(5,1,["L",T+6,q+R],["L",T,q+R+6],["L",T-6,q+R],["L",G+V,q+R]):L<0&&T>H&&j.splice(1,1,["L",T-6,q],["L",T,q-6],["L",T+6,q],["L",Z-V,q]);return j},circle:function(G,q,Z,R){return B(G+Z/2,q+R/2,Z/2,R/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R/2],["L",G+Z/2,q+R],["L",G,q+R/2],["Z"]]},rect:$,roundedRect:K,square:$,triangle:function(G,q,Z,R){return[["M",G+Z/2,q],["L",G+Z,q+R],["L",G,q+R],["Z"]]},"triangle-down":function(G,q,Z,R){return[["M",G,q],["L",G+Z,q],["L",G+Z/2,q+R],["Z"]]}}}),r(e,"Core/Renderer/SVG/TextBuilder.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{doc:C,SVG_NS:B,win:$}=n,{attr:K,extend:G,fireEvent:q,isString:Z,objectEach:R,pick:Y}=l;return class{constructor(V){let H=V.styles;this.renderer=V.renderer,this.svgElement=V,this.width=V.textWidth,this.textLineHeight=H&&H.lineHeight,this.textOutline=H&&H.textOutline,this.ellipsis=!!(H&&H.textOverflow==="ellipsis"),this.noWrap=!!(H&&H.whiteSpace==="nowrap")}buildSVG(){let V=this.svgElement,H=V.element,T=V.renderer,L=Y(V.textStr,"").toString(),j=L.indexOf("<")!==-1,s=H.childNodes,c=!V.added&&T.box,x=[L,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,V.getStyle("font-size"),this.width].join(",");if(x!==V.textCache){V.textCache=x,delete V.actualWidth;for(let N=s.length;N--;)H.removeChild(s[N]);if(j||this.ellipsis||this.width||V.textPath||L.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(L))){if(L!==""){c&&c.appendChild(H);let N=new t(L);this.modifyTree(N.nodes),N.addToDOM(H),this.modifyDOM(),this.ellipsis&&(H.textContent||"").indexOf("\u2026")!==-1&&V.attr("title",this.unescapeEntities(V.textStr||"",["<",">"])),c&&c.removeChild(H)}}else H.appendChild(C.createTextNode(this.unescapeEntities(L)));Z(this.textOutline)&&V.applyTextOutline&&V.applyTextOutline(this.textOutline)}}modifyDOM(){let V,H=this.svgElement,T=K(H.element,"x");for(H.firstLineMetrics=void 0;(V=H.element.firstChild)&&/^[\s\u200B]*$/.test(V.textContent||" ");)H.element.removeChild(V);[].forEach.call(H.element.querySelectorAll("tspan.highcharts-br"),(c,x)=>{c.nextSibling&&c.previousSibling&&(x===0&&c.previousSibling.nodeType===1&&(H.firstLineMetrics=H.renderer.fontMetrics(c.previousSibling)),K(c,{dy:this.getLineHeight(c.nextSibling),x:T}))});let L=this.width||0;if(!L)return;let j=(c,x)=>{let N=c.textContent||"",P=N.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(P.length>1||H.element.childNodes.length>1),g=this.getLineHeight(x),v=0,p=H.actualWidth;if(this.ellipsis)N&&this.truncate(c,N,void 0,0,Math.max(0,L-.8*g),(a,o)=>a.substring(0,o)+"\u2026");else if(S){let a=[],o=[];for(;x.firstChild&&x.firstChild!==c;)o.push(x.firstChild),x.removeChild(x.firstChild);for(;P.length;)P.length&&!this.noWrap&&v>0&&(a.push(c.textContent||""),c.textContent=P.join(" ").replace(/- /g,"-")),this.truncate(c,void 0,P,v===0&&p||0,L,(u,d)=>P.slice(0,d).join(" ").replace(/- /g,"-")),p=H.actualWidth,v++;o.forEach(u=>{x.insertBefore(u,c)}),a.forEach(u=>{x.insertBefore(C.createTextNode(u),c);let d=C.createElementNS(B,"tspan");d.textContent="\u200B",K(d,{dy:g,x:T}),x.insertBefore(d,c)})}},s=c=>{[].slice.call(c.childNodes).forEach(x=>{x.nodeType===$.Node.TEXT_NODE?j(x,c):(x.className.baseVal.indexOf("highcharts-br")!==-1&&(H.actualWidth=0),s(x))})};s(H.element)}getLineHeight(V){let H=V.nodeType===$.Node.TEXT_NODE?V.parentElement:V;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(H||this.svgElement.element).h}modifyTree(V){let H=(T,L)=>{let{attributes:j={},children:s,style:c={},tagName:x}=T,N=this.renderer.styledMode;if(x==="b"||x==="strong"?N?j.class="highcharts-strong":c.fontWeight="bold":(x==="i"||x==="em")&&(N?j.class="highcharts-emphasized":c.fontStyle="italic"),c&&c.color&&(c.fill=c.color),x==="br"){j.class="highcharts-br",T.textContent="\u200B";let P=V[L+1];P&&P.textContent&&(P.textContent=P.textContent.replace(/^ +/gm,""))}else x==="a"&&s&&s.some(P=>P.tagName==="#text")&&(T.children=[{children:s,tagName:"tspan"}]);x!=="#text"&&x!=="a"&&(T.tagName="tspan"),G(T,{attributes:j,style:c}),s&&s.filter(P=>P.tagName!=="#text").forEach(H)};V.forEach(H),q(this.svgElement,"afterModifyTree",{nodes:V})}truncate(V,H,T,L,j,s){let c,x,N=this.svgElement,{rotation:P}=N,S=[],g=T?1:0,v=(H||T||"").length,p=v,a=function(o,u){let d=u||o,h=V.parentNode;if(h&&S[d]===void 0&&h.getSubStringLength)try{S[d]=L+h.getSubStringLength(0,T?d+1:d)}catch{}return S[d]};if(N.rotation=0,L+(x=a(V.textContent.length))>j){for(;g<=v;)p=Math.ceil((g+v)/2),T&&(c=s(T,p)),x=a(p,c&&c.length-1),g===v?g=v+1:x>j?v=p-1:g=p;v===0?V.textContent="":H&&v===H.length-1||(V.textContent=c||s(H||T,p))}T&&T.splice(0,p),N.actualWidth=x,N.rotation=P}unescapeEntities(V,H){return R(this.renderer.escapes,function(T,L){H&&H.indexOf(T)!==-1||(V=V.toString().replace(RegExp(T,"g"),L))}),V}}}),r(e,"Core/Renderer/SVG/SVGRenderer.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Defaults.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGLabel.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Renderer/SVG/TextBuilder.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let R,{defaultOptions:Y}=n,{charts:V,deg2rad:H,doc:T,isFirefox:L,isMS:j,isWebKit:s,noop:c,SVG_NS:x,symbolSizes:N,win:P}=C,{addEvent:S,attr:g,createElement:v,crisp:p,css:a,defined:o,destroyObjectProperties:u,extend:d,isArray:h,isNumber:m,isObject:f,isString:y,merge:I,pick:E,pInt:M,replaceNested:D,uniqueKey:F}=Z;class X{constructor(w,A,U,b,k,O,z){let W,Q,ee=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),se=ee.element;z||ee.css(this.getStyle(b||{})),w.appendChild(se),g(w,"dir","ltr"),w.innerHTML.indexOf("xmlns")===-1&&g(se,"xmlns",this.SVG_NS),this.box=se,this.boxWrapper=ee,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(T.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=O,this.forExport=k,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=ee.getStyle("font-size"),this.setSize(A,U,!1),L&&w.getBoundingClientRect&&((W=function(){a(w,{left:0,top:0}),Q=w.getBoundingClientRect(),a(w,{left:Math.ceil(Q.left)-Q.left+"px",top:Math.ceil(Q.top)-Q.top+"px"})})(),this.unSubPixelFix=S(P,"resize",W))}definition(w){return new t([w]).addToDOM(this.defs.element)}getReferenceURL(){if((L||s)&&T.getElementsByTagName("base").length){if(!o(R)){let w=F(),A=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:w},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${w})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(T.body);a(A,{position:"fixed",top:0,left:0,zIndex:9e5});let U=T.elementFromPoint(6,6);R=(U&&U.id)==="hitme",T.body.removeChild(A)}if(R)return D(P.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(w){return this.style=d({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},w),this.style}setStyle(w){this.boxWrapper.css(this.getStyle(w))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let w=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),u(this.gradients||{}),this.gradients=null,this.defs=w.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(w){return new this.Element(this,w)}getRadialAttr(w,A){return{cx:w[0]-w[2]/2+(A.cx||0)*w[2],cy:w[1]-w[2]/2+(A.cy||0)*w[2],r:(A.r||0)*w[2]}}shadowDefinition(w){let A=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(w).map(b=>`${b}-${w[b]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),U=I({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},w);return this.defs.element.querySelector(`#${A}`)||this.definition({tagName:"filter",attributes:{id:A,filterUnits:U.filterUnits},children:this.getShadowFilterContent(U)}),A}getShadowFilterContent(w){return[{tagName:"feDropShadow",attributes:{dx:w.offsetX,dy:w.offsetY,"flood-color":w.color,"flood-opacity":Math.min(5*w.opacity,1),stdDeviation:w.width/2}}]}buildText(w){new q(w).buildSVG()}getContrast(w){let A=l.parse(w).rgba.map(b=>{let k=b/255;return k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4)}),U=.2126*A[0]+.7152*A[1]+.0722*A[2];return 1.05/(U+.05)>(U+.05)/.05?"#FFFFFF":"#000000"}button(w,A,U,b,k={},O,z,W,Q,ee){let se=this.label(w,A,U,Q,void 0,void 0,ee,void 0,"button"),ae=this.styledMode,he=arguments,ce=0;k=I(Y.global.buttonTheme,k),ae&&(delete k.fill,delete k.stroke,delete k["stroke-width"]);let ie=k.states||{},te=k.style||{};delete k.states,delete k.style;let ne=[t.filterUserAttributes(k)],oe=[te];return ae||["hover","select","disabled"].forEach((le,ue)=>{ne.push(I(ne[0],t.filterUserAttributes(he[ue+5]||ie[le]||{}))),oe.push(ne[ue+1].style),delete ne[ue+1].style}),S(se.element,j?"mouseover":"mouseenter",function(){ce!==3&&se.setState(1)}),S(se.element,j?"mouseout":"mouseleave",function(){ce!==3&&se.setState(ce)}),se.setState=(le=0)=>{if(le!==1&&(se.state=ce=le),se.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][le]),!ae){se.attr(ne[le]);let ue=oe[le];f(ue)&&se.css(ue)}},se.attr(ne[0]),!ae&&(se.css(d({cursor:"default"},te)),ee&&se.text.css({pointerEvents:"none"})),se.on("touchstart",le=>le.stopPropagation()).on("click",function(le){ce!==3&&b.call(se,le)})}crispLine(w,A){let[U,b]=w;return o(U[1])&&U[1]===b[1]&&(U[1]=b[1]=p(U[1],A)),o(U[2])&&U[2]===b[2]&&(U[2]=b[2]=p(U[2],A)),w}path(w){let A=this.styledMode?{}:{fill:"none"};return h(w)?A.d=w:f(w)&&d(A,w),this.createElement("path").attr(A)}circle(w,A,U){let b=f(w)?w:w===void 0?{}:{x:w,y:A,r:U},k=this.createElement("circle");return k.xSetter=k.ySetter=function(O,z,W){W.setAttribute("c"+z,O)},k.attr(b)}arc(w,A,U,b,k,O){let z;f(w)?(A=(z=w).y,U=z.r,b=z.innerR,k=z.start,O=z.end,w=z.x):z={innerR:b,start:k,end:O};let W=this.symbol("arc",w,A,U,U,z);return W.r=U,W}rect(w,A,U,b,k,O){let z=f(w)?w:w===void 0?{}:{x:w,y:A,r:k,width:Math.max(U||0,0),height:Math.max(b||0,0)},W=this.createElement("rect");return this.styledMode||(O!==void 0&&(z["stroke-width"]=O,d(z,W.crisp(z))),z.fill="none"),W.rSetter=function(Q,ee,se){W.r=Q,g(se,{rx:Q,ry:Q})},W.rGetter=function(){return W.r||0},W.attr(z)}roundedRect(w){return this.symbol("roundedRect").attr(w)}setSize(w,A,U){this.width=w,this.height=A,this.boxWrapper.animate({width:w,height:A},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:E(U,!0)?void 0:0}),this.alignElements()}g(w){let A=this.createElement("g");return w?A.attr({class:"highcharts-"+w}):A}image(w,A,U,b,k,O){let z={preserveAspectRatio:"none"};m(A)&&(z.x=A),m(U)&&(z.y=U),m(b)&&(z.width=b),m(k)&&(z.height=k);let W=this.createElement("image").attr(z),Q=function(ee){W.attr({href:w}),O.call(W,ee)};if(O){W.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let ee=new P.Image;S(ee,"load",Q),ee.src=w,ee.complete&&Q({})}else W.attr({href:w});return W}symbol(w,A,U,b,k,O){let z,W,Q,ee,se=this,ae=/^url\((.*?)\)$/,he=ae.test(w),ce=!he&&(this.symbols[w]?w:"circle"),ie=ce&&this.symbols[ce];if(ie)typeof A=="number"&&(W=ie.call(this.symbols,A||0,U||0,b||0,k||0,O)),z=this.path(W),se.styledMode||z.attr("fill","none"),d(z,{symbolName:ce||void 0,x:A,y:U,width:b,height:k}),O&&d(z,O);else if(he){Q=w.match(ae)[1];let te=z=this.image(Q);te.imgwidth=E(O&&O.width,N[Q]&&N[Q].width),te.imgheight=E(O&&O.height,N[Q]&&N[Q].height),ee=ne=>ne.attr({width:ne.width,height:ne.height}),["width","height"].forEach(ne=>{te[`${ne}Setter`]=function(oe,le){this[le]=oe;let{alignByTranslate:ue,element:de,width:fe,height:me,imgwidth:ge,imgheight:Ee}=this,ve=le==="width"?ge:Ee,ye=1;O&&O.backgroundSize==="within"&&fe&&me&&ge&&Ee?(ye=Math.min(fe/ge,me/Ee),g(de,{width:Math.round(ge*ye),height:Math.round(Ee*ye)})):de&&ve&&de.setAttribute(le,ve),!ue&&ge&&Ee&&this.translate(((fe||0)-ge*ye)/2,((me||0)-Ee*ye)/2)}}),o(A)&&te.attr({x:A,y:U}),te.isImg=!0,te.symbolUrl=w,o(te.imgwidth)&&o(te.imgheight)?ee(te):(te.attr({width:0,height:0}),v("img",{onload:function(){let ne=V[se.chartIndex];this.width===0&&(a(this,{position:"absolute",top:"-999em"}),T.body.appendChild(this)),N[Q]={width:this.width,height:this.height},te.imgwidth=this.width,te.imgheight=this.height,te.element&&ee(te),this.parentNode&&this.parentNode.removeChild(this),se.imgCount--,se.imgCount||!ne||ne.hasLoaded||ne.onload()},src:Q}),this.imgCount++)}return z}clipRect(w,A,U,b){return this.rect(w,A,U,b,0)}text(w,A,U,b){let k={};if(b&&(this.allowHTML||!this.forExport))return this.html(w,A,U);k.x=Math.round(A||0),U&&(k.y=Math.round(U)),o(w)&&(k.text=w);let O=this.createElement("text").attr(k);return b&&(!this.forExport||this.allowHTML)||(O.xSetter=function(z,W,Q){let ee=Q.getElementsByTagName("tspan"),se=Q.getAttribute(W);for(let ae=0,he;ae<ee.length;ae++)(he=ee[ae]).getAttribute(W)===se&&he.setAttribute(W,z);Q.setAttribute(W,z)}),O}fontMetrics(w){let A=M($.prototype.getStyle.call(w,"font-size")||0),U=A<24?A+3:Math.round(1.2*A),b=Math.round(.8*U);return{h:U,b,f:A}}rotCorr(w,A,U){let b=w;return A&&U&&(b=Math.max(b*Math.cos(A*H),4)),{x:-w/3*Math.sin(A*H),y:b}}pathToSegments(w){let A=[],U=[],b={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let k=0;k<w.length;k++)y(U[0])&&m(w[k])&&U.length===b[U[0].toUpperCase()]&&w.splice(k,0,U[0].replace("M","L").replace("m","l")),typeof w[k]=="string"&&(U.length&&A.push(U.slice(0)),U.length=0),U.push(w[k]);return A.push(U.slice(0)),A}label(w,A,U,b,k,O,z,W,Q){return new K(this,w,A,U,b,k,O,z,W,Q)}
131alignElements(){this.alignedObjects.forEach(w=>w.align())}}return d(X.prototype,{Element:$,SVG_NS:x,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:G,draw:c}),B.registerRendererType("svg",X,!0),X}),r(e,"Core/Renderer/HTML/HTMLElement.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Globals.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{composed:B}=n,{attr:$,css:K,createElement:G,defined:q,extend:Z,pInt:R,pushUnique:Y}=C;function V(j,s,c){var N;let x=((N=this.div)==null?void 0:N.style)||c.style;l.prototype[`${s}Setter`].call(this,j,s,c),x&&(x[s]=j)}let H=(j,s)=>{var c;if(!j.div){let x=$(j.element,"class"),N=j.css,P=G("div",x?{className:x}:void 0,xt(ze({position:"absolute",left:`${j.translateX||0}px`,top:`${j.translateY||0}px`},j.styles),{display:j.display,opacity:j.opacity,visibility:j.visibility}),((c=j.parentGroup)==null?void 0:c.div)||s);j.classSetter=(S,g,v)=>{v.setAttribute("class",S),P.className=S},j.translateXSetter=j.translateYSetter=(S,g)=>{j[g]=S,P.style[g==="translateX"?"left":"top"]=`${S}px`,j.doTransform=!0},j.opacitySetter=j.visibilitySetter=V,j.css=S=>(N.call(j,S),S.cursor&&(P.style.cursor=S.cursor),S.pointerEvents&&(P.style.pointerEvents=S.pointerEvents),j),j.on=function(){return l.prototype.on.apply({element:P,onEvents:j.onEvents},arguments),j},j.div=P}return j.div};class T extends l{static compose(s){Y(B,this.compose)&&(s.prototype.html=function(c,x,N){return new T(this,"span").attr({text:c,x:Math.round(x),y:Math.round(N)})})}constructor(s,c){super(s,c),this.css(ze({position:"absolute"},s.styledMode?{}:{fontFamily:s.style.fontFamily,fontSize:s.style.fontSize})),this.element.style.whiteSpace="nowrap"}getSpanCorrection(s,c,x){this.xCorr=-s*x,this.yCorr=-c}css(s){let c,{element:x}=this,N=x.tagName==="SPAN"&&s&&"width"in s,P=N&&s.width;return N&&(delete s.width,this.textWidth=R(P)||void 0,c=!0),(s==null?void 0:s.textOverflow)==="ellipsis"&&(s.whiteSpace="nowrap",s.overflow="hidden"),Z(this.styles,s),K(x,s),c&&this.updateTransform(),this}htmlGetBBox(){let{element:s}=this;return{x:s.offsetLeft,y:s.offsetTop,width:s.offsetWidth,height:s.offsetHeight}}updateTransform(){var m;if(!this.added){this.alignOnAdd=!0;return}let{element:s,renderer:c,rotation:x,rotationOriginX:N,rotationOriginY:P,styles:S,textAlign:g="left",textWidth:v,translateX:p=0,translateY:a=0,x:o=0,y:u=0}=this,d={left:0,center:.5,right:1}[g],h=S.whiteSpace;if(K(s,{marginLeft:`${p}px`,marginTop:`${a}px`}),s.tagName==="SPAN"){let f=[x,g,s.innerHTML,v,this.textAlign].join(","),y=-(((m=this.parentGroup)==null?void 0:m.padding)*1)||0,I,E=!1;if(v!==this.oldTextWidth){let _=this.textPxLength?this.textPxLength:(K(s,{width:"",whiteSpace:h||"nowrap"}),s.offsetWidth),w=v||0;(w>this.oldTextWidth||_>w)&&(/[ \-]/.test(s.textContent||s.innerText)||s.style.textOverflow==="ellipsis")&&(K(s,{width:_>w||x?v+"px":"auto",display:"block",whiteSpace:h||"normal"}),this.oldTextWidth=v,E=!0)}this.hasBoxWidthChanged=E,f!==this.cTT&&(I=c.fontMetrics(s).b,q(x)&&(x!==(this.oldRotation||0)||g!==this.oldAlign)&&this.setSpanRotation(x,y,y),this.getSpanCorrection(!q(x)&&this.textPxLength||s.offsetWidth,I,d));let{xCorr:M=0,yCorr:D=0}=this,F=(N??o)-M-o-y,X=(P??u)-D-u-y;K(s,{left:`${o+M}px`,top:`${u+D}px`,transformOrigin:`${F}px ${X}px`}),this.cTT=f,this.oldRotation=x,this.oldAlign=g}}setSpanRotation(s,c,x){K(this.element,{transform:`rotate(${s}deg)`,transformOrigin:`${c}% ${x}px`})}add(s){let c,x=this.renderer.box.parentNode,N=[];if(this.parentGroup=s,s&&!(c=s.div)){let P=s;for(;P;)N.push(P),P=P.parentGroup;for(let S of N.reverse())c=H(S,x)}return(c||x).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(s){s!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,s??""),this.textStr=s,this.doTransform=!0)}alignSetter(s){this.alignValue=this.textAlign=s,this.doTransform=!0}xSetter(s,c){this[c]=s,this.doTransform=!0}}let L=T.prototype;return L.visibilitySetter=L.opacitySetter=V,L.ySetter=L.rotationSetter=L.rotationOriginXSetter=L.rotationOriginYSetter=L.xSetter,T}),r(e,"Core/Axis/AxisDefaults.js",[],function(){var t,n;return(n=t||(t={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"
131%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},n.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:l}=this.axis.chart;return l(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t}),r(e,"Core/Foundation.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,isFunction:C,objectEach:B,removeEvent:$}=t;return(n||(n={})).registerEventOptions=function(K,G){K.eventOptions=K.eventOptions||{},B(G.events,function(q,Z){K.eventOptions[Z]!==q&&(K.eventOptions[Z]&&($(K,Z,K.eventOptions[Z]),delete K.eventOptions[Z]),C(q)&&(K.eventOptions[Z]=q,l(K,Z,q,{order:0})))})},n}),r(e,"Core/Axis/Tick.js",[e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{deg2rad:C}=n,{clamp:B,correctFloat:$,defined:K,destroyObjectProperties:G,extend:q,fireEvent:Z,isNumber:R,merge:Y,objectEach:V,pick:H}=l;return class{constructor(T,L,j,s,c){this.isNew=!0,this.isNewLabel=!0,this.axis=T,this.pos=L,this.type=j||"",this.parameters=c||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,Z(this,"init"),j||s||this.addLabel()}addLabel(){let T=this,L=T.axis,j=L.options,s=L.chart,c=L.categories,x=L.logarithmic,N=L.names,P=T.pos,S=H(T.options&&T.options.labels,j.labels),g=L.tickPositions,v=P===g[0],p=P===g[g.length-1],a=(!S.step||S.step===1)&&L.tickInterval===1,o=g.info,u=T.label,d,h,m,f=this.parameters.category||(c?H(c[P],N[P],P):P);x&&R(f)&&(f=$(x.lin2log(f))),L.dateTime&&(o?d=(h=s.time.resolveDTLFormat(j.dateTimeLabelFormats[!j.grid&&o.higherRanks[P]||o.unitName])).main:R(f)&&(d=L.dateTime.getXDateFormat(f,j.dateTimeLabelFormats||{}))),T.isFirst=v,T.isLast=p;let y={axis:L,chart:s,dateTimeLabelFormat:d,isFirst:v,isLast:p,pos:P,tick:T,tickPositionInfo:o,value:f};Z(this,"labelFormat",y);let I=D=>S.formatter?S.formatter.call(D,D):S.format?(D.text=L.defaultLabelFormatter.call(D),t.format(S.format,D,s)):L.defaultLabelFormatter.call(D),E=I.call(y,y),M=h&&h.list;M?T.shortenLabel=function(){for(m=0;m<M.length;m++)if(q(y,{dateTimeLabelFormat:M[m]}),u.attr({text:I.call(y,y)}),u.getBBox().width<L.getSlotWidth(T)-2*(S.padding||0))return;u.attr({text:""})}:T.shortenLabel=void 0,a&&L._addedPlotLB&&T.moveLabel(E,S),K(u)||T.movedLabel?u&&u.textStr!==E&&!a&&(!u.textWidth||S.style.width||u.styles.width||u.css({width:null}),u.attr({text:E}),u.textPxLength=u.getBBox().width):(T.label=u=T.createLabel(E,S),T.rotation=0)}createLabel(T,L,j){let s=this.axis,c=s.chart,x=K(T)&&L.enabled?c.renderer.text(T,j==null?void 0:j.x,j==null?void 0:j.y,L.useHTML).add(s.labelGroup):void 0;return x&&(c.styledMode||x.css(Y(L.style)),x.textPxLength=x.getBBox().width),x}destroy(){G(this,this.axis)}getPosition(T,L,j,s){let c=this.axis,x=c.chart,N=s&&x.oldChartHeight||x.chartHeight,P={x:T?$(c.translate(L+j,void 0,void 0,s)+c.transB):c.left+c.offset+(c.opposite?(s&&x.oldChartWidth||x.chartWidth)-c.right-c.left:0),y:T?N-c.bottom+c.offset-(c.opposite?c.height:0):$(N-c.translate(L+j,void 0,void 0,s)-c.transB)};return P.y=B(P.y,-1e9,1e9),Z(this,"afterGetPosition",{pos:P}),P}getLabelPosition(T,L,j,s,c,x,N,P){let S,g,v=this.axis,p=v.transA,a=v.isLinked&&v.linkedParent?v.linkedParent.reversed:v.reversed,o=v.staggerLines,u=v.tickRotCorr||{x:0,y:0},d=s||v.reserveSpaceDefault?0:-v.labelOffset*(v.labelAlign==="center"?.5:1),h=c.distance,m={};return S=v.side===0?j.rotation?-h:-j.getBBox().height:v.side===2?u.y+h:Math.cos(j.rotation*C)*(u.y-j.getBBox(!1,0).height/2),K(c.y)&&(S=v.side===0&&v.horiz?c.y+S:c.y),T=T+H(c.x,[0,1,0,-1][v.side]*h)+d+u.x-(x&&s?x*p*(a?-1:1):0),L=L+S-(x&&!s?x*p*(a?1:-1):0),o&&(g=N/(P||1)%o,v.o
131pposite&&(g=o-g-1),L+=g*(v.labelOffset/o)),m.x=T,m.y=Math.round(L),Z(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:x,index:N}),m}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(T,L,j,s,c=!1,x){return x.crispLine([["M",T,L],["L",T+(c?0:-j),L+(c?j:0)]],s)}handleOverflow(T){let L=this.axis,j=L.options.labels,s=T.x,c=L.chart.chartWidth,x=L.chart.spacing,N=H(L.labelLeft,Math.min(L.pos,x[3])),P=H(L.labelRight,Math.max(L.isRadial?0:L.pos+L.len,c-x[1])),S=this.label,g=this.rotation,v={left:0,center:.5,right:1}[L.labelAlign||S.attr("align")],p=S.getBBox().width,a=L.getSlotWidth(this),o={},u=a,d=1,h,m,f;g||j.overflow!=="justify"?g<0&&s-v*p<N?f=Math.round(s/Math.cos(g*C)-N):g>0&&s+v*p>P&&(f=Math.round((c-s)/Math.cos(g*C))):(h=s-v*p,m=s+(1-v)*p,h<N?u=T.x+u*(1-v)-N:m>P&&(u=P-T.x+u*v,d=-1),(u=Math.min(a,u))<a&&L.labelAlign==="center"&&(T.x+=d*(a-u-v*(a-Math.min(p,u)))),(p>u||L.autoRotation&&(S.styles||{}).width)&&(f=u)),f&&(this.shortenLabel?this.shortenLabel():(o.width=Math.floor(f)+"px",(j.style||{}).textOverflow||(o.textOverflow="ellipsis"),S.css(o)))}moveLabel(T,L){let j=this,s=j.label,c=j.axis,x=!1,N;s&&s.textStr===T?(j.movedLabel=s,x=!0,delete j.label):V(c.ticks,function(P){x||P.isNew||P===j||!P.label||P.label.textStr!==T||(j.movedLabel=P.label,x=!0,P.labelPos=j.movedLabel.xy,delete P.label)}),!x&&(j.labelPos||s)&&(N=j.labelPos||s.xy,j.movedLabel=j.createLabel(T,L,N),j.movedLabel&&j.movedLabel.attr({opacity:0}))}render(T,L,j){let s=this.axis,c=s.horiz,x=this.pos,N=H(this.tickmarkOffset,s.tickmarkOffset),P=this.getPosition(c,x,N,L),S=P.x,g=P.y,v=s.pos,p=v+s.len,a=c?S:g;!s.chart.polar&&this.isNew&&($(a)<v||a>p)&&(j=0);let o=H(j,this.label&&this.label.newOpacity,1);j=H(j,1),this.isActive=!0,this.renderGridLine(L,j),this.renderMark(P,j),this.renderLabel(P,L,o,T),this.isNew=!1,Z(this,"afterRender")}renderGridLine(T,L){let j=this.axis,s=j.options,c={},x=this.pos,N=this.type,P=H(this.tickmarkOffset,j.tickmarkOffset),S=j.chart.renderer,g=this.gridLine,v,p=s.gridLineWidth,a=s.gridLineColor,o=s.gridLineDashStyle;this.type==="minor"&&(p=s.minorGridLineWidth,a=s.minorGridLineColor,o=s.minorGridLineDashStyle),g||(j.chart.styledMode||(c.stroke=a,c["stroke-width"]=p||0,c.dashstyle=o),N||(c.zIndex=1),T&&(L=0),this.gridLine=g=S.path().attr(c).addClass("highcharts-"+(N?N+"-":"")+"grid-line").add(j.gridGroup)),g&&(v=j.getPlotLinePath({value:x+P,lineWidth:g.strokeWidth(),force:"pass",old:T,acrossPanes:!1}))&&g[T||this.isNew?"attr":"animate"]({d:v,opacity:L})}renderMark(T,L){let j=this.axis,s=j.options,c=j.chart.renderer,x=this.type,N=j.tickSize(x?x+"Tick":"tick"),P=T.x,S=T.y,g=H(s[x!=="minor"?"tickWidth":"minorTickWidth"],!x&&j.isXAxis?1:0),v=s[x!=="minor"?"tickColor":"minorTickColor"],p=this.mark,a=!p;N&&(j.opposite&&(N[0]=-N[0]),p||(this.mark=p=c.path().addClass("highcharts-"+(x?x+"-":"")+"tick").add(j.axisGroup),j.chart.styledMode||p.attr({stroke:v,"stroke-width":g})),p[a?"attr":"animate"]({d:this.getMarkPath(P,S,N[0],p.strokeWidth(),j.horiz,c),opacity:L}))}renderLabel(T,L,j,s){let c=this.axis,x=c.horiz,N=c.options,P=this.label,S=N.labels,g=S.step,v=H(this.tickmarkOffset,c.tickmarkOffset),p=T.x,a=T.y,o=!0;P&&R(p)&&(P.xy=T=this.getLabelPosition(p,a,P,x,S,v,s,g),(!this.isFirst||this.isLast||N.showFirstLabel)&&(!this.isLast||this.isFirst||N.showLastLabel)?!x||S.step||S.rotation||L||j===0||this.handleOverflow(T):o=!1,g&&s%g&&(o=!1),o&&R(T.y)?(T.opacity=j,P[this.isNewLabel?"attr":"animate"](T).show(!0),this.isNewLabel=!1):(P.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let T=this.label,L=this.axis;T&&!this.isNew&&(T.animate({opacity:0}
vendor: 18,127 bytes, line 131
131,void 0,T.destroy),delete this.label),L.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),r(e,"Core/Axis/Axis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/AxisDefaults.js"],e["Core/Color/Color.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Axis/Tick.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{animObject:q}=t,{xAxis:Z,yAxis:R}=n,{defaultOptions:Y}=C,{registerEventOptions:V}=B,{deg2rad:H}=$,{arrayMax:T,arrayMin:L,clamp:j,correctFloat:s,defined:c,destroyObjectProperties:x,erase:N,error:P,extend:S,fireEvent:g,getClosestDistance:v,insertItem:p,isArray:a,isNumber:o,isString:u,merge:d,normalizeTickInterval:h,objectEach:m,pick:f,relativeLength:y,removeEvent:I,splat:E,syncTimeout:M}=G,D=(X,_)=>h(_,void 0,void 0,f(X.options.allowDecimals,_<.5||X.tickAmount!==void 0),!!X.tickAmount);S(Y,{xAxis:Z,yAxis:d(Z,R)});class F{constructor(_,w,A){this.init(_,w,A)}init(_,w,A=this.coll){let U=A==="xAxis",b=this.isZAxis||(_.inverted?!U:U);this.chart=_,this.horiz=b,this.isXAxis=U,this.coll=A,g(this,"init",{userOptions:w}),this.opposite=f(w.opposite,this.opposite),this.side=f(w.side,this.side,b?this.opposite?0:2:this.opposite?1:3),this.setOptions(w);let k=this.options,O=k.labels;this.type??(this.type=k.type||"linear"),this.uniqueNames??(this.uniqueNames=k.uniqueNames??!0),g(this,"afterSetType"),this.userOptions=w,this.minPixelPadding=0,this.reversed=f(k.reversed,this.reversed),this.visible=k.visible,this.zoomEnabled=k.zoomEnabled,this.hasNames=this.type==="category"||k.categories===!0,this.categories=a(k.categories)&&k.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=c(k.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=k.minRange||k.maxZoom,this.range=k.range,this.offset=k.offset||0,this.max=void 0,this.min=void 0;let z=f(k.crosshair,E(_.options.tooltip.crosshairs)[U?0:1]);this.crosshair=z===!0?{}:z,_.axes.indexOf(this)===-1&&(U?_.axes.splice(_.xAxis.length,0,this):_.axes.push(this),p(this,_[this.coll])),_.orderItems(this.coll),this.series=this.series||[],_.inverted&&!this.isZAxis&&U&&!c(this.reversed)&&(this.reversed=!0),this.labelRotation=o(O.rotation)?O.rotation:void 0,V(this,k),g(this,"afterInit")}setOptions(_){let w=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=d(w,Y[this.coll],_),g(this,"afterSetOptions",{userOptions:_})}defaultLabelFormatter(){let _=this.axis,{numberFormatter:w}=this.chart,A=o(this.value)?this.value:NaN,U=_.chart.time,b=_.categories,k=this.dateTimeLabelFormat,O=Y.lang,z=O.numericSymbols,W=O.numericSymbolMagnitude||1e3,Q=_.logarithmic?Math.abs(A):_.tickInterval,ee=z&&z.length,se,ae;if(b)ae=`${this.value}`;else if(k)ae=U.dateFormat(k,A);else if(ee&&z&&Q>=1e3)for(;ee--&&ae===void 0;)Q>=(se=Math.pow(W,ee+1))&&10*A%se==0&&z[ee]!==null&&A!==0&&(ae=w(A/se,-1)+z[ee]);return ae===void 0&&(ae=Math.abs(A)>=1e4?w(A,-1):w(A,-1,void 0,"")),ae}getSeriesExtremes(){let _,w=this;g(this,"getSeriesExtremes",null,function(){w.hasVisibleSeries=!1,w.dataMin=w.dataMax=w.threshold=void 0,w.softThreshold=!w.isXAxis,w.series.forEach(A=>{if(A.reserveSpace()){let U=A.options,b,k=U.threshold,O,z;if(w.hasVisibleSeries=!0,w.positiveValuesOnly&&0>=(k||0)&&(k=void 0),w.isXAxis)(b=A.xData)&&b.length&&(b=w.logarithmic?b.filter(W=>W>0):b,O=(_=A.getXExtremes(b)).min,z=_.max,o(O)||O instanceof Date||(b=b.filter(o),O=(_=A.getXExtremes(b)).min,z=_.max),b.length&&(w.dataMin=Math.min(f(w.dataMin,O),O),w.dataMax=Math.max(f(w.dataMax,z),z)));else{let W=A.applyExtremes();o(W.dataMin)&&(O=W.dataMin,w.dataMin=Math.min(f(w.dataMin,O),O)),o(W.dataMax)&&(z=W.dataMax,w.dataMax=Math.max(f(w.dataMax,z),z)),c(k)&&(w.threshold=k),(!U.softThreshold||w.positiveValuesOnly)&&(w.softThreshold=!1)}}})}),g(this,"afterGetSeriesExtremes")}translate(_,w,A,U,b,k){var ce;let O=this.linkedParent||this,z=U&&O.old?O.old.min:O.min;if(!o(z))return NaN;let W=O.minPixelPadding,Q=(O.isOrdinal||((ce=O.brokenAxis)==null?void 0:ce.hasBreaks)||O.logarithmic&&b)&&O.lin2val,ee=1,se=0,ae=U&&O.old?O.old.transA:O.transA,he=0;return ae||(ae=O.transA),A&&(ee*=-1,se=O.len),O.reversed&&(ee*=-1,se-=ee*(O.sector||O.len)),w?(he=(_=_*ee+se-W)/ae+z,Q&&(he=O.lin2val(he))):(Q&&(_=O.val2lin(_)),he=ee*(_-z)*ae+se+ee*W+(o(k)?ae*k:0),O.isRadial||(he=s(he))),he}toPixels(_,w){return this.translate(_,!1,!this.horiz,void 0,!0)+(w?0:this.pos)}toValue(_,w){return this.translate(_-(w?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(_){let w=this,A=w.chart,U=w.left,b=w.top,k=_.old,O=_.value,z=_.lineWidth,W=k&&A.oldChartHeight||A.chartHeight,Q=k&&A.oldChartWidth||A.chartWidth,ee=w.transB,se=_.translatedValue,ae=_.force,he,ce,ie,te,ne;function oe(ue,de,fe){return ae!=="pass"&&(ue<de||ue>fe)&&(ae?ue=j(ue,de,fe):ne=!0),ue}let le={value:O,lineWidth:z,old:k,force:ae,acrossPanes:_.acrossPanes,translatedValue:se};return g(this,"getPlotLinePath",le,function(ue){he=ie=(se=j(se=f(se,w.translate(O,void 0,void 0,k)),-1e9,1e9))+ee,ce=te=W-se-ee,o(se)?w.horiz?(ce=b,te=W-w.bottom+(w.options.isInternal?0:A.scrollablePixelsY||0),he=ie=oe(he,U,U+w.width)):(he=U,ie=Q-w.right+(A.scrollablePixelsX||0),ce=te=oe(ce,b,b+w.height)):(ne=!0,ae=!1),ue.path=ne&&!ae?void 0:A.renderer.crispLine([["M",he,ce],["L",ie,te]],z||1)}),le.path}getLinearTickPositions(_,w,A){let U,b,k,O=s(Math.floor(w/_)*_),z=s(Math.ceil(A/_)*_),W=[];if(s(O+_)===O&&(k=20),this.single)return[w];for(U=O;U<=z&&(W.push(U),(U=s(U+_,k))!==b);)b=U;return W}getMinorTickInterval(){let{minorTicks:_,minorTickInterval:w}=this.options;return _===!0?f(w,"auto"):_!==!1?w:void 0}getMinorTickPositions(){let _=this.options,w=this.tickPositions,A=this.minorTickInterval,U=this.pointRangePadding||0,b=(this.min||0)-U,k=(this.max||0)+U,O=k-b,z=[],W;if(O&&O/A<this.len/3){let Q=this.logarithmic;if(Q)this.paddedTicks.forEach(function(ee,se,ae){se&&z.push.apply(z,Q.getLogTickPositions(A,ae[se-1],ae[se],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")z=z.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(A),b,k,_.startOfWeek));else for(W=b+(w[0]-b)%A;W<=k&&W!==z[0];W+=A)z.push(W)}return z.length!==0&&this.trimTicks(z),z}adjustForMinRange(){let _=this.options,w=this.logarithmic,{max:A,min:U,minRange:b}=this,k,O,z,W;this.isXAxis&&b===void 0&&!w&&(b=c(_.min)||c(_.max)||c(_.floor)||c(_.ceiling)?null:Math.min(5*(v(this.series.map(Q=>{var ee;return(Q.xIncrement?(ee=Q.xData)==null?void 0:ee.slice(0,2):Q.xData)||[]}))||0),this.dataMax-this.dataMin)),o(A)&&o(U)&&o(b)&&A-U<b&&(O=this.dataMax-this.dataMin>=b,k=(b-A+U)/2,z=[U-k,f(_.min,U-k)],O&&(z[2]=w?w.log2lin(this.dataMin):this.dataMin),W=[(U=T(z))+b,f(_.max,U+b)],O&&(W[2]=w?w.log2lin(this.dataMax):this.dataMax),(A=L(W))-U<b&&(z[0]=A-b,z[1]=f(_.min,A-b),U=T(z))),this.minRange=b,this.min=U,this.max=A}getClosest(){let _,w;if(this.categories)w=1;else{let A=[];this.series.forEach(function(U){var k;let b=U.closestPointRange;((k=U.xData)==null?void 0:k.length)===1?A.push(U.xData[0]):!U.noSharedTooltip&&c(b)&&U.reserveSpace()&&(w=c(w)?Math.min(w,b):b)}),A.length&&(A.sort((U,b)=>U-b),_=v([A]))}return _&&w?Math.min(_,w):_||w}nameToX(_){let w=a(this.options.categories),A=w?this.categories:this.names,U=_.options.x,b;return _.series.requireSorting=!1,c(U)||(U=this.uniqueNames&&A?w?A.indexOf(_.name):f(A.keys[_.name],-1):_.series.autoIncrement()),U===-1?!w&&A&&(b=A.length):b=U,b!==void 0?(this.names[b]=_.name,this.names.keys[_.name]=b):_.x&&(b=_.x),b}updateNames(){let _=this,w=this.names;w.length>0&&(Object.keys(w.keys).forEach(function(A){delete w.keys[A]}),w.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(A=>{A.xIncrement=null,(!A.points||A.isDirtyData)&&(_.max=Math.max(_.max,A.xData.length-1),A.processData(),A.generatePoints()),A.data.forEach(function(U,b){let k;U!=null&&U.options&&U.name!==void 0&&(k=_.nameToX(U))!==void 0&&k!==U.x&&(U.x=k,A.xData[b]=k)})}))}setAxisTranslation(){let _=this,w=_.max-_.min,A=_.linkedParent,U=!!_.categories,b=_.isXAxis,k=_.axisPointRange||0,O,z=0,W=0,Q,ee=_.transA;(b||U||k)&&(O=_.getClosest(),A?(z=A.minPointOffset,W=A.pointRangePadding):_.series.forEach(function(se){let ae=U?1:b?f(se.options.pointRange,O,0):_.axisPointRange||0,he=se.options.pointPlacement;if(k=Math.max(k,ae),!_.single||U){let ce=se.is("xrange")?!b:b;z=Math.max(z,ce&&u(he)?0:ae/2),W=Math.max(W,ce&&he==="on"?0:ae)}}),Q=_.ordinal&&_.ordinal.slope&&O?_.ordinal.slope/O:1,_.minPointOffset=z*=Q,_.pointRangePadding=W*=Q,_.pointRange=Math.min(k,_.single&&U?1:w),b&&O&&(_.closestPointRange=O)),_.translationSlope=_.transA=ee=_.staticScale||_.len/(w+W||1),_.transB=_.horiz?_.left:_.bottom,_.minPixelPadding=ee*z,g(this,"afterSetAxisTranslation")}minFromRange(){let{max:_,min:w}=this;return o(_)&&o(w)&&_-w||void 0}setTickInterval(_){var xe,Ce,Oe,Pe;let{categories:w,chart:A,dataMax:U,dataMin:b,dateTime:k,isXAxis:O,logarithmic:z,options:W,softThreshold:Q}=this,ee=o(this.threshold)?this.threshold:void 0,se=this.minRange||0,{ceiling:ae,floor:he,linkedTo:ce,softMax:ie,softMin:te}=W,ne=o(ce)&&((xe=A[this.coll])==null?void 0:xe[ce]),oe=W.tickPixelInterval,le=W.maxPadding,ue=W.minPadding,de=0,fe,me=o(W.tickInterval)&&W.tickInterval>=0?W.tickInterval:void 0,ge,Ee,ve,ye;if(k||w||ne||this.getTickAmount(),ve=f(this.userMin,W.min),ye=f(this.userMax,W.max),ne?(this.linkedParent=ne,fe=ne.getExtremes(),this.min=f(fe.min,fe.dataMin),this.max=f(fe.max,fe.dataMax),this.type!==ne.type&&P(11,!0,A)):(Q&&c(ee)&&o(U)&&o(b)&&(b>=ee?(ge=ee,ue=0):U<=ee&&(Ee=ee,le=0)),this.min=f(ve,ge,b),this.max=f(ye,Ee,U)),o(this.max)&&o(this.min)&&(z&&(this.positiveValuesOnly&&!_&&0>=Math.min(this.min,f(b,this.min))&&P(10,!0,A),this.min=s(z.log2lin(this.min),16),this.max=s(z.log2lin(this.max),16)),this.range&&o(b)&&(this.userMin=this.min=ve=Math.max(b,this.minFromRange()||0),this.userMax=ye=this.max,this.range=void 0)),g(this,"foundExtremes"),this.adjustForMinRange(),o(this.min)&&o(this.max)){if(!o(this.userMin)&&o(te)&&te<this.min&&(this.min=ve=te),!o(this.userMax)&&o(ie)&&ie>this.max&&(this.max=ye=ie),w||this.axisPointRange||(Ce=this.stacking)!=null&&Ce.usePercentage||ne||!(de=this.max-this.min)||(!c(ve)&&ue&&(this.min-=de*ue),c(ye)||!le||(this.max+=de*le)),!o(this.userMin)&&o(he)&&(this.min=Math.max(this.min,he)),!o(this.userMax)&&o(ae)&&(this.max=Math.min(this.max,ae)),Q&&o(b)&&o(U)){let He=ee||0;!c(ve)&&this.min<He&&b>=He?this.min=W.minRange?Math.min(He,this.max-se):He:!c(ye)&&this.max>He&&U<=He&&(this.max=W.minRange?Math.max(He,this.min+se):He)}!A.polar&&this.min>this.max&&(c(W.min)?this.max=this.min:c(W.max)&&(this.min=this.max)),de=this.max-this.min}if(this.min!==this.max&&o(this.min)&&o(this.max)?ne&&!me&&oe===ne.options.tickPixelInterval?this.tickInterval=me=ne.tickInterval:this.tickInterval=f(me,this.tickAmount?de/Math.max(this.tickAmount-1,1):void 0,w?1:de*oe/Math.max(this.len,oe)):this.tickInterval=1,O&&!_){let He=this.min!==((Oe=this.old)==null?void 0:Oe.min)||this.max!==((Pe=this.old)==null?void 0:Pe.max);this.series.forEach(function(Je){var Xe;Je.forceCrop=(Xe=Je.forceCropping)==null?void 0:Xe.call(Je),Je.processData(He)}),g(this,"postProcessData",{hasExtremesChanged:He})}this.setAxisTranslation(),g(this,"initialAxisTranslation"),this.pointRange&&!me&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Se=f(W.minTickInterval,k&&!this.series.some(He=>He.noSharedTooltip)?this.closestPointRange:0);!me&&this.tickInterval<Se&&(this.tickInterval=Se),k||z||me||(this.tickInterval=D(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var Q,ee;let _=this.options,w=_.tickPositions,A=_.tickPositioner,U=this.getMinorTickInterval(),b=!this.isPanning,k=b&&_.startOnTick,O=b&&_.endOnTick,z=[],W;if(this.tickmarkOffset=this.categories&&_.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&c(this.min)&&!this.tickAmount&&(this.min%1==0||_.allowDecimals!==!1),w)z=w.slice();else if(o(this.min)&&o(this.max)){if(!((Q=this.ordinal)!=null&&Q.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))z=[this.min,this.max],P(19,!1,this.chart);else if(this.dateTime)z=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,_.units),this.min,this.max,_.startOfWeek,(ee=this.ordinal)==null?void 0:ee.positions,this.closestPointRange,!0);else if(this.logarithmic)z=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let se=this.tickInterval,ae=se;for(;ae<=2*se&&(z=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&z.length>this.tickAmount);)this.tickInterval=D(this,ae*=1.1)}z.length>this.len&&(z=[z[0],z[z.length-1]])[0]===z[1]&&(z.length=1),A&&(this.tickPositions=z,(W=A.apply(this,[this.min,this.max]))&&(z=W))}this.tickPositions=z,this.minorTickInterval=U==="auto"&&this.tickInterval?this.tickInterval/_.minorTicksPerMajor:U,this.paddedTicks=z.slice(0),this.trimTicks(z,k,O),!this.isLinked&&o(this.min)&&o(this.max)&&(this.single&&z.length<2&&!this.categories&&!this.series.some(se=>se.is("heatmap")&&se.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),w||W||this.adjustTickAmount()),g(this,"afterSetTickPositions")}trimTicks(_,w,A){let U=_[0],b=_[_.length-1],k=!this.isOrdinal&&this.minPointOffset||0;if(g(this,"trimTicks"),!this.isLinked){if(w&&U!==-1/0)this.min=U;else for(;this.min-k>_[0];)_.shift();if(A)this.max=b;else for(;this.max+k<_[_.length-1];)_.pop();_.length===0&&c(U)&&!this.options.tickPositions&&_.push((b+U)/2)}}alignToOthers(){let _,w=this,A=w.chart,U=[this],b=w.options,k=A.options.chart,O=this.coll==="yAxis"&&k.alignThresholds,z=[];if(w.thresholdAlignment=void 0,(k.alignTicks!==!1&&b.alignTicks||O)&&b.startOnTick!==!1&&b.endOnTick!==!1&&!w.logarithmic){let W=ee=>{let{horiz:se,options:ae}=ee;return[se?ae.left:ae.top,ae.width,ae.height,ae.pane].join(",")},Q=W(this);A[this.coll].forEach(function(ee){let{series:se}=ee;se.length&&se.some(ae=>ae.visible)&&ee!==w&&W(ee)===Q&&(_=!0,U.push(ee))})}if(_&&O){U.forEach(Q=>{let ee=Q.getThresholdAlignment(w);o(ee)&&z.push(ee)});let W=z.length>1?z.reduce((Q,ee)=>Q+=ee,0)/z.length:void 0;U.forEach(Q=>{Q.thresholdAlignment=W})}return _}getThresholdAlignment(_){if((!o(this.dataMin)||this!==_&&this.series.some(w=>w.isDirty||w.isDirtyData))&&this.getSeriesExtremes(),o(this.threshold)){let w=j((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(w=1-w),w}}getTickAmount(){let _=this.options,w=_.tickPixelInterval,A=_.tickAmount;c(_.tickInterval)||A||!(this.len<w)||this.isRadial||this.logarithmic||!_.startOnTick||!_.endOnTick||(A=2),!A&&this.alignToOthers()&&(A=Math.ceil(this.len/w)+1),A<4&&(this.finalTickAmt=A,A=5),this.tickAmount=A}adjustTickAmount(){let _=this,{finalTickAmt:w,max:A,min:U,options:b,tickPositions:k,tickAmount:O,thresholdAlignment:z}=_,W=k==null?void 0:k.length,Q=f(_.threshold,_.softThreshold?0:null),ee,se,ae=_.tickInterval,he,ce=()=>k.push(s(k[k.length-1]+ae)),ie=()=>k.unshift(s(k[0]-ae));if(o(z)&&(he=z<.5?Math.ceil(z*(O-1)):Math.floor(z*(O-1)),b.reversed&&(he=O-1-he)),_.hasData()&&o(U)&&o(A)){let te=()=>{_.transA*=(W-1)/(O-1),_.min=b.startOnTick?k[0]:Math.min(U,k[0]),_.max=b.endOnTick?k[k.length-1]:Math.max(A,k[k.length-1])};if(o(he)&&o(_.threshold)){for(;k[he]!==Q||k.length!==O||k[0]>U||k[k.length-1]<A;){for(k.length=0,k.push(_.threshold);k.length<O;)k[he]===void 0||k[he]>_.threshold?ie():ce();if(ae>8*_.tickInterval)break;ae*=2}te()}else if(W<O){for(;k.length<O;)k.length%2||U===Q?ce():ie();te()}if(c(w)){for(se=ee=k.length;se--;)(w===3&&se%2==1||w<=2&&se>0&&se<ee-1)&&k.splice(se,1);_.finalTickAmt=void 0}}}setScale(){var k,O;let{coll:_,stacking:w}=this,A=!1,U=!1;this.series.forEach(z=>{A=A||z.isDirtyData||z.isDirty,U=U||z.xAxis&&z.xAxis.isDirty||!1}),this.setAxisSize();let b=this.len!==(this.old&&this.old.len);b||A||U||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(w&&_==="yAxis"&&w.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),w&&_==="xAxis"&&w.buildStacks(),this.isDirty||(this.isDirty=b||this.min!==((k=this.old)==null?void 0:k.min)||this.max!==((O=this.old)==null?void 0:O.max))):w&&w.cleanStacks(),A&&delete this.allExtremes,g(this,"afterSetScale")}setExtremes(_,w,A=!0,U,b){this.series.forEach(k=>{delete k.kdTree}),g(this,"setExtremes",b=S(b,{min:_,max:w}),k=>{this.userMin=k.min,this.userMax=k.max,this.eventArgs=k,A&&this.chart.redraw(U)})}setAxisSize(){let _=this.chart,w=this.options,A=w.offsets||[0,0,0,0],U=this.horiz,b=this.width=Math.round(y(f(w.width,_.plotWidth-A[3]+A[1]),_.plotWidth)),k=this.height=Math.round(y(f(w.height,_.plotHeight-A[0]+A[2]),_.plotHeight)),O=this.top=Math.round(y(f(w.top,_.plotTop+A[0]),_.plotHeight,_.plotTop)),z=this.left=Math.round(y(f(w.left,_.plotLeft+A[3]),_.plotWidth,_.plotLeft));this.bottom=_.chartHeight-k-O,this.right=_.chartWidth-b-z,this.len=Math.max(U?b:k,0),this.pos=U?z:O}getExtremes(){let _=this.logarithmic;return{min:_?s(_.lin2log(this.min)):this.min,max:_?s(_.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(_){let w=this.logarithmic,A=w?w.lin2log(this.min):this.min,U=w?w.lin2log(this.max):this.max;return _===null||_===-1/0?_=A:_===1/0?_=U:A>_?_=A:U<_&&(_=U),this.translate(_,0,1,0,1)}autoLabelAlign(_){let w=(f(_,0)-90*this.side+720)%360,A={align:"center"};return g(this,"autoLabelAlign",A,function(U){w>15&&w<165?U.align="right":w>195&&w<345&&(U.align="left")}),A.align}tickSize(_){let w=this.options,A=f(w[_==="tick"?"tickWidth":"minorTickWidth"],_==="tick"&&this.isXAxis&&!this.categories?1:0),U=w[_==="tick"?"tickLength":"minorTickLength"],b;A&&U&&(w[_+"Position"]==="inside"&&(U=-U),b=[U,A]);let k={tickSize:b};return g(this,"afterTickSize",k),k.tickSize}
131labelMetrics(){let _=this.chart.renderer,w=this.ticks,A=w[Object.keys(w)[0]]||{};return this.chart.renderer.fontMetrics(A.label||A.movedLabel||_.box)}unsquish(){let _=this.options.labels,w=_.padding||0,A=this.horiz,U=this.tickInterval,b=this.len/(((this.categories?1:0)+this.max-this.min)/U),k=_.rotation,O=s(.8*this.labelMetrics().h),z=Math.max(this.max-this.min,0),W=function(he){let ce=(he+2*w)/(b||1);return(ce=ce>1?Math.ceil(ce):1)*U>z&&he!==1/0&&b!==1/0&&z&&(ce=Math.ceil(z/U)),s(ce*U)},Q=U,ee,se=Number.MAX_VALUE,ae;if(A){if(!_.staggerLines&&(o(k)?ae=[k]:b<_.autoRotationLimit&&(ae=_.autoRotation)),ae){let he,ce;for(let ie of ae)(ie===k||ie&&ie>=-90&&ie<=90)&&(ce=(he=W(Math.abs(O/Math.sin(H*ie))))+Math.abs(ie/360))<se&&(se=ce,ee=ie,Q=he)}}else Q=W(.75*O);return this.autoRotation=ae,this.labelRotation=f(ee,o(k)?k:0),_.step?U:Q}getSlotWidth(_){let w=this.chart,A=this.horiz,U=this.options.labels,b=Math.max(this.tickPositions.length-(this.categories?0:1),1),k=w.margin[3];if(_&&o(_.slotWidth))return _.slotWidth;if(A&&U.step<2)return U.rotation?0:(this.staggerLines||1)*this.len/b;if(!A){let O=U.style.width;if(O!==void 0)return parseInt(String(O),10);if(k)return k-w.spacing[3]}return .33*w.chartWidth}renderUnsquish(){let _=this.chart,w=_.renderer,A=this.tickPositions,U=this.ticks,b=this.options.labels,k=b.style,O=this.horiz,z=this.getSlotWidth(),W=Math.max(1,Math.round(z-(O?2*(b.padding||0):b.distance||0))),Q={},ee=this.labelMetrics(),se=k.textOverflow,ae,he,ce=0,ie,te;if(u(b.rotation)||(Q.rotation=b.rotation||0),A.forEach(function(ne){let oe=U[ne];oe.movedLabel&&oe.replaceMovedLabel(),oe&&oe.label&&oe.label.textPxLength>ce&&(ce=oe.label.textPxLength)}),this.maxLabelLength=ce,this.autoRotation)ce>W&&ce>ee.h?Q.rotation=this.labelRotation:this.labelRotation=0;else if(z&&(ae=W,!se))for(he="clip",te=A.length;!O&&te--;)(ie=U[A[te]].label)&&(ie.styles.textOverflow==="ellipsis"?ie.css({textOverflow:"clip"}):ie.textPxLength>z&&ie.css({width:z+"px"}),ie.getBBox().height>this.len/A.length-(ee.h-ee.f)&&(ie.specificTextOverflow="ellipsis"));Q.rotation&&(ae=ce>.5*_.chartHeight?.33*_.chartHeight:ce,se||(he="ellipsis")),this.labelAlign=b.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(Q.align=this.labelAlign),A.forEach(function(ne){let oe=U[ne],le=oe&&oe.label,ue=k.width,de={};le&&(le.attr(Q),oe.shortenLabel?oe.shortenLabel():ae&&!ue&&k.whiteSpace!=="nowrap"&&(ae<le.textPxLength||le.element.tagName==="SPAN")?(de.width=ae+"px",se||(de.textOverflow=le.specificTextOverflow||he),le.css(de)):!le.styles.width||de.width||ue||le.css({width:null}),delete le.specificTextOverflow,oe.rotation=Q.rotation)},this),this.tickRotCorr=w.rotCorr(ee.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(_){return _.hasData()})||this.options.showEmpty&&c(this.min)&&c(this.max)}addTitle(_){let w,A=this.chart.renderer,U=this.horiz,b=this.opposite,k=this.options.title,O=this.chart.styledMode;this.axisTitle||((w=k.textAlign)||(w=(U?{low:"left",middle:"center",high:"right"}:{low:b?"right":"left",middle:"center",high:b?"left":"right"})[k.align]),this.axisTitle=A.text(k.text||"",0,0,k.useHTML).attr({zIndex:7,rotation:k.rotation||0,align:w}).addClass("highcharts-axis-title"),O||this.axisTitle.css(d(k.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),O||k.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[_?"show":"hide"](_)}generateTick(_){let w=this.ticks;w[_]?w[_].addLabel():w[_]=new K(this,_)}createGroups(){let{axisParent:_,chart:w,coll:A,options:U}=this,b=w.renderer,k=(O,z,W)=>b.g(O).attr({zIndex:W}).addClass(`highcharts-${A.toLowerCase()}${z} `+(this.isRadial?`highcharts-radial-axis${z} `:"")+(U.className||"")).add(_);this.axisGroup||(this.gridGroup=k("grid","-grid",U.gridZIndex),this.axisGroup=k("axis","",U.zIndex),this.labelGroup=k("axis-labels","-labels",U.labels.zIndex))}getOffset(){let _=this,{chart:w,horiz:A,options:U,side:b,ticks:k,tickPositions:O,coll:z}=_,W=w.inverted&&!_.isZAxis?[1,0,3,2][b]:b,Q=_.hasData(),ee=U.title,se=U.labels,ae=o(U.crossing),he=w.axisOffset,ce=w.clipOffset,ie=[-1,1,1,-1][b],te,ne=0,oe,le=0,ue=0,de,fe;if(_.showAxis=te=Q||U.showEmpty,_.staggerLines=_.horiz&&se.staggerLines||void 0,_.createGroups(),Q||_.isLinked?(O.forEach(function(me){_.generateTick(me)}),_.renderUnsquish(),_.reserveSpaceDefault=b===0||b===2||{1:"left",3:"right"}[b]===_.labelAlign,f(se.reserveSpace,!ae&&null,_.labelAlign==="center"||null,_.reserveSpaceDefault)&&O.forEach(function(me){ue=Math.max(k[me].getLabelSize(),ue)}),_.staggerLines&&(ue*=_.staggerLines),_.labelOffset=ue*(_.opposite?-1:1)):m(k,function(me,ge){me.destroy(),delete k[ge]}
vendor: 18,806 bytes, line 131
131),ee!=null&&ee.text&&ee.enabled!==!1&&(_.addTitle(te),te&&!ae&&ee.reserveSpace!==!1&&(_.titleOffset=ne=_.axisTitle.getBBox()[A?"height":"width"],le=c(oe=ee.offset)?0:f(ee.margin,A?5:10))),_.renderLine(),_.offset=ie*f(U.offset,he[b]?he[b]+(U.margin||0):0),_.tickRotCorr=_.tickRotCorr||{x:0,y:0},fe=b===0?-_.labelMetrics().h:b===2?_.tickRotCorr.y:0,de=Math.abs(ue)+le,ue&&(de-=fe,de+=ie*(A?f(se.y,_.tickRotCorr.y+ie*se.distance):f(se.x,ie*se.distance))),_.axisTitleMargin=f(oe,de),_.getMaxLabelDimensions&&(_.maxLabelDimensions=_.getMaxLabelDimensions(k,O)),z!=="colorAxis"&&ce){let me=this.tickSize("tick");he[b]=Math.max(he[b],(_.axisTitleMargin||0)+ne+ie*_.offset,de,O&&O.length&&me?me[0]+ie*_.offset:0);let ge=!_.axisLine||U.offset?0:_.axisLine.strokeWidth()/2;ce[W]=Math.max(ce[W],ge)}g(this,"afterGetOffset")}getLinePath(_){let w=this.chart,A=this.opposite,U=this.offset,b=this.horiz,k=this.left+(A?this.width:0)+U,O=w.chartHeight-this.bottom-(A?this.height:0)+U;return A&&(_*=-1),w.renderer.crispLine([["M",b?this.left:k,b?O:this.top],["L",b?w.chartWidth-this.right:k,b?O:w.chartHeight-this.bottom]],_)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(_){let w=this.horiz,A=this.left,U=this.top,b=this.len,k=this.options.title,O=w?A:U,z=this.opposite,W=this.offset,Q=k.x,ee=k.y,se=this.chart.renderer.fontMetrics(_),ae=_?Math.max(_.getBBox(!1,0).height-se.h-1,0):0,he={low:O+(w?0:b),middle:O+b/2,high:O+(w?b:0)}[k.align],ce=(w?U+this.height:A)+(w?1:-1)*(z?-1:1)*(this.axisTitleMargin||0)+[-ae,ae,se.f,-ae][this.side],ie={x:w?he+Q:ce+(z?this.width:0)+W+Q,y:w?ce+ee-(z?this.height:0)+W:he+ee};return g(this,"afterGetTitlePosition",{titlePosition:ie}),ie}renderMinorTick(_,w){let A=this.minorTicks;A[_]||(A[_]=new K(this,_,"minor")),w&&A[_].isNew&&A[_].render(null,!0),A[_].render(null,!1,1)}renderTick(_,w,A){let U=this.isLinked,b=this.ticks;(!U||_>=this.min&&_<=this.max||this.grid&&this.grid.isColumn)&&(b[_]||(b[_]=new K(this,_)),A&&b[_].isNew&&b[_].render(w,!0,-1),b[_].render(w))}render(){let _,w,A=this,U=A.chart,b=A.logarithmic,k=U.renderer,O=A.options,z=A.isLinked,W=A.tickPositions,Q=A.axisTitle,ee=A.ticks,se=A.minorTicks,ae=A.alternateBands,he=O.stackLabels,ce=O.alternateGridColor,ie=O.crossing,te=A.tickmarkOffset,ne=A.axisLine,oe=A.showAxis,le=q(k.globalAnimation);if(A.labelEdge.length=0,A.overlap=!1,[ee,se,ae].forEach(function(ue){m(ue,function(de){de.isActive=!1})}),o(ie)){let ue=this.isXAxis?U.yAxis[0]:U.xAxis[0],de=[1,-1,-1,1][this.side];if(ue){let fe=ue.toPixels(ie,!0);A.horiz&&(fe=ue.len-fe),A.offset=de*fe}}if(A.hasData()||z){let ue=A.chart.hasRendered&&A.old&&o(A.old.min);A.minorTickInterval&&!A.categories&&A.getMinorTickPositions().forEach(function(de){A.renderMinorTick(de,ue)}),W.length&&(W.forEach(function(de,fe){A.renderTick(de,fe,ue)}),te&&(A.min===0||A.single)&&(ee[-1]||(ee[-1]=new K(A,-1,null,!0)),ee[-1].render(-1))),ce&&W.forEach(function(de,fe){w=W[fe+1]!==void 0?W[fe+1]+te:A.max-te,fe%2==0&&de<A.max&&w<=A.max+(U.polar?-te:te)&&(ae[de]||(ae[de]=new $.PlotLineOrBand(A,{})),_=de+te,ae[de].options={from:b?b.lin2log(_):_,to:b?b.lin2log(w):w,color:ce,className:"highcharts-alternate-grid"},ae[de].render(),ae[de].isActive=!0)}),A._addedPlotLB||(A._addedPlotLB=!0,(O.plotLines||[]).concat(O.plotBands||[]).forEach(function(de){A.addPlotBandOrLine(de)}))}[ee,se,ae].forEach(function(ue){let de=[],fe=le.duration;m(ue,function(me,ge){me.isActive||(me.render(ge,!1,0),me.isActive=!1,de.push(ge))}),M(function(){let me=de.length;for(;me--;)ue[de[me]]&&!ue[de[me]].isActive&&(ue[de[me]].destroy(),delete ue[de[me]])},ue!==ae&&U.hasRendered&&fe?fe:0)}),ne&&(ne[ne.isPlaced?"animate":"attr"]({d:this.getLinePath(ne.strokeWidth())}),ne.isPlaced=!0,ne[oe?"show":"hide"](oe)),Q&&oe&&(Q[Q.isNew?"attr":"animate"](A.getTitlePosition(Q)),Q.isNew=!1),he&&he.enabled&&A.stacking&&A.stacking.renderStackTotals(),A.old={len:A.len,max:A.max,min:A.min,transA:A.transA,userMax:A.userMax,userMin:A.userMin},A.isDirty=!1,g(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(_){_.render()})),this.series.forEach(function(_){_.isDirty=!0})}getKeepProps(){return this.keepProps||F.keepProps}destroy(_){let w=this,A=w.plotLinesAndBands,U=this.eventOptions;if(g(this,"destroy",{keepEvents:_}),_||I(w),[w.ticks,w.minorTicks,w.alternateBands].forEach(function(b){x(b)}),A){let b=A.length;for(;b--;)A[b].destroy()}for(let b in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(k){w[k]&&(w[k]=w[k].destroy())}),w.plotLinesAndBandsGroups)w.plotLinesAndBandsGroups[b]=w.plotLinesAndBandsGroups[b].destroy();m(w,function(b,k){w.getKeepProps().indexOf(k)===-1&&delete w[k]}),this.eventOptions=U}drawCrosshair(_,w){let A=this.crosshair,U=f(A&&A.snap,!0),b=this.chart,k,O,z,W=this.cross,Q;if(g(this,"drawCrosshair",{e:_,point:w}),_||(_=this.cross&&this.cross.e),A&&(c(w)||!U)!==!1){if(U?c(w)&&(O=f(this.coll!=="colorAxis"?w.crosshairPos:null,this.isXAxis?w.plotX:this.len-w.plotY)):O=_&&(this.horiz?_.chartX-this.pos:this.len-_.chartY+this.pos),c(O)&&(Q={value:w&&(this.isXAxis?w.x:f(w.stackY,w.y)),translatedValue:O},b.polar&&S(Q,{isCrosshair:!0,chartX:_&&_.chartX,chartY:_&&_.chartY,point:w}),k=this.getPlotLinePath(Q)||null),!c(k)){this.hideCrosshair();return}z=this.categories&&!this.isRadial,W||(this.cross=W=b.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(z?"category ":"thin ")+(A.className||"")).attr({zIndex:f(A.zIndex,2)}).add(),!b.styledMode&&(W.attr({stroke:A.color||(z?l.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":f(A.width,1)}).css({"pointer-events":"none"}),A.dashStyle&&W.attr({dashstyle:A.dashStyle}))),W.show().attr({d:k}),z&&!A.width&&W.attr({"stroke-width":this.transA}),this.cross.e=_}else this.hideCrosshair();g(this,"afterDrawCrosshair",{e:_,point:w})}hideCrosshair(){this.cross&&this.cross.hide(),g(this,"afterHideCrosshair")}update(_,w){let A=this.chart;_=d(this.userOptions,_),this.destroy(!0),this.init(A,_),A.isDirtyBox=!0,f(w,!0)&&A.redraw()}remove(_){let w=this.chart,A=this.coll,U=this.series,b=U.length;for(;b--;)U[b]&&U[b].remove(!1);N(w.axes,this),N(w[A]||[],this),w.orderItems(A),this.destroy(),w.isDirtyBox=!0,f(_,!0)&&w.redraw()}setTitle(_,w){this.update({title:_},w)}setCategories(_,w){this.update({categories:_},w)}}return F.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],F}),r(e,"Core/Axis/DateTimeAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,getMagnitude:C,normalizeTickInterval:B,timeUnits:$}=t;return function(K){function G(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function q(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new Z(this))}K.compose=function(R){return R.keepProps.includes("dateTime")||(R.keepProps.push("dateTime"),R.prototype.getTimeTicks=G,l(R,"afterSetType",q)),R};class Z{constructor(Y){this.axis=Y}normalizeTimeTickInterval(Y,V){let H=V||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],T=H[H.length-1],L=$[T[0]],j=T[1],s;for(s=0;s<H.length&&(L=$[(T=H[s])[0]],j=T[1],!H[s+1]||!(Y<=(L*j[j.length-1]+$[H[s+1][0]])/2));s++);L===$.year&&Y<5*L&&(j=[1,2,5]);let c=B(Y/L,j,T[0]==="year"?Math.max(C(Y/L),1):1);return{unitRange:L,count:c,unitName:T[0]}}getXDateFormat(Y,V){let{axis:H}=this,T=H.chart.time;return H.closestPointRange?T.getDateFormat(H.closestPointRange,Y,H.options.startOfWeek,V)||T.resolveDTLFormat(V.year).main:T.resolveDTLFormat(V.day).main}}K.Additions=Z}(n||(n={})),n}),r(e,"Core/Axis/LogarithmicAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{addEvent:l,normalizeTickInterval:C,pick:B}=t;return function($){function K(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new q(this))}function G(){let Z=this.logarithmic;Z&&(this.lin2val=function(R){return Z.lin2log(R)},this.val2lin=function(R){return Z.log2lin(R)})}$.compose=function(Z){return Z.keepProps.includes("logarithmic")||(Z.keepProps.push("logarithmic"),l(Z,"afterSetType",K),l(Z,"afterInit",G)),Z};class q{constructor(R){this.axis=R}getLogTickPositions(R,Y,V,H){let T=this.axis,L=T.len,j=T.options,s=[];if(H||(this.minorAutoInterval=void 0),R>=.5)R=Math.round(R),s=T.getLinearTickPositions(R,Y,V);else if(R>=.08){let c,x,N,P,S,g,v,p=Math.floor(Y);for(c=R>.3?[1,2,4]:R>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],x=p;x<V+1&&!v;x++)for(N=0,P=c.length;N<P&&!v;N++)(S=this.log2lin(this.lin2log(x)*c[N]))>Y&&(!H||g<=V)&&g!==void 0&&s.push(g),g>V&&(v=!0),g=S}else{let c=this.lin2log(Y),x=this.lin2log(V),N=H?T.getMinorTickInterval():j.tickInterval,P=j.tickPixelInterval/(H?5:1),S=H?L/T.tickPositions.length:L;R=C(R=B(N==="auto"?null:N,this.minorAutoInterval,(x-c)*P/(S||1))),s=T.getLinearTickPositions(R,c,x).map(this.log2lin),H||(this.minorAutoInterval=R/5)}return H||(T.tickInterval=R),s}lin2log(R){return Math.pow(10,R)}log2lin(R){return Math.log(R)/Math.LN10}}$.Additions=q}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[e["Core/Utilities.js"]],function(t){var n;let{erase:l,extend:C,isNumber:B}=t;return function($){let K;function G(T){return this.addPlotBandOrLine(T,"plotBands")}function q(T,L){let j=this.userOptions,s=new K(this,T);if(this.visible&&(s=s.render()),s){if(this._addedPlotLB||(this._addedPlotLB=!0,(j.plotLines||[]).concat(j.plotBands||[]).forEach(c=>{this.addPlotBandOrLine(c)})),L){let c=j[L]||[];c.push(T),j[L]=c}this.plotLinesAndBands.push(s)}return s}function Z(T){return this.addPlotBandOrLine(T,"plotLines")}function R(T,L,j){j=j||this.options;let s=this.getPlotLinePath({value:L,force:!0,acrossPanes:j.acrossPanes}),c=[],x=this.horiz,N=!B(this.min)||!B(this.max)||T<this.min&&L<this.min||T>this.max&&L>this.max,P=this.getPlotLinePath({value:T,force:!0,acrossPanes:j.acrossPanes}),S,g=1,v;if(P&&s)for(N&&(v=P.toString()===s.toString(),g=0),S=0;S<P.length;S+=2){let p=P[S],a=P[S+1],o=s[S],u=s[S+1];(p[0]==="M"||p[0]==="L")&&(a[0]==="M"||a[0]==="L")&&(o[0]==="M"||o[0]==="L")&&(u[0]==="M"||u[0]==="L")&&(x&&o[1]===p[1]?(o[1]+=g,u[1]+=g):x||o[2]!==p[2]||(o[2]+=g,u[2]+=g),c.push(["M",p[1],p[2]],["L",a[1],a[2]],["L",u[1],u[2]],["L",o[1],o[2]],["Z"])),c.isFlat=v}return c}function Y(T){this.removePlotBandOrLine(T)}function V(T){let L=this.plotLinesAndBands,j=this.options,s=this.userOptions;if(L){let c=L.length;for(;c--;)L[c].id===T&&L[c].destroy();[j.plotLines||[],s.plotLines||[],j.plotBands||[],s.plotBands||[]].forEach(function(x){for(c=x.length;c--;)(x[c]||{}).id===T&&l(x,x[c])})}}function H(T){this.removePlotBandOrLine(T)}$.compose=function(T,L){let j=L.prototype;return j.addPlotBand||(K=T,C(j,{addPlotBand:G,addPlotLine:Z,addPlotBandOrLine:q,getPlotBandPath:R,removePlotBand:Y,removePlotLine:H,removePlotBandOrLine:V})),L}}(n||(n={})),n}),r(e,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[e["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,arrayMax:C,arrayMin:B,defined:$,destroyObjectProperties:K,erase:G,fireEvent:q,merge:Z,objectEach:R,pick:Y}=n;class V{static compose(T,L){return l(T,"afterInit",function(){this.labelCollectors.push(()=>{var s;let j=[];for(let c of this.axes)for(let{label:x,options:N}of c.plotLinesAndBands)x&&!((s=N==null?void 0:N.label)!=null&&s.allowOverlap)&&j.push(x);return j})}),t.compose(V,L)}constructor(T,L){this.axis=T,this.options=L,this.id=L.id}render(){q(this,"render");let{axis:T,options:L}=this,{horiz:j,logarithmic:s}=T,{color:c,events:x,zIndex:N=0}=L,P={},S=T.chart.renderer,g=L.to,v=L.from,p=L.value,a=L.borderWidth,o=L.label,{label:u,svgElem:d}=this,h=[],m,f=$(v)&&$(g),y=$(p),I=!d,E={class:"highcharts-plot-"+(f?"band ":"line ")+(L.className||"")},M=f?"bands":"lines";if(!T.chart.styledMode&&(y?(E.stroke=c||"#999999",E["stroke-width"]=Y(L.width,1),L.dashStyle&&(E.dashstyle=L.dashStyle)):f&&(E.fill=c||"#e6e9ff",a&&(E.stroke=L.borderColor,E["stroke-width"]=a))),P.zIndex=N,M+="-"+N,(m=T.plotLinesAndBandsGroups[M])||(T.plotLinesAndBandsGroups[M]=m=S.g("plot-"+M).attr(P).add()),d||(this.svgElem=d=S.path().attr(E).add(m)),$(p))h=T.getPlotLinePath({value:(s==null?void 0:s.log2lin(p))??p,lineWidth:d.strokeWidth(),acrossPanes:L.acrossPanes});else{if(!($(v)&&$(g)))return;h=T.getPlotBandPath((s==null?void 0:s.log2lin(v))??v,(s==null?void 0:s.log2lin(g))??g,L)}return!this.eventsAdded&&x&&(R(x,(D,F)=>{d==null||d.on(F,X=>{x[F].apply(this,[X])})}),this.eventsAdded=!0),(I||!d.d)&&(h!=null&&h.length)?d.attr({d:h}):d&&(h?(d.show(),d.animate({d:h})):d.d&&(d.hide(),u&&(this.label=u=u.destroy()))),o&&($(o.text)||$(o.formatter))&&(h!=null&&h.length)&&T.width>0&&T.height>0&&!h.isFlat?(o=Z(ze({align:j&&f?"center":void 0,x:j?!f&&4:10,verticalAlign:!j&&f?"middle":void 0,y:j?f?16:10:f?6:-4,rotation:j&&!f?90:0},f?{inside:!0}:{}),o),this.renderLabel(o,h,f,N)):u&&u.hide(),this}renderLabel(T,L,j,s){var o;let c=this.axis,x=c.chart.renderer,N=T.inside,P=this.label;P||(this.label=P=x.text(this.getLabelText(T),0,0,T.useHTML).attr({align:T.textAlign||T.align,rotation:T.rotation,class:"highcharts-plot-"+(j?"band":"line")+"-label "+(T.className||""),zIndex:s}),c.chart.styledMode||P.css(Z({fontSize:"0.8em",textOverflow:j&&!N?"":"ellipsis"},T.style)),P.add());let S=L.xBounds||[L[0][1],L[1][1],j?L[2][1]:L[0][1]],g=L.yBounds||[L[0][2],L[1][2],j?L[2][2]:L[0][2]],v=B(S),p=B(g),a=C(S)-v;P.align(T,!1,{x:v,y:p,width:a,height:C(g)-p}),(!P.alignValue||P.alignValue==="left"||$(N))&&P.css({width:(((o=T.style)==null?void 0:o.width)||(j&&N?a:P.rotation===90?c.height-(P.alignAttr.y-c.top):(T.clip?c.width:c.chart.chartWidth)-(P.alignAttr.x-c.left)))+"px"}),P.show(!0)}getLabelText(T){return $(T.formatter)?T.formatter.call(this):T.text}destroy(){G(this.axis.plotLinesAndBands,this),delete this.axis,K(this)}}return V}),r(e,"Core/Tooltip.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){var K;let{animObject:G}=t,{format:q}=n,{composed:Z,doc:R,isSafari:Y}=l,{distribute:V}=C,{addEvent:H,clamp:T,css:L,discardElement:j,extend:s,fireEvent:c,isArray:x,isNumber:N,isString:P,merge:S,pick:g,pushUnique:v,splat:p,syncTimeout:a}=$;class o{constructor(d,h,m){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=d,this.init(d,h),this.pointer=m}bodyFormatter(d){return d.map(function(h){let m=h.series.tooltipOptions;return(m[(h.point.formatPrefix||"point")+"Formatter"]||h.point.tooltipFormatter).call(h.point,m[(h.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(d){this.chart.series.forEach(function(h){let m=h&&h.tt;m&&(!m.isActive||d?h.tt=m.destroy():m.isActive=!1)})}defaultFormatter(d){let h,m=this.points||p(this);return(h=(h=[d.tooltipFooterHeaderFormatter(m[0])]).concat(d.bodyFormatter(m))).push(d.tooltipFooterHeaderFormatter(m[0],!0)),h}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),j(this.container)),$.clearTimeout(this.hideTimer)}getAnchor(d,h){let m,{chart:f,pointer:y}=this,I=f.inverted,E=f.plotTop,M=f.plotLeft;if((d=p(d))[0].series&&d[0].series.yAxis&&!d[0].series.yAxis.options.reversedStacks&&(d=d.slice().reverse()),this.followPointer&&h)h.chartX===void 0&&(h=y.normalize(h)),m=[h.chartX-M,h.chartY-E];else if(d[0].tooltipPos)m=d[0].tooltipPos;else{let D=0,F=0;d.forEach(function(X){let _=X.pos(!0);_&&(D+=_[0],F+=_[1])}),D/=d.length,F/=d.length,this.shared&&d.length>1&&h&&(I?D=h.chartX:F=h.chartY),m=[D-M,F-E]}return m.map(Math.round)}getClassName(d,h,m){let f=this.options,y=d.series,I=y.options;return[f.className,"highcharts-label",m&&"highcharts-tooltip-header",h?"highcharts-tooltip-box":"highcharts-tooltip",!m&&"highcharts-color-"+g(d.colorIndex,y.colorIndex),I&&I.className].filter(P).join(" ")}getLabel({anchorX:d,anchorY:h}={anchorX:0,anchorY:0}){let m=this,f=this.chart.styledMode,y=this.options,I=this.split&&this.allowShared,E=this.container,M=this.chart.renderer;if(this.label){let D=!this.label.hasClass("highcharts-label");(!I&&D||I&&!D)&&this.destroy()}if(!this.label){if(this.outside){let D=this.chart.options.chart.style,F=B.getRendererType();this.container=E=l.doc.createElement("div"),E.className="highcharts-tooltip-container",L(E,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(D&&D.zIndex||0)+3)}),this.renderer=M=new F(E,0,0,D,void 0,void 0,M.styledMode)}if(I?this.label=M.g("tooltip"):(this.label=M.label("",d,h,y.shape,void 0,void 0,y.useHTML,void 0,"tooltip").attr({padding:y.padding,r:y.borderRadius}),f||this.label.attr({fill:y.backgroundColor,"stroke-width":y.borderWidth||0}).css(y.style).css({pointerEvents:y.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),m.outside){let D=this.label;[D.xSetter,D.ySetter].forEach((F,X)=>{D[X?"ySetter":"xSetter"]=_=>{F.call(D,m.distance),D[X?"y":"x"]=_,E&&(E.style[X?"top":"left"]=`${_}px`)}})}this.label.attr({zIndex:8}).shadow(y.shadow).add()}return E&&!E.parentElement&&l.doc.body.appendChild(E),this.label}getPlayingField(){let{body:d,documentElement:h}=R,{chart:m,distance:f,outside:y}=this;return{width:y?Math.max(d.scrollWidth,h.scrollWidth,d.offsetWidth,h.offsetWidth,h.clientWidth)-2*f:m.chartWidth,height:y?Math.max(d.scrollHeight,h.scrollHeight,d.offsetHeight,h.offsetHeight,h.clientHeight):m.chartHeight}}getPosition(d,h,m){var le,ue;let{distance:f,chart:y,outside:I,pointer:E}=this,{inverted:M,plotLeft:D,plotTop:F,polar:X}=y,{plotX:_=0,plotY:w=0}=m,A={},U=M&&m.h||0,{height:b,width:k}=this.getPlayingField(),O=E.getChartPosition(),z=de=>de*O.scaleX,W=de=>de*O.scaleY,Q=de=>{let fe=de==="x";return[de,fe?k:b,fe?d:h].concat(I?[fe?z(d):W(h),fe?O.left-f+z(_+D):O.top-f+W(w+F),0,fe?k:b]:[fe?d:h,fe?_+D:w+F,fe?D:F,fe?D+y.plotWidth:F+y.plotHeight])},ee=Q("y"),se=Q("x"),ae,he=!!m.negative;!X&&((ue=(le=y.hoverSeries)==null?void 0:le.yAxis)!=null&&ue.reversed)&&(he=!he);let ce=!this.followPointer&&g(m.ttBelow,!X&&!M===he),ie=function(de,fe,me,ge,Ee,ve,ye){let Se=I?de==="y"?W(f):z(f):f,xe=(me-ge)/2,Ce=ge<Ee-f,Oe=Ee+f+ge<fe,Pe=Ee-Se-me+xe,He=Ee+Se-xe;if(ce&&Oe)A[de]=He;else if(!ce&&Ce)A[de]=Pe;else if(Ce)A[de]=Math.min(ye-ge,Pe-U<0?Pe:Pe-U);else{if(!Oe)return!1;A[de]=Math.max(ve,He+U+me>fe?He:He+U)}},te=function(de,fe,me,ge,Ee){if(Ee<f||Ee>fe-f)return!1;Ee<me/2?A[de]=1:Ee>fe-ge/2?A[de]=fe-ge-2:A[de]=Ee-me/2}
131,ne=function(de){[ee,se]=[se,ee],ae=de},oe=()=>{ie.apply(0,ee)!==!1?te.apply(0,se)!==!1||ae||(ne(!0),oe()):ae?A.x=A.y=0:(ne(!0),oe())};return(M&&!X||this.len>1)&&ne(),oe(),A}hide(d){let h=this;$.clearTimeout(this.hideTimer),d=g(d,this.options.hideDelay),this.isHidden||(this.hideTimer=a(function(){let m=h.getLabel();h.getLabel().animate({opacity:0},{duration:d&&150,complete:()=>{m.hide(),h.container&&h.container.remove()}}),h.isHidden=!0},d))}init(d,h){this.chart=d,this.options=h,this.crosshairs=[],this.isHidden=!0,this.split=h.split&&!d.inverted&&!d.polar,this.shared=h.shared||this.split,this.outside=g(h.outside,!!(d.scrollablePixelsX||d.scrollablePixelsY))}shouldStickOnContact(d){return!!(!this.followPointer&&this.options.stickOnContact&&(!d||this.pointer.inClass(d.target,"highcharts-tooltip")))}move(d,h,m,f){let y=this,I=G(!y.isHidden&&y.options.animation),E=y.followPointer||(y.len||0)>1,M={x:d,y:h};E||(M.anchorX=m,M.anchorY=f),I.step=()=>y.drawTracker(),y.getLabel().animate(M,I)}refresh(d,h){let{chart:m,options:f,pointer:y,shared:I}=this,E=p(d),M=E[0],D=[],F=f.format,X=f.formatter||this.defaultFormatter,_=m.styledMode,w={},A=this.allowShared;if(!f.enabled||!M.series)return;$.clearTimeout(this.hideTimer),this.allowShared=!(!x(d)&&d.series&&d.series.noSharedTooltip),A=A&&!this.allowShared,this.followPointer=!this.split&&M.series.tooltipOptions.followPointer;let U=this.getAnchor(d,h),b=U[0],k=U[1];I&&this.allowShared?(y.applyInactiveState(E),E.forEach(function(W){W.setState("hover"),D.push(W.getLabelConfig())}),(w=M.getLabelConfig()).points=D):w=M.getLabelConfig(),this.len=D.length;let O=P(F)?q(F,w,m):X.call(w,this),z=M.series;if(this.distance=g(z.tooltipOptions.distance,16),O===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(O,E);else{let W=b,Q=k;if(h&&y.isDirectTouch&&(W=h.chartX-m.plotLeft,Q=h.chartY-m.plotTop),m.polar||z.options.clip===!1||E.some(ee=>y.isDirectTouch||ee.series.shouldShowTooltip(W,Q))){let ee=this.getLabel(A&&this.tt||{});(!f.style.width||_)&&ee.css({width:(this.outside?this.getPlayingField():m.spacingBox).width+"px"}),ee.attr({class:this.getClassName(M),text:O&&O.join?O.join(""):O}),this.outside&&ee.attr({x:T(ee.x||0,0,this.getPlayingField().width-(ee.width||0))}),_||ee.attr({stroke:f.borderColor||M.color||z.color||"#666666"}),this.updatePosition({plotX:b,plotY:k,negative:M.negative,ttBelow:M.ttBelow,h:U[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}c(this,"refresh")}renderSplit(d,h){var fe;let m=this,{chart:f,chart:{chartWidth:y,chartHeight:I,plotHeight:E,plotLeft:M,plotTop:D,scrollablePixelsY:F=0,scrollablePixelsX:X,styledMode:_},distance:w,options:A,options:{positioner:U},pointer:b}=m,{scrollLeft:k=0,scrollTop:O=0}=((fe=f.scrollablePlotArea)==null?void 0:fe.scrollingContainer)||{},z=m.outside&&typeof X!="number"?R.documentElement.getBoundingClientRect():{left:k,right:k+y,top:O,bottom:O+I},W=m.getLabel(),Q=this.renderer||f.renderer,ee=!!(f.xAxis[0]&&f.xAxis[0].opposite),{left:se,top:ae}=b.getChartPosition(),he=D+O,ce=0,ie=E-F;function te(me,ge,Ee,ve,ye=!0){let Se,xe;return Ee?(Se=ee?0:ie,xe=T(me-ve/2,z.left,z.right-ve-(m.outside?se:0))):(Se=ge-he,xe=T(xe=ye?me-ve-w:me+w,ye?xe:z.left,z.right)),{x:xe,y:Se}}P(d)&&(d=[!1,d]);let ne=d.slice(0,h.length+1).reduce(function(me,ge,Ee){if(ge!==!1&&ge!==""){let ve=h[Ee-1]||{isHeader:!0,plotX:h[0].plotX,plotY:E,series:{}},ye=ve.isHeader,Se=ye?m:ve.series,xe=Se.tt=function(Je,Xe,dt){let ct=Je,{isHeader:vt,series:Gt}=Xe;if(!ct){let Ft={padding:A.padding,r:A.borderRadius};_||(Ft.fill=A.backgroundColor,Ft["stroke-width"]=A.borderWidth??1),ct=Q.label("",0,0,A[vt?"headerShape":"shape"],void 0,void 0,A.useHTML).addClass(m.getClassName(Xe,!0,vt)).attr(Ft).add(W)}return ct.isActive=!0,ct.attr({text:dt}),_||ct.css(A.style).attr({stroke:A.borderColor||Xe.color||Gt.color||"#333333"}),ct}(Se.tt,ve,ge.toString()),Ce=xe.getBBox(),Oe=Ce.width+xe.strokeWidth();ye&&(ce=Ce.height,ie+=ce,ee&&(he-=ce));let{anchorX:Pe,anchorY:He}=function(Je){let Xe,dt,{isHeader:ct,plotX:vt=0,plotY:Gt=0,series:Ft}=Je;if(ct)Xe=Math.max(M+vt,M),dt=D+E/2;else{let{xAxis:Ii,yAxis:mt}=Ft;Xe=Ii.pos+T(vt,-w,Ii.len+w),Ft.shouldShowTooltip(0,mt.pos-D+Gt,{ignoreX:!0})&&(dt=mt.pos+Gt)}return{anchorX:Xe=T(Xe,z.left-w,z.right+w),anchorY:dt}}(ve);if(typeof He=="number"){let Je=Ce.height+1,Xe=U?U.call(m,Oe,Je,ve):te(Pe,He,ye,Oe);me.push({align:U?0:void 0,anchorX:Pe,anchorY:He,boxWidth:Oe,point:ve,rank:g(Xe.rank,ye?1:0),size:Je,target:Xe.y,tt:xe,x:Xe.x})}else xe.isActive=!1}return me},[]);!U&&ne.some(me=>{let{outside:ge}=m,Ee=(ge?se:0)+me.anchorX;return Ee<z.left&&Ee+me.boxWidth<z.right||Ee<se-z.left+me.boxWidth&&z.right-Ee>Ee})&&(ne=ne.map(me=>{let{x:ge,y:Ee}=te(me.anchorX,me.anchorY,me.point.isHeader,me.boxWidth,!1);return s(me,{target:Ee,x:ge})})),m.cleanSplit(),V(ne,ie);let oe={left:se,right:se};ne.forEach(function(me){let{x:ge,boxWidth:Ee,isHeader:ve}=me;!ve&&(m.outside&&se+ge<oe.left&&(oe.left=se+ge),!ve&&m.outside&&oe.left+Ee>oe.right&&(oe.right=se+ge))}),ne.forEach(function(me){let{x:ge,anchorX:Ee,anchorY:ve,pos:ye,point:{isHeader:Se}}
vendor: 1,763 bytes, line 131
131=me,xe={visibility:ye===void 0?"hidden":"inherit",x:ge,y:(ye||0)+he,anchorX:Ee,anchorY:ve};if(m.outside&&ge<Ee){let Ce=se-oe.left;Ce>0&&(Se||(xe.x=ge+Ce,xe.anchorX=Ee+Ce),Se&&(xe.x=(oe.right-oe.left)/2,xe.anchorX=Ee+Ce))}me.tt.attr(xe)});let{container:le,outside:ue,renderer:de}=m;if(ue&&le&&de){let{width:me,height:ge,x:Ee,y:ve}=W.getBBox();de.setSize(me+Ee,ge+ve,!1),le.style.left=oe.left+"px",le.style.top=ae+"px"}Y&&W.attr({opacity:W.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let d=this.chart,h=this.label,m=this.shared?d.hoverPoints:d.hoverPoint;if(!h||!m)return;let f={x:0,y:0,width:0,height:0},y=this.getAnchor(m),I=h.getBBox();y[0]+=d.plotLeft-(h.translateX||0),y[1]+=d.plotTop-(h.translateY||0),f.x=Math.min(0,y[0]),f.y=Math.min(0,y[1]),f.width=y[0]<0?Math.max(Math.abs(y[0]),I.width-y[0]):Math.max(Math.abs(y[0]),I.width),f.height=y[1]<0?Math.max(Math.abs(y[1]),I.height-Math.abs(y[1])):Math.max(Math.abs(y[1]),I.height),this.tracker?this.tracker.attr(f):(this.tracker=h.renderer.rect(f).addClass("highcharts-tracker").add(h),d.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(d){return d.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(d,h){let m=d.series,f=m.tooltipOptions,y=m.xAxis,I=y&&y.dateTime,E={isFooter:h,labelConfig:d},M=f.xDateFormat,D=f[h?"footerFormat":"headerFormat"];return c(this,"headerFormatter",E,function(F){I&&!M&&N(d.key)&&(M=I.getXDateFormat(d.key,f.dateTimeLabelFormats)),I&&M&&(d.point&&d.point.tooltipDateKeys||["key"]).forEac
131h(function(X){D=D.replace("{point."+X+"}","{point."+X+":"+M+"}")}),m.chart.styledMode&&(D=this.styledModeFormat(D)),F.text=q(D,{point:d,series:m},this.chart)}),E.text}update(d){this.destroy(),this.init(this.chart,S(!0,this.options,d))}updatePosition(d){let{chart:h,container:m,distance:f,options:y,pointer:I,renderer:E}=this,{height:M=0,width:D=0}=this.getLabel(),{left:F,top:X,scaleX:_,scaleY:w}=I.getChartPosition(),A=(y.positioner||this.getPosition).call(this,D,M,d),U=(d.plotX||0)+h.plotLeft,b=(d.plotY||0)+h.plotTop,k;E&&m&&(y.positioner&&(A.x+=F-f,A.y+=X-f),k=(y.borderWidth||0)+2*f+2,E.setSize(D+k,M+k,!1),(_!==1||w!==1)&&(L(m,{transform:`scale(${_}, ${w})`}),U*=_,b*=w),U+=F-A.x,b+=X-A.y),this.move(Math.round(A.x),Math.round(A.y||0),U,b)}}return(K=o||(o={})).compose=function(u){v(Z,"Core.Tooltip")&&H(u,"afterInit",function(){let d=this.chart;d.options.tooltip&&(d.tooltip=new K(d,d.options.tooltip,this))})},o}),r(e,"Core/Series/Point.js",[e["Core/Renderer/HTML/AST.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{animObject:$}=n,{defaultOptions:K}=l,{format:G}=C,{addEvent:q,crisp:Z,erase:R,extend:Y,fireEvent:V,getNestedProperty:H,isArray:T,isFunction:L,isNumber:j,isObject:s,merge:c,pick:x,syncTimeout:N,removeEvent:P,uniqueKey:S}=B;class g{animateBeforeDestroy(){let p=this,a={x:p.startXPos,opacity:0},o=p.getGraphicalProps();o.singular.forEach(function(u){p[u]=p[u].animate(u==="dataLabel"?{x:p[u].startXPos,y:p[u].startYPos,opacity:0}:a)}),o.plural.forEach(function(u){p[u].forEach(function(d){d.element&&d.animate(Y({x:p.startXPos},d.startYPos?{x:d.startXPos,y:d.startYPos}:{}))})})}applyOptions(p,a){let o=this.series,u=o.options.pointValKey||o.pointValKey;return Y(this,p=g.prototype.optionsToObject.call(this,p)),this.options=this.options?Y(this.options,p):p,p.group&&delete this.group,p.dataLabels&&delete this.dataLabels,u&&(this.y=g.prototype.getNestedProperty.call(this,u)),this.selected&&(this.state="select"),"name"in this&&a===void 0&&o.xAxis&&o.xAxis.hasNames&&(this.x=o.xAxis.nameToX(this)),this.x===void 0&&o?this.x=a??o.autoIncrement():j(p.x)&&o.options.relativeXValue&&(this.x=o.autoIncrement(p.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let p=this,a=p.series,o=a.chart,u=a.options.dataSorting,d=o.hoverPoints,h=$(p.series.chart.renderer.globalAnimation),m=()=>{for(let f in(p.graphic||p.graphics||p.dataLabel||p.dataLabels)&&(P(p),p.destroyElements()),p)delete p[f]};p.legendItem&&o.legend.destroyItem(p),d&&(p.setState(),R(d,p),d.length||(o.hoverPoints=null)),p===o.hoverPoint&&p.onMouseOut(),u&&u.enabled?(this.animateBeforeDestroy(),N(m,h.duration)):m(),o.pointCount--}this.destroyed=!0}destroyElements(p){let a=this,o=a.getGraphicalProps(p);o.singular.forEach(function(u){a[u]=a[u].destroy()}),o.plural.forEach(function(u){a[u].forEach(function(d){d&&d.element&&d.destroy()}),delete a[u]})}firePointEvent(p,a,o){let u=this,d=this.series.options;u.manageEvent(p),p==="click"&&d.allowPointSelect&&(o=function(h){!u.destroyed&&u.select&&u.select(null,h.ctrlKey||h.metaKey||h.shiftKey)}),V(u,p,a,o)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(p){let a,o,u=this,d=[],h={singular:[],plural:[]};for((p=p||{graphic:1,dataLabel:1}).graphic&&d.push("graphic","connector"),p.dataLabel&&d.push("dataLabel","dataLabelPath","dataLabelUpper"),o=d.length;o--;)u[a=d[o]]&&h.singular.push(a);return["graphic","dataLabel"].forEach(function(m){let f=m+"s";p[m]&&u[f]&&h.plural.push(f)}),h}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(p){return p?p.indexOf("custom.")===0?H(p,this.options):this[p]:void 0}getZone(){let p=this.series,a=p.zones,o=p.zoneAxis||"y",u,d=0;for(u=a[0];this[o]>=u.value;)u=a[++d];return this.nonZonedColor||(this.nonZonedColor=this.color),u&&u.color&&!this.options.color?this.color=u.color:this.color=this.nonZonedColor,u}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(p,a,o){this.formatPrefix="point",this.visible=!0,this.series=p,this.applyOptions(a,o),this.id??(this.id=S()),this.resolveColor(),p.chart.pointCount++,V(this,"afterInit")}isValid(){return(j(this.x)||this.x instanceof Date)&&j(this.y)}optionsToObject(p){let a=this.series,o=a.options.keys,u=o||a.pointArrayMap||["y"],d=u.length,h={},m,f=0,y=0;if(j(p)||p===null)h[u[0]]=p;else if(T(p))for(!o&&p.length>d&&((m=typeof p[0])=="string"?h.name=p[0]:m==="number"&&(h.x=p[0]),f++);y<d;)o&&p[f]===void 0||(u[y].indexOf(".")>0?g.prototype.setNestedProperty(h,p[f],u[y]):h[u[y]]=p[f]),f++,y++;else typeof p=="object"&&(h=p,p.dataLabels&&(a.hasDataLabels=()=>!0),p.marker&&(a._hasPointMarkers=!0));return h}pos(p,a=this.plotY){if(!this.destroyed){let{plotX:o,series:u}=this,{chart:d,xAxis:h,yAxis:m}=u,f=0,y=0;if(j(o)&&j(a))return p&&(f=h?h.pos:d.plotLeft,y=m?m.pos:d.plotTop),d.inverted&&h&&m?[m.len-a+y,h.len-o+f]:[o+f,a+y]}}resolveColor(){let p=this.series,a=p.chart.options.chart,o=p.chart.styledMode,u,d,h=a.colorCount,m;delete this.nonZonedColor,p.options.colorByPoint?(o||(u=(d=p.options.colors||p.chart.options.colors)[p.colorCounter],h=d.length),m=p.colorCounter,p.colorCounter++,p.colorCounter===h&&(p.colorCounter=0)):(o||(u=p.color),m=p.colorIndex),this.colorIndex=x(this.options.colorIndex,m),this.color=x(this.options.color,u)}setNestedProperty(p,a,o){return o.split(".").reduce(function(u,d,h,m){let f=m.length-1===h;return u[d]=f?a:s(u[d],!0)?u[d]:{},u[d]},p),p}shouldDraw(){return!this.isNull}tooltipFormatter(p){let a=this.series,o=a.tooltipOptions,u=x(o.valueDecimals,""),d=o.valuePrefix||"",h=o.valueSuffix||"";return a.chart.styledMode&&(p=a.chart.tooltip.styledModeFormat(p)),(a.pointArrayMap||["y"]).forEac
vendor: 1,189 bytes, line 131
131h(function(m){m="{point."+m,(d||h)&&(p=p.replace(RegExp(m+"}","g"),d+m+"}"+h)),p=p.replace(RegExp(m+"}","g"),m+":,."+u+"f}")}),G(p,{point:this,series:this.series},a.chart)}update(p,a,o,u){let d,h=this,m=h.series,f=h.graphic,y=m.chart,I=m.options;function E(){h.applyOptions(p);let M=f&&h.hasMockGraphic,D=h.y===null?!M:M;f&&D&&(h.graphic=f.destroy(),delete h.hasMockGraphic),s(p,!0)&&(f&&f.element&&p&&p.marker&&p.marker.symbol!==void 0&&(h.graphic=f.destroy()),p!=null&&p.dataLabels&&h.dataLabel&&(h.dataLabel=h.dataLabel.destroy())),d=h.index,m.updateParallelArrays(h,d),I.data[d]=s(I.data[d],!0)||s(p,!0)?h.options:x(p,I.data[d]),m.isDirty=m.isDirtyData=!0,!m.fixedBox&&m.hasCartesianSeries&&(y.isDirtyBox=!0),I.legendType==="point"&&(y.isDirtyLegend=!0),a&&y.redraw(o)}a=x(a,!0),u===!1?E():h.firePointEvent("update",{options:p},E)}remove(p,a){this.series.removePoint(this.series.data.indexOf(this),p,a)}select(p,a){let o=this,u=o.series,d=u.chart;p=x(p,!o.selected),this.selectedStaging=p,o.firePointEvent(p?"select":"unselect",{accumulate:a},function(){o.selected=o.options.selected=p,u.options.data[u.data.indexOf(o)]=o.options,o.setState(p&&"select"),a||d.getSelectedPoints().forEac
131h(function(h){let m=h.series;h.selected&&h!==o&&(h.selected=h.options.selected=!1,m.options.data[m.data.indexOf(h)]=h.options,h.setState(d.hoverPoints&&m.options.inactiveOtherPoints?"inactive":""),h.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(p){let{inverted:a,pointer:o}=this.series.chart;o&&(p=p?o.normalize(p):o.getChartCoordinatesFromPoint(this,a),o.runPointActions(p,this))}onMouseOut(){let p=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(p.hoverPoints||[]).forEach(function(a){a.setState()}),p.hoverPoints=p.hoverPoint=null}manageEvent(p){var u,d,h,m,f,y;let a=c(this.series.options.point,this.options),o=(u=a.events)==null?void 0:u[p];L(o)&&(!((d=this.hcEvents)!=null&&d[p])||((m=(h=this.hcEvents)==null?void 0:h[p])==null?void 0:m.map(I=>I.fn).indexOf(o))===-1)?((f=this.importedUserEvent)==null||f.call(this),this.importedUserEvent=q(this,p,o)):this.importedUserEvent&&!o&&((y=this.hcEvents)!=null&&y[p])&&(P(this,p),delete this.hcEvents[p],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(p,a){var O;let o=this.series,u=this.state,d=o.options.states[p||"normal"]||{},h=K.plotOptions[o.type].marker&&o.options.marker,m=h&&h.enabled===!1,f=h&&h.states&&h.states[p||"normal"]||{},y=f.enabled===!1,I=this.marker||{},E=o.chart,M=h&&o.markerAttribs,D=o.halo,F,X,_,w=o.stateMarkerGraphic,A;if((p=p||"")===this.state&&!a||this.selected&&p!=="select"||d.enabled===!1||p&&(y||m&&f.enabled===!1)||p&&I.states&&I.states[p]&&I.states[p].enabled===!1)return;if(this.state=p,M&&(F=o.markerAttribs(this,p)),this.graphic&&!this.hasMockGraphic){if(u&&this.graphic.removeClass("highcharts-point-"+u),p&&this.graphic.addClass("highcharts-point-"+p),!E.styledMode){X=o.pointAttribs(this,p),_=x(E.options.chart.animation,d.animation);let z=X.opacity;o.options.inactiveOtherPoints&&j(z)&&(this.dataLabels||[]).forEach(function(W){W&&!W.hasClass("highcharts-data-label-hidden")&&(W.animate({opacity:z},_),W.connector&&W.connector.animate({opacity:z},_))}),this.graphic.animate(X,_)}F&&this.graphic.animate(F,x(E.options.chart.animation,f.animation,h.animation)),w&&w.hide()}else p&&f&&(A=I.symbol||o.symbol,w&&w.currentSymbol!==A&&(w=w.destroy()),F&&(w?w[a?"animate":"attr"]({x:F.x,y:F.y}):A&&(o.stateMarkerGraphic=w=E.renderer.symbol(A,F.x,F.y,F.width,F.height).add(o.markerGroup),w.currentSymbol=A)),!E.styledMode&&w&&this.state!=="inactive"&&w.attr(o.pointAttribs(this,p))),w&&(w[p&&this.isInside?"show":"hide"](),w.element.point=this,w.addClass(this.getClassName(),!0));let U=d.halo,b=this.graphic||w,k=b&&b.visibility||"inherit";U&&U.size&&b&&k!=="hidden"&&!this.isCluster?(D||(o.halo=D=E.renderer.path().add(b.parentGroup)),D.show()[a?"animate":"attr"]({d:this.haloPath(U.size)}),D.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:k,zIndex:-1}),D.point=this,E.styledMode||D.attr(Y({fill:this.color||o.color,"fill-opacity":U.opacity},t.filterUserAttributes(U.attributes||{})))):(O=D==null?void 0:D.point)!=null&&O.haloPath&&!D.point.destroyed&&D.animate({d:D.point.haloPath(0)},null,D.hide),V(this,"afterSetState",{state:p})}haloPath(p){let a=this.pos();return a?this.series.chart.renderer.symbols.circle(Z(a[0],1)-p,a[1]-p,2*p,2*p):[]}}return g}),r(e,"Core/Pointer.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{parse:B}=t,{charts:$,composed:K,isTouchDevice:G}=n,{addEvent:q,attr:Z,css:R,extend:Y,find:V,fireEvent:H,isNumber:T,isObject:L,objectEach:j,offset:s,pick:c,pushUnique:x,splat:N}=l;class P{applyInactiveState(g){let v=[],p;(g||[]).forEach(function(a){p=a.series,v.push(p),p.linkedParent&&v.push(p.linkedParent),p.linkedSeries&&(v=v.concat(p.linkedSeries)),p.navigatorSeries&&v.push(p.navigatorSeries)}),this.chart.series.forEach(function(a){v.indexOf(a)===-1?a.setState("inactive",!0):a.options.inactiveOtherPoints&&a.setAllPointsToState("inactive")})}destroy(){let g=this;this.eventsToUnbind.forEach(v=>v()),this.eventsToUnbind=[],!n.chartCount&&(P.unbindDocumentMouseUp&&P.unbindDocumentMouseUp.forEac
vendor: 4,590 bytes, line 131
131h(v=>v()),P.unbindDocumentTouchEnd&&(P.unbindDocumentTouchEnd=P.unbindDocumentTouchEnd())),clearInterval(g.tooltipTimeout),j(g,function(v,p){g[p]=void 0})}getSelectionMarkerAttrs(g,v){let p={args:{chartX:g,chartY:v},attrs:{},shapeType:"rect"};return H(this,"getSelectionMarkerAttrs",p,a=>{let o,{chart:u,zoomHor:d,zoomVert:h}=this,{mouseDownX:m=0,mouseDownY:f=0}=u,y=a.attrs;y.x=u.plotLeft,y.y=u.plotTop,y.width=d?1:u.plotWidth,y.height=h?1:u.plotHeight,d&&(o=g-m,y.width=Math.max(1,Math.abs(o)),y.x=(o>0?0:o)+m),h&&(o=v-f,y.height=Math.max(1,Math.abs(o)),y.y=(o>0?0:o)+f)}),p}drag(g){let{chart:v}=this,{mouseDownX:p=0,mouseDownY:a=0}=v,{panning:o,panKey:u,selectionMarkerFill:d}=v.options.chart,h=v.plotLeft,m=v.plotTop,f=v.plotWidth,y=v.plotHeight,I=L(o)?o.enabled:o,E=u&&g[`${u}Key`],M=g.chartX,D=g.chartY,F,X=this.selectionMarker;if((!X||!X.touch)&&(M<h?M=h:M>h+f&&(M=h+f),D<m?D=m:D>m+y&&(D=m+y),this.hasDragged=Math.sqrt(Math.pow(p-M,2)+Math.pow(a-D,2)),this.hasDragged>10)){F=v.isInsidePlot(p-h,a-m,{visiblePlotOnly:!0});let{shapeType:_,attrs:w}=this.getSelectionMarkerAttrs(M,D);(v.hasCartesianSeries||v.mapView)&&this.hasZoom&&F&&!E&&!X&&(this.selectionMarker=X=v.renderer[_](),X.attr({class:"highcharts-selection-marker",zIndex:7}).add(),v.styledMode||X.attr({fill:d||B("#334eff").setOpacity(.25).get()})),X&&X.attr(w),F&&!X&&I&&v.pan(g,o)}}dragStart(g){let v=this.chart;v.mouseIsDown=g.type,v.cancelClick=!1,v.mouseDownX=g.chartX,v.mouseDownY=g.chartY}getSelectionBox(g){let v={args:{marker:g},result:g.getBBox()};return H(this,"getSelectionBox",v),v.result}drop(g){let v,{chart:p,selectionMarker:a}=this;for(let o of p.axes)o.isPanning&&(o.isPanning=!1,(o.options.startOnTick||o.options.endOnTick||o.series.some(u=>u.boosted))&&(o.forceRedraw=!0,o.setExtremes(o.userMin,o.userMax,!1),v=!0));if(v&&p.redraw(),a&&g){if(this.hasDragged){let o=this.getSelectionBox(a);p.transform({axes:p.axes.filter(u=>u.zoomEnabled&&(u.coll==="xAxis"&&this.zoomX||u.coll==="yAxis"&&this.zoomY)),selection:ze({originalEvent:g,xAxis:[],yAxis:[]},o),from:o})}T(p.index)&&(this.selectionMarker=a.destroy())}p&&T(p.index)&&(R(p.container,{cursor:p._cursor}),p.cancelClick=this.hasDragged>10,p.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(g,v,p){let a;return g.forEach(function(o){let u=!(o.noSharedTooltip&&v)&&0>o.options.findNearestPointBy.indexOf("y"),d=o.searchPoint(p,u);L(d,!0)&&d.series&&(!L(a,!0)||function(h,m){var E,M;let f=h.distX-m.distX,y=h.dist-m.dist,I=((E=m.series.group)==null?void 0:E.zIndex)-((M=h.series.group)==null?void 0:M.zIndex);return f!==0&&v?f:y!==0?y:I!==0?I:h.series.index>m.series.index?-1:1}(a,d)>0)&&(a=d)}),a}getChartCoordinatesFromPoint(g,v){let{xAxis:p,yAxis:a}=g.series,o=g.shapeArgs;if(p&&a){let u=g.clientX??g.plotX??0,d=g.plotY||0;return g.isNode&&o&&T(o.x)&&T(o.y)&&(u=o.x,d=o.y),v?{chartX:a.len+a.pos-d,chartY:p.len+p.pos-u}:{chartX:u+p.pos,chartY:d+a.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:g}=this.chart,v=s(g);this.chartPosition={left:v.left,top:v.top,scaleX:1,scaleY:1};let{offsetHeight:p,offsetWidth:a}=g;return a>2&&p>2&&(this.chartPosition.scaleX=v.width/a,this.chartPosition.scaleY=v.height/p),this.chartPosition}getCoordinates(g){let v={xAxis:[],yAxis:[]};for(let p of this.chart.axes)v[p.isXAxis?"xAxis":"yAxis"].push({axis:p,value:p.toValue(g[p.horiz?"chartX":"chartY"])});return v}getHoverData(g,v,p,a,o,u){let d=[],h=function(E){return E.visible&&!(!o&&E.directTouch)&&c(E.options.enableMouseTracking,!0)},m=v,f,y={chartX:u?u.chartX:void 0,chartY:u?u.chartY:void 0,shared:o};H(this,"beforeGetHoverData",y),f=m&&!m.stickyTracking?[m]:p.filter(E=>E.stickyTracking&&(y.filter||h)(E));let I=a&&g||!u?g:this.findNearestKDPoint(f,o,u);return m=I&&I.series,I&&(o&&!m.noSharedTooltip?(f=p.filter(function(E){return y.filter?y.filter(E):h(E)&&!E.noSharedTooltip})).forEach(function(E){let M=V(E.points,function(D){return D.x===I.x&&!D.isNull});L(M)&&(E.boosted&&E.boost&&(M=E.boost.getPoint(M)),d.push(M))}):d.push(I)),H(this,"afterGetHoverData",y={hoverPoint:I}),{hoverPoint:y.hoverPoint,hoverSeries:m,hoverPoints:d}}getPointFromEvent(g){let v=g.target,p;for(;v&&!p;)p=v.point,v=v.parentNode;return p}onTrackerMouseOut(g){let v=this.chart,p=g.relatedTarget,a=v.hoverSeries;this.isDirectTouch=!1,!a||!p||a.stickyTracking||this.inClass(p,"highcharts-tooltip")||this.inClass(p,"highcharts-series-"+a.index)&&this.inClass(p,"highcharts-tracker")||a.onMouseOut()}inClass(g,v){let p=g,a;for(;p;){if(a=Z(p,"class")){if(a.indexOf(v)!==-1)return!0;
131if(a.indexOf("highcharts-container")!==-1)return!1}p=p.parentElement}}constructor(g,v){var p;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=v,this.chart=g,this.runChartClick=!!((p=v.chart.events)!=null&&p.click),this.pinchDown=[],this.setDOMEvents(),H(this,"afterInit")}normalize(g,v){let p=g.touches,a=p?p.length?p.item(0):c(p.changedTouches,g.changedTouches)[0]:g;v||(v=this.getChartPosition());let o=a.pageX-v.left,u=a.pageY-v.top;return Y(g,{chartX:Math.round(o/=v.scaleX),chartY:Math.round(u/=v.scaleY)})}onContainerClick(g){let v=this.chart,p=v.hoverPoint,a=this.normalize(g),o=v.plotLeft,u=v.plotTop;!v.cancelClick&&(p&&this.inClass(a.target,"highcharts-tracker")?(H(p.series,"click",Y(a,{point:p})),v.hoverPoint&&p.firePointEvent("click",a)):(Y(a,this.getCoordinates(a)),v.isInsidePlot(a.chartX-o,a.chartY-u,{visiblePlotOnly:!0})&&H(v,"click",a)))}onContainerMouseDown(g){var p;let v=(1&(g.buttons||g.button))==1;g=this.normalize(g),n.isFirefox&&g.button!==0&&this.onContainerMouseMove(g),(g.button===void 0||v)&&(this.zoomOption(g),v&&((p=g.preventDefault)==null||p.call(g)),this.dragStart(g))}onContainerMouseLeave(g){let{pointer:v}=$[c(P.hoverChartIndex,-1)]||{};g=this.normalize(g),this.onContainerMouseMove(g),v&&!this.inClass(g.relatedTarget,"highcharts-tooltip")&&(v.reset(),v.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(g){let v=this.chart,p=v.tooltip,a=this.normalize(g);this.setHoverChartIndex(g),(v.mouseIsDown==="mousedown"||this.touchSelect(a))&&this.drag(a),!v.openMenu&&(this.inClass(a.target,"highcharts-tracker")||v.isInsidePlot(a.chartX-v.plotLeft,a.chartY-v.plotTop,{visiblePlotOnly:!0}))&&!(p&&p.shouldStickOnContact(a))&&(this.inClass(a.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(a))}onDocumentTouchEnd(g){this.onDocumentMouseUp(g)}onContainerTouchMove(g){this.touchSelect(g)?this.onContainerMouseMove(g):this.touch(g)}onContainerTouchStart(g){this.touchSelect(g)?this.onContainerMouseDown(g):(this.zoomOption(g),this.touch(g,!0))}onDocumentMouseMove(g){let v=this.chart,p=v.tooltip,a=this.chartPosition,o=this.normalize(g,a);!a||v.isInsidePlot(o.chartX-v.plotLeft,o.chartY-v.plotTop,{visiblePlotOnly:!0})||p&&p.shouldStickOnContact(o)||o.target!==v.container.ownerDocument&&this.inClass(o.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(g){var v,p;(p=(v=$[c(P.hoverChartIndex,-1)])==null?void 0:v.pointer)==null||p.drop(g)}pinch(g){let v=this,{chart:p,hasZoom:a,lastTouches:o}=v,u=[].map.call(g.touches||[],y=>v.normalize(y)),d=u.length,h=d===1&&(v.inClass(g.target,"highcharts-tracker")&&p.runTrackerClick||v.runChartClick),m=p.tooltip,f=d===1&&c(m==null?void 0:m.options.followTouchMove,!0);d>1?v.initiated=!0:f&&(v.initiated=!1),a&&v.initiated&&!h&&g.cancelable!==!1&&g.preventDefault(),g.type==="touchstart"?(v.pinchDown=u,v.res=!0,p.mouseDownX=g.chartX):f?this.runPointActions(v.normalize(g)):o&&(H(p,"touchpan",{originalEvent:g,touches:u},()=>{let y=I=>{let E=I[0],M=I[1]||E;return{x:E.chartX,y:E.chartY,width:M.chartX-E.chartX,height:M.chartY-E.chartY}};p.transform({axes:p.axes.filter(I=>I.zoomEnabled&&(this.zoomHor&&I.horiz||this.zoomVert&&!I.horiz)),to:y(u),from:y(o),trigger:g.type})}),v.res&&(v.res=!1,this.reset(!1,0))),v.lastTouches=u}reset(g,v){let p=this.chart,a=p.hoverSeries,o=p.hoverPoint,u=p.hoverPoints,d=p.tooltip,h=d&&d.shared?u:o;g&&h&&N(h).forEach(function(m){m.series.isCartesian&&m.plotX===void 0&&(g=!1)}),g?d&&h&&N(h).length&&(d.refresh(h),d.shared&&u?u.forEach(function(m){m.setState(m.state,!0),m.series.isCartesian&&(m.series.xAxis.crosshair&&m.series.xAxis.drawCrosshair(null,m),m.series.yAxis.crosshair&&m.series.yAxis.drawCrosshair(null,m))}):o&&(o.setState(o.state,!0),p.axes.forEach(function(m){m.crosshair&&o.series[m.coll]===m&&m.drawCrosshair(null,o)}))):(o&&o.onMouseOut(),u&&u.forEach(function(m){m.setState()}),a&&a.onMouseOut(),d&&d.hide(v),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),p.axes.forEach(function(m){m.hideCrosshair()}),p.hoverPoints=p.hoverPoint=void 0)}runPointActions(g,v,p){let a=this.chart,o=a.series,u=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,d=!!u&&u.shared,h=v||a.hoverPoint,m=h&&h.series||a.hoverSeries,f=(!g||g.type!=="touchmove")&&(!!v||m&&m.directTouch&&this.isDirectTouch),y=this.getHoverData(h,m,o,f,d,g);h=y.hoverPoint,m=y.hoverSeries;let I=y.hoverPoints,E=m&&m.tooltipOptions.followPointer&&!m.tooltipOptions.split,M=d&&m&&!m.noSharedTooltip;if(h&&(p||h!==a.hoverPoint||u&&u.isHidden)){if((a.hoverPoints||[]).forEac
131h(function(D){I.indexOf(D)===-1&&D.setState()}),a.hoverSeries!==m&&m.onMouseOver(),this.applyInactiveState(I),(I||[]).forEach(function(D){D.setState("hover")}),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!h.series)return;a.hoverPoints=I,a.hoverPoint=h,h.firePointEvent("mouseOver",void 0,()=>{u&&h&&u.refresh(M?I:h,g)})}else if(E&&u&&!u.isHidden){let D=u.getAnchor([{}],g);a.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&u.updatePosition({plotX:D[0],plotY:D[1]})}this.unDocMouseMove||(this.unDocMouseMove=q(a.container.ownerDocument,"mousemove",D=>{var F,X;return(X=(F=$[P.hoverChartIndex??-1])==null?void 0:F.pointer)==null?void 0:X.onDocumentMouseMove(D)}),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach(function(D){let F,X=c((D.crosshair||{}).snap,!0);!X||(F=a.hoverPoint)&&F.series[D.coll]===D||(F=V(I,_=>_.series&&_.series[D.coll]===D)),F||!X?D.drawCrosshair(g,F):D.hideCrosshair()})}setDOMEvents(){let g=this.chart.container,v=g.ownerDocument;g.onmousedown=this.onContainerMouseDown.bind(this),g.onmousemove=this.onContainerMouseMove.bind(this),g.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(q(g,"mouseenter",this.onContainerMouseEnter.bind(this)),q(g,"mouseleave",this.onContainerMouseLeave.bind(this))),P.unbindDocumentMouseUp||(P.unbindDocumentMouseUp=[]),P.unbindDocumentMouseUp.push(q(v,"mouseup",this.onDocumentMouseUp.bind(this)));let p=this.chart.renderTo.parentElement;for(;p&&p.tagName!=="BODY";)this.eventsToUnbind.push(q(p,"scroll",()=>{delete this.chartPosition})),p=p.parentElement;this.eventsToUnbind.push(q(g,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),q(g,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),P.unbindDocumentTouchEnd||(P.unbindDocumentTouchEnd=q(v,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),q(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var o,u;if(!G)return;let g=this.pointerCaptureEventsToUnbind,v=this.chart,p=v.container,a=c((o=v.options.tooltip)==null?void 0:o.followTouchMove,!0)&&v.series.some(d=>d.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&a?(g.push(q(p,"pointerdown",d=>{var h,m;(h=d.target)!=null&&h.hasPointerCapture(d.pointerId)&&((m=d.target)==null||m.releasePointerCapture(d.pointerId))}),q(p,"pointermove",d=>{var h,m;(m=(h=v.pointer)==null?void 0:h.getPointFromEvent(d))==null||m.onMouseOver(d)})),v.styledMode||R(p,{"touch-action":"none"}),p.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!a&&(g.forEach(d=>d()),g.length=0,v.styledMode||R(p,{"touch-action":c((u=v.options.chart.style)==null?void 0:u["touch-action"],"manipulation")}),p.className=p.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(g){var a;let v=this.chart,p=n.charts[c(P.hoverChartIndex,-1)];if(p&&p!==v){let o={relatedTarget:v.container};g&&!(g!=null&&g.relatedTarget)&&(g=ze(ze({},o),g)),(a=p.pointer)==null||a.onContainerMouseLeave(g||o)}p&&p.mouseIsDown||(P.hoverChartIndex=v.index)}touch(g,v){let p,{chart:a,pinchDown:o=[]}=this;this.setHoverChartIndex(),(g=this.normalize(g)).touches.length===1?a.isInsidePlot(g.chartX-a.plotLeft,g.chartY-a.plotTop,{visiblePlotOnly:!0})&&!a.openMenu?(v&&this.runPointActions(g),g.type==="touchmove"&&(p=!!o[0]&&Math.pow(o[0].chartX-g.chartX,2)+Math.pow(o[0].chartY-g.chartY,2)>=16),c(p,!0)&&this.pinch(g)):v&&this.reset():g.touches.length===2&&this.pinch(g)}touchSelect(g){return!!(this.chart.zooming.singleTouch&&g.touches&&g.touches.length===1)}zoomOption(g){let v=this.chart,p=v.inverted,a=v.zooming.type||"",o,u;/touch/.test(g.type)&&(a=c(v.zooming.pinchType,a)),this.zoomX=o=/x/.test(a),this.zoomY=u=/y/.test(a),this.zoomHor=o&&!p||u&&p,this.zoomVert=u&&!p||o&&p,this.hasZoom=o||u}}return(C=P||(P={})).compose=function(S){x(K,"Core.Pointer")&&q(S,"beforeRender",function(){this.pointer=new C(this,this.options)})},P}),r(e,"Core/Legend/LegendSymbol.js",[e["Core/Utilities.js"]],function(t){var n;let{extend:l,merge:C,pick:B}=t;return function($){function K(G,q,Z){var p,a;let R=this.legendItem=this.legendItem||{},{chart:Y,options:V}
131=this,{baseline:H=0,symbolWidth:T,symbolHeight:L}=G,j=this.symbol||"circle",s=L/2,c=Y.renderer,x=R.group,N=H-Math.round((((p=G.fontMetrics)==null?void 0:p.b)||L)*(Z?.4:.3)),P={},S,g=V.marker,v=0;if(Y.styledMode||(P["stroke-width"]=Math.min(V.lineWidth||0,24),V.dashStyle?P.dashstyle=V.dashStyle:V.linecap==="square"||(P["stroke-linecap"]="round")),R.line=c.path().addClass("highcharts-graph").attr(P).add(x),Z&&(R.area=c.path().addClass("highcharts-area").add(x)),P["stroke-linecap"]&&(v=Math.min(R.line.strokeWidth(),T)/2),T){let o=[["M",v,N],["L",T-v,N]];R.line.attr({d:o}),(a=R.area)==null||a.attr({d:[...o,["L",T-v,H],["L",v,H]]})}if(g&&g.enabled!==!1&&T){let o=Math.min(B(g.radius,s),s);j.indexOf("url")===0&&(g=C(g,{width:L,height:L}),o=0),R.symbol=S=c.symbol(j,T/2-o,N-o,2*o,2*o,l({context:"legend"},g)).addClass("highcharts-point").add(x),S.isMarker=!0}}$.areaMarker=function(G,q){K.call(this,G,q,!0)},$.lineMarker=K,$.rectangle=function(G,q){let Z=q.legendItem||{},R=G.options,Y=G.symbolHeight,V=R.squareSymbol,H=V?Y:G.symbolWidth;Z.symbol=this.chart.renderer.rect(V?(G.symbolWidth-Y)/2:0,G.baseline-Y+1,H,Y,B(G.options.symbolRadius,Y/2)).addClass("highcharts-point").attr({zIndex:3}).add(Z.group)}}(n||(n={})),n}),r(e,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:t}=this.series.chart;return typeof this.y!="number"?"":t(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),r(e,"Core/Series/SeriesRegistry.js",[e["Core/Globals.js"],e["Core/Defaults.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{defaultOptions:$}=n,{extend:K,extendClass:G,merge:q}=C;return function(Z){function R(Y,V){let H=$.plotOptions||{},T=V.defaultOptions,L=V.prototype;return L.type=Y,L.pointClass||(L.pointClass=l),!Z.seriesTypes[Y]&&(T&&(H[Y]=T),Z.seriesTypes[Y]=V,!0)}Z.seriesTypes=t.seriesTypes,Z.registerSeriesType=R,Z.seriesType=function(Y,V,H,T,L){let j=$.plotOptions||{};if(V=V||"",j[Y]=q(j[V],H),delete Z.seriesTypes[Y],R(Y,G(Z.seriesTypes[V]||function(){},T)),Z.seriesTypes[Y].prototype.type=Y,L){class s extends l{}K(s.prototype,L),Z.seriesTypes[Y].prototype.pointClass=s}return Z.seriesTypes[Y]}}(B||(B={})),B}),r(e,"Core/Series/Series.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q,Z){let{animObject:R,setAnimation:Y}=t,{defaultOptions:V}=n,{registerEventOptions:H}=l,{svg:T,win:L}=C,{seriesTypes:j}=G,{arrayMax:s,arrayMin:c,clamp:x,correctFloat:N,crisp:P,defined:S,destroyObjectProperties:g,diffObjects:v,erase:p,error:a,extend:o,find:u,fireEvent:d,getClosestDistance:h,getNestedProperty:m,insertItem:f,isArray:y,isNumber:I,isString:E,merge:M,objectEach:D,pick:F,removeEvent:X,splat:_,syncTimeout:w}=Z;class A{constructor(){this.zoneAxis="y"}init(b,k){let O;d(this,"init",{options:k});let z=this,W=b.series;this.eventsToUnbind=[],z.chart=b,z.options=z.setOptions(k);let Q=z.options,ee=Q.visible!==!1;z.linkedSeries=[],z.bindAxes(),o(z,{name:Q.name,state:"",visible:ee,selected:Q.selected===!0}),H(this,Q);let se=Q.events;(se&&se.click||Q.point&&Q.point.events&&Q.point.events.click||Q.allowPointSelect)&&(b.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(ae){z[ae+"Data"]||(z[ae+"Data"]=[])}),z.isCartesian&&(b.hasCartesianSeries=!0),W.length&&(O=W[W.length-1]),z._i=F(O&&O._i,-1)+1,z.opacity=z.options.opacity,b.orderItems("series",f(this,W)),Q.dataSorting&&Q.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(Q.data,!1),d(this,"afterInit")}is(b){return j[b]&&this instanceof j[b]}bindAxes(){let b,k=this,O=k.options,z=k.chart;
131d(this,"bindAxes",null,function(){(k.axisTypes||[]).forEach(function(W){(z[W]||[]).forEach(function(Q){b=Q.options,(F(O[W],0)===Q.index||O[W]!==void 0&&O[W]===b.id)&&(f(k,Q.series),k[W]=Q,Q.isDirty=!0)}),k[W]||k.optionalAxis===W||a(18,!0,z)})}),d(this,"afterBindAxes")}updateParallelArrays(b,k,O){let z=b.series,W=I(k)?function(Q){let ee=Q==="y"&&z.toYData?z.toYData(b):b[Q];z[Q+"Data"][k]=ee}:function(Q){Array.prototype[k].apply(z[Q+"Data"],O)};z.parallelArrays.forEach(W)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(b,k){let O=b.marker,z=k.marker||{};return O&&(z.enabled&&!O.enabled||z.symbol!==O.symbol||z.height!==O.height||z.width!==O.width)}autoIncrement(b){let k=this.options,O=k.pointIntervalUnit,z=k.relativeXValue,W=this.chart.time,Q=this.xIncrement,ee,se;return Q=F(Q,k.pointStart,0),this.pointInterval=se=F(this.pointInterval,k.pointInterval,1),z&&I(b)&&(se*=b),O&&(ee=new W.Date(Q),O==="day"?W.set("Date",ee,W.get("Date",ee)+se):O==="month"?W.set("Month",ee,W.get("Month",ee)+se):O==="year"&&W.set("FullYear",ee,W.get("FullYear",ee)+se),se=ee.getTime()-Q),z&&I(b)?Q+se:(this.xIncrement=Q+se,Q)}setDataSortingOptions(){let b=this.options;o(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(b.pointRange)||(b.pointRange=1)}setOptions(b){var le,ue;let k,O=this.chart,z=O.options.plotOptions,W=O.userOptions||{},Q=M(b),ee=O.styledMode,se={plotOptions:z,userOptions:Q};d(this,"setOptions",se);let ae=se.plotOptions[this.type],he=W.plotOptions||{},ce=he.series||{},ie=V.plotOptions[this.type]||{},te=he[this.type]||{};this.userOptions=se.userOptions;let ne=M(ae,z.series,te,Q);this.tooltipOptions=M(V.tooltip,(le=V.plotOptions.series)==null?void 0:le.tooltip,ie==null?void 0:ie.tooltip,O.userOptions.tooltip,(ue=he.series)==null?void 0:ue.tooltip,te.tooltip,Q.tooltip),this.stickyTracking=F(Q.stickyTracking,te.stickyTracking,ce.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ne.stickyTracking),ae.marker===null&&delete ne.marker,this.zoneAxis=ne.zoneAxis||"y";let oe=this.zones=(ne.zones||[]).map(de=>ze({},de));return(ne.negativeColor||ne.negativeFillColor)&&!ne.zones&&(k={value:ne[this.zoneAxis+"Threshold"]||ne.threshold||0,className:"highcharts-negative"},ee||(k.color=ne.negativeColor,k.fillColor=ne.negativeFillColor),oe.push(k)),oe.length&&S(oe[oe.length-1].value)&&oe.push(ee?{}:{color:this.color,fillColor:this.fillColor}),d(this,"afterSetOptions",{options:ne}),ne}getName(){return F(this.options.name,"Series "+(this.index+1))}getCyclic(b,k,O){let z,W,Q=this.chart,ee=`${b}Index`,se=`${b}Counter`,ae=(O==null?void 0:O.length)||Q.options.chart.colorCount;!k&&(S(W=F(b==="color"?this.options.colorIndex:void 0,this[ee]))?z=W:(Q.series.length||(Q[se]=0),z=Q[se]%ae,Q[se]+=1),O&&(k=O[z])),z!==void 0&&(this[ee]=z),this[b]=k}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||V.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let b=this.options.marker;this.getCyclic("symbol",b.symbol,this.chart.options.symbols)}findPointIndex(b,k){let O,z,W,Q=b.id,ee=b.x,se=this.points,ae=this.options.dataSorting;if(Q){let he=this.chart.get(Q);he instanceof $&&(O=he)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let he=ce=>!ce.touched&&ce.index===b.index;if(ae&&ae.matchByName?he=ce=>!ce.touched&&ce.name===b.name:this.options.relativeXValue&&(he=ce=>!ce.touched&&ce.options.x===b.x),!(O=u(se,he)))return}return O&&(W=O&&O.index)!==void 0&&(z=!0),W===void 0&&I(ee)&&(W=this.xData.indexOf(ee,k)),W!==-1&&W!==void 0&&this.cropped&&(W=W>=this.cropStart?W-this.cropStart:W),!z&&I(W)&&se[W]&&se[W].touched&&(W=void 0),W}updateData(b,k){let O=this.options,z=O.dataSorting,W=this.points,Q=[],ee=this.requireSorting,se=b.length===W.length,ae,he,ce,ie,te=!0;if(this.xIncrement=null,b.forEach(function(ne,oe){let le,ue=S(ne)&&this.pointClass.prototype.optionsToObject.call({series:this},ne)||{},de=ue.x;ue.id||I(de)?((le=this.findPointIndex(ue,ie))===-1||le===void 0?Q.push(ne):W[le]&&ne!==O.data[le]?(W[le].update(ne,!1,null,!1),W[le].touched=!0,ee&&(ie=le+1)):W[le]&&(W[le].touched=!0),(!se||oe!==le||z&&z.enabled||this.hasDerivedData)&&(ae=!0)):Q.push(ne)},this),ae)for(he=W.length;he--;)(ce=W[he])&&!ce.touched&&ce.remove&&ce.remove(!1,k);else!se||z&&z.enabled?te=!1:(b.forEach(function(ne,oe){ne===W[oe].y||W[oe].destroyed||W[oe].update(ne,!1,null,!1)}),Q.length=0);return W.forEach(function(ne){ne&&(ne.touched=!1)}
131),!!te&&(Q.forEach(function(ne){this.addPoint(ne,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=s(this.xData),this.autoIncrement()),!0)}setData(b,k=!0,O,z){var Se;let W=this,Q=W.points,ee=Q&&Q.length||0,se=W.options,ae=W.chart,he=se.dataSorting,ce=W.xAxis,ie=se.turboThreshold,te=this.xData,ne=this.yData,oe=W.pointArrayMap,le=oe&&oe.length,ue=se.keys,de,fe,me,ge=0,Ee=1,ve;ae.options.chart.allowMutatingData||(se.data&&delete W.options.data,W.userOptions.data&&delete W.userOptions.data,ve=M(!0,b));let ye=(b=ve||b||[]).length;if(he&&he.enabled&&(b=this.sortData(b)),ae.options.chart.allowMutatingData&&z!==!1&&ye&&ee&&!W.cropped&&!W.hasGroupedData&&W.visible&&!W.boosted&&(me=this.updateData(b,O)),!me){W.xIncrement=null,W.colorCounter=0,this.parallelArrays.forEach(function(Ce){W[Ce+"Data"].length=0});let xe=ie&&ye>ie;if(xe){let Ce=W.getFirstValidPoint(b),Oe=W.getFirstValidPoint(b,ye-1,-1),Pe=He=>!!(y(He)&&(ue||I(He[0])));if(I(Ce)&&I(Oe))for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else if(Pe(Ce)&&Pe(Oe))if(le)if(Ce.length===le)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[0],ne[de]=fe.slice(1,le+1);else if(ue&&(ge=ue.indexOf("x"),Ee=ue.indexOf("y"),ge=ge>=0?ge:0,Ee=Ee>=0?Ee:1),Ce.length===1&&(Ee=0),ge===Ee)for(de=0;de<ye;de++)te[de]=this.autoIncrement(),ne[de]=b[de][Ee];else for(de=0;de<ye;de++)fe=b[de],te[de]=fe[ge],ne[de]=fe[Ee];else xe=!1}if(!xe)for(de=0;de<ye;de++)fe={series:W},W.pointClass.prototype.applyOptions.apply(fe,[b[de]]),W.updateParallelArrays(fe,de);for(ne&&E(ne[0])&&a(14,!0,ae),W.data=[],W.options.data=W.userOptions.data=b,de=ee;de--;)(Se=Q[de])==null||Se.destroy();ce&&(ce.minRange=ce.userMinRange),W.isDirty=ae.isDirtyBox=!0,W.isDirtyData=!!Q,O=!1}se.legendType==="point"&&(this.processData(),this.generatePoints()),k&&ae.redraw(O)}sortData(b){let k=this,O=k.options.dataSorting.sortKey||"y",z=function(W,Q){return S(Q)&&W.pointClass.prototype.optionsToObject.call({series:W},Q)||{}};return b.forEach(function(W,Q){b[Q]=z(k,W),b[Q].index=Q},this),b.concat().sort((W,Q)=>{let ee=m(O,W),se=m(O,Q);return se<ee?-1:se>ee?1:0}).forEach(function(W,Q){W.x=Q},this),k.linkedSeries&&k.linkedSeries.forEach(function(W){let Q=W.options,ee=Q.data;Q.dataSorting&&Q.dataSorting.enabled||!ee||(ee.forEach(function(se,ae){ee[ae]=z(W,se),b[ae]&&(ee[ae].x=b[ae].x,ee[ae].index=ae)}),W.setData(ee,!1))}),b}getProcessedData(b){let k=this,O=k.xAxis,z=k.options.cropThreshold,W=O==null?void 0:O.logarithmic,Q=k.isCartesian,ee,se,ae=0,he,ce,ie,te=k.xData,ne=k.yData,oe=!1,le=te.length;O&&(ce=(he=O.getExtremes()).min,ie=he.max,oe=!!(O.categories&&!O.names.length)),Q&&k.sorted&&!b&&(!z||le>z||k.forceCrop)&&(te[le-1]<ce||te[0]>ie?(te=[],ne=[]):k.yData&&(te[0]<ce||te[le-1]>ie)&&(te=(ee=this.cropData(k.xData,k.yData,ce,ie)).xData,ne=ee.yData,ae=ee.start,se=!0));let ue=h([W?te.map(W.log2lin):te],()=>k.requireSorting&&!oe&&a(15,!1,k.chart));return{xData:te,yData:ne,cropped:se,cropStart:ae,closestPointRange:ue}}processData(b){let k=this.xAxis;if(this.isCartesian&&!this.isDirty&&!k.isDirty&&!this.yAxis.isDirty&&!b)return!1;let O=this.getProcessedData();this.cropped=O.cropped,this.cropStart=O.cropStart,this.processedXData=O.xData,this.processedYData=O.yData,this.closestPointRange=this.basePointRange=O.closestPointRange,d(this,"afterProcessData")}cropData(b,k,O,z){let W=b.length,Q,ee,se=0,ae=W;for(Q=0;Q<W;Q++)if(b[Q]>=O){se=Math.max(0,Q-1);break}for(ee=Q;ee<W;ee++)if(b[ee]>z){ae=ee+1;break}return{xData:b.slice(se,ae),yData:k.slice(se,ae),start:se,end:ae}}generatePoints(){let b=this.options,k=this.processedData||b.data,O=this.processedXData,z=this.processedYData,W=this.pointClass,Q=O.length,ee=this.cropStart||0,se=this.hasGroupedData,ae=b.keys,he=[],ce=b.dataGrouping&&b.dataGrouping.groupAll?ee:0,ie,te,ne,oe,le=this.data;if(!le&&!se){let ue=[];ue.length=k.length,le=this.data=ue}for(ae&&se&&(this.options.keys=!1),oe=0;oe<Q;
131oe++)te=ee+oe,se?((ne=new W(this,[O[oe]].concat(_(z[oe])))).dataGroup=this.groupMap[ce+oe],ne.dataGroup.options&&(ne.options=ne.dataGroup.options,o(ne,ne.dataGroup.options),delete ne.dataLabels)):(ne=le[te])||k[te]===void 0||(le[te]=ne=new W(this,k[te],O[oe])),ne&&(ne.index=se?ce+oe:te,he[oe]=ne);if(this.options.keys=ae,le&&(Q!==(ie=le.length)||se))for(oe=0;oe<ie;oe++)oe!==ee||se||(oe+=Q),le[oe]&&(le[oe].destroyElements(),le[oe].plotX=void 0);this.data=le,this.points=he,d(this,"afterGeneratePoints")}getXExtremes(b){return{min:c(b),max:s(b)}}getExtremes(b,k){let O=this.xAxis,z=this.yAxis,W=[],Q=this.requireSorting&&!this.is("column")?1:0,ee=!!z&&z.positiveValuesOnly,se=k||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:ae,processedYData:he}=this,ce,ie,te,ne,oe,le,ue,de=0,fe=0,me=0;if(this.cropped&&se){let ye=this.getProcessedData(!0);ae=ye.xData,he=ye.yData}let ge=(b=b||this.stackedYData||he||[]).length,Ee=ae||this.xData;for(O&&(de=(ce=O.getExtremes()).min,fe=ce.max),le=0;le<ge;le++)if(ne=Ee[le],ie=(I(oe=b[le])||y(oe))&&((I(oe)?oe>0:oe.length)||!ee),te=k||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!O||(Ee[le+Q]||ne)>=de&&(Ee[le-Q]||ne)<=fe,ie&&te)if(ue=oe.length)for(;ue--;)I(oe[ue])&&(W[me++]=oe[ue]);else W[me++]=oe;let ve={activeYData:W,dataMin:c(W),dataMax:s(W)};return d(this,"afterGetExtremes",{dataExtremes:ve}),ve}applyExtremes(){let b=this.getExtremes();return this.dataMin=b.dataMin,this.dataMax=b.dataMax,b}getFirstValidPoint(b,k=0,O=1){let z=b.length,W=k;for(;W>=0&&W<z;){if(S(b[W]))return b[W];W+=O}}translate(){var fe;this.processedXData||this.processData(),this.generatePoints();let b=this.options,k=b.stacking,O=this.xAxis,z=O.categories,W=this.enabledDataSorting,Q=this.yAxis,ee=this.points,se=ee.length,ae=this.pointPlacementToXValue(),he=!!ae,ce=b.threshold,ie=b.startFromThreshold?ce:0,te,ne,oe,le,ue=Number.MAX_VALUE;function de(me){return x(me,-1e9,1e9)}for(te=0;te<se;te++){let me,ge=ee[te],Ee=ge.x,ve,ye,Se=ge.y,xe=ge.low,Ce=k&&((fe=Q.stacking)==null?void 0:fe.stacks[(this.negStacks&&Se<(ie?0:ce)?"-":"")+this.stackKey]);ne=O.translate(Ee,!1,!1,!1,!0,ae),ge.plotX=I(ne)?N(de(ne)):void 0,k&&this.visible&&Ce&&Ce[Ee]&&(le=this.getStackIndicator(le,Ee,this.index),!ge.isNull&&le.key&&(ye=(ve=Ce[Ee]).points[le.key]),ve&&y(ye)&&(xe=ye[0],Se=ye[1],xe===ie&&le.key===Ce[Ee].base&&(xe=F(I(ce)?ce:Q.min)),Q.positiveValuesOnly&&S(xe)&&xe<=0&&(xe=void 0),ge.total=ge.stackTotal=F(ve.total),ge.percentage=S(ge.y)&&ve.total?ge.y/ve.total*100:void 0,ge.stackY=Se,this.irregularWidths||ve.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),ge.yBottom=S(xe)?de(Q.translate(xe,!1,!0,!1,!0)):void 0,this.dataModify&&(Se=this.dataModify.modifyValue(Se,te)),I(Se)&&ge.plotX!==void 0&&(me=I(me=Q.translate(Se,!1,!0,!1,!0))?de(me):void 0),ge.plotY=me,ge.isInside=this.isPointInside(ge),ge.clientX=he?N(O.translate(Ee,!1,!1,!1,!0,ae)):ne,ge.negative=(ge.y||0)<(ce||0),ge.category=F(z&&z[ge.x],ge.x),ge.isNull||ge.visible===!1||(oe!==void 0&&(ue=Math.min(ue,Math.abs(ne-oe))),oe=ne),ge.zone=this.zones.length?ge.getZone():void 0,!ge.graphic&&this.group&&W&&(ge.isNew=!0)}this.closestPointRangePx=ue,d(this,"afterTranslate")}getValidPoints(b,k,O){let z=this.chart;return(b||this.points||[]).filter(function(W){let{plotX:Q,plotY:ee}=W;return!!((O||!W.isNull&&I(ee))&&(!k||z.isInsidePlot(Q,ee,{inverted:z.inverted})))&&W.visible!==!1})}getClipBox(){let{chart:b,xAxis:k,yAxis:O}=this,{x:z,y:W,width:Q,height:ee}=M(b.clipBox);return k&&k.len!==b.plotSizeX&&(Q=k.len),O&&O.len!==b.plotSizeY&&(ee=O.len),b.inverted&&!this.invertible&&([Q,ee]=[ee,Q]),{x:z,y:W,width:Q,height:ee}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:b,group:k,markerGroup:O}=this,z=b.sharedClips,W=b.renderer,Q=this.getClipBox(),ee=this.getSharedClipKey(),se=z[ee];se?se.animate(Q):z[ee]=se=W.clipRect(Q),k&&k.clip(this.options.clip===!1?void 0:se),O&&O.clip()}animate(b){let{chart:k,group:O,markerGroup:z}
131=this,W=k.inverted,Q=R(this.options.animation),ee=[this.getSharedClipKey(),Q.duration,Q.easing,Q.defer].join(","),se=k.sharedClips[ee],ae=k.sharedClips[ee+"m"];if(b&&O){let he=this.getClipBox();if(se)se.attr("height",he.height);else{he.width=0,W&&(he.x=k.plotHeight),se=k.renderer.clipRect(he),k.sharedClips[ee]=se;let ce={x:-99,y:-99,width:W?k.plotWidth+199:99,height:W?99:k.plotHeight+199};ae=k.renderer.clipRect(ce),k.sharedClips[ee+"m"]=ae}O.clip(se),z==null||z.clip(ae)}else if(se&&!se.hasClass("highcharts-animating")){let he=this.getClipBox(),ce=Q.step;(z!=null&&z.element.childNodes.length||k.series.length>1)&&(Q.step=function(ie,te){ce&&ce.apply(te,arguments),te.prop==="width"&&(ae!=null&&ae.element)&&ae.attr(W?"height":"width",ie+99)}),se.addClass("highcharts-animating").animate(he,Q)}}afterAnimate(){this.setClip(),D(this.chart.sharedClips,(b,k,O)=>{b&&!this.chart.container.querySelector(`[clip-path="url(#${b.id})"]`)&&(b.destroy(),delete O[k])}),this.finishedAnimating=!0,d(this,"afterAnimate")}drawPoints(b=this.points){let k,O,z,W,Q,ee,se,ae=this.chart,he=ae.styledMode,{colorAxis:ce,options:ie}=this,te=ie.marker,ne=this[this.specialGroup||"markerGroup"],oe=this.xAxis,le=F(te.enabled,!oe||!!oe.isRadial||null,this.closestPointRangePx>=te.enabledThreshold*te.radius);if(te.enabled!==!1||this._hasPointMarkers)for(k=0;k<b.length;k++)if(W=(z=(O=b[k]).graphic)?"animate":"attr",Q=O.marker||{},ee=!!O.marker,(le&&Q.enabled===void 0||Q.enabled)&&!O.isNull&&O.visible!==!1){let ue=F(Q.symbol,this.symbol,"rect");se=this.markerAttribs(O,O.selected&&"select"),this.enabledDataSorting&&(O.startXPos=oe.reversed?-(se.width||0):oe.width);let de=O.isInside!==!1;if(!z&&de&&((se.width||0)>0||O.hasImage)&&(O.graphic=z=ae.renderer.symbol(ue,se.x,se.y,se.width,se.height,ee?Q:te).add(ne),this.enabledDataSorting&&ae.hasRendered&&(z.attr({x:O.startXPos}),W="animate")),z&&W==="animate"&&z[de?"show":"hide"](de).animate(se),z){let fe=this.pointAttribs(O,he||!O.selected?void 0:"select");he?ce&&z.css({fill:fe.fill}):z[W](fe)}z&&z.addClass(O.getClassName(),!0)}else z&&(O.graphic=z.destroy())}markerAttribs(b,k){let O=this.options,z=O.marker,W=b.marker||{},Q=W.symbol||z.symbol,ee={},se,ae,he=F(W.radius,z&&z.radius);k&&(se=z.states[k],he=F((ae=W.states&&W.states[k])&&ae.radius,se&&se.radius,he&&he+(se&&se.radiusPlus||0))),b.hasImage=Q&&Q.indexOf("url")===0,b.hasImage&&(he=0);let ce=b.pos();return I(he)&&ce&&(O.crisp&&(ce[0]=P(ce[0],b.hasImage?0:Q==="rect"?(z==null?void 0:z.lineWidth)||0:1)),ee.x=ce[0]-he,ee.y=ce[1]-he),he&&(ee.width=ee.height=2*he),ee}pointAttribs(b,k){let O=this.options.marker,z=b&&b.options,W=z&&z.marker||{},Q=z&&z.color,ee=b&&b.color,se=b&&b.zone&&b.zone.color,ae,he,ce=this.color,ie,te,ne=F(W.lineWidth,O.lineWidth),oe=1;return ce=Q||se||ee||ce,ie=W.fillColor||O.fillColor||ce,te=W.lineColor||O.lineColor||ce,k=k||"normal",ae=O.states[k]||{},ne=F((he=W.states&&W.states[k]||{}).lineWidth,ae.lineWidth,ne+F(he.lineWidthPlus,ae.lineWidthPlus,0)),ie=he.fillColor||ae.fillColor||ie,{stroke:te=he.lineColor||ae.lineColor||te,"stroke-width":ne,fill:ie,opacity:oe=F(he.opacity,ae.opacity,oe)}}destroy(b){let k,O,z,W=this,Q=W.chart,ee=/AppleWebKit\/533/.test(L.navigator.userAgent),se=W.data||[];for(d(W,"destroy",{keepEventsForUpdate:b}),this.removeEvents(b),(W.axisTypes||[]).forEach(function(ae){(z=W[ae])&&z.series&&(p(z.series,W),z.isDirty=z.forceRedraw=!0)}),W.legendItem&&W.chart.legend.destroyItem(W),k=se.length;k--;)(O=se[k])&&O.destroy&&O.destroy();for(let ae of W.zones)g(ae,void 0,!0);Z.clearTimeout(W.animationTimeout),D(W,function(ae,he){ae instanceof q&&!ae.survive&&ae[ee&&he==="group"?"hide":"destroy"]()}),Q.hoverSeries===W&&(Q.hoverSeries=void 0),p(Q.series,W),Q.orderItems("series"),D(W,function(ae,he){b&&he==="hcEvents"||delete W[he]})}applyZones(){let{area:b,chart:k,graph:O,zones:z,points:W,xAxis:Q,yAxis:ee,zoneAxis:se}=this,{inverted:ae,renderer:he}=k,ce=this[`${se}Axis`],{isXAxis:ie,len:te=0}=ce||{},ne=((O==null?void 0:O.strokeWidth())||0)/2+1,oe=(le,ue=0,de=0)=>{ae&&(de=te-de);let{translated:fe=0,lineClip:me}=le,ge=de-fe;me==null||me.push(["L",ue,Math.abs(ge)<ne?de-ne*(ge<=0?-1:1):fe])};if(z.length&&(O||b)&&ce&&I(ce.min)){let le=ce.getExtremes().max,ue=me=>{me.forEach((ge,Ee)=>{(ge[0]==="M"||ge[0]==="L")&&(me[Ee]=[ge[0],ie?te-ge[1]:ge[1],ie?ge[2]:te-ge[2]])})};if(z.forEach(me=>{me.lineClip=[],me.translated=x(ce.toPixels(F(me.value,le),!0)||0,0,te)}),O&&!this.showLine&&O.hide(),b&&b.hide(),se==="y"&&W.length<Q.len)for(let me of W){let{plotX:ge,plotY:Ee,zone:ve}=me,ye=ve&&z[z.indexOf(ve)-1];ve&&oe(ve,ge,Ee),ye&&oe(ye,ge,Ee)}let de=[],fe=ce.toPixels(ce.getExtremes().min,!0);z.forEach(me=>{var Je,Xe;let ge=me.lineClip||[],Ee=Math.round(me.translated||0);Q.reversed&&ge.reverse();let{clip:ve,simpleClip:ye}=me,Se=0,xe=0,Ce=Q.len,Oe=ee.len;ie?(Se=Ee,Ce=fe):(xe=Ee,Oe=fe);let Pe=[["M",Se,xe],["L",Ce,xe],["L",Ce,Oe],["L",Se,Oe],["Z"]],He=[Pe[0],...ge,Pe[1],Pe[2],...de,Pe[3],Pe[4]];de=ge.reverse(),fe=Ee,ae&&(ue(He),b&&ue(Pe)),ve?(ve.animate({d:He}),ye==null||ye.animate({d:Pe})):(ve=me.clip=he.path(He),b&&(ye=me.simpleClip=he.path(Pe))),O&&((Je=me.graph)==null||Je.clip(ve)),b&&((Xe=me.area)==null||Xe.clip(ye))})}else this.visible&&(O&&O.show(),b&&b.show())}plotGroup(b,k,O,z,W){let Q=this[b],ee=!Q,se={visibility:O,zIndex:z||.1};return S(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(se.opacity=this.opacity),Q||(this[b]=Q=this.chart.renderer.g().add(W)),Q.addClass("highcharts-"+k+" highcharts-series-"+this.index+" highcharts-"+this.t
131ype+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(Q.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),Q.attr(se)[ee?"attr":"animate"](this.getPlotBox(k)),Q}getPlotBox(b){let k=this.xAxis,O=this.yAxis,z=this.chart,W=z.inverted&&!z.polar&&k&&this.invertible&&b==="series";return z.inverted&&(k=O,O=this.xAxis),{translateX:k?k.left:z.plotLeft,translateY:O?O.top:z.plotTop,rotation:W?90:0,rotationOriginX:W?(k.len-O.len)/2:0,rotationOriginY:W?(k.len+O.len)/2:0,scaleX:W?-1:1,scaleY:1}}removeEvents(b){let{eventsToUnbind:k}=this;b||X(this),k.length&&(k.forEach(O=>{O()}),k.length=0)}render(){var he,ce,ie,te,ne;let b=this,{chart:k,options:O,hasRendered:z}=b,W=R(O.animation),Q=b.visible?"inherit":"hidden",ee=O.zIndex,se=k.seriesGroup,ae=b.finishedAnimating?0:W.duration;d(this,"render"),b.plotGroup("group","series",Q,ee,se),b.markerGroup=b.plotGroup("markerGroup","markers",Q,ee,se),O.clip!==!1&&b.setClip(),ae&&((he=b.animate)==null||he.call(b,!0)),b.drawGraph&&(b.drawGraph(),b.applyZones()),b.visible&&b.drawPoints(),(ce=b.drawDataLabels)==null||ce.call(b),(ie=b.redrawPoints)==null||ie.call(b),O.enableMouseTracking&&((te=b.drawTracker)==null||te.call(b)),ae&&((ne=b.animate)==null||ne.call(b)),z||(ae&&W.defer&&(ae+=W.defer),b.animationTimeout=w(()=>{b.afterAnimate()},ae||0)),b.isDirty=!1,b.hasRendered=!0,d(b,"afterRender")}redraw(){let b=this.isDirty||this.isDirtyData;this.translate(),this.render(),b&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(b,k){let{xAxis:O,yAxis:z}=this,W=this.chart.inverted;return this.searchKDTree({clientX:W?O.len-b.chartY+O.pos:b.chartX-O.pos,plotY:W?z.len-b.chartX+z.pos:b.chartY-z.pos},k,b)}buildKDTree(b){this.buildingKdTree=!0;let k=this,O=k.options.findNearestPointBy.indexOf("y")>-1?2:1;delete k.kdTree,w(function(){k.kdTree=function z(W,Q,ee){let se,ae,he=W==null?void 0:W.length;if(he)return se=k.kdAxisArray[Q%ee],W.sort((ce,ie)=>(ce[se]||0)-(ie[se]||0)),{point:W[ae=Math.floor(he/2)],left:z(W.slice(0,ae),Q+1,ee),right:z(W.slice(ae+1),Q+1,ee)}}(k.getValidPoints(void 0,!k.directTouch),O,O),k.buildingKdTree=!1},k.options.kdNow||(b==null?void 0:b.type)==="touchstart"?0:1)}searchKDTree(b,k,O){let z=this,[W,Q]=this.kdAxisArray,ee=k?"distX":"dist",se=(z.options.findNearestPointBy||"").indexOf("y")>-1?2:1,ae=!!z.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(O),this.kdTree)return function he(ce,ie,te,ne){var ve;let oe=ie.point,le=z.kdAxisArray[te%ne],ue,de,fe=oe;(function(ye,Se){var dt;let xe=ye[W],Ce=Se[W],Oe=S(xe)&&S(Ce)?xe-Ce:null,Pe=ye[Q],He=Se[Q],Je=S(Pe)&&S(He)?Pe-He:0,Xe=ae&&((dt=Se.marker)==null?void 0:dt.radius)||0;Se.dist=Math.sqrt((Oe&&Oe*Oe||0)+Je*Je)-Xe,Se.distX=S(Oe)?Math.abs(Oe)-Xe:Number.MAX_VALUE})(ce,oe);let me=(ce[le]||0)-(oe[le]||0)+(ae&&((ve=oe.marker)==null?void 0:ve.radius)||0),ge=me<0?"left":"right",Ee=me<0?"right":"left";return ie[ge]&&(fe=(ue=he(ce,ie[ge],te+1,ne))[ee]<fe[ee]?ue:oe),ie[Ee]&&Math.sqrt(me*me)<fe[ee]&&(fe=(de=he(ce,ie[Ee],te+1,ne))[ee]<fe[ee]?de:fe),fe}(b,this.kdTree,se,se)}pointPlacementToXValue(){let{options:b,xAxis:k}=this,O=b.pointPlacement;return O==="between"&&(O=k.reversed?-.5:.5),I(O)?O*(b.pointRange||k.pointRange):0}isPointInside(b){let{chart:k,xAxis:O,yAxis:z}=this,{plotX:W=-1,plotY:Q=-1}=b;return Q>=0&&Q<=(z?z.len:k.plotHeight)&&W>=0&&W<=(O?O.len:k.plotWidth)}drawTracker(){var ie;let b=this,k=b.options,O=k.trackByArea,z=[].concat((O?b.areaPath:b.graphPath)||[]),W=b.chart,Q=W.pointer,ee=W.renderer,se=((ie=W.options.tooltip)==null?void 0:ie.snap)||0,ae=()=>{k.enableMouseTracking&&W.hoverSeries!==b&&b.onMouseOver()},he="rgba(192,192,192,"+(T?1e-4:.002)+")",ce=b.tracker;ce?ce.attr({d:z}):b.graph&&(b.tracker=ce=ee.path(z).attr({visibility:b.visible?"inherit":"hidden",zIndex:2}).addClass(O?"highcharts-tracker-area":"highcharts-tracker-line").add(b.group),W.styledMode||ce.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:he,fill:O?he:"none","stroke-width":b.graph.strokeWidth()+(O?0:2*se)}
131),[b.tracker,b.markerGroup,b.dataLabelsGroup].forEach(te=>{te&&(te.addClass("highcharts-tracker").on("mouseover",ae).on("mouseout",ne=>{Q==null||Q.onTrackerMouseOut(ne)}),k.cursor&&!W.styledMode&&te.css({cursor:k.cursor}),te.on("touchstart",ae))})),d(this,"afterDrawTracker")}addPoint(b,k,O,z,W){let Q,ee,se=this.options,ae=this.data,he=this.chart,ce=this.xAxis,ie=ce&&ce.hasNames&&ce.names,te=se.data,ne=this.xData;k=F(k,!0);let oe={series:this};this.pointClass.prototype.applyOptions.apply(oe,[b]);let le=oe.x;if(ee=ne.length,this.requireSorting&&le<ne[ee-1])for(Q=!0;ee&&ne[ee-1]>le;)ee--;this.updateParallelArrays(oe,"splice",[ee,0,0]),this.updateParallelArrays(oe,ee),ie&&oe.name&&(ie[le]=oe.name),te.splice(ee,0,b),(Q||this.processedData)&&(this.data.splice(ee,0,null),this.processData()),se.legendType==="point"&&this.generatePoints(),O&&(ae[0]&&ae[0].remove?ae[0].remove(!1):(ae.shift(),this.updateParallelArrays(oe,"shift"),te.shift())),W!==!1&&d(this,"addPoint",{point:oe}),this.isDirty=!0,this.isDirtyData=!0,k&&he.redraw(z)}removePoint(b,k,O){let z=this,W=z.data,Q=W[b],ee=z.points,se=z.chart,ae=function(){ee&&ee.length===W.length&&ee.splice(b,1),W.splice(b,1),z.options.data.splice(b,1),z.updateParallelArrays(Q||{series:z},"splice",[b,1]),Q&&Q.destroy(),z.isDirty=!0,z.isDirtyData=!0,k&&se.redraw()};Y(O,se),k=F(k,!0),Q?Q.firePointEvent("remove",null,ae):ae()}remove(b,k,O,z){let W=this,Q=W.chart;function ee(){W.destroy(z),Q.isDirtyLegend=Q.isDirtyBox=!0,Q.linkSeries(z),F(b,!0)&&Q.redraw(k)}O!==!1?d(W,"remove",null,ee):ee()}update(b,k){var ue,de,fe;d(this,"update",{options:b=v(b,this.userOptions)});let O=this,z=O.chart,W=O.userOptions,Q=O.initialType||O.type,ee=z.options.plotOptions,se=j[Q].prototype,ae=O.finishedAnimating&&{animation:!1},he={},ce,ie,te=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ne=b.type||W.type||z.options.chart.type,oe=!(this.hasDerivedData||ne&&ne!==this.type||b.pointStart!==void 0||b.pointInterval!==void 0||b.relativeXValue!==void 0||b.joinBy||b.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(me=>O.hasOptionChanged(me)));ne=ne||Q,oe&&(te.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),b.visible!==!1&&te.push("area","graph"),O.parallelArrays.forEach(function(me){te.push(me+"Data")}),b.data&&(b.dataSorting&&o(O.options.dataSorting,b.dataSorting),this.setData(b.data,!1))),b=M(W,{index:W.index===void 0?O.index:W.index,pointStart:((ue=ee==null?void 0:ee.series)==null?void 0:ue.pointStart)??W.pointStart??((de=O.xData)==null?void 0:de[0])},!oe&&{data:O.options.data},b,ae),oe&&b.data&&(b.data=O.options.data),(te=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(te)).forEach(function(me){te[me]=O[me],delete O[me]});let le=!1;if(j[ne]){if(le=ne!==O.type,O.remove(!1,!1,!1,!0),le)if(z.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(O,j[ne].prototype);else{let me=Object.hasOwnProperty.call(O,"hcEvents")&&O.hcEvents;for(ie in se)O[ie]=void 0;o(O,j[ne].prototype),me?O.hcEvents=me:delete O.hcEvents}}else a(17,!0,z,{missingModuleFor:ne});if(te.forEach(function(me){O[me]=te[me]}),O.init(z,b),oe&&this.points)for(let me of((ce=O.options).visible===!1?(he.graphic=1,he.dataLabel=1):(this.hasMarkerChanged(ce,W)&&(he.graphic=1),(fe=O.hasDataLabels)!=null&&fe.call(O)||(he.dataLabel=1)),this.points))me&&me.series&&(me.resolveColor(),Object.keys(he).length&&me.destroyElements(he),ce.showInLegend===!1&&me.legendItem&&z.legend.destroyItem(me));O.initialType=Q,z.linkSeries(),z.setSortedData(),le&&O.linkedSeries.length&&(O.isDirtyData=!0),d(this,"afterUpdate"),F(k,!0)&&z.redraw(!!oe&&void 0)}setName(b){this.name=this.options.name=this.userOptions.name=b,this.chart.isDirtyLegend=!0}hasOptionChanged(b){var ee,se;let k=this.chart,O=this.options[b],z=k.options.plotOptions,W=this.userOptions[b],Q=F((ee=z==null?void 0:z[this.type])==null?void 0:ee[b],(se=z==null?void 0:z.series)==null?void 0:se[b]);return W&&!S(Q)?O!==W:O!==F(Q,O)}onMouseOver(){let b=this.chart,k=b.hoverSeries,O=b.pointer;O==null||O.setHoverChartIndex(),k&&k!==this&&k.onMouseOut(),this.options.events.mouseOver&&d(this,"mouseOver"),this.setState("hover"),b.hoverSeries=this}onMouseOut(){let b=this.options,k=this.chart,O=k.tooltip,z=k.hoverPoint;k.hoverSeries=null,z&&z.onMouseOut(),this&&b.events.mouseOut&&d(this,"mouseOut"),O&&!this.stickyTracking&&(!O.shared||this.noSharedTooltip)&&O.hide(),k.series.forEac
131h(function(W){W.setState("",!0)})}setState(b,k){let O=this,z=O.options,W=O.graph,Q=z.inactiveOtherPoints,ee=z.states,se=F(ee[b||"normal"]&&ee[b||"normal"].animation,O.chart.options.chart.animation),ae=z.lineWidth,he=z.opacity;if(b=b||"",O.state!==b&&([O.group,O.markerGroup,O.dataLabelsGroup].forEach(function(ce){ce&&(O.state&&ce.removeClass("highcharts-series-"+O.state),b&&ce.addClass("highcharts-series-"+b))}),O.state=b,!O.chart.styledMode)){if(ee[b]&&ee[b].enabled===!1)return;if(b&&(ae=ee[b].lineWidth||ae+(ee[b].lineWidthPlus||0),he=F(ee[b].opacity,he)),W&&!W.dashstyle&&I(ae))for(let ce of[W,...this.zones.map(ie=>ie.graph)])ce==null||ce.animate({"stroke-width":ae},se);Q||[O.group,O.markerGroup,O.dataLabelsGroup,O.labelBySeries].forEach(function(ce){ce&&ce.animate({opacity:he},se)})}k&&Q&&O.points&&O.setAllPointsToState(b||void 0)}setAllPointsToState(b){this.points.forEach(function(k){k.setState&&k.setState(b)})}setVisible(b,k){var se;let O=this,z=O.chart,W=z.options.chart.ignoreHiddenSeries,Q=O.visible;O.visible=b=O.options.visible=O.userOptions.visible=b===void 0?!Q:b;let ee=b?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(ae=>{var he;(he=O[ae])==null||he[ee]()}),(z.hoverSeries===O||((se=z.hoverPoint)==null?void 0:se.series)===O)&&O.onMouseOut(),O.legendItem&&z.legend.colorizeItem(O,b),O.isDirty=!0,O.options.stacking&&z.series.forEach(ae=>{ae.options.stacking&&ae.visible&&(ae.isDirty=!0)}),O.linkedSeries.forEach(ae=>{ae.setVisible(b,!1)}),W&&(z.isDirtyBox=!0),d(O,ee),k!==!1&&z.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(b){this.selected=b=this.options.selected=b===void 0?!this.selected:b,this.checkbox&&(this.checkbox.checked=b),d(this,b?"select":"unselect")}shouldShowTooltip(b,k,O={}){return O.series=this,O.visiblePlotOnly=!0,this.chart.isInsidePlot(b,k,O)}drawLegendSymbol(b,k){var O;(O=B[this.options.legendSymbol||"rectangle"])==null||O.call(this,b,k)}}return A.defaultOptions=K,A.types=G.seriesTypes,A.registerType=G.registerSeriesType,o(A.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:$,requireSorting:!0,sorted:!0}),G.series=A,A}),r(e,"Core/Legend/Legend.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/Point.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){var q;let{animObject:Z,setAnimation:R}=t,{registerEventOptions:Y}=n,{composed:V,marginNames:H}=l,{distribute:T}=$,{format:L}=K,{addEvent:j,createElement:s,css:c,defined:x,discardElement:N,find:P,fireEvent:S,isNumber:g,merge:v,pick:p,pushUnique:a,relativeLength:o,stableSort:u,syncTimeout:d}=G;class h{constructor(f,y){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=f,this.setOptions(y),y.enabled&&(this.render(),Y(this,y),j(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),j(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(f){let y=p(f.padding,8);this.options=f,this.chart.styledMode||(this.itemStyle=f.itemStyle,this.itemHiddenStyle=v(this.itemStyle,f.itemHiddenStyle)),this.itemMarginTop=f.itemMarginTop,this.itemMarginBottom=f.itemMarginBottom,this.padding=y,this.initialItemY=y-5,this.symbolWidth=p(f.symbolWidth,16),this.pages=[],this.proximate=f.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(f,y){let I=this.chart;this.setOptions(v(!0,this.options,f)),"events"in this.options&&Y(this,this.options),this.destroy(),I.isDirtyLegend=I.isDirtyBox=!0,p(y,!0)&&I.redraw(),S(this,"afterUpdate",{redraw:y})}colorizeItem(f,y){let{area:I,group:E,label:M,line:D,symbol:F}=f.legendItem||{};if(E==null||E[y?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:X={}}=this,_=X.color,{fillColor:w,fillOpacity:A,lineColor:U,marker:b}=f.options,k=O=>(!y&&(O.fill&&(O.fill=_),O.stroke&&(O.stroke=_)),O);M==null||M.css(v(y?this.itemStyle:X)),D==null||D.attr(k({stroke:U||f.color})),F&&F.attr(k(b&&F.isMarker?f.pointAttribs():{fill:f.color})),I==null||I.attr(k({fill:w||f.color,"fill-opacity":w?1:A??.75}))}S(this,"afterColorizeItem",{item:f,visible:y})}
vendor: 17,251 bytes, line 131
131positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(f){let{group:y,x:I=0,y:E=0}=f.legendItem||{},M=this.options,D=M.symbolPadding,F=!M.rtl,X=f.checkbox;if(y&&y.element){let _={translateX:F?I:this.legendWidth-I-2*D-4,translateY:E};y[x(y.translateY)?"animate":"attr"](_,void 0,()=>{S(this,"afterPositionItem",{item:f})})}X&&(X.x=I,X.y=E)}destroyItem(f){let y=f.checkbox,I=f.legendItem||{};for(let E of["group","label","line","symbol"])I[E]&&(I[E]=I[E].destroy());y&&N(y),f.legendItem=void 0}destroy(){for(let f of this.getAllItems())this.destroyItem(f);for(let f of["clipRect","up","down","pager","nav","box","title","group"])this[f]&&(this[f]=this[f].destroy());this.display=null}positionCheckboxes(){let f,y=this.group&&this.group.alignAttr,I=this.clipHeight||this.legendHeight,E=this.titleHeight;y&&(f=y.translateY,this.allItems.forEach(function(M){let D,F=M.checkbox;F&&(D=f+E+F.y+(this.scrollOffset||0)+3,c(F,{left:y.translateX+M.checkboxOffset+F.x-20+"px",top:D+"px",display:this.proximate||D>f-6&&D<f+I-6?"":"none"}))},this))}renderTitle(){let f=this.options,y=this.padding,I=f.title,E,M=0;I.text&&(this.title||(this.title=this.chart.renderer.label(I.text,y-3,y-4,void 0,void 0,void 0,f.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(I.style),this.title.add(this.group)),I.width||this.title.css({width:this.maxLegendWidth+"px"}),M=(E=this.title.getBBox()).height,this.offsetWidth=E.width,this.contentGroup.attr({translateY:M})),this.titleHeight=M}setText(f){let y=this.options;f.legendItem.label.attr({text:y.labelFormat?L(y.labelFormat,f,this.chart):y.labelFormatter.call(f)})}renderItem(f){let y=f.legendItem=f.legendItem||{},I=this.chart,E=I.renderer,M=this.options,D=M.layout==="horizontal",F=this.symbolWidth,X=M.symbolPadding||0,_=this.itemStyle,w=this.itemHiddenStyle,A=D?p(M.itemDistance,20):0,U=!M.rtl,b=!f.series,k=!b&&f.series.drawLegendSymbol?f.series:f,O=k.options,z=!!this.createCheckboxForItem&&O&&O.showCheckbox,W=M.useHTML,Q=f.options.className,ee=y.label,se=F+X+A+(z?20:0);!ee&&(y.group=E.g("legend-item").addClass("highcharts-"+k.type+"-series highcharts-color-"+f.colorIndex+(Q?" "+Q:"")+(b?" highcharts-series-"+f.index:"")).attr({zIndex:1}).add(this.scrollGroup),y.label=ee=E.text("",U?F+X:-X,this.baseline||0,W),I.styledMode||ee.css(v(f.visible?_:w)),ee.attr({align:U?"left":"right",zIndex:2}).add(y.group),!this.baseline&&(this.fontMetrics=E.fontMetrics(ee),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,ee.attr("y",this.baseline),this.symbolHeight=p(M.symbolHeight,this.fontMetrics.f),M.squareSymbol&&(this.symbolWidth=p(M.symbolWidth,Math.max(this.symbolHeight,16)),se=this.symbolWidth+X+A+(z?20:0),U&&ee.attr("x",this.symbolWidth+X))),k.drawLegendSymbol(this,f),this.setItemEvents&&this.setItemEvents(f,ee,W)),z&&!f.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(f),this.colorizeItem(f,f.visible),(I.styledMode||!_.width)&&ee.css({width:(M.itemWidth||this.widthOption||I.spacingBox.width)-se+"px"}),this.setText(f);let ae=ee.getBBox(),he=this.fontMetrics&&this.fontMetrics.h||0;f.itemWidth=f.checkboxOffset=M.itemWidth||y.labelWidth||ae.width+se,this.maxItemWidth=Math.max(this.maxItemWidth,f.itemWidth),this.totalItemWidth+=f.itemWidth,this.itemHeight=f.itemHeight=Math.round(y.labelHeight||(ae.height>1.5*he?ae.height:he))}layoutItem(f){let y=this.options,I=this.padding,E=y.layout==="horizontal",M=f.itemHeight,D=this.itemMarginBottom,F=this.itemMarginTop,X=E?p(y.itemDistance,20):0,_=this.maxLegendWidth,w=y.alignColumns&&this.totalItemWidth>_?this.maxItemWidth:f.itemWidth,A=f.legendItem||{};E&&this.itemX-I+w>_&&(this.itemX=I,this.lastLineHeight&&(this.itemY+=F+this.lastLineHeight+D),this.lastLineHeight=0),this.lastItemY=F+this.itemY+D,this.lastLineHeight=Math.max(M,this.lastLineHeight),A.x=this.itemX,A.y=this.itemY,E?this.itemX+=w:(this.itemY+=F+M+D,this.lastLineHeight=M),this.offsetWidth=this.widthOption||Math.max((E?this.itemX-I-(f.checkbox?0:X):w)+I,this.offsetWidth)}getAllItems(){let f=[];return this.chart.series.forEach(function(y){let I=y&&y.options;y&&p(I.showInLegend,!x(I.linkedTo)&&void 0,!0)&&(f=f.concat((y.legendItem||{}).labels||(I.legendType==="point"?y.data:y)))}),S(this,"afterGetAllItems",{allItems:f}),f}getAlignment(){let f=this.options;return this.proximate?f.align.charAt(0)+"tv":f.floating?"":f.align.charAt(0)+f.verticalAlign.charAt(0)+f.layout.charAt(0)}adjustMargins(f,y){let I=this.chart,E=this.options,M=this.getAlignment();M&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(D,F){D.test(M)&&!x(f[F])&&(I[H[F]]=Math.max(I[H[F]],I.legend[(F+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][F]*E[F%2?"x":"y"]+p(E.margin,12)+y[F]+(I.titleOffset[F]||0)))})}proximatePositions(){let f,y=this.chart,I=[],E=this.options.align==="left";for(let M of(this.allItems.forEach(function(D){let F,X,_=E,w,A;D.yAxis&&(D.xAxis.options.reversed&&(_=!_),D.points&&(F=P(_?D.points:D.points.slice(0).reverse(),function(U){return g(U.plotY)})),X=this.itemMarginTop+D.legendItem.label.getBBox().height+this.itemMarginBottom,A=D.yAxis.top-y.plotTop,w=D.visible?(F?F.plotY:D.yAxis.height)+(A-.3*X):A+D.yAxis.height,I.push({target:w,size:X,item:D}))},this),T(I,y.plotHeight)))f=M.item.legendItem||{},g(M.pos)&&(f.y=y.plotTop-y.spacing[0]+M.pos)}render(){let f=this.chart,y=f.renderer,I=this.options,E=this.padding,M=this.getAllItems(),D,F,X,_=this.group,w,A=this.box;this.itemX=E,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=o(I.width,f.spacingBox.width-E),w=f.spacingBox.width-2*E-I.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(w/=2),this.maxLegendWidth=this.widthOption||w,_||(this.group=_=y.g("legend").addClass(I.className||"").attr({zIndex:7}).add(),this.contentGroup=y.g().attr({zIndex:1}).add(_),this.scrollGroup=y.g().add(this.contentGroup)),this.renderTitle(),u(M,(U,b)=>(U.options&&U.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)),I.reversed&&M.reverse(),this.allItems=M,this.display=D=!!M.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,M.forEach(this.renderItem,this),M.forEach(this.layoutItem,this),F=(this.widthOption||this.offsetWidth)+E,X=this.lastItemY+this.lastLineHeight+this.titleHeight,X=this.handleOverflow(X)+E,A||(this.box=A=y.rect().addClass("highcharts-legend-box").attr({r:I.borderRadius}).add(_)),f.styledMode||A.attr({stroke:I.borderColor,"stroke-width":I.borderWidth||0,fill:I.backgroundColor||"none"}).shadow(I.shadow),F>0&&X>0&&A[A.placed?"animate":"attr"](A.crisp.call({},{x:0,y:0,width:F,height:X},A.strokeWidth())),_[D?"show":"hide"](),f.styledMode&&_.getStyle("display")==="none"&&(F=X=0),this.legendWidth=F,this.legendHeight=X,D&&this.align(),this.proximate||this.positionItems(),S(this,"afterRender")}align(f=this.chart.spacingBox){let y=this.chart,I=this.options,E=f.y;/(lth|ct|rth)/.test(this.getAlignment())&&y.titleOffset[0]>0?E+=y.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&y.titleOffset[2]>0&&(E-=y.titleOffset[2]),E!==f.y&&(f=v(f,{y:E})),y.hasRendered||(this.group.placed=!1),this.group.align(v(I,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":I.verticalAlign}),!0,f)}handleOverflow(f){let y=this,I=this.chart,E=I.renderer,M=this.options,D=M.y,F=M.verticalAlign==="top",X=this.padding,_=M.maxHeight,w=M.navigation,A=p(w.animation,!0),U=w.arrowSize||12,b=this.pages,k=this.allItems,O=function(ce){typeof ce=="number"?he.attr({height:ce}):he&&(y.clipRect=he.destroy(),y.contentGroup.clip()),y.contentGroup.div&&(y.contentGroup.div.style.clip=ce?"rect("+X+"px,9999px,"+(X+ce)+"px,0)":"auto")},z=function(ce){return y[ce]=E.circle(0,0,1.3*U).translate(U/2,U/2).add(ae),I.styledMode||y[ce].attr("fill","rgba(0,0,0,0.0001)"),y[ce]},W,Q,ee,se=I.spacingBox.height+(F?-D:D)-X,ae=this.nav,he=this.clipRect;return M.layout!=="horizontal"||M.verticalAlign==="middle"||M.floating||(se/=2),_&&(se=Math.min(se,_)),b.length=0,f&&se>0&&f>se&&w.enabled!==!1?(this.clipHeight=W=Math.max(se-20-this.titleHeight-X,0),this.currentPage=p(this.currentPage,1),this.fullHeight=f,k.forEach((ce,ie)=>{let te=(ee=ce.legendItem||{}).y||0,ne=Math.round(ee.label.getBBox().height),oe=b.length;(!oe||te-b[oe-1]>W&&(Q||te)!==b[oe-1])&&(b.push(Q||te),oe++),ee.pageIx=oe-1,Q&&((k[ie-1].legendItem||{}).pageIx=oe-1),ie===k.length-1&&te+ne-b[oe-1]>W&&te>b[oe-1]&&(b.push(te),ee.pageIx=oe),te!==Q&&(Q=te)}),he||(he=y.clipRect=E.clipRect(0,X-2,9999,0),y.contentGroup.clip(he)),O(W),ae||(this.nav=ae=E.g().attr({zIndex:1}).add(this.group),this.up=E.symbol("triangle",0,0,U,U).add(ae),z("upTracker").on("click",function(){y.scroll(-1,A)}),this.pager=E.text("",15,10).addClass("highcharts-legend-navigation"),!I.styledMode&&w.style&&this.pager.css(w.style),this.pager.add(ae),this.down=E.symbol("triangle-down",0,0,U,U).add(ae),z("downTracker").on("click",function(){y.scroll(1,A)})),y.scroll(0),f=se):ae&&(O(),this.nav=ae.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),f}scroll(f,y){let I=this.chart,E=this.pages,M=E.length,D=this.clipHeight,F=this.options.navigation,X=this.pager,_=this.padding,w=this.currentPage+f;w>M&&(w=M),w>0&&(y!==void 0&&R(y,I),this.nav.attr({translateX:_,translateY:D+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(A){A.attr({class:w===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),X.attr({text:w+"/"+M}),[this.down,this.downTracker].forEach(function(A){A.attr({x:18+this.pager.getBBox().width,class:w===M?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),I.styledMode||(this.up.attr({fill:w===1?F.inactiveColor:F.activeColor}),this.upTracker.css({cursor:w===1?"default":"pointer"}),this.down.attr({fill:w===M?F.inactiveColor:F.activeColor}),this.downTracker.css({cursor:w===M?"default":"pointer"})),this.scrollOffset=-E[w-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=w,this.positionCheckboxes(),d(()=>{S(this,"afterScroll",{currentPage:w})},Z(p(y,I.renderer.globalAnimation,!0)).duration))}setItemEvents(f,y,I){let E=this,M=f.legendItem||{},D=E.chart.renderer.boxWrapper,F=f instanceof B,X=f instanceof C,_="highcharts-legend-"+(F?"point":"series")+"-active",w=E.chart.styledMode,A=I?[y,M.symbol]:[M.group],U=b=>{E.allItems.forEach(k=>{f!==k&&[k].concat(k.linkedSeries||[]).forEach(O=>{O.setState(b,!F)})})};for(let b of A)b&&b.on("mouseover",function(){f.visible&&U("inactive"),f.setState("hover"),f.visible&&D.addClass(_),w||y.css(E.options.itemHoverStyle)}).on("mouseout",function(){E.chart.styledMode||y.css(v(f.visible?E.itemStyle:E.itemHiddenStyle)),U(""),D.removeClass(_),f.setState()}).on("click",function(k){let O=function(){f.setVisible&&f.setVisible(),U(f.visible?"inactive":"")};D.removeClass(_),S(E,"itemClick",{browserEvent:k,legendItem:f},O),F?f.firePointEvent("legendItemClick",{browserEvent:k}):X&&S(f,"legendItemClick",{browserEvent:k})})}createCheckboxForItem(f){f.checkbox=s("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:f.selected,defaultChecked:f.selected},this.options.itemCheckboxStyle,this.chart.container),j(f.checkbox,"click",function(y){let I=y.target;S(f.series||f,"checkboxClick",{checked:I.checked,item:f},function(){f.select()})})}}return(q=h||(h={})).compose=function(m){a(V,"Core.Legend")&&j(m,"beforeMargins",function(){this.legend=new q(this,this.options.legend)})},h}),r(e,"Core/Chart/Chart.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Templating.js"],e["Core/Foundation.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Time.js"],e["Core/Utilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Axis/Tick.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H){let{animate:T,animObject:L,setAnimation:j}=t,{defaultOptions:s,defaultTime:c}=l,{numberFormat:x}=C,{registerEventOptions:N}=B,{charts:P,doc:S,marginNames:g,svg:v,win:p}=$,{seriesTypes:a}=q,{addEvent:o,attr:u,createElement:d,css:h,defined:m,diffObjects:f,discardElement:y,erase:I,error:E,extend:M,find:D,fireEvent:F,getStyle:X,isArray:_,isNumber:w,isObject:A,isString:U,merge:b,objectEach:k,pick:O,pInt:z,relativeLength:W,removeEvent:Q,splat:ee,syncTimeout:se,uniqueKey:ae}=Y;class he{static chart(ie,te,ne){return new he(ie,te,ne)}constructor(ie,te,ne){this.sharedClips={};let oe=[...arguments];(U(ie)||ie.nodeName)&&(this.renderTo=oe.shift()),this.init(oe[0],oe[1])}setZoomOptions(){let ie=this.options.chart,te=ie.zooming;this.zooming=xt(ze({},te),{type:O(ie.zoomType,te.type),key:O(ie.zoomKey,te.key),pinchType:O(ie.pinchType,te.pinchType),singleTouch:O(ie.zoomBySingleTouch,te.singleTouch,!1),resetButton:b(te.resetButton,ie.resetZoomButton)})}init(ie,te){F(this,"init",{args:arguments},function(){let ne=b(s,ie),oe=ne.chart;this.userOptions=M({},ie),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=te,this.isResizing=0,this.options=ne,this.axes=[],this.series=[],this.time=ie.time&&Object.keys(ie.time).length?new R(ie.time):$.time,this.numberFormatter=oe.numberFormatter||x,this.styledMode=oe.styledMode,this.hasCartesianSeries=oe.showAxes,this.index=P.length,P.push(this),$.chartCount++,N(this,oe),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),F(this,"afterInit"),this.firstRender()})}initSeries(ie){let te=this.options.chart,ne=ie.type||te.type,oe=a[ne];oe||E(17,!0,this,{missingModuleFor:ne});let le=new oe;return typeof le.init=="function"&&le.init(this,ie),le}setSortedData(){this.getSeriesOrderByLinks().forEach(function(ie){ie.points||ie.data||!ie.enabledDataSorting||ie.setData(ie.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(ie,te){return ie.linkedSeries.length||te.linkedSeries.length?te.linkedSeries.length-ie.linkedSeries.length:0})}orderItems(ie,te=0){let ne=this[ie],oe=this.options[ie]=ee(this.options[ie]).slice(),le=this.userOptions[ie]=this.userOptions[ie]?ee(this.userOptions[ie]).slice():[];if(this.hasRendered&&(oe.splice(te),le.splice(te)),ne)for(let ue=te,de=ne.length;ue<de;++ue){let fe=ne[ue];fe&&(fe.index=ue,fe instanceof G&&(fe.name=fe.getName()),fe.options.isInternal||(oe[ue]=fe.options,le[ue]=fe.userOptions))}}isInsidePlot(ie,te,ne={}){var Ce;let{inverted:oe,plotBox:le,plotLeft:ue,plotTop:de,scrollablePlotBox:fe}=this,{scrollLeft:me=0,scrollTop:ge=0}=ne.visiblePlotOnly&&((Ce=this.scrollablePlotArea)==null?void 0:Ce.scrollingContainer)||{},Ee=ne.series,ve=ne.visiblePlotOnly&&fe||le,ye=ne.inverted?te:ie,Se=ne.inverted?ie:te,xe={x:ye,y:Se,isInsidePlot:!0,options:ne};if(!ne.ignoreX){let Oe=Ee&&(oe&&!this.polar?Ee.yAxis:Ee.xAxis)||{pos:ue,len:1/0},Pe=ne.paneCoordinates?Oe.pos+ye:ue+ye;Pe>=Math.max(me+ue,Oe.pos)&&Pe<=Math.min(me+ue+ve.width,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}if(!ne.ignoreY&&xe.isInsidePlot){let Oe=!oe&&ne.axis&&!ne.axis.isXAxis&&ne.axis||Ee&&(oe?Ee.xAxis:Ee.yAxis)||{pos:de,len:1/0},Pe=ne.paneCoordinates?Oe.pos+Se:de+Se;Pe>=Math.max(ge+de,Oe.pos)&&Pe<=Math.min(ge+de+ve.height,Oe.pos+Oe.len)||(xe.isInsidePlot=!1)}return F(this,"afterIsInsidePlot",xe),xe.isInsidePlot}redraw(ie){F(this,"beforeRedraw");let te=this.hasCartesianSeries?this.axes:this.colorAxis||[],ne=this.series,oe=this.pointer,le=this.legend,ue=this.userOptions.legend,de=this.renderer,fe=de.isHidden(),me=[],ge,Ee,ve,ye=this.isDirtyBox,Se=this.isDirtyLegend,xe;for(de.rootFontSize=de.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),j(!!this.hasRendered&&ie,this),fe&&this.temporaryDisplay(),this.layOutTitles(!1),ve=ne.length;ve--;)if(((xe=ne[ve]).options.stacking||xe.options.centerInCategory)&&(Ee=!0,xe.isDirty)){ge=!0;break}if(ge)for(ve=ne.length;ve--;)(xe=ne[ve]).options.stacking&&(xe.isDirty=!0);ne.forEach(function(Ce){Ce.isDirty&&(Ce.options.legendType==="point"?(typeof Ce.updateTotals=="function"&&Ce.updateTotals(),Se=!0):ue&&(ue.labelFormatter||ue.labelFormat)&&(Se=!0)),Ce.isDirtyData&&F(Ce,"updatedData")}),Se&&le&&le.options.enabled&&(le.render(),this.isDirtyLegend=!1),Ee&&this.getStacks(),te.forEach(function(Ce){Ce.updateNames(),Ce.setScale()}),this.getMargins(),te.forEach(function(Ce){Ce.isDirty&&(ye=!0)}),te.forEach(function(Ce){let Oe=Ce.min+","+Ce.max;Ce.extKey!==Oe&&(Ce.extKey=Oe,me.push(function(){F(Ce,"afterSetExtremes",M(Ce.eventArgs,Ce.getExtremes())),delete Ce.eventArgs})),(ye||Ee)&&Ce.redraw()}),ye&&this.drawChartBox(),F(this,"predraw"),ne.forEach(function(Ce){(ye||Ce.isDirty)&&Ce.visible&&Ce.redraw(),Ce.isDirtyData=!1}),oe&&oe.reset(!0),de.draw(),F(this,"redraw"),F(this,"render"),fe&&this.temporaryDisplay(!0),me.forEach(function(Ce){Ce.call()})}get(ie){let te=this.series;function ne(le){return le.id===ie||le.options&&le.options.id===ie}let oe=D(this.axes,ne)||D(this.series,ne);for(let le=0;!oe&&le<te.length;le++)oe=D(te[le].points||[],ne);return oe}getAxes(){let ie=this.userOptions;for(let te of(F(this,"getAxes"),["xAxis","yAxis"]))for(let ne of ie[te]=ee(ie[te]||{}))new n(this,ne,te);F(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((ie,te)=>
131(te.getPointsCollection().forEach(ne=>{O(ne.selectedStaging,ne.selected)&&ie.push(ne)}),ie),[])}getSelectedSeries(){return this.series.filter(function(ie){return ie.selected})}setTitle(ie,te,ne){this.applyDescription("title",ie),this.applyDescription("subtitle",te),this.applyDescription("caption",void 0),this.layOutTitles(ne)}applyDescription(ie,te){let ne=this,oe=this.options[ie]=b(this.options[ie],te),le=this[ie];le&&te&&(this[ie]=le=le.destroy()),oe&&!le&&((le=this.renderer.text(oe.text,0,0,oe.useHTML).attr({align:oe.align,class:"highcharts-"+ie,zIndex:oe.zIndex||4}).add()).update=function(ue,de){ne.applyDescription(ie,ue),ne.layOutTitles(de)},this.styledMode||le.css(M(ie==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},oe.style)),this[ie]=le)}layOutTitles(ie=!0){let te=[0,0,0],ne=this.renderer,oe=this.spacingBox;["title","subtitle","caption"].forEach(function(ue){let de=this[ue],fe=this.options[ue],me=fe.verticalAlign||"top",ge=ue==="title"?me==="top"?-3:0:me==="top"?te[0]+2:0;if(de){de.css({width:(fe.width||oe.width+(fe.widthAdjust||0))+"px"});let Ee=ne.fontMetrics(de).b,ve=Math.round(de.getBBox(fe.useHTML).height);de.align(M({y:me==="bottom"?Ee:ge+Ee,height:ve},fe),!1,"spacingBox"),fe.floating||(me==="top"?te[0]=Math.ceil(te[0]+ve):me==="bottom"&&(te[2]=Math.ceil(te[2]+ve)))}},this),te[0]&&(this.options.title.verticalAlign||"top")==="top"&&(te[0]+=this.options.title.margin),te[2]&&this.options.caption.verticalAlign==="bottom"&&(te[2]+=this.options.caption.margin);let le=!this.titleOffset||this.titleOffset.join(",")!==te.join(",");this.titleOffset=te,F(this,"afterLayOutTitles"),!this.isDirtyBox&&le&&(this.isDirtyBox=this.isDirtyLegend=le,this.hasRendered&&ie&&this.isDirtyBox&&this.redraw())}getContainerBox(){let ie=[].map.call(this.renderTo.children,ne=>{if(ne!==this.container){let oe=ne.style.display;return ne.style.display="none",[ne,oe]}}),te={width:X(this.renderTo,"width",!0)||0,height:X(this.renderTo,"height",!0)||0};return ie.filter(Boolean).forEach(([ne,oe])=>{ne.style.display=oe}),te}getChartSize(){var ue;let ie=this.options.chart,te=ie.width,ne=ie.height,oe=this.getContainerBox(),le=oe.height>1&&!(!((ue=this.renderTo.parentElement)!=null&&ue.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,te||oe.width||600),this.chartHeight=Math.max(0,W(ne,this.chartWidth)||(le?oe.height:400)),this.containerBox=oe}temporaryDisplay(ie){let te=this.renderTo,ne;if(ie)for(;te&&te.style;)te.hcOrigStyle&&(h(te,te.hcOrigStyle),delete te.hcOrigStyle),te.hcOrigDetached&&(S.body.removeChild(te),te.hcOrigDetached=!1),te=te.parentNode;else for(;te&&te.style&&(S.body.contains(te)||te.parentNode||(te.hcOrigDetached=!0,S.body.appendChild(te)),(X(te,"display",!1)==="none"||te.hcOricDetached)&&(te.hcOrigStyle={display:te.style.display,height:te.style.height,overflow:te.style.overflow},ne={display:"block",overflow:"hidden"},te!==this.renderTo&&(ne.height=0),h(te,ne),te.offsetWidth||te.style.setProperty("display","block","important")),(te=te.parentNode)!==S.body););}setClassName(ie){this.container.className="highcharts-container "+(ie||"")}getContainer(){var ve;let ie=this.options,te=ie.chart,ne="data-highcharts-chart",oe=ae(),le,ue=this.renderTo;ue||(this.renderTo=ue=te.renderTo),U(ue)&&(this.renderTo=ue=S.getElementById(ue)),ue||E(13,!0,this);let de=z(u(ue,ne));w(de)&&P[de]&&P[de].hasRendered&&P[de].destroy(),u(ue,ne,this.index),ue.innerHTML=V.emptyHTML,te.skipClone||ue.offsetWidth||this.temporaryDisplay(),this.getChartSize();let fe=this.chartHeight,me=this.chartWidth;h(ue,{overflow:"hidden"}),this.styledMode||(le=M({position:"relative",overflow:"hidden",width:me+"px",height:fe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},te.style||{}));let ge=d("div",{id:oe},le,ue);this.container=ge,this.getChartSize(),me===this.chartWidth||(me=this.chartWidth,this.styledMode||h(ge,{width:O((ve=te.style)==null?void 0:ve.width,me+"px")})),this.containerBox=this.getContainerBox(),this._cursor=ge.style.cursor;let Ee=te.renderer||!v?K.getRendererType(te.renderer):Z;if(this.renderer=new Ee(ge,me,fe,void 0,te.forExport,ie.exporting&&ie.exp
131orting.allowHTML,this.styledMode),j(void 0,this),this.setClassName(te.className),this.styledMode)for(let ye in ie.defs)this.renderer.definition(ie.defs[ye]);else this.renderer.setStyle(te.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")}getMargins(ie){let{spacing:te,margin:ne,titleOffset:oe}=this;this.resetMargins(),oe[0]&&!m(ne[0])&&(this.plotTop=Math.max(this.plotTop,oe[0]+te[0])),oe[2]&&!m(ne[2])&&(this.marginBottom=Math.max(this.marginBottom,oe[2]+te[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ne,te),F(this,"getMargins"),ie||this.getAxisMargins()}getAxisMargins(){let ie=this,te=ie.axisOffset=[0,0,0,0],ne=ie.colorAxis,oe=ie.margin,le=function(ue){ue.forEach(function(de){de.visible&&de.getOffset()})};ie.hasCartesianSeries?le(ie.axes):ne&&ne.length&&le(ne),g.forEach(function(ue,de){m(oe[de])||(ie[ue]+=te[de])}),ie.setChartSize()}getOptions(){return f(this.userOptions,s)}reflow(ie){var le;let te=this,ne=te.containerBox,oe=te.getContainerBox();(le=te.pointer)==null||delete le.chartPosition,!te.isPrinting&&!te.isResizing&&ne&&oe.width&&((oe.width!==ne.width||oe.height!==ne.height)&&(Y.clearTimeout(te.reflowTimeout),te.reflowTimeout=se(function(){te.container&&te.setSize(void 0,void 0,!1)},ie?100:0)),te.containerBox=oe)}setReflow(){let ie=this,te=ne=>{var oe;(oe=ie.options)!=null&&oe.chart.reflow&&ie.hasLoaded&&ie.reflow(ne)};if(typeof ResizeObserver=="function")new ResizeObserver(te).observe(ie.renderTo);else{let ne=o(p,"resize",te);o(this,"destroy",ne)}}setSize(ie,te,ne){let oe=this,le=oe.renderer;oe.isResizing+=1,j(ne,oe);let ue=le.globalAnimation;oe.oldChartHeight=oe.chartHeight,oe.oldChartWidth=oe.chartWidth,ie!==void 0&&(oe.options.chart.width=ie),te!==void 0&&(oe.options.chart.height=te),oe.getChartSize();let{chartWidth:de,chartHeight:fe,scrollablePixelsX:me=0,scrollablePixelsY:ge=0}=oe;(oe.isDirtyBox||de!==oe.oldChartWidth||fe!==oe.oldChartHeight)&&(oe.styledMode||(ue?T:h)(oe.container,{width:`${de+me}px`,height:`${fe+ge}px`},ue),oe.setChartSize(!0),le.setSize(de,fe,ue),oe.axes.forEach(function(Ee){Ee.isDirty=!0,Ee.setScale()}),oe.isDirtyLegend=!0,oe.isDirtyBox=!0,oe.layOutTitles(),oe.getMargins(),oe.redraw(ue),oe.oldChartHeight=void 0,F(oe,"resize"),setTimeout(()=>{oe&&F(oe,"endResize")},L(ue).duration)),oe.isResizing-=1}setChartSize(ie){let te,ne,oe,le,{chartHeight:ue,chartWidth:de,inverted:fe,spacing:me,renderer:ge}=this,Ee=this.clipOffset,ve=Math[fe?"floor":"round"];this.plotLeft=te=Math.round(this.plotLeft),this.plotTop=ne=Math.round(this.plotTop),this.plotWidth=oe=Math.max(0,Math.round(de-te-this.marginRight)),this.plotHeight=le=Math.max(0,Math.round(ue-ne-this.marginBottom)),this.plotSizeX=fe?le:oe,this.plotSizeY=fe?oe:le,this.spacingBox=ge.spacingBox={x:me[3],y:me[0],width:de-me[3]-me[1],height:ue-me[0]-me[2]},this.plotBox=ge.plotBox={x:te,y:ne,width:oe,height:le},Ee&&(this.clipBox={x:ve(Ee[3]),y:ve(Ee[0]),width:ve(this.plotSizeX-Ee[1]-Ee[3]),height:ve(this.plotSizeY-Ee[0]-Ee[2])}),ie||(this.axes.forEach(function(ye){ye.setAxisSize(),ye.setAxisTranslation()}),ge.alignElements()),F(this,"afterSetChartSize",{skipAxes:ie})}resetMargins(){F(this,"resetMargins");let ie=this,te=ie.options.chart,ne=te.plotBorderWidth||0,oe=ne/2;["margin","spacing"].forEach(function(le){let ue=te[le],de=A(ue)?ue:[ue,ue,ue,ue];["Top","Right","Bottom","Left"].forEach(function(fe,me){ie[le][me]=O(te[le+fe],de[me])})}),g.forEach(function(le,ue){ie[le]=O(ie.margin[ue],ie.spacing[ue])}),ie.axisOffset=[0,0,0,0],ie.clipOffset=[oe,oe,oe,oe],ie.plotBorderWidth=ne}drawChartBox(){let ie=this.options.chart,te=this.renderer,ne=this.chartWidth,oe=this.chartHeight,le=this.styledMode,ue=this.plotBGImage,de=ie.backgroundColor,fe=ie.plotBackgroun
vendor: 10,150 bytes, line 131
131dColor,me=ie.plotBackgroundImage,ge=this.plotLeft,Ee=this.plotTop,ve=this.plotWidth,ye=this.plotHeight,Se=this.plotBox,xe=this.clipRect,Ce=this.clipBox,Oe=this.chartBackground,Pe=this.plotBackground,He=this.plotBorder,Je,Xe,dt,ct="animate";Oe||(this.chartBackground=Oe=te.rect().addClass("highcharts-background").add(),ct="attr"),le?Je=Xe=Oe.strokeWidth():(Xe=(Je=ie.borderWidth||0)+(ie.shadow?8:0),dt={fill:de||"none"},(Je||Oe["stroke-width"])&&(dt.stroke=ie.borderColor,dt["stroke-width"]=Je),Oe.attr(dt).shadow(ie.shadow)),Oe[ct]({x:Xe/2,y:Xe/2,width:ne-Xe-Je%2,height:oe-Xe-Je%2,r:ie.borderRadius}),ct="animate",Pe||(ct="attr",this.plotBackground=Pe=te.rect().addClass("highcharts-plot-background").add()),Pe[ct](Se),!le&&(Pe.attr({fill:fe||"none"}).shadow(ie.plotShadow),me&&(ue?(me!==ue.attr("href")&&ue.attr("href",me),ue.animate(Se)):this.plotBGImage=te.image(me,ge,Ee,ve,ye).add())),xe?xe.animate({width:Ce.width,height:Ce.height}):this.clipRect=te.clipRect(Ce),ct="animate",He||(ct="attr",this.plotBorder=He=te.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),le||He.attr({stroke:ie.plotBorderColor,"stroke-width":ie.plotBorderWidth||0,fill:"none"}),He[ct](He.crisp({x:ge,y:Ee,width:ve,height:ye},-He.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")}propFromSeries(){let ie,te,ne,oe=this,le=oe.options.chart,ue=oe.options.series;["inverted","angular","polar"].forEach(function(de){for(te=a[le.type],ne=le[de]||te&&te.prototype[de],ie=ue&&ue.length;!ne&&ie--;)(te=a[ue[ie].type])&&te.prototype[de]&&(ne=!0);oe[de]=ne})}linkSeries(ie){let te=this,ne=te.series;ne.forEach(function(oe){oe.linkedSeries.length=0}),ne.forEach(function(oe){let{linkedTo:le}=oe.options;if(U(le)){let ue;(ue=le===":previous"?te.series[oe.index-1]:te.get(le))&&ue.linkedParent!==oe&&(ue.linkedSeries.push(oe),oe.linkedParent=ue,ue.enabledDataSorting&&oe.setDataSortingOptions(),oe.visible=O(oe.options.visible,ue.options.visible,oe.visible))}}),F(this,"afterLinkSeries",{isUpdating:ie})}renderSeries(){this.series.forEach(function(ie){ie.translate(),ie.render()})}render(){var ge;let ie=this.axes,te=this.colorAxis,ne=this.renderer,oe=this.options.chart.axisLayoutRuns||2,le=Ee=>{Ee.forEach(ve=>{ve.visible&&ve.render()})},ue=0,de=!0,fe,me=0;for(let Ee of(this.setTitle(),F(this,"beforeMargins"),(ge=this.getStacks)==null||ge.call(this),this.getMargins(!0),this.setChartSize(),ie)){let{options:ve}=Ee,{labels:ye}=ve;if(this.hasCartesianSeries&&Ee.horiz&&Ee.visible&&ye.enabled&&Ee.series.length&&Ee.coll!=="colorAxis"&&!this.polar){ue=ve.tickLength,Ee.createGroups();let Se=new H(Ee,0,"",!0),xe=Se.createLabel("x",ye);if(Se.destroy(),xe&&O(ye.reserveSpace,!w(ve.crossing))&&(ue=xe.getBBox().height+ye.distance+Math.max(ve.offset||0,0)),ue){xe==null||xe.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-ue,0);(de||fe||oe>1)&&me<oe;){let Ee=this.plotWidth,ve=this.plotHeight;for(let ye of ie)me===0?ye.setScale():(ye.horiz&&de||!ye.horiz&&fe)&&ye.setTickInterval(!0);me===0?this.getAxisMargins():this.getMargins(),de=Ee/this.plotWidth>(me?1:1.1),fe=ve/this.plotHeight>(me?1:1.05),me++}this.drawChartBox(),this.hasCartesianSeries?le(ie):te&&te.length&&le(te),this.seriesGroup||(this.seriesGroup=ne.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(ie){let te=this,ne=b(!0,this.options.credits,ie);ne.enabled&&!this.credits&&(this.credits=this.renderer.text(ne.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ne.href&&(p.location.href=ne.href)}).attr({align:ne.position.align,zIndex:8}),te.styledMode||this.credits.css(ne.style),this.credits.add().align(ne.position),this.credits.update=function(oe){te.credits=te.credits.destroy(),te.addCredits(oe)})}destroy(){let ie,te=this,ne=te.axes,oe=te.series,le=te.container,ue=le&&le.parentNode;for(F(te,"destroy"),te.renderer.forExport?I(P,te):P[te.index]=void 0,$.chartCount--,te.renderTo.removeAttribute("data-highcharts-chart"),Q(te),ie=ne.length;ie--;)ne[ie]=ne[ie].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),ie=oe.length;ie--;)oe[ie]=oe[ie].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(de){let fe=te[de];fe&&fe.destroy&&(te[de]=fe.destroy())}),le&&(le.innerHTML=V.emptyHTML,Q(le),ue&&y(le)),k(te,function(de,fe){delete te[fe]})}firstRender(){var oe;let ie=this,te=ie.options;ie.getContainer(),ie.resetMargins(),ie.setChartSize(),ie.propFromSeries(),ie.getAxes();let ne=_(te.series)?te.series:[];te.series=[],ne.forEach(function(le){ie.initSeries(le)}),ie.linkSeries(),ie.setSortedData(),F(ie,"beforeRender"),ie.render(),(oe=ie.pointer)==null||oe.getChartPosition(),ie.renderer.imgCount||ie.hasLoaded||ie.onload(),ie.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(ie){ie&&this.index!==void 0&&ie.apply(this,[this])},this),F(this,"load"),F(this,"render"),m(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:ie,title:te}=this;!ie||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(te&&te.element.textContent||"").replace(/</g,"<")}),ie.accessibility&&ie.accessibility.enabled===!1||E('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(ie,te,ne){let oe,le=this;return ie&&(te=O(te,!0),F(le,"addSeries",{options:ie},function(){oe=le.initSeries(ie),le.isDirtyLegend=!0,le.linkSeries(),oe.enabledDataSorting&&oe.setData(ie.data,!1),F(le,"afterAddSeries",{series:oe}),te&&le.redraw(ne)})),oe}addAxis(ie,te,ne,oe){return this.createAxis(te?"xAxis":"yAxis",{axis:ie,redraw:ne,animation:oe})}addColorAxis(ie,te,ne){return this.createAxis("colorAxis",{axis:ie,redraw:te,animation:ne})}createAxis(ie,te){let ne=new n(this,te.axis,ie);return O(te.redraw,!0)&&this.redraw(te.animation),ne}showLoading(ie){let te=this,ne=te.options,oe=ne.loading,le=function(){ue&&h(ue,{left:te.plotLeft+"px",top:te.plotTop+"px",width:te.plotWidth+"px",height:te.plotHeight+"px"})},ue=te.loadingDiv,de=te.loadingSpan;ue||(te.loadingDiv=ue=d("div",{className:"highcharts-loading highcharts-loading-hidden"},null,te.container)),de||(te.loadingSpan=de=d("span",{className:"highcharts-loading-inner"},null,ue),o(te,"redraw",le)),ue.className="highcharts-loading",V.setElementHTML(de,O(ie,ne.lang.loading,"")),te.styledMode||(h(ue,M(oe.style,{zIndex:10})),h(de,oe.labelStyle),te.loadingShown||(h(ue,{opacity:0,display:""}),T(ue,{opacity:oe.style.opacity||.5},{duration:oe.showDuration||0}))),te.loadingShown=!0,le()}hideLoading(){let ie=this.options,te=this.loadingDiv;te&&(te.className="highcharts-loading highcharts-loading-hidden",this.styledMode||T(te,{opacity:0},{duration:ie.loading.hideDuration||100,complete:function(){h(te,{display:"none"})}})),this.loadingShown=!1}update(ie,te,ne,oe){let le,ue,de,fe=this,me={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},ge=ie.isResponsiveOptions,Ee=[];F(fe,"update",{options:ie}),ge||fe.setResponsive(!1,!0),ie=f(ie,fe.options),fe.userOptions=b(fe.userOptions,ie);let ve=ie.chart;ve&&(b(!0,fe.options.chart,ve),this.setZoomOptions(),"className"in ve&&fe.setClassName(ve.className),("inverted"in ve||"polar"in ve||"type"in ve)&&(fe.propFromSeries(),le=!0),"alignTicks"in ve&&(le=!0),"events"in ve&&N(this,ve),k(ve,function(xe,Ce){fe.propsRequireUpdateSeries.indexOf("chart."+Ce)!==-1&&(ue=!0),fe.propsRequireDirtyBox.indexOf(Ce)!==-1&&(fe.isDirtyBox=!0),fe.propsRequireReflow.indexOf(Ce)===-1||(fe.isDirtyBox=!0,ge||(de=!0))}),!fe.styledMode&&ve.style&&fe.renderer.setStyle(fe.options.chart.style||{})),!fe.styledMode&&ie.colors&&(this.options.colors=ie.colors),ie.time&&(this.time===c&&(this.time=new R(ie.time)),b(!0,fe.options.time,ie.time)),k(ie,function(xe,Ce){fe[Ce]&&typeof fe[Ce].update=="function"?fe[Ce].update(xe,!1):typeof fe[me[Ce]]=="function"?fe[me[Ce]](xe):Ce!=="colors"&&fe.collectionsWithUpdate.indexOf(Ce)===-1&&b(!0,fe.options[Ce],ie[Ce]),Ce!=="chart"&&fe.propsRequireUpdateSeries.indexOf(Ce)!==-1&&(ue=!0)}),this.collectionsWithUpdate.forEach(function(xe){ie[xe]&&(ee(ie[xe]).forEach(function(Ce,Oe){let Pe,He=m(Ce.id);He&&(Pe=fe.get(Ce.id)),!Pe&&fe[xe]&&(Pe=fe[xe][O(Ce.index,Oe)])&&(He&&m(Pe.options.id)||Pe.options.isInternal)&&(Pe=void 0),Pe&&Pe.coll===xe&&(Pe.update(Ce,!1),ne&&(Pe.touched=!0)),!Pe&&ne&&fe.collectionsWithInit[xe]&&(fe.collectionsWithInit[xe][0].apply(fe,[Ce].concat(fe.collectionsWithInit[xe][1]||[]).concat([!1])).touched=!0)}),ne&&fe[xe].forEach(function(Ce){Ce.touched||Ce.options.isInternal?delete Ce.touched:Ee.push(Ce)}))}),Ee.forEach(function(xe){xe.chart&&xe.remove&&xe.remove(!1)}),le&&fe.axes.forEach(function(xe){xe.update({},!1)}),ue&&fe.getSeriesOrderByLinks().forEach(function(xe){xe.chart&&xe.update({},!1)},this);let ye=ve&&ve.width,Se=ve&&(U(ve.height)?W(ve.height,ye||fe.chartWidth):ve.height);de||w(ye)&&ye!==fe.chartWidth||w(Se)&&Se!==fe.chartHeight?fe.setSize(ye,Se,oe):O(te,!0)&&fe.redraw(oe),F(fe,"afterUpdate",{options:ie,redraw:te,animation:oe})}setSubtitle(ie,te){this.applyDescription("subtitle",ie),this.layOutTitles(te)}setCaption(ie,te){this.applyDescription("caption",ie),this.layOutTitles(te)}showResetZoom(){let ie=this,te=s.lang,ne=ie.zooming.resetButton,oe=ne.theme,le=ne.relativeTo==="chart"||ne.relativeTo==="spacingBox"?null:"plotBox";function ue(){ie.zoomOut()}F(this,"beforeShowResetZoom",null,function(){ie.resetZoomButton=ie.renderer.button(te.resetZoom,null,null,ue,oe).attr({align:ne.position.align,title:te.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ne.position,!1,le)}),F(this,"afterShowResetZoom")}zoomOut(){F(this,"selection",{resetSelection:!0}
131,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(ie,te){let ne=this,oe=typeof te=="object"?te:{enabled:te,type:"x"},le=oe.type,ue=le&&ne[{x:"xAxis",xy:"axes",y:"yAxis"}[le]].filter(fe=>fe.options.panningEnabled&&!fe.options.isInternal),de=ne.options.chart;de!=null&&de.panning&&(de.panning=oe),F(this,"pan",{originalEvent:ie},()=>{ne.transform({axes:ue,event:ie,to:{x:ie.chartX-(ne.mouseDownX||0),y:ie.chartY-(ne.mouseDownY||0)},trigger:"pan"}),h(ne.container,{cursor:"move"})})}transform(ie){var ye;let{axes:te=this.axes,event:ne,from:oe={},reset:le,selection:ue,to:de={},trigger:fe}=ie,{inverted:me}=this,ge=!1,Ee,ve;for(let Se of((ye=this.hoverPoints)==null||ye.forEach(xe=>xe.setState()),te)){let{horiz:xe,len:Ce,minPointOffset:Oe=0,options:Pe,reversed:He}=Se,Je=xe?"width":"height",Xe=xe?"x":"y",dt=O(de[Je],Se.len),ct=O(oe[Je],Se.len),vt=10>Math.abs(dt)?1:dt/ct,Gt=(oe[Xe]||0)+ct/2-Se.pos,Ft=Gt-((de[Xe]??Se.pos)+dt/2-Se.pos)/vt,Ii=He&&!me||!He&&me?-1:1;if(!le&&(Gt<0||Gt>Se.len))continue;let mt=Se.toValue(Ft,!0)+(ue||Se.isOrdinal?0:Oe*Ii),Lt=Se.toValue(Ft+Ce/vt,!0)-(ue||Se.isOrdinal?0:Oe*Ii||0),Kt=Se.allExtremes;if(mt>Lt&&([mt,Lt]=[Lt,mt]),vt===1&&!le&&Se.coll==="yAxis"&&!Kt){for(let Ct of Se.series){let Fe=Ct.getExtremes(Ct.getProcessedData(!0).yData,!0);Kt??(Kt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),w(Fe.dataMin)&&w(Fe.dataMax)&&(Kt.dataMin=Math.min(Fe.dataMin,Kt.dataMin),Kt.dataMax=Math.max(Fe.dataMax,Kt.dataMax))}Se.allExtremes=Kt}let{dataMin:Po,dataMax:qn,min:fs,max:Fs}=M(Se.getExtremes(),Kt||{}),Vs=Po??Pe.min,zs=qn??Pe.max,Zn=Lt-mt,yn=Se.categories?0:Math.min(Zn,zs-Vs),Fn=Vs-yn*(m(Pe.min)?0:Pe.minPadding),Kn=zs+yn*(m(Pe.max)?0:Pe.maxPadding),$s=Se.allowZoomOutside||vt===1||fe!=="zoom"&&vt>1,hn=Math.min(Pe.min??Fn,Fn,$s?fs:Fn),vn=Math.max(Pe.max??Kn,Kn,$s?Fs:Kn);(!Se.isOrdinal||Se.options.overscroll||vt!==1||le)&&(mt<hn&&(mt=hn,vt>=1&&(Lt=mt+Zn)),Lt>vn&&(Lt=vn,vt>=1&&(mt=Lt-Zn)),(le||Se.series.length&&(mt!==fs||Lt!==Fs)&&mt>=hn&&Lt<=vn)&&(ue?ue[Se.coll].push({axis:Se,min:mt,max:Lt}):(Se.isPanning=fe!=="zoom",Se.isPanning&&(ve=!0),Se.setExtremes(le?void 0:mt,le?void 0:Lt,!1,!1,{move:Ft,trigger:fe,scale:vt}),!le&&(mt>hn||Lt<vn)&&fe!=="mousewheel"&&(Ee=!0)),ge=!0),ne&&(this[xe?"mouseDownX":"mouseDownY"]=ne[xe?"chartX":"chartY"]))}return ge&&(ue?F(this,"selection",ue,()=>{delete ie.selection,ie.trigger="zoom",this.transform(ie)}):(!Ee||ve||this.resetZoomButton?!Ee&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(fe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),ge}}return M(he.prototype,{callbacks:[],collectionsWithInit:{xAxis:[he.prototype.addAxis,[!0]],yAxis:[he.prototype.addAxis,[!1]],series:[he.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
131dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),he}),r(e,"Extensions/ScrollablePlotArea.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{stop:B}=t,{composed:$}=n,{addEvent:K,createElement:G,css:q,defined:Z,merge:R,pushUnique:Y}=C;function V(){let L=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!L&&(this.scrollablePlotArea=L=new T(this)),L==null||L.applyFixed()}function H(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class T{static compose(j,s,c){Y($,this.compose)&&(K(j,"afterInit",H),K(s,"afterSetChartSize",x=>this.afterSetSize(x.target,x)),K(s,"render",V),K(c,"show",H))}static afterSetSize(j,s){let c,x,N,{minWidth:P,minHeight:S}=j.options.chart.scrollablePlotArea||{},{clipBox:g,plotBox:v,inverted:p,renderer:a}=j;if(!a.forExport&&(P?(j.scrollablePixelsX=c=Math.max(0,P-j.chartWidth),c&&(j.scrollablePlotBox=R(j.plotBox),v.width=j.plotWidth+=c,g[p?"height":"width"]+=c,N=!0)):S&&(j.scrollablePixelsY=x=Math.max(0,S-j.chartHeight),Z(x)&&(j.scrollablePlotBox=R(j.plotBox),v.height=j.plotHeight+=x,g[p?"width":"height"]+=x,N=!1)),Z(N)&&!s.skipAxes))for(let o of j.axes)o.horiz===N&&(o.setAxisSize(),o.setAxisTranslation())}constructor(j){var u;let s,c=j.options.chart,x=l.getRendererType(),N=c.scrollablePlotArea||{},P=this.moveFixedElements.bind(this),S={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};
131j.scrollablePixelsX&&(S.overflowX="auto"),j.scrollablePixelsY&&(S.overflowY="auto"),this.chart=j;let g=this.parentDiv=G("div",{className:"highcharts-scrolling-parent"},{position:"relative"},j.renderTo),v=this.scrollingContainer=G("div",{className:"highcharts-scrolling"},S,g),p=this.innerContainer=G("div",{className:"highcharts-inner-container"},void 0,v),a=this.fixedDiv=G("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((u=c.style)==null?void 0:u.zIndex)||0)+2,top:0},void 0,!0),o=this.fixedRenderer=new x(a,j.chartWidth,j.chartHeight,c.style);this.mask=o.path().attr({fill:c.backgroundColor||"#fff","fill-opacity":N.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),v.parentNode.insertBefore(a,v),q(j.renderTo,{overflow:"visible"}),K(j,"afterShowResetZoom",P),K(j,"afterApplyDrilldown",P),K(j,"afterLayOutTitles",P),K(v,"scroll",()=>{let{pointer:d,hoverPoint:h}=j;d&&(delete d.chartPosition,h&&(s=h),d.runPointActions(void 0,s,!0))}),p.appendChild(j.container)}applyFixed(){var w;let{chart:j,fixedRenderer:s,isDirty:c,scrollingContainer:x}=this,{axisOffset:N,chartWidth:P,chartHeight:S,container:g,plotHeight:v,plotLeft:p,plotTop:a,plotWidth:o,scrollablePixelsX:u=0,scrollablePixelsY:d=0}=j,{scrollPositionX:h=0,scrollPositionY:m=0}=j.options.chart.scrollablePlotArea||{},f=P+u,y=S+d;s.setSize(P,S),(c??!0)&&(this.isDirty=!1,this.moveFixedElements()),B(j.container),q(g,{width:`${f}px`,height:`${y}px`}),j.renderer.boxWrapper.attr({width:f,height:y,viewBox:[0,0,f,y].join(" ")}),(w=j.chartBackground)==null||w.attr({width:f,height:y}),q(x,{width:`${P}px`,height:`${S}px`}),Z(c)||(x.scrollLeft=u*h,x.scrollTop=d*m);let I=a-N[0]-1,E=p-N[3]-1,M=a+v+N[2]+1,D=p+o+N[1]+1,F=p+o-u,X=a+v-d,_=[["M",0,0]];u?_=[["M",0,I],["L",p-1,I],["L",p-1,M],["L",0,M],["Z"],["M",F,I],["L",P,I],["L",P,M],["L",F,M],["Z"]]:d&&(_=[["M",E,0],["L",E,a-1],["L",D,a-1],["L",D,0],["Z"],["M",E,X],["L",E,S],["L",D,S],["L",D,X],["Z"]]),j.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:_})}moveFixedElements(){let j,{container:s,inverted:c,scrollablePixelsX:x,scrollablePixelsY:N}=this.chart,P=this.fixedRenderer,S=T.fixedSelectors;for(let g of(x&&!c?j=".highcharts-yaxis":x&&c||N&&!c?j=".highcharts-xaxis":N&&c&&(j=".highcharts-yaxis"),j&&S.push(`${j}:not(.highcharts-radial-axis)`,`${j}-labels:not(.highcharts-radial-axis-labels)`),S))[].forEach.call(s.querySelectorAll(g),v=>{(v.namespaceURI===P.SVG_NS?P.box:P.box.parentNode).appendChild(v),v.style.pointerEvents="auto"})}}return T.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],T}),r(e,"Core/Axis/Stacking/StackItem.js",[e["Core/Templating.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{format:C}=t,{series:B}=n,{destroyObjectProperties:$,fireEvent:K,isNumber:G,pick:q}=l;return class{constructor(Z,R,Y,V,H){let T=Z.chart.inverted,L=Z.reversed;this.axis=Z;let j=this.isNegative=!!Y!=!!L;this.options=R=R||{},this.x=V,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=H,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:R.align||(T?j?"left":"right":"center"),verticalAlign:R.verticalAlign||(T?"middle":j?"bottom":"top"),y:R.y,x:R.x},this.textAlign=R.textAlign||(T?j?"right":"left":"center")}destroy(){$(this,this.axis)}render(Z){let R=this.axis.chart,Y=this.options,V=Y.format,H=V?C(V,this,R):Y.formatter.call(this);if(this.label)this.label.attr({text:H,visibility:"hidden"});else{this.label=R.renderer.label(H,null,void 0,Y.shape,void 0,void 0,Y.useHTML,!1,"stack-labels");let T={r:Y.borderRadius||0,text:H,padding:q(Y.padding,5),visibility:"hidden"};R.styledMode||(T.fill=Y.backgroundColor,T.stroke=Y.borderColor,T["stroke-width"]=Y.borderWidth,this.label.css(Y.style||{})),this.label.attr(T),this.label.added||this.label.add(Z)}
131this.label.labelrank=R.plotSizeY,K(this,"afterRender")}setOffset(Z,R,Y,V,H,T){let{alignOptions:L,axis:j,label:s,options:c,textAlign:x}=this,N=j.chart,P=this.getStackBox({xOffset:Z,width:R,boxBottom:Y,boxTop:V,defaultX:H,xAxis:T}),{verticalAlign:S}=L;if(s&&P){let g=s.getBBox(void 0,0),v=s.padding,p=q(c.overflow,"justify")==="justify",a;L.x=c.x||0,L.y=c.y||0;let{x:o,y:u}=this.adjustStackPosition({labelBox:g,verticalAlign:S,textAlign:x});P.x-=o,P.y-=u,s.align(L,!1,P),(a=N.isInsidePlot(s.alignAttr.x+L.x+o,s.alignAttr.y+L.y+u))||(p=!1),p&&B.prototype.justifyDataLabel.call(j,s,L,s.alignAttr,g,P),s.attr({x:s.alignAttr.x,y:s.alignAttr.y,rotation:c.rotation,rotationOriginX:g.width*{left:0,center:.5,right:1}[c.textAlign||"center"],rotationOriginY:g.height/2}),q(!p&&c.crop,!0)&&(a=G(s.x)&&G(s.y)&&N.isInsidePlot(s.x-v+(s.width||0),s.y)&&N.isInsidePlot(s.x+v,s.y)),s[a?"show":"hide"]()}K(this,"afterSetOffset",{xOffset:Z,width:R})}adjustStackPosition({labelBox:Z,verticalAlign:R,textAlign:Y}){let V={bottom:0,middle:1,top:2,right:1,center:0,left:-1},H=V[R],T=V[Y];return{x:Z.width/2+Z.width/2*T,y:Z.height/2*H}}getStackBox(Z){let R=this.axis,Y=R.chart,{boxTop:V,defaultX:H,xOffset:T,width:L,boxBottom:j}=Z,s=R.stacking.usePercentage?100:q(V,this.total,0),c=R.toPixels(s),x=Z.xAxis||Y.xAxis[0],N=q(H,x.translate(this.x))+T,P=Math.abs(c-R.toPixels(j||G(R.min)&&R.logarithmic&&R.logarithmic.lin2log(R.min)||0)),S=Y.inverted,g=this.isNegative;return S?{x:(g?c:c-P)-Y.plotLeft,y:x.height-N-L+x.top-Y.plotTop,width:P,height:L}:{x:N+x.transB-Y.plotLeft,y:(g?c-P:c)-Y.plotTop,width:L,height:P}}}}),r(e,"Core/Axis/Stacking/StackingAxis.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Axis/Axis.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{getDeferredAnimation:K}=t,{series:{prototype:G}}=l,{addEvent:q,correctFloat:Z,defined:R,destroyObjectProperties:Y,fireEvent:V,isArray:H,isNumber:T,objectEach:L,pick:j}=B;function s(){let a=this.inverted;this.axes.forEach(o=>{o.stacking&&o.stacking.stacks&&o.hasVisibleSeries&&(o.stacking.oldStacks=o.stacking.stacks)}),this.series.forEach(o=>{let u=o.xAxis&&o.xAxis.options||{};o.options.stacking&&o.reserveSpace()&&(o.stackKey=[o.type,j(o.options.stack,""),a?u.top:u.left,a?u.height:u.width].join(","))})}function c(){var o;let a=this.stacking;if(a){let u=a.stacks;L(u,(d,h)=>{Y(d),delete u[h]}),(o=a.stackTotalGroup)==null||o.destroy()}}function x(){this.stacking||(this.stacking=new p(this))}function N(a,o,u,d){return!R(a)||a.x!==o||d&&a.stackKey!==d?a={x:o,index:0,key:d,stackKey:d}:a.index++,a.key=[u,o,a.index].join(","),a}function P(){let a,o=this,u=o.yAxis,d=o.stackKey||"",h=u.stacking.stacks,m=o.processedXData,f=o.options.stacking,y=o[f+"Stacker"];y&&[d,"-"+d].forEach(I=>{var X;let E=m.length,M,D,F;for(;E--;)M=m[E],a=o.getStackIndicator(a,M,o.index,I),D=(X=h[I])==null?void 0:X[M],(F=D==null?void 0:D.points[a.key||""])&&y.call(o,F,D,E)})}function S(a,o,u){let d=o.total?100/o.total:0;a[0]=Z(a[0]*d),a[1]=Z(a[1]*d),this.stackedYData[u]=a[1]}function g(a){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?G.setStackedPoints.call(this,a,"group"):a.stacking.resetStacks())}function v(a,o){var ae,he;let u,d,h,m,f,y,I,E,M,D=o||this.options.stacking;if(!D||!this.reserveSpace()||({group:"xAxis"}[D]||"yAxis")!==a.coll)return;let F=this.processedXData,X=this.processedYData,_=[],w=X.length,A=this.options,U=A.threshold||0,b=A.startFromThreshold?U:0,k=A.stack,O=o?`${this.type},${D}`:this.stackKey||"",z="-"+O,W=this.negStacks,Q=a.stacking,ee=Q.stacks,se=Q.oldStacks;for(Q.stacksTouched+=1,I=0;I<w;I++){E=F[I],M=X[I],y=(u=this.getStackIndicator(u,E,this.index)).key||"",ee[f=(d=W&&M<(b?0:U))?z:O]||(ee[f]={}),ee[f][E]||((ae=se[f])!=null&&ae[E]?(ee[f][E]=se[f][E],ee[f][E].total=null):ee[f][E]=new C(a,a.options.stackLabels,!!d,E,k)),h=ee[f][E],M!==null?(h.points[y]=h.points[this.index]=[j(h.cumulative,b)],R(h.cumulative)||(h.base=y),h.touched=Q.stacksTouched,u.index>0&&this.singleStacks===!1&&(h.points[y][0]=h.points[this.index+","+E+",0"][0])):(delete h.points[y],delete h.points[this.index]);let ce=h.total||0;D==="percent"?(m=d?O:z,ce=W&&((he=ee[m])!=null&&he[E])?(m=ee[m][E]).total=Math.max(m.total||0,ce)+Math.abs(M)||0:Z(ce+(Math.abs(M)||0))):D==="group"?(H(M)&&(M=M[0]),M!==null&&ce++):ce=Z(ce+(M||0)),D==="group"?h.cumulative=(ce||1)-1:h.cumulative=Z(j(h.cumulative,b)+(M||0)),h.total=ce,M!==null&&(h.points[y].push(h.cumulative),_[I]=h.cumulative,h.hasValidPoints=!0)}D==="percent"&&(Q.usePercentage=!0),D!=="group"&&(this.stackedYData=_),Q.oldStacks={}}class p{constructor(o){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=o}buildStacks(){let o,u,d=this.axis,h=d.series,m=d.coll==="xAxis",f=d.options.reversedStacks,y=h.length;for(this.resetStacks(),this.usePercentage=!1,u=y;u--;)o=h[f?u:y-u-1],m&&o.setGroupedPoints(d),o.setStackedPoints(d);if(!m)for(u=0;
vendor: 5,286 bytes, line 131
131u<y;u++)h[u].modifyStacks();V(d,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,L(this.stacks,o=>{L(o,u=>{u.cumulative=u.total})}))}resetStacks(){L(this.stacks,o=>{L(o,(u,d)=>{T(u.touched)&&u.touched<this.stacksTouched?(u.destroy(),delete o[d]):(u.total=null,u.cumulative=null)})})}renderStackTotals(){var y;let o=this.axis,u=o.chart,d=u.renderer,h=this.stacks,m=K(u,((y=o.options.stackLabels)==null?void 0:y.animation)||!1),f=this.stackTotalGroup=this.stackTotalGroup||d.g("stack-labels").attr({zIndex:6,opacity:0}).add();f.translate(u.plotLeft,u.plotTop),L(h,I=>{L(I,E=>{E.render(f)})}),f.animate({opacity:1},m)}}return($||($={})).compose=function(a,o,u){let d=o.prototype,h=u.prototype;d.getStacks||(q(a,"init",x),q(a,"destroy",c),d.getStacks=s,h.getStackIndicator=N,h.modifyStacks=P,h.percentStacker=S,h.setGroupedPoints=g,h.setStackedPoints=v)},$}),r(e,"Series/Line/LineSeries.js",[e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{defined:C,merge:B,isObject:$}=l;class K extends t{drawGraph(){let q=this.options,Z=(this.gappedPath||this.getGraphPath).call(this),R=this.chart.styledMode;[this,...this.zones].forEach((Y,V)=>{let H,T=Y.graph,L=T?"animate":"attr",j=Y.dashStyle||q.dashStyle;T?(T.endX=this.preventGraphAnimation?null:Z.xMap,T.animate({d:Z})):Z.length&&(Y.graph=T=this.chart.renderer.path(Z).addClass("highcharts-graph"+(V?` highcharts-zone-graph-${V-1} `:" ")+(V&&Y.className||"")).attr({zIndex:1}).add(this.group)),T&&!R&&(H={stroke:!V&&q.lineColor||Y.color||this.color||"#cccccc","stroke-width":q.lineWidth||0,fill:this.fillGraph&&this.color||"none"},j?H.dashstyle=j:q.linecap!=="square"&&(H["stroke-linecap"]=H["stroke-linejoin"]="round"),T[L](H).shadow(V<2&&q.shadow&&B({filterUnits:"userSpaceOnUse"},$(q.shadow)?q.shadow:{}))),T&&(T.startX=Z.xMap,T.isArea=Z.isArea)})}getGraphPath(q,Z,R){let Y=this,V=Y.options,H=[],T=[],L,j=V.step,s=(q=q||Y.points).reversed;return s&&q.reverse(),(j={right:1,center:2}[j]||j&&3)&&s&&(j=4-j),(q=this.getValidPoints(q,!1,!(V.connectNulls&&!Z&&!R))).forEach(function(c,x){let N,P=c.plotX,S=c.plotY,g=q[x-1],v=c.isNull||typeof S!="number";(c.leftCliff||g&&g.rightCliff)&&!R&&(L=!0),v&&!C(Z)&&x>0?L=!V.connectNulls:v&&!Z?L=!0:(x===0||L?N=[["M",c.plotX,c.plotY]]:Y.getPointSpline?N=[Y.getPointSpline(q,c,x)]:j?(N=j===1?[["L",g.plotX,S]]:j===2?[["L",(g.plotX+P)/2,g.plotY],["L",(g.plotX+P)/2,S]]:[["L",P,g.plotY]]).push(["L",P,S]):N=[["L",P,S]],T.push(c.x),j&&(T.push(c.x),j===2&&T.push(c.x)),H.push.apply(H,N),L=!1)}),H.xMap=T,Y.graphPath=H,H}}return K.defaultOptions=B(t.defaultOptions,{legendSymbol:"lineMarker"}),n.registerSeriesType("line",K),K}),r(e,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),r(e,"Series/Area/AreaSeries.js",[e["Series/Area/AreaSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{line:C}}=n,{extend:B,merge:$,objectEach:K,pick:G}=l;class q extends C{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:R,options:Y}=this;[this,...this.zones].forEach((V,H)=>{let T={},L=V.fillColor||Y.fillColor,j=V.area,s=j?"animate":"attr";j?(j.endX=this.preventGraphAnimation?null:R.xMap,j.animate({d:R})):(T.zIndex=0,(j=V.area=this.chart.renderer.path(R).addClass("highcharts-area"+(H?` highcharts-zone-area-${H-1} `:" ")+(H&&V.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(T.fill=L||V.color||this.color,T["fill-opacity"]=L?1:Y.fillOpacity??.75,j.css({pointerEvents:this.stickyTracking?"none":"auto"})),j[s](T),j.startX=R.xMap,j.shiftUnit=Y.step?2:1})}getGraphPath(R){let Y,V,H,T=C.prototype.getGraphPath,L=this.options,j=L.stacking,s=this.yAxis,c=[],x=[],N=this.index,P=s.stacking.stacks[this.stackKey],S=L.threshold,g=Math.round(s.getThreshold(L.threshold)),v=G(L.connectNulls,j==="percent"),p=function(m,f,y){let I=R[m],E=j&&P[I.x].points[N],M=I[y+"Null"]||0,D=I[y+"Cliff"]||0,F,X,_=!0;D||M?(F=(M?E[0]:E[1])+D,X=E[0]+D,_=!!M):!j&&R[f]&&R[f].isNull&&(F=X=S),F!==void 0&&(x.push({plotX:Y,plotY:F===null?g:s.getThreshold(F),isNull:_,isCliff:!0}),c.push({plotX:Y,plotY:X===null?g:s.getThreshold(X),doCurve:!1}))};R=R||this.points,j&&(R=this.getStackPoints(R));for(let m=0,f=R.length;m<f;++m)j||(R[m].leftCliff=R[m].rightCliff=R[m].leftNull=R[m].rightNull=void 0),V=R[m].isNull,Y=G(R[m].rectPlotX,R[m].plotX),H=j?G(R[m].yBottom,g):g,V&&!v||(v||p(m,m-1,"left"),V&&!j&&v||(x.push(R[m]),c.push({x:m,plotX:Y,plotY:H})),v||p(m,m+1,"right"));let a=T.call(this,x,!0,!0);c.reversed=!0;let o=T.call(this,c,!0,!0),u=o[0];u&&u[0]==="M"&&(o[0]=["L",u[1],u[2]]);let d=a.concat(o);d.length&&d.push(["Z"]);let h=T.call(this,x,!1,v);return this.chart.series.length>1&&j&&x.some(m=>m.isCliff)&&(d.hasStackedCliffs=h.hasStackedCliffs=!0),d.xMap=a.xMap,this.areaPath=d,h}getStackPoints(R){let Y=this,V=[],H=[],T=this.xAxis,L=this.yAxis,j=L.stacking.stacks[this.stackKey],s={},c=L.series,x=c.length,N=L.options.reversedStacks?1:-1,P=c.indexOf(Y);if(R=R||this.points,this.options.stacking){for(let g=0;g<R.length;g++)R[g].leftNull=R[g].rightNull=void 0,s[R[g].x]=R[g];K(j,function(g,v){g.total!==null&&H.push(v)}),H.sort(function(g,v){return g-v});let S=c.map(g=>g.visible);H.forEach(function(g,v){let p=0,a,o;
131if(s[g]&&!s[g].isNull)V.push(s[g]),[-1,1].forEach(function(u){let d=u===1?"rightNull":"leftNull",h=j[H[v+u]],m=0;if(h){let f=P;for(;f>=0&&f<x;){let y=c[f].index;!(a=h.points[y])&&(y===Y.index?s[g][d]=!0:S[f]&&(o=j[g].points[y])&&(m-=o[1]-o[0])),f+=N}}s[g][u===1?"rightCliff":"leftCliff"]=m});else{let u=P;for(;u>=0&&u<x;){let d=c[u].index;if(a=j[g].points[d]){p=a[1];break}u+=N}p=G(p,0),p=L.translate(p,0,1,0,1),V.push({isNull:!0,plotX:T.translate(g,0,0,0,1),x:g,plotY:p,yBottom:p})}})}return V}}return q.defaultOptions=$(C.defaultOptions,t),B(q.prototype,{singleStacks:!1}),n.registerSeriesType("area",q),q}),r(e,"Series/Spline/SplineSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{line:l}=t.seriesTypes,{merge:C,pick:B}=n;class $ extends l{getPointSpline(G,q,Z){let R,Y,V,H,T=q.plotX||0,L=q.plotY||0,j=G[Z-1],s=G[Z+1];function c(N){return N&&!N.isNull&&N.doCurve!==!1&&!q.isCliff}if(c(j)&&c(s)){let N=j.plotX||0,P=j.plotY||0,S=s.plotX||0,g=s.plotY||0,v=0;R=(1.5*T+N)/2.5,Y=(1.5*L+P)/2.5,V=(1.5*T+S)/2.5,H=(1.5*L+g)/2.5,V!==R&&(v=(H-Y)*(V-T)/(V-R)+L-H),Y+=v,H+=v,Y>P&&Y>L?(Y=Math.max(P,L),H=2*L-Y):Y<P&&Y<L&&(Y=Math.min(P,L),H=2*L-Y),H>g&&H>L?(H=Math.max(g,L),Y=2*L-H):H<g&&H<L&&(H=Math.min(g,L),Y=2*L-H),q.rightContX=V,q.rightContY=H,q.controlPoints={low:[R,Y],high:[V,H]}}let x=["C",B(j.rightContX,j.plotX,0),B(j.rightContY,j.plotY,0),B(R,T,0),B(Y,L,0),T,L];return j.rightContX=j.rightContY=void 0,x}}return $.defaultOptions=C(l.defaultOptions),t.registerSeriesType("spline",$),$}),r(e,"Series/AreaSpline/AreaSplineSeries.js",[e["Series/Spline/SplineSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{area:C,area:{prototype:B}}=n.seriesTypes,{extend:$,merge:K}=l;class G extends t{}return G.defaultOptions=K(t.defaultOptions,C.defaultOptions),$(G.prototype,{getGraphPath:B.getGraphPath,getStackPoints:B.getStackPoints,drawGraph:B.drawGraph}),n.registerSeriesType("areaspline",G),G}),r(e,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),r(e,"Series/Column/ColumnSeries.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Color/Color.js"],e["Series/Column/ColumnSeriesDefaults.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{animObject:G}=t,{parse:q}=n,{noop:Z}=C,{clamp:R,crisp:Y,defined:V,extend:H,fireEvent:T,isArray:L,isNumber:j,merge:s,pick:c,objectEach:x}=K;class N extends B{animate(S){let g,v,p=this,a=this.yAxis,o=a.pos,u=a.reversed,d=p.options,{clipOffset:h,inverted:m}=this.chart,f={},y=m?"translateX":"translateY";S&&h?(f.scaleY=.001,v=R(a.toPixels(d.threshold),o,o+a.len),m?(v+=u?-Math.floor(h[0]):Math.ceil(h[2]),f.translateX=v-a.len):(v+=u?Math.ceil(h[0]):-Math.floor(h[2]),f.translateY=v),p.clipBox&&p.setClip(),p.group.attr(f)):(g=Number(p.group.attr(y)),p.group.animate({scaleY:1},H(G(p.options.animation),{step:function(I,E){p.group&&(f[y]=g+E.pos*(o-g),p.group.attr(f))}})))}init(S,g){super.init.apply(this,arguments);let v=this;(S=v.chart).hasRendered&&S.series.forEach(function(p){p.type===v.type&&(p.isDirty=!0)})}getColumnMetrics(){var M,D;let S=this,g=S.options,v=S.xAxis,p=S.yAxis,a=v.options.reversedStacks,o=v.reversed&&!a||!v.reversed&&a,u={},d,h=0;g.grouping===!1?h=1:S.chart.series.forEach(function(F){let X,_=F.yAxis,w=F.options;F.type===S.type&&F.reserveSpace()&&p.len===_.len&&p.pos===_.pos&&(w.stacking&&w.stacking!=="group"?(u[d=F.stackKey]===void 0&&(u[d]=h++),X=u[d]):w.grouping!==!1&&(X=h++),F.columnIndex=X)});let m=Math.min(Math.abs(v.transA)*(!((M=v.brokenAxis)!=null&&M.hasBreaks)&&((D=v.ordinal)==null?void 0:D.slope)||g.pointRange||v.closestPointRange||v.tickInterval||1),v.len),f=m*g.groupPadding,y=(m-2*f)/(h||1),I=Math.min(g.maxPointWidth||v.len,c(g.pointWidth,y*(1-2*g.pointPadding))),E=(S.columnIndex||0)+(o?1:0);return S.columnMetrics={width:I,offset:(y-I)/2+(f+E*y-m/2)*(o?-1:1),paddedWidth:y,columnCount:h},S.columnMetrics}crispCol(S,g,v,p){let a=this.borderWidth,o=this.chart.inverted;return p=Y(g+p,a,o)-(g=Y(g,a,o)),this.options.crisp&&(v=Y(S+v,a)-(S=Y(S,a))),{x:S,y:g,width:v,height:p}}adjustForMissingColumns(S,g,v,p){var a;if(!v.isNull&&p.columnCount>1){let o=this.xAxis.series.filter(m=>m.visible).map(m=>m.index),u=0,d=0;x((a=this.xAxis.stacking)==null?void 0:a.stacks,m=>{if(typeof v.x=="number"){let f=m[v.x.toString()];if(f&&L(f.points[this.index])){let y=Object.keys(f.points).filter(I=>!I.match(",")&&f.points[I]&&f.points[I].length>1).map(parseFloat).filter(I=>o.indexOf(I)!==-1).sort((I,E)=>E-I);u=y.indexOf(this.index),d=y.length}}}),u=this.xAxis.reversed?d-1-u:u;let h=(d-1)*p.paddedWidth+g;S=(v.plotX||0)+h/2-g-u*p.paddedWidth}return S}translate(){let S=this,g=S.chart,v=S.options,p=S.dense=S.closestPointRange*S.xAxis.transA<2,a=S.borderWidth=c(v.borderWidth,p?0:1),o=S.xAxis,u=S.yAxis,d=v.threshold,h=c(v.minPointLength,5),m=S.getColumnMetrics(),f=m.width,y=S.pointXOffset=m.offset,I=S.dataMin,E=S.dataMax,M=S.translatedThreshold=u.getThreshold(d),D=S.barW=Math.max(f,1+2*a);v.pointPadding&&(D=Math.ceil(D)),B.prototype.translate.apply(S),S.points.forEac
vendor: 5,809 bytes, line 131
131h(function(F){let X=c(F.yBottom,M),_=999+Math.abs(X),w=F.plotX||0,A=R(F.plotY,-_,u.len+_),U,b=Math.min(A,X),k=Math.max(A,X)-b,O=f,z=w+y,W=D;h&&Math.abs(k)<h&&(k=h,U=!u.reversed&&!F.negative||u.reversed&&F.negative,j(d)&&j(E)&&F.y===d&&E<=d&&(u.min||0)<d&&(I!==E||(u.max||0)<=d)&&(U=!U,F.negative=!F.negative),b=Math.abs(b-M)>h?X-h:M-(U?h:0)),V(F.options.pointWidth)&&(z-=Math.round(((O=W=Math.ceil(F.options.pointWidth))-f)/2)),v.centerInCategory&&!v.stacking&&(z=S.adjustForMissingColumns(z,O,F,m)),F.barX=z,F.pointWidth=O,F.tooltipPos=g.inverted?[R(u.len+u.pos-g.plotLeft-A,u.pos-g.plotLeft,u.len+u.pos-g.plotLeft),o.len+o.pos-g.plotTop-z-W/2,k]:[o.left-g.plotLeft+z+W/2,R(A+u.pos-g.plotTop,u.pos-g.plotTop,u.len+u.pos-g.plotTop),k],F.shapeType=S.pointClass.prototype.shapeType||"roundedRect",F.shapeArgs=S.crispCol(z,F.isNull?M:b,W,F.isNull?0:k)}),T(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(S,g){let v=this.options,p=this.pointAttrToOptions||{},a=p.stroke||"borderColor",o=p["stroke-width"]||"borderWidth",u,d,h,m=S&&S.color||this.color,f=S&&S[a]||v[a]||m,y=S&&S.options.dashStyle||v.dashStyle,I=S&&S[o]||v[o]||this[o]||0,E=c(S&&S.opacity,v.opacity,1);S&&this.zones.length&&(d=S.getZone(),m=S.options.color||d&&(d.color||S.nonZonedColor)||this.color,d&&(f=d.borderColor||f,y=d.dashStyle||y,I=d.borderWidth||I)),g&&S&&(h=(u=s(v.states[g],S.options.states&&S.options.states[g]||{})).brightness,m=u.color||h!==void 0&&q(m).brighten(u.brightness).get()||m,f=u[a]||f,I=u[o]||I,y=u.dashStyle||y,E=c(u.opacity,E));let M={fill:m,stroke:f,"stroke-width":I,opacity:E};return y&&(M.dashstyle=y),M}drawPoints(S=this.points){let g,v=this,p=this.chart,a=v.options,o=p.renderer,u=a.animationLimit||250;S.forEach(function(d){let h=d.plotY,m=d.graphic,f=!!m,y=m&&p.pointCount<u?"animate":"attr";j(h)&&d.y!==null?(g=d.shapeArgs,m&&d.hasNewShapeType()&&(m=m.destroy()),v.enabledDataSorting&&(d.startXPos=v.xAxis.reversed?-(g&&g.width||0):v.xAxis.width),!m&&(d.graphic=m=o[d.shapeType](g).add(d.group||v.group),m&&v.enabledDataSorting&&p.hasRendered&&p.pointCount<u&&(m.attr({x:d.startXPos}),f=!0,y="animate")),m&&f&&m[y](s(g)),p.styledMode||m[y](v.pointAttribs(d,d.selected&&"select")).shadow(d.allowShadow!==!1&&a.shadow),m&&(m.addClass(d.getClassName(),!0),m.attr({visibility:d.visible?"inherit":"hidden"}))):m&&(d.graphic=m.destroy())})}drawTracker(S=this.points){let g,v=this,p=v.chart,a=p.pointer,o=function(u){let d=a==null?void 0:a.getPointFromEvent(u);a&&d&&v.options.enableMouseTracking&&(a.isDirectTouch=!0,d.onMouseOver(u))};S.forEach(function(u){g=L(u.dataLabels)?u.dataLabels:u.dataLabel?[u.dataLabel]:[],u.graphic&&(u.graphic.element.point=u),g.forEach(function(d){(d.div||d.element).point=u})}),v._hasTracking||(v.trackerGroups.forEach(function(u){v[u]&&(v[u].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",function(d){a==null||a.onTrackerMouseOut(d)}).on("touchstart",o),!p.styledMode&&v.options.cursor&&v[u].css({cursor:v.options.cursor}))}),v._hasTracking=!0),T(this,"afterDrawTracker")}remove(){let S=this,g=S.chart;g.hasRendered&&g.series.forEach(function(v){v.type===S.type&&(v.isDirty=!0)}),B.prototype.remove.apply(S,arguments)}}return N.defaultOptions=s(B.defaultOptions,l),H(N.prototype,{directTouch:!0,getSymbol:Z,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),$.registerSeriesType("column",N),N}),r(e,"Core/Series/DataLabel.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Templating.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{getDeferredAnimation:B}=t,{format:$}=n,{defined:K,extend:G,fireEvent:q,isArray:Z,isString:R,merge:Y,objectEach:V,pick:H,pInt:T,splat:L}=l;return function(j){function s(){return v(this).some(a=>a==null?void 0:a.enabled)}function c(a,o,u,d,h){var A;let{chart:m,enabledDataSorting:f}=this,y=this.isCartesian&&m.inverted,I=a.plotX,E=a.plotY,M=u.rotation||0,D=K(I)&&K(E)&&m.isInsidePlot(I,Math.round(E),{inverted:y,paneCoordinates:!0,series:this}),F=M===0&&H(u.overflow,f?"none":"justify")==="justify",X=this.visible&&a.visible!==!1&&K(I)&&(a.series.forceDL||f&&!F||D||H(u.inside,!!this.options.stacking)&&d&&m.isInsidePlot(I,y?d.x+1:d.y+d.height-1,{inverted:y,paneCoordinates:!0,series:this})),_=a.pos();if(X&&_){var w;let U=o.getBBox(),b=o.getBBox(void 0,0),k={right:1,center:.5}[u.align||0]||0,O={bottom:1,middle:.5}[u.verticalAlign||0]||0;if(d=G({x:_[0],y:Math.round(_[1]),width:0,height:0},d||{}),u.alignTo==="plotEdges"&&this.isCartesian&&(d[y?"x":"y"]=0,d[y?"width":"height"]=((A=this.yAxis)==null?void 0:A.len)||0),G(u,{width:U.width,height:U.height}),w=d,f&&this.xAxis&&!F&&this.setDataLabelStartPos(a,o,h,D,w),o.align(Y(u,{width:b.width,height:b.height}),!1,d,!1),o.alignAttr.x+=k*(b.width-U.width),o.alignAttr.y+=O*(b.height-U.height),o[o.placed?"animate":"attr"]({x:o.alignAttr.x+(U.width-b.width)/2,y:o.alignAttr.y+(U.height-b.height)/2,rotationOriginX:(o.width||0)/2,rotationOriginY:(o.height||0)/2}),F&&d.height>=0)this.justifyDataLabel(o,u,o.alignAttr,U,d,h);else if(H(u.crop,!0)){let{x:z,y:W}=o.alignAttr;X=m.isInsidePlot(z,W,{paneCoordinates:!0,series:this})&&m.isInsidePlot(z+U.width-1,W+U.height-1,{paneCoordinates:!0,series:this})}u.shape&&!M&&o[h?"attr":"animate"]({anchorX:_[0],anchorY:_[1]})}h&&f&&(o.placed=!1),X||f&&!F?(o.show(),o.placed=!0):(o.hide(),o.placed=!1)}function x(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function N(a){let o=this.hasRendered||0,u=this.initDataLabelsGroup().attr({opacity:+o});return!o&&u&&(this.visible&&u.show(),this.options.animation?u.animate({opacity:1},a):u.attr({opacity:1})),u}function P(a){var X;let o;a=a||this.points;let u=this,d=u.chart,h=u.options,m=d.renderer,{backgroundColor:f,plotBackgroun
131dColor:y}=d.options.chart,I=m.getContrast(R(y)&&y||R(f)&&f||"#000000"),E=v(u),{animation:M,defer:D}=E[0],F=D?B(d,M,u):{defer:0,duration:0};q(this,"drawDataLabels"),(X=u.hasDataLabels)!=null&&X.call(u)&&(o=this.initDataLabels(F),a.forEach(_=>{var U,b;let w=_.dataLabels||[];L(g(E,_.dlOptions||((U=_.options)==null?void 0:U.dataLabels))).forEach((k,O)=>{let z=k.enabled&&(_.visible||_.dataLabelOnHidden)&&(!_.isNull||_.dataLabelOnNull)&&function(ue,de){let fe=de.filter;if(fe){let me=fe.operator,ge=ue[fe.property],Ee=fe.value;return me===">"&&ge>Ee||me==="<"&&ge<Ee||me===">="&&ge>=Ee||me==="<="&&ge<=Ee||me==="=="&&ge==Ee||me==="==="&&ge===Ee||me==="!="&&ge!=Ee||me==="!=="&&ge!==Ee}return!0}(_,k),{backgroundColor:W,borderColor:Q,distance:ee,style:se={}}=k,ae,he,ce,ie,te={},ne=w[O],oe=!ne,le;z&&(he=H(k[_.formatPrefix+"Format"],k.format),ae=_.getLabelConfig(),ce=K(he)?$(he,ae,d):(k[_.formatPrefix+"Formatter"]||k.formatter).call(ae,k),ie=k.rotation,!d.styledMode&&(se.color=H(k.color,se.color,R(u.color)?u.color:void 0,"#000000"),se.color==="contrast"?(W!=="none"&&(le=W),_.contrastColor=m.getContrast(le!=="auto"&&le||_.color||u.color),se.color=le||!K(ee)&&k.inside||0>T(ee||0)||h.stacking?_.contrastColor:I):delete _.contrastColor,h.cursor&&(se.cursor=h.cursor)),te={r:k.borderRadius||0,rotation:ie,padding:k.padding,zIndex:1},d.styledMode||(te.fill=W==="auto"?_.color:W,te.stroke=Q==="auto"?_.color:Q,te["stroke-width"]=k.borderWidth),V(te,(ue,de)=>{ue===void 0&&delete te[de]})),!ne||z&&K(ce)&&!!ne.div==!!k.useHTML&&(ne.rotation&&k.rotation||ne.rotation===k.rotation)||(ne=void 0,oe=!0),z&&K(ce)&&(ne?te.text=ce:(ne=m.label(ce,0,0,k.shape,void 0,void 0,k.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+_.colorIndex+" "+(k.className||"")+(k.useHTML?" highcharts-tracker":"")),ne&&(ne.options=k,ne.attr(te),d.styledMode?se.width&&ne.css({width:se.width,textOverflow:se.textOverflow}):ne.css(se).shadow(k.shadow),q(ne,"beforeAddingDataLabel",{labelOptions:k,point:_}),ne.added||ne.add(o),u.alignDataLabel(_,ne,k,void 0,oe),ne.isActive=!0,w[O]&&w[O]!==ne&&w[O].destroy(),w[O]=ne))});let A=w.length;for(;A--;)w[A]&&w[A].isActive?w[A].isActive=!1:((b=w[A])==null||b.destroy(),w.splice(A,1));_.dataLabel=w[0],_.dataLabels=w})),q(this,"afterDrawDataLabels")}function S(a,o,u,d,h,m){let f=this.chart,y=o.align,I=o.verticalAlign,E=a.box?0:a.padding||0,M=f.inverted?this.yAxis:this.xAxis,D=M?M.left-f.plotLeft:0,F=f.inverted?this.xAxis:this.yAxis,X=F?F.top-f.plotTop:0,{x:_=0,y:w=0}=o,A,U;return(A=(u.x||0)+E+D)<0&&(y==="right"&&_>=0?(o.align="left",o.inside=!0):_-=A,U=!0),(A=(u.x||0)+d.width-E+D)>f.plotWidth&&(y==="left"&&_<=0?(o.align="right",o.inside=!0):_+=f.plotWidth-A,U=!0),(A=u.y+E+X)<0&&(I==="bottom"&&w>=0?(o.verticalAlign="top",o.inside=!0):w-=A,U=!0),(A=(u.y||0)+d.height-E+X)>f.plotHeight&&(I==="top"&&w<=0?(o.verticalAlign="bottom",o.inside=!0):w+=f.plotHeight-A,U=!0),U&&(o.x=_,o.y=w,a.placed=!m,a.align(o,void 0,h)),U}function g(a,o){let u=[],d;if(Z(a)&&!Z(o))u=a.map(function(h){return Y(h,o)});else if(Z(o)&&!Z(a))u=o.map(function(h){return Y(a,h)});else if(Z(a)||Z(o)){if(Z(a)&&Z(o))for(d=Math.max(a.length,o.length);d--;)u[d]=Y(a[d],o[d])}else u=Y(a,o);return u}function v(a){var u,d;let o=a.chart.options.plotOptions;return L(g(g((u=o==null?void 0:o.series)==null?void 0:u.dataLabels,(d=o==null?void 0:o[a.type])==null?void 0:d.dataLabels),a.options.dataLabels))}function p(a,o,u,d,h){let m=this.chart,f=m.inverted,y=this.xAxis,I=y.reversed,E=((f?o.height:o.width)||0)/2,M=a.pointWidth,D=M?M/2:0;o.startXPos=f?h.x:I?-E-D:y.width-E+D,o.startYPos=f?I?this.yAxis.height-E+D:-E-D:h.y,d?o.visibility==="hidden"&&(o.show(),o.attr({opacity:0}).animate({opacity:1})):o.attr({opacity:1}).animate({opacity:0}
131,void 0,o.hide),m.hasRendered&&(u&&o.attr({x:o.startXPos,y:o.startYPos}),o.placed=!0)}j.compose=function(a){let o=a.prototype;o.initDataLabels||(o.initDataLabels=N,o.initDataLabelsGroup=x,o.alignDataLabel=c,o.drawDataLabels=P,o.justifyDataLabel=S,o.setDataLabelStartPos=p,o.hasDataLabels=s)}}(C||(C={})),C}),r(e,"Series/Column/ColumnDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{composed:$}=n,{series:K}=l,{merge:G,pick:q,pushUnique:Z}=C;return function(R){function Y(V,H,T,L,j){let s=this.chart.inverted,c=V.series,x=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,N=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0,P=V.dlBox||V.shapeArgs,S=q(V.below,V.plotY>q(this.translatedThreshold,N)),g=q(T.inside,!!this.options.stacking);if(P){if(L=G(P),!(T.overflow==="allow"&&T.crop===!1)){L.y<0&&(L.height+=L.y,L.y=0);let v=L.y+L.height-N;v>0&&v<L.height-1&&(L.height-=v)}s&&(L={x:N-L.y-L.height,y:x-L.x-L.width,width:L.height,height:L.width}),g||(s?(L.x+=S?0:L.width,L.width=0):(L.y+=S?L.height:0,L.height=0))}T.align=q(T.align,!s||g?"center":S?"right":"left"),T.verticalAlign=q(T.verticalAlign,s||g?"middle":S?"top":"bottom"),K.prototype.alignDataLabel.call(this,V,H,T,L,j),T.inside&&V.contrastColor&&H.css({color:V.contrastColor})}R.compose=function(V){t.compose(K),Z($,"ColumnDataLabel")&&(V.prototype.alignDataLabel=Y)}}(B||(B={})),B}),r(e,"Series/Bar/BarSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{extend:C,merge:B}=l;class $ extends t{}return $.defaultOptions=B(t.defaultOptions,{}),C($.prototype,{inverted:!0}),n.registerSeriesType("bar",$),$}),r(e,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),r(e,"Series/Scatter/ScatterSeries.js",[e["Series/Scatter/ScatterSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,line:B}=n.seriesTypes,{addEvent:$,extend:K,merge:G}=l;class q extends B{applyJitter(){let R=this,Y=this.options.jitter,V=this.points.length;Y&&this.points.forEach(function(H,T){["x","y"].forEach(function(L,j){if(Y[L]&&!H.isNull){let s=`plot${L.toUpperCase()}`,c=R[`${L}Axis`],x=Y[L]*c.transA;if(c&&!c.logarithmic){let N=Math.max(0,(H[s]||0)-x),P=Math.min(c.len,(H[s]||0)+x);H[s]=N+(P-N)*function(S){let g=1e4*Math.sin(S);return g-Math.floor(g)}(T+j*V),L==="x"&&(H.clientX=H.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return q.defaultOptions=G(B.defaultOptions,t),K(q.prototype,{drawTracker:C.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),$(q,"afterTranslate",function(){this.applyJitter()}),n.registerSeriesType("scatter",q),q}),r(e,"Series/CenteredUtilities.js",[e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l){var C,B;let{deg2rad:$}=t,{fireEvent:K,isNumber:G,pick:q,relativeLength:Z}=l;return(B=C||(C={})).getCenter=function(){let R=this.options,Y=this.chart,V=2*(R.slicedOffset||0),H=Y.plotWidth-2*V,T=Y.plotHeight-2*V,L=R.center,j=Math.min(H,T),s=R.thickness,c,x=R.size,N=R.innerSize||0,P,S;typeof x=="string"&&(x=parseFloat(x)),typeof N=="string"&&(N=parseFloat(N));let g=[q(L[0],"50%"),q(L[1],"50%"),q(x&&x<0?void 0:R.size,"100%"),q(N&&N<0?void 0:R.innerSize||0,"0%")];for(!Y.angular||this instanceof n||(g[3]=0),P=0;P<4;++P)S=g[P],c=P<2||P===2&&/%$/.test(S),g[P]=Z(S,[H,T,j,g[2]][P])+(c?V:0);return g[3]>g[2]&&(g[3]=g[2]),G(s)&&2*s<g[2]&&s>0&&(g[3]=g[2]-2*s),K(this,"afterGetCenter",{positions:g}),g},B.getStartAndEndRadians=function(R,Y){let V=G(R)?R:0,H=G(Y)&&Y>V&&Y-V<360?Y:V+360;return{start:$*(V+-90),end:$*(H+-90)}},C}
vendor: 4,484 bytes, line 131
131),r(e,"Series/Pie/PiePoint.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l){let{setAnimation:C}=t,{addEvent:B,defined:$,extend:K,isNumber:G,pick:q,relativeLength:Z}=l;class R extends n{getConnectorPath(V){let H=V.dataLabelPosition,T=V.options||{},L=T.connectorShape,j=this.connectorShapes[L]||L;return H&&j.call(this,xt(ze({},H.computed),{alignment:H.alignment}),H.connectorPosition,T)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(V){let H=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(H.x,H.y,H.r+V,H.r+V,{innerR:H.r-1,start:H.start,end:H.end,borderRadius:H.borderRadius})}constructor(V,H,T){super(V,H,T),this.half=0,this.name??(this.name="Slice");let L=j=>{this.slice(j.type==="select")};B(this,"select",L),B(this,"unselect",L)}isValid(){return G(this.y)&&this.y>=0}setVisible(V,H=!0){V!==this.visible&&this.update({visible:V??!this.visible},H,void 0,!1)}slice(V,H,T){let L=this.series;C(T,L.chart),H=q(H,!0),this.sliced=this.options.sliced=V=$(V)?V:!this.sliced,L.options.data[L.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return K(R.prototype,{connectorShapes:{fixedOffset:function(Y,V,H){let T=V.breakAt,L=V.touchingSliceAt,j=H.softConnector?["C",Y.x+(Y.alignment==="left"?-5:5),Y.y,2*T.x-L.x,2*T.y-L.y,T.x,T.y]:["L",T.x,T.y];return[["M",Y.x,Y.y],j,["L",L.x,L.y]]},straight:function(Y,V){let H=V.touchingSliceAt;return[["M",Y.x,Y.y],["L",H.x,H.y]]},crookedLine:function(Y,V,H){let{breakAt:T,touchingSliceAt:L}=V,{series:j}=this,[s,c,x]=j.center,N=x/2,{plotLeft:P,plotWidth:S}=j.chart,g=Y.alignment==="left",{x:v,y:p}=Y,a=T.x;if(H.crookDistance){let u=Z(H.crookDistance,1);a=g?s+N+(S+P-s-N)*(1-u):P+(s-N)*u}else a=s+(c-p)*Math.tan((this.angle||0)-Math.PI/2);let o=[["M",v,p]];return(g?a<=v&&a>=T.x:a>=v&&a<=T.x)&&o.push(["L",a,p]),o.push(["L",T.x,T.y],["L",L.x,L.y]),o}}}),R}),r(e,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),r(e,"Series/Pie/PieSeries.js",[e["Series/CenteredUtilities.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Series/Pie/PiePoint.js"],e["Series/Pie/PieSeriesDefaults.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{getStartAndEndRadians:Z}=t,{noop:R}=l,{clamp:Y,extend:V,fireEvent:H,merge:T,pick:L}=q;class j extends ${animate(c){let x=this,N=x.points,P=x.startAngleRad;c||N.forEach(function(S){let g=S.graphic,v=S.shapeArgs;g&&v&&(g.attr({r:L(S.startR,x.center&&x.center[3]/2),start:P,end:P}),g.animate({r:v.r,start:v.start,end:v.end},x.options.animation))})}drawEmpty(){let c,x,N=this.startAngleRad,P=this.endAngleRad,S=this.options;this.total===0&&this.center?(c=this.center[0],x=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(c,x,this.center[1]/2,0,N,P).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:G.arc(c,x,this.center[2]/2,0,{start:N,end:P,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":S.borderWidth,fill:S.fillColor||"none",stroke:S.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let c=this.chart.renderer;this.points.forEach(function(x){x.graphic&&x.hasNewShapeType()&&(x.graphic=x.graphic.destroy()),x.graphic||(x.graphic=c[x.shapeType](x.shapeArgs).add(x.series.group),x.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(c,x,N,P){let S=this.center,g=this.radii?this.radii[N.index]||0:S[2]/2,v=P.dataLabelPosition,p=(v==null?void 0:v.distance)||0,a=Math.asin(Y((c-S[1])/(g+p),-1,1));return S[0]+Math.cos(a)*(g+p)*(x?-1:1)+(p>0?(x?-1:1)*(P.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let c,x,N,P,S=this,g=S.chart;this.drawEmpty(),S.group&&!g.styledMode&&S.group.shadow(S.options.shadow),S.points.forEac
131h(function(v){let p={};x=v.graphic,!v.isNull&&x?(P=v.shapeArgs,c=v.getTranslate(),g.styledMode||(N=S.pointAttribs(v,v.selected&&"select")),v.delayedRendering?(x.setRadialReference(S.center).attr(P).attr(c),g.styledMode||x.attr(N).attr({"stroke-linejoin":"round"}),v.delayedRendering=!1):(x.setRadialReference(S.center),g.styledMode||T(!0,p,N),T(!0,p,P,c),x.animate(p)),x.attr({visibility:v.visible?"inherit":"hidden"}),x.addClass(v.getClassName(),!0)):x&&(v.graphic=x.destroy())})}sortByAngle(c,x){c.sort(function(N,P){return N.angle!==void 0&&(P.angle-N.angle)*x})}translate(c){H(this,"translate"),this.generatePoints();let x=this.options,N=x.slicedOffset,P=Z(x.startAngle,x.endAngle),S=this.startAngleRad=P.start,g=(this.endAngleRad=P.end)-S,v=this.points,p=x.ignoreHiddenPoint,a=v.length,o,u,d,h,m,f,y,I=0;for(c||(this.center=c=this.getCenter()),f=0;f<a;f++){y=v[f],o=S+I*g,y.isValid()&&(!p||y.visible)&&(I+=y.percentage/100),u=S+I*g;let E={x:c[0],y:c[1],r:c[2]/2,innerR:c[3]/2,start:Math.round(1e3*o)/1e3,end:Math.round(1e3*u)/1e3};y.shapeType="arc",y.shapeArgs=E,(d=(u+o)/2)>1.5*Math.PI?d-=2*Math.PI:d<-Math.PI/2&&(d+=2*Math.PI),y.slicedTranslation={translateX:Math.round(Math.cos(d)*N),translateY:Math.round(Math.sin(d)*N)},h=Math.cos(d)*c[2]/2,m=Math.sin(d)*c[2]/2,y.tooltipPos=[c[0]+.7*h,c[1]+.7*m],y.half=d<-Math.PI/2||d>Math.PI/2?1:0,y.angle=d}H(this,"afterTranslate")}updateTotals(){let c=this.points,x=c.length,N=this.options.ignoreHiddenPoint,P,S,g=0;for(P=0;P<x;P++)(S=c[P]).isValid()&&(!N||S.visible)&&(g+=S.y);for(P=0,this.total=g;P<x;P++)(S=c[P]).percentage=g>0&&(S.visible||!N)?S.y/g*100:0,S.total=g}}return j.defaultOptions=T($.defaultOptions,B),V(j.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:n.prototype.drawTracker,getCenter:t.getCenter,getSymbol:R,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:n.prototype.pointAttribs,pointClass:C,requireSorting:!1,searchPoint:R,trackerGroups:["group","dataLabelsGroup"]}),K.registerSeriesType("pie",j),j}),r(e,"Series/Pie/PieDataLabel.js",[e["Core/Series/DataLabel.js"],e["Core/Globals.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){var $;let{composed:K,noop:G}=n,{distribute:q}=l,{series:Z}=C,{arrayMax:R,clamp:Y,defined:V,pick:H,pushUnique:T,relativeLength:L}=B;return function(j){let s={radialDistributionY:function(S,g){var v;return(((v=g.dataLabelPosition)==null?void 0:v.top)||0)+S.distributeBox.pos},radialDistributionX:function(S,g,v,p,a){let o=a.dataLabelPosition;return S.getX(v<((o==null?void 0:o.top)||0)+2||v>((o==null?void 0:o.bottom)||0)-2?p:v,g.half,g,a)},justify:function(S,g,v,p){var a;return p[0]+(S.half?-1:1)*(v+(((a=g.dataLabelPosition)==null?void 0:a.distance)||0))},alignToPlotEdges:function(S,g,v,p){let a=S.getBBox().width;return g?a+p:v-a-p},alignToConnectors:function(S,g,v,p){let a=0,o;return S.forEach(function(u){(o=u.dataLabel.getBBox().width)>a&&(a=o)}),g?a+p:v-a-p}};function c(S,g){let{center:v,options:p}=this,a=v[2]/2,o=S.angle||0,u=Math.cos(o),d=Math.sin(o),h=v[0]+u*a,m=v[1]+d*a,f=Math.min((p.slicedOffset||0)+(p.borderWidth||0),g/5);
vendor: 4,622 bytes, line 131
131return{natural:{x:h+u*g,y:m+d*g},computed:{},alignment:g<0?"center":S.half?"right":"left",connectorPosition:{breakAt:{x:h+u*f,y:m+d*f},touchingSliceAt:{x:h,y:m}},distance:g}}function x(){var X;let S=this,g=S.points,v=S.chart,p=v.plotWidth,a=v.plotHeight,o=v.plotLeft,u=Math.round(v.chartWidth/3),d=S.center,h=d[2]/2,m=d[1],f=[[],[]],y=[0,0,0,0],I=S.dataLabelPositioners,E,M,D,F=0;S.visible&&((X=S.hasDataLabels)!=null&&X.call(S))&&(g.forEach(_=>{(_.dataLabels||[]).forEach(w=>{w.shortened&&(w.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),w.shortened=!1)})}),Z.prototype.drawDataLabels.apply(S),g.forEach(_=>{(_.dataLabels||[]).forEach((w,A)=>{var O;let U=d[2]/2,b=w.options,k=L((b==null?void 0:b.distance)||0,U);A===0&&f[_.half].push(_),!V((O=b==null?void 0:b.style)==null?void 0:O.width)&&w.getBBox().width>u&&(w.css({width:Math.round(.7*u)+"px"}),w.shortened=!0),w.dataLabelPosition=this.getDataLabelPosition(_,k),F=Math.max(F,k)})}),f.forEach((_,w)=>{let A=_.length,U=[],b,k,O=0,z;A&&(S.sortByAngle(_,w-.5),F>0&&(b=Math.max(0,m-h-F),k=Math.min(m+h+F,v.plotHeight),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{var se;let ee=Q.dataLabelPosition;ee&&ee.distance>0&&(ee.top=Math.max(0,m-h-ee.distance),ee.bottom=Math.min(m+h+ee.distance,v.plotHeight),O=Q.getBBox().height||21,Q.lineHeight=v.renderer.fontMetrics(Q.text||Q).h+2*Q.padding,W.distributeBox={target:(((se=Q.dataLabelPosition)==null?void 0:se.natural.y)||0)-ee.top+Q.lineHeight/2,size:O,rank:W.y},U.push(W.distributeBox))})}),q(U,z=k+O-b,z/5)),_.forEach(W=>{(W.dataLabels||[]).forEach(Q=>{let ee=Q.options||{},se=W.distributeBox,ae=Q.dataLabelPosition,he=(ae==null?void 0:ae.natural.y)||0,ce=ee.connectorPadding||0,ie=Q.lineHeight||21,te=(ie-Q.getBBox().height)/2,ne=0,oe=he,le="inherit";if(ae){if(U&&V(se)&&ae.distance>0&&(se.pos===void 0?le="hidden":(D=se.size,oe=I.radialDistributionY(W,Q))),ee.justify)ne=I.justify(W,Q,h,d);else switch(ee.alignTo){case"connectors":ne=I.alignToConnectors(_,w,p,o);break;case"plotEdges":ne=I.alignToPlotEdges(Q,w,p,o);break;default:ne=I.radialDistributionX(S,W,oe-te,he,Q)}if(ae.attribs={visibility:le,align:ae.alignment},ae.posAttribs={x:ne+(ee.x||0)+({left:ce,right:-ce}[ae.alignment]||0),y:oe+(ee.y||0)-ie/2},ae.computed.x=ne,ae.computed.y=oe-te,H(ee.crop,!0)){let ue;ne-(M=Q.getBBox().width)<ce&&w===1?(ue=Math.round(M-ne+ce),y[3]=Math.max(ue,y[3])):ne+M>p-ce&&w===0&&(ue=Math.round(ne+M-p+ce),y[1]=Math.max(ue,y[1])),oe-D/2<0?y[0]=Math.max(Math.round(-oe+D/2),y[0]):oe+D/2>a&&(y[2]=Math.max(Math.round(oe+D/2-a),y[2])),ae.sideOverflow=ue}}})}))}),(R(y)===0||this.verifyDataLabelOverflow(y))&&(this.placeDataLabels(),this.points.forEach(_=>{(_.dataLabels||[]).forEach(w=>{var k;let{connectorColor:A,connectorWidth:U=1}=w.options||{},b=w.dataLabelPosition;if(U){let O;E=w.connector,b&&b.distance>0?(O=!E,E||(w.connector=E=v.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+_.colorIndex+(_.className?" "+_.className:"")).add(S.dataLabelsGroup)),v.styledMode||E.attr({"stroke-width":U,stroke:A||_.color||"#666666"}),E[O?"attr":"animate"]({d:_.getConnectorPath(w)}),E.attr({visibility:(k=b.attribs)==null?void 0:k.visibility})):E&&(w.connector=E.destroy())}})})))}function N(){this.points.forEach(S=>{(S.dataLabels||[]).forEach(g=>{var p;let v=g.dataLabelPosition;v?(v.sideOverflow&&(g.css({width:Math.max(g.getBBox().width-v.sideOverflow,0)+"px",textOverflow:(((p=g.options)==null?void 0:p.style)||{}).textOverflow||"ellipsis"}),g.shortened=!0),g.attr(v.attribs),g[g.moved?"animate":"attr"](v.posAttribs),g.moved=!0):g&&g.attr({y:-9999})}),delete S.distributeBox},this)}function P(S){let g=this.center,v=this.options,p=v.center,a=v.minSize||80,o=a,u=v.size!==null;return!u&&(p[0]!==null?o=Math.max(g[2]-Math.max(S[1],S[3]),a):(o=Math.max(g[2]-S[1]-S[3],a),g[0]+=(S[3]-S[1])/2),p[1]!==null?o=Y(o,a,g[2]-Math.max(S[0],S[2])):(o=Y(o,a,g[2]-S[0]-S[2]),g[1]+=(S[0]-S[2])/2),o<g[2]?(g[2]=o,g[3]=Math.min(v.thickness?Math.max(0,o-2*v.thickness):Math.max(0,L(v.innerSize||0,o)),o),this.translate(g),this.drawDataLabels&&this.drawDataLabels()):u=!0),u}j.compose=function(S){if(t.compose(Z),T(K,"PieDataLabel")){let g=S.prototype;g.dataLabelPositioners=s,g.alignDataLabel=G,g.drawDataLabels=x,g.getDataLabelPosition=c,g.placeDataLabels=N,g.verifyDataLabelOverflow=P}}}($||($={})),$}),r(e,"Core/Geometry/GeometryUtilities.js",[],function(){var t,n;return(n=t||(t={})).getCenterOfPoints=function(l){let C=l.reduce((B,$)=>(B.x+=$.x,B.y+=$.y,B),{x:0,y:0});return{x:C.x/l.length,y:C.y/l.length}},n.getDistanceBetweenPoints=function(l,C){return Math.sqrt(Math.pow(C.x-l.x,2)+Math.pow(C.y-l.y,2))}
131,n.getAngleBetweenPoints=function(l,C){return Math.atan2(C.x-l.x,C.y-l.y)},n.pointInPolygon=function({x:l,y:C},B){let $=B.length,K,G,q=!1;for(K=0,G=$-1;K<$;G=K++){let[Z,R]=B[K],[Y,V]=B[G];R>C!=V>C&&l<(Y-Z)*(C-R)/(V-R)+Z&&(q=!q)}return q},t}),r(e,"Extensions/OverlappingDataLabels.js",[e["Core/Geometry/GeometryUtilities.js"],e["Core/Utilities.js"]],function(t,n){let{pointInPolygon:l}=t,{addEvent:C,fireEvent:B,objectEach:$,pick:K}=n;function G(R){let Y=R.length,V=(N,P)=>!(P.x>=N.x+N.width||P.x+P.width<=N.x||P.y>=N.y+N.height||P.y+P.height<=N.y),H=(N,P)=>{for(let S of N)if(l({x:S[0],y:S[1]},P))return!0;return!1},T,L,j,s,c,x=!1;for(let N=0;N<Y;N++)(T=R[N])&&(T.oldOpacity=T.opacity,T.newOpacity=1,T.absoluteBox=function(P){var S,g;if(P&&(!P.alignAttr||P.placed)){let v=P.box?0:P.padding||0,p=P.alignAttr||{x:P.attr("x"),y:P.attr("y")},a=P.getBBox();return P.width=a.width,P.height=a.height,{x:p.x+(((S=P.parentGroup)==null?void 0:S.translateX)||0)+v,y:p.y+(((g=P.parentGroup)==null?void 0:g.translateY)||0)+v,width:(P.width||0)-2*v,height:(P.height||0)-2*v,polygon:a==null?void 0:a.polygon}}}(T));R.sort((N,P)=>(P.labelrank||0)-(N.labelrank||0));for(let N=0;N<Y;++N){s=(L=R[N])&&L.absoluteBox;let P=s==null?void 0:s.polygon;for(let S=N+1;S<Y;++S){c=(j=R[S])&&j.absoluteBox;let g=!1;if(s&&c&&L!==j&&L.newOpacity!==0&&j.newOpacity!==0&&L.visibility!=="hidden"&&j.visibility!=="hidden"){let v=c.polygon;if(P&&v&&P!==v?H(P,v)&&(g=!0):V(s,c)&&(g=!0),g){let p=L.labelrank<j.labelrank?L:j,a=p.text;p.newOpacity=0,a!=null&&a.element.querySelector("textPath")&&a.hide()}}}}for(let N of R)q(N,this)&&(x=!0);x&&B(this,"afterHideAllOverlappingLabels")}function q(R,Y){let V,H,T=!1;return R&&(H=R.newOpacity,R.oldOpacity!==H&&(R.hasClass("highcharts-data-label")?(R[H?"removeClass":"addClass"]("highcharts-data-label-hidden"),V=function(){Y.styledMode||R.css({pointerEvents:H?"auto":"none"})},T=!0,R[R.isOld?"animate":"attr"]({opacity:H},void 0,V),B(Y,"afterHideOverlappingLabel")):R.attr({opacity:H})),R.isOld=!0),T}function Z(){var V;let R=this,Y=[];for(let H of R.labelCollectors||[])Y=Y.concat(H());for(let H of R.yAxis||[])H.stacking&&H.options.stackLabels&&!H.options.stackLabels.allowOverlap&&$(H.stacking.stacks,T=>{$(T,L=>{L.label&&Y.push(L.label)})});for(let H of R.series||[])if(H.visible&&((V=H.hasDataLabels)!=null&&V.call(H))){let T=L=>{for(let j of L)j.visible&&(j.dataLabels||[]).forEach(s=>{var x;let c=s.options||{};s.labelrank=K(c.labelrank,j.labelrank,(x=j.shapeArgs)==null?void 0:x.height),c.allowOverlap??Number(c.distance)>0?(s.oldOpacity=s.opacity,s.newOpacity=1,q(s,R)):Y.push(s)})};T(H.nodes||[]),T(H.points)}this.hideOverlappingLabels(Y)}return{compose:function(R){let Y=R.prototype;Y.hideOverlappingLabels||(Y.hideOverlappingLabels=G,C(R,"render",Z))}}}
vendor: 3,895 bytes, line 131
131),r(e,"Extensions/BorderRadius.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{defaultOptions:C}=t,{noop:B}=n,{addEvent:$,extend:K,isObject:G,merge:q,relativeLength:Z}=l,R={radius:0,scope:"stack",where:void 0},Y=B,V=B;function H(c,x,N,P,S={}){let g=Y(c,x,N,P,S),{innerR:v=0,r:p=N,start:a=0,end:o=0}=S;if(S.open||!S.borderRadius)return g;let u=o-a,d=Math.sin(u/2),h=Math.max(Math.min(Z(S.borderRadius||0,p-v),(p-v)/2,p*d/(1+d)),0),m=Math.min(h,u/Math.PI*2*v),f=g.length-1;for(;f--;)(function(y,I,E){let M,D,F,X=y[I],_=y[I+1];if(_[0]==="Z"&&(_=y[0]),(X[0]==="M"||X[0]==="L")&&_[0]==="A"?(M=X,D=_,F=!0):X[0]==="A"&&(_[0]==="M"||_[0]==="L")&&(M=_,D=X),M&&D&&D.params){let w=D[1],A=D[5],U=D.params,{start:b,end:k,cx:O,cy:z}=U,W=A?w-E:w+E,Q=W?Math.asin(E/W):0,ee=A?Q:-Q,se=Math.cos(Q)*W;F?(U.start=b+ee,M[1]=O+se*Math.cos(b),M[2]=z+se*Math.sin(b),y.splice(I+1,0,["A",E,E,0,0,1,O+w*Math.cos(U.start),z+w*Math.sin(U.start)])):(U.end=k-ee,D[6]=O+w*Math.cos(U.end),D[7]=z+w*Math.sin(U.end),y.splice(I+1,0,["A",E,E,0,0,1,O+se*Math.cos(k),z+se*Math.sin(k)])),D[4]=Math.abs(U.end-U.start)<Math.PI?0:1}})(g,f,f>1?m:h);return g}function T(){var c,x;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:N,yAxis:P}=this,S=N.stacking==="percent",g=(x=(c=C.plotOptions)==null?void 0:c[this.type])==null?void 0:x.borderRadius,v=L(N.borderRadius,G(g)?g:{}),p=P.options.reversed;for(let a of this.points){let{shapeArgs:o}=a;if(a.shapeType==="roundedRect"&&o){let{width:u=0,height:d=0,y:h=0}=o,m=h,f=d;if(v.scope==="stack"&&a.stackTotal){let M=P.translate(S?100:a.stackTotal,!1,!0,!1,!0),D=P.translate(N.threshold||0,!1,!0,!1,!0),F=this.crispCol(0,Math.min(M,D),0,Math.abs(M-D));m=F.y,f=F.height}let y=(a.negative?-1:1)*(p?-1:1)==-1,I=v.where;!I&&this.is("waterfall")&&Math.abs((a.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(I="all"),I||(I="end");let E=Math.min(Z(v.radius,u),u/2,I==="all"?d/2:1/0)||0;I==="end"&&(y&&(m-=E),f+=E),K(o,{brBoxHeight:f,brBoxY:m,r:E})}}}}function L(c,x){return G(c)||(c={radius:c||0}),q(R,x,c)}function j(){let c=L(this.options.borderRadius);for(let x of this.points){let N=x.shapeArgs;N&&(N.borderRadius=Z(c.radius,(N.r||0)-(N.innerR||0)))}}function s(c,x,N,P,S={}){let g=V(c,x,N,P,S),{r:v=0,brBoxHeight:p=P,brBoxY:a=x}=S,o=x-a,u=a+p-(x+P),d=o-v>-.1?0:v,h=u-v>-.1?0:v,m=Math.max(d&&o,0),f=Math.max(h&&u,0),y=[c+d,x],I=[c+N-d,x],E=[c+N,x+d],M=[c+N,x+P-h],D=[c+N-h,x+P],F=[c+h,x+P],X=[c,x+P-h],_=[c,x+d],w=(A,U)=>Math.sqrt(Math.pow(A,2)-Math.pow(U,2));if(m){let A=w(d,d-m);y[0]-=A,I[0]+=A,E[1]=_[1]=x+d-m}if(P<d-m){let A=w(d,d-m-P);E[0]=M[0]=c+N-d+A,D[0]=Math.min(E[0],D[0]),F[0]=Math.max(M[0],F[0]),X[0]=_[0]=c+d-A,E[1]=_[1]=x+P}if(f){let A=w(h,h-f);D[0]+=A,F[0]-=A,M[1]=X[1]=x+P-h+f}if(P<h-f){let A=w(h,h-f-P);E[0]=M[0]=c+N-h+A,I[0]=Math.min(E[0],I[0]),y[0]=Math.max(M[0],y[0]),X[0]=_[0]=c+h-A,M[1]=X[1]=x}return g.length=0,g.push(["M",...y],["L",...I],["A",d,d,0,0,1,...E],["L",...M],["A",h,h,0,0,1,...D],["L",...F],["A",h,h,0,0,1,...X],["L",..._],["A",d,d,0,0,1,...y],["Z"]),g}return{compose:function(c,x,N){let P=c.types.pie;if(!x.symbolCustomAttribs.includes("borderRadius")){let S=N.prototype.symbols;$(c,"afterColumnTranslate",T,{order:9}),$(P,"afterTranslate",j),x.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Y=S.arc,V=S.roundedRect,S.arc=H,S.roundedRect=s}},optionsToObject:L}}),r(e,"Core/Responsive.js",[e["Core/Utilities.js"]],function(t){var n;let{diffObjects:l,extend:C,find:B,merge:$,pick:K,uniqueKey:G}=t;return function(q){function Z(Y,V){let H=Y.condition;(H.callback||function(){return this.chartWidth<=K(H.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=K(H.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=K(H.minWidth,0)&&this.chartHeight>=K(H.minHeight,0)}).call(this)&&V.push(Y._id)}function R(Y,V){let H=this.options.responsive,T=this.currentResponsive,L=[],j;
131!V&&H&&H.rules&&H.rules.forEach(x=>{x._id===void 0&&(x._id=G()),this.matchResponsiveRule(x,L)},this);let s=$(...L.map(x=>B((H||{}).rules||[],N=>N._id===x)).map(x=>x&&x.chartOptions));s.isResponsiveOptions=!0,L=L.toString()||void 0;let c=T&&T.ruleIds;L===c||(T&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(T.undoOptions,Y,!0),this.updatingResponsive=!1),L?((j=l(s,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:L,mergedOptions:s,undoOptions:j},this.updatingResponsive||this.update(s,Y,!0)):this.currentResponsive=void 0)}q.compose=function(Y){let V=Y.prototype;return V.matchResponsiveRule||C(V,{matchResponsiveRule:Z,setResponsive:R}),Y}}(n||(n={})),n}),r(e,"masters/highcharts.src.js",[e["Core/Globals.js"],e["Core/Utilities.js"],e["Core/Defaults.js"],e["Core/Animation/Fx.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Renderer/HTML/AST.js"],e["Core/Templating.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Renderer/HTML/HTMLElement.js"],e["Core/Axis/Axis.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Axis/LogarithmicAxis.js"],e["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],e["Core/Axis/Tick.js"],e["Core/Tooltip.js"],e["Core/Series/Point.js"],e["Core/Pointer.js"],e["Core/Legend/Legend.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Chart/Chart.js"],e["Extensions/ScrollablePlotArea.js"],e["Core/Axis/Stacking/StackingAxis.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Series/Column/ColumnDataLabel.js"],e["Series/Pie/PieDataLabel.js"],e["Core/Series/DataLabel.js"],e["Extensions/OverlappingDataLabels.js"],e["Extensions/
131BorderRadius.js"],e["Core/Responsive.js"],e["Core/Color/Color.js"],e["Core/Time.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j,s,c,x,N,P,S,g,v,p,a,o,u,d,h,m,f,y,I,E){return t.AST=$,t.Axis=V,t.Chart=S,t.Color=I,t.DataLabel=h,t.Fx=C,t.HTMLElement=Y,t.Legend=N,t.LegendSymbol=P,t.OverlappingDataLabels=t.OverlappingDataLabels||m,t.PlotLineOrBand=L,t.Point=c,t.Pointer=x,t.RendererRegistry=G,t.Series=a,t.SeriesRegistry=o,t.StackItem=p,t.SVGElement=Z,t.SVGRenderer=R,t.Templating=K,t.Tick=j,t.Time=E,t.Tooltip=s,t.animate=B.animate,t.animObject=B.animObject,t.chart=S.chart,t.color=I.parse,t.dateFormat=K.dateFormat,t.defaultOptions=l.defaultOptions,t.distribute=q.distribute,t.format=K.format,t.getDeferredAnimation=B.getDeferredAnimation,t.getOptions=l.getOptions,t.numberFormat=K.numberFormat,t.seriesType=o.seriesType,t.setAnimation=B.setAnimation,t.setOptions=l.setOptions,t.stop=B.stop,t.time=l.defaultTime,t.timers=C.timers,f.compose(t.Series,t.SVGElement,t.SVGRenderer),u.compose(t.Series.types.column),h.compose(t.Series),H.compose(t.Axis),Y.compose(t.SVGRenderer),N.compose(t.Chart),T.compose(t.Axis),m.compose(t.Chart),d.compose(t.Series.types.pie),L.compose(t.Chart,t.Axis),x.compose(t.Chart),y.compose(t.Chart),g.compose(t.Axis,t.Chart,t.Series),v.compose(t.Axis,t.Chart,t.Series),s.compose(t.Pointer),n.extend(t,n),t}),r(e,"Extensions/ArrowSymbols.js",[],function(){function t(B,$,K,G){return[["M",B,$+G/2],["L",B+K,$],["L",B,$+G/2],["L",B+K,$+G]]}function n(B,$,K,G){return t(B,$,K/2,G)}function l(B,$,K,G){return[["M",B+K,$],["L",B,$+G/2],["L",B+K,$+G],["Z"]]}function C(B,$,K,G){return l(B,$,K/2,G)}return{compose:function(B){let $=B.prototype.symbols;$.arrow=t,$["arrow-filled"]=l,$["arrow-filled-half"]=C,$["arrow-half"]=n,$["triangle-left"]=l,$["triangle-left-half"]=C}}}),r(e,"Gantt/Connection.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{defined:l,error:C,merge:B,objectEach:$}=n,K=t.deg2rad,G=Math.max,q=Math.min;return class{constructor(Z,R,Y){this.init(Z,R,Y)}init(Z,R,Y){this.fromPoint=Z,this.toPoint=R,this.options=Y,this.chart=Z.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(Z,R){let Y=this.chart,V=Y.styledMode,H=this.pathfinder,T={},L=this.graphics&&this.graphics.path;H.group||(H.group=Y.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(Y.seriesGroup)),H.group.translate(Y.plotLeft,Y.plotTop),L&&L.renderer||(L=Y.renderer.path().add(H.group),V||L.attr({opacity:0})),L.attr(R),T.d=Z,V||(T.opacity=1),L.animate(T),this.graphics=this.graphics||{},this.graphics.path=L}addMarker(Z,R,Y){let V,H,T,L,j,s,c,x,N=this.fromPoint.series.chart,P=N.pathfinder,S=N.renderer,g=Z==="start"?this.fromPoint:this.toPoint,v=g.getPathfinderAnchorPoint(R);R.enabled&&((x=Z==="start"?Y[1]:Y[Y.length-2])&&x[0]==="M"||x[0]==="L")&&(c={x:x[1],y:x[2]},H=g.getRadiansToVector(c,v),V=g.getMarkerVector(H,R.radius,v),T=-H/K,R.width&&R.height?(j=R.width,s=R.height):j=s=2*R.radius,this.graphics=this.graphics||{},L={x:V.x-j/2,y:V.y-s/2,width:j,height:s,rotation:T,rotationOriginX:V.x,rotationOriginY:V.y},this.graphics[Z]?this.graphics[Z].animate(L):(this.graphics[Z]=S.symbol(R.symbol).addClass("highcharts-point-connecting-path-"+Z+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(L).add(P.group),S.styledMode||this.graphics[Z].attr({fill:R.color||this.fromPoint.color,stroke:R.lineColor,"stroke-width":R.lineWidth,opacity:0}).animate({opacity:1},g.series.options.animation)))}getPath(Z){let R=this.pathfinder,Y=this.chart,V=R.algorithms[Z.type],H=R.chartObstacles;return typeof V!="function"?(C('"'+Z.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(V.requiresObstacles&&!H&&(H=R.chartObstacles=R.getChartObstacles(Z),Y.options.connectors.algorithmMargin=Z.algorithmMargin,R.chartObstacleMetrics=R.getObstacleMetrics(H)),V(this.fromPoint.getPathfinderAnchorPoint(Z.startMarker),this.toPoint.getPathfinderAnchorPoint(Z.endMarker),B({chartObstacles:H,lineObstacles:R.lineObstacles||[],obstacleMetrics:R.chartObstacleMetrics,hardBounds:{xMin:0,xMax:Y.plotWidth,yMin:0,yMax:Y.plotHeight},obstacleOptions:{margin:Z.algorithmMargin},startDirectionX:R.getAlgorithmStartDirection(Z.startMarker)},Z)))}render(){let Z=this.fromPoint,R=Z.series,Y=R.chart,V=Y.pathfinder,H={},T=B(Y.options.connectors,R.options.connectors,Z.options.connectors,this.options);!Y.styledMode&&(H.stroke=T.lineColor||Z.color,H["stroke-width"]=T.lineWidth,T.dashStyle&&(H.dashstyle=T.dashStyle)),H.class="highcharts-point-connecting-path highcharts-color-"+Z.colorIndex,l((T=B(H,T)).marker.radiu
131s)||(T.marker.radius=q(G(Math.ceil((T.algorithmMargin||8)/2)-1,1),5));let L=this.getPath(T),j=L.path;L.obstacles&&(V.lineObstacles=V.lineObstacles||[],V.lineObstacles=V.lineObstacles.concat(L.obstacles)),this.renderPath(j,H),this.addMarker("start",B(T.marker,T.startMarker),j),this.addMarker("end",B(T.marker,T.endMarker),j)}destroy(){this.graphics&&($(this.graphics,function(Z){Z.destroy()}),delete this.graphics)}}}),r(e,"Extensions/CurrentDateIndication.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{composed:l}=t,{addEvent:C,merge:B,pushUnique:$,wrap:K}=n,G={color:"#ccd3ff",width:2,label:{format:"%a, %b %d %Y, %H:%M",formatter:function(Y,V){return this.axis.chart.time.dateFormat(V||"",Y)},rotation:0,style:{fontSize:"0.7em"}}};function q(){let Y=this.options,V=Y.currentDateIndicator;if(V){let H=typeof V=="object"?B(G,V):B(G);H.value=Date.now(),H.className="highcharts-current-date-indicator",Y.plotLines||(Y.plotLines=[]),Y.plotLines.push(H)}}function Z(){this.label&&this.label.attr({text:this.getLabelText(this.options.label)})}function R(Y,V){let H=this.options;return H&&H.className&&H.className.indexOf("highcharts-current-date-indicator")!==-1&&H.label&&typeof H.label.formatter=="function"?(H.value=Date.now(),H.label.formatter.call(this,H.value,H.label.format)):Y.call(this,V)}return{compose:function(Y,V){$(l,"CurrentDateIndication")&&(C(Y,"afterSetOptions",q),C(V,"render",Z),K(V.prototype,"getLabelText",R))}}}),r(e,"Core/Chart/GanttChart.js",[e["Core/Chart/Chart.js"],e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{defaultOptions:B}=n,{isArray:$,merge:K,splat:G}=l;class q extends t{init(R,Y){let V,H=R.xAxis,T=R.yAxis;R.xAxis=R.yAxis=void 0;let L=K(!0,{chart:{type:"gantt"},title:{text:""},legend:{enabled:!1},navigator:{series:{type:"gantt"},yAxis:{type:"category"}}},R,{isGantt:!0});R.xAxis=H,R.yAxis=T,L.xAxis=($(R.xAxis)?R.xAxis:[R.xAxis||{},{}]).map((j,s)=>{var c;return s===1&&(V=0),K({grid:{borderColor:"#cccccc",enabled:!0},opposite:((c=B.xAxis)==null?void 0:c.opposite)??j.opposite??!0,linkedTo:V},j,{type:"datetime"})}),L.yAxis=G(R.yAxis||{}).map(j=>K({grid:{borderColor:"#cccccc",enabled:!0},staticScale:50,reversed:!0,type:j.categories?j.type:"treegrid"},j)),super.init(L,Y)}}return(C=q||(q={})).ganttChart=function(Z,R,Y){return new C(Z,R,Y)},q}),r(e,"Stock/Navigator/ChartNavigatorComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let l,{isTouchDevice:C}=t,{addEvent:B,merge:$,pick:K}=n,G=[];function q(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function Z(){var N;let L,j,s,c=this.legend,x=this.navigator;if(x){L=c&&c.options,j=x.xAxis,s=x.yAxis;let{scrollbarHeight:P,scrollButtonSize:S}=x;this.inverted?(x.left=x.opposite?this.chartWidth-P-x.height:this.spacing[3]+P,x.top=this.plotTop+S):(x.left=K(j.left,this.plotLeft+S),x.top=x.navigatorOptions.top||this.chartHeight-x.height-P-(((N=this.scrollbar)==null?void 0:N.options.margin)||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(L&&L.verticalAlign==="bottom"&&L.layout!=="proximate"&&L.enabled&&!L.floating?c.legendHeight+K(L.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),j&&s&&(this.inverted?j.options.left=s.options.left=x.left:j.options.top=s.options.top=x.top,j.setAxisSize(),s.setAxisSize())}}function R(L){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new l(this),K(L.redraw,!0)&&this.redraw(L.animation))}function Y(){let L=this.options;(L.navigator.enabled||L.scrollbar.enabled)&&(this.scroller=this.navigator=new l(this))}function V(){let L=this.options,j=L.navigator,s=L.rangeSelector;if((j&&j.enabled||s&&s.enabled)&&(!C&&this.zooming.type==="x"||C&&this.zooming.pinchType==="x"))return!1}function H(L){let j=L.navigator;if(j&&L.xAxis[0]){let s=L.xAxis[0].getExtremes();j.render(s.min,s.max)}}function T(L){let j=L.options.navigator||{},s=L.options.scrollbar||{};!this.navigator&&!this.scroller&&(j.enabled||s.enabled)&&($(!0,this.options.navigator,j),$(!0,this.options.scrollbar,s),delete L.options.navigator,delete L.options.scrollbar)}return{compose:function(L,j){if(n.pushUnique(G,L)){let s=L.prototype;l=j,s.callbacks.push(H),B(L,"afterAddSeries",q),B(L,"afterSetChartSize",Z),B(L,"afterUpdate",R),B(L,"beforeRender",Y),B(L,"beforeShowResetZoom",V),B(L,"update",T)}}}}),r(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isTouchDevice:l}=t,{addEvent:C,correctFloat:B,defined:$,isNumber:K,pick:G}=n;function q(){this.navigatorAxis||(this.navigatorAxis=new R(this))}function Z(Y){let V,H=this.chart,T=H.options,L=T.navigator,j=this.navigatorAxis,s=H.zooming.pinchType,c=T.rangeSelector,x=H.zooming.type;if(this.isXAxis&&(L!=null&&L.enabled||c!=null&&c.enabled)){if(x==="y"&&Y.trigger==="zoom")V=!1;else if((Y.trigger==="zoom"&&x==="xy"||l&&s==="xy")&&this.options.range){let N=j.previousZoom;$(Y.min)?j.previousZoom=[this.min,this.max]:N&&(Y.min=N[0],Y.max=N[1],j.previousZoom=void 0)}}V!==void 0&&Y.preventDefault()}class R{static compose(V){V.keepProps.includes("navigatorAxis")||(V.keepProps.push("navigatorAxis"),C(V,"init",q),C(V,"setExtremes",Z))}constructor(V){this.axis=V}destroy(){this.axis=void 0}toFixedRange(V,H,T,L){let j=this.axis,s=(j.pointRange||0)/2,c=G(T,j.translate(V,!0,!j.horiz)),x=G(L,j.translate(H,!0,!j.horiz));
131return $(T)||(c=B(c+s)),$(L)||(x=B(x-s)),K(c)&&K(x)||(c=x=void 0),{min:c,max:x}}}return R}),r(e,"Stock/Navigator/NavigatorDefaults.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"]],function(t,n){let{parse:l}=t,{seriesTypes:C}=n;return{height:40,margin:25,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:l("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:C.areaspline===void 0?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),r(e,"Stock/Navigator/NavigatorSymbols.js",[e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n){let{relativeLength:l}=n;return{"navigator-handle":function(C,B,$,K,G={}){let q=G.width?G.width/2:$,Z=l(G.borderRadius||0,Math.min(2*q,K));return[["M",-1.5,(K=G.height||K)/2-3.5],["L",-1.5,K/2+4.5],["M",.5,K/2-3.5],["L",.5,K/2+4.5],...t.rect(-q-1,.5,2*q+1,K,{r:Z})]}}}),r(e,"Stock/Utilities/StockUtilities.js",[e["Core/Utilities.js"]],function(t){let{defined:n}=t;return{setFixedRange:function(l){let C=this.xAxis[0];n(C.dataMax)&&n(C.dataMin)&&l?this.fixedRange=Math.min(l,C.dataMax-C.dataMin):this.fixedRange=l}}}),r(e,"Stock/Navigator/NavigatorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/Navigator/NavigatorSymbols.js"],e["Core/Renderer/RendererRegistry.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{setOptions:q}=t,{composed:Z}=n,{getRendererType:R}=$,{setFixedRange:Y}=K,{addEvent:V,extend:H,pushUnique:T}=G;function L(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}return{compose:function(j,s,c){l.compose(s),T(Z,"Navigator")&&(j.prototype.setFixedRange=Y,H(R().prototype.symbols,B),V(c,"afterUpdate",L),q({navigator:C}))}}}),r(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){var l;let{composed:C}=t,{addEvent:B,defined:$,pick:K,pushUnique:G}=n;return function(q){let Z;function R(T){let L=K(T.options&&T.options.min,T.min),j=K(T.options&&T.options.max,T.max);return{axisMin:L,axisMax:j,scrollMin:$(T.dataMin)?Math.min(L,T.min,T.dataMin,K(T.threshold,1/0)):L,scrollMax:$(T.dataMax)?Math.max(j,T.max,T.dataMax,K(T.threshold,-1/0)):j}}function Y(){let T=this.scrollbar,L=T&&!T.options.opposite,j=this.horiz?2:L?3:1;T&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[j]+=T.size+(T.options.margin||0))}function V(){let T=this;T.options&&T.options.scrollbar&&T.options.scrollbar.enabled&&(T.options.scrollbar.vertical=!T.horiz,T.options.startOnTick=T.options.endOnTick=!1,T.scrollbar=new Z(T.chart.renderer,T.options.scrollbar,T.chart),B(T.scrollbar,"changed",function(L){let j,s,{axisMin:c,axisMax:x,scrollMin:N,scrollMax:P}=R(T),S=P-N;if($(c)&&$(x))if(T.horiz&&!T.reversed||!T.horiz&&T.reversed?(j=N+S*this.to,s=N+S*this.from):(j=N+S*(1-this.from),s=N+S*(1-this.to)),this.shouldUpdateExtremes(L.DOMType)){let g=L.DOMType!=="mousemove"&&L.DOMType!=="touchmove"&&void 0;T.setExtremes(s,j,!0,g,L)}else this.setRange(this.from,this.to)}))}function H(){let T,L,j,{scrollMin:s,scrollMax:c}=R(this),x=this.scrollbar,N=this.axisTitleMargin+(this.titleOffset||0),P=this.chart.scrollbarsOffsets,S=this.options.margin||0;if(x&&P){if(this.horiz)this.opposite||(P[1]+=N),x.position(this.left,this.top+this.height+2+P[1]-(this.opposite?S:0),this.width,this.height),this.opposite||(P[1]+=S),T=1;else{let g;this.opposite&&(P[0]+=N),g=x.options.opposite?this.left+this.width+2+P[0]-(this.opposite?0:S):this.opposite?0:S,x.position(g,this.top,this.width,this.height),this.opposite&&(P[0]+=S),T=0}if(P[T]+=x.size+(x.options.margin||0),isNaN(s)||isNaN(c)||!$(this.min)||!$(this.max)||this.dataMin===this.dataMax)x.setRange(0,1);else if(this.min===this.max){let g=this.pointRange/(this.dataMax+1);L=g*this.min,j=g*(this.max+1),x.setRange(L,j)}else L=(this.min-s)/(c-s),j=(this.max-s)/(c-s),this.horiz&&!this.reversed||!this.horiz&&this.reversed?x.setRange(L,j):x.setRange(1-j,1-L)}}q.compose=function(T,L){G(C,"Axis.Scrollbar")&&(Z=L,B(T,"afterGetOffset",Y),B(T,"afterInit",V),B(T,"afterRe
131nder",H))}}(l||(l={})),l}),r(e,"Stock/Scrollbar/ScrollbarDefaults.js",[],function(){return{height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1}}),r(e,"Stock/Scrollbar/Scrollbar.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{defaultOptions:$}=t,{addEvent:K,correctFloat:G,crisp:q,defined:Z,destroyObjectProperties:R,fireEvent:Y,merge:V,pick:H,removeEvent:T}=B;class L{static compose(s){l.compose(s,L)}static swapXY(s,c){return c&&s.forEach(x=>{let N,P=x.length;for(let S=0;S<P;S+=2)typeof(N=x[S+1])=="number"&&(x[S+1]=x[S+2],x[S+2]=N)}),s}constructor(s,c,x){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(s,c,x)}addEvents(){let s=this.options.inverted?[1,0]:[0,1],c=this.scrollbarButtons,x=this.scrollbarGroup.element,N=this.track.element,P=this.mouseDownHandler.bind(this),S=this.mouseMoveHandler.bind(this),g=this.mouseUpHandler.bind(this),v=[[c[s[0]].element,"click",this.buttonToMinClick.bind(this)],[c[s[1]].element,"click",this.buttonToMaxClick.bind(this)],[N,"click",this.trackClick.bind(this)],[x,"mousedown",P],[x.ownerDocument,"mousemove",S],[x.ownerDocument,"mouseup",g],[x,"touchstart",P],[x.ownerDocument,"touchmove",S],[x.ownerDocument,"touchend",g]];v.forEach(function(p){K.apply(null,p)}),this._events=v}buttonToMaxClick(s){let c=(this.to-this.from)*H(this.options.step,.2);this.updatePosition(this.from+c,this.to+c),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}buttonToMinClick(s){let c=G(this.to-this.from)*H(this.options.step,.2);this.updatePosition(G(this.from-c),G(this.to-c)),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}cursorToScrollbarPosition(s){let c=this.options,x=c.minWidth>this.calculatedWidth?c.minWidth:0;return{chartX:(s.chartX-this.x-this.xOffset)/(this.barWidth-x),chartY:(s.chartY-this.y-this.yOffset)/(this.barWidth-x)}}destroy(){let s=this,c=s.chart.scroller;s.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(x){s[x]&&s[x].destroy&&(s[x]=s[x].destroy())}),c&&s===c.scrollbar&&(c.scrollbar=null,R(c.scrollbarButtons))}drawScrollbarButton(s){let c=this.renderer,x=this.scrollbarButtons,N=this.options,P=this.size,S=c.g().add(this.group);if(x.push(S),N.buttonsEnabled){let g=c.rect().addClass("highcharts-scrollbar-button").add(S);this.chart.styledMode||g.attr({stroke:N.buttonBorderColor,"stroke-width":N.buttonBorderWidth,fill:N.buttonBackgroundColor}),g.attr(g.crisp({x:-.5,y:-.5,width:P,height:P,r:N.buttonBorderRadius},g.strokeWidth()));let v=c.path(L.swapXY([["M",P/2+(s?-1:1),P/2-3],["L",P/2+(s?-1:1),P/2+3],["L",P/2+(s?2:-2),P/2]],N.vertical)).addClass("highcharts-scrollbar-arrow").add(x[s]);this.chart.styledMode||v.attr({fill:N.buttonArrowColor})}}init(s,c,x){this.scrollbarButtons=[],this.renderer=s,this.userOptions=c,this.options=V(C,$.scrollbar,c),this.options.margin=H(this.options.margin,10),this.chart=x,this.size=H(this.options.size,this.options.height),c.enabled&&(this.render(),this.addEvents())}mouseDownHandler(s){var N;let c=((N=this.chart.pointer)==null?void 0:N.normalize(s))||s,x=this.cursorToScrollbarPosition(c);this.chartX=x.chartX,this.chartY=x.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0}mouseMoveHandler(s){var S;let c,x=((S=this.chart.pointer)==null?void 0:S.normalize(s))||s,N=this.options.vertical?"chartY":"chartX",P=this.initPositions||[];this.grabbedCenter&&(!s.touches||s.touches[0][N]!==0)&&(c=this.cursorToScrollbarPosition(x)[N]-this[N],this.hasDragged=!0,this.updatePosition(P[0]+c,P[1]+c),this.hasDragged&&Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:s.type,DOMEvent:s}))}
vendor: 9,606 bytes, line 131
131mouseUpHandler(s){this.hasDragged&&Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:s.type,DOMEvent:s}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null}position(s,c,x,N){let{buttonsEnabled:P,margin:S=0,vertical:g}=this.options,v=this.rendered?"animate":"attr",p=N,a=0;this.group.show(),this.x=s,this.y=c+this.trackBorderWidth,this.width=x,this.height=N,this.xOffset=p,this.yOffset=a,g?(this.width=this.yOffset=x=a=this.size,this.xOffset=p=0,this.yOffset=a=P?this.size:0,this.barWidth=N-(P?2*x:0),this.x=s+=S):(this.height=N=this.size,this.xOffset=p=P?this.size:0,this.barWidth=x-(P?2*N:0),this.y=this.y+S),this.group[v]({translateX:s,translateY:this.y}),this.track[v]({width:x,height:N}),this.scrollbarButtons[1][v]({translateX:g?0:x-p,translateY:g?N-a:0})}removeEvents(){this._events.forEach(function(s){T.apply(null,s)}),this._events.length=0}render(){let s=this.renderer,c=this.options,x=this.size,N=this.chart.styledMode,P=s.g("scrollbar").attr({zIndex:c.zIndex}).hide().add();this.group=P,this.track=s.rect().addClass("highcharts-scrollbar-track").attr({r:c.trackBorderRadius||0,height:x,width:x}).add(P),N||this.track.attr({fill:c.trackBackgroundColor,stroke:c.trackBorderColor,"stroke-width":c.trackBorderWidth});let S=this.trackBorderWidth=this.track.strokeWidth();this.track.attr({x:-q(0,S),y:-q(0,S)}),this.scrollbarGroup=s.g().add(P),this.scrollbar=s.rect().addClass("highcharts-scrollbar-thumb").attr({height:x-S,width:x-S,r:c.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=s.path(L.swapXY([["M",-3,x/4],["L",-3,2*x/3],["M",0,x/4],["L",0,2*x/3],["M",3,x/4],["L",3,2*x/3]],c.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),N||(this.scrollbar.attr({fill:c.barBackgroundColor,stroke:c.barBorderColor,"stroke-width":c.barBorderWidth}),this.scrollbarRifles.attr({stroke:c.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-q(0,this.scrollbarStrokeWidth),-q(0,this.scrollbarStrokeWidth)),this.drawScrollbarButton(0),this.drawScrollbarButton(1)}setRange(s,c){let x,N,P=this.options,S=P.vertical,g=P.minWidth,v=this.barWidth,p=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(!Z(v))return;let a=v*Math.min(c,1);x=Math.ceil(v*(s=Math.max(s,0))),this.calculatedWidth=N=G(a-x),N<g&&(x=(v-g+N)*s,N=g);let o=Math.floor(x+this.xOffset+this.yOffset),u=N/2-.5;this.from=s,this.to=c,S?(this.scrollbarGroup[p]({translateY:o}),this.scrollbar[p]({height:N}),this.scrollbarRifles[p]({translateY:u}),this.scrollbarTop=o,this.scrollbarLeft=0):(this.scrollbarGroup[p]({translateX:o}),this.scrollbar[p]({width:N}),this.scrollbarRifles[p]({translateX:u}),this.scrollbarLeft=o,this.scrollbarTop=0),N<=12?this.scrollbarRifles.hide():this.scrollbarRifles.show(),P.showFull===!1&&(s<=0&&c>=1?this.group.hide():this.group.show()),this.rendered=!0}shouldUpdateExtremes(s){return H(this.options.liveRedraw,n.svg&&!n.isTouchDevice&&!this.chart.boosted)||s==="mouseup"||s==="touchend"||!Z(s)}trackClick(s){var S;let c=((S=this.chart.pointer)==null?void 0:S.normalize(s))||s,x=this.to-this.from,N=this.y+this.scrollbarTop,P=this.x+this.scrollbarLeft;this.options.vertical&&c.chartY>N||!this.options.vertical&&c.chartX>P?this.updatePosition(this.from+x,this.to+x):this.updatePosition(this.from-x,this.to-x),Y(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:s})}update(s){this.destroy(),this.init(this.chart.renderer,V(!0,this.options,s),this.chart)}updatePosition(s,c){c>1&&(s=G(1-G(c-s)),c=1),s<0&&(c=G(c-s),s=0),this.from=s,this.to=c}}return L.defaultOptions=C,$.scrollbar=V(!0,L.defaultOptions,$.scrollbar),L}),r(e,"Stock/Navigator/Navigator.js",[e["Core/Axis/Axis.js"],e["Stock/Navigator/ChartNavigatorComposition.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorComposition.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{defaultOptions:Z}=l,{isTouchDevice:R}=C,{prototype:{symbols:Y}}=G,{addEvent:V,clamp:H,correctFloat:T,defined:L,destroyObjectProperties:j,erase:s,extend:c,find:x,fireEvent:N,isArray:P,isNumber:S,merge:g,pick:v,removeEvent:p,splat:a}=q;function o(d,...h){let m=[].filter.call(h,S);if(m.length)return Math[d].apply(0,m)}class u{static compose(h,m,f){n.compose(h,u),$.compose(h,m,f)}constructor(h){this.isDirty=!1,this.scrollbarHeight=0,this.init(h)}drawHandle(h,m,f,y){let I=this.navigatorOptions.handles.height;this.handles[m][y](f?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(h,10)+.5-I)}:{translateX:Math.round(this.left+parseInt(h,10)),translateY:Math.round(this.top+this.height/2-I/2-1)})}drawOutline(h,m,f,y){let I=this.navigatorOptions.maskInside,E=this.outline.strokeWidth(),M=E/2,D=E%2/2,F=this.scrollButtonSize,X=this.size,_=this.top,w=this.height,A=_-M,U=_+w,b=this.left,k,O;f?(k=_+m+D,m=_+h+D,O=[["M",b+w,_-F-D],["L",b+w,k],["L",b,k],["M",b,m],["L",b+w,m],["L",b+w,_+X+F]],I&&O.push(["M",b+w,k-M],["L",b+w,m+M])):(b-=F,h+=b+F-D,m+=b+F-D,O=[["M",b,A],["L",h,A],["L",h,U],["M",m,U],["L",m,A],["L",b+X+2*F,A]],I&&O.push(["M",h-M,A],["L",m+M,A])),this.outline[y]({d:O})}drawMasks(h,m,f,y){let I,E,M,D,F=this.left,X=this.top,_=this.height;f?(M=[F,F,F],D=[X,X+h,X+m],E=[_,_,_],I=[h,m-h,this.size-m]):(M=[F,F+h,F+m],D=[X,X,X],E=[h,m-h,this.size-m],I=[_,_,_]),this.shades.forEach((w,A)=>{w[y]({x:M[A],y:D[A],width:E[A],height:I[A]})})}renderElements(){var F;let h=this,m=h.navigatorOptions,f=m.maskInside,y=h.chart,I=y.inverted,E=y.renderer,M={cursor:I?"ns-resize":"ew-resize"},D=h.navigatorGroup??(h.navigatorGroup=E.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!f,f,!f].forEach((X,_)=>{let w=h.shades[_]??(h.shades[_]=E.rect().addClass("highcharts-navigator-mask"+(_===1?"-inside":"-outside")).add(D));y.styledMode||(w.attr({fill:X?m.maskFill:"rgba(0,0,0,0)"}),_===1&&w.css(M))}),h.outline||(h.outline=E.path().addClass("highcharts-navigator-outline").add(D)),y.styledMode||h.outline.attr({"stroke-width":m.outlineWidth,stroke:m.outlineColor}),(F=m.handles)==null?void 0:F.enabled){let X=m.handles,{height:_,width:w}=X;[0,1].forEach(A=>{var b;let U=X.symbols[A];if(h.handles[A]&&h.handles[A].symbolUrl===U){if(!h.handles[A].isImg&&h.handles[A].symbolName!==U){let k=Y[U].call(Y,-w/2-1,0,w,_);h.handles[A].attr({d:k}),h.handles[A].symbolName=U}}else(b=h.handles[A])==null||b.destroy(),h.handles[A]=E.symbol(U,-w/2-1,0,w,_,X),h.handles[A].attr({zIndex:7-A}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][A]).add(D),h.addMouseEvents();y.inverted&&h.handles[A].attr({rotation:90,rotationOriginX:Math.floor(-w/2),rotationOriginY:(_+w)/2}),y.styledMode||h.handles[A].attr({fill:X.backgroundColor,stroke:X.borderColor,"stroke-width":X.lineWidth,width:X.width,height:X.height,x:-w/2-1,y:0}).css(M)})}}update(h,m=!1){var I;let f=this.chart,y=f.options.chart.inverted!==((I=f.scrollbar)==null?void 0:I.options.vertical);if(g(!0,f.options.navigator,h),this.navigatorOptions=f.options.navigator||{},this.setOpposite(),L(h.enabled)||y)return this.destroy(),this.navigatorEnabled=h.enabled||this.navigatorEnabled,this.init(f);if(this.navigatorEnabled&&(this.isDirty=!0,h.adaptToUpdatedData===!1&&this.baseSeries.forEach(E=>{p(E,"updatedData",this.updatedDataHandler)},this),h.adaptToUpdatedData&&this.baseSeries.forEach(E=>{E.eventsToUnbind.push(V(E,"updatedData",this.updatedDataHandler))},this),(h.series||h.baseSeries)&&this.setBaseSeries(void 0,!1),h.height||h.xAxis||h.yAxis)){this.height=h.height??this.height;let E=this.getXAxisOffsets();this.xAxis.update(xt(ze({},h.xAxis),{offsets:E,[f.inverted?"width":"height"]:this.height,[f.inverted?"height":"width"]:void 0}),!1),this.yAxis.update(xt(ze({},h.yAxis),{[f.inverted?"width":"height"]:this.height}),!1)}m&&f.redraw()}render(h,m,f,y){let I=this.chart,E=this.xAxis,M=E.pointRange||0,D=E.navigatorAxis.fake?I.xAxis[0]:E,F=this.navigatorEnabled,X=this.rendered,_=I.inverted,w=I.xAxis[0].minRange,A=I.xAxis[0].options.maxRange,U=this.scrollButtonSize,b,k,O,z=this.scrollbarHeight,W,Q;if(this.hasDragged&&!L(f))return;if(this.isDirty&&this.renderElements(),h=T(h-M/2),m=T(m+M/2),!S(h)||!S(m)){if(!X)return;f=0,y=v(E.width,D.width)}this.left=v(E.left,I.plotLeft+U+(_?I.plotWidth:0));let ee=this.size=W=v(E.len,(_?I.plotHeight:I.plotWidth)-2*U);b=_?z:W+2*U,f=v(f,E.toPixels(h,!0)),y=v(y,E.toPixels(m,!0)),S(f)&&Math.abs(f)!==1/0||(f=0,y=b);let se=E.toValue(f,!0),ae=E.toValue(y,!0),he=Math.abs(T(ae-se));he<w?this.grabbedLeft?f=E.toPixels(ae-w-M,!0):this.grabbedRight&&(y=E.toPixels(se+w+M,!0)):L(A)&&T(he-M)>A&&(this.grabbedLeft?f=E.toPixels(ae-A-M,!0):this.grabbedRight&&(y=E.toPixels(se+A+M,!0))),this.zoomedMax=H(Math.max(f,y),0,ee),this.zoomedMin=H(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(f,y),0,ee),this.range=this.zoomedMax-this.zoomedMin,ee=Math.round(this.zoomedMax);let ce=Math.round(this.zoomedMin);F&&(this.navigatorGroup.attr({visibility:"inherit"}),Q=X&&!this.hasDragged?"animate":"attr",this.drawMasks(ce,ee,_,Q),this.drawOutline(ce,ee,_,Q),this.navigatorOptions.handles.enabled&&(this.drawHandle(ce,0,_,Q),this.drawHandle(ee,1,_,Q))),this.scrollbar&&(_?(O=this.top-U,k=this.left-z+(F||!D.opposite?0:(D.titleOffset||0)+D.axisTitleMargin),z=W+2*U):(O=this.top+(F?this.height:-z),k=this.left-U),this.scrollbar.position(k,O,b,z),this.scrollbar.setRange(this.zoomedMin/(W||1),this.zoomedMax/(W||1))),this.rendered=!0,this.isDirty=!1,N(this,"afterRe
131nder")}addMouseEvents(){let h=this,m=h.chart,f=m.container,y=[],I,E;h.mouseMoveHandler=I=function(M){h.onMouseMove(M)},h.mouseUpHandler=E=function(M){h.onMouseUp(M)},(y=h.getPartsEvents("mousedown")).push(V(m.renderTo,"mousemove",I),V(f.ownerDocument,"mouseup",E),V(m.renderTo,"touchmove",I),V(f.ownerDocument,"touchend",E)),y.concat(h.getPartsEvents("touchstart")),h.eventsToUnbind=y,h.series&&h.series[0]&&y.push(V(h.series[0].xAxis,"foundExtremes",function(){m.navigator.modifyNavigatorAxisExtremes()}))}getPartsEvents(h){let m=this,f=[];return["shades","handles"].forEach(function(y){m[y].forEach(function(I,E){f.push(V(I.element,h,function(M){m[y+"Mousedown"](M,E)}))})}),f}shadesMousedown(h,m){var U;h=((U=this.chart.pointer)==null?void 0:U.normalize(h))||h;let f=this.chart,y=this.xAxis,I=this.zoomedMin,E=this.size,M=this.range,D=this.left,F=h.chartX,X,_,w,A;f.inverted&&(F=h.chartY,D=this.top),m===1?(this.grabbedCenter=F,this.fixedWidth=M,this.dragOffset=F-I):(A=F-D-M/2,m===0?A=Math.max(0,A):m===2&&A+M>=E&&(A=E-M,this.reversedExtremes?(A-=M,_=this.getUnionExtremes().dataMin):X=this.getUnionExtremes().dataMax),A!==I&&(this.fixedWidth=M,L((w=y.navigatorAxis.toFixedRange(A,A+M,_,X)).min)&&N(this,"setRange",{min:Math.min(w.min,w.max),max:Math.max(w.min,w.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(h,m){var E;h=((E=this.chart.pointer)==null?void 0:E.normalize(h))||h;let f=this.chart,y=f.xAxis[0],I=this.reversedExtremes;m===0?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=I?y.min:y.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=I?y.max:y.min),f.setFixedRange(void 0)}onMouseMove(h){var X;let m=this,f=m.chart,y=m.navigatorSize,I=m.range,E=m.dragOffset,M=f.inverted,D=m.left,F;(!h.touches||h.touches[0].pageX!==0)&&(F=(h=((X=f.pointer)==null?void 0:X.normalize(h))||h).chartX,M&&(D=m.top,F=h.chartY),m.grabbedLeft?(m.hasDragged=!0,m.render(0,0,F-D,m.otherHandlePos)):m.grabbedRight?(m.hasDragged=!0,m.render(0,0,m.otherHandlePos,F-D)):m.grabbedCenter&&(m.hasDragged=!0,F<E?F=E:F>y+E-I&&(F=y+E-I),m.render(0,0,F-E,F-E+I)),m.hasDragged&&m.scrollbar&&v(m.scrollbar.options.liveRedraw,!R&&!this.chart.boosted)&&(h.DOMType=h.type,setTimeout(function(){m.onMouseUp(h)},0)))}onMouseUp(h){let m,f,y,I,E,M,D=this.chart,F=this.xAxis,X=this.scrollbar,_=h.DOMEvent||h,w=D.inverted,A=this.rendered&&!this.hasDragged?"animate":"attr";(this.hasDragged&&(!X||!X.hasDragged)||h.trigger==="scrollbar")&&(y=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos?I=this.fixedExtreme:this.zoomedMax===this.otherHandlePos&&(E=this.fixedExtreme),this.zoomedMax===this.size&&(E=this.reversedExtremes?y.dataMin:y.dataMax),this.zoomedMin===0&&(I=this.reversedExtremes?y.dataMax:y.dataMin),L((M=F.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,I,E)).min)&&N(this,"setRange",{min:Math.min(M.min,M.max),max:Math.max(M.min,M.max),redraw:!0,animation:!this.hasDragged&&null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:_}})),h.DOMType!=="mousemove"&&h.DOMType!=="touchmove"&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&S(this.zoomedMin)&&S(this.zoomedMax)&&(f=Math.round(this.zoomedMin),m=Math.round(this.zoomedMax),this.shades&&this.drawMasks(f,m,w,A),this.outline&&this.drawOutline(f,m,w,A),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(f,0,w,A),this.drawHandle(m,1,w,A)))}removeEvents(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(h){h()}),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let h=this.baseSeries||[];this.navigatorEnabled&&h[0]&&(this.navigatorOptions.adaptToUpdatedData!==!1&&h.forEach(function(m){p(m,"updatedData",this.updatedDataHandler)},this),h[0].xAxis&&p(h[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(h){var b;
vendor: 4,357 bytes, line 131
131let m=h.options,f=m.navigator||{},y=f.enabled,I=m.scrollbar||{},E=I.enabled,M=y&&f.height||0,D=E&&I.height||0,F=I.buttonsEnabled&&D||0;this.handles=[],this.shades=[],this.chart=h,this.setBaseSeries(),this.height=M,this.scrollbarHeight=D,this.scrollButtonSize=F,this.scrollbarEnabled=E,this.navigatorEnabled=y,this.navigatorOptions=f,this.scrollbarOptions=I,this.setOpposite();let X=this,_=X.baseSeries,w=h.xAxis.length,A=h.yAxis.length,U=_&&_[0]&&_[0].xAxis||h.xAxis[0]||{options:{}};if(h.isDirtyBox=!0,X.navigatorEnabled){let k=this.getXAxisOffsets();X.xAxis=new t(h,g({breaks:U.options.breaks,ordinal:U.options.ordinal,overscroll:U.options.overscroll},f.xAxis,{type:"datetime",yAxis:(b=f.yAxis)==null?void 0:b.id,index:w,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:U.options.ordinal?0:U.options.minPadding,maxPadding:U.options.ordinal?0:U.options.maxPadding,zoomEnabled:!1},h.inverted?{offsets:k,width:M}:{offsets:k,height:M}),"xAxis"),X.yAxis=new t(h,g(f.yAxis,{alignTicks:!1,offset:0,index:A,isInternal:!0,reversed:v(f.yAxis&&f.yAxis.reversed,h.yAxis[0]&&h.yAxis[0].reversed,!1),zoomEnabled:!1},h.inverted?{width:M}:{height:M}),"yAxis"),_||f.series.data?X.updateNavigatorSeries(!1):h.series.length===0&&(X.unbindRedraw=V(h,"beforeRedraw",function(){h.series.length>0&&!X.series&&(X.setBaseSeries(),X.unbindRedraw())})),X.reversedExtremes=h.inverted&&!X.xAxis.reversed||!h.inverted&&X.xAxis.reversed,X.renderElements(),X.addMouseEvents()}else X.xAxis={chart:h,navigatorAxis:{fake:!0},translate:function(k,O){let z=h.xAxis[0],W=z.getExtremes(),Q=z.len-2*F,ee=o("min",z.options.min,W.dataMin),se=o("max",z.options.max,W.dataMax)-ee;return O?k*se/Q+ee:Q*(k-ee)/se},toPixels:function(k){return this.translate(k)},toValue:function(k){return this.translate(k,!0)}},X.xAxis.navigatorAxis.axis=X.xAxis,X.xAxis.navigatorAxis.toFixedRange=B.prototype.toFixedRange.bind(X.xAxis.navigatorAxis);if(h.options.scrollbar.enabled){let k=g(h.options.scrollbar,{vertical:h.inverted});!S(k.margin)&&X.navigatorEnabled&&(k.margin=h.inverted?-3:3),h.scrollbar=X.scrollbar=new K(h.renderer,k,h),V(X.scrollbar,"changed",function(O){let z=X.size,W=z*this.to,Q=z*this.from;X.hasDragged=X.scrollbar.hasDragged,X.render(0,0,Q,W),this.shouldUpdateExtremes(O.DOMType)&&setTimeout(function(){X.onMouseUp(O)})})}X.addBaseSeriesEvents(),X.addChartEvents()}setOpposite(){let h=this.navigatorOptions,m=this.navigatorEnabled,f=this.chart;this.opposite=v(h.opposite,!!(!m&&f.inverted))}getUnionExtremes(h){let m,f=this.chart.xAxis[0],y=this.xAxis,I=y.options,E=f.options;return h&&f.dataMin===null||(m={dataMin:v(I&&I.min,o("min",E.min,f.dataMin,y.dataMin,y.min)),dataMax:v(I&&I.max,o("max",E.max,f.dataMax,y.dataMax,y.max))}),m}setBaseSeries(h,m){let f=this.chart,y=this.baseSeries=[];h=h||f.options&&f.options.navigator.baseSeries||(f.series.length?x(f.series,I=>!I.options.isInternal).index:0),(f.series||[]).forEach((I,E)=>{!I.options.isInternal&&(I.options.showInNavigator||(E===h||I.options.id===h)&&I.options.showInNavigator!==!1)&&y.push(I)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,m)}updateNavigatorSeries(h,m){var w,A;let f=this,y=f.chart,I=f.baseSeries,E={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:(w=this.navigatorOptions.xAxis)==null?void 0:w.id,yAxis:(A=this.navigatorOptions.yAxis)==null?void 0:A.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},M=f.series=(f.series||[]).filter(U=>{let b=U.baseSeries;return!(0>I.indexOf(b))||(b&&(p(b,"updatedData",f.updatedDataHandler),delete b.navigatorSeries),U.chart&&U.destroy(),!1)}),D,F,X=f.navigatorOptions.series,_;I&&I.length&&I.forEach(U=>{let b=U.navigatorSeries,k=c({color:U.color,visible:U.visible},P(X)?Z.navigator.series:X);if(b&&f.navigatorOptions.adaptToUpdatedData===!1)return;E.name="Navigator "+I.length,_=(D=U.options||{}).navigatorOptions||{},k.dataLabels=a(k.dataLabels),(F=g(D,E,k,_)).pointRange=v(k.pointRange,_.pointRange,Z.plotOptions[F.type||"line"].pointRange);let O=_.data||k.data;f.hasNavigatorData=f.hasNavigatorData||!!O,F.data=O||D.data&&D.data.slice(0),b&&b.options?b.update(F,m):(U.navigatorSeries=y.initSeries(F),y.setSortedData(),U.navigatorSeries.baseSeries=U,M.push(U.navigatorSeries))}),(X.data&&!(I&&I.length)||P(X))&&(f.hasNavigatorData=!1,(X=a(X)).forEac
131h((U,b)=>{E.name="Navigator "+(M.length+1),(F=g(Z.navigator.series,{color:y.series[b]&&!y.series[b].options.isInternal&&y.series[b].color||y.options.colors[b]||y.options.colors[0]},E,U)).data=U.data,F.data&&(f.hasNavigatorData=!0,M.push(y.initSeries(F)))})),h&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let h=this,m=h.baseSeries||[];m[0]&&m[0].xAxis&&m[0].eventsToUnbind.push(V(m[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),m.forEach(f=>{f.eventsToUnbind.push(V(f,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),f.eventsToUnbind.push(V(f,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),this.navigatorOptions.adaptToUpdatedData!==!1&&f.xAxis&&f.eventsToUnbind.push(V(f,"updatedData",this.updatedDataHandler)),f.eventsToUnbind.push(V(f,"remove",function(){m&&s(m,f),this.navigatorSeries&&(s(h.series,this.navigatorSeries),L(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(h){return this.baseSeries.reduce(function(m,f){return Math.min(m,f.xData&&f.xData.length?f.xData[0]:m)},h)}modifyNavigatorAxisExtremes(){let h=this.xAxis;if(h.getExtremes!==void 0){let m=this.getUnionExtremes(!0);m&&(m.dataMin!==h.min||m.dataMax!==h.max)&&(h.min=m.dataMin,h.max=m.dataMax)}}modifyBaseAxisExtremes(){var b;let h,m,f=this.chart.navigator,y=this.getExtremes(),I=y.min,E=y.max,M=y.dataMin,D=y.dataMax,F=E-I,X=f.stickToMin,_=f.stickToMax,w=v((b=this.ordinal)==null?void 0:b.convertOverscroll(this.options.overscroll),0),A=f.series&&f.series[0],U=!!this.setExtremes;!(this.eventArgs&&this.eventArgs.trigger==="rangeSelectorButton")&&(X&&(h=(m=M)+F),_&&(h=D+w,X||(m=Math.max(M,h-F,f.getBaseSeriesMin(A&&A.xData?A.xData[0]:-Number.MAX_VALUE)))),U&&(X||_)&&S(m)&&(this.min=this.userMin=m,this.max=this.userMax=h)),f.stickToMin=f.stickToMax=null}updatedDataHandler(){let h=this.chart.navigator,m=this.navigatorSeries,f=h.reversedExtremes?Math.round(h.zoomedMin)===0:Math.round(h.zoomedMax)>=Math.round(h.size);h.stickToMax=v(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,f),h.stickToMin=h.shouldStickToMin(this,h),m&&!h.hasNavigatorData&&(m.options.pointStart=this.xData[0],m.setData(this.options.data,!1,null,!1))}shouldStickToMin(h,m){let f=m.getBaseSeriesMin(h.xData[0]),y=h.xAxis,I=y.max,E=y.min,M=y.options.range;return!!(S(I)&&S(E))&&(M&&I-f>0?I-f<M:E<=f)}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(V(this.chart,"redraw",function(){let h=this.navigator,m=h&&(h.baseSeries&&h.baseSeries[0]&&h.baseSeries[0].xAxis||this.xAxis[0]);m&&h.render(m.min,m.max)}),V(this.chart,"getMargins",function(){let h=this.navigator,m=h.opposite?"plotTop":"marginBottom";this.inverted&&(m=h.opposite?"marginRight":"plotLeft"),this[m]=(this[m]||0)+(h.navigatorEnabled||!this.inverted?h.height+h.scrollbarHeight:0)+h.navigatorOptions.margin}),V(u,"setRange",function(h){this.chart.xAxis[0].setExtremes(h.min,h.max,h.redraw,h.animation,h.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(s(this.chart.xAxis,this.xAxis),s(this.chart.axes,this.xAxis)),this.yAxis&&(s(this.chart.yAxis,this.yAxis),s(this.chart.axes,this.yAxis)),(this.series||[]).forEach(h=>{h.destroy&&h.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(h=>{this[h]&&this[h].destroy&&this[h].destroy(),this[h]=null}),[this.handles].forEach(h=>{j(h)}),this.navigatorEnabled=!1}}return u}),r(e,"Stock/RangeSelector/RangeSelectorDefaults.js",[],function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%e %b %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#334eff",cursor:"pointer",fontSize:"0.8em"},labelStyle:{color:"#666666",fontSize:"0.8em"}}}}),r(e,"Stock/RangeSelector/RangeSelectorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C){let B,{defaultOptions:$}=t,{composed:K}=n,{addEvent:G,defined:q,extend:Z,isNumber:R,merge:Y,pick:V,pushUnique:H}=C,T=[];function L(){let S,g,v=this.range,p=v.type,a=this.max,o=this.chart.time,u=function(h,m){let f=p==="year"?"FullYear":"Month",y=new o.Date(h),I=o.get(f,y);return o.set(f,y,I+m),I===o.get(f,y)&&o.set("Date",y,0),y.getTime()-h};R(v)?(S=a-v,g=v):v&&(S=a+u(a,-(v.count||1)),this.chart&&this.chart.setFixedRange(a-S));let d=V(this.dataMin,Number.MIN_VALUE);return R(S)||(S=d),S<=d&&(S=d,g===void 0&&(g=u(S,v.count)),this.newMax=Math.min(S+g,V(this.dataMax,Number.MAX_VALUE))),R(a)?!R(v)&&v&&v._offsetMin&&(S+=v._offsetMin):S=void 0,S}function j(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new B(this))}function s(){let S=this.rangeSelector;if(S){R(S.deferredYTDClick)&&(S.clickButton(S.deferredYTDClick),delete S.deferredYTDClick);let g=S.options.verticalAlign;S.options.floating||(g==="bottom"?this.extraBottomMargin=!0:g==="middle"||(this.extraTopMargin=!0))}}function c(){let S,g=this.rangeSelector;if(!g)return;let v=this.xAxis[0].getExtremes(),p=this.legend,a=g&&g.options.verticalAlign;R(v.min)&&g.render(v.min,v.max),p.display&&a==="top"&&a===p.options.verticalAlign&&(S=Y(this.spacingBox),p.options.layout==="vertical"?S.y=this.plotTop:S.y+=g.getHeight(),p.group.placed=!1,p.align(S))}function x(){for(let S=0,g=T.length;S<g;++S){let v=T[S];
131if(v[0]===this){v[1].forEach(p=>p()),T.splice(S,1);return}}}function N(){let S=this.rangeSelector;if(S){let g=S.getHeight();this.extraTopMargin&&(this.plotTop+=g),this.extraBottomMargin&&(this.marginBottom+=g)}}function P(S){let g=S.options.rangeSelector,v=this.extraBottomMargin,p=this.extraTopMargin,a=this.rangeSelector;if(g&&g.enabled&&!q(a)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=a=new B(this)),this.extraBottomMargin=!1,this.extraTopMargin=!1,a){let o=g&&g.verticalAlign||a.options&&a.options.verticalAlign;a.options.floating||(o==="bottom"?this.extraBottomMargin=!0:o==="middle"||(this.extraTopMargin=!0)),(this.extraBottomMargin!==v||this.extraTopMargin!==p)&&(this.isDirtyBox=!0)}}return{compose:function(S,g,v){if(B=v,H(K,"RangeSelector")){let p=g.prototype;S.prototype.minFromRange=L,G(g,"afterGetContainer",j),G(g,"beforeRender",s),G(g,"destroy",x),G(g,"getMargins",N),G(g,"redraw",c),G(g,"update",P),p.callbacks.push(c),Z($,{rangeSelector:l.rangeSelector}),Z($.lang,l.lang)}}}}),r(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){var B;let{addEvent:$,correctFloat:K,css:G,defined:q,error:Z,isNumber:R,pick:Y,timeUnits:V,isString:H}=C;return function(T){function L(o,u,d,h,m=[],f=0,y){let I={},E=this.options.tickPixelInterval,M=this.chart.time,D=[],F,X,_,w,A,U=0,b=[],k=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!m||m.length<3||u===void 0)return M.getTimeTicks.apply(M,arguments);let O=m.length;for(F=0;F<O;F++){if(A=F&&m[F-1]>d,m[F]<u&&(U=F),F===O-1||m[F+1]-m[F]>5*f||A){if(m[F]>k){for(X=M.getTimeTicks(o,m[U],m[F],h);X.length&&X[0]<=k;)X.shift();X.length&&(k=X[X.length-1]),D.push(b.length),b=b.concat(X)}U=F+1}if(A)break}if(X){if(w=X.info,y&&w.unitRange<=V.hour){for(U=1,F=b.length-1;U<F;U++)M.dateFormat("%d",b[U])!==M.dateFormat("%d",b[U-1])&&(I[b[U]]="day",_=!0);_&&(I[b[0]]="day"),w.higherRanks=I}w.segmentStarts=D,b.info=w}else Z(12,!1,this.chart);if(y&&q(E)){let z=b.length,W=[],Q=[],ee,se,ae,he,ce,ie=z;for(;ie--;)se=this.translate(b[ie]),ae&&(Q[ie]=ae-se),W[ie]=ae=se;for(Q.sort((te,ne)=>te-ne),(he=Q[Math.floor(Q.length/2)])<.6*E&&(he=null),ie=b[z-1]>d?z-1:z,ae=void 0;ie--;)ce=Math.abs(ae-(se=W[ie])),ae&&ce<.8*E&&(he===null||ce<.8*he)?(I[b[ie]]&&!I[b[ie+1]]?(ee=ie+1,ae=se):ee=ie,b.splice(ee,1)):ae=se}return b}function j(o){let u=this.ordinal.positions;if(!u)return o;let d=u.length-1,h;return o<0?o=u[0]:o>d?o=u[d]:(d=Math.floor(o),h=o-d),h!==void 0&&u[d]!==void 0?u[d]+(h?h*(u[d+1]-u[d]):0):o}function s(o){let u=this.ordinal,d=this.old?this.old.min:this.min,h=this.old?this.old.transA:this.transA,m=u.getExtendedPositions();if(m&&m.length){let f=K((o-d)*h+this.minPixelPadding),y=K(u.getIndexOfPoint(f,m)),I=K(y%1);if(y>=0&&y<=m.length-1){let E=m[Math.floor(y)],M=m[Math.ceil(y)];return m[Math.floor(y)]+I*(M-E)}}return o}function c(o,u){let d=T.Additions.findIndexOf(o,u,!0);if(o[d]===u)return d;let h=(u-o[d])/(o[d+1]-o[d]);return d+h}function x(){this.ordinal||(this.ordinal=new T.Additions(this))}function N(){let{eventArgs:o,options:u}=this;if(this.isXAxis&&q(u.overscroll)&&u.overscroll!==0&&R(this.max)&&R(this.min)&&(this.options.ordinal&&!this.ordinal.originalOrdinalRange&&this.ordinal.getExtendedPositions(!1),this.max===this.dataMax&&((o==null?void 0:o.trigger)!=="pan"||this.isInternal)&&(o==null?void 0:o.trigger)!=="navigator")){let d=this.ordinal.convertOverscroll(u.overscroll);this.max+=d,!this.isInternal&&q(this.userMin)&&(o==null?void 0:o.trigger)!=="mousewheel"&&(this.min+=d)}}function P(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function S(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function g(o){let u=this.xAxis[0],d=u.ordinal.convertOverscroll(u.options.overscroll),h=o.originalEvent.chartX,m=this.options.chart.panning,f=!1;if(m&&m.type!=="y"&&u.options.ordinal&&u.series.length&&(!o.touches||o.touches.length<=1)){let y,I,E=this.mouseDownX,M=u.getExtremes(),D=M.dataMin,F=M.dataMax,X=M.min,_=M.max,w=this.hoverPoints,A=u.closestPointRange||u.ordinal&&u.ordinal.overscrollPointsRange,U=Math.round((E-h)/(u.translationSlope*(u.ordinal.slope||A))),b=u.ordinal.getExtendedPositions(),k={ordinal:{positions:b,extendedOrdinalPositions:b}},O=u.index2val,z=u.val2lin;if(X<=D&&U<0||_+d>=F&&U>0)return;k.ordinal.positions?Math.abs(U)>
1311&&(w&&w.forEach(function(W){W.setState()}),F>(I=k.ordinal.positions)[I.length-1]&&I.push(F),this.setFixedRange(_-X),(y=u.navigatorAxis.toFixedRange(void 0,void 0,O.apply(k,[z.apply(k,[X,!0])+U]),O.apply(k,[z.apply(k,[_,!0])+U]))).min>=Math.min(M.dataMin,X)&&y.max<=Math.max(F,_)+d&&u.setExtremes(y.min,y.max,!0,!1,{trigger:"pan"}),this.mouseDownX=h,G(this.container,{cursor:"move"})):f=!0}else f=!0;f||m&&/y/.test(m.type)?d&&(u.max=u.dataMax+d):o.preventDefault()}function v(){let o=this.xAxis;o&&o.options.ordinal&&(delete o.ordinal.index,delete o.ordinal.originalOrdinalRange)}function p(o,u){let d,h=this.ordinal,m=h.positions,f=h.slope,y;if(!m)return o;let I=m.length;if(m[0]<=o&&m[I-1]>=o)d=c(m,o);else{if(!((y=h.getExtendedPositions&&h.getExtendedPositions())&&y.length))return o;let E=y.length;f||(f=(y[E-1]-y[0])/E);let M=c(y,m[0]);if(o>=y[0]&&o<=y[E-1])d=c(y,o)-M;else{if(!u)return o;d=o<y[0]?-M-(y[0]-o)/f:(o-y[E-1])/f+E-M}}return u?d:f*(d||0)+h.offset}T.compose=function(o,u,d){let h=o.prototype;return h.ordinal2lin||(h.getTimeTicks=L,h.index2val=j,h.lin2val=s,h.val2lin=p,h.ordinal2lin=h.val2lin,$(o,"afterInit",x),$(o,"foundExtremes",N),$(o,"afterSetScale",P),$(o,"initialAxisTranslation",S),$(d,"pan",g),$(d,"touchpan",g),$(u,"updatedData",v)),o};class a{constructor(u){this.index={},this.axis=u}beforeSetTickPositions(){var z;let u=this.axis,d=u.ordinal,h=u.getExtremes(),m=h.min,f=h.max,y=(z=u.brokenAxis)==null?void 0:z.hasBreaks,I=u.options.ordinal,E,M,D,F,X,_,w,A=[],U=Number.MAX_VALUE,b=!1,k=!1,O=!1;if(I||y){let W=0;if(u.series.forEach(function(Q,ee){if(M=[],ee>0&&Q.options.id!=="highcharts-navigator-series"&&Q.processedXData.length>1&&(k=W!==Q.processedXData[1]-Q.processedXData[0]),W=Q.processedXData[1]-Q.processedXData[0],Q.boosted&&(O=Q.boosted),Q.reserveSpace()&&(Q.takeOrdinalPosition!==!1||y)&&(E=(A=A.concat(Q.processedXData)).length,A.sort(function(se,ae){return se-ae}),U=Math.min(U,Y(Q.closestPointRange,U)),E)){for(ee=0;ee<E-1;)A[ee]!==A[ee+1]&&M.push(A[ee+1]),ee++;M[0]!==A[0]&&M.unshift(A[0]),A=M}}),u.ordinal.originalOrdinalRange||(u.ordinal.originalOrdinalRange=(A.length-1)*U),k&&O&&(A.pop(),A.shift()),(E=A.length)>2){for(D=A[1]-A[0],w=E-1;w--&&!b;)A[w+1]-A[w]!==D&&(b=!0);!u.options.keepOrdinalPadding&&(A[0]-m>D||f-A[A.length-1]>D)&&(b=!0)}else u.options.overscroll&&(E===2?U=A[1]-A[0]:E===1?(U=u.ordinal.convertOverscroll(u.options.overscroll),A=[A[0],A[0]+U]):U=d.overscrollPointsRange);b||u.forceOrdinal?(u.options.overscroll&&(d.overscrollPointsRange=U,A=A.concat(d.getOverscrollPositions())),d.positions=A,F=u.ordinal2lin(Math.max(m,A[0]),!0),X=Math.max(u.ordinal2lin(Math.min(f,A[A.length-1]),!0),1),d.slope=_=(f-m)/(X-F),d.offset=m-F*_):(d.overscrollPointsRange=Y(u.closestPointRange,d.overscrollPointsRange),d.positions=u.ordinal.slope=d.offset=void 0)}u.isOrdinal=I&&b,d.groupIntervalFactor=null}static findIndexOf(u,d,h){let m=0,f=u.length-1,y;for(;m<f;)u[y=Math.ceil((m+f)/2)]<=d?m=y:f=y-1;return u[m]===d||h?m:-1}getExtendedPositions(u=!0){var _;let d=this,h=d.axis,m=h.constructor.prototype,f=h.chart,y=(_=h.series[0])==null?void 0:_.currentDataGrouping,I=y?y.count+y.unitName:"raw",E=u?h.ordinal.convertOverscroll(h.options.overscroll):0,M=h.getExtremes(),D,F,X=d.index;return X||(X=d.index={}),X[I]||((D={series:[],chart:f,forceOrdinal:!1,getExtremes:function(){return{min:M.dataMin,max:M.dataMax+E}},applyGrouping:m.applyGrouping,getGroupPixelWidth:m.getGroupPixelWidth,getTimeTicks:m.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:m.ordinal2lin,getIndexOfPoint:m.getIndexOfPoint,val2lin:m.val2lin}).ordinal.axis=D,h.series.forEach(function(w){var A,U,b;F={xAxis:D,xData:w.xData.slice(),chart:f,groupPixelWidth:w.groupPixelWidth,destroyGroupedData:n.noop,getProcessedData:l.prototype.getProcessedData,applyGrouping:l.prototype.applyGrouping,reserveSpace:l.prototype.reserveSpace,visible:w.visible},u&&(F.xData=F.xData.concat(d.getOverscrollPositions())),F.options={dataGrouping:y?{firstAnchor:(A=w.options.dataGrouping)==null?void 0:A.firstAnchor,anchor:(U=w.options.dataGrouping)==null?void 0:U.anchor,lastAnchor:(b=w.options.dataGrouping)==null?void 0:b.firstAnchor,enabled:!0,forced:!0,approximation:"open",units:[[y.unitName,[y.count]]]}:{enabled:!1}},D.series.push(F),w.processData.apply(F)}),D.applyGrouping({hasExtremesChanged:!0}),(F==null?void 0:F.closestPointRange)!==(F==null?void 0:F.basePointRange)&&F.currentDataGrouping&&(D.forceOrdinal=!0),h.ordinal.beforeSetTickPositions.apply({axis:D}),!h.ordinal.originalOrdinalRange&&D.ordinal.originalOrdinalRange&&(h.ordinal.originalOrdinalRange=D.ordinal.originalOrdinalRange),X[I]=D.ordinal.positions),X[I]}getGroupIntervalFactor(u,d,h){let m=h.processedXData,f=m.length,y=[],I,E,M=this.groupIntervalFactor;if(!M){for(E=0;E<f-1;E++)y[E]=m[E+1]-m[E];y.sort(function(D,F){return D-F}),I=y[Math.floor(f/2)],u=Math.max(u,m[0]),d=Math.min(d,m[f-1]),this.groupIntervalFactor=M=f*I/(d-u)}return M}getIndexOfPoint(u,d){let h,m=this.axis,f=0,y=function(M){let{min:D,max:F}=m;return!!(q(D)&&q(F))&&M.points.some(X=>X.x>=D&&X.x<=F)};
131m.series.forEach(M=>{var F;let D=(F=M.points)==null?void 0:F[0];q(D==null?void 0:D.plotX)&&(D.plotX<h||!q(h))&&y(M)&&(h=D.plotX,f=D.x)}),h??(h=m.minPixelPadding);let I=m.translationSlope*(this.slope||m.closestPointRange||this.overscrollPointsRange),E=K((u-h)/I);return a.findIndexOf(d,f,!0)+E}getOverscrollPositions(){let u=this.axis,d=this.convertOverscroll(u.options.overscroll),h=this.overscrollPointsRange,m=[],f=u.dataMax;if(q(h))for(;f<=u.dataMax+d;)m.push(f+=h);return m}postProcessTickInterval(u){let d=this.axis,h=this.slope;return h?d.options.breaks?d.closestPointRange||u:u/(h/d.closestPointRange):u}convertOverscroll(u=0){let d=this,h=d.axis,m=function(f){return Y(d.originalOrdinalRange,q(h.dataMax)&&q(h.dataMin)?h.dataMax-h.dataMin:0)*f};if(H(u)){let f=parseInt(u,10);if(/%$/.test(u))return m(f/100);if(/px/.test(u)){let y=Math.min(f,.9*h.len)/h.len;return m(y/(1-y))}return 0}return u}}T.Additions=a}(B||(B={})),B}),r(e,"Stock/RangeSelector/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorComposition.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"],e["Core/Axis/OrdinalAxis.js"]],function(t,n,l,C,B,$,K){let{defaultOptions:G}=n,{addEvent:q,createElement:Z,css:R,defined:Y,destroyObjectProperties:V,discardElement:H,extend:T,fireEvent:L,isNumber:j,merge:s,objectEach:c,pad:x,pick:N,pInt:P,splat:S}=$;class g{static compose(p,a){C.compose(p,a,g)}constructor(p){this.buttonOptions=g.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.init(p)}clickButton(p,a){let o=this.chart,u=this.buttonOptions[p],d=o.xAxis[0],h=o.scroller&&o.scroller.getUnionExtremes()||d||{},m=u.type,f=u.dataGrouping,y=h.dataMin,I=h.dataMax,E,M=d&&Math.round(Math.min(d.max,N(I,d.max))),D,F=u._range,X,_,w,A=!0;if(y!==null&&I!==null){if(this.setSelected(p),f&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(d||{chart:this.chart},f,!1),this.frozenStates=u.preserveDataGrouping),m==="month"||m==="year")d?(_={range:u,max:M,chart:o,dataMin:y,dataMax:I},E=d.minFromRange.call(_),j(_.newMax)&&(M=_.newMax),A=!1):F=u;else if(F)M=Math.min((E=Math.max(M-F,y))+F,I),A=!1;else if(m==="ytd")if(d)(I===void 0||y===void 0)&&(y=Number.MAX_VALUE,I=Number.MIN_VALUE,o.series.forEach(U=>{let b=U.xData;b&&(y=Math.min(b[0],y),I=Math.max(b[b.length-1],I))}),a=!1),E=X=(w=this.getYTDExtremes(I,y,o.time.useUTC)).min,M=w.max;else{this.deferredYTDClick=p;return}else m==="all"&&d&&(o.navigator&&o.navigator.baseSeries[0]&&(o.navigator.baseSeries[0].xAxis.options.range=void 0),E=y,M=I);if(A&&u._offsetMin&&Y(E)&&(E+=u._offsetMin),u._offsetMax&&Y(M)&&(M+=u._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=p+1),d)d.setExtremes(E,M,N(a,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:u}),o.setFixedRange(u._range);else{D=S(o.options.xAxis)[0];let U=q(o,"afterGetAxes",function(){let b=o.xAxis[0];b.range=b.options.range=F,b.min=b.options.min=X});q(o,"load",function(){let b=o.xAxis[0];o.setFixedRange(u._range),b.options.range=D.range,b.options.min=D.min,U()})}L(this,"afterBtnClick")}}setSelected(p){this.selected=this.options.selected=p}init(p){let a=this,o=p.options.rangeSelector,u=o.buttons||a.defaultButtons.slice(),d=o.selected,h=function(){let m=a.minInput,f=a.maxInput;m&&m.blur&&L(m,"blur"),f&&f.blur&&L(f,"blur")};a.chart=p,a.options=o,a.buttons=[],a.buttonOptions=u,this.eventsToUnbind=[],this.eventsToUnbind.push(q(p.container,"mousedown",h)),this.eventsToUnbind.push(q(p,"resize",h)),u.forEach(a.computeButtonRange),d!==void 0&&u[d]&&this.clickButton(d,!1),this.eventsToUnbind.push(q(p,"load",function(){p.xAxis&&p.xAxis[0]&&q(p.xAxis[0],"setExtremes",function(m){j(this.max)&&j(this.min)&&this.max-this.min!==p.fixedRange&&m.trigger!=="rangeSelectorButton"&&m.trigger!=="updatedData"&&a.forcedDataGrouping&&!a.frozenStates&&this.setDataGrouping(!1,!1)})})),this.createElements()}updateButtonStates(){let p=this,a=this.chart,o=this.dropdown,u=this.dropdownLabel,d=a.xAxis[0],h=Math.round(d.max-d.min),m=!d.hasVisibleSeries,f=24*36e5,y=a.scroller&&a.scroller.getUnionExtremes()||d,I=y.dataMin,E=y.dataMax,M=p.getYTDExtremes(E,I,a.time.useUTC),D=M.min,F=M.max,X=p.selected,_=p.options.allButtonsEnabled,w=Array(p.buttonOptions.length).fill(0),A=j(X),U=p.buttons,b=!1,k=null;p.buttonOptions.forEach((O,z)=>
131{var le;let W=O._range,Q=O.type,ee=O.count||1,se=O._offsetMax-O._offsetMin,ae=z===X,he=W>E-I,ce=W<d.minRange,ie=!1,te=W===h;if(ae&&he&&(b=!0),d.isOrdinal&&((le=d.ordinal)==null?void 0:le.positions)&&W&&h<W){let ue=d.ordinal.positions,de=K.Additions.findIndexOf(ue,d.min,!0),fe=Math.min(K.Additions.findIndexOf(ue,d.max,!0)+1,ue.length-1);ue[fe]-ue[de]>W&&(te=!0)}else(Q==="month"||Q==="year")&&h+36e5>={month:28,year:365}[Q]*f*ee-se&&h-36e5<={month:31,year:366}[Q]*f*ee+se?te=!0:Q==="ytd"?(te=F-D+se===h,ie=!ae):Q==="all"&&(te=d.max-d.min>=E-I);let ne=!_&&!(b&&Q==="all")&&(he||ce||m),oe=b&&Q==="all"||!ie&&te||ae&&p.frozenStates;ne?w[z]=3:oe&&(!A||z===X)&&(k=z)}),k!==null?(w[k]=2,p.setSelected(k)):(p.setSelected(),u&&(u.setState(0),u.attr({text:(G.lang.rangeSelectorZoom||"")+" \u25BE"})));for(let O=0;O<w.length;O++){let z=w[O],W=U[O];if(W.state!==z&&(W.setState(z),o)){o.options[O+1].disabled=z===3,z===2&&(u&&(u.setState(2),u.attr({text:p.buttonOptions[O].text+" \u25BE"})),o.selectedIndex=O+1);let Q=u.getBBox();R(o,{width:`${Q.width}px`,height:`${Q.height}px`})}}}computeButtonRange(p){let a=p.type,o=p.count||1,u={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};u[a]?p._range=u[a]*o:(a==="month"||a==="year")&&(p._range=24*{month:30,year:365}[a]*36e5*o),p._offsetMin=N(p.offsetMin,0),p._offsetMax=N(p.offsetMax,0),p._range+=p._offsetMax-p._offsetMin}getInputValue(p){let a=p==="min"?this.minInput:this.maxInput,o=this.chart.options.rangeSelector,u=this.chart.time;return a?(a.type==="text"&&o.inputDateParser||this.defaultInputDateParser)(a.value,u.useUTC,u):0}setInputValue(p,a){let o=this.options,u=this.chart.time,d=p==="min"?this.minInput:this.maxInput,h=p==="min"?this.minDateBox:this.maxDateBox;if(d){let m=d.getAttribute("data-hc-time"),f=Y(m)?Number(m):void 0;if(Y(a)){let y=f;Y(y)&&d.setAttribute("data-hc-time-previous",y),d.setAttribute("data-hc-time",a),f=a}d.value=u.dateFormat(this.inputTypeFormats[d.type]||o.inputEditDateFormat,f),h&&h.attr({text:u.dateFormat(o.inputDateFormat,f)})}}setInputExtremes(p,a,o){let u=p==="min"?this.minInput:this.maxInput;if(u){let d=this.inputTypeFormats[u.type],h=this.chart.time;if(d){let m=h.dateFormat(d,a);u.min!==m&&(u.min=m);let f=h.dateFormat(d,o);u.max!==f&&(u.max=f)}}}showInput(p){let a=p==="min"?this.minDateBox:this.maxDateBox,o=p==="min"?this.minInput:this.maxInput;if(o&&a&&this.inputGroup){let u=o.type==="text",{translateX:d=0,translateY:h=0}=this.inputGroup,{x:m=0,width:f=0,height:y=0}=a,{inputBoxWidth:I}=this.options;R(o,{width:u?f+(I?-2:20)+"px":"auto",height:y-2+"px",border:"2px solid silver"}),u&&I?R(o,{left:d+m+"px",top:h+"px"}):R(o,{left:Math.min(Math.round(m+d-(o.offsetWidth-f)/2),this.chart.chartWidth-o.offsetWidth)+"px",top:h-(o.offsetHeight-y)/2+"px"})}}hideInput(p){let a=p==="min"?this.minInput:this.maxInput;a&&R(a,{top:"-9999em",border:0,width:"1px",height:"1px"})}defaultInputDateParser(p,a,o){let u=p.split("/").join("-").split(" ").join("T");if(u.indexOf("T")===-1&&(u+="T00:00"),a)u+="Z";else{let h;if(l.isSafari&&!((h=u).length>6&&(h.lastIndexOf("-")===h.length-6||h.lastIndexOf("+")===h.length-6))){let m=new Date(u).getTimezoneOffset()/60;u+=m<=0?`+${x(-m)}:00`:`-${x(m)}:00`}}let d=Date.parse(u);if(!j(d)){let h=p.split("-");d=Date.UTC(P(h[0]),P(h[1])-1,P(h[2]))}return o&&a&&j(d)&&(d+=o.getTimezoneOffset(d)),d}drawInput(p){let{chart:a,div:o,inputGroup:u}=this,d=this,h=a.renderer.style||{},m=a.renderer,f=a.options.rangeSelector,y=G.lang,I=p==="min";function E(w){var ee;let{maxInput:A,minInput:U}=d,b=a.xAxis[0],k=((ee=a.scroller)==null?void 0:ee.getUnionExtremes())||b,O=k.dataMin,z=k.dataMax,W=a.xAxis[0].getExtremes()[w],Q=d.getInputValue(w);j(Q)&&Q!==W&&(I&&A&&j(O)?Q>Number(A.getAttribute("data-hc-time"))?Q=void 0:Q<O&&(Q=O):U&&j(z)&&(Q<Number(U.getAttribute("data-hc-time"))?Q=void 0:Q>z&&(Q=z)),Q!==void 0&&b.setExtremes(I?Q:b.min,I?b.max:Q,void 0,void 0,{trigger:"rangeSelectorInput"}))}let M=y[I?"rangeSelectorFrom":"rangeSelectorTo"]||"",D=m.label(M,0).addClass("highcharts-range-label").attr({padding:M?2:0,height:M?f.inputBoxHeight:0}).add(u),F=m.label("",0).addClass("highcharts-range-input").attr({padding:2,width:f.inputBoxWidth,height:f.inputBoxHeight,"text-align":"center"}).on("click",function(){d.showInput(p),d[p+"Input"].focus()});a.styledMode||F.attr({stroke:f.inputBoxBorderColor,"stroke-width":1}),F.add(u);let X=Z("input",{name:p,className:"highcharts-range-selector"},void 0,o);X.setAttribute("type",function(w){if(w.indexOf("%L")!==-1)return"text";let A=["a","A","d","e","w","b","B","m","o","y","Y"].some(b=>w.indexOf("%"+b)!==-1),U=["H","k","I","l","M","S"].some(b=>w.indexOf("%"+b)!==-1);return A&&U?"datetime-local":A?"date":U?"time":"text"}(f.inputDateFormat||"%e %b %Y")),a.styledMode||(D.css(s(h,f.labelStyle)),F.css(s({color:"#333333"},h,f.inputStyle)),R(X,T({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:h.fontSize,fontFamily:h.fontFamily,top:"-9999em"},f.inputStyle))),X.onfocus=()=>{d.showInput(p)},X.onblur=()=>{X===l.doc.activeElement&&E(p),d.hideInput(p),d.setInputValue(p),X.blur()};let _=!1;return X.onchange=()=>{_||(E(p),d.hideInput(p),X.blur())},X.onkeypress=w=>{w.keyCode===13&&E(p)},X.onkeydown=w=>{_=!0,(w.key==="ArrowUp"||w.key==="ArrowDown"||w.key==="Tab")&&E(p)},X.onkeyup=()=>{_=!1}
131,{dateBox:F,input:X,label:D}}getPosition(){let p=this.chart,a=p.options.rangeSelector,o=a.verticalAlign==="top"?p.plotTop-p.axisOffset[0]:0;return{buttonTop:o+a.buttonPosition.y,inputTop:o+a.inputPosition.y-10}}getYTDExtremes(p,a,o){let u=this.chart.time,d=new u.Date(p),h=u.get("FullYear",d),m=Math.max(a,o?u.Date.UTC(h,0,1):+new u.Date(h,0,1)),f=d.getTime();return{max:Math.min(p||f,f),min:m}}createElements(){var f;let p=this.chart,a=p.renderer,o=p.container,u=p.options,d=u.rangeSelector,h=d.inputEnabled,m=N((f=u.chart.style)==null?void 0:f.zIndex,0)+1;if(d.enabled!==!1&&(this.group=a.g("range-selector-group").attr({zIndex:7}).add(),this.div=Z("div",void 0,{position:"relative",height:0,zIndex:m}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),h)){this.inputGroup=a.g("input-group").add(this.group);let y=this.drawInput("min");this.minDateBox=y.dateBox,this.minLabel=y.label,this.minInput=y.input;let I=this.drawInput("max");this.maxDateBox=I.dateBox,this.maxLabel=I.label,this.maxInput=I.input}}render(p,a){let o=this.chart,u=o.options.rangeSelector,d=u.inputEnabled;if(u.enabled!==!1){if(d){this.setInputValue("min",p),this.setInputValue("max",a);let h=o.scroller&&o.scroller.getUnionExtremes()||o.xAxis[0]||{};if(Y(h.dataMin)&&Y(h.dataMax)){let m=o.xAxis[0].minRange||0;this.setInputExtremes("min",h.dataMin,Math.min(h.dataMax,this.getInputValue("max"))-m),this.setInputExtremes("max",Math.max(h.dataMin,this.getInputValue("min"))+m,h.dataMax)}if(this.inputGroup){let m=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach(f=>{if(f){let{width:y}=f.getBBox();y&&(f.attr({x:m}),m+=y+u.inputSpacing)}})}}this.alignElements(),this.updateButtonStates()}}renderButtons(){var D;let{buttons:p,chart:a,options:o}=this,u=G.lang,d=a.renderer,h=s(o.buttonTheme),m=h&&h.states,f=h.width||28;delete h.width,delete h.states,this.buttonGroup=d.g("range-selector-buttons").add(this.group);let y=this.dropdown=Z("select",void 0,{position:"absolute",padding:0,border:0,cursor:"pointer",opacity:1e-4},this.div),I=(D=a.userOptions.rangeSelector)==null?void 0:D.buttonTheme;this.dropdownLabel=d.button("",0,0,()=>{},s(h,{"stroke-width":N(h["stroke-width"],0),width:"auto",paddingLeft:N(o.buttonTheme.paddingLeft,I==null?void 0:I.padding,8),paddingRight:N(o.buttonTheme.paddingRight,I==null?void 0:I.padding,8)}),m&&m.hover,m&&m.select,m&&m.disabled).hide().add(this.group),q(y,"touchstart",()=>{y.style.fontSize="16px"});let E=l.isMS?"mouseover":"mouseenter",M=l.isMS?"mouseout":"mouseleave";q(y,E,()=>{L(this.dropdownLabel.element,E)}),q(y,M,()=>{L(this.dropdownLabel.element,M)}),q(y,"change",()=>{L(this.buttons[y.selectedIndex-1].element,"click")}),this.zoomText=d.label(u.rangeSelectorZoom||"",0).attr({padding:o.buttonTheme.padding,height:o.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(o.labelStyle),h["stroke-width"]=N(h["stroke-width"],0)),Z("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,y),this.buttonOptions.forEach((F,X)=>{Z("option",{textContent:F.title||F.text},void 0,y),p[X]=d.button(F.text,0,0,_=>{let w,A=F.events&&F.events.click;A&&(w=A.call(F,_)),w!==!1&&this.clickButton(X),this.isActive=!0},h,m&&m.hover,m&&m.select,m&&m.disabled).attr({"text-align":"center",width:f}).add(this.buttonGroup),F.title&&p[X].attr("title",F.title)})}alignElements(){var X;let{buttonGroup:p,buttons:a,chart:o,group:u,inputGroup:d,options:h,zoomText:m}=this,f=o.options,y=f.exporting&&f.exporting.enabled!==!1&&f.navigation&&f.navigation.buttonOptions,{buttonPosition:I,inputPosition:E,verticalAlign:M}=h,D=(_,w)=>y&&this.titleCollision(o)&&M==="top"&&w.align==="right"&&w.y-_.getBBox().height-12<(y.y||0)+(y.height||0)+o.spacing[0]?-40:0,F=o.plotLeft;if(u&&I&&E){let _=I.x-o.spacing[3];if(p){if(this.positionButtons(),!this.initialButtonGroupWidth){let Q=0;m&&(Q+=m.getBBox().width+5),a.forEach((ee,se)=>{Q+=ee.width||0,se!==a.length-1&&(Q+=h.buttonSpacing)}),this.initialButtonGroupWidth=Q}F-=o.spacing[3];let W=D(p,I);this.alignButtonGroup(W),(X=this.buttonGroup)!=null&&X.translateY&&this.dropdownLabel.attr({y:this.buttonGroup.translateY}),u.placed=p.placed=o.hasLoaded}let w=0;d&&(w=D(d,E),E.align==="left"?_=F:E.align==="right"&&(_=-Math.max(o.axisOffset[1],-w)),d.align({y:E.y,width:d.getBBox().width,align:E.align,x:E.x+_-2},!0,o.spacingBox),d.placed=o.hasLoaded),this.handleCollision(w),u.align({verticalAlign:M},!0,o.spacingBox);let A=u.alignAttr.translateY,U=u.getBBox().height+20,b=0;if(M==="bottom"){let W=o.legend&&o.legend.options;b=A-(U=U+(W&&W.verticalAlign==="bottom"&&W.enabled&&!W.floating?o.legend.legendHeight+N(W.margin,10):0)-20)-(h.floating?0:h.y)-(o.titleOffset?o.titleOffset[2]:0)-10}M==="top"?(h.floating&&(b=0),o.titleOffset&&o.titleOffset[0]&&(b=o.titleOffset[0]),b+=o.margin[0]-o.spacing[0]||0):M==="middle"&&(E.y===I.y?b=A:(E.y||I.y)&&(E.y<0||I.y<0?b-=Math.min(E.y,I.y):b=A-U)),u.translate(h.x,h.y+Math.floor(b));
131let{minInput:k,maxInput:O,dropdown:z}=this;h.inputEnabled&&k&&O&&(k.style.marginTop=u.translateY+"px",O.style.marginTop=u.translateY+"px"),z&&(z.style.marginTop=u.translateY+"px")}}alignButtonGroup(p,a){let{chart:o,options:u,buttonGroup:d}=this,{buttonPosition:h}=u,m=o.plotLeft-o.spacing[3],f=h.x-o.spacing[3];h.align==="right"?f+=p-m:h.align==="center"&&(f-=m/2),d&&d.align({y:h.y,width:N(a,this.initialButtonGroupWidth),align:h.align,x:f},!0,o.spacingBox)}positionButtons(){let{buttons:p,chart:a,options:o,zoomText:u}=this,d=a.hasLoaded?"animate":"attr",{buttonPosition:h}=o,m=a.plotLeft,f=m;u&&u.visibility!=="hidden"&&(u[d]({x:N(m+h.x,m)}),f+=h.x+u.getBBox().width+5);for(let y=0,I=this.buttonOptions.length;y<I;++y)p[y].visibility!=="hidden"?(p[y][d]({x:f}),f+=(p[y].width||0)+o.buttonSpacing):p[y][d]({x:m})}handleCollision(p){let{chart:a,buttonGroup:o,inputGroup:u}=this,{buttonPosition:d,dropdown:h,inputPosition:m}=this.options,f=()=>{let E=0;return this.buttons.forEach(M=>{let D=M.getBBox();D.width>E&&(E=D.width)}),E},y=E=>{if(u!=null&&u.alignOptions&&o){let M=u.alignAttr.translateX+u.alignOptions.x-p+u.getBBox().x+2,D=u.alignOptions.width||0,F=o.alignAttr.translateX+o.getBBox().x;return F+E>M&&M+D>F&&d.y<m.y+u.getBBox().height}return!1},I=()=>{u&&o&&u.attr({translateX:u.alignAttr.translateX+(a.axisOffset[1]>=-p?0:-p),translateY:u.alignAttr.translateY+o.getBBox().height+10})};if(o){if(h==="always"){this.collapseButtons(),y(f())&&I();return}h==="never"&&this.expandButtons()}u&&o?m.align===d.align||y(this.initialButtonGroupWidth+20)?h==="responsive"?(this.collapseButtons(),y(f())&&I()):I():h==="responsive"&&this.expandButtons():o&&h==="responsive"&&(this.initialButtonGroupWidth>a.plotWidth?this.collapseButtons():this.expandButtons())}collapseButtons(){let{buttons:p,zoomText:a}=this;this.isCollapsed!==!0&&(this.isCollapsed=!0,a.hide(),p.forEach(o=>void o.hide()),this.showDropdown())}expandButtons(){let{buttons:p,zoomText:a}=this;this.isCollapsed!==!1&&(this.isCollapsed=!1,this.hideDropdown(),a.show(),p.forEach(o=>void o.show()),this.positionButtons())}showDropdown(){let{buttonGroup:p,chart:a,dropdownLabel:o,dropdown:u}=this;if(p&&u){let{translateX:d=0,translateY:h=0}=p,m=a.plotLeft+d;o.attr({x:m,y:h}).show(),R(u,{left:m+"px",top:h+"px",visibility:"inherit"}),this.hasVisibleDropdown=!0}}hideDropdown(){let{dropdown:p}=this;p&&(this.dropdownLabel.hide(),R(p,{visibility:"hidden",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)}getHeight(){let p=this.options,a=this.group,o=p.inputPosition,u=p.buttonPosition,d=p.y,h=u.y,m=o.y,f=0;if(p.height)return p.height;this.alignElements(),f=a?a.getBBox(!0).height+13+d:0;let y=Math.min(m,h);return(m<0&&h<0||m>0&&h>0)&&(f+=Math.abs(y)),f}titleCollision(p){return!(p.options.title.text||p.options.subtitle.text)}update(p,a=!0){let o=this.chart;s(!0,o.options.rangeSelector,p),this.destroy(),this.init(o),a&&this.render()}destroy(){let p=this,a=p.minInput,o=p.maxInput;p.eventsToUnbind&&(p.eventsToUnbind.forEach(u=>u()),p.eventsToUnbind=void 0),V(p.buttons),a&&(a.onfocus=a.onblur=a.onchange=null),o&&(o.onfocus=o.onblur=o.onchange=null),c(p,function(u,d){u&&d!=="chart"&&(u instanceof B?u.destroy():u instanceof i.HTMLElement&&H(u)),u!==g.prototype[d]&&(p[d]=null)},this)}}return T(g.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),g}),r(e,"Series/PathUtilities.js",[],function(){function t(n,l){let C=[];for(let B=0;B<n.length;B++){let $=n[B][1],K=n[B][2];if(typeof $=="number"&&typeof K=="number")if(B===0)C.push(["M",$,K]);else if(B===n.length-1)C.push(["L",$,K]);else if(l){let G=n[B-1],q=n[B+1];if(G&&q){let Z=G[1],R=G[2],Y=q[1],V=q[2];if(typeof Z=="number"&&typeof Y=="number"&&typeof R=="number"&&typeof V=="number"&&Z!==Y&&R!==V){let H=Z<Y?1:-1,T=R<V?1:-1;C.push(["L",$-H*Math.min(Math.abs($-Z),l),K-T*Math.min(Math.abs(K-R),l)],["C",$,K,$,K,$+H*Math.min(Math.abs($-Y),l),K+T*Math.min(Math.abs(K-V),l)])}}}else C.push(["L",$,K])}return C}return{applyRadius:t,getLinkPath:{default:function(n){let{x1:l,y1:C,x2:B,y2:$,width:K=0,inverted:G=!1,radius:q,parentVisible:Z}=n;return Z?t([["M",l,C],["L",l+K*(G?-.5:.5),C],["L",l+K*(G?-.5:.5),$],["L",B,$]],q):[["M",l,C],["L",l,C],["C",l,C,l,$,l,$],["L",l,$],["C",l,C,l,$,l,$],["L",l,$]]},straight:function(n){let{x1:l,y1:C,x2:B,y2:$,width:K=0,inverted:G=!1,parentVisible:q}=n;return q?[["M",l,C],["L",l+K*(G?-1:1),$],["L",B,$]]:[["M",l,C],["L",l,$],["L",l,$]]},curved:function(n){let{x1:l,y1:C,x2:B,y2:$,offset:K=0,width:G=0,inverted:q=!1,parentVisible:Z}=n;return Z?[["M",l,C],["C",l+K,C,l-K+G*(q?-1:1),$,l+G*(q?-1:1),$],["L",B,$]]:[["M",l,C],["C",l,C,l,$,l,$],["L",B,$]]}}}}),r(e,"Gantt/PathfinderAlgorithms.js",[e["Series/PathUtilities.js"],e["Core/Utilities.js"]],function(t,n){let{pick:l}=n,{min:C,max:B,abs:$}=Math;function K(V,H,T){let L=H-1e-7,j=T||0,s=V.length-1,c,x;for(;j<=s;)if((x=L-V[c=s+j>>1].xMin)>0)j=c+1;else{if(!(x<0))return c;s=c-1}return j>0?j-1:0}function G(V,H){let T=K(V,H.x+1)+1;for(;T--;){var L;if(V[T].xMax>=H.x&&(L=V[T],H.x<=L.xMax&&H.x>=L.xMin&&H.y<=L.yMax&&H.y>=L.yMin))return T}return-1}function q(V){let H=[];if(V.length){H.push(["M",V[0].start.x,V[0].start.y]);for(let T=0;T<V.length;++T)H.push(["L",V[T].end.x,V[T].end.y])}return H}
131function Z(V,H){V.yMin=B(V.yMin,H.yMin),V.yMax=C(V.yMax,H.yMax),V.xMin=B(V.xMin,H.xMin),V.xMax=C(V.xMax,H.xMax)}let R=function(V,H,T){let L=[],j=T.chartObstacles,s=G(j,V),c=G(j,H),x,N=l(T.startDirectionX,$(H.x-V.x)>$(H.y-V.y))?"x":"y",P,S,g,v;function p(d,h,m,f,y){let I={x:d.x,y:d.y};return I[h]=m[f||h]+(y||0),I}function a(d,h,m){let f=$(h[m]-d[m+"Min"])>$(h[m]-d[m+"Max"]);return p(h,m,d,m+(f?"Max":"Min"),f?1:-1)}c>-1?(x={start:S=a(j[c],H,N),end:H},v=S):v=H,s>-1&&(S=a(P=j[s],V,N),L.push({start:V,end:S}),S[N]>=V[N]==S[N]>=v[N]&&(g=V[N=N==="y"?"x":"y"]<H[N],L.push({start:S,end:p(S,N,P,N+(g?"Max":"Min"),g?1:-1)}),N=N==="y"?"x":"y"));let o=L.length?L[L.length-1].end:V;S=p(o,N,v),L.push({start:o,end:S});let u=p(S,N=N==="y"?"x":"y",v);return L.push({start:S,end:u}),L.push(x),{path:t.applyRadius(q(L),T.radius),obstacles:L}};function Y(V,H,T){let L=l(T.startDirectionX,$(H.x-V.x)>$(H.y-V.y)),j=L?"x":"y",s=[],c=T.obstacleMetrics,x=C(V.x,H.x)-c.maxWidth-10,N=B(V.x,H.x)+c.maxWidth+10,P=C(V.y,H.y)-c.maxHeight-10,S=B(V.y,H.y)+c.maxHeight+10,g,v,p,a=!1,o=T.chartObstacles,u=K(o,N),d=K(o,x);function h(f,y,I){let E,M,D,F,X=f.x<y.x?1:-1;f.x<y.x?(E=f,M=y):(E=y,M=f),f.y<y.y?(F=f,D=y):(F=y,D=f);let _=X<0?C(K(o,M.x),o.length-1):0;for(;o[_]&&(X>0&&o[_].xMin<=M.x||X<0&&o[_].xMax>=E.x);){if(o[_].xMin<=M.x&&o[_].xMax>=E.x&&o[_].yMin<=D.y&&o[_].yMax>=F.y)return I?{y:f.y,x:f.x<y.x?o[_].xMin-1:o[_].xMax+1,obstacle:o[_]}:{x:f.x,y:f.y<y.y?o[_].yMin-1:o[_].yMax+1,obstacle:o[_]};_+=X}return y}function m(f,y,I,E,M){let D=M.soft,F=M.hard,X=E?"x":"y",_={x:y.x,y:y.y},w={x:y.x,y:y.y},A=f[X+"Max"]>=D[X+"Max"],U=f[X+"Min"]<=D[X+"Min"],b=f[X+"Max"]>=F[X+"Max"],k=f[X+"Min"]<=F[X+"Min"],O=$(f[X+"Min"]-y[X]),z=$(f[X+"Max"]-y[X]),W=10>$(O-z)?y[X]<I[X]:z<O;w[X]=f[X+"Min"],_[X]=f[X+"Max"];let Q=h(y,w,E)[X]!==w[X],ee=h(y,_,E)[X]!==_[X];return W=Q?!ee||W:!ee&&W,W=U?!A||W:!A&&W,W=k?!b||W:!b&&W}for((u=G(o=o.slice(d,u+1),H))>-1&&(p=function(f,y,I){let E=C(f.xMax-y.x,y.x-f.xMin)<C(f.yMax-y.y,y.y-f.yMin),M=m(f,y,I,E,{soft:T.hardBounds,hard:T.hardBounds});return E?{y:y.y,x:f[M?"xMax":"xMin"]+(M?1:-1)}:{x:y.x,y:f[M?"yMax":"yMin"]+(M?1:-1)}}(o[u],H,V),s.push({end:H,start:p}),H=p);(u=G(o,H))>-1;)v=H[j]-V[j]<0,(p={x:H.x,y:H.y})[j]=o[u][v?j+"Max":j+"Min"]+(v?1:-1),s.push({end:H,start:p}),H=p;return{path:q(g=(g=function f(y,I,E){let M,D,F,X,_,w,A;if(y.x===I.x&&y.y===I.y)return[];let U=E?"x":"y",b=T.obstacleOptions.margin,k={soft:{xMin:x,xMax:N,yMin:P,yMax:S},hard:T.hardBounds};return(_=G(o,y))>-1?(X=m(_=o[_],y,I,E,k),Z(_,T.hardBounds),A=E?{y:y.y,x:_[X?"xMax":"xMin"]+(X?1:-1)}:{x:y.x,y:_[X?"yMax":"yMin"]+(X?1:-1)},(w=G(o,A))>-1&&(Z(w=o[w],T.hardBounds),A[U]=X?B(_[U+"Max"]-b+1,(w[U+"Min"]+_[U+"Max"])/2):C(_[U+"Min"]+b-1,(w[U+"Max"]+_[U+"Min"])/2),y.x===A.x&&y.y===A.y?(a&&(A[U]=X?B(_[U+"Max"],w[U+"Max"])+1:C(_[U+"Min"],w[U+"Min"])-1),a=!a):a=!1),D=[{start:y,end:A}]):(M=h(y,{x:E?I.x:y.x,y:E?y.y:I.y},E),D=[{start:y,end:{x:M.x,y:M.y}}],M[E?"x":"y"]!==I[E?"x":"y"]&&(X=m(M.obstacle,M,I,!E,k),Z(M.obstacle,T.hardBounds),F={x:E?M.x:M.obstacle[X?"xMax":"xMin"]+(X?1:-1),y:E?M.obstacle[X?"yMax":"yMin"]+(X?1:-1):M.y},E=!E,D=D.concat(f({x:M.x,y:M.y},F,E)))),D=D.concat(f(D[D.length-1].end,I,!E))}(V,H,L)).concat(s.reverse())),obstacles:g}}return R.requiresObstacles=!0,Y.requiresObstacles=!0,{fastAvoid:Y,straight:function(V,H){return{path:[["M",V.x,V.y],["L",H.x,H.y]],obstacles:[{start:V,end:H}]}},simpleConnect:R}}),r(e,"Gantt/ConnectorsDefaults.js",[],function(){return{connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}}}),r(e,"Gantt/PathfinderComposition.js",[e["Gantt/ConnectorsDefaults.js"],e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n,l){var C;let{setOptions:B}=n,{defined:$,error:K,merge:G}=l;function q(Z){let R=Z.shapeArgs;if(R)return{xMin:R.x||0,xMax:(R.x||0)+(R.width||0),yMin:R.y||0,yMax:(R.y||0)+(R.height||0)};let Y=Z.graphic&&Z.graphic.getBBox();return Y?{xMin:Z.plotX-Y.width/2,xMax:Z.plotX+Y.width/2,yMin:Z.plotY-Y.height/2,yMax:Z.plotY+Y.height/2}:null}
vendor: 4,319 bytes, line 131
131return function(Z){function R(H){let T,L,j=q(this);switch(H.align){case"right":T="xMax";break;case"left":T="xMin"}switch(H.verticalAlign){case"top":L="yMin";break;case"bottom":L="yMax"}return{x:T?j[T]:(j.xMin+j.xMax)/2,y:L?j[L]:(j.yMin+j.yMax)/2}}function Y(H,T){let L;return!$(T)&&(L=q(this))&&(T={x:(L.xMin+L.xMax)/2,y:(L.yMin+L.yMax)/2}),Math.atan2(T.y-H.y,H.x-T.x)}function V(H,T,L){let j=2*Math.PI,s=q(this),c=s.xMax-s.xMin,x=s.yMax-s.yMin,N=Math.atan2(x,c),P=c/2,S=x/2,g=s.xMin+P,v=s.yMin+S,p={x:g,y:v},a=H,o=1,u=!1,d=1,h=1;for(;a<-Math.PI;)a+=j;for(;a>Math.PI;)a-=j;return o=Math.tan(a),a>-N&&a<=N?(h=-1,u=!0):a>N&&a<=Math.PI-N?h=-1:a>Math.PI-N||a<=-(Math.PI-N)?(d=-1,u=!0):d=-1,u?(p.x+=d*P,p.y+=h*P*o):(p.x+=x/(2*o)*d,p.y+=h*S),L.x!==g&&(p.x=L.x),L.y!==v&&(p.y=L.y),{x:p.x+T*Math.cos(a),y:p.y-T*Math.sin(a)}}Z.compose=function(H,T,L){let j=L.prototype;j.getPathfinderAnchorPoint||(H.prototype.callbacks.push(function(s){s.options.connectors.enabled!==!1&&((s.options.pathfinder||s.series.reduce(function(c,x){return x.options&&G(!0,x.options.connectors=x.options.connectors||{},x.options.pathfinder),c||x.options&&x.options.pathfinder},!1))&&(G(!0,s.options.connectors=s.options.connectors||{},s.options.pathfinder),K('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new T(this),this.pathfinder.update(!0))}),j.getMarkerVector=V,j.getPathfinderAnchorPoint=R,j.getRadiansToVector=Y,B(t))}}(C||(C={})),C}),r(e,"Gantt/Pathfinder.js",[e["Gantt/Connection.js"],e["Gantt/PathfinderAlgorithms.js"],e["Gantt/PathfinderComposition.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{addEvent:$,defined:K,pick:G,splat:q}=B,Z=Math.max,R=Math.min;class Y{static compose(H,T){l.compose(H,Y,T)}constructor(H){this.init(H)}init(H){this.chart=H,this.connections=[],$(H,"redraw",function(){this.pathfinder.update()})}update(H){let T=this.chart,L=this,j=L.connections;L.connections=[],T.series.forEach(function(s){s.visible&&!s.options.isInternal&&s.points.forEach(function(c){var S;let x,N=c.options;N&&N.dependency&&(N.connect=N.dependency);let P=((S=c.options)==null?void 0:S.connect)&&q(c.options.connect);c.visible&&c.isInside!==!1&&P&&P.forEach(function(g){(x=T.get(typeof g=="string"?g:g.to))instanceof C&&x.series.visible&&x.visible&&x.isInside!==!1&&L.connections.push(new t(c,x,typeof g=="string"?{}:g))})})});for(let s=0,c,x,N=j.length,P=L.connections.length;s<N;++s){x=!1;let S=j[s];for(c=0;c<P;++c){let g=L.connections[c];if((S.options&&S.options.type)===(g.options&&g.options.type)&&S.fromPoint===g.fromPoint&&S.toPoint===g.toPoint){g.graphics=S.graphics,x=!0;break}}x||S.destroy()}delete this.chartObstacles,delete this.lineObstacles,L.renderConnections(H)}renderConnections(H){H?this.chart.series.forEach(function(T){let L=function(){let j=T.chart.pathfinder;(j&&j.connections||[]).forEach(function(s){s.fromPoint&&s.fromPoint.series===T&&s.render()}),T.pathfinderRemoveRenderEvent&&(T.pathfinderRemoveRenderEvent(),delete T.pathfinderRemoveRenderEvent)};T.options.animation===!1?L():T.pathfinderRemoveRenderEvent=$(T,"afterAnimate",L)}):this.connections.forEach(function(T){T.render()})}getChartObstacles(H){let T=this.chart.series,L=G(H.algorithmMargin,0),j=[],s;for(let c=0,x=T.length;c<x;++c)if(T[c].visible&&!T[c].options.isInternal)for(let N=0,P=T[c].points.length,S,g;N<P;++N)(g=T[c].points[N]).visible&&(S=function(v){let p=v.shapeArgs;if(p)return{xMin:p.x||0,xMax:(p.x||0)+(p.width||0),yMin:p.y||0,yMax:(p.y||0)+(p.height||0)};let a=v.graphic&&v.graphic.getBBox();return a?{xMin:v.plotX-a.width/2,xMax:v.plotX+a.width/2,yMin:v.plotY-a.height/2,yMax:v.plotY+a.height/2}:null}(g))&&j.push({xMin:S.xMin-L,xMax:S.xMax+L,yMin:S.yMin-L,yMax:S.yMax+L});return j=j.sort(function(c,x){return c.xMin-x.xMin}),K(H.algorithmMargin)||(s=H.algorithmMargin=function(c){let x,N=c.length,P=[];for(let S=0;S<N;++S)for(let g=S+1;g<N;++g)(x=function v(p,a,o){let u=G(o,10),d=p.yMax+u>a.yMin-u&&p.yMin-u<a.yMax+u,h=p.xMax+u>a.xMin-u&&p.xMin-u<a.xMax+u,m=d?p.xMin>a.xMax?p.xMin-a.xMax:a.xMin-p.xMax:1/0,f=h?p.yMin>a.yMax?p.yMin-a.yMax:a.yMin-p.yMax:1/0;return h&&d?u?v(p,a,Math.floor(u/2)):1/0:R(m,f)}(c[S],c[g]))<80&&P.push(x);return P.push(80),Z(Math.floor(P.sort(function(S,g){return S-g})[Math.floor(P.length/10)]/2-1),1)}
131(j),j.forEach(function(c){c.xMin-=s,c.xMax+=s,c.yMin-=s,c.yMax+=s})),j}getObstacleMetrics(H){let T=0,L=0,j,s,c=H.length;for(;c--;)j=H[c].xMax-H[c].xMin,s=H[c].yMax-H[c].yMin,T<j&&(T=j),L<s&&(L=s);return{maxHeight:L,maxWidth:T}}getAlgorithmStartDirection(H){let T=H.align!=="left"&&H.align!=="right",L=H.verticalAlign!=="top"&&H.verticalAlign!=="bottom";return T?!!L&&void 0:!!L||void 0}}return Y.prototype.algorithms=n,Y}),r(e,"masters/modules/pathfinder.src.js",[e["Core/Globals.js"],e["Gantt/Pathfinder.js"],e["Extensions/ArrowSymbols.js"]],function(t,n,l){return t.Pathfinder=t.Pathfinder||n,l.compose(t.SVGRenderer),t.Pathfinder.compose(t.Chart,t.Point),t}),r(e,"Extensions/StaticScale.js",[e["Core/Utilities.js"]],function(t){let{addEvent:n,defined:l,isNumber:C,pick:B}=t;function $(){let G=this.chart.options.chart;!this.horiz&&C(this.options.staticScale)&&(!G.height||G.scrollablePlotArea&&G.scrollablePlotArea.minHeight)&&(this.staticScale=this.options.staticScale)}function K(){if(this.redrawTrigger!=="adjustHeight"){for(let G of this.axes||[]){let q=G.chart,Z=!!q.initiatedScale&&q.options.animation,R=G.options.staticScale;if(G.staticScale&&l(G.min)){let Y=B(G.brokenAxis&&G.brokenAxis.unitLength,G.max+G.tickInterval-G.min)*R,V=(Y=Math.max(Y,R))-q.plotHeight;!q.scrollablePixelsY&&Math.abs(V)>=1&&(q.plotHeight=Y,q.redrawTrigger="adjustHeight",q.setSize(void 0,q.chartHeight+V,Z)),G.series.forEach(function(H){let T=H.sharedClipKey&&q.sharedClips[H.sharedClipKey];T&&T.attr(q.inverted?{width:q.plotHeight}:{height:q.plotHeight})})}}this.initiatedScale=!0}this.redrawTrigger=null}return{compose:function(G,q){let Z=q.prototype;Z.adjustHeight||(n(G,"afterSetOptions",$),Z.adjustHeight=K,n(q,"render",Z.adjustHeight))}}}),r(e,"masters/modules/static-scale.src.js",[e["Core/Globals.js"],e["Extensions/StaticScale.js"]],function(t,n){return n.compose(t.Axis,t.Chart),t}),r(e,"Series/XRange/XRangeSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){let{correctFloat:n,isNumber:l,isObject:C}=t;return{colorByPoint:!0,dataLabels:{formatter:function(){let B=this.point.partialFill;if(C(B)&&(B=B.amount),l(B)&&B>0)return n(100*B)+"%"},inside:!0,verticalAlign:"middle",style:{whiteSpace:"nowrap"}},tooltip:{headerFormat:'<span style="font-size: 0.8em">{point.x} - {point.x2}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.yCategory}</b><br/>'},borderRadius:3,pointRange:0}}),r(e,"Series/XRange/XRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{column:{prototype:{pointClass:l}}}=t.seriesTypes,{extend:C}=n;class B extends l{static getColorByCategory(K,G){let q=K.options.colors||K.chart.options.colors,Z=q?q.length:K.chart.options.chart.colorCount,R=G.y%Z,Y=q&&q[R];return{colorIndex:R,color:Y}}resolveColor(){let K=this.series;if(K.options.colorByPoint&&!this.options.color){let G=B.getColorByCategory(K,this);K.chart.styledMode||(this.color=G.color),this.options.colorIndex||(this.colorIndex=G.colorIndex)}else this.color=this.options.color||K.color}constructor(K,G){super(K,G),this.y||(this.y=0)}setState(){super.setState.apply(this,arguments),this.series.drawPoint(this,this.series.getAnimationVerb())}getLabelConfig(){let K=super.getLabelConfig.call(this),G=this.series.yAxis.categories;return K.x2=this.x2,K.yCategory=this.yCategory=G&&G[this.y],K.key=this.category||this.name,K}isValid(){return typeof this.x=="number"&&typeof this.x2=="number"}}return C(B.prototype,{ttBelow:!1,tooltipDateKeys:["x","x2"]}),B}),r(e,"Series/XRange/XRangeSeries.js",[e["Core/Globals.js"],e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Series/XRange/XRangeSeriesDefaults.js"],e["Series/XRange/XRangePoint.js"]],function(t,n,l,C,B,$){let{composed:K,noop:G}=t,{parse:q}=n,{column:Z}=l.seriesTypes,{addEvent:R,clamp:Y,crisp:V,defined:H,extend:T,find:L,isNumber:j,isObject:s,merge:c,pick:x,pushUnique:N,relativeLength:P}=C;function S(){let v,p;if(this.isXAxis){for(let a of(v=x(this.dataMax,-Number.MAX_VALUE),this.series))if(a.x2Data)for(let o of a.x2Data)o&&o>v&&(v=o,p=!0);p&&(this.dataMax=v)}}class g extends Z{static compose(p){N(K,"Series.XRange")&&R(p,"afterGetSeriesExtremes",S)}
131init(){super.init.apply(this,arguments),this.options.stacking=void 0}getColumnMetrics(){let p=()=>{for(let o of this.chart.series){let u=o.xAxis;o.xAxis=o.yAxis,o.yAxis=u}};p();let a=super.getColumnMetrics();return p(),a}cropData(p,a,o,u){let d=super.cropData(this.x2Data,a,o,u);return d.xData=p.slice(d.start,d.end),d}findPointIndex(p){let a,{cropStart:o,points:u}=this,{id:d}=p;if(d){let h=L(u,m=>m.id===d);a=h?h.index:void 0}if(a===void 0){let h=L(u,m=>m.x===p.x&&m.x2===p.x2&&!m.touched);a=h?h.index:void 0}return this.cropped&&j(a)&&j(o)&&a>=o&&(a-=o),a}alignDataLabel(p){var o;let a=p.plotX;p.plotX=x(p.dlBox&&p.dlBox.centerX,p.plotX),p.dataLabel&&((o=p.shapeArgs)!=null&&o.width)&&p.dataLabel.css({width:`${p.shapeArgs.width}px`}),super.alignDataLabel.apply(this,arguments),p.plotX=a}translatePoint(p){let a=this.xAxis,o=this.yAxis,u=this.columnMetrics,d=this.options,h=d.minPointLength||0,m=(p.shapeArgs&&p.shapeArgs.width||0)/2,f=this.pointXOffset=u.offset,y=x(p.x2,p.x+(p.len||0)),I=d.borderRadius,E=this.chart.plotTop,M=this.chart.plotLeft,D=p.plotX,F=a.translate(y,0,0,0,1),X=Math.abs(F-D),_=this.chart.inverted,w=x(d.borderWidth,1),A,U,b=u.offset,k=Math.round(u.width),O,z,W,Q;h&&((A=h-X)<0&&(A=0),D-=A/2,F+=A/2),D=Math.max(D,-10),F=Y(F,-10,a.len+10),H(p.options.pointWidth)&&(b-=(Math.ceil(p.options.pointWidth)-k)/2,k=Math.ceil(p.options.pointWidth)),d.pointPlacement&&j(p.plotY)&&o.categories&&(p.plotY=o.translate(p.y,0,1,0,1,d.pointPlacement));let ee=V(Math.min(D,F),w),se=V(Math.max(D,F),w)-ee,ae=Math.min(P(typeof I=="object"?I.radius:I||0,k),Math.min(se,k)/2),he={x:ee,y:V((p.plotY||0)+b,w),width:se,height:k,r:ae};p.shapeArgs=he,_?p.tooltipPos[1]+=f+m:p.tooltipPos[0]-=m+f-he.width/2,z=(O=he.x)+he.width,O<0||z>a.len?(O=Y(O,0,a.len),W=(z=Y(z,0,a.len))-O,p.dlBox=c(he,{x:O,width:z-O,centerX:W?W/2:null})):p.dlBox=null;let ce=p.tooltipPos,ie=_?1:0,te=_?0:1,ne=this.columnMetrics?this.columnMetrics.offset:-u.width/2;_?ce[ie]+=he.width/2:ce[ie]=Y(ce[ie]+(a.reversed?-1:0)*he.width,a.left-M,a.left+a.len-M-1),ce[te]=Y(ce[te]+(_?-1:1)*ne,o.top-E,o.top+o.len-E-1),(U=p.partialFill)&&(s(U)&&(U=U.amount),j(U)||(U=0),p.partShapeArgs=c(he),Q=Math.max(Math.round(X*U+p.plotX-D),0),p.clipRectArgs={x:a.reversed?he.x+X-Q:he.x,y:he.y,width:Q,height:he.height})}translate(){for(let p of(super.translate.apply(this,arguments),this.points))this.translatePoint(p)}drawPoint(p,a){let o=this.options,u=this.chart.renderer,d=p.shapeType,h=p.shapeArgs,m=p.partShapeArgs,f=p.clipRectArgs,y=p.state,I=o.states[y||"normal"]||{},E=y===void 0?"attr":a,M=this.pointAttribs(p,y),D=x(this.chart.options.chart.animation,I.animation),F=p.graphic,X=p.partialFill;if(p.isNull||p.visible===!1)F&&(p.graphic=F.destroy());else if(F?F.rect[a](h):(p.graphic=F=u.g("point").addClass(p.getClassName()).add(p.group||this.group),F.rect=u[d](c(h)).addClass(p.getClassName()).addClass("highcharts-partfill-original").add(F)),m&&(F.partRect?(F.partRect[a](c(m)),F.partialClipRect[a](c(f))):(F.partialClipRect=u.clipRect(f.x,f.y,f.width,f.height),F.partRect=u[d](m).addClass("highcharts-partfill-overlay").add(F).clip(F.partialClipRect))),!this.chart.styledMode&&(F.rect[a](M,D).shadow(o.shadow),m)){s(X)||(X={}),s(o.partialFill)&&(X=c(o.partialFill,X));let _=X.fill||q(M.fill).brighten(-.3).get()||q(p.color||this.color).brighten(-.3).get();M.fill=_,F.partRect[E](M,D).shadow(o.shadow)}}drawPoints(){let p=this.getAnimationVerb();for(let a of this.points)this.drawPoint(a,p)}getAnimationVerb(){return this.chart.pointCount<(this.options.animationLimit||250)?"animate":"attr"}isPointInside(p){let a=p.shapeArgs,o=p.plotX,u=p.plotY;return a?o!==void 0&&u!==void 0&&u>=0&&u<=this.yAxis.len&&(a.x||0)+(a.width||0)>=0&&o<=this.xAxis.len:super.isPointInside.apply(this,arguments)}}return g.defaultOptions=c(Z.defaultOptions,B),T(g.prototype,{pointClass:$,pointArrayMap:["x2","y"],getExtremesFromAll:!0,parallelArrays:["x","x2","y"],requireSorting:!1,type:"xrange",animate:l.series.prototype.animate,autoIncrement:G,buildKDTree:G}),l.registerSeriesType("xrange",g),g}),r(e,"masters/modules/xrange.src.js",[e["Core/Globals.js"],e["Series/XRange/XRangeSeries.js"]],function(t,n){return n.compose(t.Axis),t}),r(e,"Series/Gantt/GanttPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{xrange:{prototype:{pointClass:l}}}=t.seriesTypes,{pick:C}=n;class B extends l{static setGanttPointAliases(K){function G(q,Z){Z!==void 0&&(K[q]=Z)}G("x",C(K.start,K.x)),G("x2",C(K.end,K.x2)),G("partialFill",C(K.completed,K.partialFill))}applyOptions(K,G){let q=super.applyOptions(K,G);return B.setGanttPointAliases(q),q}isValid(){return(typeof this.start=="number"||typeof this.x=="number")&&(typeof this.end=="number"||typeof this.x2=="number"||this.milestone)}}return B}),r(e,"Series/Gantt/GanttSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){let{isNumber:n}=t;return{grouping:!1,dataLabels:{enabled:!0},tooltip:{headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:null,pointFormatter:function(){let l=this.series,C=l.xAxis,B=l.tooltipOptions.dateTimeLabelFormats,$=C.options.startOfWeek,K=l.tooltipOptions,G=this.options.milestone,q=K.xDateFormat,Z="<b>"+(this.name||this.yCategory)+"</b>";if(K.pointFormat)return this.tooltipFormatter(K.pointFormat);!q&&n(this.start)&&(q=l.chart.time.getDateFormat(C.closestPointRange,this.start,$,B||{}));let R=l.chart.time.dateFormat(q,this.start),Y=l.chart.time.dateFormat(q,this.end);return Z+="<br/>",G?Z+=R+"<br/>":Z+="Start: "+R+"<br/>End: "+Y+"<br/>",Z}},connectors:{type:"simpleConnect",animation:{reversed:!0},radius:0,startMarker:{enabled:!0,symbol:"arrow-filled",radius:4,fill:"#fa0",align:"left"},endMarker:{enabled:!1,align:"right"}}}}),r(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n){var l;let{addEvent:C,find:B,fireEvent:$,isArray:K,isNumber:G,pick:q}=n;return function(Z){function R(){this.brokenAxis!==void 0&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function Y(){var x;(x=this.brokenAxis)!=null&&x.hasBreaks&&(this.options.ordinal=!1)}function V(){let x=this.brokenAxis;if(x!=null&&x.hasBreaks){let N=this.tickPositions,P=this.tickPositions.info,S=[];for(let g=0;g<N.length;g++)x.isInAnyBreak(N[g])||S.push(N[g]);this.tickPositions=S,this.tickPositions.info=P}}function H(){this.brokenAxis||(this.brokenAxis=new c(this))}function T(){var v,p;let{isDirty:x,options:{connectNulls:N},points:P,xAxis:S,yAxis:g}=this;if(x){let a=P.length;for(;a--;
131){let o=P[a],u=!(o.y===null&&N===!1)&&(((v=S==null?void 0:S.brokenAxis)==null?void 0:v.isInAnyBreak(o.x,!0))||((p=g==null?void 0:g.brokenAxis)==null?void 0:p.isInAnyBreak(o.y,!0)));o.visible=!u&&o.options.visible!==!1}}}function L(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,q(this.pointArrayMap,["y"]))}function j(x,N){var a;let P,S,g,v=this,p=v.points;if((a=x==null?void 0:x.brokenAxis)!=null&&a.hasBreaks){let o=x.brokenAxis;N.forEach(function(u){var h,m;P=(o==null?void 0:o.breakArray)||[],S=x.isXAxis?x.min:q(v.options.threshold,x.min);let d=(m=(h=x==null?void 0:x.options)==null?void 0:h.breaks)==null?void 0:m.filter(function(f){let y=!0;for(let I=0;I<P.length;I++){let E=P[I];if(E.from===f.from&&E.to===f.to){y=!1;break}}return y});p.forEach(function(f){g=q(f["stack"+u.toUpperCase()],f[u]),P.forEach(function(y){if(G(S)&&G(g)){let I="";S<y.from&&g>y.to||S>y.from&&g<y.from?I="pointBreak":(S<y.from&&g>y.from&&g<y.to||S>y.from&&g>y.to&&g<y.from)&&(I="pointInBreak"),I&&$(x,I,{point:f,brk:y})}}),d==null||d.forEach(function(y){$(x,"pointOutsideOfBreak",{point:f,brk:y})})})})}}function s(){let x=this.currentDataGrouping,N=x==null?void 0:x.gapSize,P=this.points.slice(),S=this.yAxis,g=this.options.gapSize,v=P.length-1;if(g&&v>0){let p,a;for(this.options.gapUnit!=="value"&&(g*=this.basePointRange),N&&N>g&&N>=this.basePointRange&&(g=N);v--;)if(a&&a.visible!==!1||(a=P[v+1]),p=P[v],a.visible!==!1&&p.visible!==!1){if(a.x-p.x>g){let o=(p.x+a.x)/2;P.splice(v+1,0,{isNull:!0,x:o}),S.stacking&&this.options.stacking&&((S.stacking.stacks[this.stackKey][o]=new t(S,S.options.stackLabels,!1,o,this.stack)).total=0)}a=p}}return this.getGraphPath(P)}Z.compose=function(x,N){if(!x.keepProps.includes("brokenAxis")){x.keepProps.push("brokenAxis"),C(x,"init",H),C(x,"afterInit",R),C(x,"afterSetTickPositions",V),C(x,"afterSetOptions",Y);let P=N.prototype;P.drawBreaks=j,P.gappedPath=s,C(N,"afterGeneratePoints",T),C(N,"afterRender",L)}return x};class c{static isInBreak(N,P){let S=N.repeat||1/0,g=N.from,v=N.to-N.from,p=P>=g?(P-g)%S:S-(g-P)%S;return N.inclusive?p<=v:p<v&&p!==0}static lin2Val(N){let P=this.brokenAxis,S=P&&P.breakArray;if(!S||!G(N))return N;let g=N,v,p;for(p=0;p<S.length&&!((v=S[p]).from>=g);p++)(v.to<g||c.isInBreak(v,g))&&(g+=v.len);return g}static val2Lin(N){let P=this.brokenAxis,S=P&&P.breakArray;if(!S||!G(N))return N;let g=N,v,p;for(p=0;p<S.length;p++)if((v=S[p]).to<=N)g-=v.len;else{if(v.from>=N)break;if(c.isInBreak(v,N)){g-=N-v.from;break}}return g}constructor(N){this.hasBreaks=!1,this.axis=N}findBreakAt(N,P){return B(P,function(S){return S.from<N&&N<S.to})}isInAnyBreak(N,P){let S=this.axis,g=S.options.breaks||[],v=g.length,p,a,o;if(v&&G(N)){for(;v--;)c.isInBreak(g[v],N)&&(p=!0,a||(a=q(g[v].showPoints,!S.isXAxis)));o=p&&P?p&&!a:p}return o}setBreaks(N,P){let S=this,g=S.axis,v=K(N)&&!!N.length&&!!Object.keys(N[0]).length;g.isDirty=S.hasBreaks!==v,S.hasBreaks=v,N!==g.options.breaks&&(g.options.breaks=g.userOptions.breaks=N),g.forceRedraw=!0,g.series.forEach(function(p){p.isDirty=!0}),v||g.val2lin!==c.val2Lin||(delete g.val2lin,delete g.lin2val),v&&(g.userOptions.ordinal=!1,g.lin2val=c.lin2Val,g.val2lin=c.val2Lin,g.setExtremes=function(p,a,o,u,d){if(S.hasBreaks){let h,m=this.options.breaks||[];for(;h=S.findBreakAt(p,m);)p=h.to;for(;h=S.findBreakAt(a,m);)a=h.from;a<p&&(a=p)}g.constructor.prototype.setExtremes.call(this,p,a,o,u,d)},g.setAxisTranslation=function(){if(g.constructor.prototype.setAxisTranslation.call(this),S.unitLength=void 0,S.hasBreaks){let p=g.options.breaks||[],a=[],o=[],u=q(g.pointRangePadding,0),d=0,h,m,f=g.userMin||g.min,y=g.userMax||g.max,I,E;p.forEach(function(M){m=M.repeat||1/0,G(f)&&G(y)&&(c.isInBreak(M,f)&&(f+=M.to%m-f%m),c.isInBreak(M,y)&&(y-=y%m-M.from%m))}),p.forEach(function(M){if(I=M.from,m=M.repeat||1/0,G(f)&&G(y)){for(;I-m>f;)I-=m;for(;I<f;)I+=m;for(E=I;E<y;E+=m)a.push({value:E,move:"in"}),a.push({value:E+M.to-M.from,move:"out",size:M.breakSize})}}),a.sort(function(M,D){return M.value===D.value?(M.move==="in"?0:1)-(D.move==="in"?0:1):M.value-D.value}),h=0,I=f,a.forEach(function(M){(h+=M.move==="in"?1:-1)===1&&M.move==="in"&&(I=M.value),h===0&&G(I)&&(o.push({from:I,to:M.value,len:M.value-I-(M.size||0)}),d+=M.value-I-(M.size||0))}),S.breakArray=o,G(f)&&G(y)&&G(g.min)&&(S.unitLength=y-f-d+u,$(g,"afterBreaks"),g.staticScale?g.transA=g.staticScale:S.unitLength&&(g.transA*=(y-g.min+u)/S.unitLength),u&&(g.minPixelPadding=g.transA*(g.minPointOffset||0)),g.min=f,g.max=y)}}),q(P,!0)&&g.chart.redraw()}}Z.Additions=c}(l||(l={})),l}
131),r(e,"Core/Axis/GridAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){var C,B;let{dateFormats:$}=n,{addEvent:K,defined:G,erase:q,find:Z,isArray:R,isNumber:Y,merge:V,pick:H,timeUnits:T,wrap:L}=l;function j(E){return l.isObject(E,!0)}function s(E,M){let D={width:0,height:0};if(M.forEach(function(F){let X=E[F],_=0,w=0,A;j(X)&&(_=(A=j(X.label)?X.label:{}).getBBox?A.getBBox().height:0,A.textStr&&!Y(A.textPxLength)&&(A.textPxLength=A.getBBox().width),w=Y(A.textPxLength)?Math.round(A.textPxLength):0,A.textStr&&(w=Math.round(A.getBBox().width)),D.height=Math.max(_,D.height),D.width=Math.max(w,D.width))}),this.type==="treegrid"&&this.treeGrid&&this.treeGrid.mapOfPosToGridNode){let F=this.treeGrid.mapOfPosToGridNode[-1].height||0;D.width+=this.options.labels.indentation*(F-1)}return D}function c(E){let{grid:M}=this,D=this.side===3;if(D||E.apply(this),!(M!=null&&M.isColumn)){let F=(M==null?void 0:M.columns)||[];D&&(F=F.slice().reverse()),F.forEach(X=>{X.getOffset()})}D&&E.apply(this)}function x(E){if((this.options.grid||{}).enabled===!0){let{axisTitle:M,height:D,horiz:F,left:X,offset:_,opposite:w,options:A,top:U,width:b}=this,k=this.tickSize(),O=M&&M.getBBox().width,z=A.title.x,W=A.title.y,Q=H(A.title.margin,F?5:10),ee=M?this.chart.renderer.fontMetrics(M).f:0,se=(F?U+D:X)+(F?1:-1)*(w?-1:1)*(k?k[0]/2:0)+(this.side===C.bottom?ee:0);E.titlePosition.x=F?X-(O||0)/2-Q+z:se+(w?b:0)+_+z,E.titlePosition.y=F?se-(w?D:0)+(w?ee:-ee)/2+_+W:U-Q+W}}function N(){let{chart:E,options:{grid:M={}},userOptions:D}=this;if(M.enabled&&function(F){let X=F.options;X.labels.align=H(X.labels.align,"center"),F.categories||(X.showLastLabel=!1),F.labelRotation=0,X.labels.rotation=0,X.minTickInterval=1}(this),M.columns){let F=this.grid.columns=[],X=this.grid.columnIndex=0;for(;++X<M.columns.length;){let _=V(D,M.columns[X],{isInternal:!0,linkedTo:0,scrollbar:{enabled:!1}},{grid:{columns:void 0}}),w=new t(this.chart,_,"yAxis");w.grid.isColumn=!0,w.grid.columnIndex=X,q(E.axes,w),q(E[this.coll]||[],w),F.push(w)}}}function P(){let{axisTitle:E,grid:M,options:D}=this;if((D.grid||{}).enabled===!0){let F=this.min||0,X=this.max||0,_=this.ticks[this.tickPositions[0]];if(E&&!this.chart.styledMode&&(_!=null&&_.slotWidth)&&!this.options.title.style.width&&E.css({width:`${_.slotWidth}px`}),this.maxLabelDimensions=this.getMaxLabelDimensions(this.ticks,this.tickPositions),this.rightWall&&this.rightWall.destroy(),this.grid&&this.grid.isOuterAxis()&&this.axisLine){let w=D.lineWidth;if(w){let A=this.getLinePath(w),U=A[0],b=A[1],k=(this.tickSize("tick")||[1])[0]*(this.side===C.top||this.side===C.left?-1:1);if(U[0]==="M"&&b[0]==="L"&&(this.horiz?(U[2]+=k,b[2]+=k):(U[1]+=k,b[1]+=k)),!this.horiz&&this.chart.marginRight){let O=["L",this.left,U[2]||0],z=[U,O],W=["L",this.chart.chartWidth-this.chart.marginRight,this.toPixels(X+this.tickmarkOffset)],Q=[["M",b[1]||0,this.toPixels(X+this.tickmarkOffset)],W];this.grid.upperBorder||F%1==0||(this.grid.upperBorder=this.grid.renderBorder(z)),this.grid.upperBorder&&(this.grid.upperBorder.attr({stroke:D.lineColor,"stroke-width":D.lineWidth}),this.grid.upperBorder.animate({d:z})),this.grid.lowerBorder||X%1==0||(this.grid.lowerBorder=this.grid.renderBorder(Q)),this.grid.lowerBorder&&(this.grid.lowerBorder.attr({stroke:D.lineColor,"stroke-width":D.lineWidth}),this.grid.lowerBorder.animate({d:Q}))}this.grid.axisLineExtra?(this.grid.axisLineExtra.attr({stroke:D.lineColor,"stroke-width":D.lineWidth}),this.grid.axisLineExtra.animate({d:A})):this.grid.axisLineExtra=this.grid.renderBorder(A),this.axisLine[this.showAxis?"show":"hide"]()}}if((M&&M.columns||[]).forEach(w=>w.render()),!this.horiz&&this.chart.hasRendered&&(this.scrollbar||this.linkedParent&&this.linkedParent.scrollbar)&&this.tickPositions.length){let w,A,U=this.tickmarkOffset,b=this.tickPositions[this.tickPositions.length-1],k=this.tickPositions[0];for(;(w=this.hiddenLabels.pop())&&w.element;)w.show();for(;(A=this.hiddenMarks.pop())&&A.element;)A.show();(w=this.ticks[k].label)&&(F-k>U?this.hiddenLabels.push(w.hide()):w.show()),(w=this.ticks[b].label)&&(b-X>U?this.hiddenLabels.push(w.hide()):w.show());let O=this.ticks[b].mark;O&&b-X<U&&b-X>0&&this.ticks[b].isLast&&this.hiddenMarks.push(O.hide())}}}function S(){let E=this.tickPositions&&this.tickPositions.info,M=this.options,D=M.grid||{},F=this.userOptions.labels||{};
131D.enabled&&(this.horiz?(this.series.forEach(X=>{X.options.pointRange=0}),E&&M.dateTimeLabelFormats&&M.labels&&!G(F.align)&&(M.dateTimeLabelFormats[E.unitName].range===!1||E.count>1)&&(M.labels.align="left",G(F.x)||(M.labels.x=3))):this.type!=="treegrid"&&this.grid&&this.grid.columns&&(this.minPointOffset=this.tickInterval))}function g(E){let M,D=this.options,F=E.userOptions,X=D&&j(D.grid)?D.grid:{};X.enabled===!0&&(M=V(!0,{className:"highcharts-grid-axis "+(F.className||""),dateTimeLabelFormats:{hour:{list:["%H:%M","%H"]},day:{list:["%A, %e. %B","%a, %e. %b","%E"]},week:{list:["Week %W","W%W"]},month:{list:["%B","%b","%o"]}},grid:{borderWidth:1},labels:{padding:2,style:{fontSize:"0.9em"}},margin:0,title:{text:null,reserveSpace:!1,rotation:0,style:{textOverflow:"ellipsis"}},units:[["millisecond",[1,10,100]],["second",[1,10]],["minute",[1,5,15]],["hour",[1,6]],["day",[1]],["week",[1]],["month",[1]],["year",null]]},F),this.coll!=="xAxis"||(G(F.linkedTo)&&!G(F.tickPixelInterval)&&(M.tickPixelInterval=350),!(!G(F.tickPixelInterval)&&G(F.linkedTo))||G(F.tickPositioner)||G(F.tickInterval)||G(F.units)||(M.tickPositioner=function(_,w){let A=this.linkedParent&&this.linkedParent.tickPositions&&this.linkedParent.tickPositions.info;if(A){let U=M.units||[],b,k=1,O="year";for(let Q=0;Q<U.length;Q++){let ee=U[Q];if(ee&&ee[0]===A.unitName){b=Q;break}}let z=Y(b)&&U[b+1];if(z){O=z[0]||"year";let Q=z[1];k=Q&&Q[0]||1}else A.unitName==="year"&&(k=10*A.count);let W=T[O];return this.tickInterval=W*k,this.chart.time.getTimeTicks({unitRange:W,count:k,unitName:O},_,w,this.options.startOfWeek)}})),V(!0,this.options,M),this.horiz&&(D.minPadding=H(F.minPadding,0),D.maxPadding=H(F.maxPadding,0)),Y(D.grid.borderWidth)&&(D.tickWidth=D.lineWidth=X.borderWidth))}function v(E){let M=E.userOptions,D=M&&M.grid||{},F=D.columns;D.enabled&&F&&V(!0,this.options,F[0])}function p(){(this.grid.columns||[]).forEach(E=>E.setScale())}function a(E){let{horiz:M,maxLabelDimensions:D,options:{grid:F={}}}=this;if(F.enabled&&D){let X=2*this.options.labels.distance,_=M?F.cellHeight||X+D.height:X+D.width;R(E.tickSize)?E.tickSize[0]=_:E.tickSize=[_,0]}}function o(){this.axes.forEach(E=>{(E.grid&&E.grid.columns||[]).forEach(M=>{M.setAxisSize(),M.setAxisTranslation()})})}function u(E){let{grid:M}=this;(M.columns||[]).forEach(D=>D.destroy(E.keepEvents)),M.columns=void 0}function d(E){let M=E.userOptions||{},D=M.grid||{};D.enabled&&G(D.borderColor)&&(M.tickColor=M.lineColor=D.borderColor),this.grid||(this.grid=new I(this)),this.hiddenLabels=[],this.hiddenMarks=[]}function h(E){let M=this.label,D=this.axis,F=D.reversed,X=D.chart,_=D.options.grid||{},w=D.options.labels,A=w.align,U=C[D.side],b=E.tickmarkOffset,k=D.tickPositions,O=this.pos-b,z=Y(k[E.index+1])?k[E.index+1]-b:(D.max||0)+b,W=D.tickSize("tick"),Q=W?W[0]:0,ee=W?W[1]/2:0;if(_.enabled===!0){let se,ae,he,ce;if(U==="top"?ae=(se=D.top+D.offset)-Q:U==="bottom"?se=(ae=X.chartHeight-D.bottom+D.offset)+Q:(se=D.top+D.len-(D.translate(F?z:O)||0),ae=D.top+D.len-(D.translate(F?O:z)||0)),U==="right"?ce=(he=X.chartWidth-D.right+D.offset)+Q:U==="left"?he=(ce=D.left+D.offset)-Q:(he=Math.round(D.left+(D.translate(F?z:O)||0))-ee,ce=Math.min(Math.round(D.left+(D.translate(F?O:z)||0))-ee,D.left+D.len)),this.slotWidth=ce-he,E.pos.x=A==="left"?he:A==="right"?ce:he+(ce-he)/2,E.pos.y=ae+(se-ae)/2,M){let ie=X.renderer.fontMetrics(M),te=M.getBBox().height;if(w.useHTML)E.pos.y+=ie.b+-(te/2);else{let ne=Math.round(te/ie.h);E.pos.y+=(ie.b-(ie.h-ie.f))/2+-((ne-1)*ie.h/2)}}E.pos.x+=D.horiz&&w.x||0}}function m(E){let{axis:M,value:D}=E;if(M.options.grid&&M.options.grid.enabled){let F,X=M.tickPositions,_=(M.linkedParent||M).series[0],w=D===X[0],A=D===X[X.length-1],U=_&&Z(_.options.data,function(b){return b[M.isXAxis?"x":"y"]===D});U&&_.is("gantt")&&(F=V(U),n.seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(F)),E.isFirst=w,E.isLast=A,E.point=F}}function f(){let E=this.options,M=E.grid||{},D=this.categories,F=this.tickPositions,X=F[0],_=F[1],w=F[F.length-1],A=F[F.length-2],U=this.linkedParent&&this.linkedParent.min,b=this.linkedParent&&this.linkedParent.max,k=U||this.min,O=b||this.max,z=this.tickInterval,W=Y(k)&&k>=X+z&&k<_,Q=Y(k)&&X<k&&X+z>k,ee=Y(O)&&w>O&&w-z<O,se=Y(O)&&O<=w-z&&O>A;M.enabled===!0&&!D&&(this.isXAxis||this.isLinked)&&((Q||W)&&!E.startOnTick&&(F[0]=k),(ee||se)&&!E.endOnTick&&(F[F.length-1]=O))}function y(E){var M;let{options:{grid:D={}}}=this;return D.enabled===!0&&this.categories?this.tickInterval:E.apply(this,(M=arguments,Array.prototype.slice.call(M,1)))}(B=C||(C={}
131))[B.top=0]="top",B[B.right=1]="right",B[B.bottom=2]="bottom",B[B.left=3]="left";class I{constructor(M){this.axis=M}isOuterAxis(){var U;let M=this.axis,D=M.chart,F=M.grid.columnIndex,X=((U=M.linkedParent)==null?void 0:U.grid.columns)||M.grid.columns||[],_=F?M.linkedParent:M,w=-1,A=0;return M.side===3&&!D.inverted&&X.length?!M.linkedParent:((D[M.coll]||[]).forEach((b,k)=>{b.side!==M.side||b.options.isInternal||(A=k,b!==_||(w=k))}),A===w&&(!Y(F)||X.length===F))}renderBorder(M){let D=this.axis,F=D.chart.renderer,X=D.options,_=F.path(M).addClass("highcharts-axis-line").add(D.axisGroup);return F.styledMode||_.attr({stroke:X.lineColor,"stroke-width":X.lineWidth,zIndex:7}),_}}return $.E=function(E){return this.dateFormat("%a",E,!0).charAt(0)},$.W=function(E){let M=this,D=new this.Date(E);["Hours","Milliseconds","Minutes","Seconds"].forEach(function(w){M.set(w,D,0)});let F=(this.get("Day",D)+6)%7,X=new this.Date(D.valueOf());this.set("Date",X,this.get("Date",D)-F+3);let _=new this.Date(this.get("FullYear",X),0,1);return this.get("Day",_)!==4&&(this.set("Month",D,0),this.set("Date",D,1+(11-this.get("Day",_))%7)),(1+Math.floor((X.valueOf()-_.valueOf())/6048e5)).toString()},{compose:function(E,M,D){return E.keepProps.includes("grid")||(E.keepProps.push("grid"),E.prototype.getMaxLabelDimensions=s,L(E.prototype,"unsquish",y),L(E.prototype,"getOffset",c),K(E,"init",d),K(E,"afterGetTitlePosition",x),K(E,"afterInit",N),K(E,"afterRender",P),K(E,"afterSetAxisTranslation",S),K(E,"afterSetOptions",g),K(E,"afterSetOptions",v),K(E,"afterSetScale",p),K(E,"afterTickSize",a),K(E,"trimTicks",f),K(E,"destroy",u),K(M,"afterSetChartSize",o),K(D,"afterGetLabelPosition",h),K(D,"labelFormat",m)),E}}}),r(e,"Gantt/Tree.js",[e["Core/Utilities.js"]],function(t){let{extend:n,isNumber:l,pick:C}=t;function B($,K,G,q,Z,R){let Y=R&&R.after,V=R&&R.before,H={data:q,depth:G-1,id:$,level:G,parent:K||""},T=0,L=0,j,s;typeof V=="function"&&V(H,R);let c=(Z[$]||[]).map(x=>{let N=B(x.id,$,G+1,x,Z,R),P=x.start||NaN,S=x.milestone===!0?P:x.end||NaN;return j=!l(j)||P<j?P:j,s=!l(s)||S>s?S:s,T=T+1+N.descendants,L=Math.max(N.height+1,L),N});return q&&(q.start=C(q.start,j),q.end=C(q.end,s)),n(H,{children:c,descendants:T,height:L}),typeof Y=="function"&&Y(H,R),H}return{getNode:B,getTree:function($,K){return B("",null,1,null,function(G){let q=[],Z=G.reduce((R,Y)=>{let{parent:V="",id:H}=Y;return R[V]===void 0&&(R[V]=[]),R[V].push(Y),H&&q.push(H),R},{});return Object.keys(Z).forEach(R=>{if(R!==""&&q.indexOf(R)===-1){let Y=Z[R].map(function(V){return Ql(V,[])});Z[""].push(...Y),delete Z[R]}}),Z}($),K)}}}),r(e,"Core/Axis/TreeGrid/TreeGridTick.js",[e["Core/Utilities.js"]],function(t){let{addEvent:n,removeEvent:l,isObject:C,isNumber:B,pick:$,wrap:K}=t;function G(){this.treeGrid||(this.treeGrid=new R(this))}function q(Y,V,H,T,L,j,s,c,x){let N,P,S,g=$(this.options&&this.options.labels,j),v=this.pos,p=this.axis,a=p.type==="treegrid",o=Y.apply(this,[V,H,T,L,g,s,c,x]);if(a){let{width:u=0,padding:d=p.linkedParent?0:5}=g&&C(g.symbol,!0)?g.symbol:{},h=g&&B(g.indentation)?g.indentation:0;S=(P=(N=p.treeGrid.mapOfPosToGridNode)&&N[v])&&P.depth||1,o.x+=u+2*d+(S-1)*h}return o}function Z(Y){let V,H,T,{pos:L,axis:j,label:s,treeGrid:c,options:x}=this,N=c==null?void 0:c.labelIcon,P=s==null?void 0:s.element,{treeGrid:S,options:g,chart:v,tickPositions:p}=j,a=S.mapOfPosToGridNode,o=$(x==null?void 0:x.labels,g==null?void 0:g.labels),u=o&&C(o.symbol,!0)?o.symbol:{},d=a&&a[L],{descendants:h,depth:m}=d||{},f=d&&h&&h>0,y=j.type==="treegrid"&&P,I=p.indexOf(L)>-1,E="highcharts-treegrid-node-",M=E+"level-",D=v.styledMode;y&&d&&s.removeClass(RegExp(M+".*")).addClass(M+m),Y.apply(this,Array.prototype.slice.call(arguments,1)),y&&f?(V=S.isCollapsed(d),function(F,X){let _=F.treeGrid,w=!_.labelIcon,A=X.renderer,U=X.xy,b=X.options,k=b.width||0,O=b.height||0,z=b.padding??F.axis.linkedParent?0:5,W={x:U.x-k/2-z,y:U.y-O/2},Q=X.collapsed?90:180,ee=X.show&&B(W.y),se=_.labelIcon;se||(_.labelIcon=se=A.path(A.symbols[b.type](b.x||0,b.y||0,k,O)).addClass("highcharts-label-icon").add(X.group)),se[ee?"show":"hide"](),A.styledMode||se.attr({cursor:"pointer",fill:$(X.color,"#666666"),"stroke-width":1,stroke:b.lineColor,strokeWidth:b.lineWidth||0}),se[w?"attr":"animate"]({translateX:W.x,translateY:W.y,rotation:Q})}(this,{color:!D&&s.styles.color||"",collapsed:V,group:s.parentGroup,options:u,renderer:s.renderer,show:I,xy:s.xy}),H=E+(V?"collapsed":"expanded"),T=E+(V?"expanded":"collapsed"),s.addClass(H).removeClass(T),D||s.css({cursor:"pointer"}
131),[s,N].forEach(F=>{F&&!F.attachedTreeGridEvents&&(n(F.element,"mouseover",function(){s.addClass("highcharts-treegrid-node-active"),s.renderer.styledMode||s.css({textDecoration:"underline"})}),n(F.element,"mouseout",function(){(function(X,_){let w=C(_.style)?_.style:{};X.removeClass("highcharts-treegrid-node-active"),X.renderer.styledMode||X.css({textDecoration:w.textDecoration||"none"})})(s,o)}),n(F.element,"click",function(){c.toggleCollapse()}),F.attachedTreeGridEvents=!0)})):N&&(l(P),s==null||s.css({cursor:"default"}),N.destroy())}class R{static compose(V){let H=V.prototype;H.toggleCollapse||(n(V,"init",G),K(H,"getLabelPosition",q),K(H,"renderLabel",Z),H.collapse=function(T){this.treeGrid.collapse(T)},H.expand=function(T){this.treeGrid.expand(T)},H.toggleCollapse=function(T){this.treeGrid.toggleCollapse(T)})}constructor(V){this.tick=V}collapse(V){let H=this.tick,T=H.axis,L=T.brokenAxis;if(L&&T.treeGrid.mapOfPosToGridNode){let j=H.pos,s=T.treeGrid.mapOfPosToGridNode[j],c=T.treeGrid.collapse(s);L.setBreaks(c,$(V,!0))}}destroy(){this.labelIcon&&this.labelIcon.destroy()}expand(V){let{pos:H,axis:T}=this.tick,{treeGrid:L,brokenAxis:j}=T,s=L.mapOfPosToGridNode;if(j&&s){let c=s[H],x=L.expand(c);j.setBreaks(x,$(V,!0))}}toggleCollapse(V){let H=this.tick,T=H.axis,L=T.brokenAxis;if(L&&T.treeGrid.mapOfPosToGridNode){let j=H.pos,s=T.treeGrid.mapOfPosToGridNode[j],c=T.treeGrid.toggleCollapse(s);L.setBreaks(c,$(V,!0))}}}return R}),r(e,"Series/TreeUtilities.js",[e["Core/Color/Color.js"],e["Core/Utilities.js"]],function(t,n){let{extend:l,isArray:C,isNumber:B,isObject:$,merge:K,pick:G,relativeLength:q}=n;return{getColor:function(Z,R){let Y,V,H,T,L,j,s=R.index,c=R.mapOptionsToLevel,x=R.parentColor,N=R.parentColorIndex,P=R.series,S=R.colors,g=R.siblings,v=P.points,p=P.chart.options.chart;return Z&&(Y=v[Z.i],V=c[Z.level]||{},Y&&V.colorByPoint&&(T=Y.index%(S?S.length:p.colorCount),H=S&&S[T]),P.chart.styledMode||(L=G(Y&&Y.options.color,V&&V.color,H,x&&(a=>{let o=V&&V.colorVariation;return o&&o.key==="brightness"&&s&&g?t.parse(a).brighten(o.to*(s/g)).get():a})(x),P.color)),j=G(Y&&Y.options.colorIndex,V&&V.colorIndex,T,N,R.colorIndex)),{color:L,colorIndex:j}},getLevelOptions:function(Z){let R,Y,V,H,T,L,j={};if($(Z))for(H=B(Z.from)?Z.from:1,L=Z.levels,Y={},R=$(Z.defaults)?Z.defaults:{},C(L)&&(Y=L.reduce((s,c)=>{let x,N,P;return $(c)&&B(c.level)&&(N=G((P=K({},c)).levelIsConstant,R.levelIsConstant),delete P.levelIsConstant,delete P.level,$(s[x=c.level+(N?0:H-1)])?K(!0,s[x],P):s[x]=P),s},{})),T=B(Z.to)?Z.to:1,V=0;V<=T;V++)j[V]=K({},R,$(Y[V])?Y[V]:{});return j},getNodeWidth:function(Z,R){let{chart:Y,options:V}=Z,{nodeDistance:H=0,nodeWidth:T=0}=V,{plotSizeX:L=1}=Y;if(T==="auto"){if(typeof H=="string"&&/%$/.test(H))return L/(R+parseFloat(H)/100*(R-1));let j=Number(H);return(L+j)/(R||1)-j}return q(T,L)},setTreeValues:function Z(R,Y){let V=Y.before,H=Y.idRoot,T=Y.mapIdToNode[H],L=Y.levelIsConstant!==!1,j=Y.points[R.i],s=j&&j.options||{},c=[],x=0;R.levelDynamic=R.level-(L?0:T.level),R.name=G(j&&j.name,""),R.visible=H===R.id||Y.visible===!0,typeof V=="function"&&(R=V(R,Y)),R.children.forEach((P,S)=>{let g=l({},Y);l(g,{index:S,siblings:R.children.length,visible:R.visible}),P=Z(P,g),c.push(P),P.visible&&(x+=P.val)});let N=G(s.value,x);return R.visible=N>=0&&(x>0||R.visible),R.children=c,R.childrenTotal=x,R.isLeaf=R.visible&&!x,R.val=N,R},updateRootId:function(Z){let R,Y;return $(Z)&&(Y=$(Z.options)?Z.options:{},R=G(Z.rootNode,Y.rootId,""),$(Z.userOptions)&&(Z.userOptions.rootId=R),Z.rootNode=R),R}}}),r(e,"Core/Axis/TreeGrid/TreeGridAxis.js",[e["Core/Axis/BrokenAxis.js"],e["Core/Axis/GridAxis.js"],e["Gantt/Tree.js"],e["Core/Axis/TreeGrid/TreeGridTick.js"],e["Series/TreeUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let K,{getLevelOptions:G}=B,{addEvent:q,find:Z,fireEvent:R,isArray:Y,isObject:V,isString:H,merge:T,pick:L,removeEvent:j,wrap:s}=$;function c(a,o){let u=a.collapseEnd||0,d=a.collapseStart||0;return u>=o&&(d-=.5),{from:d,to:u,showPoints:!1}}function x(a,o,u){let d=[],h=[],m={},f=o||!1,y={},I=-1,E=l.getTree(a,{after:function(M){let D=y[M.pos],F=0,X=0;
131D.children.forEach(function(_){X+=(_.descendants||0)+1,F=Math.max((_.height||0)+1,F)}),D.descendants=X,D.height=F,D.collapsed&&h.push(D)},before:function(M){let D,F,X=V(M.data,!0)?M.data:{},_=H(X.name)?X.name:"",w=m[M.parent],A=V(w,!0)?y[w.pos]:null;f&&V(A,!0)&&(D=Z(A.children,function(U){return U.name===_}))?(F=D.pos,D.nodes.push(M)):F=I++,!y[F]&&(y[F]=D={depth:A?A.depth+1:0,name:_,id:X.id,nodes:[M],children:[],pos:F},F!==-1&&d.push(_),V(A,!0)&&A.children.push(D)),H(M.id)&&(m[M.id]=M),D&&X.collapsed===!0&&(D.collapsed=!0),M.pos=F}});return{categories:d,mapOfIdToNode:m,mapOfPosToGridNode:y=function(M,D){let F=function(X,_,w){let A=X.nodes,U=_+(_===-1?0:D-1),b=(U-_)/2,k=_+b;return A.forEach(function(O){let z=O.data;V(z,!0)&&(z.y=_+(z.seriesIndex||0),delete z.seriesIndex),O.pos=k}),w[k]=X,X.pos=k,X.tickmarkOffset=b+.5,X.collapseStart=U+.5,X.children.forEach(function(O){F(O,U+1,w),U=(O.collapseEnd||0)-.5}),X.collapseEnd=U+.5,w};return F(M[-1],-1,{})}(y,u),collapsedNodes:h,tree:E}}function N(a){a.target.axes.filter(o=>o.type==="treegrid").forEach(function(o){let u=o.options||{},d=u.labels,h=o.uniqueNames,m=u.max,f=!o.treeGrid.mapOfPosToGridNode||o.series.some(function(M){return!M.hasRendered||M.isDirtyData||M.isDirty}),y=0,I,E;if(f){if(I=o.series.reduce(function(M,D){return D.visible&&((D.options.data||[]).forEach(function(F){D.options.keys&&D.options.keys.length&&(F=D.pointClass.prototype.optionsToObject.call({series:D},F),D.pointClass.setGanttPointAliases(F)),V(F,!0)&&(F.seriesIndex=y,M.push(F))}),h===!0&&y++),M},[]),m&&I.length<m)for(let M=I.length;M<=m;M++)I.push({name:M+"\u200B"});E=x(I,h||!1,h===!0?y:1),o.categories=E.categories,o.treeGrid.mapOfPosToGridNode=E.mapOfPosToGridNode,o.hasNames=!0,o.treeGrid.tree=E.tree,o.series.forEach(function(M){let D=(M.options.data||[]).map(function(F){return Y(F)&&M.options.keys&&M.options.keys.length&&I.forEach(function(X){F.indexOf(X.x)>=0&&F.indexOf(X.x2)>=0&&(F=X)}),V(F,!0)?T(F):F});M.visible&&M.setData(D,!1)}
131),o.treeGrid.mapOptionsToLevel=G({defaults:d,from:1,levels:d&&d.levels,to:o.treeGrid.tree&&o.treeGrid.tree.height}),a.type==="beforeRender"&&(o.treeGrid.collapsedNodes=E.collapsedNodes)}})}function P(a,o){let u=this.treeGrid.mapOptionsToLevel||{},d=this.type==="treegrid",h=this.ticks,m=h[o],f,y,I;d&&this.treeGrid.mapOfPosToGridNode?((f=u[(I=this.treeGrid.mapOfPosToGridNode[o]).depth])&&(y={labels:f}),!m&&K?h[o]=m=new K(this,o,void 0,void 0,{category:I.name,tickmarkOffset:I.tickmarkOffset,options:y}):(m.parameters.category=I.name,m.options=y,m.addLabel())):a.apply(this,Array.prototype.slice.call(arguments,1))}function S(a,o,u,d){let h=this,m=u.type==="treegrid";h.treeGrid||(h.treeGrid=new p(h)),m&&(q(o,"beforeRender",N),q(o,"beforeRedraw",N),q(o,"addSeries",function(f){if(f.options.data){let y=x(f.options.data,u.uniqueNames||!1,1);h.treeGrid.collapsedNodes=(h.treeGrid.collapsedNodes||[]).concat(y.collapsedNodes)}}),q(h,"foundExtremes",function(){h.treeGrid.collapsedNodes&&h.treeGrid.collapsedNodes.forEach(function(f){let y=h.treeGrid.collapse(f);h.brokenAxis&&(h.brokenAxis.setBreaks(y,!1),h.treeGrid.collapsedNodes&&(h.treeGrid.collapsedNodes=h.treeGrid.collapsedNodes.filter(I=>f.collapseStart!==I.collapseStart||f.collapseEnd!==I.collapseEnd)))})}),q(h,"afterBreaks",function(){h.coll==="yAxis"&&!h.staticScale&&h.chart.options.chart.height&&(h.isDirty=!0)}),u=T({grid:{enabled:!0},labels:{align:"left",levels:[{level:void 0},{level:1,style:{fontWeight:"bold"}}],symbol:{type:"triangle",x:-5,y:-5,height:10,width:10}},uniqueNames:!1},u,{reversed:!0})),a.apply(h,[o,u,d]),m&&(h.hasNames=!0,h.options.showLastLabel=!0)}function g(a){var d;let o=this.options,u=typeof o.linkedTo=="number"?(d=this.chart[this.coll])==null?void 0:d[o.linkedTo]:void 0;if(this.type==="treegrid"){if(this.min=L(this.userMin,o.min,this.dataMin),this.max=L(this.userMax,o.max,this.dataMax),R(this,"foundExtremes"),this.setAxisTranslation(),this.tickInterval=1,this.tickmarkOffset=.5,this.tickPositions=this.treeGrid.mapOfPosToGridNode?this.treeGrid.getTickPositions():[],u){let h=u.getExtremes();this.min=L(h.min,h.dataMin),this.max=L(h.max,h.dataMax),this.tickPositions=u.tickPositions}this.linkedParent=u}else a.apply(this,Array.prototype.slice.call(arguments,1))}function v(a){let o=this;this.type==="treegrid"&&o.visible&&o.tickPositions.forEach(function(u){let d=o.ticks[u];d.label&&d.label.attachedTreeGridEvents&&(j(d.label.element),d.label.attachedTreeGridEvents=!1)}),a.apply(o,Array.prototype.slice.call(arguments,1))}class p{static compose(o,u,d,h){if(!o.keepProps.includes("treeGrid")){let m=o.prototype;o.keepProps.push("treeGrid"),s(m,"generateTick",P),s(m,"init",S),s(m,"setTickInterval",g),s(m,"redraw",v),m.utils={getNode:l.getNode},K||(K=h)}return n.compose(o,u,h),t.compose(o,d),C.compose(h),o}constructor(o){this.axis=o}setCollapsedStatus(o){let u=this.axis,d=u.chart;u.series.forEach(function(h){let m=h.options.data;if(o.id&&m){let f=d.get(o.id),y=m[h.data.indexOf(f)];f&&y&&(f.collapsed=o.collapsed,y.collapsed=o.collapsed)}})}collapse(o){let u=this.axis,d=u.options.breaks||[],h=c(o,u.max);return d.push(h),o.collapsed=!0,u.treeGrid.setCollapsedStatus(o),d}expand(o){let u=this.axis,d=u.options.breaks||[],h=c(o,u.max);return o.collapsed=!1,u.treeGrid.setCollapsedStatus(o),d.reduce(function(m,f){return(f.to!==h.to||f.from!==h.from)&&m.push(f),m},[])}getTickPositions(){let o=this.axis,u=Math.floor(o.min/o.tickInterval)*o.tickInterval,d=Math.ceil(o.max/o.tickInterval)*o.tickInterval;return Object.keys(o.treeGrid.mapOfPosToGridNode||{}).reduce(function(h,m){let f=+m;return f>=u&&f<=d&&!(o.brokenAxis&&o.brokenAxis.isInAnyBreak(f))&&h.push(f),h},[])}isCollapsed(o){let u=this.axis,d=u.options.breaks||[],h=c(o,u.max);return d.some(function(m){return m.from===h.from&&m.to===h.to})}toggleCollapse(o){return this.isCollapsed(o)?this.expand(o):this.collapse(o)}}return p}),r(e,"Series/Gantt/GanttSeries.js",[e["Series/Gantt/GanttPoint.js"],e["Series/Gantt/GanttSeriesDefaults.js"],e["Gantt/Pathfinder.js"],e["Core/Series/SeriesRegistry.js"],e["Extensions/StaticScale.js"],e["Core/Axis/TreeGrid/TreeGridAxis.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K){let{series:G,seriesTypes:{xrange:q}}=C,{extend:Z,isNumber:R,merge:Y}=K;class V extends q{static compose(T,L,j,s){q.compose(T),L&&(B.compose(T,L),j)&&(l.compose(L,j.prototype.pointClass),s&&$.compose(T,L,j,s))}drawPoint(T,L){let j=this.options,s=this.chart.renderer,c=T.shapeArgs,x=T.plotY,N=T.selected&&"select",P=j.stacking&&!j.borderRadius,S=T.graphic,g;T.options.milestone?R(x)&&T.y!==null&&T.visible!==!1?(g=s.symbols.diamond(c.x||0,c.y||0,c.width||0,c.height||0),S?S[L]({d:g}):T.graphic=S=s.path(g).addClass(T.getClassName(),!0).add(T.group||this.group),this.chart.styledMode||T.graphic.attr(this.pointAttribs(T,N)).shadow(j.shadow,null,P)):S&&(T.graphic=S.destroy()):super.drawPoint(T,L)}translatePoint(T){let L,j;super.translatePoint(T),T.options.milestone&&(j=(L=T.shapeArgs).height||0,T.shapeArgs={x:(L.x||0)-j/2,y:L.y,width:j,height:j})}}return V.defaultOptions=Y(q.defaultOptions,n),Z(V.prototype,{pointArrayMap:["start","end","y"],pointClass:t,setData:G.prototype.setData}),C.registerSeriesType("gantt",V),V}),r(e,"masters/modules/gantt.src.js",[e["Core/Globals.js"],e["Extensions/ArrowSymbol
131s.js"],e["Gantt/Connection.js"],e["Extensions/CurrentDateIndication.js"],e["Core/Chart/GanttChart.js"],e["Stock/Navigator/Navigator.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Series/Gantt/GanttSeries.js"]],function(t,n,l,C,B,$,K,G,q){return t.Connection=t.Connection||l,t.GanttChart=t.GanttChart||B,t.Navigator=t.Navigator||$,t.RangeSelector=t.RangeSelector||K,t.Scrollbar=t.Scrollbar||G,t.ganttChart=t.GanttChart.ganttChart,n.compose(t.SVGRenderer),C.compose(t.Axis,t.PlotLineOrBand),q.compose(t.Axis,t.Chart,t.Series,t.Tick),t.Navigator.compose(t.Chart,t.Axis,t.Series),t.RangeSelector.compose(t.Axis,t.Chart),t.Scrollbar.compose(t.Axis),t}),r(e,"masters/highcharts-gantt.src.js",[e["masters/highcharts.src.js"]],function(t){return t.product="Highcharts Gantt",t}),e["masters/highcharts-gantt.src.js"]._modules=e,e["masters/highcharts-gantt.src.js"]})});var jA=$n((E1,rx)=>{"use strict";(function(i,e){typeof E1=="object"&&typeof rx=="object"?rx.exports=e():typeof define=="function"&&define.amd?define([],e):typeof E1=="object"?E1.Pickr=e():i.Pickr=e()})(self,()=>(()=>{"use strict";var i={d:(a,o)=>{for(var u in o)i.o(o,u)&&!i.o(a,u)&&Object.defineProperty(a,u,{enumerable:!0,get:o[u]})},o:(a,o)=>Object.prototype.hasOwnProperty.call(a,o),r:a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})}},e={};i.d(e,{default:()=>p});var r={};function t(a,o,u,d,h={}){o instanceof HTMLCollection||o instanceof NodeList?o=Array.from(o):Array.isArray(o)||(o=[o]),Array.isArray(u)||(u=[u]);for(let m of o)for(let f of u)m[a](f,d,ze({capture:!1},h));return Array.prototype.slice.call(arguments,1)}i.r(r),i.d(r,{adjustableInputNumbers:()=>G,createElementFromString:()=>C,createFromTemplate:()=>B,eventPath:()=>$,off:()=>l,on:()=>n,resolveElement:()=>K});let n=t.bind(null,"addEventListener"),l=t.bind(null,"removeEventListener");function C(a){let o=document.createElement("div");return o.innerHTML=a.trim(),o.firstElementChild}function B(a){let o=(d,h)=>{let m=d.getAttribute(h);return d.removeAttribute(h),m},u=(d,h={})=>{let m=o(d,":obj"),f=o(d,":ref"),y=m?h[m]={}:h;f&&(h[f]=d);for(let I of Array.from(d.children)){let E=o(I,":arr"),M=u(I,E?{}:y);E&&(y[E]||(y[E]=[])).push(Object.keys(M).length?M:I)}return h};return u(C(a))}function $(a){let o=a.path||a.composedPath&&a.composedPath();if(o)return o;let u=a.target.parentElement;for(o=[a.target,u];u=u.parentElement;)o.push(u);return o.push(document,window),o}function K(a){return a instanceof Element?a:typeof a=="string"?a.split(/>>/g).reduce((o,u,d,h)=>(o=o.querySelector(u),d<h.length-1?o.shadowRoot:o),document):null}function G(a,o=u=>u){function u(d){let h=[.001,.01,.1][Number(d.shiftKey||2*d.ctrlKey)]*(d.deltaY<0?1:-1),m=0,f=a.selectionStart;a.value=a.value.replace(/[\d.]+/g,(y,I)=>I<=f&&I+y.length>=f?(f=I,o(Number(y),h,m)):(m++,y)),a.focus(),a.setSelectionRange(f,f),d.preventDefault(),a.dispatchEvent(new Event("input"))}n(a,"focus",()=>n(window,"wheel",u,{passive:!1})),n(a,"blur",()=>l(window,"wheel",u))}let{min:q,max:Z,floor:R,round:Y}=Math;function V(a,o,u){o/=100,u/=100;let d=R(a=a/360*6),h=a-d,m=u*(1-o),f=u*(1-h*o),y=u*(1-(1-h)*o),I=d%6;return[255*[u,f,m,m,y,u][I],255*[y,u,u,f,m,m][I],255*[m,m,y,u,u,f][I]]}function H(a,o,u){let d=(2-(o/=100))*(u/=100)/2;return d!==0&&(o=d===1?0:d<.5?o*u/(2*d):o*u/(2-2*d)),[a,100*o,100*d]}function T(a,o,u){let d=q(a/=255,o/=255,u/=255),h=Z(a,o,u),m=h-d,f,y;if(m===0)f=y=0;else{y=m/h;let I=((h-a)/6+m/2)/m,E=((h-o)/6+m/2)/m,M=((h-u)/6+m/2)/m;a===h?f=M-E:o===h?f=1/3+I-M:u===h&&(f=2/3+E-I),f<0?f+=1:f>1&&(f-=1)}return[360*f,100*y,100*h]}function L(a,o,u,d){return o/=100,u/=100,[...T(255*(1-q(1,(a/=100)*(1-(d/=100))+d)),255*(1-q(1,o*(1-d)+d)),255*(1-q(1,u*(1-d)+d)))]}function j(a,o,u){o/=100;let d=2*(o*=(u/=100)<.5?u:1-u)/(u+o)*100,h=100*(u+o);return[a,isNaN(d)?0:d,h]}function s(a){return T(...a.match(/.{2}/g).map(o=>parseInt(o,16)))}function c(a){a=a.match(/^[a-zA-Z]+$/)?function(h){if(h.toLowerCase()==="black")return"#000";let m=document.createElement("canvas").getContext("2d");return m.fillStyle=h,m.fillStyle==="#000"?null:m.fillStyle}(a):a;let o={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},u=h=>h.map(m=>/^(|\d+)\.\d+|\d+$/.test(m)?Number(m):void 0),d;e:for(let h in o)if(d=o[h].exec(a))switch(h){case"cmyk":{let[,m,f,y,I]=u(d);if(m>100||f>100||y>100||I>100)break e;return{values:L(m,f,y,I),type:h}}case"rgba":{let[,m,,f,,y,,,I]=u(d);if(m=d[2]==="%"?m/100*255:m,f=d[4]==="%"?f/100*255:f,y=d[6]==="%"?y/100*255:y,I=d[9]==="%"?I/100:I,m>255||f>255||y>255||I<0||I>1)break e;return{values:[...T(m,f,y),I],a:I,type:h}}case"hexa":{let[,m]=d;m.length!==4&&m.length!==3||(m=m.split("").map(I=>I+I).join(""));let f=m.substring(0,6),y=m.substring(6);return y=y?parseInt(y,16)/255:void 0,{values:[...s(f),y],a:y,type:h}}case"hsla":{let[,m,f,y,,I]=u(d);if(I=d[6]==="%"?I/100:I,m>360||f>100||y>100||I<0||I>1)break e;return{values:[...j(m,f,y),I],a:I,type:h}}case"hsva":{let[,m,f,y,,I]=u(d);if(I=d[6]==="%"?I/100:I,m>360||f>100||y>100||I<0||I>1)break e;return{values:[m,f,y,I],a:I,type:h}}}return{values:null,type:null}}function x(a=0,o=0,u=0,d=1){let h=(f,y)=>(I=-1)=>y(~I?f.map(E=>
vendor: 4,533 bytes, line 131
131Number(E.toFixed(I))):f),m={h:a,s:o,v:u,a:d,toHSVA(){let f=[m.h,m.s,m.v,m.a];return f.toString=h(f,y=>`hsva(${y[0]}, ${y[1]}%, ${y[2]}%, ${m.a})`),f},toHSLA(){let f=[...H(m.h,m.s,m.v),m.a];return f.toString=h(f,y=>`hsla(${y[0]}, ${y[1]}%, ${y[2]}%, ${m.a})`),f},toRGBA(){let f=[...V(m.h,m.s,m.v),m.a];return f.toString=h(f,y=>`rgba(${y[0]}, ${y[1]}, ${y[2]}, ${m.a})`),f},toCMYK(){let f=function(y,I,E){let M=V(y,I,E),D=M[0]/255,F=M[1]/255,X=M[2]/255,_=q(1-D,1-F,1-X);return[100*(_===1?0:(1-D-_)/(1-_)),100*(_===1?0:(1-F-_)/(1-_)),100*(_===1?0:(1-X-_)/(1-_)),100*_]}(m.h,m.s,m.v);return f.toString=h(f,y=>`cmyk(${y[0]}%, ${y[1]}%, ${y[2]}%, ${y[3]}%)`),f},toHEXA(){let f=function(I,E,M){return V(I,E,M).map(D=>Y(D).toString(16).padStart(2,"0"))}(m.h,m.s,m.v),y=m.a>=1?"":Number((255*m.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return y&&f.push(y),f.toString=()=>`#${f.join("").toUpperCase()}`,f},clone:()=>x(m.h,m.s,m.v,m.a)};return m}let N=a=>Math.max(Math.min(a,1),0);function P(a){let o={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},a),_keyboard(m){let{options:f}=o,{type:y,key:I}=m;if(document.activeElement===f.wrapper){let{lock:E}=o.options,M=I==="ArrowUp",D=I==="ArrowRight",F=I==="ArrowDown",X=I==="ArrowLeft";if(y==="keydown"&&(M||D||F||X)){let _=0,w=0;E==="v"?_=M||D?1:-1:E==="h"?_=M||D?-1:1:(w=M?-1:F?1:0,_=X?-1:D?1:0),o.update(N(o.cache.x+.01*_),N(o.cache.y+.01*w)),m.preventDefault()}else I.startsWith("Arrow")&&(o.options.onstop(),m.preventDefault())}},_tapstart(m){n(document,["mouseup","touchend","touchcancel"],o._tapstop),n(document,["mousemove","touchmove"],o._tapmove),m.cancelable&&m.preventDefault(),o._tapmove(m)},_tapmove(m){let{options:f,cache:y}=o,{lock:I,element:E,wrapper:M}=f,D=M.getBoundingClientRect(),F=0,X=0;if(m){let A=m&&m.touches&&m.touches[0];F=m?(A||m).clientX:0,X=m?(A||m).clientY:0,F<D.left?F=D.left:F>D.left+D.width&&(F=D.left+D.width),X<D.top?X=D.top:X>D.top+D.height&&(X=D.top+D.height),F-=D.left,X-=D.top}else y&&(F=y.x*D.width,X=y.y*D.height);I!=="h"&&(E.style.left=`calc(${F/D.width*100}% - ${E.offsetWidth/2}px)`),I!=="v"&&(E.style.top=`calc(${X/D.height*100}% - ${E.offsetHeight/2}px)`),o.cache={x:F/D.width,y:X/D.height};let _=N(F/D.width),w=N(X/D.height);switch(I){case"v":return f.onchange(_);case"h":return f.onchange(w);default:return f.onchange(_,w)}},_tapstop(){o.options.onstop(),l(document,["mouseup","touchend","touchcancel"],o._tapstop),l(document,["mousemove","touchmove"],o._tapmove)},trigger(){o._tapmove()},update(m=0,f=0){let{left:y,top:I,width:E,height:M}=o.options.wrapper.getBoundingClientRect();o.options.lock==="h"&&(f=m),o._tapmove({clientX:y+E*m,clientY:I+M*f})},destroy(){let{options:m,_tapstart:f,_keyboard:y}=o;l(document,["keydown","keyup"],y),l([m.wrapper,m.element],"mousedown",f),l([m.wrapper,m.element],"touchstart",f,{passive:!1})}},{options:u,_tapstart:d,_keyboard:h}=o;return n([u.wrapper,u.element],"mousedown",d),n([u.wrapper,u.element],"touchstart",d,{passive:!1}),n(document,["keydown","keyup"],h),o}function S(a={}){a=Object.assign({onchange:()=>0,className:"",elements:[]},a);let o=n(a.elements,"click",u=>{a.elements.forEach(d=>d.classList[u.target===d?"add":"remove"](a.className)),a.onchange(u),u.stopPropagation()});return{destroy:()=>l(...o)}}let g={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0},v=(a,o,u)=>{let d=typeof a!="object"||a instanceof HTMLElement?ze({reference:a,popper:o},u):a;return{update(h=d){let{reference:m,popper:f}=Object.assign(d,h);if(!f||!m)throw new Error("Popper- or reference-element missing.");return((y,I,E)=>{let{container:M,arrow:D,margin:F,padding:X,position:_,variantFlipOrder:w,positionFlipOrder:A}=ze(ze({container:document.documentElement.getBoundingClientRect()},g),E),{left:U,top:b}=I.style;I.style.left="0",I.style.top="0";let k=y.getBoundingClientRect(),O=I.getBoundingClientRect(),z={t:k.top-O.height-F,b:k.bottom+F,r:k.right+F,l:k.left-O.width-F},W={vs:k.left,vm:k.left+k.width/2-O.width/2,ve:k.left+k.width-O.width,hs:k.top,hm:k.bottom-k.height/2-O.height/2,he:k.bottom-O.height},[Q,ee="middle"]=_.split("-"),se=A[Q],ae=w[ee],{top:he,left:ce,bottom:ie,right:te}=M;for(let ne of se){let oe=ne==="t"||ne==="b",le=z[ne],[ue,de]=oe?["top","left"]:["left","top"],[fe,me]=oe?[O.height,O.width]:[O.width,O.height],[ge,Ee]=oe?[ie,te]:[te,ie],[ve,ye]=oe?[he,ce]:[ce,he];if(!(le<ve||le+fe+X>ge))for(let Se of ae){let xe=W[(oe?"v":"h")+Se];if(!(xe<ye||xe+me+X>
131Ee)){if(xe-=O[de],le-=O[ue],I.style[de]=`${xe}px`,I.style[ue]=`${le}px`,D){let Ce=oe?k.width/2:k.height/2,Oe=me/2,Pe=Ce>Oe,He=xe+{s:Pe?Oe:Ce,m:Oe,e:Pe?Oe:me-Ce}[Se],Je=le+{t:fe,b:0,r:0,l:fe}[ne];D.style[de]=`${He}px`,D.style[ue]=`${Je}px`}return ne+Se}}}return I.style.left=U,I.style.top=b,null})(m,f,d)}}},p=(()=>{class a{static utils=r;static version="1.9.1";static I18N_DEFAULTS={"ui:dialog":"color picker dialog","btn:toggle":"toggle color picker dialog","btn:swatch":"color swatch","btn:last-color":"use previous color","btn:save":"Save","btn:cancel":"Cancel","btn:clear":"Clear","aria:btn:save":"save and close","aria:btn:cancel":"cancel and close","aria:btn:clear":"clear and close","aria:input":"color input field","aria:palette":"color selection area","aria:hue":"hue selection slider","aria:opacity":"selection slider"};static DEFAULT_OPTIONS={appClass:null,theme:"classic",useAsButton:!1,padding:8,disabled:!1,comparison:!0,closeOnScroll:!1,outputPrecision:0,lockOpacity:!1,autoReposition:!0,container:"body",components:{interaction:{}},i18n:{},swatches:null,inline:!1,sliders:null,default:"#42445a",defaultRepresentation:null,position:"bottom-middle",adjustableNumbers:!0,showAlways:!1,closeWithKey:"Escape"};_initializingActive=!0;_recalc=!0;_nanopop=null;_root=null;_color=x();_lastColor=x();_swatchColors=[];_setupAnimationFrame=null;_eventListener={init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]};constructor(u){this.options=u=Object.assign(ze({},a.DEFAULT_OPTIONS),u);let{swatches:d,components:h,theme:m,sliders:f,lockOpacity:y,padding:I}=u;["nano","monolith"].includes(m)&&!f&&(u.sliders="h"),h.interaction||(h.interaction={});let{preview:E,opacity:M,hue:D,palette:F}=h;h.opacity=!y&&M,h.palette=F||E||M||D,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),d&&d.length&&d.forEach(A=>this.addSwatch(A));let{button:X,app:_}=this._root;this._nanopop=v(X,_,{margin:I}),X.setAttribute("role","button"),X.setAttribute("aria-label",this._t("btn:toggle"));let w=this;this._setupAnimationFrame=requestAnimationFrame(function A(){if(!_.offsetWidth)return requestAnimationFrame(A);w.setColor(u.default),w._rePositioningPicker(),u.defaultRepresentation&&(w._representation=u.defaultRepresentation,w.setColorRepresentation(w._representation)),u.showAlways&&w.show(),w._initializingActive=!1,w._emit("init")})}static create=u=>new a(u);_preBuild(){let{options:u}=this;for(let d of["el","container"])u[d]=K(u[d]);this._root=(d=>{let{components:h,useAsButton:m,inline:f,appClass:y,theme:I,lockOpacity:E}=d.options,M=_=>_?"":'style="display:none" hidden',D=_=>d._t(_),F=B(` 132 <div :ref="root" class="pickr"> 133 134 ${m?"":'<button type="button" :ref="button" class="pcr-button"></button>'} 135 136 <div :ref="app" class="pcr-app ${y||""}" data-theme="${I}" ${f?'style="position: unset"':""} aria-label="${D("ui:dialog")}" role="window"> 137 <div class="pcr-selection" ${M(h.palette)}> 138 <div :obj="preview" class="pcr-color-preview" ${M(h.preview)}> 139 <button type="button" :ref="lastColor" class="pcr-last-color" aria-label="${D("btn:last-color")}"></button> 140 <div :ref="currentColor" class="pcr-current-color"></div> 141 </div> 142 143 <div :obj="palette" class="pcr-color-palette"> 144 <div :ref="picker" class="pcr-picker"></div> 145 <div :ref="palette" class="pcr-palette" tabindex="0" aria-label="${D("aria:palette")}" role="listbox"></div> 146 </div> 147 148 <div :obj="hue" class="pcr-color-chooser" ${M(h.hue)}> 149 <div :ref="picker" class="pcr-picker"></div> 150 <div :ref="slider" class="pcr-hue pcr-slider" tabindex="0" aria-label="${D("aria:hue")}" role="slider"></div> 151 </div> 152 153 <div :obj="opacity" class="pcr-color-opacity" ${M(h.opacity)}> 154 <div :ref="picker" class="pcr-picker"></div> 155 <div :ref="slider" class="pcr-opacity pcr-slider" tabindex="0" aria-label="${D("aria:opacity")}" role="slider"></div> 156 </div> 157 </div> 158 159 <div class="pcr-swatches ${h.palette?"":"pcr-last"}" :ref="swatches"></div> 160 161 <div :obj="interaction" class="pcr-interaction" ${M(Object.keys(h.interaction).length)}> 162 <input :ref="result" class="pcr-result" type="text" spellcheck="false" ${M(h.interaction.input)} aria-label="${D("aria:input")}"> 163
164 <input :arr="options" class="pcr-type" data-type="HEXA" value="${E?"HEX":"HEXA"}" type="button" ${M(h.interaction.hex)}> 165 <input :arr="options" class="pcr-type" data-type="RGBA" value="${E?"RGB":"RGBA"}" type="button" ${M(h.interaction.rgba)}> 166 <input :arr="options" class="pcr-type" data-type="HSLA" value="${E?"HSL":"HSLA"}" type="button" ${M(h.interaction.hsla)}> 167 <input :arr="options" class="pcr-type" data-type="HSVA" value="${E?"HSV":"HSVA"}" type="button" ${M(h.interaction.hsva)}> 168 <input :arr="options" class="pcr-type" data-type="CMYK" value="CMYK" type="button" ${M(h.interaction.cmyk)}> 169 170 <input :ref="save" class="pcr-save" value="${D("btn:save")}" type="button" ${M(h.interaction.save)} aria-label="${D("aria:btn:save")}"> 171 <input :ref="cancel" class="pcr-cancel" value="${D("btn:cancel")}" type="button" ${M(h.interaction.cancel)} aria-label="${D("aria:btn:cancel")}"> 172 <input :ref="clear" class="pcr-clear" value="${D("btn:clear")}" type="button" ${M(h.interaction.clear)} aria-label="${D("aria:btn:clear")}"> 173 </div> 174 </div> 175 </div> 176 `),X=F.interaction;return X.options.find(_=>!_.hidden&&!_.classList.add("active")),X.type=()=>X.options.find(_=>_.classList.contains("active")),F})(this),u.useAsButton&&(this._root.button=u.el),u.container.appendChild(this._root.root)}_finalBuild(){let u=this.options,d=this._root;if(u.container.removeChild(d.root),u.inline){let h=u.el.parentElement;u.el.nextSibling?h.insertBefore(d.app,u.el.nextSibling):h.appendChild(d.app)}else u.container.appendChild(d.app);u.useAsButton?u.inline&&u.el.remove():u.el.parentNode.replaceChild(d.root,u.el),u.disabled&&this.disable(),u.comparison||(d.button.style.transition="none",u.useAsButton||(d.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){let u=this,d=this.options.components,h=(u.options.sliders||"v").repeat(2),[m,f]=h.match(/^[vh]+$/g)?h:[],y=()=>this._color||(this._color=this._lastColor.clone()),I={palette:P({element:u._root.palette.picker,wrapper:u._root.palette.palette,onstop:()=>u._emit("changestop","slider",u),onchange(E,M){if(!d.palette)return;let D=y(),{_root:F,options:X}=u,{lastColor:_,currentColor:w}=F.preview;u._recalc&&(D.s=100*E,D.v=100-100*M,D.v<0&&(D.v=0),u._updateOutput("slider"));let A=D.toRGBA().toString(0);this.element.style.background=A,this.wrapper.style.background=` 177 linear-gradient(to top, rgba(0, 0, 0, ${D.a}), transparent), 178 linear-gradient(to left, hsla(${D.h}, 100%, 50%, ${D.a}), rgba(255, 255, 255, ${D.a})) 179 `,X.comparison?X.useAsButton||u._lastColor||_.style.setProperty("--pcr-color",A):(F.button.style.setProperty("--pcr-color",A),F.button.classList.remove("clear"));let U=D.toHEXA().toString();for(let{el:b,color:k}of u._swatchColors)b.classList[U===k.toHEXA().toString()?"add":"remove"]("pcr-active");w.style.setProperty("--pcr-color",A)}}),hue:P({lock:f==="v"?"h":"v",element:u._root.hue.picker,wrapper:u._root.hue.slider,onstop:()=>u._emit("changestop","slider",u),onchange(E){if(!d.hue||!d.palette)return;let M=y();u._recalc&&(M.h=360*E),this.element.style.backgroundColor=`hsl(${M.h}, 100%, 50%)`,I.palette.trigger()}}),opacity:P({lock:m==="v"?"h":"v",element:u._root.opacity.picker,wrapper:u._root.opacity.slider,onstop:()=>u._emit("changestop","slider",u),onchange(E){if(!d.opacity||!d.palette)return;let M=y();u._recalc&&(M.a=Math.round(100*E)/100),this.element.style.background=`rgba(0, 0, 0, ${M.a})`,I.palette.trigger()}}),selectable:S({elements:u._root.interaction.options,className:"active",onchange(E){u._representation=E.target.getAttribute("data-type").toUpperCase(),u._recalc&&u._updateOutput("swatch")}})};this._components=I}_bindEvents(){let{_root:u,options:d}=this,h=[n(u.interaction.clear,"click",()=>this._clearColor()),n([u.interaction.cancel,u.preview.lastColor],"click",()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")}),n(u.interaction.save,"click",()=>{!this.applyColor()&&!d.showAlways&&this.hide()}),n(u.interaction.result,["keyup","input"],m=>{this.setColor(m.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),m.stopImmediatePropagation()}),n(u.interaction.result,["focus","blur"],m=>{this._recalc=m.type==="blur",this._recalc&&this._updateOutput(null)}),n([u.palette.palette,u.palette.picker,u.hue.slider,u.hue.picker,u.opacity.slider,u.opacity.picker],["mousedown","touchstart"],()=>this._recalc=!0,{passive:!0})];if(!d.showAlways){let m=d.closeWithKey;h.push(n(u.button,"click",()=>this.isOpen()?this.hide():this.show()),n(document,"keyup",f=>this.isOpen()&&(f.key===m||f.code===m)&&this.hide()),n(document,["touchstart","mousedown"],f=>{this.isOpen()&&!$(f).some(y=>y===u.app||y===u.button)&&this.hide()},{capture:!0}))}if(d.adjustableNumbers){let m={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};G(u.interaction.result,(f,y,I)=>{let E=m[this.getColorRepresentation().toLowerCase()];if(E){let M=E[I],D=f+(M>=100?1e3*y:y);return D<=0?0:Number((D<M?D:M).toPrecision(3))}return f})}if(d.autoReposition&&!d.inline){let m=null,f=this;h.push(n(window,["scroll","resize"],()=>{f.isOpen()&&(d.closeOnScroll&&f.hide(),m===null?(m=setTimeout(()=>m=null,100),requestAnimationFrame(function y(){f._rePositioningPicker(),m!==null&&requestAnimationFrame(y)})):(clearTimeout(m),m=setTimeout(()=>m=null,100)))},{capture:!0}))}this._eventBindings=h}_rePositioningPicker(){let{options:u}=this;if(!u.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:u.position})){let d=this._root.app,h=d.getBoundingClientRect();d.style.top=(window.innerHeight-h.height)/2+"px",d.style.left=(window.innerWidth-h.width)/2+"px"}}_updateOutput(u){let{_root:d,_color:h,options:m}=this;if(d.interaction.type()){let f=`to${d.interaction.type().getAttribute("data-type")}`;d.interaction.result.value=typeof h[f]=="function"?h[f]().toString(m.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",h,u,this)}_clearColor(u=!1){let{_root:d,options:h}=this;h.useAsButton||d.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),d.button.classList.add("clear"),h.showAlways||this.hide(),this._lastColor=null,this._initializingActive||u||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(u){let{values:d,type:h,a:m}=c(u),{lockOpacity:f}=this.options,y=m!==void 0&&m!==1;return d&&d.length===3&&(d[3]=void 0),{values:!d||f&&y?null:d,type:h}}_t(u){return this.options.i18n[u]||a.I18N_DEFAULTS[u]}_emit(u,...d){this._eventListener[u].forEach(h=>h(...d,this))}on(u,d){return this._eventListener[u].push(d),this}off(u,d){let h=this._eventListener[u]||[],m=h.indexOf(d);return~m&&h.splice(m,1),this}addSwatch(u){let{values:d}=this._parseLocalColor(u);if(d){let{_swatchColors:h,_root:m}=this,f=x(...d),y=C(`<button type="button" style="--pcr-color: ${f.toRGBA().toString(0)}" aria-label="${this._t("btn:swatch")}"/>`);return m.swatches.appendChild(y),h.push({el:y,color:f}),this._eventBindings.push(n(y,"click",()=>{this.setHSVA(...f.toHSVA(),!0),this._emit("swatchselect",f),this._emit("change",f,"swatch",this)})),!0}return!1}removeSwatch(u){let d=this._swatchColors[u];if(d){let{el:h}=d;return this._root.swatches.removeChild(h),this._swatchColors.splice(u,1),!0}return!1}applyColor(u=!1){let{preview:d,button:h}=this._root,m=this._color.toRGBA().toString(0);return d.lastColor.style.setProperty("--pcr-color",m),this.options.useAsButton||h.style.setProperty("--pcr-color",m),h.classList.remove("clear"),this._lastColor=this._color.clone(),this._initializingActive||u||this._emit("save",this._color),this}destroy(){cancelAnimationFrame(this._setupAnimationFrame),this._eventBindings.forEac
179h(u=>l(...u)),Object.keys(this._components).forEach(u=>this._components[u].destroy())}destroyAndRemove(){this.destroy();let{root:u,app:d}=this._root;u.parentElement&&u.parentElement.removeChild(u),d.parentElement.removeChild(d),Object.keys(this).forEach(h=>this[h]=null)}hide(){return!!this.isOpen()&&(this._root.app.classList.remove("visible"),this._emit("hide"),!0)}show(){return!this.options.disabled&&!this.isOpen()&&(this._root.app.classList.add("visible"),this._rePositioningPicker(),this._emit("show",this._color),this)}isOpen(){return this._root.app.classList.contains("visible")}setHSVA(u=360,d=0,h=0,m=1,f=!1){let y=this._recalc;if(this._recalc=!1,u<0||u>360||d<0||d>100||h<0||h>100||m<0||m>1)return!1;this._color=x(u,d,h,m);let{hue:I,opacity:E,palette:M}=this._components;return I.update(u/360),E.update(m),M.update(d/100,1-h/100),f||this.applyColor(),y&&this._updateOutput(),this._recalc=y,!0}setColor(u,d=!1){if(u===null)return this._clearColor(d),!0;let{values:h,type:m}=this._parseLocalColor(u);if(h){let f=m.toUpperCase(),{options:y}=this._root.interaction,I=y.find(E=>E.getAttribute("data-type")===f);if(I&&!I.hidden)for(let E of y)E.classList[E===I?"add":"remove"]("active");return!!this.setHSVA(...h,d)&&this.setColorRepresentation(f)}return!1}setColorRepresentation(u){return u=u.toUpperCase(),!!this._root.interaction.options.find(d=>d.getAttribute("data-type").startsWith(u)&&!d.click())}getColorRepresentation(){return this._representation}getColor(){return this._color}getSelectedColor(){return this._lastColor}getRoot(){return this._root}disable(){return this.hide(),this.options.disabled=!0,this._root.button.classList.add("disabled"),this}enable(){return this.options.disabled=!1,this._root.button.classList.remove("disabled"),this}}return a})();return e=e.default})())});var WA=$n(($3e,y1)=>{"use strict";(function(i){typeof y1=="object"&&y1.exports?(i.default=i,y1.exports=i):typeof define=="function"&&define.amd?define("highcharts/highcharts-more",["highcharts"],function(e){return i(e),i.Highcharts=e,i}):i(typeof Highcharts<"u"?Highcharts:void 0)})(function(i){"use strict";var e=i?i._modules:{};function r(t,n,l,C){t.hasOwnProperty(n)||(t[n]=C.apply(null,l),typeof CustomEvent=="function"&&i.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}r(e,"Extensions/Pane/PaneComposition.js",[e["Core/Utilities.js"]],function(t){let{addEvent:n,correctFloat:l,defined:C,pick:B}=t;function $(V){let H=this,T;return V&&H.pane.forEach(L=>{let j=V.chartX-H.plotLeft,s=V.chartY-H.plotTop;G(j,s,L.center)&&(T=L)}),T}function K(V,H){let T=V.prototype;T.getHoverPane||(T.collectionsWithUpdate.push("pane"),T.getHoverPane=$,n(V,"afterIsInsidePlot",q),n(H,"afterGetHoverData",Z),n(H,"beforeGetHoverData",R))}function G(V,H,T,L,j){let s=!0,c=T[0],x=T[1],N=Math.sqrt(Math.pow(V-c,2)+Math.pow(H-x,2));if(C(L)&&C(j)){let P=Math.atan2(l(H-x,8),l(V-c,8));j!==L&&(L>j?s=P>=L&&P<=Math.PI||P<=j&&P>=-Math.PI:s=P>=L&&P<=l(j,8))}return N<=Math.ceil(T[2]/2)&&s}function q(V){let H=this;H.polar&&(V.options.inverted&&([V.x,V.y]=[V.y,V.x]),V.isInsidePlot=H.pane.some(T=>G(V.x,V.y,T.center,T.axis&&T.axis.normalizedStartAngleRad,T.axis&&T.axis.normalizedEndAngleRad)))}function Z(V){let H=this.chart;V.hoverPoint&&V.hoverPoint.plotX&&V.hoverPoint.plotY&&H.hoverPane&&!G(V.hoverPoint.plotX,V.hoverPoint.plotY,H.hoverPane.center)&&(V.hoverPoint=void 0)}function R(V){let H=this.chart;H.polar?(H.hoverPane=H.getHoverPane(V),V.filter=function(T){return T.visible&&!(!V.shared&&T.directTouch)&&B(T.options.enableMouseTracking,!0)&&(!H.hoverPane||T.xAxis.pane===H.hoverPane)}):H.hoverPane=void 0}return{compose:K}}),r(e,"Extensions/Pane/PaneDefaults.js",[],function(){let t={shape:"circle",borderRadius:0,borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"};return{pane:{center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},background:t}}),r(e,"Extensions/Pane/Pane.js",[e["Series/CenteredUtilities.js"],e["Extensions/Pane/PaneComposition.js"],e["Extensions/Pane/PaneDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{extend:B,merge:$,splat:K}=C;class G{constructor(Z,R){this.coll="pane",this.init(Z,R)}init(Z,R){this.chart=R,this.background=[],R.pane.push(this),this.setOptions(Z)}setOptions(Z){this.options=Z=$(l.pane,this.chart.angular?{background:{}}:void 0,Z)}render(){let Z=this.options,R=this.chart.renderer;this.group||(this.group=R.g("pane-group").attr({zIndex:Z.zIndex||
1790}).add()),this.updateCenter();let Y=this.options.background;if(Y){Y=K(Y);let V=Math.max(Y.length,this.background.length||0);for(let H=0;H<V;H++)Y[H]&&this.axis?this.renderBackground($(l.background,Y[H]),H):this.background[H]&&(this.background[H]=this.background[H].destroy(),this.background.splice(H,1))}}renderBackground(Z,R){let Y={class:"highcharts-pane "+(Z.className||"")},V="animate";this.chart.styledMode||B(Y,{fill:Z.backgroundColor,stroke:Z.borderColor,"stroke-width":Z.borderWidth}),this.background[R]||(this.background[R]=this.chart.renderer.path().add(this.group),V="attr"),this.background[R][V]({d:this.axis.getPlotBandPath(Z.from,Z.to,Z)}).attr(Y)}updateCenter(Z){this.center=(Z||this.axis||{}).center=t.getCenter.call(this)}update(Z,R){$(!0,this.options,Z),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(Y){Y.pane===this&&(Y.pane=null,Y.update({},R))},this)}}return G.compose=n.compose,G}),r(e,"Series/AreaRange/AreaRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{area:{prototype:{pointClass:l,pointClass:{prototype:C}}}}=t.seriesTypes,{defined:B,isNumber:$}=n;class K extends l{setState(){let q=this.state,Z=this.series,R=Z.chart.polar;B(this.plotHigh)||(this.plotHigh=Z.yAxis.toPixels(this.high,!0)),B(this.plotLow)||(this.plotLow=this.plotY=Z.yAxis.toPixels(this.low,!0)),Z.lowerStateMarkerGraphic=Z.stateMarkerGraphic,Z.stateMarkerGraphic=Z.upperStateMarkerGraphic,this.graphic=this.graphics&&this.graphics[1],this.plotY=this.plotHigh,R&&$(this.plotHighX)&&(this.plotX=this.plotHighX),C.setState.apply(this,arguments),this.state=q,this.plotY=this.plotLow,this.graphic=this.graphics&&this.graphics[0],R&&$(this.plotLowX)&&(this.plotX=this.plotLowX),Z.upperStateMarkerGraphic=Z.stateMarkerGraphic,Z.stateMarkerGraphic=Z.lowerStateMarkerGraphic,Z.lowerStateMarkerGraphic=void 0;let Y=Z.modifyMarkerSettings();C.setState.apply(this,arguments),Z.restoreMarkerSettings(Y)}haloPath(){let q=this.series.chart.polar,Z=[];return this.plotY=this.plotLow,q&&$(this.plotLowX)&&(this.plotX=this.plotLowX),this.isInside&&(Z=C.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,q&&$(this.plotHighX)&&(this.plotX=this.plotHighX),this.isTopInside&&(Z=Z.concat(C.haloPath.apply(this,arguments))),Z}isValid(){return $(this.low)&&$(this.high)}}return K}),r(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{noop:B}=n,{area:$,area:{prototype:K},column:{prototype:G}}=l.seriesTypes,{addEvent:q,defined:Z,extend:R,isArray:Y,isNumber:V,pick:H,merge:T}=C,L={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25CF</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};class j extends ${toYData(c){return[c.low,c.high]}highToXY(c){let x=this.chart,N=this.xAxis.postTranslate(c.rectPlotX||0,this.yAxis.len-(c.plotHigh||0));c.plotHighX=N.x-x.plotLeft,c.plotHigh=N.y-x.plotTop,c.plotLowX=c.plotX}getGraphPath(c){let x=[],N=[],P=K.getGraphPath,S=this.options,g=this.chart.polar,v=g&&S.connectEnds!==!1,p=S.connectNulls,a,o,u,d=S.step;for(c=c||this.points,a=c.length;a--;){o=c[a];let I=g?{plotX:o.rectPlotX,plotY:o.yBottom,doCurve:!1}:{plotX:o.plotX,plotY:o.plotY,doCurve:!1};!o.isNull&&!v&&!p&&(!c[a+1]||c[a+1].isNull)&&N.push(I),u={polarPlotY:o.polarPlotY,rectPlotX:o.rectPlotX,yBottom:o.yBottom,plotX:H(o.plotHighX,o.plotX),plotY:o.plotHigh,isNull:o.isNull},N.push(u),x.push(u),!o.isNull&&!v&&!p&&(!c[a-1]||c[a-1].isNull)&&N.push(I)}let h=P.call(this,c);d&&(d===!0&&(d="left"),S.step={left:"right",center:"center",right:"left"}[d]);let m=P.call(this,x),f=P.call(this,N);S.step=d;let y=[].concat(h,m);return!this.chart.polar&&f[0]&&f[0][0]==="M"&&(f[0]=["L",f[0][1],f[0][2]]),this.graphPath=y,this.areaPath=h.concat(f),y.isArea=!0,y.xMap=h.xMap,this.areaPath.xMap=h.xMap,y}drawDataLabels(){var u,d;let c=this.points,x=c.length,N=[],P=this.options.dataLabels,S=this.chart.inverted,g,v,p,a,o;if(P){if(Y(P)?(a=P[0]||{enabled:!1},o=P[1]||{enabled:!1}):(a=R({},P),a.x=P.xHigh,a.y=P.yHigh,o=R({},P),o.x=P.xLow,o.y=P.yLow),a.enabled||(u=this.hasDataLabels)!=null&&u.call(this)){for(g=x;g--;)if(v=c[g],v){let{plotHigh:h=0,plotLow:m=0}=v;p=a.inside?h<m:h>m,v.y=v.high,v._plotY=v.plotY,v.plotY=h,N[g]=v.dataLabel,v.dataLabel=v.dataLabelUpper,v.below=p,S?a.align||(a.align=p?"right":"left"):a.verticalAlign||(a.verticalAlign=p?"top":"bottom")}for(this.options.dataLabels=a,K.drawDataLabels&&K.drawDataLabels.apply(this,arguments),g=x;g--;)v=c[g],v&&(v.dataLabelUpper=v.dataLabel,v.dataLabel=N[g],delete v.dataLabels,v.y=v.low,v.plotY=v._plotY)}if(o.enabled||(d=this.hasDataLabels)!=null&&d.call(this)){for(g=x;g--;)if(v=c[g],v){let{plotHigh:h=0,plotLow:m=0}=v;p=o.inside?h<m:h>m,v.below=!p,S?o.align||(o.align=p?"left":"right"):o.verticalAlign||(o.verticalAlign=p?"bottom":"top")}this.options.dataLabels=o,K.drawDataLabels&&K.drawDataLabels.apply(this,arguments)}if(a.enabled)for(g=x;g--;)v=c[g],v&&(v.dataLabels=[v.dataLabelUpper,v.dataLabel].filter(function(h){return!!h}));this.options.dataLabels=P}}alignDataLabel(){G.alignDataLabel.apply(this,arguments)}modifyMarkerSettings(){let c=this,x={marker:c.options.marker,symbol
179:c.symbol};if(c.options.lowMarker){let{options:{marker:N,lowMarker:P}}=c;c.options.marker=T(N,P),P.symbol&&(c.symbol=P.symbol)}return x}restoreMarkerSettings(c){let x=this;x.options.marker=c.marker,x.symbol=c.symbol}drawPoints(){let c=this,x=c.points.length,N,P,S=c.modifyMarkerSettings();for(K.drawPoints.apply(c,arguments),c.restoreMarkerSettings(S),N=0;N<x;)P=c.points[N],P.graphics=P.graphics||[],P.origProps={plotY:P.plotY,plotX:P.plotX,isInside:P.isInside,negative:P.negative,zone:P.zone,y:P.y},(P.graphic||P.graphics[0])&&(P.graphics[0]=P.graphic),P.graphic=P.graphics[1],P.plotY=P.plotHigh,Z(P.plotHighX)&&(P.plotX=P.plotHighX),P.y=H(P.high,P.origProps.y),P.negative=P.y<(c.options.threshold||0),c.zones.length&&(P.zone=P.getZone()),c.chart.polar||(P.isInside=P.isTopInside=typeof P.plotY<"u"&&P.plotY>=0&&P.plotY<=c.yAxis.len&&P.plotX>=0&&P.plotX<=c.xAxis.len),N++;for(K.drawPoints.apply(c,arguments),N=0;N<x;)P=c.points[N],P.graphics=P.graphics||[],(P.graphic||P.graphics[1])&&(P.graphics[1]=P.graphic),P.graphic=P.graphics[0],P.origProps&&(R(P,P.origProps),delete P.origProps),N++}hasMarkerChanged(c,x){let N=c.lowMarker,P=x.lowMarker||{};return N&&(N.enabled===!1||P.symbol!==N.symbol||P.height!==N.height||P.width!==N.width)||super.hasMarkerChanged(c,x)}}return j.defaultOptions=T($.defaultOptions,L),q(j,"afterTranslate",function(){this.pointArrayMap.join(",")==="low,high"&&this.points.forEach(s=>{let c=s.high,x=s.plotY;s.isNull?s.plotY=void 0:(s.plotLow=x,s.plotHigh=V(c)?this.yAxis.translate(this.dataModify?this.dataModify.modifyValue(c):c,!1,!0,void 0,!0):void 0,this.dataModify&&(s.yBottom=s.plotHigh))})},{order:0}),q(j,"afterTranslate",function(){this.points.forEach(s=>{if(this.chart.polar)this.highToXY(s),s.plotLow=s.plotY,s.tooltipPos=[((s.plotHighX||0)+(s.plotLowX||0))/2,((s.plotHigh||0)+(s.plotLow||0))/2];else{let c=s.pos(!1,s.plotLow),x=s.pos(!1,s.plotHigh);c&&x&&(c[0]=(c[0]+x[0])/2,c[1]=(c[1]+x[1])/2),s.tooltipPos=c}})},{order:3}),R(j.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:B}),l.registerSeriesType("arearange",j),j}),r(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{spline:{prototype:C}}=n.seriesTypes,{merge:B,extend:$}=l;class K extends t{}return K.defaultOptions=B(t.defaultOptions),$(K.prototype,{getPointSpline:C.getPointSpline}),n.registerSeriesType("areasplinerange",K),K}),r(e,"Series/BoxPlot/BoxPlotSeriesDefaults.js",[],function(){return{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> <b>{series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}}),r(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/BoxPlot/BoxPlotSeriesDefaults.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{noop:$}=l,{crisp:K,extend:G,merge:q,pick:Z}=B;class R extends n{pointAttribs(){return{}}translate(){let V=this,H=V.yAxis,T=V.pointArrayMap;super.translate.apply(V),V.points.forEach(function(L){T.forEach(function(j){L[j]!==null&&(L[j+"Plot"]=H.translate(L[j],0,1,0,1))}),L.plotHigh=L.highPlot})}drawPoints(){let V=this,H=V.points,T=V.options,L=V.chart,j=L.renderer,s=V.doQuartiles!==!1,c=V.options.whiskerLength,x,N,P,S,g,v,p,a,o,u,d,h,m;for(let f of H){a=f.graphic;let y=a?"animate":"attr",I=f.shapeArgs,E={},M={},D={},F={},X=f.color||V.color;if(typeof f.plotY<"u"){o=I.width,u=I.x,d=u+o,h=o/2,x=s?f.q1Plot:f.lowPlot,N=s?f.q3Plot:f.lowPlot,P=f.highPlot,S=f.lowPlot,a||(f.graphic=a=j.g("point").add(V.group),f.stem=j.path().addClass("highcharts-boxplot-stem").add(a),c&&(f.whiskers=j.path().addClass("highcharts-boxplot-whisker").add(a)),s&&(f.box=j.path(p).addClass("highcharts-boxplot-box").add(a)),f.medianShape=j.path(v).addClass("highcharts-boxplot-median").add(a)),L.styledMode||(M.stroke=f.stemColor||T.stemColor||X,M["stroke-width"]=Z(f.stemWidth,T.stemWidth,T.lineWidth),M.dashstyle=f.stemDashStyle||T.stemDashStyle||T.dashStyle,f.stem.attr(M),c&&(D.stroke=f.whiskerColor||T.whiskerColor||X,D["stroke-width"]=Z(f.whiskerWidth,T.whiskerWidth,T.lineWidth),D.dashstyle=f.whiskerDashStyle||T.whiskerDashStyle||T.dashStyle,f.whiskers.attr(D)),s&&(E.fill=f.fillColor||T.fillColor||X,E.stroke=T.lineColor||X,E["stroke-width"]=T.lineWidth||0,E.dashstyle=f.boxDashStyle||T.boxDashStyle||T.dashStyle,f.box.attr(E)),F.stroke=f.medianColor||T.medianColor||X,F["stroke-width"]=Z(f.medianWidth,T.medianWidth,T.lineWidth),F.dashstyle=f.medianDashStyle||T.medianDashStyle||T.dashStyle,f.medianShape.attr(F));let _,w=K((f.plotX||0)+(V.pointXOffset||0)+(V.barW||0)/2,f.stem.strokeWidth());if(_=[["M",w,N],["L",w,P],["M",w,x],["L",w,S]],f.stem[y]({d:_}),s){let A=f.box.strokeWidth();x=K(x,A),N=K(N,A),u=K(u,A),d=K(d,A),_=[["M",u,N],["L",u,x],["L",d,x],["L",d,N],["L",u,N],["Z"]],f.box[y]({d:_})}if(c){let A=f.whiskers.strokeWidth();P=K(f.highPlot,A),S=K(f.lowPlot,A),m=typeof c=="string"&&/%$/.test(c)?h*parseFloat(c)/100:Number(c)/2,_=[["M",K(w-m),P],["L",K(w+m),P],["M",K(w-m),S],["L",K(w+m),S]],f.whiskers[y]({d:_})}g=K(f.medianPlot,f.medianShape.strokeWidth()),_=[["M",u,g],["L",d,g]],f.medianShape[y]({d:_})}}}toYData(V){return[V.low,V.q1,V.median,V.q3,V.high]}}return R.defaultOptions=q(n.defaultOptions,t),G(R.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointV
179alKey:"high",drawDataLabels:$,setStackedPoints:$}),C.registerSeriesType("boxplot",R),R}),r(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"0.9em",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),r(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{parse:B}=t,{noop:$}=l,{arrayMax:K,arrayMin:G,isNumber:q,merge:Z,pick:R,stableSort:Y}=C;class V{constructor(T,L){this.setState=$,this.init(T,L)}init(T,L){this.options=T,this.visible=!0,this.chart=L.chart,this.legend=L}addToLegend(T){T.splice(this.options.legendIndex,0,this)}drawLegendSymbol(T){let L=R(T.options.itemDistance,20),j=this.legendItem||{},s=this.options,c=s.ranges,x=s.connectorDistance,N;if(!c||!c.length||!q(c[0].value)){T.options.bubbleLegend.autoRanges=!0;return}Y(c,function(v,p){return p.value-v.value}),this.ranges=c,this.setOptions(),this.render();let P=this.getMaxLabelSize(),S=this.ranges[0].radius,g=S*2;N=x-S+P.width,N=N>0?N:0,this.maxLabel=P,this.movementX=s.labels.align==="left"?N:0,j.labelWidth=g+N+L,j.labelHeight=g+P.height/2}setOptions(){let T=this.ranges,L=this.options,j=this.chart.series[L.seriesIndex],s=this.legend.baseline,c={zIndex:L.zIndex,"stroke-width":L.borderWidth},x={zIndex:L.zIndex,"stroke-width":L.connectorWidth},N={align:this.legend.options.rtl||L.labels.align==="left"?"right":"left",zIndex:L.zIndex},P=j.options.marker.fillOpacity,S=this.chart.styledMode;T.forEach(function(g,v){S||(c.stroke=R(g.borderColor,L.borderColor,j.color),c.fill=R(g.color,L.color,P!==1?B(j.color).setOpacity(P).get("rgba"):j.color),x.stroke=R(g.connectorColor,L.connectorColor,j.color)),T[v].radius=this.getRangeRadius(g.value),T[v]=Z(T[v],{center:T[0].radius-T[v].radius+s}),S||Z(!0,T[v],{bubbleAttribs:Z(c),connectorAttribs:Z(x),labelAttribs:N})},this)}getRangeRadius(T){let L=this.options,j=this.options.seriesIndex,s=this.chart.series[j],c=L.ranges[0].value,x=L.ranges[L.ranges.length-1].value,N=L.minSize,P=L.maxSize;return s.getRadius.call(this,x,c,N,P,T)}render(){let T=this.legendItem||{},L=this.chart.renderer,j=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),T.symbol=L.g("bubble-legend"),T.label=L.g("bubble-legend-item").css(this.legend.itemStyle||{}),T.symbol.translateX=0,T.symbol.translateY=0,T.symbol.add(T.label),T.label.add(T.group);for(let s of this.ranges)s.value>=j&&this.renderRange(s);this.hideOverlappingLabels()}renderRange(T){let L=this.ranges[0],j=this.legend,s=this.options,c=s.labels,x=this.chart,N=x.series[s.seriesIndex],P=x.renderer,S=this.symbols,g=S.labels,v=T.center,p=Math.abs(T.radius),a=s.connectorDistance||0,o=c.align,u=j.options.rtl,d=s.borderWidth,h=s.connectorWidth,m=L.radius||0,f=v-p-d/2+h/2,y=(f%1?1:.5)-(h%2?0:.5),I=P.styledMode,E=u||o==="left"?-a:a;o==="center"&&(E=0,s.connectorDistance=0,T.labelAttribs.align="center"),S.bubbleItems.push(P.circle(m,v+y,p).attr(I?{}:T.bubbleAttribs).addClass((I?"highcharts-color-"+N.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(s.className||"")).add(this.legendItem.symbol)),S.connectors.push(P.path(P.crispLine([["M",m,f],["L",m+E,f]],s.connectorWidth)).attr(I?{}:T.connectorAttribs).addClass((I?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(s.connectorClassName||"")).add(this.legendItem.symbol));let M=P.text(this.formatLabel(T)).attr(I?{}:T.labelAttribs).css(I?{}:c.style).addClass("highcharts-bubble-legend-labels "+(s.labels.className||"")).add(this.legendItem.symbol),D={x:m+E+s.labels.x,y:f+s.labels.y+M.getBBox().height*.4};M.attr(D),g.push(M),M.placed=!0,M.alignAttr=D}getMaxLabelSize(){let T=this.symbols.labels,L,j;return T.forEach(function(s){j=s.getBBox(!0),L?L=j.width>L.width?j:L:L=j}),L||{}}formatLabel(T){let L=this.options,j=L.labels.formatter,s=L.labels.format,{numberFormatter:c}=this.chart;return s?n.format(s,T):j?j.call(T):c(T.value,1)}hideOverlappingLabels(){let T=this.chart,L=this.options.labels.allowOverlap,j=this.symbols;
179!L&&j&&(T.hideOverlappingLabels(j.labels),j.labels.forEach(function(s,c){s.newOpacity?s.newOpacity!==s.oldOpacity&&j.connectors[c].show():j.connectors[c].hide()}))}getRanges(){let T=this.legend.bubbleLegend,L=T.chart.series,j=T.options.ranges,s,c,x=Number.MAX_VALUE,N=-Number.MAX_VALUE;return L.forEach(function(P){P.isBubble&&!P.ignoreSeries&&(c=P.zData.filter(q),c.length&&(x=R(P.options.zMin,Math.min(x,Math.max(G(c),P.options.displayNegative===!1?P.options.zThreshold:-Number.MAX_VALUE))),N=R(P.options.zMax,Math.max(N,K(c)))))}),x===N?s=[{value:N}]:s=[{value:x},{value:(x+N)/2},{value:N,autoRanges:!0}],j.length&&j[0].radius&&s.reverse(),s.forEach(function(P,S){j&&j[S]&&(s[S]=Z(j[S],P))}),s}predictBubbleSizes(){let T=this.chart,L=T.legend.options,j=L.floating,s=L.layout==="horizontal",c=s?T.legend.lastLineHeight:0,x=T.plotSizeX,N=T.plotSizeY,P=T.series[this.options.seriesIndex],S=P.getPxExtremes(),g=Math.ceil(S.minPxSize),v=Math.ceil(S.maxPxSize),p=Math.min(N,x),a,o=P.options.maxSize;return j||!/%$/.test(o)?a=v:(o=parseFloat(o),a=(p+c)*o/100/(o/100+1),(s&&N-a>=x||!s&&x-a>=N)&&(a=v)),[g,Math.ceil(a)]}updateRanges(T,L){let j=this.legend.options.bubbleLegend;j.minSize=T,j.maxSize=L,j.ranges=this.getRanges()}correctSizes(){let T=this.legend,L=this.chart,j=L.series[this.options.seriesIndex],s=j.getPxExtremes(),c=s.maxPxSize,x=this.options.maxSize;Math.abs(Math.ceil(c)-x)>1&&(this.updateRanges(this.options.minSize,s.maxPxSize),T.render())}}return V}),r(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{setOptions:$}=l,{composed:K}=C,{addEvent:G,objectEach:q,pushUnique:Z,wrap:R}=B;function Y(x,N,P){let S=this,g=S.legend,v=H(S)>=0,p,a,o;g&&g.options.enabled&&g.bubbleLegend&&g.options.bubbleLegend.autoRanges&&v?(p=g.bubbleLegend.options,a=g.bubbleLegend.predictBubbleSizes(),g.bubbleLegend.updateRanges(a[0],a[1]),p.placed||(g.group.placed=!1,g.allItems.forEach(u=>{o=u.legendItem||{},o.group&&(o.group.translateY=void 0)})),g.render(),p.placed||(S.getMargins(),S.axes.forEach(function(u){u.visible&&u.render(),p.placed||(u.setScale(),u.updateNames(),q(u.ticks,function(d){d.isNew=!0,d.isNewLabel=!0}))}),S.getMargins()),p.placed=!0,x.call(S,N,P),g.bubbleLegend.correctSizes(),s(g,T(g))):(x.call(S,N,P),g&&g.options.enabled&&g.bubbleLegend&&(g.render(),s(g,T(g))))}function V(x,N){Z(K,"Series.BubbleLegend")&&($({legend:{bubbleLegend:t}}),R(x.prototype,"drawChartBox",Y),G(N,"afterGetAllItems",L),G(N,"itemClick",j))}function H(x){let N=x.series,P=0;for(;P<N.length;){if(N[P]&&N[P].isBubble&&N[P].visible&&N[P].zData.length)return P;P++}return-1}function T(x){let N=x.allItems,P=[],S=N.length,g,v,p,a=0,o=0;for(a=0;a<S;a++)if(v=N[a].legendItem||{},p=(N[a+1]||{}).legendItem||{},v.labelHeight&&(N[a].itemHeight=v.labelHeight),N[a]===N[S-1]||v.y!==p.y){for(P.push({height:0}),g=P[P.length-1],o;o<=a;o++)N[o].itemHeight>g.height&&(g.height=N[o].itemHeight);g.step=a}return P}function L(x){let N=this,P=N.bubbleLegend,S=N.options,g=S.bubbleLegend,v=H(N.chart);P&&P.ranges&&P.ranges.length&&(g.ranges.length&&(g.autoRanges=!!g.ranges[0].autoRanges),N.destroyItem(P)),v>=0&&S.enabled&&g.enabled&&(g.seriesIndex=v,N.bubbleLegend=new n(g,N),N.bubbleLegend.addToLegend(x.allItems))}function j(x){if(x.defaultPrevented)return!1;let N=this,P=x.legendItem,S=N.chart,g=P.visible,v;N&&N.bubbleLegend&&(P.visible=!g,P.ignoreSeries=g,v=H(S)>=0,N.bubbleLegend.visible!==v&&(N.update({bubbleLegend:{enabled:v}}),N.bubbleLegend.visible=v),P.visible=g)}function s(x,N){let P=x.allItems,S=x.options.rtl,g,v,p,a,o=0;P.forEach((u,d)=>{a=u.legendItem||{},a.group&&(g=a.group.translateX||0,v=a.y||0,p=u.movementX,(p||S&&u.ranges)&&(p=S?g-u.options.maxSize/2:g+p,a.group.attr({translateX:p})),d>N[o].step&&o++,a.group.attr({translateY:Math.round(v+N[o].height/2)}),a.y=v+N[o].height/2)})}return{compose:V}}),r(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{seriesTypes:{scatter:{prototype:{pointClass:C}}}}=n,{extend:B}=l;class $ extends C{haloPath(G){let q=(G&&this.marker&&this.marker.radiu
179s||0)+G;if(this.series.chart.inverted){let Z=this.pos()||[0,0],{xAxis:R,yAxis:Y,chart:V}=this.series;return V.renderer.symbols.circle(R.len-Z[1]-q,Y.len-Z[0]-q,q*2,q*2)}return t.prototype.haloPath.call(this,q)}}return B($.prototype,{ttBelow:!1}),$}),r(e,"Series/Bubble/BubbleSeries.js",[e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{parse:K}=l,{composed:G,noop:q}=C,{series:Z,seriesTypes:{column:{prototype:R},scatter:Y}}=B,{addEvent:V,arrayMax:H,arrayMin:T,clamp:L,extend:j,isNumber:s,merge:c,pick:x,pushUnique:N}=$;function P(){let g=this.len,{coll:v,isXAxis:p,min:a}=this,o=p?"xData":"yData",u=(this.max||0)-(a||0),d=0,h=g,m=g/u,f;v!=="xAxis"&&v!=="yAxis"||(this.series.forEach(y=>{if(y.bubblePadding&&y.reserveSpace()){this.allowZoomOutside=!0,f=!0;let I=y[o];if(p&&((y.onPoint||y).getRadii(0,0,y),y.onPoint&&(y.radii=y.onPoint.radii)),u>0){let E=I.length;for(;E--;)if(s(I[E])&&this.dataMin<=I[E]&&I[E]<=this.max){let M=y.radii&&y.radii[E]||0;d=Math.min((I[E]-a)*m-M,d),h=Math.max((I[E]-a)*m+M,h)}}}}),f&&u>0&&!this.logarithmic&&(h-=g,m*=(g+Math.max(0,d)-Math.min(h,g))/g,[["min","userMin",d],["max","userMax",h]].forEach(y=>{typeof x(this.options[y[0]],this[y[1]])>"u"&&(this[y[0]]+=y[2]/m)})))}class S extends Y{static compose(v,p,a){t.compose(p,a),N(G,"Series.Bubble")&&V(v,"foundExtremes",P)}animate(v){!v&&this.points.length<this.options.animationLimit&&this.points.forEach(function(p){let{graphic:a,plotX:o=0,plotY:u=0}=p;a&&a.width&&(this.hasRendered||a.attr({x:o,y:u,width:1,height:1}),a.animate(this.markerAttribs(p),this.options.animation))},this)}getRadii(){let v=this.zData,p=this.yData,a=[],o,u,d,h=this.chart.bubbleZExtremes,{minPxSize:m,maxPxSize:f}=this.getPxExtremes();if(!h){let y=Number.MAX_VALUE,I=-Number.MAX_VALUE,E;this.chart.series.forEach(M=>{if(M.bubblePadding&&M.reserveSpace()){let D=(M.onPoint||M).getZExtremes();D&&(y=Math.min(x(y,D.zMin),D.zMin),I=Math.max(x(I,D.zMax),D.zMax),E=!0)}}),E?(h={zMin:y,zMax:I},this.chart.bubbleZExtremes=h):h={zMin:0,zMax:0}}for(u=0,o=v.length;u<o;u++)d=v[u],a.push(this.getRadius(h.zMin,h.zMax,m,f,d,p&&p[u]));this.radii=a}getRadius(v,p,a,o,u,d){let h=this.options,m=h.sizeBy!=="width",f=h.zThreshold,y=p-v,I=.5;if(d===null||u===null)return null;if(s(u)){if(h.sizeByAbsoluteValue&&(u=Math.abs(u-f),p=y=Math.max(p-f,Math.abs(v-f)),v=0),u<v)return a/2-1;y>0&&(I=(u-v)/y)}return m&&I>=0&&(I=Math.sqrt(I)),Math.ceil(a+I*(o-a))/2}hasData(){return!!this.processedXData.length}markerAttribs(v,p){let a=super.markerAttribs(v,p),{height:o=0,width:u=0}=a;return this.chart.inverted?j(a,{x:(v.plotX||0)-u/2,y:(v.plotY||0)-o/2}):a}pointAttribs(v,p){let a=this.options.marker,o=a.fillOpacity,u=Z.prototype.pointAttribs.call(this,v,p);return o!==1&&(u.fill=K(u.fill).setOpacity(o).get("rgba")),u}translate(){super.translate.call(this),this.getRadii(),this.translateBubble()}translateBubble(){let{data:v,options:p,radii:a}=this,{minPxSize:o}=this.getPxExtremes(),u=v.length;for(;u--;){let d=v[u],h=a?a[u]:0;this.zoneAxis==="z"&&(d.negative=(d.z||0)<(p.zThreshold||0)),s(h)&&h>=o/2?(d.marker=j(d.marker,{radius:h,width:2*h,height:2*h}),d.dlBox={x:d.plotX-h,y:d.plotY-h,width:2*h,height:2*h}):(d.shapeArgs=d.plotY=d.dlBox=void 0,d.isInside=!1)}}getPxExtremes(){let v=Math.min(this.chart.plotWidth,this.chart.plotHeight),p=u=>{let d;return typeof u=="string"&&(d=/%$/.test(u),u=parseInt(u,10)),d?v*u/100:u},a=p(x(this.options.minSize,8)),o=Math.max(p(x(this.options.maxSize,"20%")),a);return{minPxSize:a,maxPxSize:o}}getZExtremes(){let v=this.options,p=(this.zData||[]).filter(s);if(p.length){let a=x(v.zMin,L(T(p),v.displayNegative===!1?v.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE)),o=x(v.zMax,H(p));if(s(a)&&s(o))return{zMin:a,zMax:o}}}}return S.defaultOptions=c(Y.defaultOptions,{dataLabels:{formatter:function(){let{numberFormatter:g}=this.series.chart,{z:v}=this.point;return s(v)?g(v,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,
179states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),j(S.prototype,{alignDataLabel:R.alignDataLabel,applyZones:q,bubblePadding:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),V(S,"updatedData",g=>{delete g.target.chart.bubbleZExtremes}),V(S,"remove",g=>{delete g.target.chart.bubbleZExtremes}),B.registerSeriesType("bubble",S),S}),r(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{seriesTypes:{column:{prototype:{pointClass:{prototype:l}}},arearange:{prototype:{pointClass:C}}}}=t,{extend:B,isNumber:$}=n;class K extends C{isValid(){return $(this.low)}}return B(K.prototype,{setState:l.setState}),K}),r(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{noop:B}=n,{seriesTypes:{arearange:$,column:K,column:{prototype:G}}}=l,{addEvent:q,clamp:Z,extend:R,isNumber:Y,merge:V,pick:H}=C,T={borderRadius:{where:"all"},pointRange:null,legendSymbol:"rectangle",marker:null,states:{hover:{halo:!1}}};class L extends ${setOptions(){return V(!0,arguments[0],{stacking:void 0}),$.prototype.setOptions.apply(this,arguments)}translate(){return G.translate.apply(this)}pointAttribs(){return G.pointAttribs.apply(this,arguments)}translate3dPoints(){return G.translate3dPoints.apply(this,arguments)}translate3dShapes(){return G.translate3dShapes.apply(this,arguments)}afterColumnTranslate(){let s=this.yAxis,c=this.xAxis,x=c.startAngleRad,N=this.chart,P=this.xAxis.isRadial,S=Math.max(N.chartWidth,N.chartHeight)+999,g,v,p,a;function o(u){return Z(u,-S,S)}this.points.forEach(u=>{let d=u.shapeArgs||{},h=this.options.minPointLength,m=u.plotY,f=s.translate(u.high,0,1,0,1);if(Y(f)&&Y(m))if(u.plotHigh=o(f),u.plotLow=o(m),a=u.plotHigh,g=H(u.rectPlotY,u.plotY)-u.plotHigh,Math.abs(g)<h?(v=h-g,g+=v,a-=v/2):g<0&&(g*=-1,a-=g),P&&this.polar)p=u.barX+x,u.shapeType="arc",u.shapeArgs=this.polar.arc(a+g,a,p,p+u.pointWidth);else{d.height=g,d.y=a;let{x:y=0,width:I=0}=d;u.shapeArgs=V(u.shapeArgs,this.crispCol(y,a,I,g)),u.tooltipPos=N.inverted?[s.len+s.pos-N.plotLeft-a-g/2,c.len+c.pos-N.plotTop-y-I/2,g]:[c.left-N.plotLeft+y+I/2,s.pos-N.plotTop+a+g/2,g]}})}}return L.defaultOptions=V(K.defaultOptions,$.defaultOptions,T),q(L,"afterColumnTranslate",function(){L.prototype.afterColumnTranslate.apply(this)},{order:5}),R(L.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:G.adjustForMissingColumns,animate:G.animate,crispCol:G.crispCol,drawGraph:B,drawPoints:G.drawPoints,getSymbol:B,drawTracker:G.drawTracker,getColumnMetrics:G.getColumnMetrics}),l.registerSeriesType("columnrange",L),L}),r(e,"Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js",[],function(){return{}}),r(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C}=n.seriesTypes,{clamp:B,merge:$,pick:K}=l;class G extends C{translate(){let Z=this,R=Z.chart,Y=Z.options,V=Z.dense=Z.closestPointRange*Z.xAxis.transA<2,H=Z.borderWidth=K(Y.borderWidth,V?0:1),T=Z.yAxis,L=Y.threshold,j=K(Y.minPointLength,5),s=Z.getColumnMetrics(),c=s.width,x=Z.pointXOffset=s.offset,N=Z.translatedThreshold=T.getThreshold(L),P=Z.barW=Math.max(c,1+2*H);R.inverted&&(N-=.5),Y.pointPadding&&(P=Math.ceil(P)),super.translate();for(let S of Z.points){let g=K(S.yBottom,N),v=999+Math.abs(g),p=B(S.plotY,-v,T.len+v),a=P/2,o=Math.min(p,g),u=Math.max(p,g)-o,d=S.plotX+x,h,m,f,y,I,E,M,D,F,X,_;Y.centerInCategory&&(d=Z.adjustForMissingColumns(d,c,S,s)),S.barX=d,S.pointWidth=c,S.tooltipPos=R.inverted?[T.len+T.pos-R.plotLeft-p,Z.xAxis.len-d-a,u]:[d+a,p+T.pos-R.plotTop,u],h=L+(S.total||S.y),Y.stacking==="percent"&&(h=L+(S.y<0)?-100:100);let w=T.toPixels(h,!0);m=R.plotHeight-w-(R.plotHeight-N),f=m?a*(o-w)/m:0,y=m?a*(o+u-w)/m:0,E=d-f+a,M=d+f+a,D=d+y+a,F=d-y+a,X=o-j,_=o+u,S.y<0&&(X=o,_=o+u+j),R.inverted&&(I=T.width-o,m=w-(T.width-N),f=a*(w-I)/m,y=a*(w-(I-u))/m,E=d+a+f,M=E-2*f,D=d-y+a,F=d+y+a,X=o,_=o+u-j,S.y<0&&(_=o+u+j)),S.shapeType="path",S.shapeArgs={x:E,y:X,width:M-E,height:u,d:[["M",E,X],["L",M,X],["L",D,_],["L",F,_],["Z"]]}}}}return G.defaultOptions=$(C.defaultOptions,t),n.registerSeriesType("columnpyramid",G),G}),r(e,"Series/ErrorBar/ErrorBarSeriesDefaults.js",[],function(){return{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}}),r(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Series/ErrorBar/ErrorBarSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{arearange:$}=C.seriesTypes,{addEvent:K,merge:G,extend:q}=B;class Z extends t{getColumnMetrics(){let Y=this;return Y.linkedParent&&Y.linkedParent.columnMetrics||n.prototype.getColumnMetrics.call(Y)}drawDataLabels(){let Y=this,V=Y.pointValKey;if($){$.prototype.drawDataLabels.call(Y);for(let H of Y.points)H.y=H[V]}}toYData(Y){return[Y.low,Y.high]}}return Z.defaultOptions=G(t.defaultOptions,l),K(Z,"afterTranslate",function(){for(let R of this.points)R.plotLow=R.plotY},{order:0}
179),q(Z.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),C.registerSeriesType("errorbar",Z),Z}),r(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){let{series:{prototype:{pointClass:n}}}=t;class l extends n{setState(B){this.state=B}}return l}),r(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{noop:B}=n,{series:$,seriesTypes:{column:K}}=l,{clamp:G,isNumber:q,extend:Z,merge:R,pick:Y,pInt:V,defined:H}=C;class T extends ${translate(){let j=this,s=j.yAxis,c=j.options,x=s.center;j.generatePoints(),j.points.forEach(N=>{let P=R(c.dial,N.dial),S=V(P.radius)*x[2]/200,g=V(P.baseLength)*S/100,v=V(P.rearLength)*S/100,p=P.baseWidth,a=P.topWidth,o=c.overshoot,u=s.startAngleRad+s.translate(N.y,void 0,void 0,void 0,!0);(q(o)||c.wrap===!1)&&(o=q(o)?o/180*Math.PI:0,u=G(u,s.startAngleRad-o,s.endAngleRad+o)),u=u*180/Math.PI,N.shapeType="path";let d=P.path||[["M",-v,-p/2],["L",g,-p/2],["L",S,-a/2],["L",S,a/2],["L",g,p/2],["L",-v,p/2],["Z"]];N.shapeArgs={d,translateX:x[0],translateY:x[1],rotation:u},N.plotX=x[0],N.plotY=x[1],H(N.y)&&s.max-s.min&&(N.percentage=(N.y-s.min)/(s.max-s.min)*100)})}drawPoints(){let j=this,s=j.chart,c=j.yAxis.center,x=j.pivot,N=j.options,P=N.pivot,S=s.renderer;j.points.forEach(g=>{let v=g.graphic,p=g.shapeArgs,a=p.d,o=R(N.dial,g.dial);v?(v.animate(p),p.d=a):g.graphic=S[g.shapeType](p).addClass("highcharts-dial").add(j.group),s.styledMode||g.graphic[v?"animate":"attr"]({stroke:o.borderColor,"stroke-width":o.borderWidth,fill:o.backgroundColor})}),x?x.animate({translateX:c[0],translateY:c[1]}):P&&(j.pivot=S.circle(0,0,P.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(c[0],c[1]).add(j.group),s.styledMode||j.pivot.attr({fill:P.backgroundColor,stroke:P.borderColor,"stroke-width":P.borderWidth}))}animate(j){let s=this;j||s.points.forEach(c=>{let x=c.graphic;x&&(x.attr({rotation:s.yAxis.startAngleRad*180/Math.PI}),x.animate({rotation:c.shapeArgs.rotation},s.options.animation))})}render(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),$.prototype.render.call(this),this.group.clip(this.chart.clipRect)}setData(j,s){$.prototype.setData.call(this,j,!1),this.processData(),this.generatePoints(),Y(s,!0)&&this.chart.redraw()}hasData(){return!!this.points.length}}return T.defaultOptions=R($.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),Z(T.prototype,{angular:!0,directTouch:!0,drawGraph:B,drawTracker:K.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),l.registerSeriesType("gauge",T),T}),r(e,"Series/DragNodesComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{composed:l}=t,{addEvent:C,pushUnique:B}=n;function $(V){B(l,"DragNodes")&&C(V,"load",K)}function K(){let V=this,H,T,L;V.container&&(H=C(V.container,"mousedown",j=>{let s=V.hoverPoint;s&&s.series&&s.series.hasDraggableNodes&&s.series.options.draggable&&(s.series.onMouseDown(s,j),T=C(V.container,"mousemove",c=>s&&s.series&&s.series.onMouseMove(s,c)),L=C(V.container.ownerDocument,"mouseup",c=>(T(),L(),s&&s.series&&s.series.onMouseUp(s,c))))})),C(V,"destroy",function(){H()})}function G(V,H){var L;let T=((L=this.chart.pointer)==null?void 0:L.normalize(H))||H;V.fixedPosition={chartX:T.chartX,chartY:T.chartY,plotX:V.plotX,plotY:V.plotY},V.inDragMode=!0}function q(V,H){var T;if(V.fixedPosition&&V.inDragMode){let L=this,j=L.chart,s=((T=j.pointer)==null?void 0:T.normalize(H))||H,c=V.fixedPosition.chartX-s.chartX,x=V.fixedPosition.chartY-s.chartY,N=j.graphLayoutsLookup,P,S;(Math.abs(c)>5||Math.abs(x)>5)&&(P=V.fixedPosition.plotX-c,S=V.fixedPosition.plotY-x,j.isInsidePlot(P,S)&&(V.plotX=P,V.plotY=S,V.hasDragged=!0,this.redrawHalo(V),N.forEac
179h(g=>{g.restartSimulation()})))}}function Z(V){V.fixedPosition&&(V.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),V.inDragMode=V.hasDragged=!1,this.options.fixedDraggable||delete V.fixedPosition)}function R(V){V&&this.halo&&this.halo.attr({d:V.haloPath(this.options.states.hover.halo.size)})}return{compose:$,onMouseDown:G,onMouseMove:q,onMouseUp:Z,redrawHalo:R}}),r(e,"Series/GraphLayoutComposition.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l){let{setAnimation:C}=t,{composed:B}=n,{addEvent:$,pushUnique:K}=l,G={},q={};function Z(L){K(B,"GraphLayout")&&($(L,"afterPrint",R),$(L,"beforePrint",Y),$(L,"predraw",V),$(L,"render",H))}function R(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(L=>{L.updateSimulation()}),this.redraw())}function Y(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(L=>{L.updateSimulation(!1)}),this.redraw())}function V(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(L=>{L.stop()})}function H(){let L,j=!1,s=c=>{c.maxIterations--&&isFinite(c.temperature)&&!c.isStable()&&!c.enableSimulation&&(c.beforeStep&&c.beforeStep(),c.step(),L=!1,j=!0)};if(this.graphLayoutsLookup){for(C(!1,this),this.graphLayoutsLookup.forEach(c=>c.start());!L;)L=!0,this.graphLayoutsLookup.forEach(s);j&&this.series.forEach(c=>{c&&c.layout&&c.render()})}}return{compose:Z,integrations:G,layouts:q}}),r(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],function(t,n,l){let{seriesTypes:{bubble:{prototype:{pointClass:C}}}}=l;class B extends C{destroy(){var K;return(K=this.series)!=null&&K.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),n.prototype.destroy.apply(this,arguments)}firePointEvent(){let K=this.series,G=K.options;if(this.isParentNode&&G.parentNode){let q=G.allowPointSelect;G.allowPointSelect=G.parentNode.allowPointSelect,n.prototype.firePointEvent.apply(this,arguments),G.allowPointSelect=q}else n.prototype.firePointEvent.apply(this,arguments)}select(){let K=this,G=this.series,q=G.chart;K.isParentNode?(q.getSelectedPoints=q.getSelectedParentNodes,n.prototype.select.apply(this,arguments),q.getSelectedPoints=t.prototype.getSelectedPoints):n.prototype.select.apply(this,arguments)}}return B}),r(e,"Series/PackedBubble/PackedBubbleSeriesDefaults.js",[e["Core/Utilities.js"]],function(t){let{isNumber:n}=t;return{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){let{numberFormatter:C}=this.series.chart,{value:B}=this.point;return n(B)?C(B,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}}),r(e,"Series/Networkgraph/VerletIntegration.js",[],function(){function t(q,Z,R){let Y=q.getMass(),V=-R.x*Z*this.diffTemperature,H=-R.y*Z*this.diffTemperature;q.fromNode.fixedPosition||(q.fromNode.plotX-=V*Y.fromNode/q.fromNode.degree,q.fromNode.plotY-=H*Y.fromNode/q.fromNode.degree),q.toNode.fixedPosition||(q.toNode.plotX+=V*Y.toNode/q.toNode.degree,q.toNode.plotY+=H*Y.toNode/q.toNode.degree)}function n(q,Z){return(Z-q)/q}function l(){let q=this.options.gravitationalConstant||0,Z=(this.barycenter.xFactor-(this.box.left+this.box.width)/2)*q,R=(this.barycenter.yFactor-(this.box.top+this.box.height)/2)*q;this.nodes.forEach(function(Y){Y.fixedPosition||(Y.plotX-=Z/Y.mass/Y.degree,Y.plotY-=R/Y.mass/Y.degree)})}function C(q){return Math.pow(q.box.width*q.box.height/q.nodes.length,.5)}function B(q,Z){let R=-q.options.friction,Y=q.options.maxSpeed,V=Z.prevX,H=Z.prevY,T=(Z.plotX+Z.dispX-V)*R,L=(Z.plotY+Z.dispY-H)*R,j=Math.abs,s=j(T)/(T||1),c=j(L)/(L||1),x=s*Math.min(Y,Math.abs(T)),N=c*Math.min(Y,Math.abs(L));Z.prevX=Z.plotX+Z.dispX,Z.prevY=Z.plotY+Z.dispY,Z.plotX+=x,Z.plotY+=N,Z.temperature=q.vectorLength({x,y:N})}function $(q,Z,R){let Y=Z*this.diffTemperature/q.mass/q.degree;q.fixedPosition||(q.plotX+=R.x*Y,q.plotY+=R.y*Y)}function K(q,Z){return(Z-q)/q*(Z>q?1:0)}return{attractive:t,attractiveForceFunction:n,barycenter:l,getK:C,integrate:B,repulsive:$,repulsiveForceFunction:K}}),r(e,"Series/PackedBubble/PackedBubbleIntegration.js",[e["Core/Globals.js"],e["Series/Networkgraph/VerletIntegration.js"]],function(t,n){let{noop:l}=t;function C(){let G=this,q=G.options.gravitationalConstant,Z=G.box,R=G.nodes,Y,V;for(let H of R)G.options.splitSeries&&!H.isParentNode?(Y=H.series.parentNode.plotX,V=H.series.parentNode.plotY):(Y=Z.width/2,V=Z.height/2),H.fixedPosition||(H.plotX-=(H.plotX-Y)*q/(H.mass*Math.sqrt(R.length)),H.plotY-=(H.plotY-V)*q/(H.mass*Math.sqrt(R.length)))}function B(G,q,Z,R){let Y=q*this.diffTemperature/G.mass/G.degree,V=Z.x*Y,H=Z.y*Y;G.fixedPosition||(G.plotX+=V,G.plotY+=H),R.fixedPosition||(R.plotX-=V,R.plotY-=H)}
179function $(G,q,Z,R){return Math.min(G,(Z.marker.radius+R.marker.radius)/2)}return{barycenter:C,getK:l,integrate:n.integrate,repulsive:B,repulsiveForceFunction:$}}),r(e,"Series/Networkgraph/EulerIntegration.js",[],function(){function t(q,Z,R,Y){let V=q.getMass(),H=R.x/Y*Z,T=R.y/Y*Z;q.fromNode.fixedPosition||(q.fromNode.dispX-=H*V.fromNode/q.fromNode.degree,q.fromNode.dispY-=T*V.fromNode/q.fromNode.degree),q.toNode.fixedPosition||(q.toNode.dispX+=H*V.toNode/q.toNode.degree,q.toNode.dispY+=T*V.toNode/q.toNode.degree)}function n(q,Z){return q*q/Z}function l(){let q=this.options.gravitationalConstant,Z=this.barycenter.xFactor,R=this.barycenter.yFactor;this.nodes.forEach(function(Y){if(!Y.fixedPosition){let V=Y.getDegree(),H=V*(1+V/2);Y.dispX+=(Z-Y.plotX)*q*H/Y.degree,Y.dispY+=(R-Y.plotY)*q*H/Y.degree}})}function C(q){return Math.pow(q.box.width*q.box.height/q.nodes.length,.3)}function B(q,Z){Z.dispX+=Z.dispX*q.options.friction,Z.dispY+=Z.dispY*q.options.friction;let R=Z.temperature=q.vectorLength({x:Z.dispX,y:Z.dispY});R!==0&&(Z.plotX+=Z.dispX/R*Math.min(Math.abs(Z.dispX),q.temperature),Z.plotY+=Z.dispY/R*Math.min(Math.abs(Z.dispY),q.temperature))}function $(q,Z,R,Y){q.dispX+=R.x/Y*Z/q.degree,q.dispY+=R.y/Y*Z/q.degree}function K(q,Z){return Z*Z/q}return{attractive:t,attractiveForceFunction:n,barycenter:l,getK:C,integrate:B,repulsive:$,repulsiveForceFunction:K}}),r(e,"Series/Networkgraph/QuadTreeNode.js",[],function(){class t{constructor(l){this.body=!1,this.isEmpty=!1,this.isInternal=!1,this.nodes=[],this.box=l,this.boxSize=Math.min(l.width,l.height)}divideBox(){let l=this.box.width/2,C=this.box.height/2;this.nodes[0]=new t({left:this.box.left,top:this.box.top,width:l,height:C}),this.nodes[1]=new t({left:this.box.left+l,top:this.box.top,width:l,height:C}),this.nodes[2]=new t({left:this.box.left+l,top:this.box.top+C,width:l,height:C}),this.nodes[3]=new t({left:this.box.left,top:this.box.top+C,width:l,height:C})}getBoxPosition(l){let C=l.plotX<this.box.left+this.box.width/2,B=l.plotY<this.box.top+this.box.height/2,$;return C?B?$=0:$=3:B?$=1:$=2,$}insert(l,C){let B;this.isInternal?this.nodes[this.getBoxPosition(l)].insert(l,C-1):(this.isEmpty=!1,this.body?C?(this.isInternal=!0,this.divideBox(),this.body!==!0&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,C-1),this.body=!0),this.nodes[this.getBoxPosition(l)].insert(l,C-1)):(B=new t({top:l.plotX||NaN,left:l.plotY||NaN,width:.1,height:.1}),B.body=l,B.isInternal=!1,this.nodes.push(B)):(this.isInternal=!1,this.body=l))}updateMassAndCenter(){let l=0,C=0,B=0;if(this.isInternal){for(let $ of this.nodes)$.isEmpty||(l+=$.mass,C+=$.plotX*$.mass,B+=$.plotY*$.mass);C/=l,B/=l}else this.body&&(l=this.body.mass,C=this.body.plotX,B=this.body.plotY);this.mass=l,this.plotX=C,this.plotY=B}}return t}),r(e,"Series/Networkgraph/QuadTree.js",[e["Series/Networkgraph/QuadTreeNode.js"]],function(t){class
179n{constructor(C,B,$,K){this.box={left:C,top:B,width:$,height:K},this.maxDepth=25,this.root=new t(this.box),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}calculateMassAndCenter(){this.visitNodeRecursive(null,null,function(C){C.updateMassAndCenter()})}insertNodes(C){for(let B of C)this.root.insert(B,this.maxDepth)}visitNodeRecursive(C,B,$){let K;if(C||(C=this.root),C===this.root&&B&&(K=B(C)),K!==!1){for(let G of C.nodes){if(G.isInternal){if(B&&(K=B(G)),K===!1)continue;this.visitNodeRecursive(G,B,$)}else G.body&&B&&B(G.body);$&&$(G)}C===this.root&&$&&$(C)}}}return n}),r(e,"Series/Networkgraph/ReingoldFruchtermanLayout.js",[e["Series/Networkgraph/EulerIntegration.js"],e["Core/Globals.js"],e["Series/GraphLayoutComposition.js"],e["Series/Networkgraph/QuadTree.js"],e["Core/Utilities.js"],e["Series/Networkgraph/VerletIntegration.js"]],function(t,n,l,C,B,$){let{win:K}=n,{clamp:G,defined:q,isFunction:Z,fireEvent:R,pick:Y}=B;class V{constructor(){this.box={},this.currentStep=0,this.initialRendering=!0,this.links=[],this.nodes=[],this.series=[],this.simulation=!1}static compose(T){l.compose(T),l.integrations.euler=t,l.integrations.verlet=$,l.layouts["reingold-fruchterman"]=V}init(T){this.options=T,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=l.integrations[T.integration],this.enableSimulation=T.enableSimulation,this.attractiveForce=Y(T.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=Y(T.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=T.approximation}updateSimulation(T){this.enableSimulation=Y(T,this.options.enableSimulation)}start(){let T=this,L=this.series,j=this.options;T.currentStep=0,T.forces=L[0]&&L[0].forces||[],T.chart=L[0]&&L[0].chart,T.initialRendering&&(T.initPositions(),L.forEach(function(s){s.finishedAnimating=!0,s.render()})),T.setK(),T.resetSimulation(j),T.enableSimulation&&T.step()}step(){let T=this,L=this.series;this.currentStep++,this.approximation==="barnes-hut"&&(this.createQuadTree(),this.quadTree.calculateMassAndCenter());for(let j of this.forces||[])T[j+"Forces"](this.temperature);if(this.applyLimits(),this.temperature=this.coolDown(this.startTemperature,this.diffTemperature,this.currentStep),this.prevSystemTemperature=this.systemTemperature,this.systemTemperature=this.getSystemTemperature(),this.enableSimulation){for(let j of L)j.chart&&j.render();this.maxIterations--&&isFinite(this.temperature)&&!this.isStable()?(this.simulation&&K.cancelAnimationFrame(this.simulation),this.simulation=K.requestAnimationFrame(()=>this.step())):(this.simulation=!1,this.series.forEach(j=>{R(j,"afterSimulation")}))}}stop(){this.simulation&&K.cancelAnimationFrame(this.simulation)}setArea(T,L,j,s){this.box={left:T,top:L,width:j,height:s}}setK(){this.k=this.options.linkLength||this.integration.getK(this)}addElementsToCollection(T,L){for(let j of T)L.indexOf(j)===-1&&L.push(j)}removeElementFromCollection(T,L){let j=L.indexOf(T);j!==-1&&L.splice(j,1)}clear(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()}resetSimulation(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()}restartSimulation(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))}setMaxIterations(T){this.maxIterations=Y(T,this.options.maxIterations)}setTemperature(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)}setDiffTemperature(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)}setInitialRendering(T){this.initialRendering=T}createQuadTree(){this.quadTree=new C(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)}initPositions(){let T=this.options.initialPositions;if(Z(T)){T.call(this);for(let L of this.nodes)q(L.prevX)||(L.prevX=L.plotX),q(L.prevY)||(L.prevY=L.plotY),L.dispX=0,L.dispY=0}else T==="circle"?this.setCircularPositions():this.setRandomPositions()}setCircularPositions(){let T=this.box,L=this.nodes,j=L.length+1,s=2*Math.PI/j,c=L.filter(function(v){return v.linksTo.length===0}),x={},N=this.options.initialPositionRadius,P=v=>{for(let p of v.linksFrom||[])x[p.toNode.id]||(x[p.toNode.id]=!0,S.push(p.toNode),P(p.toNode))},S=[];for(let v of c)S.push(v),P(v);if(!S.length)S=L;else for(let v of L)S.indexOf(v)===-1&&S.push(v);let g;for(let v=0,p=S.length;v<p;++v)g=S[v],g.plotX=g.prevX=Y(g.plotX,T.width/2+N*Math.cos(v*s)),g.plotY=g.prevY=Y(g.plotY,T.height/2+N*Math.sin(v*s)),g.dispX=0,g.dis
179pY=0}setRandomPositions(){let T=this.box,L=this.nodes,j=L.length+1,s=x=>{let N=x*x/Math.PI;return N=N-Math.floor(N),N},c;for(let x=0,N=L.length;x<N;++x)c=L[x],c.plotX=c.prevX=Y(c.plotX,T.width*s(x)),c.plotY=c.prevY=Y(c.plotY,T.height*s(j+x)),c.dispX=0,c.dispY=0}force(T,...L){this.integration[T].apply(this,L)}barycenterForces(){this.getBarycenter(),this.force("barycenter")}getBarycenter(){let T=0,L=0,j=0;for(let s of this.nodes)L+=s.plotX*s.mass,j+=s.plotY*s.mass,T+=s.mass;return this.barycenter={x:L,y:j,xFactor:L/T,yFactor:j/T},this.barycenter}barnesHutApproximation(T,L){let j=this.getDistXY(T,L),s=this.vectorLength(j),c,x;return T!==L&&s!==0&&(L.isInternal?L.boxSize/s<this.options.theta&&s!==0?(x=this.repulsiveForce(s,this.k),this.force("repulsive",T,x*L.mass,j,s),c=!1):c=!0:(x=this.repulsiveForce(s,this.k),this.force("repulsive",T,x*L.mass,j,s))),c}repulsiveForces(){if(this.approximation==="barnes-hut")for(let T of this.nodes)this.quadTree.visitNodeRecursive(null,L=>this.barnesHutApproximation(T,L));else{let T,L,j;for(let s of this.nodes)for(let c of this.nodes)s!==c&&!s.fixedPosition&&(j=this.getDistXY(s,c),L=this.vectorLength(j),L!==0&&(T=this.repulsiveForce(L,this.k),this.force("repulsive",s,T*c.mass,j,L)))}}attractiveForces(){let T,L,j;for(let s of this.links)s.fromNode&&s.toNode&&(T=this.getDistXY(s.fromNode,s.toNode),L=this.vectorLength(T),L!==0&&(j=this.attractiveForce(L,this.k),this.force("attractive",s,j,T,L)))}applyLimits(){let T=this.nodes;for(let L of T)L.fixedPosition||(this.integration.integrate(this,L),this.applyLimitBox(L,this.box),L.dispX=0,L.dispY=0)}applyLimitBox(T,L){let j=T.radius;T.plotX=G(T.plotX,L.left+j,L.width-j),T.plotY=G(T.plotY,L.top+j,L.height-j)}coolDown(T,L,j){return T-L*j}isStable(){return Math.abs(this.systemTemperature-this.prevSystemTemperature)<1e-5||this.temperature<=0}getSystemTemperature(){let T=0;for(let L of this.nodes)T+=L.temperature;return T}vectorLength(T){return Math.sqrt(T.x*T.x+T.y*T.y)}getDistR(T,L){let j=this.getDistXY(T,L);return this.vectorLength(j)}getDistXY(T,L){let j=T.plotX-L.plotX,s=T.plotY-L.plotY;return{x:j,y:s,absX:Math.abs(j),absY:Math.abs(s)}}}return V}),r(e,"Series/PackedBubble/PackedBubbleLayout.js",[e["Series/GraphLayoutComposition.js"],e["Series/PackedBubble/PackedBubbleIntegration.js"],e["Series/Networkgraph/ReingoldFruchtermanLayout.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{addEvent:B,pick:$}=C;function K(){let Z=this.series,R=[];return Z.forEach(Y=>{Y.parentNode&&Y.parentNode.selected&&R.push(Y.parentNode)}),R}function G(){this.allDataPoints&&delete this.allDataPoints}class q extends l{constructor(){super(...arguments),this.index=NaN,this.nodes=[],this.series=[]}static compose(R){l.compose(R),t.integrations.packedbubble=n,t.layouts.packedbubble=q;let Y=R.prototype;Y.getSelectedParentNodes||(B(R,"beforeRedraw",G),Y.getSelectedParentNodes=K)}beforeStep(){this.options.marker&&this.series.forEach(R=>{R&&R.calculateParentRadius()})}isStable(){let R=Math.abs(this.prevSystemTemperature-this.systemTemperature),Y=10*this.systemTemperature/Math.sqrt(this.nodes.length);return Math.abs(Y)<1&&R<1e-5||this.temperature<=0}setCircularPositions(){let R=this,Y=R.box,V=R.nodes,H=V.length+1,T=2*Math.PI/H,L=R.options.initialPositionRadius,j,s,c=0;for(let x of V)R.options.splitSeries&&!x.isParentNode?(j=x.series.parentNode.plotX,s=x.series.parentNode.plotY):(j=Y.width/2,s=Y.height/2),x.plotX=x.prevX=$(x.plotX,j+L*Math.cos(x.index||c*T)),x.plotY=x.prevY=$(x.plotY,s+L*Math.sin(x.index||c*T)),x.dispX=0,x.dispY=0,c++}repulsiveForces(){let R=this,Y=R.options.bubblePadding,V=R.nodes,H,T,L;V.forEach(j=>{j.degree=j.mass,j.neighbours=0,V.forEach(s=>{H=0,j!==s&&!j.fixedPosition&&(R.options.seriesInteraction||j.series===s.series)&&(L=R.getDistXY(j,s),T=R.vectorLength(L)-(j.marker.radius+s.marker.radius+Y),T<0&&(j.degree+=.01,j.neighbours++,H=R.repulsiveForce(-T/Math.sqrt(j.neighbours),R.k,j,s)),R.force("repulsive",j,H*s.mass,L,s,T))})})}applyLimitBox(R,Y){let V=this,H=.01,T,L;V.options.splitSeries&&!R.isParentNode&&V.options.parentNodeLimit&&(T=V.getDistXY(R,R.series.parentNode),L=R.series.parentNodeRadius-R.marker.radiu
179s-V.vectorLength(T),L<0&&L>-2*R.marker.radius&&(R.plotX-=T.x*H,R.plotY-=T.y*H)),super.applyLimitBox(R,Y)}}return t.layouts.packedbubble=q,q}),r(e,"Series/SimulationSeriesUtilities.js",[e["Core/Utilities.js"],e["Core/Animation/AnimationUtilities.js"]],function(t,n){let{merge:l,syncTimeout:C}=t,{animObject:B}=n;function $(){var Z;let q=this.options.dataLabels;!(q!=null&&q.defer)||!((Z=this.options.layoutAlgorithm)!=null&&Z.enableSimulation)?this.deferDataLabels=!1:C(()=>{this.deferDataLabels=!1},q?B(q.animation).defer:0)}function K(){let q=this,Z=q.options.dataLabels;if(!q.dataLabelsGroup){let R=this.initDataLabelsGroup();return!q.chart.styledMode&&(Z!=null&&Z.style)&&R.css(Z.style),R.attr({opacity:0}),q.visible&&R.show(),R}return q.dataLabelsGroup.attr(l({opacity:1},this.getPlotBox("data-labels"))),q.dataLabelsGroup}return{initDataLabels:K,initDataLabelsDefer:$}}),r(e,"Extensions/TextPath.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{deg2rad:l}=t,{addEvent:C,merge:B,uniqueKey:$,defined:K,extend:G}=n;function q(H,T){T=B(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},T);let L=this.renderer.url,j=this.text||this,s=j.textPath,{attributes:c,enabled:x}=T;if(H=H||s&&s.path,s&&s.undo(),H&&x){let N=C(j,"afterModifyTree",P=>{if(H&&x){let S=H.attr("id");S||H.attr("id",S=$());let g={x:0,y:0};K(c.dx)&&(g.dx=c.dx,delete c.dx),K(c.dy)&&(g.dy=c.dy,delete c.dy),j.attr(g),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let v=P.nodes.slice(0);P.nodes.length=0,P.nodes[0]={tagName:"textPath",attributes:G(c,{"text-anchor":c.textAnchor,href:`${L}#${S}`}),children:v}}});j.textPath={path:H,undo:N}}else j.attr({dx:0,dy:0}),delete j.textPath;return this.added&&(j.textCache="",this.renderer.buildText(j)),this}function Z(H){var j;let T=H.bBox,L=(j=this.element)==null?void 0:j.querySelector("textPath");if(L){let s=[],{b:c,h:x}=this.renderer.fontMetrics(this.element),N=x-c,P=new RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),S=L.innerHTML.replace(P,"").split(/<tspan class="highcharts-br"[^>]*>/),g=S.length,v=(p,a)=>{let{x:o,y:u}=a,d=(L.getRotationOfChar(p)-90)*l,h=Math.cos(d),m=Math.sin(d);return[[o-N*h,u-N*m],[o+c*h,u+c*m]]};for(let p=0,a=0;a<g;a++){let o=S[a],u=o.length;for(let d=0;d<u;d+=5)try{let h=p+d+a,[m,f]=v(h,L.getStartPositionOfChar(h));d===0?(s.push(f),s.push(m)):(a===0&&s.unshift(f),a===g-1&&s.push(m))}catch{break}p+=u-1;try{let d=p+a,h=L.getEndPositionOfChar(d),[m,f]=v(d,h);s.unshift(f),s.unshift(m)}catch{break}}s.length&&s.push(s[0].slice()),T.polygon=s}return T}function R(H){var s;let T=H.labelOptions,L=H.point,j=T[L.formatPrefix+"TextPath"]||T.textPath;j&&!T.useHTML&&(this.setTextPath(((s=L.getDataLabelPath)==null?void 0:s.call(L,this))||L.graphic,j),L.dataLabelPath&&!j.enabled&&(L.dataLabelPath=L.dataLabelPath.destroy()))}function Y(H){C(H,"afterGetBBox",Z),C(H,"beforeAddingDataLabel",R);let T=H.prototype;T.setTextPath||(T.setTextPath=q)}return{compose:Y}}),r(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Series/DragNodesComposition.js"],e["Series/GraphLayoutComposition.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Series/PackedBubble/PackedBubbleSeriesDefaults.js"],e["Series/PackedBubble/PackedBubbleLayout.js"],e["Core/Series/SeriesRegistry.js"],e["Series/SimulationSeriesUtilities.js"],e["Core/Utilities.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Extensions/TextPath.js"]],function(t,n,l,C,B,$,K,G,q,Z,R,Y){let{parse:V}=t,{noop:H}=C,{series:{prototype:T},seriesTypes:{bubble:L}}=G,{initDataLabels:j,initDataLabelsDefer:s}=q,{addEvent:c,clamp:x,defined:N,extend:P,fireEvent:S,isArray:g,isNumber:v,merge:p,pick:a}=Z;Y.compose(R);class o extends L{constructor(){super(...arguments),this.parentNodeMass=0,this.deferDataLabels=!0}static compose(d,h,m){L.compose(d,h,m),n.compose(h),K.compose(h)}accumulateAllPoints(){let d=this.chart,h=[],m;for(let f of d.series)if(f.is("packedbubble")&&f.reserveSpace()){m=f.yData||[];for(let y=0;y<m.length;y++)h.push([null,null,m[y],f.index,y,{id:y,marker:{radius:0}}])}return h}addLayout(){let d=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},h=d.type||"packedbubble",m=this.chart.options.chart,f=this.chart.graphLayoutsStorage,y=this.chart.graphLayoutsLookup,I;f||(this.chart.graphLayoutsStorage=f={}
179,this.chart.graphLayoutsLookup=y=[]),I=f[h],I||(d.enableSimulation=N(m.forExport)?!m.forExport:d.enableSimulation,f[h]=I=new l.layouts[h],I.init(d),y.splice(I.index,0,I)),this.layout=I,this.points.forEach(E=>{E.mass=2,E.degree=1,E.collisionNmb=1}),I.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),I.addElementsToCollection([this],I.series),I.addElementsToCollection(this.points,I.nodes)}addSeriesLayout(){let d=this.options.layoutAlgorithm=this.options.layoutAlgorithm||{},h=d.type||"packedbubble",m=this.chart.graphLayoutsStorage,f=this.chart.graphLayoutsLookup,y=p(d,d.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),I=m[h+"-series"];I||(m[h+"-series"]=I=new l.layouts[h],I.init(y),f.splice(I.index,0,I)),this.parentNodeLayout=I,this.createParentNodes()}calculateParentRadius(){let d=this.seriesBox(),h=20,m=20;this.parentNodeRadius=x(Math.sqrt(2*this.parentNodeMass/Math.PI)+h,m,d?Math.max(Math.sqrt(Math.pow(d.width,2)+Math.pow(d.height,2))/2+h,m):Math.sqrt(2*this.parentNodeMass/Math.PI)+h),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)}calculateZExtremes(){let d=this.chart,h=d.series,m=this.options.zMin,f=this.options.zMax,y=1/0,I=-1/0;return m&&f?[m,f]:(h.forEach(E=>{E.yData.forEach(M=>{N(M)&&(M>I&&(I=M),M<y&&(y=M))})}),m=a(m,y),f=a(f,I),[m,f])}checkOverlap(d,h){let m=d[0]-h[0],f=d[1]-h[1],y=d[2]+h[2];return Math.sqrt(m*m+f*f)-Math.abs(y)<-.001}createParentNodes(){let d=this.pointClass,h=this.chart,m=this.parentNodeLayout,f=this.layout.options,y,I=this.parentNode,E={radius:this.parentNodeRadius,lineColor:this.color,fillColor:V(this.color).brighten(.4).get()};f.parentNodeOptions&&(E=p(f.parentNodeOptions.marker||{},E)),this.parentNodeMass=0,this.points.forEach(M=>{this.parentNodeMass+=Math.PI*Math.pow(M.marker.radius,2)}),this.calculateParentRadius(),m.nodes.forEach(M=>{M.seriesIndex===this.index&&(y=!0)}),m.setArea(0,0,h.plotWidth,h.plotHeight),y||(I||(I=new d(this,{mass:this.parentNodeRadius/2,marker:E,dataLabels:{inside:!1},states:{normal:{marker:E},hover:{marker:E}},dataLabelOnNull:!0,degree:this.parentNodeRadius,isParentNode:!0,seriesIndex:this.index})),this.parentNode&&(I.plotX=this.parentNode.plotX,I.plotY=this.parentNode.plotY),this.parentNode=I,m.addElementsToCollection([this],m.series),m.addElementsToCollection([I],m.nodes))}deferLayout(){let d=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),d.splitSeries&&this.addSeriesLayout())}destroy(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(d=>{d.removeElementFromCollection(this,d.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),T.destroy.apply(this,arguments)}drawDataLabels(){this.deferDataLabels||(T.drawDataLabels.call(this,this.points),this.parentNode&&(this.parentNode.formatPrefix="parentNode",T.drawDataLabels.call(this,[this.parentNode])))}drawGraph(){var y;if(!this.layout||!this.layout.options.splitSeries)return;let d=this.chart,h=this.layout.options.parentNodeOptions.marker,m={fill:h.fillColor||V(this.color).brighten(.4).get(),opacity:h.fillOpacity,stroke:h.lineColor||this.color,"stroke-width":a(h.lineWidth,this.options.lineWidth)},f={};this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,d.seriesGroup),(y=this.group)==null||y.attr({zIndex:2}),this.calculateParentRadius(),this.parentNode&&N(this.parentNode.plotX)&&N(this.parentNode.plotY)&&N(this.parentNodeRadius)&&(f=p({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:this.parentNodeRadius*2,height:this.parentNodeRadius*2},m),this.parentNode.graphic||(this.graph=this.parentNode.graphic=d.renderer.symbol(m.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(f))}drawTracker(){let d=this.parentNode,h;super.drawTracker(),d&&(h=g(d.dataLabels)?d.dataLabels:d.dataLabel?[d.dataLabel]:[],d.graphic&&(d.graphic.element.point=d),h.forEach(m=>{(m.div||m.element).point=d}))}getPointRadius(){let d=this.chart,h=d.plotWidth,m=d.plotHeight,f=this.options,y=f.useSimulation,I=Math.min(h,m),E={},M=[],D=d.allDataPoints||[],F=D.length,X,_,w,A;["minSize","maxSize"].forEach(b=>{let k=parseInt(f[b],10),O=/%$/.test(f[b]);E[b]=O?I*k/100:k*Math.sqrt(F)}),d.minRadius=X=E.minSize/Math.sqrt(F),d.maxRadius=_=E.maxSize/Math.sqrt(F);let U=y?this.calculateZExtremes():[X,_];D.forEach((b,k)=>{w=y?x(b[2],U[0],U[1]):b[2],A=this.getRadius(U[0],U[1],X,_,w),A===0&&(A=null),D[k][2]=A,M.push(A)}),this.radii=M}init(){return T.init.apply(this,arguments),s.call(this),this.eventsToUnbind.push(c(this,"updatedData",function(){this.chart.series.forEac
179h(d=>{d.type===this.type&&(d.isDirty=!0)},this)})),this}onMouseUp(d){let h=d;if(h.fixedPosition&&!h.removed){let m=this.layout,f=this.parentNodeLayout,y,I;f&&m.options.dragBetweenSeries&&f.nodes.forEach(E=>{h&&h.marker&&E!==h.series.parentNode&&(y=m.getDistXY(h,E),I=m.vectorLength(y)-E.marker.radius-h.marker.radius,I<0&&(E.series.addPoint(p(h.options,{plotX:h.plotX,plotY:h.plotY}),!1),m.removeElementFromCollection(h,m.nodes),h.remove()))}),n.onMouseUp.apply(this,arguments)}}placeBubbles(d){let h=this.checkOverlap,m=this.positionBubble,f=[],y=1,I=0,E=0,M,D=[],F,X=d.sort((_,w)=>w[2]-_[2]);if(X.length){if(f.push([[0,0,X[0][2],X[0][3],X[0][4]]]),X.length>1)for(f.push([[0,0-X[1][2]-X[0][2],X[1][2],X[1][3],X[1][4]]]),F=2;F<X.length;F++)X[F][2]=X[F][2]||1,M=m(f[y][I],f[y-1][E],X[F]),h(M,f[y][0])?(f.push([]),E=0,f[y+1].push(m(f[y][I],f[y][0],X[F])),y++,I=0):y>1&&f[y-1][E+1]&&h(M,f[y-1][E+1])?(E++,f[y].push(m(f[y][I],f[y-1][E],X[F])),I++):(I++,f[y].push(M));this.chart.stages=f,this.chart.rawPositions=[].concat.apply([],f),this.resizeRadius(),D=this.chart.rawPositions}return D}pointAttribs(d,h){let m=this.options,f=d&&d.isParentNode,y=m.marker;f&&m.layoutAlgorithm&&m.layoutAlgorithm.parentNodeOptions&&(y=m.layoutAlgorithm.parentNodeOptions.marker);let I=y.fillOpacity,E=T.pointAttribs.call(this,d,h);return I!==1&&(E["fill-opacity"]=I),E}positionBubble(d,h,m){let f=Math.sqrt,y=Math.asin,I=Math.acos,E=Math.pow,M=Math.abs,D=f(E(d[0]-h[0],2)+E(d[1]-h[1],2)),F=I((E(D,2)+E(m[2]+h[2],2)-E(m[2]+d[2],2))/(2*(m[2]+h[2])*D)),X=y(M(d[0]-h[0])/D),_=d[1]-h[1]<0?0:Math.PI,w=(d[0]-h[0])*(d[1]-h[1])<0?1:-1,A=_+F+X*w,U=Math.cos(A),b=Math.sin(A),k=h[0]+(h[2]+m[2])*b,O=h[1]-(h[2]+m[2])*U;return[k,O,m[2],m[3],m[4]]}render(){let d=[];T.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach(h=>
179{g(h.dataLabels)&&h.dataLabels.forEach(m=>{d.push(m)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(d))}resizeRadius(){let d=this.chart,h=d.rawPositions,m=Math.min,f=Math.max,y=d.plotLeft,I=d.plotTop,E=d.plotHeight,M=d.plotWidth,D,F,X,_,w;D=X=Number.POSITIVE_INFINITY,F=_=Number.NEGATIVE_INFINITY;for(let k of h)w=k[2],D=m(D,k[0]-w),F=f(F,k[0]+w),X=m(X,k[1]-w),_=f(_,k[1]+w);let A=[F-D,_-X],U=[(M-y)/A[0],(E-I)/A[1]],b=m.apply([],U);if(Math.abs(b-1)>1e-10){for(let k of h)k[2]*=b;this.placeBubbles(h)}else d.diffY=E/2+I-X-(_-X)/2,d.diffX=M/2+y-D-(F-D)/2}seriesBox(){let d=this.chart,h=this.data,m=Math.max,f=Math.min,y=[d.plotLeft,d.plotLeft+d.plotWidth,d.plotTop,d.plotTop+d.plotHeight],I;return h.forEach(E=>{N(E.plotX)&&N(E.plotY)&&E.marker.radius&&(I=E.marker.radius,y[0]=f(y[0],E.plotX-I),y[1]=m(y[1],E.plotX+I),y[2]=f(y[2],E.plotY-I),y[3]=m(y[3],E.plotY+I))}),v(y.width/y.height)?y:null}setVisible(){let d=this;T.setVisible.apply(d,arguments),d.parentNodeLayout&&d.graph?d.visible?(d.graph.show(),d.parentNode.dataLabel&&d.parentNode.dataLabel.show()):(d.graph.hide(),d.parentNodeLayout.removeElementFromCollection(d.parentNode,d.parentNodeLayout.nodes),d.parentNode.dataLabel&&d.parentNode.dataLabel.hide()):d.layout&&(d.visible?d.layout.addElementsToCollection(d.points,d.layout.nodes):d.points.forEach(h=>{d.layout.removeElementFromCollection(h,d.layout.nodes)}))}translate(){let d=this.chart,h=this.data,m=this.index,f=this.options.useSimulation,y,I,E;this.processedXData=this.xData,this.generatePoints(),N(d.allDataPoints)||(d.allDataPoints=this.accumulateAllPoints(),this.getPointRadius()),f?E=d.allDataPoints:(E=this.placeBubbles(d.allDataPoints),this.options.draggable=!1);for(let M of E)M[3]===m&&(y=h[M[4]],I=a(M[2],void 0),f||(y.plotX=M[0]-d.plotLeft+d.diffX,y.plotY=M[1]-d.plotTop+d.diffY),v(I)&&(y.marker=P(y.marker,{radius:I,width:2*I,height:2*I}),y.radius=I));f&&this.deferLayout(),S(this,"afterTranslate")}}return o.defaultOptions=p(L.defaultOptions,$),P(o.prototype,{pointClass:B,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointArrayMap:["value"],pointValKey:"value",requireSorting:!1,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"],initDataLabels:j,alignDataLabel:T.alignDataLabel,indexateNodes:H,onMouseDown:n.onMouseDown,onMouseMove:n.onMouseMove,redrawHalo:n.redrawHalo,searchPoint:H}),G.registerSeriesType("packedbubble",o),o}),r(e,"Series/Polygon/PolygonSeriesDefaults.js",[],function(){return{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0,legendSymbol:"rectangle"}}),r(e,"Series/Polygon/PolygonSeries.js",[e["Core/Globals.js"],e["Series/Polygon/PolygonSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{noop:B}=t,{area:$,line:K,scatter:G}=l.seriesTypes,{extend:q,merge:Z}=C;class R extends G{getGraphPath(){let V=K.prototype.getGraphPath.call(this),H=V.length+1;for(;H--;)(H===V.length||V[H][0]==="M")&&H>0&&V.splice(H,0,["Z"]);return this.areaPath=V,V}drawGraph(){this.options.fillColor=this.color,$.prototype.drawGraph.call(this)}}return R.defaultOptions=Z(G.defaultOptions,n),q(R.prototype,{type:"polygon",drawTracker:K.prototype.drawTracker,setStackedPoints:B}),l.registerSeriesType("polygon",R),R}),r(e,"Core/Axis/RadialAxisDefaults.js",[],function(){return{circular:{gridLineWidth:1,labels:{align:void 0,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},radial:{gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",padding:5,x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}},radialGauge:{endOnTick:!1,gridLineWidth:0,labels:{align:"center",distance:-25,x:0,y:void 0},lineWidth:1,minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickPosition:"inside",tickWidth:2,title:{rotation:0,text:""},zIndex:2}}}),r(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/RadialAxisDefaults.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{defaultOptions:B}=n,{composed:$,noop:K}=l,{addEvent:G,correctFloat:q,defined:Z,extend:R,fireEvent:Y,isObject:V,merge:H,pick:T,pushUnique:L,relativeLength:j,wrap:s}=C;var c;return function(x){x.radialDefaultOptions=H(t);function N(){this.autoConnect=this.isCircular&&typeof T(this.userMax,this.options.max)>"u"&&q(this.endAngleRad-this.startAngleRad)===q(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange||0)}function P(z,W){return L($,"Axis.Radial")&&(G(z,"afterInit",y),G(z,"autoLabelAlign",I),G(z,"destroy",E),G(z,"init",M),G(z,"initialAxisTranslation",D),G(W,"afterGetLabelPosition",F),G(W,"afterGetPosition",X),G(l,"setOptions",_),s(W.prototype,"getMarkPath",O)),z}x.compose=P;function S(){return()=>{if(this.isRadial&&this.tickPositions&&this.options.labels&&this.options.labels.allowOverlap!==!0)return this.tickPositions.map(z=>this.ticks[z]&&this.ticks[z].label).filter(z=>!!z)}}function g(){return K}function v(z,W,Q){let ee=this.pane.center,se=z.value,ae,he,ce,ie;
179return this.isCircular?(Z(se)?z.point&&(ae=z.point.shapeArgs||{},ae.start&&(se=this.chart.inverted?this.translate(z.point.rectPlotY,!0):z.point.x)):(ce=z.chartX||0,ie=z.chartY||0,se=this.translate(Math.atan2(ie-Q,ce-W)-this.startAngleRad,!0)),he=this.getPosition(se),ce=he.x,ie=he.y):(Z(se)||(ce=z.chartX,ie=z.chartY),Z(ce)&&Z(ie)&&(Q=ee[1]+this.chart.plotTop,se=this.translate(Math.min(Math.sqrt(Math.pow(ce-W,2)+Math.pow(ie-Q,2)),ee[2]/2)-ee[3]/2,!0))),[se,ce||0,ie||0]}function p(z,W,Q){let ee=this.pane.center,se=this.chart,ae=this.left||0,he=this.top||0,ce,ie=T(W,ee[2]/2-this.offset),te;return typeof Q>"u"&&(Q=this.horiz?0:this.center&&-this.center[3]/2),Q&&(ie+=Q),this.isCircular||typeof W<"u"?(te=this.chart.renderer.symbols.arc(ae+ee[0],he+ee[1],ie,ie,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0}),te.xBounds=[ae+ee[0]],te.yBounds=[he+ee[1]-ie]):(ce=this.postTranslate(this.angleRad,ie),te=[["M",this.center[0]+se.plotLeft,this.center[1]+se.plotTop],["L",ce.x,ce.y]]),te}function a(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function o(z,W,Q){let ee=this.chart,se=xe=>{if(typeof xe=="string"){let Ce=parseInt(xe,10);return oe.test(xe)&&(Ce=Ce*ce/100),Ce}return xe},ae=this.center,he=this.startAngleRad,ce=ae[2]/2,ie=Math.min(this.offset,0),te=this.left||0,ne=this.top||0,oe=/%$/,le=this.isCircular,ue,de,fe,me,ge,Ee,ve=T(se(Q.outerRadius),ce),ye=se(Q.innerRadius),Se=T(se(Q.thickness),10);if(this.options.gridLineInterpolation==="polygon")Ee=this.getPlotLinePath({value:z}).concat(this.getPlotLinePath({value:W,reverse:!0}));else{z=Math.max(z,this.min),W=Math.min(W,this.max);let xe=this.translate(z),Ce=this.translate(W);le||(ve=xe||0,ye=Ce||0),Q.shape==="circle"||!le?(ue=-Math.PI/2,de=Math.PI*1.5,ge=!0):(ue=he+(xe||0),de=he+(Ce||0)),ve-=ie,Se-=ie,Ee=ee.renderer.symbols.arc(te+ae[0],ne+ae[1],ve,ve,{start:Math.min(ue,de),end:Math.max(ue,de),innerR:T(ye,ve-Se),open:ge,borderRadius:Q.borderRadius}),le&&(fe=(de+ue)/2,me=te+ae[0]+ae[2]/2*Math.cos(fe),Ee.xBounds=fe>-Math.PI/2&&fe<Math.PI/2?[me,ee.plotWidth]:[0,me],Ee.yBounds=[ne+ae[1]+ae[2]/2*Math.sin(fe)],Ee.yBounds[0]+=fe>-Math.PI&&fe<0||fe>Math.PI?-10:10)}return Ee}function u(z){let W=this.pane.center,Q=this.chart,ee=Q.inverted,se=z.reverse,ae=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},he=ae.innerRadius||"0%",ce=ae.outerRadius||"100%",ie=W[0]+Q.plotLeft,te=W[1]+Q.plotTop,ne=this.height,oe=z.isCrosshair,le=W[3]/2,ue=z.value,de,fe,me,ge,Ee,ve,ye,Se,xe,Ce=this.getPosition(ue),Oe=Ce.x,Pe=Ce.y;if(oe&&(Se=this.getCrosshairPosition(z,ie,te),ue=Se[0],Oe=Se[1],Pe=Se[2]),this.isCircular)fe=Math.sqrt(Math.pow(Oe-ie,2)+Math.pow(Pe-te,2)),me=typeof he=="string"?j(he,1):he/fe,ge=typeof ce=="string"?j(ce,1):ce/fe,W&&le&&(de=le/fe,me<de&&(me=de),ge<de&&(ge=de)),xe=[["M",ie+me*(Oe-ie),te-me*(te-Pe)],["L",Oe-(1-ge)*(Oe-ie),Pe+(1-ge)*(te-Pe)]];else if(ue=this.translate(ue),ue&&(ue<0||ue>ne)&&(ue=0),this.options.gridLineInterpolation==="circle")xe=this.getLinePath(0,ue,le);else if(xe=[],Q[ee?"yAxis":"xAxis"].forEach(He=>{He.pane===this.pane&&(Ee=He)}),Ee){ye=Ee.tickPositions,Ee.autoConnect&&(ye=ye.concat([ye[0]])),se&&(ye=ye.slice().reverse()),ue&&(ue+=le);for(let He=0;He<ye.length;He++)ve=Ee.getPosition(ye[He],ue),xe.push(He?["L",ve.x,ve.y]:["M",ve.x,ve.y])}return xe}function d(z,W){let Q=this.translate(z);return this.postTranslate(this.isCircular?Q:this.angleRad,T(this.isCircular?W:Q<0?0:Q,this.center[2]/2)-this.offset)}function h(){let z=this.center,W=this.chart,Q=this.options.title;return{x:W.plotLeft+z[0]+(Q.x||0),y:W.plotTop+z[1]-{high:.5,middle:.25,low:0}[Q.align]*z[2]+(Q.y||0)}}function m(z){z.beforeSetTickPositions=N,z.createLabelCollector=S,z.getCrosshairPosition=v,z.getLinePath=p,z.getOffset=a,z.getPlotBandPath=o,z.getPlotLinePath=u,z.getPosition=d,z.getTitlePosition=h,z.postTranslate=w,z.setAxisSize=U,z.setAxisTranslation=b,z.setOptions=k}function f(z){z.isHidden=!0,z.createLabelCollector=g,z.getOffset=K,z.redraw=A,z.render=A,z.setScale=K,z.setCategories=K,z.setTitle=K}function y(){let z=this.chart,W=this.options,Q=z.angular&&this.isXAxis,ee=this.pane,se=ee&&ee.options;if(!Q&&ee&&(z.angular||z.polar)){let ae=Math.PI*2,he=(T(se.startAngle,0)-90)*Math.PI/180,ce=(T(se.endAngle,T(se.startAngle,0)+360)-90)*Math.PI/180;this.angleRad=(W.angle||0)*Math.PI/180,this.startAngleRad=he,this.endAngleRad=ce,this.offset=W.offset||0;let ie=(he%ae+ae)%ae,te=(ce%ae+ae)%ae;ie>Math.PI&&(ie-=ae),te>Math.PI&&(te-=ae),this.normalizedStartAngleRad=ie,this.normalizedEndAngleRad=te}}function I(z){this.isRadial&&(z.align=void 0,z.preventDefault())}
179function E(){if(this.chart&&this.chart.labelCollectors){let z=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;z>=0&&this.chart.labelCollectors.splice(z,1)}}function M(z){let W=this.chart,Q=W.angular,ee=W.polar,se=this.isXAxis,ae=this.coll,he=Q&&se,ce=z.userOptions.pane||0,ie=this.pane=W.pane&&W.pane[ce],te;if(ae==="colorAxis"){this.isRadial=!1;return}Q?(he?f(this):m(this),te=!se):ee&&(m(this),te=this.horiz),Q||ee?(this.isRadial=!0,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&W.labelCollectors.push(this.labelCollector)):this.isRadial=!1,ie&&te&&(ie.axis=this),this.isCircular=te}function D(){this.isRadial&&this.beforeSetTickPositions()}function F(z){let W=this.label;if(!W)return;let Q=this.axis,ee=W.getBBox(),se=Q.options.labels,ae=(Q.translate(this.pos)+Q.startAngleRad+Math.PI/2)/Math.PI*180%360,he=Math.round(ae),ce=Z(se.y)?0:-ee.height*.3,ie=se.y,te,ne=20,oe=se.align,le="end",ue=he<0?he+360:he,de=ue,fe=0,me=0;Q.isRadial&&(te=Q.getPosition(this.pos,Q.center[2]/2+j(T(se.distance,-25),Q.center[2]/2,-Q.center[2]/2)),se.rotation==="auto"?W.attr({rotation:ae}):Z(ie)||(ie=Q.chart.renderer.fontMetrics(W).b-ee.height/2),Z(oe)||(Q.isCircular?(ee.width>Q.len*Q.tickInterval/(Q.max-Q.min)&&(ne=0),ae>ne&&ae<180-ne?oe="left":ae>180+ne&&ae<360-ne?oe="right":oe="center"):oe="center",W.attr({align:oe})),oe==="auto"&&Q.tickPositions.length===2&&Q.isCircular&&(ue>90&&ue<180?ue=180-ue:ue>270&&ue<=360&&(ue=540-ue),de>180&&de<=360&&(de=360-de),(Q.pane.options.startAngle===he||Q.pane.options.startAngle===he+360||Q.pane.options.startAngle===he-360)&&(le="start"),he>=-90&&he<=90||he>=-360&&he<=-270||he>=270&&he<=360?oe=le==="start"?"right":"left":oe=le==="start"?"left":"right",de>70&&de<110&&(oe="center"),ue<15||ue>=180&&ue<195?fe=ee.height*.3:ue>=15&&ue<=35?fe=le==="start"?0:ee.height*.75:ue>=195&&ue<=215?fe=le==="start"?ee.height*.75:0:ue>35&&ue<=90?fe=le==="start"?-ee.height*.25:ee.height:ue>215&&ue<=270&&(fe=le==="start"?ee.height:-ee.height*.25),de<15?me=le==="start"?-ee.height*.15:ee.height*.15:de>165&&de<=180&&(me=le==="start"?ee.height*.15:-ee.height*.15),W.attr({align:oe}),W.translate(me,fe+ce)),z.pos.x=te.x+(se.x||0),z.pos.y=te.y+(ie||0))}function X(z){this.axis.getPosition&&R(z.pos,this.axis.getPosition(this.pos))}function _({options:z}){z.xAxis&&H(!0,x.radialDefaultOptions.circular,z.xAxis),z.yAxis&&H(!0,x.radialDefaultOptions.radialGauge,z.
179yAxis)}function w(z,W){let Q=this.chart,ee=this.center;return z=this.startAngleRad+z,{x:Q.plotLeft+ee[0]+Math.cos(z)*W,y:Q.plotTop+ee[1]+Math.sin(z)*W}}function A(){this.isDirty=!1}function U(){let z=this.constructor.prototype,W,Q;z.setAxisSize.call(this),this.isRadial&&(this.pane.updateCenter(this),W=this.center=this.pane.center.slice(),this.isCircular?this.sector=this.endAngleRad-this.startAngleRad:(Q=this.postTranslate(this.angleRad,W[3]/2),W[0]=Q.x-this.chart.plotLeft,W[1]=Q.y-this.chart.plotTop),this.len=this.width=this.height=(W[2]-W[3])*T(this.sector,1)/2)}function b(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.isCircular?this.transA=(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.transA=(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.isXAxis?this.minPixelPadding=this.transA*this.minPointOffset:this.minPixelPadding=0)}function k(z){let{coll:W}=this,{angular:Q,inverted:ee,polar:se}=this.chart,ae={};Q?this.isXAxis||(ae=H(B.yAxis,x.radialDefaultOptions.radialGauge)):se&&(ae=this.horiz?H(B.xAxis,x.radialDefaultOptions.circular):H(W==="xAxis"?B.xAxis:B.yAxis,x.radialDefaultOptions.radial)),ee&&W==="yAxis"&&(ae.stackLabels=V(B.yAxis,!0)?B.yAxis.stackLabels:{},ae.reversedStacks=!0);let he=this.options=H(ae,z);he.plotBands||(he.plotBands=[]),Y(this,"afterSetOptions")}function O(z,W,Q,ee,se,ae,he){let ce=this.axis,ie,te;return ce.isRadial?(ie=ce.getPosition(this.pos,ce.center[2]/2+ee),te=["M",W,Q,"L",ie.x,ie.y]):te=z.call(this,W,Q,ee,se,ae,he),te}}(c||(c={})),c}),r(e,"Series/PolarComposition.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Extensions/Pane/Pane.js"],e["Core/Axis/RadialAxis.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{animObject:K}=t,{composed:G}=n,{addEvent:q,defined:Z,find:R,isNumber:Y,merge:V,pick:H,pushUnique:T,relativeLength:L,splat:j,uniqueKey:s,wrap:c}=$;function x(w,A,U,b,k){let O=s(),z=w.createElement("clipPath").attr({id:O}).add(w.defs),W=k?w.arc(A,U,b,k,0,2*Math.PI).add(z):w.circle(A,U,b).add(z);return W.id=O,W.clipPath=z,W}function N(w,A){let U,b;return A.align===null&&(w>20&&w<160?U="left":w>200&&w<340?U="right":U="center",A.align=U),A.verticalAlign===null&&(w<45||w>315?b="bottom":w>135&&w<225?b="top":b="middle",A.verticalAlign=b),A}function P(w,A,U,b){let z=b?1:0,W,Q,ee,se,ae,he;A>=0&&A<=w.length-1?W=A:A<0?W=w.length-1+A:W=0;let ce=W-1<0?w.length-(1+z):W-1,ie=W+1>w.length-1?z:W+1,te=w[ce],ne=w[ie],oe=te.plotX,le=te.plotY,ue=ne.plotX,de=ne.plotY,fe=w[W].plotX,me=w[W].plotY;Q=(1.5*fe+oe)/2.5,ee=(1.5*me+le)/2.5,se=(1.5*fe+ue)/2.5,ae=(1.5*me+de)/2.5;let ge=Math.sqrt(Math.pow(Q-fe,2)+Math.pow(ee-me,2)),Ee=Math.sqrt(Math.pow(se-fe,2)+Math.pow(ae-me,2)),ve=Math.atan2(ee-me,Q-fe),ye=Math.atan2(ae-me,se-fe);he=Math.PI/2+(ve+ye)/2,Math.abs(ve-he)>Math.PI/2&&(he-=Math.PI),Q=fe+Math.cos(he)*ge,ee=me+Math.sin(he)*ge,se=fe+Math.cos(Math.PI+he)*Ee,ae=me+Math.sin(Math.PI+he)*Ee;let Se={rightContX:se,rightContY:ae,leftContX:Q,leftContY:ee,plotX:fe,plotY:me};return U&&(Se.prevPointCont=P(w,ce,!1,b)),Se}function S(){(this.pane||[]).forEach(w=>{w.render()})}function g(w){let A=w.args[0].xAxis,U=w.args[0].yAxis,b=w.args[0].chart;A&&U&&(U.gridLineInterpolation==="polygon"?(A.startOnTick=!0,A.endOnTick=!0):A.gridLineInterpolation==="polygon"&&b.inverted&&(U.startOnTick=!0,U.endOnTick=!0))}function v(){this.pane||(this.pane=[]),this.options.pane=j(this.options.pane),this.options.pane.forEach(w=>{new C(w,this)},this)}function p(w){let A=w.args.marker,U=this.chart.xAxis[0],b=this.chart.yAxis[0],k=this.chart.inverted,O=k?b:U,z=k?U:b;if(this.chart.polar){w.preventDefault();let W=(A.attr?A.attr("start"):A.start)-O.startAngleRad,Q=A.attr?A.attr("r"):A.r,ee=(A.attr?A.attr("end"):A.end)-O.startAngleRad,se=A.attr?A.attr("innerR"):A.innerR;w.result.x=W+O.pos,w.result.width=ee-W,w.result.y=z.len+z.pos-Q,w.result.height=Q-se}}function a(w){let A=this.chart;if(A.polar&&A.hoverPane&&A.hoverPane.axis){w.preventDefault();let U=A.hoverPane.center,b=A.mouseDownX||0,k=A.mouseDownY||0,O=w.args.chartY,z=w.args.chartX,W=Math.PI*2,Q=A.hoverPane.axis.startAngleRad,ee=A.hoverPane.axis.endAngleRad,se=A.inverted?A.xAxis[0]:A.yAxis[0],ae={},he="arc";if(ae.x=U[0]+A.plotLeft,ae.y=U[1]+A.plotTop,this.zoomHor){let ce=Q>0?ee-Q:Math.abs(Q)+Math.abs(ee),ie=Math.atan2(k-A.plotTop-U[1],b-A.plotLeft-U[0])-Q,te=Math.atan2(O-A.plotTop-U[1],z-A.plotLeft-U[0])-Q;if(ae.r=U[2]/2,ae.innerR=U[3]/2,ie<=0&&(ie+=W),te<=0&&(te+=W),te<ie&&(te=[ie,ie=te][0]),ce<W){let le=ee+(W-ce)/2;Q+te>le&&(te=ie,ie=Q<=0?Q:0)}let ne=ae.start=Math.max(ie+Q,Q),oe=ae.end=Math.min(te+Q,ee);
179if(se.options.gridLineInterpolation==="polygon"){let le=A.hoverPane.axis,ue=ne-le.startAngleRad+le.pos,de=oe-ne,fe=se.getPlotLinePath({value:se.max}),me=le.toValue(ue),ge=le.toValue(ue+de);if(me<le.getExtremes().min){let{min:Ee,max:ve}=le.getExtremes();me=ve-(Ee-me)}if(ge<le.getExtremes().min){let{min:Ee,max:ve}=le.getExtremes();ge=ve-(Ee-ge)}ge<me&&(ge=[me,me=ge][0]),fe=h(fe,me,ge,le),fe.push(["L",U[0]+A.plotLeft,A.plotTop+U[1]]),ae.d=fe,he="path"}}if(this.zoomVert){let ce=A.inverted?A.xAxis[0]:A.yAxis[0],ie=Math.sqrt(Math.pow(b-A.plotLeft-U[0],2)+Math.pow(k-A.plotTop-U[1],2)),te=Math.sqrt(Math.pow(z-A.plotLeft-U[0],2)+Math.pow(O-A.plotTop-U[1],2));if(te<ie&&(ie=[te,te=ie][0]),te>U[2]/2&&(te=U[2]/2),ie<U[3]/2&&(ie=U[3]/2),this.zoomHor||(ae.start=Q,ae.end=ee),ae.r=te,ae.innerR=ie,ce.options.gridLineInterpolation==="polygon"){let ne=ce.toValue(ce.len+ce.pos-ie),oe=ce.toValue(ce.len+ce.pos-te),le=ce.getPlotLinePath({value:oe}).concat(ce.getPlotLinePath({value:ne,reverse:!0}));ae.d=le,he="path"}}if(this.zoomHor&&this.zoomVert&&se.options.gridLineInterpolation==="polygon"){let ce=A.hoverPane.axis,ie=ae.start||0,te=ae.end||0,ne=ie-ce.startAngleRad+ce.pos,oe=te-ie,le=ce.toValue(ne),ue=ce.toValue(ne+oe);if(ae.d instanceof Array){let de=ae.d.slice(0,ae.d.length/2),fe=ae.d.slice(ae.d.length/2,ae.d.length);fe=[...fe].reverse();let me=A.hoverPane.axis;de=h(de,le,ue,me),fe=h(fe,le,ue,me),fe&&(fe[0][0]="L"),fe=[...fe].reverse(),ae.d=de.concat(fe),he="path"}}w.attrs=ae,w.shapeType=he}}function o(){let w=this.chart;w.polar&&(this.polar=new _(this),w.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function u(){if(this.chart.polar&&this.xAxis){let w=this,{xAxis:A,yAxis:U}=w,b=w.chart;w.kdByAngle=b.tooltip&&b.tooltip.shared,w.kdByAngle||b.inverted?w.searchPoint=d:w.options.findNearestPointBy="xy";let k=w.points,O=k.length;for(;O--;)!w.is("column")&&!w.is("columnrange")&&w.polar.toXY(k[O]),!b.hasParallelCoordinates&&!w.yAxis.reversed&&(H(k[O].y,Number.MIN_VALUE)<U.min||k[O].x<A.min||k[O].x>A.max?(k[O].isNull=!0,k[O].plotY=NaN):k[O].isNull=k[O].isValid&&!k[O].isValid());this.hasClipCircleSetter||(this.hasClipCircleSetter=!!w.eventsToUnbind.push(q(w,"afterRender",function(){let z;b.polar&&this.options.clip!==!1&&(z=this.yAxis.pane.center,this.clipCircle?this.clipCircle.animate({x:z[0],y:z[1],r:z[2]/2,innerR:z[3]/2}):this.clipCircle=x(b.renderer,z[0],z[1],z[2]/2,z[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop)})))}}function d(w){let A=this,U=A.chart,b=A.xAxis,k=A.yAxis,O=b.pane&&b.pane.center,z=w.chartX-(O&&O[0]||0)-U.plotLeft,W=w.chartY-(O&&O[1]||0)-U.plotTop,Q=U.inverted?{clientX:w.chartX-k.pos,plotY:w.chartY-b.pos}:{clientX:180+Math.atan2(z,W)*(-180/Math.PI)};return A.searchKDTree(Q)}function h(w,A,U,b){let k=b.tickInterval,O=b.tickPositions,z=R(O,Q=>Q>=U),W=R([...O].reverse(),Q=>Q<=A);return Z(z)||(z=O[O.length-1]),Z(W)||(W=O[0],z+=k,w[0][0]="L",w.unshift(w[w.length-3])),w=w.slice(O.indexOf(W),O.indexOf(z)+1),w[0][0]="M",w}function m(w,A){return R(this.pane||[],U=>U.options.id===A)||w.call(this,A)}function f(w,A,U,b,k,O){let z=this.chart,W=H(b.inside,!!this.options.stacking),Q,ee,se;z.polar?(Q=A.rectPlotX/Math.PI*180,z.inverted?(this.forceDL=z.isInsidePlot(A.plotX,A.plotY),W&&A.shapeArgs?(ee=A.shapeArgs,se=this.yAxis.postTranslate(((ee.start||0)+(ee.end||0))/2-this.xAxis.startAngleRad,A.barX+A.pointWidth/2),k=V(k,{x:se.x-z.plotLeft,y:se.y-z.plotTop})):A.tooltipPos&&(k=V(k,{x:A.tooltipPos[0],y:A.tooltipPos[1]})),b.align=H(b.align,"center"),b.verticalAlign=H(b.verticalAlign,"middle")):b=N(Q,b),l.prototype.alignDataLabel.call(this,A,U,b,k,O),this.isRadialBar&&A.shapeArgs&&A.shapeArgs.start===A.shapeArgs.end?U.hide():U.show()):w.call(this,A,U,b,k,O)}function y(){let w=this,A=w.options,U=A.stacking,b=w.chart,k=w.xAxis,O=w.yAxis,z=O.reversed,W=O.center,Q=k.startAngleRad,ee=k.endAngleRad,se=ee-Q,ae=A.threshold,he=0,ce,ie,te,ne,oe,le=0,ue=0,de,fe,me,ge,Ee,ve,ye,Se;if(k.isRadial)for(ce=w.points,te=ce.length,ne=O.translate(O.min),oe=O.translate(O.max),ae=A.threshold||0,b.inverted&&Y(ae)&&(he=O.translate(ae),Z(he)&&(he<0?he=0:he>se&&(he=se),w.translatedThreshold=he+Q));te--;){if(ie=ce[te],ve=ie.barX,fe=ie.x,me=ie.y,ie.shapeType="arc",b.inverted){ie.plotY=O.translate(me),U&&O.stacking?(Ee=O.stacking.stacks[(me<0?"-":"")+w.stackKey],w.visible&&Ee&&Ee[fe]&&(ie.isNull||(ge=Ee[fe].points[w.getStackIndicator(void 0,fe,w.index).key],le=O.translate(ge[0]),ue=O.translate(ge[1]),Z(le)&&(le=$.clamp(le,0,se))))):(le=he,ue=ie.plotY),le>ue&&(ue=[le,le=ue][0]),z?ue>ne?ue=ne:le<oe?le=oe:(le>ne||ue<oe)&&(le=ue=se):le<ne?le=ne:ue>oe?ue=oe:(ue<ne||le>oe)&&(le=ue=0),O.min>O.max&&(le=ue=z?se:0),le+=Q,ue+=Q,W&&(ie.barX=ve+=W[3]/2),ye=Math.max(ve,0),Se=Math.max(ve+ie.pointWidth,0);let xe=A.borderRadius,Ce=typeof xe=="object"?xe.radius:xe,Oe=L(Ce||0,Se-ye);ie.shapeArgs={x:W[0],y:W[1],r:Se,innerR:ye,start:le,end:ue,borderRadius:Oe},ie.opacity=le===ue?0:void 0,ie.plotY=(Z(w.translatedThreshold)&&(le<w.translatedThreshold?le:ue))-Q}else le=ve+Q,ie.shapeArgs=w.polar.arc(ie.yBottom,ie.plotY,le,le+ie.pointWidth),ie.shapeArgs.borderRadius=0;w.polar.toXY(ie),b.inverted?(de=O.postTranslate(ie.rectPlotY,ve+ie.pointWidth/2),ie.tooltipPos=[de.x-b.plotLeft,de.
179y-b.plotTop]):ie.tooltipPos=[ie.plotX,ie.plotY],W&&(ie.ttBelow=ie.plotY>W[1])}}function I(w,A){let U=this,b,k;if(this.chart.polar){A=A||this.points;for(let z=0;z<A.length;z++)if(!A[z].isNull){b=z;break}this.options.connectEnds!==!1&&typeof b<"u"&&(this.connectEnds=!0,A.splice(A.length,0,A[b]),k=!0),A.forEach(z=>{typeof z.polarPlotY>"u"&&U.polar.toXY(z)})}let O=w.apply(this,[].slice.call(arguments,1));return k&&A.pop(),O}function E(w,A){let U=this.chart,b={xAxis:[],yAxis:[]};return U.polar?U.axes.forEach(k=>{if(k.coll==="colorAxis")return;let O=k.isXAxis,z=k.center,W=A.chartX-z[0]-U.plotLeft,Q=A.chartY-z[1]-U.plotTop;b[O?"xAxis":"yAxis"].push({axis:k,value:k.translate(O?Math.PI-Math.atan2(W,Q):Math.sqrt(Math.pow(W,2)+Math.pow(Q,2)),!0)})}):b=w.call(this,A),b}function M(w,A){this.chart.polar||w.call(this,A)}function D(w,A){let U=this,b=this.chart,k=this.group,O=this.markerGroup,z=this.xAxis&&this.xAxis.center,W=b.plotLeft,Q=b.plotTop,ee=this.options.animation,se,ae,he,ce,ie,te;b.polar?U.isRadialBar?A||(U.startAngleRad=H(U.translatedThreshold,U.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(U,A)):(ee=K(ee),U.is("column")?A||(ae=z[3]/2,U.points.forEach(ne=>{he=ne.graphic,ce=ne.shapeArgs,ie=ce&&ce.r,te=ce&&ce.innerR,he&&ce&&(he.attr({r:ae,innerR:ae}),he.animate({r:ie,innerR:te},U.options.animation))})):A?(se={translateX:z[0]+W,translateY:z[1]+Q,scaleX:.001,scaleY:.001},k.attr(se),O&&O.attr(se)):(se={translateX:W,translateY:Q,scaleX:1,scaleY:1},k.animate(se,ee),O&&O.animate(se,ee))):w.call(this,A)}function F(w,A,U,b){let k,O;if(this.chart.polar)if(!b)k=["M",U.plotX,U.plotY];else{O=P(A,b,!0,this.connectEnds);let z=O.prevPointCont&&O.prevPointCont.rightContX,W=O.prevPointCont&&O.prevPointCont.rightContY;k=["C",Y(z)?z:O.plotX,Y(W)?W:O.plotY,Y(O.leftContX)?O.leftContX:O.plotX,Y(O.leftContY)?O.leftContY:O.plotY,O.plotX,O.plotY]}else k=w.call(this,A,U,b);return k}function X(w,A,U=this.plotY){if(!this.destroyed){let{plotX:b,series:k}=this,{chart:O}=k;return O.polar&&Y(b)&&Y(U)?[b+(A?O.plotLeft:0),U+(A?O.plotTop:0)]:w.call(this,A,U)}}class _{static compose(A,U,b,k,O,z,W,Q,ee,se){if(C.compose(U,b),B.compose(A,O),T(G,"Polar")){let ae=U.prototype,he=z.prototype,ce=b.prototype,ie=k.prototype;if(q(U,"afterDrawChartBox",S),q(U,"getAxes",v),q(U,"init",g),c(ae,"get",m),c(ce,"getCoordinates",E),c(ce,"pinch",M),q(b,"getSelectionMarkerAttrs",a),q(b,"getSelectionBox",p),q(k,"afterInit",o),q(k,"afterTranslate",u,{order:2}),q(k,"afterColumnTranslate",y,{order:4}),c(ie,"animate",D),c(he,"pos",X),Q){let te=Q.prototype;c(te,"alignDataLabel",f),c(te,"animate",D)}if(ee){let te=ee.prototype;c(te,"getGraphPath",I)}if(se){let te=se.prototype;if(c(te,"getPointSpline",F),W){let ne=W.prototype;ne.getPointSpline=te.getPointSpline}}}}constructor(A){this.series=A}arc(A,U,b,k){let O=this.series,z=O.xAxis.center,W=O.yAxis.len,Q=z[3]/2,ee=W-U+Q,se=W-H(A,W)+Q;return O.yAxis.reversed&&(ee<0&&(ee=Q),se<0&&(se=Q)),{x:z[0],y:z[1],r:ee,innerR:se,start:b,end:k}}toXY(A){let U=this.series,b=U.chart,k=U.xAxis,O=U.yAxis,z=A.plotX,W=b.inverted,Q=A.y,ee=A.plotY,se=W?z:O.len-ee,ae;if(W&&U&&!U.isRadialBar&&(A.plotY=ee=Y(Q)?O.translate(Q):0),A.rectPlotX=z,A.rectPlotY=ee,O.center&&(se+=O.center[3]/2),Y(ee)){let he=W?O.postTranslate(ee,se):k.postTranslate(z,se);A.plotX=A.polarPlotX=he.x-b.plotLeft,A.plotY=A.polarPlotY=he.y-b.plotTop}U.kdByAngle?(ae=(z/Math.PI*180+k.pane.options.startAngle)%360,ae<0&&(ae+=360),A.clientX=ae):A.clientX=A.plotX}}return _}),r(e,"Core/Axis/WaterfallAxis.js",[e["Core/Globals.js"],e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n,l){let{composed:C}=t,{addEvent:B,objectEach:$,pushUnique:K}=l;var G;return function(q){function Z(L,j){K(C,"Axis.Waterfall")&&(B(L,"init",V),B(L,"afterBuildStacks",R),B(L,"afterRender",Y),B(j,"beforeRedraw",H))}q.compose=Z;function R(){let L=this,j=L.waterfall.stacks;j&&(j.changed=!1,delete j.alreadyChanged)}function Y(){let L=this,j=L.options.stackLabels;j&&j.enabled&&L.waterfall.stacks&&L.waterfall.renderStackTotals()}function V(){let L=this;L.waterfall||(L.waterfall=new T(L))}function H(){let L=this.axes,j=this.series;for(let s of j)if(s.options.stacking){for(let c of L)c.isXAxis||(c.waterfall.stacks.changed=!0);break}}class T{constructor(j){this.axis=j,this.stacks={changed:!1}}renderStackTotals(){let j=this.axis,s=j.waterfall.stacks,c=j.stacking&&j.stacking.stackTotalGroup,x=new n(j,j.options.stackLabels||{},!1,0,void 0);this.dummyStackItem=x,c&&$(s,N=>{$(N,(P,S)=>{x.total=P.stackTotal,x.x=+S,P.label&&(x.label=P.label),n.prototype.render.call(x,c),P.label=x.label,delete x.label})}),x.total=null}}q.Composition=T}(G||(G={})),G}),r(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(t,n,l){let{isNumber:C}=l;class B extends t.prototype.pointClass{getClassName(){let K=n.prototype.getClassName.call(this);return this.isSum?K+=" highcharts-sum":this.isIntermediateSum&&(K+=" highcharts-intermediate-sum"),K}isValid(){return C(this.y)||this.isSum||!!this.isIntermediateSum}}return B}),r(e,"Series/Waterfall/WaterfallSeriesDefaults.js",[],function(){return{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}}),r(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"],e["Series/Waterfall/WaterfallSeriesDefaults.js"]],function(t,n,l,C,B){let{column:$,line:K}=t.seriesTypes,{addEvent:G,arrayMax:q,arrayMin:Z,correctFloat:R,crisp:Y,extend:V,isNumber:H,merge:T,objectEach:L,pick:j}=n;function s(x,N){return Object.hasOwnProperty.call(x,N)}class c extends ${generatePoints(){$.prototype.generatePoints.apply(this);for(let N=0,P=this.points.length;N<P;N++){let S=this.points[N],g=this.processedYData[N];H(g)&&(S.isIntermediateSum||S.isSum)&&(S.y=R(g))}}processData(N){let P=this,S=P.options,g=P.yData,v=S.data,p=g.length,a=S.threshold||0,o,u,d,h,m,f;d=u=h=m=0;for(let y=0;y<p;y++)f=g[y],o=v&&v[y]?v[y]:{},f==="sum"||o.isSum?g[y]=R(d):f==="intermediateSum"||o.isIntermediateSum?(g[y]=R(u),u=0):(d+=f,u+=f),h=Math.min(d,h),m=Math.max(d,m);super.processData.call(this,N),S.stacking||(P.dataMin=h+a,P.dataMax=m)}toYData(N){return N.isSum?"sum":N.isIntermediateSum?"intermediateSum":N.y}updateParallelArrays(N,P){super.updateParallelArrays.call(this,N,P),(this.yData[0]==="sum"||this.yData[0]==="intermediateSum")&&(this.yData[0]=null)}pointAttribs(N,P){let S=this.options.upColor;S&&!N.options.color&&H(N.y)&&(N.color=N.y>0?S:void 0);let g=$.prototype.pointAttribs.call(this,N,P);return delete g.dashstyle,g}getGraphPath(){return[["M",0,0]]}getCrispPath(){var u;let N=this.data.filter(d=>H(d.y)),P=this.yAxis,S=N.length,g=((u=this.graph)==null?void 0:u.strokeWidth())||0,v=this.xAxis.reversed,p=this.yAxis.reversed,a=this.options.stacking,o=[];for(let d=1;d<S;d++){if(!(this.options.connectNulls||H(this.data[N[d].index-1].y)))continue;let h=N[d].box,m=N[d-1],f=m.y||0,y=N[d-1].box;if(!h||!y)continue;let I=P.waterfall.stacks[this.stackKey],E=f>0?-y.height:0;if(I&&y&&h){let M=I[d-1],D;if(a){let F=M.connectorThreshold;D=Y(P.translate(F,!1,!0,!1,!0)+(p?E:0),g)}else D=Y(y.y+(m.minPointLengthOffset||0),g);o.push(["M",(y.x||0)+(v?0:y.width||0),D],["L",(h.x||0)+(v&&h.width||0),D])}if(y&&o.length&&(!a&&f<0&&!p||f>0&&p)){let M=o[o.length-2];M&&typeof M[2]=="number"&&(M[2]+=y.height||0);let D=o[o.length-1];D&&typeof D[2]=="number"&&(D[2]+=y.height||0)}}return o}drawGraph(){K.prototype.drawGraph.call(this),this.graph&&this.graph.attr({d:this.getCrispPath()})}setStackedPoints(N){var U;let P=this,S=P.options,g=(U=N.waterfall)==null?void 0:U.stacks,v=S.threshold||0,p=P.stackKey,a=P.xData,o=a.length,u=v,d=u,h,m=0,f=0,y=0,I,E,M,D,F,X,_,w,A=(b,k,O,z)=>{if(h){if(!I)h.stackState[0]=b,I=h.stackState.length;else for(O;O<I;O++)h.stackState[O]+=z;h.stackState.push(h.stackState[I-1]+k)}};if(N.stacking&&g&&P.reserveSpace()){w=g.changed,_=g.alreadyChanged,_&&_.indexOf(p)<0&&(w=!0),g[p]||(g[p]={});let b=g[p];if(b)for(let k=0;k<o;k++)X=a[k],(!b[X]||w)&&(b[X]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:w&&b[X]?b[X].label:void 0}),h=b[X],F=P.yData[k],F>=0?h.posTotal+=F:h.negTotal+=F,D=S.data[k],E=h.absolutePos=h.posTotal,M=h.absoluteNeg=h.negTotal,h.stackTotal=E+M,I=h.stackState.length,D&&D.isIntermediateSum?(A(y,f,0,y),y=f,f=v,u^=d,d^=u,u^=d
179):D&&D.isSum?(A(v,m,I,0),u=v):(A(u,F,0,m),D&&(m+=F,f+=F)),h.stateIndex++,h.threshold=u,u+=h.stackTotal;g.changed=!1,g.alreadyChanged||(g.alreadyChanged=[]),g.alreadyChanged.push(p)}}getExtremes(){let N=this.options.stacking,P,S,g,v;return N?(P=this.yAxis,S=P.waterfall.stacks,g=this.stackedYNeg=[],v=this.stackedYPos=[],N==="overlap"?L(S[this.stackKey],function(p){g.push(Z(p.stackState)),v.push(q(p.stackState))}):L(S[this.stackKey],function(p){g.push(p.negTotal+p.threshold),v.push(p.posTotal+p.threshold)}),{dataMin:Z(g),dataMax:q(v)}):{dataMin:this.dataMin,dataMax:this.dataMax}}}return c.defaultOptions=T($.defaultOptions,B),c.compose=l.compose,V(c.prototype,{pointValKey:"y",showLine:!0,pointClass:C}),G(c,"afterColumnTranslate",function(){let x=this,{options:N,points:P,yAxis:S}=x,g=j(N.minPointLength,5),v=g/2,p=N.threshold||0,a=N.stacking,o=S.waterfall.stacks[x.stackKey],u=p,d=p,h,m,f,y;for(let I=0;I<P.length;I++){let E=P[I],M=x.processedYData[I],D=E.shapeArgs,F=V({x:0,y:0,width:0,height:0},D||{});E.box=F;let X=[0,M],_=E.y||0;if(a){if(o){let U=o[I];a==="overlap"?(m=U.stackState[U.stateIndex--],h=_>=0?m:m-_,s(U,"absolutePos")&&delete U.absolutePos,s(U,"absoluteNeg")&&delete U.absoluteNeg):(_>=0?(m=U.threshold+U.posTotal,U.posTotal-=_,h=m):(m=U.threshold+U.negTotal,U.negTotal-=_,h=m-_),U.posTotal||H(U.absolutePos)&&s(U,"absolutePos")&&(U.posTotal=U.absolutePos,delete U.absolutePos),U.negTotal||H(U.absoluteNeg)&&s(U,"absoluteNeg")&&(U.negTotal=U.absoluteNeg,delete U.absoluteNeg)),E.isSum||(U.connectorThreshold=U.threshold+U.stackTotal),S.reversed?(f=_>=0?h-_:h+_,y=h):(f=h,y=h-_),E.below=f<=p,F.y=S.translate(f,!1,!0,!1,!0),F.height=Math.abs(F.y-S.translate(y,!1,!0,!1,!0));let b=S.waterfall.dummyStackItem;b&&(b.x=I,b.label=o[I].label,b.setOffset(x.pointXOffset||0,x.barW||0,x.stackedYNeg[I],x.stackedYPos[I],void 0,this.xAxis))}}else h=Math.max(d,d+_)+X[0],F.y=S.translate(h,!1,!0,!1,!0),E.isSum?(F.y=S.translate(X[1],!1,!0,!1,!0),F.height=Math.min(S.translate(X[0],!1,!0,!1,!0),S.len)-F.y,E.below=X[1]<=p):E.isIntermediateSum?(_>=0?(f=X[1]+u,y=u):(f=u,y=X[1]+u),S.reversed&&(f^=y,y^=f,f^=y),F.y=S.translate(f,!1,!0,!1,!0),F.height=Math.abs(F.y-Math.min(S.translate(y,!1,!0,!1,!0),S.len)),u+=X[1],E.below=f<=p):(F.height=M>0?S.translate(d,!1,!0,!1,!0)-F.y:S.translate(d,!1,!0,!1,!0)-S.translate(d-M,!1,!0,!1,!0),d+=M,E.below=d<p),F.height<0&&(F.y+=F.height,F.height*=-1);E.plotY=F.y,E.yBottom=F.y+F.height,F.height<=g&&!E.isNull?(F.height=g,F.y-=v,E.yBottom=F.y+F.height,E.plotY=F.y,_<0?E.minPointLengthOffset=-v:E.minPointLengthOffset=v):(E.isNull&&(F.width=0),E.minPointLengthOffset=0);let w=E.plotY+(E.negative?F.height:0);E.below&&(E.plotY+=F.height),E.tooltipPos&&(x.chart.inverted?E.tooltipPos[0]=S.len-w:E.tooltipPos[1]=w),E.isInside=this.isPointInside(E);let A=Y(E.yBottom,x.borderWidth);F.y=Y(F.y,x.borderWidth),F.height=A-F.y,T(!0,E.shapeArgs,F)}},{order:2}),t.registerSeriesType("waterfall",c),c}),r(e,"masters/highcharts-more.src.js",[e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Extensions/Pane/Pane.js"],e["Series/Bubble/BubbleSeries.js"],e["Series/PackedBubble/PackedBubbleSeries.js"],e["Series/PolarComposition.js"],e["Core/Axis/RadialAxis.js"],e["Series/Waterfall/WaterfallSeries.js"]],function(t,n,l,C,B,$,K,G){let q=t;return q.RadialAxis=K,C.compose(q.Axis,q.Chart,q.Legend),B.compose(q.Axis,q.Chart,q.Legend),l.compose(q.Chart,q.Pointer),$.compose(q.Axis,q.Chart,q.Pointer,q.Series,q.Tick,q.Point,n.seriesTypes.areasplinerange,n.seriesTypes.column,n.seriesTypes.line,n.seriesTypes.spline),G.compose(q.Axis,q.Chart),q})})});var YA=$n((W3e,v1)=>{"use strict";(function(i){typeof v1=="object"&&v1.exports?(i.default=i,v1.exports=i):typeof define=="function"&&define.amd?define("highcharts/modules/stock",["highcharts"],function(e){return i(e),i.Highcharts=e,i}):i(typeof Highcharts<"u"?Highcharts:void 0)})(function(i){"use strict";var e=i?i._modules:{};function r(t,n,l,C){t.hasOwnProperty(n)||(t[n]=C.apply(null,l),typeof CustomEvent=="function"&&i.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}r(e,"Series/DataModifyComposition.js",[e["Core/Axis/Axis.js"],e["Core/Series/Point.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{tooltipFormatter:B}=n.prototype,{addEvent:$,arrayMax:K,arrayMin:G,correctFloat:q,defined:Z,isArray:R,isNumber:Y,isString:V,pick:H}=C;var T;return function(L){function j(o,u,d){let h=u.prototype,m=d.prototype,f=o.prototype;return f.setCompare||(f.setCompare=P,f.setCumulative=v,$(o,"afterInit",x),$(o,"afterGetExtremes",N),$(o,"afterProcessData",S)),h.setCompare||(h.setCompare=g,h.setModifier=s,h.setCumulative=p,m.tooltipFormatter=c),o}L.compose=j;
179function s(o,u,d){this.isXAxis||(this.series.forEach(function(h){o==="compare"&&typeof u!="boolean"?h.setCompare(u,!1):o==="cumulative"&&!V(u)&&h.setCumulative(u,!1)}),H(d,!0)&&this.chart.redraw())}function c(o){let u=this,{numberFormatter:d}=u.series.chart,h=function(m){o=o.replace("{point."+m+"}",(u[m]>0&&m==="change"?"+":"")+d(u[m],H(u.series.tooltipOptions.changeDecimals,2)))};return Z(u.change)&&h("change"),Z(u.cumulativeSum)&&h("cumulativeSum"),B.apply(this,[o])}function x(){let o=this.options.compare,u;(o==="percent"||o==="value"||this.options.cumulative)&&(u=new a(this),o==="percent"||o==="value"?u.initCompare(o):u.initCumulative()),this.dataModify=u}function N(o){let u=o.dataExtremes,d=u.activeYData;if(this.dataModify&&u){let h;this.options.compare?h=[this.dataModify.modifyValue(u.dataMin),this.dataModify.modifyValue(u.dataMax)]:this.options.cumulative&&R(d)&&d.length>=2&&(h=a.getCumulativeExtremes(d)),h&&(u.dataMin=G(h),u.dataMax=K(h))}}function P(o,u){this.options.compare=this.userOptions.compare=o,this.update({},H(u,!0)),this.dataModify&&(o==="value"||o==="percent")?this.dataModify.initCompare(o):this.points.forEach(d=>{delete d.change})}function S(){let o=this;if(o.xAxis&&o.processedYData&&o.dataModify){let u=o.processedXData,d=o.processedYData,h=d.length,m=o.options.compareStart===!0?0:1,f=-1,y;for(o.pointArrayMap&&(f=o.pointArrayMap.indexOf(o.options.pointValKey||o.pointValKey||"y")),y=0;y<h-m;y++){let I=d[y]&&f>-1?d[y][f]:d[y];if(Y(I)&&I!==0&&u[y+m]>=(o.xAxis.min||0)){o.dataModify.compareValue=I;break}}}}function g(o,u){this.setModifier("compare",o,u)}function v(o,u){o=H(o,!1),this.options.cumulative=this.userOptions.cumulative=o,this.update({},H(u,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach(d=>{delete d.cumulativeSum})}function p(o,u){this.setModifier("cumulative",o,u)}class a{constructor(u){this.series=u}modifyValue(){return 0}static getCumulativeExtremes(u){let d=1/0,h=-1/0;return u.reduce((m,f)=>{let y=m+f;return d=Math.min(d,y,m),h=Math.max(h,y,m),y}),[d,h]}initCompare(u){this.modifyValue=function(d,h){d===null&&(d=0);let m=this.compareValue;if(typeof d<"u"&&typeof m<"u"){if(u==="value")d-=m;else{let f=this.series.options.compareBase;d=100*(d/m)-(f===100?0:100)}if(typeof h<"u"){let f=this.series.points[h];f&&(f.change=d)}return d}return 0}}initCumulative(){this.modifyValue=function(u,d){if(u===null&&(u=0),u!==void 0&&d!==void 0){let h=d>0?this.series.points[d-1]:null;h&&h.cumulativeSum&&(u=q(h.cumulativeSum+u));let m=this.series.points[d],f=m.series.options.cumulativeStart,y=m.x<=this.series.xAxis.max&&m.x>=this.series.xAxis.min;return m&&(!f||y?m.cumulativeSum=u:m.cumulativeSum=void 0),u}return 0}}}L.Additions=a}(T||(T={})),T}),r(e,"Stock/Navigator/ChartNavigatorComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isTouchDevice:l}=t,{addEvent:C,merge:B,pick:$}=n,K=[],G;function q(s,c){if(n.pushUnique(K,s)){let x=s.prototype;G=c,x.callbacks.push(T),C(s,"afterAddSeries",Z),C(s,"afterSetChartSize",R),C(s,"afterUpdate",Y),C(s,"beforeRender",V),C(s,"beforeShowResetZoom",H),C(s,"update",L)}}function Z(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function R(){var S;let s=this.legend,c=this.navigator,x,N,P;if(c){x=s&&s.options,N=c.xAxis,P=c.yAxis;let{scrollbarHeight:g,scrollButtonSize:v}=c;this.inverted?(c.left=c.opposite?this.chartWidth-g-c.height:this.spacing[3]+g,c.top=this.plotTop+v):(c.left=$(N.left,this.plotLeft+v),c.top=c.navigatorOptions.top||this.chartHeight-c.height-g-(((S=this.scrollbar)==null?void 0:S.options.margin)||0)-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(x&&x.verticalAlign==="bottom"&&x.layout!=="proximate"&&x.enabled&&!x.floating?s.legendHeight+$(x.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),N&&P&&(this.inverted?N.options.left=P.options.left=c.left:N.options.top=P.options.top=c.top,N.setAxisSize(),P.setAxisSize())}}function Y(s){!this.navigator&&!this.scroller&&(this.options.navigator.enabled||this.options.scrollbar.enabled)&&(this.scroller=this.navigator=new G(this),$(s.redraw,!0)&&this.redraw(s.animation))}function V(){let s=this.options;(s.navigator.enabled||s.scrollbar.enabled)&&(this.scroller=this.navigator=new G(this))}function H(){let s=this.options,c=s.navigator,x=s.rangeSelector;if((c&&c.enabled||x&&x.enabled)&&(!l&&this.zooming.type==="x"||l&&this.zooming.pinchType==="x"))return!1}function T(s){let c=s.navigator;if(c&&s.xAxis[0]){let x=s.xAxis[0].getExtremes();c.render(x.min,x.max)}}function L(s){let c=s.options.navigator||{},x=s.options.scrollbar||{};!this.navigator&&!this.scroller&&(c.enabled||x.enabled)&&(B(!0,this.options.navigator,c),B(!0,this.options.scrollbar,x),delete s.options.navigator,delete s.options.scrollbar)}return{compose:q}}),r(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{isTouchDevice:l}=t,{addEvent:C,correctFloat:B,defined:$,isNumber:K,pick:G}=n;function q(){let Y=this;Y.navigatorAxis||(Y.navigatorAxis=new R(Y))}function Z(Y){let V=this,H=V.chart,T=H.options,L=T.navigator,j=V.navigatorAxis,s=H.zooming.pinchType,c=T.rangeSelector,x=H.zooming.type,N;if(V.isXAxis&&(L!=null&&L.enabled||c!=null&&c.enabled)){if(x==="y"&&Y.trigger==="zoom")N=!1;else if((Y.trigger==="zoom"&&x==="xy"||l&&s==="xy")&&V.options.range){let P=j.previousZoom;$(Y.min)?j.previousZoom=[V.min,V.max]:P&&(Y.min=P[0],Y.max=P[1],j.previousZoom=void 0)}}typeof N<"u"&&Y.preventDefault()}class R{static compose(V){V.keepProps.includes("navigatorAxis")||(V.keepProps.push("navigatorAxis"),C(V,"init",q),C(V,"setExtremes",Z))}constructor(V){this.axis=V}destroy(){this.axis=void 0}toFixedRange(V,H,T,L){let j=this.axis,s=(j.pointRange||0)/2,c=G(T,j.translate(V,!0,!j.horiz)),x=G(L,j.translate(H,!0,!j.horiz));return $(T)||(c=B(c+s)),$(L)||(x=B(x-s)),(!K(c)||!K(x))&&(c=x=void 0),{min:c,max:x}}}return R}),r(e,"Stock/Navigator/NavigatorDefaults.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"]],function(t,n){let{parse:l}=t,{seriesTypes:C}=n;return{height:40,margin:25,maskInside:!0,handles:{width:7,borderRadius:0,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:l("#667aff").setOpacity(.3).get(),outlineColor:"#999999",outlineWidth:1,series:{type:typeof C.areaspline>"u"?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,sonification:{enabled:!1},dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",id:"navigator-x-axis",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#000000",fontSize:"0.7em",opacity:.6,textOutline:"2px contrast"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,id:"navigator-y-axis",maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),r(e,"Stock/Navigator/NavigatorSymbols.js",[e["Core/Renderer/SVG/Symbols.js"],e["Core/Utilities.js"]],function(t,n){let{relativeLength:l}=n;function C($,K,G,q,Z={}){let R=Z.width?Z.width/2:G,Y=1.5,V=l(Z.borderRadius||0,Math.min(R*2,q));return q=Z.height||q,[["M",-Y,q/2-3.5],["L",-Y,q/2+4.5],["M",Y-1,q/2-3.5],["L",Y-1,q/2+4.5],...t.rect(-R-1,.5,R*2+1,q,{r:V})]}return{"navigator-handle":C}}),r(e,"Stock/Utilities/StockUtilities.js",[e["Core/Utilities.js"]],function(t){let{defined:n}=t;function l(B){let $=this.xAxis[0];n($.dataMax)&&n($.dataMin)&&B?this.fixedRange=Math.min(B,$.dataMax-$.dataMin):this.fixedRange=B}return{setFixedRange:l}}),r(e,"Stock/Navigator/NavigatorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/Navigator/NavigatorSymbols.js"],e["Core/Renderer/RendererRegistry.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{setOptions:q}=t,{composed:Z}=n,{getRendererType:R}=$,{setFixedRange:Y}=K,{addEvent:V,extend:H,pushUnique:T}=G;function L(c,x,N){l.compose(x),T(Z,"Navigator")&&(c.prototype.setFixedRange=Y,H(R().prototype.symbols,B),V(N,"afterUpdate",j),q({navigator:C}))}function j(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}return{compose:L}}),r(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n){let{composed:l}=t,{addEvent:C,defined:B,pick:$,pushUnique:K}=n;var G;return function(q){let Z;function R(L,j){K(l,"Axis.Scrollbar")&&(Z=j,C(L,"afterGetOffset",V),C(L,"afterInit",H),C(L,"afterRe
179nder",T))}q.compose=R;function Y(L){let j=$(L.options&&L.options.min,L.min),s=$(L.options&&L.options.max,L.max);return{axisMin:j,axisMax:s,scrollMin:B(L.dataMin)?Math.min(j,L.min,L.dataMin,$(L.threshold,1/0)):j,scrollMax:B(L.dataMax)?Math.max(s,L.max,L.dataMax,$(L.threshold,-1/0)):s}}function V(){let L=this,j=L.scrollbar,s=j&&!j.options.opposite,c=L.horiz?2:s?3:1;j&&(L.chart.scrollbarsOffsets=[0,0],L.chart.axisOffset[c]+=j.size+(j.options.margin||0))}function H(){let L=this;L.options&&L.options.scrollbar&&L.options.scrollbar.enabled&&(L.options.scrollbar.vertical=!L.horiz,L.options.startOnTick=L.options.endOnTick=!1,L.scrollbar=new Z(L.chart.renderer,L.options.scrollbar,L.chart),C(L.scrollbar,"changed",function(j){let{axisMin:s,axisMax:c,scrollMin:x,scrollMax:N}=Y(L),P=N-x,S,g;if(!(!B(s)||!B(c)))if(L.horiz&&!L.reversed||!L.horiz&&L.reversed?(S=x+P*this.to,g=x+P*this.from):(S=x+P*(1-this.from),g=x+P*(1-this.to)),this.shouldUpdateExtremes(j.DOMType)){let v=j.DOMType==="mousemove"||j.DOMType==="touchmove"?!1:void 0;L.setExtremes(g,S,!0,v,j)}else this.setRange(this.from,this.to)}))}function T(){let L=this,{scrollMin:j,scrollMax:s}=Y(L),c=L.scrollbar,x=L.axisTitleMargin+(L.titleOffset||0),N=L.chart.scrollbarsOffsets,P=L.options.margin||0,S,g,v;if(c&&N){if(L.horiz)L.opposite||(N[1]+=x),c.position(L.left,L.top+L.height+2+N[1]-(L.opposite?P:0),L.width,L.height),L.opposite||(N[1]+=P),S=1;else{L.opposite&&(N[0]+=x);let p;c.options.opposite?p=L.left+L.width+2+N[0]-(L.opposite?0:P):p=L.opposite?0:P,c.position(p,L.top,L.width,L.height),L.opposite&&(N[0]+=P),S=0}if(N[S]+=c.size+(c.options.margin||0),isNaN(j)||isNaN(s)||!B(L.min)||!B(L.max)||L.dataMin===L.dataMax)c.setRange(0,1);else if(L.min===L.max){let p=L.pointRange/(L.dataMax+1);g=p*L.min,v=p*(L.max+1),c.setRange(g,v)}else g=(L.min-j)/(s-j),v=(L.max-j)/(s-j),L.horiz&&!L.reversed||!L.horiz&&L.reversed?c.setRange(g,v):c.setRange(1-v,1-g)}}}(G||(G={})),G}),r(e,"Stock/Scrollbar/ScrollbarDefaults.js",[],function(){return{height:10,barBorderRadius:5,buttonBorderRadius:0,buttonsEnabled:!1,liveRedraw:void 0,margin:void 0,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:0,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"none",trackBackgroundColor:"rgba(255, 255, 255, 0.001)",trackBorderColor:"#cccccc",trackBorderRadius:5,trackBorderWidth:1}}),r(e,"Stock/Scrollbar/Scrollbar.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{defaultOptions:$}=t,{addEvent:K,correctFloat:G,crisp:q,defined:Z,destroyObjectProperties:R,fireEvent:Y,merge:V,pick:H,removeEvent:T}=B,L=(()=>{class j{static compose(c){l.compose(c,j)}static swapXY(c,x){return x&&c.forEach(N=>{let P=N.length,S;for(let g=0;g<P;g+=2)S=N[g+1],typeof S=="number"&&(N[g+1]=N[g+2],N[g+2]=S)}),c}constructor(c,x,N){this._events=[],this.chartX=0,this.chartY=0,this.from=0,this.scrollbarButtons=[],this.scrollbarLeft=0,this.scrollbarStrokeWidth=1,this.scrollbarTop=0,this.size=0,this.to=0,this.trackBorderWidth=1,this.x=0,this.y=0,this.init(c,x,N)}addEvents(){let c=this.options.inverted?[1,0]:[0,1],x=this.scrollbarButtons,N=this.scrollbarGroup.element,P=this.track.element,S=this.mouseDownHandler.bind(this),g=this.mouseMoveHandler.bind(this),v=this.mouseUpHandler.bind(this),p=[[x[c[0]].element,"click",this.buttonToMinClick.bind(this)],[x[c[1]].element,"click",this.buttonToMaxClick.bind(this)],[P,"click",this.trackClick.bind(this)],[N,"mousedown",S],[N.ownerDocument,"mousemove",g],[N.ownerDocument,"mouseup",v],[N,"touchstart",S],[N.ownerDocument,"touchmove",g],[N.ownerDocument,"touchend",v]];p.forEach(function(a){K.apply(null,a)}),this._events=p}buttonToMaxClick(c){let x=this,N=(x.to-x.from)*H(x.options.step,.2);x.updatePosition(x.from+N,x.to+N),Y(x,"changed",{from:x.from,to:x.to,trigger:"scrollbar",DOMEvent:c})}buttonToMinClick(c){let x=this,N=G(x.to-x.from)*H(x.options.step,.2);x.updatePosition(G(x.from-N),G(x.to-N)),Y(x,"changed",{from:x.from,to:x.to,trigger:"scrollbar",DOMEvent:c})}cursorToScrollbarPosition(c){let x=this,N=x.options,P=N.minWidth>x.calculatedWidth?N.minWidth:0;return{chartX:(c.chartX-x.x-x.xOffset)/(x.barWidth-P),chartY:(c.chartY-x.y-x.yOffset)/(x.barWidth-P)}}destroy(){let c=this,x=c.chart.scroller;c.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach(function(N){c[N]&&c[N].destroy&&(c[N]=c[N].destroy())}),x&&c===x.scrollbar&&(x.scrollbar=null,R(x.scrollbarButtons))}drawScrollbarButton(c){let x=this,N=x.renderer,P=x.scrollbarButtons,S=x.options,g=x.size,v=N.g().add(x.group);if(P.push(v),S.buttonsEnabled){let p=N.rect().addClass("highcharts-scrollbar-button").add(v);
179x.chart.styledMode||p.attr({stroke:S.buttonBorderColor,"stroke-width":S.buttonBorderWidth,fill:S.buttonBackgroundColor}),p.attr(p.crisp({x:-.5,y:-.5,width:g,height:g,r:S.buttonBorderRadius},p.strokeWidth()));let a=N.path(j.swapXY([["M",g/2+(c?-1:1),g/2-3],["L",g/2+(c?-1:1),g/2+3],["L",g/2+(c?2:-2),g/2]],S.vertical)).addClass("highcharts-scrollbar-arrow").add(P[c]);x.chart.styledMode||a.attr({fill:S.buttonArrowColor})}}init(c,x,N){let P=this;P.scrollbarButtons=[],P.renderer=c,P.userOptions=x,P.options=V(C,$.scrollbar,x),P.options.margin=H(P.options.margin,10),P.chart=N,P.size=H(P.options.size,P.options.height),x.enabled&&(P.render(),P.addEvents())}mouseDownHandler(c){var S;let x=this,N=((S=x.chart.pointer)==null?void 0:S.normalize(c))||c,P=x.cursorToScrollbarPosition(N);x.chartX=P.chartX,x.chartY=P.chartY,x.initPositions=[x.from,x.to],x.grabbedCenter=!0}mouseMoveHandler(c){var o;let x=this,N=((o=x.chart.pointer)==null?void 0:o.normalize(c))||c,P=x.options,S=P.vertical?"chartY":"chartX",g=x.initPositions||[],v,p,a;x.grabbedCenter&&(!c.touches||c.touches[0][S]!==0)&&(p=x.cursorToScrollbarPosition(N)[S],v=x[S],a=p-v,x.hasDragged=!0,x.updatePosition(g[0]+a,g[1]+a),x.hasDragged&&Y(x,"changed",{from:x.from,to:x.to,trigger:"scrollbar",DOMType:c.type,DOMEvent:c}))}mouseUpHandler(c){let x=this;x.hasDragged&&Y(x,"changed",{from:x.from,to:x.to,trigger:"scrollbar",DOMType:c.type,DOMEvent:c}),x.grabbedCenter=x.hasDragged=x.chartX=x.chartY=null}position(c,x,N,P){let S=this,g=S.options,{buttonsEnabled:v,margin:p=0,vertical:a}=g,o=S.rendered?"animate":"attr",u=P,d=0;S.group.show(),S.x=c,S.y=x+this.trackBorderWidth,S.width=N,S.height=P,S.xOffset=u,S.yOffset=d,a?(S.width=S.yOffset=N=d=S.size,S.xOffset=u=0,S.yOffset=d=v?S.size:0,S.barWidth=P-(v?N*2:0),S.x=c=c+p):(S.height=P=S.size,S.xOffset=u=v?S.size:0,S.barWidth=N-(v?P*2:0),S.y=S.y+p),S.group[o]({translateX:c,translateY:S.y}),S.track[o]({width:N,height:P}),S.scrollbarButtons[1][o]({translateX:a?0:N-u,translateY:a?P-d:0})}removeEvents(){this._events.forEach(function(c){T.apply(null,c)}),this._events.length=0}render(){let c=this,x=c.renderer,N=c.options,P=c.size,S=c.chart.styledMode,g=x.g("scrollbar").attr({zIndex:N.zIndex}).hide().add();c.group=g,c.track=x.rect().addClass("highcharts-scrollbar-track").attr({r:N.trackBorderRadius||0,height:P,width:P}).add(g),S||c.track.attr({fill:N.trackBackgroundColor,stroke:N.trackBorderColor,"stroke-width":N.trackBorderWidth});let v=c.trackBorderWidth=c.track.strokeWidth();c.track.attr({x:-q(0,v),y:-q(0,v)}),c.scrollbarGroup=x.g().add(g),c.scrollbar=x.rect().addClass("highcharts-scrollbar-thumb").attr({height:P-v,width:P-v,r:N.barBorderRadius||0}).add(c.scrollbarGroup),c.scrollbarRifles=x.path(j.swapXY([["M",-3,P/4],["L",-3,2*P/3],["M",0,P/4],["L",0,2*P/3],["M",3,P/4],["L",3,2*P/3]],N.vertical)).addClass("highcharts-scrollbar-rifles").add(c.scrollbarGroup),S||(c.scrollbar.attr({fill:N.barBackgroundColor,stroke:N.barBorderColor,"stroke-width":N.barBorderWidth}),c.scrollbarRifles.attr({stroke:N.rifleColor,"stroke-width":1})),c.scrollbarStrokeWidth=c.scrollbar.strokeWidth(),c.scrollbarGroup.translate(-q(0,c.scrollbarStrokeWidth),-q(0,c.scrollbarStrokeWidth)),c.drawScrollbarButton(0),c.drawScrollbarButton(1)}setRange(c,x){let N=this,P=N.options,S=P.vertical,g=P.minWidth,v=N.barWidth,p=this.rendered&&!this.hasDragged&&!(this.chart.navigator&&this.chart.navigator.hasDragged)?"animate":"attr";if(!Z(v))return;let a=v*Math.min(x,1),o,u;c=Math.max(c,0),o=Math.ceil(v*c),N.calculatedWidth=u=G(a-o),u<g&&(o=(v-g+u)*c,u=g);let d=Math.floor(o+N.xOffset+N.yOffset),h=u/2-.5;N.from=c,N.to=x,S?(N.scrollbarGroup[p]({translateY:d}),N.scrollbar[p]({height:u}),N.scrollbarRifles[p]({translateY:h}),N.scrollbarTop=d,N.scrollbarLeft=0):(N.scrollbarGroup[p]({translateX:d}),N.scrollbar[p]({width:u}),N.scrollbarRifles[p]({translateX:h}),N.scrollbarLeft=d,N.scrollbarTop=0),u<=12?N.scrollbarRifles.hide():N.scrollbarRifles.show(),P.showFull===!1&&(c<=0&&x>=1?N.group.hide():N.group.show()),N.rendered=!0}shouldUpdateExtremes(c){return H(this.options.liveRedraw,n.svg&&!n.isTouchDevice&&!this.chart.boosted)||c==="mouseup"||c==="touchend"||!Z(c)}trackClick(c){var v;let x=this,N=((v=x.chart.pointer)==null?void 0:v.normalize(c))||c,P=x.to-x.from,S=x.y+x.scrollbarTop,g=x.x+x.scrollbarLeft;x.options.vertical&&N.chartY>S||!x.options.vertical&&N.chartX>g?x.updatePosition(x.from+P,x.to+P):x.updatePosition(x.from-P,x.to-P),Y(x,"changed",{from:x.from,to:x.to,trigger:"scrollbar",DOMEvent:c})}update(c){this.destroy(),this.init(this.chart.renderer,V(!0,this.options,c),this.chart)}updatePosition(c,x){x>1&&(c=G(1-G(x-c)),x=1),c<0&&(x=G(x-c),c=0),this.from=c,this.to=x}}return j.defaultOptions=C,j})();return $.scrollbar=V(!0,L.defaultOptions,$.scrollbar),L}),r(e,"Stock/Navigator/Navigator.js",[e["Core/Axis/Axis.js"],e["Stock/Navigator/ChartNavigatorComposition.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorComposition.js"],e["Stock/Scrollbar/Scrollbar.
179js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{defaultOptions:Z}=l,{isTouchDevice:R}=C,{prototype:{symbols:Y}}=G,{addEvent:V,clamp:H,correctFloat:T,defined:L,destroyObjectProperties:j,erase:s,extend:c,find:x,fireEvent:N,isArray:P,isNumber:S,merge:g,pick:v,removeEvent:p,splat:a}=q;function o(d,...h){let m=[].filter.call(h,S);if(m.length)return Math[d].apply(0,m)}class u{static compose(h,m,f){n.compose(h,u),$.compose(h,m,f)}constructor(h){this.isDirty=!1,this.scrollbarHeight=0,this.init(h)}drawHandle(h,m,f,y){let I=this,E=I.navigatorOptions.handles.height;I.handles[m][y](f?{translateX:Math.round(I.left+I.height/2),translateY:Math.round(I.top+parseInt(h,10)+.5-E)}:{translateX:Math.round(I.left+parseInt(h,10)),translateY:Math.round(I.top+I.height/2-E/2-1)})}drawOutline(h,m,f,y){let I=this,E=I.navigatorOptions.maskInside,M=I.outline.strokeWidth(),D=M/2,F=M%2/2,X=I.scrollButtonSize,_=I.size,w=I.top,A=I.height,U=w-D,b=w+A,k=I.left,O,z;f?(O=w+m+F,m=w+h+F,z=[["M",k+A,w-X-F],["L",k+A,O],["L",k,O],["M",k,m],["L",k+A,m],["L",k+A,w+_+X]],E&&z.push(["M",k+A,O-D],["L",k+A,m+D])):(k-=X,h+=k+X-F,m+=k+X-F,z=[["M",k,U],["L",h,U],["L",h,b],["M",m,b],["L",m,U],["L",k+_+X*2,U]],E&&z.push(["M",h-D,U],["L",m+D,U])),I.outline[y]({d:z})}drawMasks(h,m,f,y){let I=this,E=I.left,M=I.top,D=I.height,F,X,_,w;f?(_=[E,E,E],w=[M,M+h,M+m],X=[D,D,D],F=[h,m-h,I.size-m]):(_=[E,E+h,E+m],w=[M,M,M],X=[h,m-h,I.size-m],F=[D,D,D]),I.shades.forEach((A,U)=>{A[y]({x:_[U],y:w[U],width:X[U],height:F[U]})})}renderElements(){var F;let h=this,m=h.navigatorOptions,f=m.maskInside,y=h.chart,I=y.inverted,E=y.renderer,M={curs
179or:I?"ns-resize":"ew-resize"},D=h.navigatorGroup??(h.navigatorGroup=E.g("navigator").attr({zIndex:8,visibility:"hidden"}).add());if([!f,f,!f].forEach((X,_)=>{let w=h.shades[_]??(h.shades[_]=E.rect().addClass("highcharts-navigator-mask"+(_===1?"-inside":"-outside")).add(D));y.styledMode||(w.attr({fill:X?m.maskFill:"rgba(0,0,0,0)"}),_===1&&w.css(M))}),h.outline||(h.outline=E.path().addClass("highcharts-navigator-outline").add(D)),y.styledMode||h.outline.attr({"stroke-width":m.outlineWidth,stroke:m.outlineColor}),(F=m.handles)!=null&&F.enabled){let X=m.handles,{height:_,width:w}=X;[0,1].forEach(A=>{var b;let U=X.symbols[A];if(!h.handles[A]||h.handles[A].symbolUrl!==U)(b=h.handles[A])==null||b.destroy(),h.handles[A]=E.symbol(U,-w/2-1,0,w,_,X),h.handles[A].attr({zIndex:7-A}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][A]).add(D),h.addMouseEvents();else if(!h.handles[A].isImg&&h.handles[A].symbolName!==U){let k=Y[U],O=k.call(Y,-w/2-1,0,w,_);h.handles[A].attr({d:O}),h.handles[A].symbolName=U}y.inverted&&h.handles[A].attr({rotation:90,rotationOriginX:Math.floor(-w/2),rotationOriginY:(_+w)/2}),y.styledMode||h.handles[A].attr({fill:X.backgroundColor,stroke:X.borderColor,"stroke-width":X.lineWidth,width:X.width,height:X.height,x:-w/2-1,y:0}).css(M)})}}update(h,m=!1){var I;let f=this.chart,y=f.options.chart.inverted!==((I=f.scrollbar)==null?void 0:I.options.vertical);if(g(!0,f.options.navigator,h),this.navigatorOptions=f.options.navigator||{},this.setOpposite(),L(h.enabled)||y)return this.destroy(),this.navigatorEnabled=h.enabled||this.navigatorEnabled,this.init(f);if(this.navigatorEnabled&&(this.isDirty=!0,h.adaptToUpdatedData===!1&&this.baseSeries.forEach(E=>{p(E,"updatedData",this.updatedDataHandler)},this),h.adaptToUpdatedData&&this.baseSeries.forEach(E=>{E.eventsToUnbind.push(V(E,"updatedData",this.updatedDataHandler))},this),(h.series||h.baseSeries)&&this.setBaseSeries(void 0,!1),h.height||h.xAxis||h.yAxis)){this.height=h.height??this.height;let E=this.getXAxisOffsets();this.xAxis.update(xt(ze({},h.xAxis),{offsets:E,[f.inverted?"width":"height"]:this.height,[f.inverted?"height":"width"]:void 0}),!1),this.yAxis.update(xt(ze({},h.yAxis),{[f.inverted?"width":"height"]:this.height}),!1)}m&&f.redraw()}render(h,m,f,y){let I=this,E=I.chart,M=I.xAxis,D=M.pointRange||0,F=M.navigatorAxis.fake?E.xAxis[0]:M,X=I.navigatorEnabled,_=I.rendered,w=E.inverted,A=E.xAxis[0].minRange,U=E.xAxis[0].options.maxRange,b=I.scrollButtonSize,k,O,z,W=I.scrollbarHeight,Q,ee;if(this.hasDragged&&!L(f))return;if(this.isDirty&&this.renderElements(),h=T(h-D/2),m=T(m+D/2),!S(h)||!S(m))if(_)f=0,y=v(M.width,F.width);else return;I.left=v(M.left,E.plotLeft+b+(w?E.plotWidth:0));let se=I.size=Q=v(M.len,(w?E.plotHeight:E.plotWidth)-2*b);w?k=W:k=Q+2*b,f=v(f,M.toPixels(h,!0)),y=v(y,M.toPixels(m,!0)),(!S(f)||Math.abs(f)===1/0)&&(f=0,y=k);let ae=M.toValue(f,!0),he=M.toValue(y,!0),ce=Math.abs(T(he-ae));ce<A?this.grabbedLeft?f=M.toPixels(he-A-D,!0):this.grabbedRight&&(y=M.toPixels(ae+A+D,!0)):L(U)&&T(ce-D)>U&&(this.grabbedLeft?f=M.toPixels(he-U-D,!0):this.grabbedRight&&(y=M.toPixels(ae+U+D,!0))),I.zoomedMax=H(Math.max(f,y),0,se),I.zoomedMin=H(I.fixedWidth?I.zoomedMax-I.fixedWidth:Math.min(f,y),0,se),I.range=I.zoomedMax-I.zoomedMin,se=Math.round(I.zoomedMax);let ie=Math.round(I.zoomedMin);X&&(I.navigatorGroup.attr({visibility:"inherit"}),ee=_&&!I.hasDragged?"animate":"attr",I.drawMasks(ie,se,w,ee),I.drawOutline(ie,se,w,ee),I.navigatorOptions.handles.enabled&&(I.drawHandle(ie,0,w,ee),I.drawHandle(se,1,w,ee))),I.scrollbar&&(w?(z=I.top-b,O=I.left-W+(X||!F.opposite?0:(F.titleOffset||0)+F.axisTitleMargin),W=Q+2*b):(z=I.top+(X?I.height:-W),O=I.left-b),I.scrollbar.position(O,z,k,W),I.scrollbar.setRange(I.zoomedMin/(Q||1),I.zoomedMax/(Q||1))),I.rendered=!0,this.isDirty=!1,N(this,"afterRender")}addMouseEvents(){let h=this,m=h.chart,f=m.container,y=[],I,E;h.mouseMoveHandler=I=function(M){h.onMouseMove(M)},h.mouseUpHandler=E=function(M){h.onMouseUp(M)},y=h.getPartsEvents("mousedown"),y.push(V(m.renderTo,"mousemove",I),V(f.ownerDocument,"mouseup",E),V(m.renderTo,"touchmove",I),V(f.ownerDocument,"touchend",E)),y.concat(h.getPartsEvents("touchstart")),h.eventsToUnbind=y,h.series&&h.series[0]&&y.push(V(h.series[0].xAxis,"foundExtremes",function(){m.navigator.modifyNavigatorAxisExtremes()}))}getPartsEvents(h){let m=this,f=[];
179return["shades","handles"].forEach(function(y){m[y].forEach(function(I,E){f.push(V(I.element,h,function(M){m[y+"Mousedown"](M,E)}))})}),f}shadesMousedown(h,m){var b;h=((b=this.chart.pointer)==null?void 0:b.normalize(h))||h;let f=this,y=f.chart,I=f.xAxis,E=f.zoomedMin,M=f.size,D=f.range,F=f.left,X=h.chartX,_,w,A,U;y.inverted&&(X=h.chartY,F=f.top),m===1?(f.grabbedCenter=X,f.fixedWidth=D,f.dragOffset=X-E):(U=X-F-D/2,m===0?U=Math.max(0,U):m===2&&U+D>=M&&(U=M-D,f.reversedExtremes?(U-=D,w=f.getUnionExtremes().dataMin):_=f.getUnionExtremes().dataMax),U!==E&&(f.fixedWidth=D,A=I.navigatorAxis.toFixedRange(U,U+D,w,_),L(A.min)&&N(this,"setRange",{min:Math.min(A.min,A.max),max:Math.max(A.min,A.max),redraw:!0,eventArguments:{trigger:"navigator"}})))}handlesMousedown(h,m){var M;h=((M=this.chart.pointer)==null?void 0:M.normalize(h))||h;let f=this,y=f.chart,I=y.xAxis[0],E=f.reversedExtremes;m===0?(f.grabbedLeft=!0,f.otherHandlePos=f.zoomedMax,f.fixedExtreme=E?I.min:I.max):(f.grabbedRight=!0,f.otherHandlePos=f.zoomedMin,f.fixedExtreme=E?I.max:I.min),y.setFixedRange(void 0)}onMouseMove(h){var X;let m=this,f=m.chart,y=m.navigatorSize,I=m.range,E=m.dragOffset,M=f.inverted,D=m.left,F;(!h.touches||h.touches[0].pageX!==0)&&(h=((X=f.pointer)==null?void 0:X.normalize(h))||h,F=h.chartX,M&&(D=m.top,F=h.chartY),m.grabbedLeft?(m.hasDragged=!0,m.render(0,0,F-D,m.otherHandlePos)):m.grabbedRight?(m.hasDragged=!0,m.render(0,0,m.otherHandlePos,F-D)):m.grabbedCenter&&(m.hasDragged=!0,F<E?F=E:F>y+E-I&&(F=y+E-I),m.render(0,0,F-E,F-E+I)),m.hasDragged&&m.scrollbar&&v(m.scrollbar.options.liveRedraw,!R&&!this.chart.boosted)&&(h.DOMType=h.type,setTimeout(function(){m.onMouseUp(h)},0)))}onMouseUp(h){let m=this,f=m.chart,y=m.xAxis,I=m.scrollbar,E=h.DOMEvent||h,M=f.inverted,D=m.rendered&&!m.hasDragged?"animate":"attr",F,X,_,w,A,U;(m.hasDragged&&(!I||!I.hasDragged)||h.trigger==="scrollbar")&&(_=m.getUnionExtremes(),m.zoomedMin===m.otherHandlePos?w=m.fixedExtreme:m.zoomedMax===m.otherHandlePos&&(A=m.fixedExtreme),m.zoomedMax===m.size&&(A=m.reversedExtremes?_.dataMin:_.dataMax),m.zoomedMin===0&&(w=m.reversedExtremes?_.dataMax:_.dataMin),U=y.navigatorAxis.toFixedRange(m.zoomedMin,m.zoomedMax,w,A),L(U.min)&&N(this,"setRange",{min:Math.min(U.min,U.max),max:Math.max(U.min,U.max),redraw:!0,animation:m.hasDragged?!1:null,eventArguments:{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:E}})),h.DOMType!=="mousemove"&&h.DOMType!=="touchmove"&&(m.grabbedLeft=m.grabbedRight=m.grabbedCenter=m.fixedWidth=m.fixedExtreme=m.otherHandlePos=m.hasDragged=m.dragOffset=null),m.navigatorEnabled&&S(m.zoomedMin)&&S(m.zoomedMax)&&(X=Math.round(m.zoomedMin),F=Math.round(m.zoomedMax),m.shades&&m.drawMasks(X,F,M,D),m.outline&&m.drawOutline(X,F,M,D),m.navigatorOptions.handles.enabled&&Object.keys(m.handles).length===m.handles.length&&(m.drawHandle(X,0,M,D),m.drawHandle(F,1,M,D)))}removeEvents(){this.eventsToUnbind&&(this.eventsToUnbind.forEach(function(h){h()}),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()}removeBaseSeriesEvents(){let h=this.baseSeries||[];this.navigatorEnabled&&h[0]&&(this.navigatorOptions.adaptToUpdatedData!==!1&&h.forEach(function(m){p(m,"updatedData",this.updatedDataHandler)},this),h[0].xAxis&&p(h[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))}getXAxisOffsets(){return this.chart.inverted?[this.scrollButtonSize,0,-this.scrollButtonSize,0]:[0,-this.scrollButtonSize,0,this.scrollButtonSize]}init(h){var b;let m=h.options,f=m.navigator||{},y=f.enabled,I=m.scrollbar||{},E=I.enabled,M=y&&f.height||0,D=E&&I.height||0,F=I.buttonsEnabled&&D||0;this.handles=[],this.shades=[],this.chart=h,this.setBaseSeries(),this.height=M,this.scrollbarHeight=D,this.scrollButtonSize=F,this.scrollbarEnabled=E,this.navigatorEnabled=y,this.navigatorOptions=f,this.scrollbarOptions=I,this.setOpposite();let X=this,_=X.baseSeries,w=h.xAxis.length,A=h.yAxis.length,U=_&&_[0]&&_[0].xAxis||h.xAxis[0]||{options:{}};
179if(h.isDirtyBox=!0,X.navigatorEnabled){let k=this.getXAxisOffsets();X.xAxis=new t(h,g({breaks:U.options.breaks,ordinal:U.options.ordinal,overscroll:U.options.overscroll},f.xAxis,{type:"datetime",yAxis:(b=f.yAxis)==null?void 0:b.id,index:w,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:U.options.ordinal?0:U.options.minPadding,maxPadding:U.options.ordinal?0:U.options.maxPadding,zoomEnabled:!1},h.inverted?{offsets:k,width:M}:{offsets:k,height:M}),"xAxis"),X.yAxis=new t(h,g(f.yAxis,{alignTicks:!1,offset:0,index:A,isInternal:!0,reversed:v(f.yAxis&&f.yAxis.reversed,h.yAxis[0]&&h.yAxis[0].reversed,!1),zoomEnabled:!1},h.inverted?{width:M}:{height:M}),"yAxis"),_||f.series.data?X.updateNavigatorSeries(!1):h.series.length===0&&(X.unbindRedraw=V(h,"beforeRedraw",function(){h.series.length>0&&!X.series&&(X.setBaseSeries(),X.unbindRedraw())})),X.reversedExtremes=h.inverted&&!X.xAxis.reversed||!h.inverted&&X.xAxis.reversed,X.renderElements(),X.addMouseEvents()}else X.xAxis={chart:h,navigatorAxis:{fake:!0},translate:function(k,O){let z=h.xAxis[0],W=z.getExtremes(),Q=z.len-2*F,ee=o("min",z.options.min,W.dataMin),se=o("max",z.options.max,W.dataMax)-ee;return O?k*se/Q+ee:Q*(k-ee)/se},toPixels:function(k){return this.translate(k)},toValue:function(k){return this.translate(k,!0)}},X.xAxis.navigatorAxis.axis=X.xAxis,X.xAxis.navigatorAxis.toFixedRange=B.prototype.toFixedRange.bind(X.xAxis.navigatorAxis);if(h.options.scrollbar.enabled){let k=g(h.options.scrollbar,{vertical:h.inverted});!S(k.margin)&&X.navigatorEnabled&&(k.margin=h.inverted?-3:3),h.scrollbar=X.scrollbar=new K(h.renderer,k,h),V(X.scrollbar,"changed",function(O){let z=X.size,W=z*this.to,Q=z*this.from;X.hasDragged=X.scrollbar.hasDragged,X.render(0,0,Q,W),this.shouldUpdateExtremes(O.DOMType)&&setTimeout(function(){X.onMouseUp(O)})})}X.addBaseSeriesEvents(),X.addChartEvents()}setOpposite(){let h=this.navigatorOptions,m=this.navigatorEnabled,f=this.chart;this.opposite=v(h.opposite,!!(!m&&f.inverted))}getUnionExtremes(h){let m=this.chart.xAxis[0],f=this.xAxis,y=f.options,I=m.options,E;return(!h||m.dataMin!==null)&&(E={dataMin:v(y&&y.min,o("min",I.min,m.dataMin,f.dataMin,f.min)),dataMax:v(y&&y.max,o("max",I.max,m.dataMax,f.dataMax,f.max))}),E}setBaseSeries(h,m){let f=this.chart,y=this.baseSeries=[];h=h||f.options&&f.options.navigator.baseSeries||(f.series.length?x(f.series,I=>!I.options.isInternal).index:0),(f.series||[]).forEach((I,E)=>{!I.options.isInternal&&(I.options.showInNavigator||(E===h||I.options.id===h)&&I.options.showInNavigator!==!1)&&y.push(I)}),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,m)}updateNavigatorSeries(h,m){var w,A;let f=this,y=f.chart,I=f.baseSeries,E={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:(w=this.navigatorOptions.xAxis)==null?void 0:w.id,yAxis:(A=this.navigatorOptions.yAxis)==null?void 0:A.id,showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},M=f.series=(f.series||[]).filter(U=>{let b=U.baseSeries;return I.indexOf(b)<0?(b&&(p(b,"updatedData",f.updatedDataHandler),delete b.navigatorSeries),U.chart&&U.destroy(),!1):!0}),D,F,X=f.navigatorOptions.series,_;I&&I.length&&I.forEach(U=>{let b=U.navigatorSeries,k=c({color:U.color,visible:U.visible},P(X)?Z.navigator.series:X);if(b&&f.navigatorOptions.adaptToUpdatedData===!1)return;E.name="Navigator "+I.length,D=U.options||{},_=D.navigatorOptions||{},k.dataLabels=a(k.dataLabels),F=g(D,E,k,_),F.pointRange=v(k.pointRange,_.pointRange,Z.plotOptions[F.type||"line"].pointRange);let O=_.data||k.data;f.hasNavigatorData=f.hasNavigatorData||!!O,F.data=O||D.data&&D.data.slice(0),b&&b.options?b.update(F,m):(U.navigatorSeries=y.initSeries(F),y.setSortedData(),U.navigatorSeries.baseSeries=U,M.push(U.navigatorSeries))}),(X.data&&!(I&&I.length)||P(X))&&(f.hasNavigatorData=!1,X=a(X),X.forEach((U,b)=>{E.name="Navigator "+(M.length+1),F=g(Z.navigator.series,{color:y.series[b]&&!y.series[b].options.isInternal&&y.series[b].color||y.options.colors[b]||y.options.colors[0]},E,U),F.data=U.data,F.data&&(f.hasNavigatorData=!0,M.push(y.initSeries(F)))}
179)),h&&this.addBaseSeriesEvents()}addBaseSeriesEvents(){let h=this,m=h.baseSeries||[];m[0]&&m[0].xAxis&&m[0].eventsToUnbind.push(V(m[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),m.forEach(f=>{f.eventsToUnbind.push(V(f,"show",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)})),f.eventsToUnbind.push(V(f,"hide",function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)})),this.navigatorOptions.adaptToUpdatedData!==!1&&f.xAxis&&f.eventsToUnbind.push(V(f,"updatedData",this.updatedDataHandler)),f.eventsToUnbind.push(V(f,"remove",function(){m&&s(m,f),this.navigatorSeries&&(s(h.series,this.navigatorSeries),L(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)}))})}getBaseSeriesMin(h){return this.baseSeries.reduce(function(m,f){return Math.min(m,f.xData&&f.xData.length?f.xData[0]:m)},h)}modifyNavigatorAxisExtremes(){let h=this.xAxis;if(typeof h.getExtremes<"u"){let m=this.getUnionExtremes(!0);m&&(m.dataMin!==h.min||m.dataMax!==h.max)&&(h.min=m.dataMin,h.max=m.dataMax)}}modifyBaseAxisExtremes(){var O;let h=this,m=h.chart.navigator,f=h.getExtremes(),y=f.min,I=f.max,E=f.dataMin,M=f.dataMax,D=I-y,F=m.stickToMin,X=m.stickToMax,_=v((O=h.ordinal)==null?void 0:O.convertOverscroll(h.options.overscroll),0),w=m.series&&m.series[0],A=!!h.setExtremes,U=h.eventArgs&&h.eventArgs.trigger==="rangeSelectorButton",b,k;U||(F&&(k=E,b=k+D),X&&(b=M+_,F||(k=Math.max(E,b-D,m.getBaseSeriesMin(w&&w.xData?w.xData[0]:-Number.MAX_VALUE)))),A&&(F||X)&&S(k)&&(h.min=h.userMin=k,h.max=h.userMax=b)),m.stickToMin=m.stickToMax=null}updatedDataHandler(){let h=this.chart.navigator,m=this,f=this.navigatorSeries,y=h.reversedExtremes?Math.round(h.zoomedMin)===0:Math.round(h.zoomedMax)>=Math.round(h.size);h.stickToMax=v(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,y),h.stickToMin=h.shouldStickToMin(m,h),f&&!h.hasNavigatorData&&(f.options.pointStart=m.xData[0],f.setData(m.options.data,!1,null,!1))}shouldStickToMin(h,m){let f=m.getBaseSeriesMin(h.xData[0]),y=h.xAxis,I=y.max,E=y.min,M=y.options.range,D=!0;return S(I)&&S(E)?M&&I-f>0?D=I-f<M:D=E<=f:D=!1,D}addChartEvents(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(V(this.chart,"redraw",function(){let h=this.navigator,m=h&&(h.baseSeries&&h.baseSeries[0]&&h.baseSeries[0].xAxis||this.xAxis[0]);m&&h.render(m.min,m.max)}),V(this.chart,"getMargins",function(){let h=this,m=h.navigator,f=m.opposite?"plotTop":"marginBottom";h.inverted&&(f=m.opposite?"marginRight":"plotLeft"),h[f]=(h[f]||0)+(m.navigatorEnabled||!h.inverted?m.height+m.scrollbarHeight:0)+m.navigatorOptions.margin}),V(u,"setRange",function(h){this.chart.xAxis[0].setExtremes(h.min,h.max,h.redraw,h.animation,h.eventArguments)}))}destroy(){this.removeEvents(),this.xAxis&&(s(this.chart.xAxis,this.xAxis),s(this.chart.axes,this.xAxis)),this.yAxis&&(s(this.chart.yAxis,this.yAxis),s(this.chart.axes,this.yAxis)),(this.series||[]).forEach(h=>{h.destroy&&h.destroy()}),["series","xAxis","yAxis","shades","outline","scrollbarTrack","scrollbarRifles","scrollbarGroup","scrollbar","navigatorGroup","rendered"].forEach(h=>{this[h]&&this[h].destroy&&this[h].destroy(),this[h]=null}),[this.handles].forEach(h=>{j(h)}),this.navigatorEnabled=!1}}return u}),r(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{addEvent:B,correctFloat:$,css:K,defined:G,error:q,isNumber:Z,pick:R,timeUnits:Y,isString:V}=C;var H;return function(T){function L(u,d,h){let m=u.prototype;return m.ordinal2lin||(m.getTimeTicks=j,m.index2val=s,m.lin2val=c,m.val2lin=a,m.ordinal2lin=m.val2lin,B(u,"afterInit",N),B(u,"foundExtremes",P),B(u,"afterSetScale",S),B(u,"initialAxisTranslation",g),B(h,"pan",v),B(h,"touchpan",v),B(d,"updatedData",p)),u}T.compose=L;function j(u,d,h,m,f=[],y=0,I){let E={},M=this.options.tickPixelInterval,D=this.chart.time,F=[],X,_,w,A,U,b=0,k=[],O=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!f||f.length<3||typeof d>"u")return D.getTimeTicks.apply(D,arguments);let z=f.length;for(X=0;X<z;X++){if(U=X&&f[X-1]>h,f[X]<d&&(b=X),X===z-1||f[X+1]-f[X]>y*5||U){if(f[X]>O){for(_=D.getTimeTicks(u,f[b],f[X],m);_.length&&_[0]<=O;)_.shift();_.length&&(O=_[_.length-1]),F.push(k.length),k=k.concat(_)}b=X+1}if(U)break}if(_){if(A=_.info,I&&A.unitRange<=Y.hour){for(X=k.length-1,b=1;b<X;b++)D.dateFormat("%d",k[b])!==D.dateFormat("%d",k[b-1])&&(E[k[b]]="day",w=!0);w&&(E[k[0]]="day"),A.higherRanks=E}A.segmentStarts=F,k.info=A}else q(12,!1,this.chart);if(I&&G(M)){let W=k.length,Q=[],ee=[],se,ae,he,ce,ie,te=W;for(;te--;)ae=this.translate(k[te]),he&&(ee[te]=he-ae),Q[te]=he=ae;for(ee.sort((ne,oe)=>ne-oe),ce=ee[Math.floor(ee.length/2)],ce<M*.6&&(ce=null),te=k[W-1]>h?W-1:W,he=void 0;te--;)ae=Q[te],ie=Math.abs(he-ae),he&&ie<M*.8&&(ce===null||ie<ce*.8)?(E[k[te]]&&!E[k[te+1]]?(se=te+1,he=ae):se=te,k.splice(se,1)):he=ae}return k}function s(u){let d=this,h=d.ordinal,m=h.positions;if(!m)return u;let f=m.length-1,y;return u<0?u=m[0]:u>f?u=m[f]:(f=Math.floor(u),y=u-f),typeof y<"u"&&typeof m[f]<"u"?m[f]+(y?y*(m[f+1]-m[f]):0):u}function c(u){let d=this,h=d.ordinal,m=d.old?d.old.min:d.min,f=d.old?d.old.transA:d.transA,y=h.getExtendedPositions();if(y&&y.length){let I=$((u-m)*f+d.minPixelPadding),E=$(h.getIndexOfPoint(I,y)),M=$(E%1);if(E>=0&&E<=y.length-1){let D=y[Math.floor(E)],F=y[Math.ceil(E)],X=F-D;return y[Math.floor(E)]+M*X}}return u}function x(u,d){let h=T.Additions.findIndexOf(u,d,!0);if(u[h]===d)return h;let m=(d-u[h])/(u[h+1]-u[h]);return h+m}function N(){let u=this;u.ordinal||(u.ordinal=new T.Additions(u))}function P(){let u=this,{eventArgs:d,options:h}=u;if(u.isXAxis&&G(h.overscroll)&&h.overscroll!==0&&Z(u.max)&&Z(u.min)&&(u.options.ordinal&&!u.ordinal.originalOrdinalRange&&u.ordinal.getExtendedPositions(!1),u.max===u.dataMax&&((d==null?void 0:d.trigger)!=="pan"||u.isInternal)&&(d==null?void 0:d.trigger)!=="navigator")){let m=u.ordinal.convertOverscroll(h.overscroll);u.max+=m,!u.isInternal&&G(u.userMin)&&(d==null?void 0:d.trigger)!=="mousewheel"&&(u.min+=m)}}function S(){let u=this;u.horiz&&!u.isDirty&&(u.isDirty=u.isOrdinal&&u.chart.navigator&&!u.chart.navigator.adaptToUpdatedData)}function g(){let u=this;u.ordinal&&(u.ordinal.beforeSetTickPositions(),u.tickInterval=u.ordinal.postProcessTickInterval(u.tickInterval))}function v(u){let d=this,h=d.xAxis[0],m=h.ordinal.convertOverscroll(h.options.overscroll),f=u.originalEvent.chartX,y=d.options.chart.panning,I=!1;if(y&&y.type!=="y"&&h.options.ordinal&&h.series.length&&(!u.touches||u.touches.length<=1)){let E=d.mouseDownX,M=h.getExtremes(),D=M.dataMin,F=M.dataMax,X=M.min,_=M.max,w=d.hoverPoints,A=h.closestPointRange||h.ordinal&&h.ordinal.overscrollPointsRange,U=h.translationSlope*(h.ordinal.slope||A),b=Math.round((E-f)/U),k=h.ordinal.getExtendedPositions(),O={ordinal:{positions:k,extendedOrdinalPositions:k}},z=h.index2val,W=h.val2lin,Q,ee;if(X<=D&&b<0||_+m>=F&&b>0)return;O.ordinal.positions?Math.abs(b)>
1791&&(w&&w.forEach(function(se){se.setState()}),ee=O.ordinal.positions,F>ee[ee.length-1]&&ee.push(F),d.setFixedRange(_-X),Q=h.navigatorAxis.toFixedRange(void 0,void 0,z.apply(O,[W.apply(O,[X,!0])+b]),z.apply(O,[W.apply(O,[_,!0])+b])),Q.min>=Math.min(M.dataMin,X)&&Q.max<=Math.max(F,_)+m&&h.setExtremes(Q.min,Q.max,!0,!1,{trigger:"pan"}),d.mouseDownX=f,K(d.container,{cursor:"move"})):I=!0}else I=!0;I||y&&/y/.test(y.type)?m&&(h.max=h.dataMax+m):u.preventDefault()}function p(){let u=this.xAxis;u&&u.options.ordinal&&(delete u.ordinal.index,delete u.ordinal.originalOrdinalRange)}function a(u,d){let h=this,m=h.ordinal,f=m.positions,y=m.slope,I;if(!f)return u;let E=f.length,M;if(f[0]<=u&&f[E-1]>=u)M=x(f,u);else{if(I=m.getExtendedPositions&&m.getExtendedPositions(),!(I&&I.length))return u;let D=I.length;y||(y=(I[D-1]-I[0])/D);let F=x(I,f[0]);if(u>=I[0]&&u<=I[D-1])M=x(I,u)-F;else{if(!d)return u;if(u<I[0]){let X=I[0]-u,_=X/y;M=-F-_}else M=(u-I[D-1])/y+D-F}}return d?M:y*(M||0)+m.offset}class o{constructor(d){this.index={},this.axis=d}beforeSetTickPositions(){var W;let d=this.axis,h=d.ordinal,m=d.getExtremes(),f=m.min,y=m.max,I=(W=d.brokenAxis)==null?void 0:W.hasBreaks,E=d.options.ordinal,M,D,F,X,_,w,A,U=[],b=Number.MAX_VALUE,k=!1,O=!1,z=!1;if(E||I){let Q=0;if(d.series.forEach(function(ee,se){if(D=[],se>0&&ee.options.id!=="highcharts-navigator-series"&&ee.processedXData.length>1&&(O=Q!==ee.processedXData[1]-ee.processedXData[0]),Q=ee.processedXData[1]-ee.processedXData[0],ee.boosted&&(z=ee.boosted),ee.reserveSpace()&&(ee.takeOrdinalPosition!==!1||I)&&(U=U.concat(ee.processedXData),M=U.length,U.sort(function(ae,he){return ae-he}),b=Math.min(b,R(ee.closestPointRange,b)),M)){for(se=0;se<M-1;)U[se]!==U[se+1]&&D.push(U[se+1]),se++;D[0]!==U[0]&&D.unshift(U[0]),U=D}}),d.ordinal.originalOrdinalRange||(d.ordinal.originalOrdinalRange=(U.length-1)*b),O&&z&&(U.pop(),U.shift()),M=U.length,M>2){for(F=U[1]-U[0],A=M-1;A--&&!k;)U[A+1]-U[A]!==F&&(k=!0);!d.options.keepOrdinalPadding&&(U[0]-f>F||y-U[U.length-1]>F)&&(k=!0)}else d.options.overscroll&&(M===2?b=U[1]-U[0]:M===1?(b=d.ordinal.convertOverscroll(d.options.overscroll),U=[U[0],U[0]+b]):b=h.overscrollPointsRange);k||d.forceOrdinal?(d.options.overscroll&&(h.overscrollPointsRange=b,U=U.concat(h.getOverscrollPositions())),h.positions=U,X=d.ordinal2lin(Math.max(f,U[0]),!0),_=Math.max(d.ordinal2lin(Math.min(y,U[U.length-1]),!0),1),h.slope=w=(y-f)/(_-X),h.offset=f-X*w):(h.overscrollPointsRange=R(d.closestPointRange,h.overscrollPointsRange),h.positions=d.ordinal.slope=h.offset=void 0)}d.isOrdinal=E&&k,h.groupIntervalFactor=null}static findIndexOf(d,h,m){let f=0,y=d.length-1,I;for(;f<y;)I=Math.ceil((f+y)/2),d[I]<=h?f=I:y=I-1;return d[f]===h||m?f:-1}getExtendedPositions(d=!0){var w;let h=this,m=h.axis,f=m.constructor.prototype,y=m.chart,I=(w=m.series[0])==null?void 0:w.currentDataGrouping,E=I?I.count+I.unitName:"raw",M=d?m.ordinal.convertOverscroll(m.options.overscroll):0,D=m.getExtremes(),F,X,_=h.index;return _||(_=h.index={}),_[E]||(F={series:[],chart:y,forceOrdinal:!1,getExtremes:function(){return{min:D.dataMin,max:D.dataMax+M}},applyGrouping:f.applyGrouping,getGroupPixelWidth:f.getGroupPixelWidth,getTimeTicks:f.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:f.ordinal2lin,getIndexOfPoint:f.getIndexOfPoint,val2lin:f.val2lin},F.ordinal.axis=F,m.series.forEach(function(A){var U,b,k;X={xAxis:F,xData:A.xData.slice(),chart:y,groupPixelWidth:A.groupPixelWidth,destroyGroupedData:n.noop,getProcessedData:l.prototype.getProcessedData,applyGrouping:l.prototype.applyGrouping,reserveSpace:l.prototype.reserveSpace,visible:A.visible},d&&(X.xData=X.xData.concat(h.getOverscrollPositions())),X.options={dataGrouping:I?{firstAnchor:(U=A.options.dataGrouping)==null?void 0:U.firstAnchor,anchor:(b=A.options.dataGrouping)==null?void 0:b.anchor,lastAnchor:(k=A.options.dataGrouping)==null?void 0:k.firstAnchor,enabled:!0,forced:!0,approximation:"open",units:[[I.unitName,[I.count]]]}:{enabled:!1}},F.series.push(X),A.processData.apply(X)}),F.applyGrouping({hasExtremesChanged:!0}),(X==null?void 0:X.closestPointRange)!==(X==null?void 0:X.basePointRange)&&X.currentDataGrouping&&(F.forceOrdinal=!0),m.ordinal.beforeSetTickPositions.apply({axis:F}),!m.ordinal.originalOrdinalRange&&F.ordinal.originalOrdinalRange&&(m.ordinal.originalOrdinalRange=F.ordinal.originalOrdinalRange),_[E]=F.ordinal.positions),_[E]}
179getGroupIntervalFactor(d,h,m){let f=this,y=m.processedXData,I=y.length,E=[],M,D,F=f.groupIntervalFactor;if(!F){for(D=0;D<I-1;D++)E[D]=y[D+1]-y[D];E.sort(function(X,_){return X-_}),M=E[Math.floor(I/2)],d=Math.max(d,y[0]),h=Math.min(h,y[I-1]),f.groupIntervalFactor=F=I*M/(h-d)}return F}getIndexOfPoint(d,h){let m=this,f=m.axis,y=0,I=function(F){let{min:X,max:_}=f;return G(X)&&G(_)?F.points.some(w=>w.x>=X&&w.x<=_):!1},E;f.series.forEach(F=>{var _;let X=(_=F.points)==null?void 0:_[0];G(X==null?void 0:X.plotX)&&(X.plotX<E||!G(E))&&I(F)&&(E=X.plotX,y=X.x)}),E??(E=f.minPixelPadding);let M=f.translationSlope*(m.slope||f.closestPointRange||m.overscrollPointsRange),D=$((d-E)/M);return o.findIndexOf(h,y,!0)+D}getOverscrollPositions(){let d=this,h=d.axis,m=d.convertOverscroll(h.options.overscroll),f=d.overscrollPointsRange,y=[],I=h.dataMax;if(G(f))for(;I<=h.dataMax+m;)I+=f,y.push(I);return y}postProcessTickInterval(d){let h=this,m=h.axis,f=h.slope,y;return f?m.options.breaks?y=m.closestPointRange||d:y=d/(f/m.closestPointRange):y=d,y}convertOverscroll(d=0){let h=this,m=h.axis,f=function(y){return R(h.originalOrdinalRange,G(m.dataMax)&&G(m.dataMin)?m.dataMax-m.dataMin:0)*y};if(V(d)){let y=parseInt(d,10);if(/%$/.test(d))return f(y/100);if(/px/.test(d)){let I=Math.min(y,m.len*.9),E=I/m.len;return f(E/(1-E))}return 0}return d}}T.Additions=o}(H||(H={})),H}),r(e,"Stock/RangeSelector/RangeSelectorDefaults.js",[],function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%e %b %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#334eff",cursor:"pointer",fontSize:"0.8em"},labelStyle:{color:"#666666",fontSize:"0.8em"}}}}),r(e,"Stock/RangeSelector/RangeSelectorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{defaultOptions:B}=t,{composed:$}=n,{addEvent:K,defined:G,extend:q,isNumber:Z,merge:R,pick:Y,pushUnique:V}=C,H=[],T;function L(){let v=this.range,p=v.type,a=this.max,o=this.chart.time,u=function(f,y){let I=p==="year"?"FullYear":"Month",E=new o.Date(f),M=o.get(I,E);return o.set(I,E,M+y),M===o.get(I,E)&&o.set("Date",E,0),E.getTime()-f},d,h;Z(v)?(d=a-v,h=v):v&&(d=a+u(a,-(v.count||1)),this.chart&&this.chart.setFixedRange(a-d));let m=Y(this.dataMin,Number.MIN_VALUE);return Z(d)||(d=m),d<=m&&(d=m,typeof h>"u"&&(h=u(d,v.count)),this.newMax=Math.min(d+h,Y(this.dataMax,Number.MAX_VALUE))),Z(a)?!Z(v)&&v&&v._offsetMin&&(d+=v._offsetMin):d=void 0,d}function j(v,p,a){if(T=a,V($,"RangeSelector")){let o=p.prototype;v.prototype.minFromRange=L,K(p,"afterGetContainer",s),K(p,"beforeRender",c),K(p,"destroy",N),K(p,"getMargins",P),K(p,"redraw",x),K(p,"update",S),o.callbacks.push(x),q(B,{rangeSelector:l.rangeSelector}),q(B.lang,l.lang)}}function s(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new T(this))}function c(){let v=this,p=v.rangeSelector;if(p){Z(p.deferredYTDClick)&&(p.clickButton(p.deferredYTDClick),delete p.deferredYTDClick);let a=p.options.verticalAlign;p.options.floating||(a==="bottom"?this.extraBottomMargin=!0:a!=="middle"&&(this.extraTopMargin=!0))}}function x(){let v=this,p=this.rangeSelector;if(!p)return;let a,o=v.xAxis[0].getExtremes(),u=v.legend,d=p&&p.options.verticalAlign;Z(o.min)&&p.render(o.min,o.max),u.display&&d==="top"&&d===u.options.verticalAlign&&(a=R(v.spacingBox),u.options.layout==="vertical"?a.y=v.plotTop:a.y+=p.getHeight(),u.group.placed=!1,u.align(a))}function N(){for(let v=0,p=H.length;v<p;++v){let a=H[v];if(a[0]===this){a[1].forEach(o=>o()),H.splice(v,1);return}}}function P(){let v=this.rangeSelector;if(v){let p=v.getHeight();this.extraTopMargin&&(this.plotTop+=p),this.extraBottomMargin&&(this.marginBottom+=p)}}function S(v){let p=this,a=v.options,o=a.rangeSelector,u=this.extraBottomMargin,d=this.extraTopMargin,h=p.rangeSelector;if(o&&o.enabled&&!G(h)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=h=new T(this)),this.extraBottomMargin=!1,this.extraTopMargin=!1,h){let m=o&&o.verticalAlign||h.options&&h.options.verticalAlign;h.options.floating||(m==="bottom"?this.extraBottomMargin=!0:m!=="middle"&&(this.extraTopMargin=!0)),(this.extraBottomMargin!==u||this.extraTopMargin!==d)&&(this.isDirtyBox=!0)}}return{compose:j}}),r(e,"Stock/RangeSelector/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorComposition.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"],e["Core/Axis/OrdinalAxis.js"]],function(t,n,l,C,B,$,K){let{defaultOptions:G}=n,{addEvent:q,createElement:Z,css:R,defined:Y,destroyObjectProperties:V,discardElement:H,extend:T,fireEvent:L,isNumber:j,merge:s,objectEach:c,pad:x,pick:N,pInt:P,splat:S}=$;function g(p){if(p.indexOf("%L")!==-1)return"text";let o=["a","A","d","e","w","b","B","m","o","y","Y"].some(d=>p.indexOf("%"+d)!==-1),u=["H","k","I","l","M","S"].some(d=>p.indexOf("%"+d)!==-1);return o&&u?"datetime-local":o?"date":u?"time":"text"}class v{static compose(a,o){C.compose(a,o,v)}constructor(a){this.buttonOptions=v.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.init(
179a)}clickButton(a,o){let u=this,d=u.chart,h=u.buttonOptions[a],m=d.xAxis[0],f=d.scroller&&d.scroller.getUnionExtremes()||m||{},y=h.type,I=h.dataGrouping,E=f.dataMin,M=f.dataMax,D,F=m&&Math.round(Math.min(m.max,N(M,m.max))),X,_=h._range,w,A,U,b=!0;if(!(E===null||M===null)){if(u.setSelected(a),I&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(m||{chart:this.chart},I,!1),this.frozenStates=h.preserveDataGrouping),y==="month"||y==="year")m?(A={range:h,max:F,chart:d,dataMin:E,dataMax:M},D=m.minFromRange.call(A),j(A.newMax)&&(F=A.newMax),b=!1):_=h;else if(_)D=Math.max(F-_,E),F=Math.min(D+_,M),b=!1;else if(y==="ytd")if(m)(typeof M>"u"||typeof E>"u")&&(E=Number.MAX_VALUE,M=Number.MIN_VALUE,d.series.forEach(k=>{let O=k.xData;O&&(E=Math.min(O[0],E),M=Math.max(O[O.length-1],M))}),o=!1),U=u.getYTDExtremes(M,E,d.time.useUTC),D=w=U.min,F=U.max;else{u.deferredYTDClick=a;return}else y==="all"&&m&&(d.navigator&&d.navigator.baseSeries[0]&&(d.navigator.baseSeries[0].xAxis.options.range=void 0),D=E,F=M);if(b&&h._offsetMin&&Y(D)&&(D+=h._offsetMin),h._offsetMax&&Y(F)&&(F+=h._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=a+1),m)m.setExtremes(D,F,N(o,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:h}),d.setFixedRange(h._range);else{X=S(d.options.xAxis)[0];let k=q(d,"afterGetAxes",function(){let O=d.xAxis[0];O.range=O.options.range=_,O.min=O.options.min=w});q(d,"load",function(){let z=d.xAxis[0];d.setFixedRange(h._range),z.options.range=X.range,z.options.min=X.min,k()})}L(this,"afterBtnClick")}}setSelected(a){this.selected=this.options.selected=a}init(a){let o=this,u=a.options.rangeSelector,d=u.buttons||o.defaultButtons.slice(),h=u.selected,m=function(){let f=o.minInput,y=o.maxInput;f&&f.blur&&L(f,"blur"),y&&y.blur&&L(y,"blur")};o.chart=a,o.options=u,o.buttons=[],o.buttonOptions=d,this.eventsToUnbind=[],this.eventsToUnbind.push(q(a.container,"mousedown",m)),this.eventsToUnbind.push(q(a,"resize",m)),d.forEach(o.computeButtonRange),typeof h<"u"&&d[h]&&this.clickButton(h,!1),this.eventsToUnbind.push(q(a,"load",function(){a.xAxis&&a.xAxis[0]&&q(a.xAxis[0],"setExtremes",function(f){j(this.max)&&j(this.min)&&this.max-this.min!==a.fixedRange&&f.trigger!=="rangeSelectorButton"&&f.trigger!=="updatedData"&&o.forcedDataGrouping&&!o.frozenStates&&this.setDataGrouping(!1,!1)})})),this.createElements()}updateButtonStates(){let a=this,o=this.chart,u=this.dropdown,d=this.dropdownLabel,h=o.xAxis[0],m=Math.round(h.max-h.min),f=!h.hasVisibleSeries,y=24*36e5,I=o.scroller&&o.scroller.getUnionExtremes()||h,E=I.dataMin,M=I.dataMax,D=a.getYTDExtremes(M,E,o.time.useUTC),F=D.min,X=D.max,_=a.selected,w=a.options.allButtonsEnabled,A=new Array(a.buttonOptions.length).fill(0),U=j(_),b=a.buttons,k=!1,O=null;a.buttonOptions.forEach((z,W)=>{var ue;let Q=z._range,ee=z.type,se=z.count||1,ae=z._offsetMax-z._offsetMin,he=W===_,ce=Q>M-E,ie=Q<h.minRange,te=!1,ne=Q===m;if(he&&ce&&(k=!0),h.isOrdinal&&((ue=h.ordinal)!=null&&ue.positions)&&Q&&m<Q){let de=h.ordinal.positions,fe=K.Additions.findIndexOf(de,h.min,!0),me=Math.min(K.Additions.findIndexOf(de,h.max,!0)+1,de.length-1);de[me]-de[fe]>Q&&(ne=!0)}else(ee==="month"||ee==="year")&&m+36e5>={month:28,year:365}[ee]*y*se-ae&&m-36e5<={month:31,year:366}[ee]*y*se+ae?ne=!0:ee==="ytd"?(ne=X-F+ae===m,te=!he):ee==="all"&&(ne=h.max-h.min>=M-E);let oe=!w&&!(k&&ee==="all")&&(ce||ie||f),le=k&&ee==="all"||(te?!1:ne)||he&&a.frozenStates;oe?A[W]=3:le&&(!U||W===_)&&(O=W)}),O!==null?(A[O]=2,a.setSelected(O)):(a.setSelected(),d&&(d.setState(0),d.attr({text:(G.lang.rangeSelectorZoom||"")+" \u25BE"})));for(let z=0;z<A.length;z++){let W=A[z],Q=b[z];if(Q.state!==W&&(Q.setState(W),u)){u.options[z+1].disabled=W===3,W===2&&(d&&(d.setState(2),d.attr({text:a.buttonOptions[z].text+" \u25BE"})),u.selectedIndex=z+1);let ee=d.getBBox();R(u,{width:`${ee.width}px`,height:`${ee.height}px`})}}}computeButtonRange(a){let o=a.type,u=a.count||1,d={millisecond:1,second:1e3,minute:60*1e3,hour:3600*1e3,day:24*3600*1e3,week:7*24*3600*1e3};d[o]?a._range=d[o]*u:(o==="month"||o==="year")&&(a._range={month:30,year:365}[o]*24*36e5*u),a._offsetMin=N(a.offsetMin,0),a._offsetMax=N(a.offsetMax,0),a._range+=a._offsetMax-a._offsetMin}
179getInputValue(a){let o=a==="min"?this.minInput:this.maxInput,u=this.chart.options.rangeSelector,d=this.chart.time;return o?(o.type==="text"&&u.inputDateParser||this.defaultInputDateParser)(o.value,d.useUTC,d):0}setInputValue(a,o){let u=this.options,d=this.chart.time,h=a==="min"?this.minInput:this.maxInput,m=a==="min"?this.minDateBox:this.maxDateBox;if(h){let f=h.getAttribute("data-hc-time"),y=Y(f)?Number(f):void 0;if(Y(o)){let I=y;Y(I)&&h.setAttribute("data-hc-time-previous",I),h.setAttribute("data-hc-time",o),y=o}h.value=d.dateFormat(this.inputTypeFormats[h.type]||u.inputEditDateFormat,y),m&&m.attr({text:d.dateFormat(u.inputDateFormat,y)})}}setInputExtremes(a,o,u){let d=a==="min"?this.minInput:this.maxInput;if(d){let h=this.inputTypeFormats[d.type],m=this.chart.time;if(h){let f=m.dateFormat(h,o);d.min!==f&&(d.min=f);let y=m.dateFormat(h,u);d.max!==y&&(d.max=y)}}}showInput(a){let o=a==="min"?this.minDateBox:this.maxDateBox,u=a==="min"?this.minInput:this.maxInput;if(u&&o&&this.inputGroup){let d=u.type==="text",{translateX:h=0,translateY:m=0}=this.inputGroup,{x:f=0,width:y=0,height:I=0}=o,{inputBoxWidth:E}=this.options;R(u,{width:d?y+(E?-2:20)+"px":"auto",height:I-2+"px",border:"2px solid silver"}),d&&E?R(u,{left:h+f+"px",top:m+"px"}):R(u,{left:Math.min(Math.round(f+h-(u.offsetWidth-y)/2),this.chart.chartWidth-u.offsetWidth)+"px",top:m-(u.offsetHeight-I)/2+"px"})}}hideInput(a){let o=a==="min"?this.minInput:this.maxInput;o&&R(o,{top:"-9999em",border:0,width:"1px",height:"1px"})}defaultInputDateParser(a,o,u){let d=f=>f.length>6&&(f.lastIndexOf("-")===f.length-6||f.lastIndexOf("+")===f.length-6),h=a.split("/").join("-").split(" ").join("T");if(h.indexOf("T")===-1&&(h+="T00:00"),o)h+="Z";else if(l.isSafari&&!d(h)){let f=new Date(h).getTimezoneOffset()/60;h+=f<=0?`+${x(-f)}:00`:`-${x(f)}:00`}let m=Date.parse(h);if(!j(m)){let f=a.split("-");m=Date.UTC(P(f[0]),P(f[1])-1,P(f[2]))}return u&&o&&j(m)&&(m+=u.getTimezoneOffset(m)),m}drawInput(a){let{chart:o,div:u,inputGroup:d}=this,h=this,m=o.renderer.style||{},f=o.renderer,y=o.options.rangeSelector,I=G.lang,E=a==="min";function M(A){var se;let{maxInput:U,minInput:b}=h,k=o.xAxis[0],O=((se=o.scroller)==null?void 0:se.getUnionExtremes())||k,z=O.dataMin,W=O.dataMax,Q=o.xAxis[0].getExtremes()[A],ee=h.getInputValue(A);j(ee)&&ee!==Q&&(E&&U&&j(z)?ee>Number(U.getAttribute("data-hc-time"))?ee=void 0:ee<z&&(ee=z):b&&j(W)&&(ee<Number(b.getAttribute("data-hc-time"))?ee=void 0:ee>W&&(ee=W)),typeof ee<"u"&&k.setExtremes(E?ee:k.min,E?k.max:ee,void 0,void 0,{trigger:"rangeSelectorInput"}))}let D=I[E?"rangeSelectorFrom":"rangeSelectorTo"]||"",F=f.label(D,0).addClass("highcharts-range-label").attr({padding:D?2:0,height:D?y.inputBoxHeight:0}).add(d),X=f.label("",0).addClass("highcharts-range-input").attr({padding:2,width:y.inputBoxWidth,height:y.inputBoxHeight,"text-align":"center"}).on("click",function(){h.showInput(a),h[a+"Input"].focus()});o.styledMode||X.attr({stroke:y.inputBoxBorderColor,"stroke-width":1}),X.add(d);let _=Z("input",{name:a,className:"highcharts-range-selector"},void 0,u);_.setAttribute("type",g(y.inputDateFormat||"%e %b %Y")),o.styledMode||(F.css(s(m,y.labelStyle)),X.css(s({color:"#333333"},m,y.inputStyle)),R(_,T({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:m.fontSize,fontFamily:m.fontFamily,top:"-9999em"},y.inputStyle))),_.onfocus=()=>{h.showInput(a)},_.onblur=()=>{_===l.doc.activeElement&&M(a),h.hideInput(a),h.setInputValue(a),_.blur()};let w=!1;return _.onchange=()=>{w||(M(a),h.hideInput(a),_.blur())},_.onkeypress=A=>{A.keyCode===13&&M(a)},_.onkeydown=A=>{w=!0,(A.key==="ArrowUp"||A.key==="ArrowDown"||A.key==="Tab")&&M(a)},_.onkeyup=()=>{w=!1},{dateBox:X,input:_,label:F}}getPosition(){let a=this.chart,o=a.options.rangeSelector,u=o.verticalAlign==="top"?a.plotTop-a.axisOffset[0]:0;return{buttonTop:u+o.buttonPosition.y,inputTop:u+o.inputPosition.y-10}}getYTDExtremes(a,o,u){let d=this.chart.time,h=new d.Date(a),m=d.get("FullYear",h),f=u?d.Date.UTC(m,0,1):+new d.Date(m,0,1),y=Math.max(o,f),I=h.getTime();return{max:Math.min(a||I,I),min:y}}createElements(){var y;let a=this.chart,o=a.renderer,u=a.container,d=a.options,h=d.rangeSelector,m=h.inputEnabled,f=N((y=d.chart.style)==null?void 0:y.zIndex,0)+1;if(h.enabled!==!1&&(this.group=o.g("range-selector-group").attr({zIndex:7}).add(),this.div=Z("div",void 0,{position:"relative",height:0,zIndex:f}),this.buttonOptions.length&&this.renderButtons(),u.parentNode&&u.parentNode.insertBefore(this.div,u),m)){this.inputGroup=o.g("input-group").add(this.group);let I=this.drawInput("min");this.minDateBox=I.dateBox,this.minLabel=I.label,this.minInput=I.input;let E=this.drawInput("max");this.maxDateBox=E.dateBox,this.maxLabel=E.label,this.maxInput=E.input}}render(a,o){let u=this.chart,d=u.options,h=d.rangeSelector,m=h.inputEnabled;if(h.enabled!==!1){if(m){this.setInputValue("min",a),this.setInputValue("max",o);let f=u.scroller&&u.scroller.getUnionExtremes()||u.xAxis[0]||{};if(Y(f.dataMin)&&Y(f.dataMax)){let y=u.xAxis[0].minRange||0;this.setInputExtremes("min",f.dataMin,Math.min(f.dataMax,this.getInputValue("max"))-y),this.setInputExtremes("max",Math.max(f.dataMin,this.getInputValue("min"))+y,f.dataMax)}if(this.inputGroup){let y=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEac
179h(I=>{if(I){let{width:E}=I.getBBox();E&&(I.attr({x:y}),y+=E+h.inputSpacing)}})}}this.alignElements(),this.updateButtonStates()}}renderButtons(){var F;let{buttons:a,chart:o,options:u}=this,d=G.lang,h=o.renderer,m=s(u.buttonTheme),f=m&&m.states,y=m.width||28;delete m.width,delete m.states,this.buttonGroup=h.g("range-selector-buttons").add(this.group);let I=this.dropdown=Z("select",void 0,{position:"absolute",padding:0,border:0,cursor:"pointer",opacity:1e-4},this.div),E=(F=o.userOptions.rangeSelector)==null?void 0:F.buttonTheme;this.dropdownLabel=h.button("",0,0,()=>{},s(m,{"stroke-width":N(m["stroke-width"],0),width:"auto",paddingLeft:N(u.buttonTheme.paddingLeft,E==null?void 0:E.padding,8),paddingRight:N(u.buttonTheme.paddingRight,E==null?void 0:E.padding,8)}),f&&f.hover,f&&f.select,f&&f.disabled).hide().add(this.group),q(I,"touchstart",()=>{I.style.fontSize="16px"});let M=l.isMS?"mouseover":"mouseenter",D=l.isMS?"mouseout":"mouseleave";q(I,M,()=>{L(this.dropdownLabel.element,M)}),q(I,D,()=>{L(this.dropdownLabel.element,D)}),q(I,"change",()=>{let X=this.buttons[I.selectedIndex-1];L(X.element,"click")}),this.zoomText=h.label(d.rangeSelectorZoom||"",0).attr({padding:u.buttonTheme.padding,height:u.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(u.labelStyle),m["stroke-width"]=N(m["stroke-width"],0)),Z("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,I),this.buttonOptions.forEach((X,_)=>{Z("option",{textContent:X.title||X.text},void 0,I),a[_]=h.button(X.text,0,0,w=>{let A=X.events&&X.events.click,U;A&&(U=A.call(X,w)),U!==!1&&this.clickButton(_),this.isActive=!0},m,f&&f.hover,f&&f.select,f&&f.disabled).attr({"text-align":"center",width:y}).add(this.buttonGroup),X.title&&a[_].attr("title",X.title)})}alignElements(){var _;let{buttonGroup:a,buttons:o,chart:u,group:d,inputGroup:h,options:m,zoomText:f}=this,y=u.options,I=y.exporting&&y.exporting.enabled!==!1&&y.navigation&&y.navigation.buttonOptions,{buttonPosition:E,inputPosition:M,verticalAlign:D}=m,F=(w,A)=>I&&this.titleCollision(u)&&D==="top"&&A.align==="right"&&A.y-w.getBBox().height-12<(I.y||0)+(I.height||0)+u.spacing[0]?-40:0,X=u.plotLeft;if(d&&E&&M){let w=E.x-u.spacing[3];if(a){if(this.positionButtons(),!this.initialButtonGroupWidth){let ee=0;f&&(ee+=f.getBBox().width+5),o.forEach((se,ae)=>{ee+=se.width||0,ae!==o.length-1&&(ee+=m.buttonSpacing)}),this.initialButtonGroupWidth=ee}X-=u.spacing[3];let Q=F(a,E);this.alignButtonGroup(Q),(_=this.buttonGroup)!=null&&_.translateY&&this.dropdownLabel.attr({y:this.buttonGroup.translateY}),d.placed=a.placed=u.hasLoaded}let A=0;h&&(A=F(h,M),M.align==="left"?w=X:M.align==="right"&&(w=-Math.max(u.axisOffset[1],-A)),h.align({y:M.y,width:h.getBBox().width,align:M.align,x:M.x+w-2},!0,u.spacingBox),h.placed=u.hasLoaded),this.handleCollision(A),d.align({verticalAlign:D},!0,u.spacingBox);let U=d.alignAttr.translateY,b=d.getBBox().height+20,k=0;if(D==="bottom"){let Q=u.legend&&u.legend.options,ee=Q&&Q.verticalAlign==="bottom"&&Q.enabled&&!Q.floating?u.legend.legendHeight+N(Q.margin,10):0;b=b+ee-20,k=U-b-(m.floating?0:m.y)-(u.titleOffset?u.titleOffset[2]:0)-10}D==="top"?(m.floating&&(k=0),u.titleOffset&&u.titleOffset[0]&&(k=u.titleOffset[0]),k+=u.margin[0]-u.spacing[0]||0):D==="middle"&&(M.y===E.y?k=U:(M.y||E.y)&&(M.y<0||E.y<0?k-=Math.min(M.y,E.y):k=U-b)),d.translate(m.x,m.y+Math.floor(k));
179let{minInput:O,maxInput:z,dropdown:W}=this;m.inputEnabled&&O&&z&&(O.style.marginTop=d.translateY+"px",z.style.marginTop=d.translateY+"px"),W&&(W.style.marginTop=d.translateY+"px")}}alignButtonGroup(a,o){let{chart:u,options:d,buttonGroup:h}=this,{buttonPosition:m}=d,f=u.plotLeft-u.spacing[3],y=m.x-u.spacing[3];m.align==="right"?y+=a-f:m.align==="center"&&(y-=f/2),h&&h.align({y:m.y,width:N(o,this.initialButtonGroupWidth),align:m.align,x:y},!0,u.spacingBox)}positionButtons(){let{buttons:a,chart:o,options:u,zoomText:d}=this,h=o.hasLoaded?"animate":"attr",{buttonPosition:m}=u,f=o.plotLeft,y=f;d&&d.visibility!=="hidden"&&(d[h]({x:N(f+m.x,f)}),y+=m.x+d.getBBox().width+5);for(let I=0,E=this.buttonOptions.length;I<E;++I)a[I].visibility!=="hidden"?(a[I][h]({x:y}),y+=(a[I].width||0)+u.buttonSpacing):a[I][h]({x:f})}handleCollision(a){let{chart:o,buttonGroup:u,inputGroup:d}=this,{buttonPosition:h,dropdown:m,inputPosition:f}=this.options,y=()=>{let M=0;return this.buttons.forEach(D=>{let F=D.getBBox();F.width>M&&(M=F.width)}),M},I=M=>{if(d!=null&&d.alignOptions&&u){let D=d.alignAttr.translateX+d.alignOptions.x-a+d.getBBox().x+2,F=d.alignOptions.width||0,X=u.alignAttr.translateX+u.getBBox().x;return X+M>D&&D+F>X&&h.y<f.y+d.getBBox().height}return!1},E=()=>{d&&u&&d.attr({translateX:d.alignAttr.translateX+(o.axisOffset[1]>=-a?0:-a),translateY:d.alignAttr.translateY+u.getBBox().height+10})};if(u){if(m==="always"){this.collapseButtons(),I(y())&&E();return}m==="never"&&this.expandButtons()}d&&u?f.align===h.align||I(this.initialButtonGroupWidth+20)?m==="responsive"?(this.collapseButtons(),I(y())&&E()):E():m==="responsive"&&this.expandButtons():u&&m==="responsive"&&(this.initialButtonGroupWidth>o.plotWidth?this.collapseButtons():this.expandButtons())}collapseButtons(){let{buttons:a,zoomText:o}=this;this.isCollapsed!==!0&&(this.isCollapsed=!0,o.hide(),a.forEach(u=>void u.hide()),this.showDropdown())}expandButtons(){let{buttons:a,zoomText:o}=this;this.isCollapsed!==!1&&(this.isCollapsed=!1,this.hideDropdown(),o.show(),a.forEach(u=>void u.show()),this.positionButtons())}showDropdown(){let{buttonGroup:a,chart:o,dropdownLabel:u,dropdown:d}=this;if(a&&d){let{translateX:h=0,translateY:m=0}=a,f=o.plotLeft+h,y=m;u.attr({x:f,y}).show(),R(d,{left:f+"px",top:y+"px",visibility:"inherit"}),this.hasVisibleDropdown=!0}}hideDropdown(){let{dropdown:a}=this;a&&(this.dropdownLabel.hide(),R(a,{visibility:"hidden",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)}getHeight(){let a=this,o=a.options,u=a.group,d=o.inputPosition,h=o.buttonPosition,m=o.y,f=h.y,y=d.y,I=0;if(o.height)return o.height;this.alignElements(),I=u?u.getBBox(!0).height+13+m:0;let E=Math.min(y,f);return(y<0&&f<0||y>0&&f>0)&&(I+=Math.abs(E)),I}titleCollision(a){return!(a.options.title.text||a.options.subtitle.text)}update(a,o=!0){let u=this.chart;s(!0,u.options.rangeSelector,a),this.destroy(),this.init(u),o&&this.render()}destroy(){let a=this,o=a.minInput,u=a.maxInput;a.eventsToUnbind&&(a.eventsToUnbind.forEach(d=>d()),a.eventsToUnbind=void 0),V(a.buttons),o&&(o.onfocus=o.onblur=o.onchange=null),u&&(u.onfocus=u.onblur=u.onchange=null),c(a,function(d,h){d&&h!=="chart"&&(d instanceof B?d.destroy():d instanceof window.HTMLElement&&H(d)),d!==v.prototype[h]&&(a[h]=null)},this)}}return T(v.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),v}),r(e,"Core/Chart/StockChart.js",[e["Core/Chart/Chart.js"],e["Core/Templating.js"],e["Core/Defaults.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Stock/Utilities/StockUtilities.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G){let{format:q}=n,{getOptions:Z}=l,{setFixedRange:R}=K,{addEvent:Y,clamp:V,crisp:H,defined:T,extend:L,find:j,isNumber:s,isString:c,merge:x,pick:N,splat:P}=G;function S(p,a,o){var u,d;return p==="xAxis"?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0}:p==="yAxis"?{labels:{y:-2},opposite:o.opposite??a.opposite??!0,showLastLabel:!!(a.categories||a.type==="category"),title:{text:((u
179=o.title)==null?void 0:u.text)!=="Values"?(d=o.title)==null?void 0:d.text:null}}:{}}function g(p,a){if(p==="xAxis"){let o=N(a.navigator&&a.navigator.enabled,C.enabled,!0),u={type:"datetime",categories:void 0};return o&&(u.startOnTick=!1,u.endOnTick=!1),u}return{}}class v extends t{init(a,o){let u=Z(),d=a.xAxis,h=a.yAxis,m=N(a.navigator&&a.navigator.enabled,C.enabled,!0);a.xAxis=a.yAxis=void 0;let f=x({chart:{panning:{enabled:!0,type:"x"},zooming:{pinchType:"x",mouseWheel:{type:"x"}}},navigator:{enabled:m},scrollbar:{enabled:N($.enabled,!0)},rangeSelector:{enabled:N(B.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:N(u.tooltip&&u.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},a,{isStock:!0});a.xAxis=d,a.yAxis=h,f.xAxis=P(a.xAxis||{}).map(y=>x(S("xAxis",y,u.xAxis),y,g("xAxis",a))),f.yAxis=P(a.yAxis||{}).map(y=>x(S("yAxis",y,u.yAxis),y)),super.init(f,o)}createAxis(a,o){return o.axis=x(S(a,o.axis,Z()[a]),o.axis,g(a,this.userOptions)),super.createAxis(a,o)}}return Y(t,"update",function(p){let a=this,o=p.options;"scrollbar"in o&&a.navigator&&(x(!0,a.options.scrollbar,o.scrollbar),a.navigator.update({enabled:!!a.navigator.navigatorEnabled}),delete o.scrollbar)}),function(p){function a(M,D,F,X){let _=F.prototype;_.forceCropping||(Y(D,"afterDrawCrosshair",o),Y(D,"afterHideCrosshair",u),Y(D,"autoLabelAlign",d),Y(D,"destroy",h),Y(D,"getPlotLinePath",m),M.prototype.setFixedRange=R,_.forceCropping=y,Y(F,"setOptions",f),X.prototype.crispPolyLine=E)}p.compose=a;function o(M){let D=this;if(!D.crosshair||!D.crosshair.label||!D.crosshair.label.enabled||!D.cross||!s(D.min)||!s(D.max))return;let F=D.chart,X=D.logarithmic,_=D.crosshair.label,w=D.horiz,A=D.opposite,U=D.left,b=D.top,k=D.width,O=D.options.tickPosition==="inside",z=D.crosshair.snap!==!1,W=M.e||D.cross&&D.cross.e,Q=M.point,ee=D.crossLabel,se,ae,he=_.format,ce="",ie,te=0,ne=D.min,oe=D.max;X&&(ne=X.lin2log(D.min),oe=X.lin2log(D.max));let le=w?"center":A?D.labelAlign==="right"?"right":"left":D.labelAlign==="left"?"left":"center";ee||(ee=D.crossLabel=F.renderer.label("",0,void 0,_.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(Q&&Q.series?Q.series.colorIndex:D.series[0]&&this.series[0].colorIndex)).attr({align:_.align||le,padding:N(_.padding,8),r:N(_.borderRadius,3),zIndex:2}).add(D.labelGroup),F.styledMode||ee.attr({fill:_.backgroundColor||Q&&Q.series&&Q.series.color||"#666666",stroke:_.borderColor||"","stroke-width":_.borderWidth||0}).css(L({color:"#ffffff",fontWeight:"normal",fontSize:"0.7em",textAlign:"center"},_.style||{}))),w?(se=z?(Q.plotX||0)+U:W.chartX,ae=b+(A?0:D.height)):(se=U+D.offset+(A?k:0),ae=z?(Q.plotY||0)+b:W.chartY),!he&&!_.formatter&&(D.dateTime&&(ce="%b %d, %Y"),he="{value"+(ce?":"+ce:"")+"}");let ue=z?D.isXAxis?Q.x:Q.y:D.toValue(w?W.chartX:W.chartY),de=Q&&Q.series?Q.series.isPointInside(Q):s(ue)&&ue>ne&&ue<oe,fe="";he?fe=q(he,{value:ue},F):_.formatter&&s(ue)&&(fe=_.formatter.call(D,ue)),ee.attr({text:fe,x:se,y:ae,visibility:de?"inherit":"hidden"});let me=ee.getBBox();s(ee.x)&&!w&&!A&&(se=ee.x-me.width/2),s(ee.y)&&(w?(O&&!A||!O&&A)&&(ae=ee.y-me.height):ae=ee.y-me.height/2),w?ie={left:U,right:U+D.width}:ie={left:D.labelAlign==="left"?U:0,right:D.labelAlign==="right"?U+D.width:F.chartWidth};let ge=ee.translateX||0;ge<ie.left&&(te=ie.left-ge),ge+me.width>=ie.right&&(te=-(ge+me.width-ie.right)),ee.attr({x:se+te,y:ae,anchorX:w?se:D.opposite?0:F.chartWidth,anchorY:w?D.opposite?F.chartHeight:0:ae+me.height/2})}function u(){let M=this;M.crossLabel&&(M.crossLabel=M.crossLabel.hide())}function d(M){let D=this,F=D.chart,X=D.options,_=F._labelPanes=F._labelPanes||{},w=X.labels;if(F.options.isStock&&D.coll==="yAxis"){let A=X.top+","+X.height;!_[A]&&w.enabled&&(w.distance===15&&D.side===1&&(w.distance=0),typeof w.align>"u"&&(w.align="right"),_[A]=D,M.align="right",M.preventDefault())}}function h(){let M=this,D=M.chart,F=M.options&&M.options.top+","+M.options.height;F&&D._labelPanes&&D._labelPanes[F]===M&&delete D._labelPanes[F]}function m(M){let D=this,F=D.isLinked&&!D.series&&D.linkedParent?D.linkedParent.series:D.series,X=D.chart,_=X.renderer,w=D.left,A=D.top,U=[],b=M.translatedValue,k=M.value,O=M.force,z=te=>{let ne=te==="xAxis"?"yAxis":"xAxis",oe=D.options[ne];return s(oe)?[X[ne][oe]]:c(oe)?[X.get(oe)]:F.map(le=>le[ne])},W,Q,ee,se,ae=[],he,ce,ie;if(X.options.isStock&&M.acrossPanes!==!1&&D.coll==="xAxis"||D.coll==="yAxis"){M.preventDefault(),ae=z(D.coll),he=D.isXAxis?X.yAxis:X.xAxis;for(let te of he)if(!te.options.isInternal){let ne=te.isXAxis?"yAxis":"xAxis",oe=T(te.options[ne])?X[ne][te.options[ne]]:X[ne][0];D===oe&&ae.push(te)}ce=ae.length?[]:[D.isXAxis?X.yAxis[0]:X.xAxis[0]];for(let te of ae)ce.indexOf(te)===-1&&!j(ce,ne=>ne.pos===te.pos&&ne.len===te.len)&&ce.push(te);if(ie=N(b,D.translate(k||0,void 0,void 0,M.old)),s(ie))if(D.horiz)for(let te of ce){let ne;Q=te.pos,se=Q+te.len,W=ee=Math.round(ie+D.transB),O!=="pass"&&(W<w||W>w+D.width)&&(O?W=ee=V(W,w,w+D.width):ne=!0),ne||U.push(["M",W,Q],["L",ee,se])}else for(let te of ce){let ne;W=te.pos,ee=W+te.len,Q=se=Math.round(A+D.height-ie),O!=="pass"&&(Q<A||Q>A+D.height)&&(O?Q=se=V(Q,A,A+D.height):ne=!0),ne||U.push(["M",W,Q],["L",ee,se])}M.path=U.length>0?_.crispPolyLine(U,M.lineWidth||1):void 0}}function f(M){let D=this;if(D.chart.options.isStock){let F;D.is("column")||D.is("columnrange")?F={borderWidth:0,shadow:!1}:!D.is("scatter")&&!D.is("sma")&&(F={marker:{enabled:!1,radius:2}}),F&&(M.plotOptions[D.type]=x(M.plotOptions[D.type],F))}}function y(){let M=this,D=M.chart,F=M.options,X=F.dataGrouping;return M.allowDG!==!1&&X&&N(X.enabled,D.options.isStock)}function I(M,D,F){return new p(M,D,F)}p.stockChart=I;function E(M,D){for(let F=0;F<M.length;F=F+2){let X=M[F],_=M[F+1];T(X[1])&&X[1]===_[1]&&(X[1]=_[1]=H(X[1],D)),T(X[2])&&X[2]===_[2]&&(X[2]=_[2]=H(X[2],D))}return M}}(v||(v={})),v}),r(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){let{column:{prototype:{pointClass:n}}}=t.seriesTypes;class l extends n{}return l}),r(e,"Series/HLC/HLCSeriesDefaults.js",[],function(){return{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}}),r(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Series/HLC/HLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{column:B}
179=l.seriesTypes,{crisp:$,extend:K,merge:G}=C;class q extends B{extendStem(R,Y,V){let H=R[0],T=R[1];typeof H[2]=="number"&&(H[2]=Math.max(V+Y,H[2])),typeof T[2]=="number"&&(T[2]=Math.min(V-Y,T[2]))}getPointPath(R,Y){let V=Y.strokeWidth(),H=R.series,T=$(R.plotX||0,V),L=Math.round(R.shapeArgs.width/2),j=[["M",T,Math.round(R.yBottom)],["L",T,Math.round(R.plotHigh)]];if(R.close!==null){let s=$(R.plotClose,V);j.push(["M",T,s],["L",T+L,s]),H.extendStem(j,V/2,s)}return j}drawSinglePoint(R){let Y=R.series,V=Y.chart,H,T=R.graphic;typeof R.plotY<"u"&&(T||(R.graphic=T=V.renderer.path().add(Y.group)),V.styledMode||T.attr(Y.pointAttribs(R,R.selected&&"select")),H=Y.getPointPath(R,T),T[T?"animate":"attr"]({d:H}).addClass(R.getClassName(),!0))}drawPoints(){this.points.forEach(this.drawSinglePoint)}init(){super.init.apply(this,arguments),this.options.stacking=void 0}pointAttribs(R,Y){let V=super.pointAttribs.call(this,R,Y);return delete V.fill,V}toYData(R){return[R.high,R.low,R.close]}translate(){let R=this,Y=R.yAxis,V=this.pointArrayMap&&this.pointArrayMap.slice()||[],H=V.map(T=>`plot${T.charAt(0).toUpperCase()+T.slice(1)}`);H.push("yBottom"),V.push("low"),super.translate.apply(R),R.points.forEach(function(T){V.forEach(function(L,j){let s=T[L];s!==null&&(R.dataModify&&(s=R.dataModify.modifyValue(s)),T[H[j]]=Y.toPixels(s,!0))}),T.tooltipPos[1]=T.plotHigh+Y.pos-R.chart.plotTop})}}return q.defaultOptions=G(B.defaultOptions,n),K(q.prototype,{pointClass:t,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),l.registerSeriesType("hlc",q),q}),r(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],function(t){let{seriesTypes:{hlc:n}}=t;class l extends n.prototype.pointClass{getClassName(){return super.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")}resolveUpColor(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)}resolveColor(){super.resolveColor(),this.series.is("heikinashi")||this.resolveUpColor()}getZone(){let B=super.getZone();return this.resolveUpColor(),B}applyOptions(){return super.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this}}return l}),r(e,"Series/OHLC/OHLCSeriesDefaults.js",[],function(){return{tooltip:{pointFormat:'<span style="color:{point.color}">\u25CF</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}}),r(e,"Series/OHLC/OHLCSeries.js",[e["Core/Globals.js"],e["Series/OHLC/OHLCPoint.js"],e["Series/OHLC/OHLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B){let{composed:$}=t,{hlc:K}=C.seriesTypes,{addEvent:G,crisp:q,extend:Z,merge:R,pushUnique:Y}=B;function V(L){let j=L.options,s=j.dataGrouping;s&&j.useOhlcData&&j.id!=="highcharts-navigator-series"&&(s.approximation="ohlc")}function H(L){let j=this,s=L.options;s.useOhlcData&&s.id!=="highcharts-navigator-series"&&Z(j,{pointValKey:T.prototype.pointValKey,pointArrayMap:T.prototype.pointArrayMap,toYData:T.prototype.toYData})}class T extends K{static compose(j,...s){Y($,"OHLCSeries")&&(G(j,"afterSetOptions",V),G(j,"init",H))}getPointPath(j,s){let c=super.getPointPath(j,s),x=s.strokeWidth(),N=q(j.plotX||0,x),P=Math.round(j.shapeArgs.width/2);if(j.open!==null){let S=q(j.plotOpen,x);c.push(["M",N,S],["L",N-P,S]),super.extendStem(c,x/2,S)}return c}pointAttribs(j,s){let c=super.pointAttribs.call(this,j,s),x=this.options;return delete c.fill,!j.options.color&&x.upColor&&j.open<j.close&&(c.stroke=x.upColor),c}toYData(j){return[j.open,j.high,j.low,j.close]}}return T.defaultOptions=R(K.defaultOptions,l),Z(T.prototype,{pointClass:n,pointArrayMap:["open","high","low","close"]}),C.registerSeriesType("ohlc",T),T}),r(e,"Series/Candlestick/CandlestickSeriesDefaults.js",[],function(){return{states:{hover:{lineWidth:2}},threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}}),r(e,"Series/Candlestick/CandlestickSeries.js",[e["Series/Candlestick/CandlestickSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l){let{column:C,ohlc:B}
179=n.seriesTypes,{crisp:$,merge:K}=l;class G extends B{pointAttribs(Z,R){let Y=C.prototype.pointAttribs.call(this,Z,R),V=this.options,H=Z.open<Z.close,T=V.lineColor||this.color,L=Z.color||this.color;if(Y["stroke-width"]=V.lineWidth,Y.fill=Z.options.color||H&&V.upColor||L,Y.stroke=Z.options.lineColor||H&&V.upLineColor||T,R){let j=V.states[R];Y.fill=j.color||Y.fill,Y.stroke=j.lineColor||Y.stroke,Y["stroke-width"]=j.lineWidth||Y["stroke-width"]}return Y}drawPoints(){let Z=this,R=Z.points,Y=Z.chart,V=Z.yAxis.reversed;for(let H of R){let T=H.graphic,L,j,s,c,x,N,P,S,g,v=!T;if(typeof H.plotY<"u"){T||(H.graphic=T=Y.renderer.path().add(Z.group)),Z.chart.styledMode||T.attr(Z.pointAttribs(H,H.selected&&"select")).shadow(Z.options.shadow);let p=T.strokeWidth();P=$(H.plotX||0,p),L=H.plotOpen,j=H.plotClose,s=Math.min(L,j),c=Math.max(L,j),g=Math.round(H.shapeArgs.width/2),x=V?c!==H.yBottom:Math.round(s)!==Math.round(H.plotHigh||0),N=V?Math.round(s)!==Math.round(H.plotHigh||0):c!==H.yBottom,s=$(s,p),c=$(c,p),S=[],S.push(["M",P-g,c],["L",P-g,s],["L",P+g,s],["L",P+g,c],["Z"],["M",P,s],["L",P,x?Math.round(V?H.yBottom:H.plotHigh):s],["M",P,c],["L",P,N?Math.round(V?H.plotHigh:H.yBottom):c]),T[v?"attr":"animate"]({d:S}).addClass(H.getClassName(),!0)}}}}return G.defaultOptions=K(B.defaultOptions,{tooltip:B.defaultOptions.tooltip},t),n.registerSeriesType("candlestick",G),G}),r(e,"Series/Flags/FlagsPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{column:{prototype:{pointClass:l}}}=t.seriesTypes,{isNumber:C}=n;class B extends l{constructor(){super(...arguments),this.ttBelow=!1}isValid(){return C(this.y)||typeof this.y>"u"}hasNewShapeType(){let K=this.options.shape||this.series.options.shape;return this.graphic&&K&&K!==this.graphic.symbolKey}}return B}),r(e,"Series/Flags/FlagsSeriesDefaults.js",[],function(){return{borderRadius:0,pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd3ff"}},style:{fontSize:"0.7em",fontWeight:"bold"}}}),r(e,"Series/Flags/FlagsSymbols.js",[e["Core/Renderer/RendererRegistry.js"]],function(t){var n;return function(l){let C=[];function B(G){if(C.indexOf(G)===-1){C.push(G);let Z=G.prototype.symbols;Z.flag=$,K(Z,"circle"),K(Z,"square")}let q=t.getRendererType();C.indexOf(q)&&C.push(q)}l.compose=B;function $(G,q,Z,R,Y){let V=Y&&Y.anchorX||G,H=Y&&Y.anchorY||q,T=this.circle(V-1,H-1,2,2);return T.push(["M",V,H],["L",G,q+R],["L",G,q],["L",G+Z,q],["L",G+Z,q+R],["L",G,q+R],["Z"]),T}function K(G,q){G[q+"pin"]=function(Z,R,Y,V,H){let T=H&&H.anchorX,L=H&&H.anchorY,j;if(q==="circle"&&V>Y&&(Z-=Math.round((V-Y)/2),Y=V),j=G[q](Z,R,Y,V,H),T&&L){let s=T;if(q==="circle")s=Z+Y/2;else{let x=j[0],N=j[1];x[0]==="M"&&N[0]==="L"&&(s=(x[1]+N[1])/2)}let c=R>L?R:R+V;j.push(["M",s,c],["L",T,L]),j=j.concat(G.circle(T-1,L-1,2,2))}return j}}}(n||(n={})),n}),r(e,"Series/OnSeriesComposition.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],function(t,n,l,C){let{composed:B}=n,{prototype:$}=t,{prototype:K}=l,{defined:G,pushUnique:q,stableSort:Z}=C;var R;return function(Y){function V(L){if(q(B,"OnSeries")){let j=L.prototype;j.getPlotBox=H,j.translate=T}return L}Y.compose=V;function H(L){return K.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,L)}Y.getPlotBox=H;function T(){var D,F;$.translate.apply(this);let L=this,j=L.options,s=L.chart,c=L.points,x=j.onSeries,N=x&&s.get(x),P=N&&N.options.step,S=N&&N.points,g=s.inverted,v=L.xAxis,p=L.yAxis,a=c.length-1,o,u,d=j.onKey||"y",h=S&&S.length,m=0,f,y,I,E,M;if(N&&N.visible&&h){for(m=(N.pointXOffset||0)+(N.barW||0)/2,E=N.currentDataGrouping,y=S[h-1].x+(E?E.totalRange:0),Z(c,(X,_)=>X.x-_.x),d="plot"+d[0].toUpperCase()+d.substr(1);h--&&c[a];)if(f=S[h],o=c[a],o.y=f.y,f.x<=o.x&&typeof f[d]<"u"){if(o.x<=y&&(o.plotY=f[d],f.x<o.x&&!P&&(I=S[h+1],I&&typeof I[d]<"u")))if(G(o.plotX)&&N.is("spline")){f=f,I=I;let X=[f.plotX||0,f.plotY||0],_=[I.plotX||0,I.plotY||0],w=((D=f.controlPoints)==null?void 0:D.high)||X,A=((F=I.controlPoints)==null?void 0:F.low)||_,U=.25,b=100,k=(Q,ee)=>Math.pow(1-Q,3)*X[ee]+3*(1-Q)*(1-Q)*Q*w[ee]+3*(1-Q)*Q*Q*A[ee]+Q*Q*Q*_[ee],O=0,z=1,W;for(let Q=0;Q<b;Q++){let ee=(O+z)/2,se=k(ee,0);if(se===null)break;
179if(Math.abs(se-o.plotX)<U){W=ee;break}se<o.plotX?O=ee:z=ee}G(W)&&(o.plotY=k(W,1),o.y=p.toValue(o.plotY,!0))}else M=(o.x-f.x)/(I.x-f.x),o.plotY+=M*(I[d]-f[d]),o.y+=M*(I.y-f.y);if(a--,h++,a<0)break}}c.forEach((X,_)=>{let w;X.plotX+=m,(typeof X.plotY>"u"||g)&&(X.plotX>=0&&X.plotX<=v.len?g?(X.plotY=v.translate(X.x,0,1,0,1),X.plotX=G(X.y)?p.translate(X.y,0,0,0,1):0):X.plotY=(v.opposite?0:L.yAxis.len)+v.offset:X.shapeArgs={}),u=c[_-1],u&&u.plotX===X.plotX&&(typeof u.stackIndex>"u"&&(u.stackIndex=0),w=u.stackIndex+1),X.stackIndex=w}),this.onSeries=N}Y.translate=T}(R||(R={})),R}),r(e,"Series/Flags/FlagsSeries.js",[e["Series/Flags/FlagsPoint.js"],e["Series/Flags/FlagsSeriesDefaults.js"],e["Series/Flags/FlagsSymbols.js"],e["Core/Globals.js"],e["Series/OnSeriesComposition.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$,K,G,q){let{noop:Z}=C,{distribute:R}=$,{series:Y,seriesTypes:{column:V}}=K,{addEvent:H,defined:T,extend:L,isNumber:j,merge:s,objectEach:c,wrap:x}=q;class N extends V{animate(S){S&&this.setClip()}drawPoints(){let S=this,g=S.points,v=S.chart,p=v.renderer,a=v.inverted,o=S.options,u=o.y,d=S.yAxis,h={},m=[],f=j(o.borderRadius)?o.borderRadius:0,y,I,E,M,D,F,X,_,w,A,U;for(M=g.length;M--;)D=g[M],A=(a?D.plotY:D.plotX)>S.xAxis.len,y=D.plotX,X=D.stackIndex,E=D.options.shape||o.shape,I=D.plotY,typeof I<"u"&&(I=D.plotY+u-(typeof X<"u"&&X*o.stackDistance)),D.anchorX=X?void 0:D.plotX,_=X?void 0:D.plotY,U=E!=="flag",F=D.graphic,typeof I<"u"&&y>=0&&!A?(F&&D.hasNewShapeType()&&(F=F.destroy()),F||(F=D.graphic=p.label("",0,void 0,E,void 0,void 0,o.useHTML).addClass("highcharts-point").add(S.markerGroup),D.graphic.div&&(D.graphic.div.point=D),F.isNew=!0),F.attr({align:U?"center":"left",width:o.width,height:o.height,"text-align":o.textAlign,r:f}),v.styledMode||F.attr(S.pointAttribs(D)).css(s(o.style,D.style)).shadow(o.shadow),y>0&&(y-=F.strokeWidth()%2),w={y:I,anchorY:_},o.allowOverlapX&&(w.x=y,w.anchorX=D.anchorX),F.attr({text:D.options.title??o.title??"A"})[F.isNew?"attr":"animate"](w),o.allowOverlapX||(h[D.plotX]?h[D.plotX].size=Math.max(h[D.plotX].size,F.width||0):h[D.plotX]={align:U?.5:0,size:F.width||0,target:y,anchorX:y}),D.tooltipPos=[y,I+d.pos-v.plotTop]):F&&(D.graphic=F.destroy());if(!o.allowOverlapX){let b=100;c(h,function(k){k.plotX=k.anchorX,m.push(k),b=Math.max(k.size,b)}),R(m,a?d.len:this.xAxis.len,b);for(let k of g){let O=k.plotX,z=k.graphic,W=z&&h[O];W&&z&&(T(W.pos)?z[z.isNew?"attr":"animate"]({x:W.pos+(W.align||0)*W.size,anchorX:k.anchorX}).show().isNew=!1:z.hide().isNew=!0)}}o.useHTML&&S.markerGroup&&x(S.markerGroup,"on",function(b){return G.prototype.on.apply(b.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))})}drawTracker(){let S=this,g=S.points;super.drawTracker();for(let v of g){let p=v.graphic;p&&(v.unbindMouseOver&&v.unbindMouseOver(),v.unbindMouseOver=H(p.element,"mouseover",function(){v.stackIndex>0&&!v.raised&&(v._y=p.y,p.attr({y:v._y-8}),v.raised=!0);for(let a of g)a!==v&&a.raised&&a.graphic&&(a.graphic.attr({y:a._y}),a.raised=!1)}))}}pointAttribs(S,g){let v=this.options,p=S&&S.color||this.color,a=v.lineColor,o=S&&S.lineWidth,u=S&&S.fillColor||v.fillColor;return g&&(u=v.states[g].fillColor,a=v.states[g].lineColor,o=v.states[g].lineWidth),{fill:u||p,stroke:a||p,"stroke-width":o||v.lineWidth||0}}setClip(){Y.prototype.setClip.apply(this,arguments),this.options.clip!==!1&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])}}return N.compose=l.compose,N.defaultOptions=s(V.defaultOptions,n),B.compose(N),L(N.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:Z,init:Y.prototype.init}),K.registerSeriesType("flags",N),N}),r(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,find:C,fireEvent:B,isArray:$,isNumber:K,pick:G}=n;var q;return function(Z){function R(N,P){if(!N.keepProps.includes("brokenAxis")){N.keepProps.push("brokenAxis"),l(N,"init",T),l(N,"afterInit",Y),l(N,"afterSetTickPositions",H),l(N,"afterSetOptions",V);let S=P.prototype;S.drawBreaks=s,S.gappedPath=c,l(P,"afterGeneratePoints",L),l(P,"afterRe
179nder",j)}return N}Z.compose=R;function Y(){typeof this.brokenAxis<"u"&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function V(){var P;let N=this;(P=N.brokenAxis)!=null&&P.hasBreaks&&(N.options.ordinal=!1)}function H(){let N=this,P=N.brokenAxis;if(P!=null&&P.hasBreaks){let S=N.tickPositions,g=N.tickPositions.info,v=[];for(let p=0;p<S.length;p++)P.isInAnyBreak(S[p])||v.push(S[p]);N.tickPositions=v,N.tickPositions.info=g}}function T(){let N=this;N.brokenAxis||(N.brokenAxis=new x(N))}function L(){var p,a;let{isDirty:N,options:{connectNulls:P},points:S,xAxis:g,yAxis:v}=this;if(N){let o=S.length;for(;o--;){let u=S[o],h=!(u.y===null&&P===!1)&&(((p=g==null?void 0:g.brokenAxis)==null?void 0:p.isInAnyBreak(u.x,!0))||((a=v==null?void 0:v.brokenAxis)==null?void 0:a.isInAnyBreak(u.y,!0)));u.visible=h?!1:u.options.visible!==!1}}}function j(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,G(this.pointArrayMap,["y"]))}function s(N,P){var o;let S=this,g=S.points,v,p,a;if((o=N==null?void 0:N.brokenAxis)!=null&&o.hasBreaks){let u=N.brokenAxis;P.forEach(function(d){var m,f;v=(u==null?void 0:u.breakArray)||[],p=N.isXAxis?N.min:G(S.options.threshold,N.min);let h=(f=(m=N==null?void 0:N.options)==null?void 0:m.breaks)==null?void 0:f.filter(function(y){let I=!0;for(let E=0;E<v.length;E++){let M=v[E];if(M.from===y.from&&M.to===y.to){I=!1;break}}return I});g.forEach(function(y){a=G(y["stack"+d.toUpperCase()],y[d]),v.forEach(function(I){if(K(p)&&K(a)){let E="";p<I.from&&a>I.to||p>I.from&&a<I.from?E="pointBreak":(p<I.from&&a>I.from&&a<I.to||p>I.from&&a>I.to&&a<I.from)&&(E="pointInBreak"),E&&B(N,E,{point:y,brk:I})}}),h==null||h.forEach(function(I){B(N,"pointOutsideOfBreak",{point:y,brk:I})})})})}}function c(){let N=this.currentDataGrouping,P=N==null?void 0:N.gapSize,S=this.points.slice(),g=this.yAxis,v=this.options.gapSize,p=S.length-1,a;if(v&&p>0){this.options.gapUnit!=="value"&&(v*=this.basePointRange),P&&P>v&&P>=this.basePointRange&&(v=P);let o,u;for(;p--;)if(u&&u.visible!==!1||(u=S[p+1]),o=S[p],!(u.visible===!1||o.visible===!1)){if(u.x-o.x>v){let d=(o.x+u.x)/2;S.splice(p+1,0,{isNull:!0,x:d}),g.stacking&&this.options.stacking&&(a=g.stacking.stacks[this.stackKey][d]=new t(g,g.options.stackLabels,!1,d,this.stack),a.total=0)}u=o}}return this.getGraphPath(S)}class x{static isInBreak(P,S){let g=P.repeat||1/0,v=P.from,p=P.to-P.from,a=S>=v?(S-v)%g:g-(v-S)%g,o;return P.inclusive?o=a<=p:o=a<p&&a!==0,o}static lin2Val(P){let g=this.brokenAxis,v=g&&g.breakArray;if(!v||!K(P))return P;let p=P,a,o;for(o=0;o<v.length&&(a=v[o],!(a.from>=p));o++)(a.to<p||x.isInBreak(a,p))&&(p+=a.len);return p}static val2Lin(P){let g=this.brokenAxis,v=g&&g.breakArray;if(!v||!K(P))return P;let p=P,a,o;for(o=0;o<v.length;o++)if(a=v[o],a.to<=P)p-=a.len;else{if(a.from>=P)break;if(x.isInBreak(a,P)){p-=P-a.from;break}}return p}constructor(P){this.hasBreaks=!1,this.axis=P}findBreakAt(P,S){return C(S,function(g){return g.from<P&&P<g.to})}isInAnyBreak(P,S){let g=this,v=g.axis,p=v.options.breaks||[],a=p.length,o,u,d;if(a&&K(P)){for(;a--;)x.isInBreak(p[a],P)&&(o=!0,u||(u=G(p[a].showPoints,!v.isXAxis)));o&&S?d=o&&!u:d=o}return d}setBreaks(P,S){let g=this,v=g.axis,p=$(P)&&!!P.length&&!!Object.keys(P[0]).length;v.isDirty=g.hasBreaks!==p,g.hasBreaks=p,P!==v.options.breaks&&(v.options.breaks=v.userOptions.breaks=P),v.forceRedraw=!0,v.series.forEach(function(a){a.isDirty=!0}),!p&&v.val2lin===x.val2Lin&&(delete v.val2lin,delete v.lin2val),p&&(v.userOptions.ordinal=!1,v.lin2val=x.lin2Val,v.val2lin=x.val2Lin,v.setExtremes=function(a,o,u,d,h){if(g.hasBreaks){let m=this.options.breaks||[],f;for(;f=g.findBreakAt(a,m);)a=f.to;for(;f=g.findBreakAt(o,m);)o=f.from;o<a&&(o=a)}v.constructor.prototype.setExtremes.call(this,a,o,u,d,h)},v.setAxisTranslation=function(){if(v.constructor.prototype.setAxisTranslation.call(this),g.unitLength=void 0,g.hasBreaks){let a=v.options.breaks||[],o=[],u=[],d=G(v.pointRangePadding,0),h=0,m,f,y=v.userMin||v.min,I=v.userMax||v.max,E,M;a.forEach(function(D){f=D.repeat||1/0,K(y)&&K(I)&&(x.isInBreak(D,y)&&(y+=D.to%f-y%f),x.isInBreak(D,I)&&(I-=I%f-D.from%f))}),a.forEach(function(D){if(E=D.from,f=D.repeat||1/0,K(y)&&K(I)){for(;E-f>y;)E-=f;for(;E<y;)E+=f;
179for(M=E;M<I;M+=f)o.push({value:M,move:"in"}),o.push({value:M+D.to-D.from,move:"out",size:D.breakSize})}}),o.sort(function(D,F){return D.value===F.value?(D.move==="in"?0:1)-(F.move==="in"?0:1):D.value-F.value}),m=0,E=y,o.forEach(function(D){m+=D.move==="in"?1:-1,m===1&&D.move==="in"&&(E=D.value),m===0&&K(E)&&(u.push({from:E,to:D.value,len:D.value-E-(D.size||0)}),h+=D.value-E-(D.size||0))}),g.breakArray=u,K(y)&&K(I)&&K(v.min)&&(g.unitLength=I-y-h+d,B(v,"afterBreaks"),v.staticScale?v.transA=v.staticScale:g.unitLength&&(v.transA*=(I-v.min+d)/g.unitLength),d&&(v.minPixelPadding=v.transA*(v.minPointOffset||0)),v.min=y,v.max=I)}}),G(S,!0)&&v.chart.redraw()}}Z.Additions=x}(q||(q={})),q}),r(e,"masters/modules/broken-axis.src.js",[e["Core/Globals.js"],e["Core/Axis/BrokenAxis.js"]],function(t,n){let l=t;return l.BrokenAxis=l.BrokenAxis||n,l.BrokenAxis.compose(l.Axis,l.Series),t}),r(e,"Extensions/DataGrouping/ApproximationRegistry.js",[],function(){return{}}),r(e,"Extensions/DataGrouping/ApproximationDefaults.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Core/Utilities.js"]],function(t,n){let{arrayMax:l,arrayMin:C,correctFloat:B,extend:$,isNumber:K}=n;function G(c){let x=c.length,N=j(c);return K(N)&&x&&(N=B(N/x)),N}function q(){let c=[];return[].forEach.call(arguments,function(x){c.push(G(x))}),typeof c[0]>"u"?void 0:c}function Z(c){return c.length?c[c.length-1]:c.hasNulls?null:void 0}function R(c){return c.length?l(c):c.hasNulls?null:void 0}function Y(c,x,N){if(c=t.high(c),x=t.low(x),N=t.close(N),K(c)||K(x)||K(N))return[c,x,N]}function V(c){return c.length?C(c):c.hasNulls?null:void 0}function H(c,x,N,P){if(c=t.open(c),x=t.high(x),N=t.low(N),P=t.close(P),K(c)||K(x)||K(N)||K(P))return[c,x,N,P]}function T(c){return c.length?c[0]:c.hasNulls?null:void 0}function L(c,x){if(c=t.low(c),x=t.high(x),K(c)||K(x))return[c,x];if(c===null&&x===null)return null}function j(c){let x=c.length,N;if(!x&&c.hasNulls)N=null;else if(x)for(N=0;x--;)N+=c[x];return N}let s={average:G,averages:q,close:Z,high:R,hlc:Y,low:V,ohlc:H,open:T,range:L,sum:j};return $(t,s),s}),r(e,"Extensions/DataGrouping/DataGroupingDefaults.js",[],function(){return{common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %e %b, %H:%M:%S.%L","%A, %e %b, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %e %b, %H:%M:%S","%A, %e %b, %H:%M:%S","-%H:%M:%S"],minute:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],hour:["%A, %e %b, %H:%M","%A, %e %b, %H:%M","-%H:%M"],day:["%A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],week:["Week from %A, %e %b %Y","%A, %e %b","-%A, %e %b %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]]}}),r(e,"Extensions/DataGrouping/DataGroupingAxisComposition.js",[e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Utilities.js"]],function(t,n){let{addEvent:l,extend:C,merge:B,pick:$}=n,K;function G(H){let T=this,L=T.series;L.forEach(function(j){j.groupPixelWidth=void 0}),L.forEach(function(j){j.groupPixelWidth=T.getGroupPixelWidth&&T.getGroupPixelWidth(),j.groupPixelWidth&&(j.hasProcessed=!0),j.applyGrouping(!!H.hasExtremesChanged)})}function q(H){K=H;let T=H.prototype;T.applyGrouping||(l(H,"afterSetScale",R),l(H,"postProcessData",G),C(T,{applyGrouping:G,getGroupPixelWidth:Z,setDataGrouping:Y}))}function Z(){let H=this.series,T=H.length,L=0,j=!1,s,c;for(;T--;)c=H[T].options.dataGrouping,c&&(L=Math.max(L,$(c.groupPixelWidth,t.common.groupPixelWidth)),s=(H[T].processedXData||H[T].data).length,(H[T].groupPixelWidth||s>this.chart.plotSizeX/L||s&&c.forced)&&(j=!0));return j?L:0}function R(){this.series.forEach(function(H){H.hasProcessed=!1})}function Y(H,T){let L=this,j;if(T=$(T,!0),H||(H={forced:!1,units:null}),this instanceof K)for(j=this.series.length;j--;)this.series[j].update({dataGrouping:H},!1);
179else this.chart.options.series.forEach(function(s){s.dataGrouping=typeof H=="boolean"?H:B(H,s.dataGrouping)});L.ordinal&&(L.ordinal.slope=void 0),T&&this.chart.redraw()}return{compose:q}}),r(e,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{series:{prototype:K}}=B,{addEvent:G,defined:q,error:Z,extend:R,isNumber:Y,merge:V,pick:H}=$,T=K.generatePoints;function L(a,o){q(o[0])&&Y(a.min)&&Y(a.dataMin)&&o[0]<a.min&&((!q(a.options.min)&&a.min<=a.dataMin||a.min===a.dataMin)&&(a.min=Math.min(o[0],a.min)),a.dataMin=Math.min(o[0],a.dataMin)),q(o[o.length-1])&&Y(a.max)&&Y(a.dataMax)&&o[o.length-1]>a.max&&((!q(a.options.max)&&Y(a.dataMax)&&a.max>=a.dataMax||a.max===a.dataMax)&&(a.max=Math.max(o[o.length-1],a.max)),a.dataMax=Math.max(o[o.length-1],a.dataMax))}function j(a,o,u){let d=a.options,h=d.dataGrouping,m=a.currentDataGrouping&&a.currentDataGrouping.gapSize;if(!(h&&a.xData&&m&&a.groupMap))return;let f=o.length-1,y=h.anchor,I=h.firstAnchor,E=h.lastAnchor,M=o.length-1,D=0;if(I&&a.xData[0]>=o[0]){D++;let F=a.groupMap[0].start,X=a.groupMap[0].length,_;Y(F)&&Y(X)&&(_=F+(X-1)),o[0]={start:o[0],middle:o[0]+.5*m,end:o[0]+m,firstPoint:a.xData[0],lastPoint:_&&a.xData[_]}[I]}if(f>0&&E&&m&&o[f]>=u-m){M--;let F=a.groupMap[a.groupMap.length-1].start;o[f]={start:o[f],middle:o[f]+.5*m,end:o[f]+m,firstPoint:F&&a.xData[F],lastPoint:a.xData[a.xData.length-1]}[E]}if(y&&y!=="start"){let F=m*{middle:.5,end:1}[y];for(;M>=D;)o[M]+=F,M--}}function s(a){let o=this,u=o.chart,d=o.options,h=d.dataGrouping,m=o.allowDG!==!1&&h&&H(h.enabled,u.options.isStock),f=o.reserveSpace(),y=this.currentDataGrouping,I,E,M=!1;m&&!o.requireSorting&&(o.requireSorting=M=!0);let D=v(o,a)===!1||!m;if(M&&(o.requireSorting=!1),D)return;o.destroyGroupedData();let F=h.groupAll?o.xData:o.processedXData,X=h.groupAll?o.yData:o.processedYData,_=u.plotSizeX,w=o.xAxis,A=w.options.ordinal,U=o.groupPixelWidth,b,k;if(U&&F&&F.length&&_){k=!0,o.isDirty=!0,o.points=null;let O=w.getExtremes(),z=O.min,W=O.max,Q=A&&w.ordinal&&w.ordinal.getGroupIntervalFactor(z,W,o)||1,ee=U*(W-z)/_*Q,se=w.getTimeTicks(l.Additions.prototype.normalizeTimeTickInterval(ee,h.units||n.units),Math.min(z,F[0]),Math.max(W,F[F.length-1]),w.options.startOfWeek,F,o.closestPointRange),ae=K.groupData.apply(o,[F,X,se,h.approximation]),he=ae.groupedXData,ce=ae.groupedYData,ie=0;for(h&&h.smoothed&&he.length&&(h.firstAnchor="firstPoint",h.anchor="middle",h.lastAnchor="lastPoint",Z(32,!1,u,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),b=1;b<se.length;b++)(!se.info.segmentStarts||se.info.segmentStarts.indexOf(b)===-1)&&(ie=Math.max(se[b]-se[b-1],ie));I=se.info,I.gapSize=ie,o.closestPointRange=se.info.totalRange,o.groupMap=ae.groupMap,o.currentDataGrouping=I,j(o,he,W),f&&L(w,he),h.groupAll&&(o.allGroupedData=ce,E=o.cropData(he,ce,w.min,w.max),he=E.xData,ce=E.yData,o.cropStart=E.start),o.processedXData=he,o.processedYData=ce}else o.groupMap=null,o.currentDataGrouping=void 0;o.hasGroupedData=k,o.preventGraphAnimation=(y&&y.totalRange)!==(I&&I.totalRange)}function c(a){let o=a.prototype;if(!o.applyGrouping){let u=a.prototype.pointClass;G(u,"update",function(){if(this.dataGroup)return Z(24,!1,this.series.chart),!1}),G(a,"afterSetOptions",g),G(a,"destroy",x),R(o,{applyGrouping:s,destroyGroupedData:x,generatePoints:N,getDGApproximation:P,groupData:S})}}function x(){this.groupedData&&(this.groupedData.forEach(function(a,o){a&&(this.groupedData[o]=a.destroy?a.destroy():null)},this),this.groupedData.length=0,delete this.allGroupedData)}function N(){T.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function P(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")||this.options.cumulative?"sum":"average"}function S(a,o,u,d){let h=this,m=h.data,f=h.options&&h.options.data,y=[],I=[],E=[],M=a.length,D=!!o,F=[],X=h.pointArrayMap,_=X&&X.length,w=["x"].concat(X||["y"]),A=this.options.dataGrouping&&this.options.dataGrouping.groupAll,U,b,k,O=0,z=0,W=typeof d=="function"?d:d&&t[d]?t[d]:t[h.getDGApproximation&&h.getDGApproximation()||"average"];if(_){let ee=X.length;for(;ee--;)F.push([])}else F.push([]);let Q=_||1;for(let ee=0;ee<=M;ee++)if(!(a[ee]<u[0])){for(;typeof u[O+1]<"u"&&a[ee]>=u[O+1]||ee===M;){U=u[O],h.dataGroupInfo={start:A?z:h.cropStart+z,length:F[0].length,groupStart:U},k=W.apply(h,F),h.pointClass&&!q(h.dataGroupInfo.options)&&(h.dataGroupInfo.options=V(h.pointClass.prototype.optionsToObject.call({series:h}
179,h.options.data[h.cropStart+z])),w.forEach(function(se){delete h.dataGroupInfo.options[se]})),typeof k<"u"&&(y.push(U),I.push(k),E.push(h.dataGroupInfo)),z=ee;for(let se=0;se<Q;se++)F[se].length=0,F[se].hasNulls=!1;if(O+=1,ee===M)break}if(ee===M)break;if(X){let se=h.options.dataGrouping&&h.options.dataGrouping.groupAll?ee:h.cropStart+ee,ae=m&&m[se]||h.pointClass.prototype.applyOptions.apply({series:h},[f[se]]),he;for(let ce=0;ce<_;ce++)he=ae[X[ce]],Y(he)?F[ce].push(he):he===null&&(F[ce].hasNulls=!0)}else b=D?o[ee]:null,Y(b)?F[0].push(b):b===null&&(F[0].hasNulls=!0)}return{groupedXData:y,groupedYData:I,groupMap:E}}function g(a){let o=a.options,u=this.type,d=this.chart.options.plotOptions,h=this.useCommonDataGrouping&&n.common,m=n.seriesSpecific,f=C.defaultOptions.plotOptions[u].dataGrouping;if(d&&(m[u]||h)){let y=this.chart.rangeSelector;f||(f=V(n.common,m[u])),o.dataGrouping=V(h,f,d.series&&d.series.dataGrouping,d[u].dataGrouping,this.userOptions.dataGrouping,!o.isInternal&&y&&Y(y.selected)&&y.buttonOptions[y.selected].dataGrouping)}}function v(a,o){return!(a.isCartesian&&!a.isDirty&&!a.xAxis.isDirty&&!a.yAxis.isDirty&&!o)}return{compose:c,groupData:S}}),r(e,"Extensions/DataGrouping/DataGrouping.js",[e["Extensions/DataGrouping/DataGroupingAxisComposition.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Extensions/DataGrouping/DataGroupingSeriesComposition.js"],e["Core/Templating.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(t,n,l,C,B,$){let{format:K}=C,{composed:G}=B,{addEvent:q,extend:Z,isNumber:R,pick:Y,pushUnique:V}=$;function H(j,s,c){t.compose(j),l.compose(s),c&&V(G,"DataGrouping")&&q(c,"headerFormatter",T)}function T(j){var y;let s=this.chart,c=s.time,x=j.labelConfig,N=x.series,P=x.point,S=N.options,g=N.tooltipOptions,v=S.dataGrouping,p=N.xAxis,a=g.xDateFormat,o,u,d,h,m,f=g[j.isFooter?"footerFormat":"headerFormat"];if(p&&p.options.type==="datetime"&&v&&R(x.key)){u=N.currentDataGrouping,d=v.dateTimeLabelFormats||n.common.dateTimeLabelFormats,u?(h=d[u.unitName],u.count===1?a=h[0]:(a=h[1],o=h[2])):!a&&d&&p.dateTime&&(a=p.dateTime.getXDateFormat(x.x,g.dateTimeLabelFormats));let I=Y((y=N.groupMap)==null?void 0:y[P.index].groupStart,x.key),E=I+(u==null?void 0:u.totalRange)-1;m=c.dateFormat(a,I),o&&(m+=c.dateFormat(o,E)),N.chart.styledMode&&(f=this.styledModeFormat(f)),j.text=K(f,{point:Z(x.point,{key:m}),series:N},s),j.preventDefault()}}return{compose:H,groupData:l.groupData}}),r(e,"masters/modules/datagrouping.src.js",[e["Core/Globals.js"],e["Extensions/DataGrouping/ApproximationDefaults.js"],e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGrouping.js"]],function(t,n,l,C){let B=t;return B.dataGrouping=B.dataGrouping||{},B.dataGrouping.approximationDefaults=B.dataGrouping.approximationDefaults||n,B.dataGrouping.approximations=B.dataGrouping.approximations||l,C.compose(B.Axis,B.Series,B.Tooltip),t}),r(e,"Extensions/Annotations/NavigationBindingsUtilities.js",[e["Core/Utilities.js"]],function(t){let{defined:n,isNumber:l,pick:C}=t,B={backgroundColor:"string",borderColor:"string",borderRadius:"string",color:"string",fill:"string",fontSize:"string",labels:"string",name:"string",stroke:"string",title:"string"};function $(q){return q.filter(Z=>{let R=Z.axis.getExtremes(),Y=R.min,V=R.max,H=C(Z.axis.minPointOffset,0);return l(Y)&&l(V)&&Z.value>=Y-H&&Z.value<=V+H&&!Z.axis.options.isInternal})[0]}function K(q,Z){let R=B[q],Y=typeof Z;return n(R)&&(Y=R),{string:"text",number:"number",boolean:"checkbox"}[Y]}return{annotationsFieldsTypes:B,getAssignedAxis:$,getFieldType:K}}),r(e,"Extensions/MouseWheelZoom/MouseWheelZoom.js",[e["Core/Utilities.js"],e["Extensions/Annotations/NavigationBindingsUtilities.js"]],function(t,n){let{addEvent:l,isObject:C,pick:B,defined:$,merge:K}=t,{getAssignedAxis:G}=n,q=[],Z={enabled:!0,sensitivity:1.1},R,Y=j=>(C(j)||(j={enabled:j??!0}),K(Z,j)),V=function(j,s,c,x,N,P,S){let g=B(S.type,j.zooming.type,""),v=[];g==="x"?v=c:g==="y"?v=x:g==="xy"&&(v=j.axes);let p=j.transform({axes:v,to:{x:N-5,y:P-5,width:10,height:10},from:{x:N-5*s,y:P-5*s,width:10*s,height:10*s},trigger:"mousewheel"});return p&&($(R)&&clearTimeout(R),R=setTimeout(()=>{var a;(a=j.pointer)==null||a.drop()},400)),p};function H(){let j=Y(this.zooming.mouseWheel);j.enabled&&l(this.container,"wheel",s=>{var N,P;s=((N=this.pointer)==null?void 0:N.normalize(s))||s;let{pointer:c}=this,x=c&&!c.inClass(s.target,"highcharts-no-mousewheel");if(this.isInsidePlot(s.chartX-this.plotLeft,s.chartY-this.plotTop)&&x){let S=j.sensitivity||1.1,g=s.detail||(s.deltaY||0)/120,v=G(c.getCoordinates(s).xAxis),p=G(c.getCoordinates(s).yAxis);
179V(this,Math.pow(S,g),v?[v.axis]:this.xAxis,p?[p.axis]:this.yAxis,s.chartX,s.chartY,j)&&((P=s.preventDefault)==null||P.call(s))}})}function T(j){q.indexOf(j)===-1&&(q.push(j),l(j,"afterGetContainer",H))}return{compose:T}}),r(e,"masters/modules/mouse-wheel-zoom.src.js",[e["Core/Globals.js"],e["Extensions/MouseWheelZoom/MouseWheelZoom.js"]],function(t,n){let l=t;return l.MouseWheelZoom=l.MouseWheelZoom||n,l.MouseWheelZoom.compose(l.Chart),t}),r(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Series/DataModifyComposition.js"],e["Stock/Navigator/Navigator.js"],e["Core/Axis/OrdinalAxis.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Chart/StockChart.js"],e["Series/OHLC/OHLCSeries.js"],e["Series/Flags/FlagsSeries.js"]],function(t,n,l,C,B,$,K,G,q){let Z=t;return Z.Navigator=Z.Navigator||l,Z.OrdinalAxis=Z.OrdinalAxis||C,Z.RangeSelector=Z.RangeSelector||B,Z.Scrollbar=Z.Scrollbar||$,Z.stockChart=Z.stockChart||K.stockChart,Z.StockChart=Z.StockChart||Z.stockChart,Z.extend(Z.StockChart,K),n.compose(Z.Series,Z.Axis,Z.Point),q.compose(Z.Renderer),G.compose(Z.Series),Z.Navigator.compose(Z.Chart,Z.Axis,Z.Series),Z.OrdinalAxis.compose(Z.Axis,Z.Series,Z.Chart),Z.RangeSelector.compose(Z.Axis,Z.Chart),Z.Scrollbar.compose(Z.Axis),Z.StockChart.compose(Z.Chart,Z.Axis,Z.Series,Z.SVGRenderer),t})})});var UA=$n((U3e,x1)=>{"use strict";(function(i){typeof x1=="object"&&x1.exports?(i.default=i,x1.exports=i):typeof define=="function"&&define.amd?define("highcharts/modules/pattern-fill",["highcharts"],function(e){return i(e),i.Highcharts=e,i}):i(typeof Highcharts<"u"?Highcharts:void 0)})(function(i){"use strict";var e=i?i._modules:{};function r(t,n,l,C){t.hasOwnProperty(n)||(t[n]=C.apply(null,l),typeof CustomEvent=="function"&&i.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}r(e,"Extensions/PatternFill.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Defaults.js"],e["Core/Utilities.js"]],function(t,n,l){let{animObject:C}=t,{getOptions:B}=n,{addEvent:$,defined:K,erase:G,extend:q,merge:Z,pick:R,removeEvent:Y,wrap:V}=l,H=L();function T(o,u,d){let h=u.prototype.pointClass,m=h.prototype;m.calculatePatternDimensions||($(o,"endResize",s),$(o,"redraw",c),q(m,{calculatePatternDimensions:S}),$(h,"afterInit",x),$(u,"render",P),V(u.prototype,"getColor",v),$(u,"afterRender",p),$(u,"mapZoomComplete",p),q(d.prototype,{addPattern:g}),$(d,"complexColor",N))}function L(){let o=[],u=B().colors,d=0;for(let h of["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"])o.push({path:h,color:u[d++],width:5,height:5,patternTransform:"scale(1.4 1.4)"});d=5;for(let h of["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"])o.push({path:h,color:u[d],width:10,height:10}),d=d+5;return o}function j(o,u){let d=JSON.stringify(o),h=d.length||0,m=0,f=0,y,I;if(u){I=Math.max(Math.floor(h/500),1);for(let E=0;E<h;E+=I)m+=d.charCodeAt(E);m=m&m}for(;f<h;++f)y=d.charCodeAt(f),m=(m<<5)-m+y,m=m&m;return m.toString(16).replace("-","1")}function s(){if(this.renderer&&(this.renderer.defIds||[]).filter(o=>o&&o.indexOf&&o.indexOf("highcharts-pattern-")===0).length){for(let o of this.series)if(o.visible)for(let u of o.points){let d=u.options&&u.options.color;d&&d.pattern&&(d.pattern._width="defer",d.pattern._height="defer")}this.redraw(!1)}}function c(){let o={},u=this.renderer,d=(u.defIds||[]).filter(h=>h.indexOf&&h.indexOf("highcharts-pattern-")===0);if(d.length){[].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),h=>{let m=h.getAttribute("fill")||h.getAttribute("color")||h.getAttribute("stroke");if(m){let f=m.replace(u.url,"").replace("url(#","").replace(")","");o[f]=!0}});for(let h of d)o[h]||(G(u.defIds,h),u.patternElements[h]&&(u.patternElements[h].destroy(),delete u.patternElements[h]))}}function x(){let o=this,u=o.options.color;u&&u.pattern&&(typeof u.pattern.path=="string"&&(u.pattern.path={d:u.pattern.path}),o.color=o.options.color=Z(o.series.options.color,u))}function N(o){let u=o.args[0],d=o.args[1],h=o.args[2],m=this.chartIndex||
1790,f=u.pattern,y="#333333";if(typeof u.patternIndex<"u"&&H&&(f=H[u.patternIndex]),!f)return!0;if(f.image||typeof f.path=="string"||f.path&&f.path.d){let I=h.parentNode&&h.parentNode.getAttribute("class");I=I&&I.indexOf("highcharts-legend")>-1,(f._width==="defer"||f._height==="defer")&&S.call({graphic:{element:h}},f),(I||!f.id)&&(f=Z({},f),f.id="highcharts-pattern-"+m+"-"+j(f)+j(f,!0)),this.addPattern(f,!this.forExport&&R(f.animation,this.globalAnimation,{duration:100})),y=`url(${this.url}#${f.id+(this.forExport?"-export":"")})`}else y=f.color||y;return h.setAttribute(d,y),u.toString=function(){return y},!1}function P(){let o=this.chart.isResizing;if(this.isDirtyData||o||!this.chart.hasRendered)for(let u of this.points){let d=u.options&&u.options.color;d&&d.pattern&&(o&&!(u.shapeArgs&&u.shapeArgs.width&&u.shapeArgs.height)?(d.pattern._width="defer",d.pattern._height="defer"):u.calculatePatternDimensions(d.pattern))}}function S(o){if(o.width&&o.height)return;let u=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},d=this.shapeArgs;if(d&&(u.width=d.width||u.width,u.height=d.height||u.height,u.x=d.x||u.x,u.y=d.y||u.y),o.image){if(!u.width||!u.height){o._width="defer",o._height="defer";let h=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;K(h)&&h<0&&(o._inverted=!0);return}o.aspectRatio&&(u.aspectRatio=u.width/u.height,o.aspectRatio>u.aspectRatio?u.aspectWidth=u.height*o.aspectRatio:u.aspectHeight=u.width/o.aspectRatio),o._width=o.width||Math.ceil(u.aspectWidth||u.width),o._height=o.height||Math.ceil(u.aspectHeight||u.height)}o.width||(o._x=o.x||0,o._x+=u.x-Math.round(u.aspectWidth?Math.abs(u.aspectWidth-u.width)/2:0)),o.height||(o._y=o.y||0,o._y+=u.y-Math.round(u.aspectHeight?Math.abs(u.aspectHeight-u.height)/2:0))}function g(o,u){let d=R(u,!0),h=C(d),m=o.color||"#333333",f=32,y=o.height||(typeof o._height=="number"?o._height:0)||f,I=w=>this.rect(0,0,E,y).attr({fill:w}).add(_),E=o.width||(typeof o._width=="number"?o._width:0)||f,M,D=o.id,F;if(D||(this.idCounter=this.idCounter||0,D="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(D+="-export"),this.defIds=this.defIds||[],this.defIds.indexOf(D)>-1)return;this.defIds.push(D);let X={id:D,patternUnits:"userSpaceOnUse",patternContentUnits:o.patternContentUnits||"userSpaceOnUse",width:E,height:y,x:o._x||o.x||0,y:o._y||o.y||0};o._inverted&&(X.patternTransform="scale(1, -1)",o.patternTransform&&(o.patternTransform+=" scale(1, -1)")),o.patternTransform&&(X.patternTransform=o.patternTransform);let _=this.createElement("pattern").attr(X).add(this.defs);return _.id=D,o.path?(F=l.isObject(o.path)?o.path:{d:o.path},o.backgroundColor&&I(o.backgroundColor),M={d:F.d},this.styledMode||(M.stroke=F.stroke||m,M["stroke-width"]=R(F.strokeWidth,2),M.fill=F.fill||"none"),F.transform&&(M.transform=F.transform),this.createElement("path").attr(M).add(_),_.color=m):o.image&&(d?this.image(o.image,0,0,E,y,function(){this.animate({opacity:R(o.opacity,1)},h),Y(this.element,"load")}).attr({opacity:0}).add(_):this.image(o.image,0,0,E,y).add(_)),!(o.image&&d)&&typeof o.opacity<"u"&&[].forEach.call(_.element.childNodes,w=>{w.setAttribute("opacity",o.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[D]=_,_}function v(o){let u=this.options.color;u&&u.pattern&&!u.pattern.color?(delete this.options.color,o.apply(this,[].slice.call(arguments,1)),u.pattern.color=this.color,this.color=this.options.color=u):o.apply(this,[].slice.call(arguments,1))}function p(){var m,f;let o=this;if(!((m=o.chart)!=null&&m.mapView))return;let u=o.chart,d=u.renderer,h=d.patternElements;(f=d.defIds)!=null&&f.length&&h&&o.points.filter(function(y){var E,M,D,F;let I=y;return I.graphic?(I.graphic.element.hasAttribute("fill")||I.graphic.element.hasAttribute("color")||I.graphic.element.hasAttribute("stroke"))&&!((M=(E=I.options.color)==null?void 0:E.pattern)!=null&&M.image)&&!!((D=I.group)!=null&&D.scaleX)&&!!((F=I.group)!=null&&F.scaleY):!1}).map(function(y){var M,D,F,X,_;let I=y;return{id:(((M=I.graphic)==null?void 0:M.element.getAttribute("fill"))||((D=I.graphic)==null?void 0:D.element.getAttribute("color"))||((F=I.graphic)==null?void 0:F.element.getAttribute("stroke"))||"").replace(d.url,"").replace("url(#","").replace(")",""),x:((X=I.group)==null?void 0:X.scaleX)||1,y:((_=I.group)==null?void 0:_.scaleY)||1}}).filter(function(y,I,E){return y.id!==""&&y.id.indexOf("highcharts-pattern-")!==-1&&!E.some(function(M,D){return M.id===y.id&&D<I})}
179).forEach(function(y){let I=y.id;h[I].scaleX=1/y.x,h[I].scaleY=1/y.y,h[I].updateTransform("patternTransform")})}return{compose:T,patterns:H}}),r(e,"masters/modules/pattern-fill.src.js",[e["Core/Globals.js"],e["Extensions/PatternFill.js"]],function(t,n){let l=t;return l.patterns=n.patterns,n.compose(l.Chart,l.Series,l.SVGRenderer),t})})});var XA=$n((ax,GA)=>{"use strict";(function(i,e){typeof ax=="object"&&typeof GA<"u"?e(Dl()):typeof define=="function"&&define.amd?define(["froala-editor"],e):e(i.FroalaEditor)})(ax,function(i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i,i.LANGUAGE.en_gb={translation:{"Type something":"Type something",Bold:"Bold",Italic:"Italic",Underline:"Underline",Strikethrough:"Strikethrough",Insert:"Insert",Delete:"Delete",Cancel:"Cancel",OK:"OK",Back:"Back",Remove:"Remove",More:"More",Update:"Update",Style:"Style","Font Family":"Font Family","Font Size":"Font Size",Colors:"Colours",Background:"Background",Text:"Text","HEX Color":"HEX Colour","Paragraph Format":"Paragraph Format",Normal:"Normal",Code:"Code","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Paragraph Style":"Paragraph Style","Inline Style":"Inline Style",Align:"Align","Align Left":"Align Left","Align Center":"Align Centre","Align Right":"Alight Right","Align Justify":"Align Justify",None:"None","Ordered List":"Ordered List","Unordered List":"Unordered List","Decrease Indent":"Decrease Indent","Increase Indent":"Increase Indent","Insert Link":"Insert Link","Open in new tab":"Open in new tab","Open Link":"Open Link","Edit Link":"Edit Link",Unlink:"Unlink","Choose Link":"Choose Link","Insert Image":"Insert Image","Upload Image":"Upload Image","By URL":"By URL",Browse:"Browse","Drop image":"Drop image","or click":"or click","Manage Images":"Manage Images",Loading:"Loading",Deleting:"Deleting",Tags:"Tags","Are you sure? Image will be deleted.":"Are you sure? Image will be deleted.",Replace:"Replace",Uploading:"Uploading","Loading image":"Loading image",Display:"Display",Inline:"Inline","Break Text":"Break Text","Alternative Text":"Alternative Text","Change Size":"Change Size",Width:"Width",Height:"Height","Something went wrong. Please try again.":"Something went wrong. Please try again.","Image Caption":"Image Caption","Advanced Edit":"Advanced Edit","Insert Video":"Insert Video","Embedded Code":"Embedded Code","Paste in a video URL":"Paste in a video URL","Drop video":"Drop video","Your browser does not support HTML5 video.":"Your browser does not support HTML5 video.","Upload Video":"Upload Video","Insert Table":"Insert Table","Table Header":"Table Header","Remove Table":"Remove Table","Table Style":"Table Style","Horizontal Align":"Horizontal Align",Row:"Row","Insert row above":"Insert row above","Insert row below":"Insert row below","Delete row":"Delete row",Column:"Column","Insert column before":"Insert column before","Insert column after":"Insert column after","Delete column":"Delete column",Cell:"Cell","Merge cells":"Merge cells","Horizontal split":"Horizontal split","Vertical split":"Vertical split","Cell Background":"Cell Background","Vertical Align":"Vertical Align",Top:"Top",Middle:"Middle",Bottom:"Bottom","Align Top":"Align Top","Align Middle":"Align Middle","Align Bottom":"Align Bottom","Cell Style":"Cell Style","Upload File":"Upload File","Drop file":"Drop file",Emoticons:"Emoticons",Break:"Break",Subscript:"Subscript",Superscript:"Superscript",Fullscreen:"Fullscreen","Insert Horizontal Line":"Insert Horizontal Line","Clear Formatting":"Cell Formatting",Save:"Save",Undo:"Undo",Redo:"Redo","Select All":"Select All","Code View":"Code View",Quote:"Quote",Increase:"Increase",Decrease:"Decrease","Quick Insert":"Quick Insert","Special Characters":"Special Characters",Latin:"Latin",Greek:"Greek",Cyrillic:"Cyrillic",Punctuation:"Punctuation",Currency:"Currency",Arrows:"Arrows",Math:"Math",Misc:"Misc",Print:"Print","Spell Checker":"Spell Checker",Help:"Help",Shortcuts:"Shortcuts","Inline Editor":"Inline Editor","Show the editor":"Show the editor","Common actions":"Common actions",Copy:"Copy",Cut:"Cut",Paste:"Paste","Basic Formatting":"Basic Formatting","Increase quote level":"Increase quote level","Decrease quote level":"Decrease quote level","Image / Video":"Image / Video","Resize larger":"Resize larger","Resize smaller":"Resize smaller",Table:"Table","Select table cell":"Select table cell","Extend selection one cell":"Extend selection one cell","Extend selection one row":"Extend selection one row",Navigation:"Navigation","Focus popup / toolbar":"Focus popup / toolbar","Return focus to previous position":"Return focus to previous position","Embed URL":"Embed URL","Paste in a URL to embed":"Paste in a URL to embed","The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?",
179Keep:"Keep",Clean:"Clean","Word Paste Detected":"Word Paste Detected",Characters:"Characters","More Text":"More Text","More Paragraph":"More Paragraph","More Rich":"More Rich","More Misc":"More Misc"},direction:"ltr"}})});var qA=$n((Wu,v0)=>{"use strict";(function(){var i,e="4.17.21",r=200,t="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",n="Expected a function",l="Invalid `variable` option passed into `_.template`",C="__lodash_hash_undefined__",B=500,$="__lodash_placeholder__",K=1,G=2,q=4,Z=1,R=2,Y=1,V=2,H=4,T=8,L=16,j=32,s=64,c=128,x=256,N=512,P=30,S="...",g=800,v=16,p=1,a=2,o=3,u=1/0,d=9007199254740991,h=17976931348623157e292,m=NaN,f=4294967295,y=f-1,I=f>>>1,E=[["ary",c],["bind",Y],["bindKey",V],["curry",T],["curryRight",L],["flip",N],["partial",j],["partialRight",s],["rearg",x]],M="[object Arguments]",D="[object Array]",F="[object AsyncFunction]",X="[object Boolean]",_="[object Date]",w="[object DOMException]",A="[object Error]",U="[object Function]",b="[object GeneratorFunction]",k="[object Map]",O="[object Number]",z="[object Null]",W="[object Object]",Q="[object Promise]",ee="[object Proxy]",se="[object RegExp]",ae
179="[object Set]",he="[object String]",ce="[object Symbol]",ie="[object Undefined]",te="[object WeakMap]",ne="[object WeakSet]",oe="[object ArrayBuffer]",le="[object DataView]",ue="[object Float32Array]",de="[object Float64Array]",fe="[object Int8Array]",me="[object Int16Array]",ge="[object Int32Array]",Ee="[object Uint8Array]",ve="[object Uint8ClampedArray]",ye="[object Uint16Array]",Se="[object Uint32Array]",xe=/\b__p \+= '';/g,Ce=/\b(__p \+=) '' \+/g,Oe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pe=/&(?:amp|lt|gt|quot|#39);/g,He=/[&<>"']/g,Je=RegExp(Pe.source),Xe=RegExp(He.source),dt=/<%-([\s\S]+?)%>/g,ct=/<%([\s\S]+?)%>/g,vt=/<%=([\s\S]+?)%>/g,Gt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ft=/^\w*$/,Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(mt.source),Kt=/^\s+/,Po=/\s/,qn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fs=/\{\n\/\* \[wrapped with (.+)\] \*/,Fs=/,? & /,Vs=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zs=/[()=,{}\[\]\/\s]/,Zn=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/\w*$/,Kn=/^[-+]0x[0-9a-f]+$/i,$s=/^0b[01]+$/i,hn=/^\[object .+?Constructor\]$/,vn=/^0o[0-7]+$/i,Ct=/^(?:0|[1-9]\d*)$/,Fe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 4,939 bytes, line 179
1797f]/g,ut=/($^)/,Mt=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",ms="\\u0300-\\u036f",ss="\\ufe20-\\ufe2f",Ws="\\u20d0-\\u20ff",Ar=ms+ss+Ws,el="\\u2700-\\u27bf",gs="a-z\\xdf-\\xf6\\xf8-\\xff",x0="\\xac\\xb1\\xd7\\xf7",C0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",oD="\\u2000-\\u206f",aD=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hx="A-Z\\xc0-\\xd6\\xd8-\\xde",cx="\\ufe0e\\ufe0f",ux=x0+C0+oD+aD,w1="['\u2019]",lD="["+Ni+"]",dx="["+ux+"]",_0="["+Ar+"]",px="\\d+",hD="["+el+"]",fx="["+gs+"]",mx="[^"+Ni+ux+px+el+gs+hx+"]",S1="\\ud83c[\\udffb-\\udfff]",cD="(?:"+_0+"|"+S1+")",gx="[^"+Ni+"]",M1="(?:\\ud83c[\\udde6-\\uddff]){2}",T1="[\\ud800-\\udbff][\\udc00-\\udfff]",ic="["+hx+"]",Ex="\\u200d",bx="(?:"+fx+"|"+mx+")",uD="(?:"+ic+"|"+mx+")",yx="(?:"+w1+"(?:d|ll|m|re|s|t|ve))?",vx="(?:"+w1+"(?:D|LL|M|RE|S|T|VE))?",xx=cD+"?",Cx="["+cx+"]?",dD="(?:"+Ex+"(?:"+[gx,M1,T1].join("|")+")"+Cx+xx+")*",pD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fD="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_x=Cx+xx+dD,mD="(?:"+[hD,M1,T1].join("|")+")"+_x,gD="(?:"+[gx+_0+"?",_0,M1,T1,lD].join("|")+")",ED=RegExp(w1,"g"),bD=RegExp(_0,"g"),k1=RegExp(S1+"(?="+S1+")|"+gD+_x,"g"),yD=RegExp([ic+"?"+fx+"+"+yx+"(?="+[dx,ic,"$"].join("|")+")",uD+"+"+vx+"(?="+[dx,ic+bx,"$"].join("|")+")",ic+"?"+bx+"+"+yx,ic+"+"+vx,fD,pD,px,mD].join("|"),"g"),vD=RegExp("["+Ex+Ni+Ar+cx+"]"),xD=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,CD=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_D=-1,en={};en[ue]=en[de]=en[fe]=en[me]=en[ge]=en[Ee]=en[ve]=en[ye]=en[Se]=!0,en[M]=en[D]=en[oe]=en[X]=en[le]=en[_]=en[A]=en[U]=en[k]=en[O]=en[W]=en[se]=en[ae]=en[he]=en[te]=!1;var Zi={};Zi[M]=Zi[D]=Zi[oe]=Zi[le]=Zi[X]=Zi[_]=Zi[ue]=Zi[de]=Zi[fe]=Zi[me]=Zi[ge]=Zi[k]=Zi[O]=Zi[W]=Zi[se]=Zi[ae]=Zi[he]=Zi[ce]=Zi[Ee]=Zi[ve]=Zi[ye]=Zi[Se]=!0,Zi[A]=Zi[U]=Zi[te]=!1;var wD={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},SD={"&":"&","<":"<",">":">",'"':""","'":"'"},MD={"&":"&","<":"<",">":">",""":'"',"'":"'"},TD={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kD=parseFloat,AD=parseInt,wx=typeof global=="object"&&global&&global.Object===Object&&global,DD=typeof self=="object"&&self&&self.Object===Object&&self,Es=wx||DD||Function("return this")(),A1=typeof Wu=="object"&&Wu&&!Wu.nodeType&&Wu,$l=A1&&typeof v0=="object"&&v0&&!v0.nodeType&&v0,Sx=$l&&$l.exports===A1,D1=Sx&&wx.process,eo=function(){try{var Ye=$l&&$l.require&&$l.require("util").t
vendor: 10,297 bytes, line 179
179ypes;return Ye||D1&&D1.binding&&D1.binding("util")}catch{}}(),Mx=eo&&eo.isArrayBuffer,Tx=eo&&eo.isDate,kx=eo&&eo.isMap,Ax=eo&&eo.isRegExp,Dx=eo&&eo.isSet,Lx=eo&&eo.isTypedArray;function Dr(Ye,nt,Ze){switch(Ze.length){case 0:return Ye.call(nt);case 1:return Ye.call(nt,Ze[0]);case 2:return Ye.call(nt,Ze[0],Ze[1]);case 3:return Ye.call(nt,Ze[0],Ze[1],Ze[2])}return Ye.apply(nt,Ze)}function LD(Ye,nt,Ze,_t){for(var ei=-1,ji=Ye==null?0:Ye.length;++ei<ji;){var rs=Ye[ei];nt(_t,rs,Ze(rs),Ye)}return _t}function to(Ye,nt){for(var Ze=-1,_t=Ye==null?0:Ye.length;++Ze<_t&&nt(Ye[Ze],Ze,Ye)!==!1;);return Ye}function PD(Ye,nt){for(var Ze=Ye==null?0:Ye.length;Ze--&&nt(Ye[Ze],Ze,Ye)!==!1;);return Ye}function Px(Ye,nt){for(var Ze=-1,_t=Ye==null?0:Ye.length;++Ze<_t;)if(!nt(Ye[Ze],Ze,Ye))return!1;return!0}function tl(Ye,nt){for(var Ze=-1,_t=Ye==null?0:Ye.length,ei=0,ji=[];++Ze<_t;){var rs=Ye[Ze];nt(rs,Ze,Ye)&&(ji[ei++]=rs)}return ji}function w0(Ye,nt){var Ze=Ye==null?0:Ye.length;return!!Ze&&nc(Ye,nt,0)>-1}function L1(Ye,nt,Ze){for(var _t=-1,ei=Ye==null?0:Ye.length;++_t<ei;)if(Ze(nt,Ye[_t]))return!0;return!1}function cn(Ye,nt){for(var Ze=-1,_t=Ye==null?0:Ye.length,ei=Array(_t);++Ze<_t;)ei[Ze]=nt(Ye[Ze],Ze,Ye);return ei}function il(Ye,nt){for(var Ze=-1,_t=nt.length,ei=Ye.length;++Ze<_t;)Ye[ei+Ze]=nt[Ze];return Ye}function P1(Ye,nt,Ze,_t){var ei=-1,ji=Ye==null?0:Ye.length;for(_t&&ji&&(Ze=Ye[++ei]);++ei<ji;)Ze=nt(Ze,Ye[ei],ei,Ye);return Ze}function OD(Ye,nt,Ze,_t){var ei=Ye==null?0:Ye.length;for(_t&&ei&&(Ze=Ye[--ei]);ei--;)Ze=nt(Ze,Ye[ei],ei,Ye);return Ze}function O1(Ye,nt){for(var Ze=-1,_t=Ye==null?0:Ye.length;++Ze<_t;)if(nt(Ye[Ze],Ze,Ye))return!0;return!1}var ID=I1("length");function RD(Ye){return Ye.split("")}function BD(Ye){return Ye.match(Vs)||[]}function Ox(Ye,nt,Ze){var _t;return Ze(Ye,function(ei,ji,rs){if(nt(ei,ji,rs))return _t=ji,!1}),_t}function S0(Ye,nt,Ze,_t){for(var ei=Ye.length,ji=Ze+(_t?1:-1);_t?ji--:++ji<ei;)if(nt(Ye[ji],ji,Ye))return ji;return-1}function nc(Ye,nt,Ze){return nt===nt?XD(Ye,nt,Ze):S0(Ye,Ix,Ze)}function ND(Ye,nt,Ze,_t){for(var ei=Ze-1,ji=Ye.length;++ei<ji;)if(_t(Ye[ei],nt))return ei;return-1}function Ix(Ye){return Ye!==Ye}function Rx(Ye,nt){var Ze=Ye==null?0:Ye.length;return Ze?B1(Ye,nt)/Ze:m}function I1(Ye){return function(nt){return nt==null?i:nt[Ye]}}function R1(Ye){return function(nt){return Ye==null?i:Ye[nt]}}function Bx(Ye,nt,Ze,_t,ei){return ei(Ye,function(ji,rs,Ui){Ze=_t?(_t=!1,ji):nt(Ze,ji,rs,Ui)}),Ze}function jD(Ye,nt){var Ze=Ye.length;for(Ye.sort(nt);Ze--;)Ye[Ze]=Ye[Ze].value;return Ye}function B1(Ye,nt){for(var Ze,_t=-1,ei=Ye.length;++_t<ei;){var ji=nt(Ye[_t]);ji!==i&&(Ze=Ze===i?ji:Ze+ji)}return Ze}function N1(Ye,nt){for(var Ze=-1,_t=Array(Ye);++Ze<Ye;)_t[Ze]=nt(Ze);return _t}function HD(Ye,nt){return cn(nt,function(Ze){return[Ze,Ye[Ze]]})}function Nx(Ye){return Ye&&Ye.slice(0,Vx(Ye)+1).replace(Kt,"")}function Lr(Ye){return function(nt){return Ye(nt)}}function j1(Ye,nt){return cn(nt,function(Ze){return Ye[Ze]})}function Yu(Ye,nt){return Ye.has(nt)}function jx(Ye,nt){for(var Ze=-1,_t=Ye.length;++Ze<_t&&nc(nt,Ye[Ze],0)>-1;);return Ze}function Hx(Ye,nt){for(var Ze=Ye.length;Ze--&&nc(nt,Ye[Ze],0)>-1;);return Ze}function FD(Ye,nt){for(var Ze=Ye.length,_t=0;Ze--;)Ye[Ze]===nt&&++_t;return _t}var VD=R1(wD),zD=R1(SD);function $D(Ye){return"\\"+TD[Ye]}function WD(Ye,nt){return Ye==null?i:Ye[nt]}function sc(Ye){return vD.test(Ye)}function YD(Ye){return xD.test(Ye)}function UD(Ye){for(var nt,Ze=[];!(nt=Ye.next()).done;)Ze.push(nt.value);return Ze}function H1(Ye){var nt=-1,Ze=Array(Ye.size);return Ye.forEach(function(_t,ei){Ze[++nt]=[ei,_t]}),Ze}function Fx(Ye,nt){return function(Ze){return Ye(nt(Ze))}}function nl(Ye,nt){for(var Ze=-1,_t=Ye.length,ei=0,ji=[];++Ze<_t;){var rs=Ye[Ze];(rs===nt||rs===$)&&(Ye[Ze]=$,ji[ei++]=Ze)}return ji}function M0(Ye){var nt=-1,Ze=Array(Ye.size);return Ye.forEach(function(_t){Ze[++nt]=_t}),Ze}function GD(Ye){var nt=-1,Ze=Array(Ye.size);return Ye.forEach(function(_t){Ze[++nt]=[_t,_t]}),Ze}function XD(Ye,nt,Ze){for(var _t=Ze-1,ei=Ye.length;++_t<ei;)if(Ye[_t]===nt)return _t;return-1}function qD(Ye,nt,Ze){for(var _t=Ze+1;_t--;)if(Ye[_t]===nt)return _t;return _t}function rc(Ye){return sc(Ye)?KD(Ye):ID(Ye)}function Oo(Ye){return sc(Ye)?QD(Ye):RD(Ye)}function Vx(Ye){for(var nt=Ye.length;nt--&&Po.test(Ye.charAt(nt)););return nt}var ZD=R1(MD);function KD(Ye){for(var nt=k1.lastIndex=0;k1.test(Ye);)++nt;return nt}function QD(Ye){return Ye.match(k1)||[]}function JD(Ye){return Ye.match(yD)||[]}var e6=function Ye(nt){nt=nt==null?Es:sl.defaults(Es.Object(),nt,sl.pick(Es,CD));var Ze=nt.Array,_t=nt.Date,ei=nt.Error,ji=nt.Function,rs=nt.Math,Ui=nt.Object,F1=nt.RegExp,t6=nt.String,io=nt.TypeError,T0=Ze.prototype,i6=ji.prototype,oc=Ui.prototype,k0=nt["__core-js_shared__"],A0=i6.toString,zi=oc.hasOwnProperty,n6=0,zx=function(){var J=/[^.]+$/.exec(k0&&k0.keys&&k0.keys.IE_PROTO||"");return J?"Symbol(src)_1."+J:""}(),D0=oc.toString,s6=A0.call(Ui),r6=Es._,o6=F1("^"+A0.call(zi).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L0=Sx?nt.Buffer:i,rl=nt.Symbol,P0=nt.Uint8Array,$x=L0?L0.allocUnsafe:i,O0=Fx(Ui.getPrototypeOf,Ui),Wx=Ui.create,Yx=oc.propertyIsEnumerable,I0=T0.splice,Ux=rl?rl.isConcatSpreadable:i,Uu=rl?rl.iterator:i,Wl=rl?rl.toStringTag:i,R0=function(){try{var J=ql(Ui,"defineProperty");return J({},"",{}),J}catch{}}(),a6=nt.clearTimeout!==Es.clearTimeout&&nt.clearTimeout,l6=_t&&_t.now!==Es.Date.now&&_t.now,h6=nt.setTimeout!==Es.setTimeout&&nt.setTimeout,B0=rs.ceil,N0=rs.floor,V1=Ui.getOwnPropertySymbols,c6=L0?L0.isBuffer:i,Gx=nt.isFinite,u6=T0.join,d6=Fx(Ui.keys,Ui),os=rs.max,Ys=rs.min,p6=_t.now,f6=nt.parseInt,Xx=rs.random,m6=T0.reverse,z1=ql(nt,"DataView"),Gu=ql(nt,"Map"),$1=ql(nt,"Promise"),ac=ql(nt,"Set"),Xu=ql(nt,"WeakMap"),qu=ql(Ui,"create"),j0=Xu&&new Xu,lc={},g6=Zl(z1),E6=Zl(Gu),b6=Zl($1),y6=Zl(ac),v6=Zl(Xu),H0=rl?rl.prototype:i,Zu=H0?H0.valueOf:i,qx=H0?H0.toString:i;function De(J){if(Pn(J)&&!ni(J)&&!(J instanceof vi)){if(J instanceof no)return J;if(zi.call(J,"__wrapped__"))return Z3(J)}return new no(J)}var hc=function(){function J(){}return function(re){if(!xn(re))return{};if(Wx)return Wx(re);J.prototype=re;var pe=new J;return J.prototype=i,pe}}();function F0(){}function no(J,re){this.__wrapped__=J,this.__actions__=[],this.__chain__=!!re,this.__index__=0,this.__values__=i}De.templateSettings={escape:dt,evaluate:ct,interpolate:vt,variable:"",imports:{_:De}},De.prototype=F0.prototype,De.prototype.constructor=De,no.prototype=hc(F0.prototype),no.prototype.constructor=no;function vi(J){this.__wrapped__=J,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function x6(){var J=new vi(this.__wrapped__);return J.__actions__=br(this.__actions__),J.__dir__=this.__dir__,J.__filtered__=this.__filtered__,J.__iteratees__=br(this.__iteratees__),J.__takeCount__=this.__takeCount__,J.__views__=br(this.__views__),J}function C6(){if(this.__filtered__){var J=new vi(this);J.__dir__=-1,J.__filtered__=!0}else J=this.clone(),J.__dir__*=-1;return J}function _6(){var J=this.__wrapped__.value(),re=this.__dir__,pe=ni(J),be=re<0,Me=pe?J.length:0,Le=R8(0,Me,this.__views__),Re=Le.start,Ve=Le.end,Ue=Ve-Re,rt=be?Ve:Re-1,ot=this.__iteratees__,lt=ot.length,bt=0,Pt=Ys(Ue,this.__takeCount__);if(!pe||!be&&Me==Ue&&Pt==Ue)return y3(J,this.__actions__);var Vt=[];e:for(;Ue--&&bt<Pt;){rt+=re;for(var li=-1,zt=J[rt];++li<lt;){var mi=ot[li],Ci=mi.iteratee,Ir=mi.type,or=Ci(zt);if(Ir==a)zt=or;else if(!or){if(Ir==p)continue e;break e}}Vt[bt++]=zt}return Vt}vi.prototype=hc(F0.prototype),vi.prototype.constructor=vi;function Yl(J){var re=-1,pe=J==null?0:J.length;for(this.clear();++re<pe;){var be=J[re];this.set(be[0],be[1])}}function w6(){this.__data__=qu?qu(null):{},this.size=0}function S6(J){var re=this.has(J)&&delete this.__data__[J];return this.size-=re?1:0,re}function M6(J){var re=this.__data__;if(qu){var pe=re[J];return pe===C?i:pe}return zi.call(re,J)?re[J]:i}function T6(J){var re=this.__data__;return qu?re[J]!==i:zi.call(re,J)}function k6(J,re){var pe=this.__data__;return this.size+=this.has(J)?0:1,pe[J]=qu&&re===i?C:re,this}Yl.prototype.clear=w6,Yl.prototype.delete=S6,Yl.prototype.get=M6,Yl.prototype.has=T6,Yl.prototype.set=k6;function _a(J){var re=-1,pe=J==null?0:J.length;for(this.clear();++re<pe;){var be=J[re];this.set(be[0],be[1])}}function A6(){this.__data__=[],this.size=0}function D6(J){var re=this.__data__,pe=V0(re,J);if(pe<0)return!1;var be=re.length-1;return pe==be?re.pop():I0.call(re,pe,1),--this.size,!0}function L6(J){var re=this.__data__,pe=V0(re,J);return pe<0?i:re[pe][1]}function P6(J){return V0(this.__data__,J)>-1}function O6(J,re){var pe=this.__data__,be=V0(pe,J);return be<0?(++this.size,pe.push([J,re])):pe[be][1]=re,this}_a.prototype.clear=A6,_a.prototype.delete=D6,_a.prototype.get=L6,_a.prototype.has=P6,_a.prototype.set=O6;function wa(J){var re=-1,pe=J==null?0:J.length;for(this.clear();++re<pe;){var be=J[re];this.set(be[0],be[1])}}function I6(){this.size=0,this.__data__={hash:new Yl,map:new(Gu||_a),string:new Yl}}function R6(J){var re=J0(this,J).delete(J);return this.size-=re?1:0,re}function B6(J){return J0(this,J).get(J)}function N6(J){return J0(this,J).has(J)}function j6(J,re){var pe=J0(this,J),be=pe.size;return pe.set(J,re),this.size+=pe.size==be?0:1,this}wa.prototype.clear=I6,wa.prototype.delete=R6,wa.prototype.get=B6,wa.prototype.has=N6,wa.prototype.set=j6;function Ul(J){var re=-1,pe=J==null?0:J.length;for(this.__data__=new wa;++re<pe;)this.add(J[re])}function H6(J){return this.__data__.set(J,C),this}function F6(J){return this.__data__.has(J)}Ul.prototype.add=Ul.prototype.push=H6,Ul.prototype.has=F6;function Io(J){var re=this.__data__=new _a(J);this.size=re.size}function V6(){this.__data__=new _a,this.size=0}function z6(J){var re=this.__data__,pe=re.delete(J);return this.size=re.size,pe}function $6(J){return this.__data__.get(J)}function W6(J){return this.__data__.has(J)}function Y6(J,re){var pe=this.__data__;if(pe instanceof _a){var be=pe.__data__;if(!Gu||be.length<r-1)return be.push([J,re]),this.size=++pe.size,this;pe=this.__data__=new wa(be)}return pe.set(J,re),this.size=pe.size,this}Io.prototype.clear=V6,Io.prototype.delete=z6,Io.prototype.get=$6,Io.prototype.has=W6,Io.prototype.set=Y6;
vendor: 9,241 bytes, line 179
179function Zx(J,re){var pe=ni(J),be=!pe&&Kl(J),Me=!pe&&!be&&cl(J),Le=!pe&&!be&&!Me&&pc(J),Re=pe||be||Me||Le,Ve=Re?N1(J.length,t6):[],Ue=Ve.length;for(var rt in J)(re||zi.call(J,rt))&&!(Re&&(rt=="length"||Me&&(rt=="offset"||rt=="parent")||Le&&(rt=="buffer"||rt=="byteLength"||rt=="byteOffset")||ka(rt,Ue)))&&Ve.push(rt);return Ve}function Kx(J){var re=J.length;return re?J[eE(0,re-1)]:i}function U6(J,re){return ef(br(J),Gl(re,0,J.length))}function G6(J){return ef(br(J))}function W1(J,re,pe){(pe!==i&&!Ro(J[re],pe)||pe===i&&!(re in J))&&Sa(J,re,pe)}function Ku(J,re,pe){var be=J[re];(!(zi.call(J,re)&&Ro(be,pe))||pe===i&&!(re in J))&&Sa(J,re,pe)}function V0(J,re){for(var pe=J.length;pe--;)if(Ro(J[pe][0],re))return pe;return-1}function X6(J,re,pe,be){return ol(J,function(Me,Le,Re){re(be,Me,pe(Me),Re)}),be}function Qx(J,re){return J&&oa(re,bs(re),J)}function q6(J,re){return J&&oa(re,vr(re),J)}function Sa(J,re,pe){re=="__proto__"&&R0?R0(J,re,{configurable:!0,enumerable:!0,value:pe,writable:!0}):J[re]=pe}function Y1(J,re){for(var pe=-1,be=re.length,Me=Ze(be),Le=J==null;++pe<be;)Me[pe]=Le?i:SE(J,re[pe]);return Me}function Gl(J,re,pe){return J===J&&(pe!==i&&(J=J<=pe?J:pe),re!==i&&(J=J>=re?J:re)),J}function so(J,re,pe,be,Me,Le){var Re,Ve=re&K,Ue=re&G,rt=re&q;if(pe&&(Re=Me?pe(J,be,Me,Le):pe(J)),Re!==i)return Re;if(!xn(J))return J;var ot=ni(J);if(ot){if(Re=N8(J),!Ve)return br(J,Re)}else{var lt=Us(J),bt=lt==U||lt==b;if(cl(J))return C3(J,Ve);if(lt==W||lt==M||bt&&!Me){if(Re=Ue||bt?{}:V3(J),!Ve)return Ue?M8(J,q6(Re,J)):S8(J,Qx(Re,J))}else{if(!Zi[lt])return Me?J:{};Re=j8(J,lt,Ve)}}Le||(Le=new Io);var Pt=Le.get(J);if(Pt)return Pt;Le.set(J,Re),gC(J)?J.forEach(function(zt){Re.add(so(zt,re,pe,zt,J,Le))}):fC(J)&&J.forEach(function(zt,mi){Re.set(mi,so(zt,re,pe,mi,J,Le))});var Vt=rt?Ue?uE:cE:Ue?vr:bs,li=ot?i:Vt(J);return to(li||J,function(zt,mi){li&&(mi=zt,zt=J[mi]),Ku(Re,mi,so(zt,re,pe,mi,J,Le))}),Re}function Z6(J){var re=bs(J);return function(pe){return Jx(pe,J,re)}}function Jx(J,re,pe){var be=pe.length;if(J==null)return!be;for(J=Ui(J);be--;){var Me=pe[be],Le=re[Me],Re=J[Me];if(Re===i&&!(Me in J)||!Le(Re))return!1}return!0}function e3(J,re,pe){if(typeof J!="function")throw new io(n);return sd(function(){J.apply(i,pe)},re)}function Qu(J,re,pe,be){var Me=-1,Le=w0,Re=!0,Ve=J.length,Ue=[],rt=re.length;if(!Ve)return Ue;pe&&(re=cn(re,Lr(pe))),be?(Le=L1,Re=!1):re.length>=r&&(Le=Yu,Re=!1,re=new Ul(re));e:for(;++Me<Ve;){var ot=J[Me],lt=pe==null?ot:pe(ot);if(ot=be||ot!==0?ot:0,Re&<===lt){for(var bt=rt;bt--;)if(re[bt]===lt)continue e;Ue.push(ot)}else Le(re,lt,be)||Ue.push(ot)}return Ue}var ol=T3(ra),t3=T3(G1,!0);function K6(J,re){var pe=!0;return ol(J,function(be,Me,Le){return pe=!!re(be,Me,Le),pe}),pe}function z0(J,re,pe){for(var be=-1,Me=J.length;++be<Me;){var Le=J[be],Re=re(Le);if(Re!=null&&(Ve===i?Re===Re&&!Or(Re):pe(Re,Ve)))var Ve=Re,Ue=Le}return Ue}function Q6(J,re,pe,be){var Me=J.length;for(pe=ri(pe),pe<0&&(pe=-pe>Me?0:Me+pe),be=be===i||be>Me?Me:ri(be),be<0&&(be+=Me),be=pe>be?0:bC(be);pe<be;)J[pe++]=re;return J}function i3(J,re){var pe=[];return ol(J,function(be,Me,Le){re(be,Me,Le)&&pe.push(be)}),pe}function As(J,re,pe,be,Me){var Le=-1,Re=J.length;for(pe||(pe=F8),Me||(Me=[]);++Le<Re;){var Ve=J[Le];re>0&&pe(Ve)?re>1?As(Ve,re-1,pe,be,Me):il(Me,Ve):be||(Me[Me.length]=Ve)}return Me}var U1=k3(),n3=k3(!0);function ra(J,re){return J&&U1(J,re,bs)}function G1(J,re){return J&&n3(J,re,bs)}function $0(J,re){return tl(re,function(pe){return Aa(J[pe])})}function Xl(J,re){re=ll(re,J);for(var pe=0,be=re.length;J!=null&&pe<be;)J=J[aa(re[pe++])];return pe&&pe==be?J:i}function s3(J,re,pe){var be=re(J);return ni(J)?be:il(be,pe(J))}function sr(J){return J==null?J===i?ie:z:Wl&&Wl in Ui(J)?I8(J):G8(J)}function X1(J,re){return J>re}function J6(J,re){return J!=null&&zi.call(J,re)}function e8(J,re){return J!=null&&re in Ui(J)}function t8(J,re,pe){return J>=Ys(re,pe)&&J<os(re,pe)}function q1(J,re,pe){for(var be=pe?L1:w0,Me=J[0].length,Le=J.length,Re=Le,Ve=Ze(Le),Ue=1/0,rt=[];Re--;){var ot=J[Re];Re&&re&&(ot=cn(ot,Lr(re))),Ue=Ys(ot.length,Ue),Ve[Re]=!pe&&(re||Me>=120&&ot.length>=120)?new Ul(Re&&ot):i}ot=J[0];var lt=-1,bt=Ve[0];e:for(;++lt<Me&&rt.length<Ue;){var Pt=ot[lt],Vt=re?re(Pt):Pt;if(Pt=pe||Pt!==0?Pt:0,!(bt?Yu(bt,Vt):be(rt,Vt,pe))){for(Re=Le;--Re;){var li=Ve[Re];if(!(li?Yu(li,Vt):be(J[Re],Vt,pe)))continue e}bt&&bt.push(Vt),rt.push(Pt)}}return rt}function i8(J,re,pe,be){return ra(J,function(Me,Le,Re){re(be,pe(Me),Le,Re)}),be}function Ju(J,re,pe){re=ll(re,J),J=Y3(J,re);var be=J==null?J:J[aa(oo(re))];return be==null?i:Dr(be,J,pe)}function r3(J){return Pn(J)&&sr(J)==M}function n8(J){return Pn(J)&&sr(J)==oe}function s8(J){return Pn(J)&&sr(J)==_}function ed(J,re,pe,be,Me){return J===re?!0:J==null||re==null||!Pn(J)&&!Pn(re)?J!==J&&re!==re:r8(J,re,pe,be,ed,Me)}function r8(J,re,pe,be,Me,Le){var Re=ni(J),Ve=ni(re),Ue=Re?D:Us(J),rt=Ve?D:Us(re);Ue=Ue==M?W:Ue,rt=rt==M?W:rt;var ot=Ue==W,lt=rt==W,bt=Ue==rt;if(bt&&cl(J)){if(!cl(re))return!1;Re=!0,ot=!1}if(bt&&!ot)return Le||(Le=new Io),Re||pc(J)?j3(J,re,pe,be,Me,Le):P8(J,re,Ue,pe,be,Me,Le);if(!(pe&Z)){var Pt=ot&&zi.call(J,"__wrapped__"),Vt=lt&&zi.call(re,"__wrapped__");if(Pt||Vt){var li=Pt?J.value():J,zt=Vt?re.value():re;return Le||(Le=new Io),Me(li,zt,pe,be,Le)}}return bt?(Le||(Le=new Io),O8(J,re,pe,be,Me,Le)):!1}function o8(J){return Pn(J)&&Us(J)==k}function Z1(J,re,pe,be){var Me=pe.length,Le=Me,Re=!be;if(J==null)return!Le;for(J=Ui(J);Me--;){var Ve=pe[Me];if(Re&&Ve[2]?Ve[1]!==J[Ve[0]]:!(Ve[0]in J))return!1}for(;++Me<Le;){Ve=pe[Me];var Ue=Ve[0],rt=J[Ue],ot=Ve[1];if(Re&&Ve[2]){if(rt===i&&!(Ue in J))return!1}else{var lt=new Io;if(be)var bt=be(rt,ot,Ue,J,re,lt);if(!(bt===i?ed(ot,rt,Z|R,be,lt):bt))return!1}}return!0}function o3(J){if(!xn(J)||z8(J))return!1;var re=Aa(J)?o6:hn;return re.test(Zl(J))}function a8(J){return Pn(J)&&sr(J)==se}function l8(J){return Pn(J)&&Us(J)==ae}function h8(J){return Pn(J)&&af(J.length)&&!!en[sr(J)]}function a3(J){return typeof J=="function"?J:J==null?xr:typeof J=="object"?ni(J)?c3(J[0],J[1]):h3(J):AC(J)}function K1(J){if(!nd(J))return d6(J);var re=[];for(var pe in Ui(J))zi.call(J,pe)&&pe!="constructor"&&re.push(pe);return re}function c8(J){if(!xn(J))return U8(J);var re=nd(J),pe=[];for(var be in J)be=="constructor"&&(re||!zi.call(J,be))||pe.push(be);return pe}function Q1(J,re){return J<re}function l3(J,re){var pe=-1,be=yr(J)?Ze(J.length):[];return ol(J,function(Me,Le,Re){be[++pe]=re(Me,Le,Re)}),be}function h3(J){var re=pE(J);return re.length==1&&re[0][2]?$3(re[0][0],re[0][1]):function(pe){return pe===J||Z1(pe,J,re)}}function c3(J,re){return mE(J)&&z3(re)?$3(aa(J),re):function(pe){var be=SE(pe,J);return be===i&&be===re?ME(pe,J):ed(re,be,Z|R)}}function W0(J,re,pe,be,Me){J!==re&&U1(re,function(Le,Re){if(Me||(Me=new Io),xn(Le))u8(J,re,Re,pe,W0,be,Me);else{var Ve=be?be(EE(J,Re),Le,Re+"",J,re,Me):i;Ve===i&&(Ve=Le),W1(J,Re,Ve)}},vr)}function u8(J,re,pe,be,Me,Le,Re){var Ve=EE(J,pe),Ue=EE(re,pe),rt=Re.get(Ue);if(rt){W1(J,pe,rt);return}var ot=Le?Le(Ve,Ue,pe+"",J,re,Re):i,lt=ot===i;if(lt){var bt=ni(Ue),Pt=!bt&&cl(Ue),Vt=!bt&&!Pt&&pc(Ue);ot=Ue,bt||Pt||Vt?ni(Ve)?ot=Ve:Vn(Ve)?ot=br(Ve):Pt?(lt=!1,ot=C3(Ue,!0)):Vt?(lt=!1,ot=_3(Ue,!0)):ot=[]:rd(Ue)||Kl(Ue)?(ot=Ve,Kl(Ve)?ot=yC(Ve):(!xn(Ve)||Aa(Ve))&&(ot=V3(Ue))):lt=!1}lt&&(Re.set(Ue,ot),Me(ot,Ue,be,Le,Re),Re.delete(Ue)),W1(J,pe,ot)}function u3(J,re){var pe=J.length;if(pe)return re+=re<0?pe:0,ka(re,pe)?J[re]:i}function d3(J,re,pe){re.length?re=cn(re,function(Le){return ni(Le)?function(Re){return Xl(Re,Le.length===1?Le[0]:Le)}:Le}):re=[xr];var be=-1;re=cn(re,Lr(jt()));var Me=l3(J,function(Le,Re,Ve){var Ue=cn(re,function(rt){return rt(Le)});return{criteria:Ue,index:++be,value:Le}});return jD(Me,function(Le,Re){return w8(Le,Re,pe)})}function d8(J,re){return p3(J,re,function(pe,be){return ME(J,be)})}function p3(J,re,pe){for(var be=-1,Me=re.length,Le={};++be<Me;){var Re=re[be],Ve=Xl(J,Re);pe(Ve,Re)&&td(Le,ll(Re,J),Ve)}return Le}function p8(J){return function(re){return Xl(re,J)}}function J1(J,re,pe,be){var Me=be?ND:nc,Le=-1,Re=re.length,Ve=J;for(J===re&&(re=br(re)),pe&&(Ve=cn(J,Lr(pe)));++Le<Re;)for(var Ue=0,rt=re[Le],ot=pe?pe(rt):rt;(Ue=Me(Ve,ot,Ue,be))>-1;)Ve!==J&&I0.call(Ve,Ue,1),I0.call(J,Ue,1);return J}function f3(J,re){for(var pe=J?re.length:0,be=pe-1;pe--;){var Me=re[pe];if(pe==be||Me!==Le){var Le=Me;ka(Me)?I0.call(J,Me,1):nE(J,Me)}}return J}function eE(J,re){return J+N0(Xx()*(re-J+1))}function f8(J,re,pe,be){for(var Me=-1,Le=os(B0((re-J)/(pe||1)),0),Re=Ze(Le);Le--;)Re[be?Le:++Me]=J,J+=pe;return Re}function tE(J,re){var pe="";if(!J||re<1||re>d)return pe;do re%2&&(pe+=J),re=N0(re/2),re&&(J+=J);while(re);return pe}function ui(J,re){return bE(W3(J,re,xr),J+"")}function m8(J){return Kx(fc(J))}function g8(J,re){var pe=fc(J);return ef(pe,Gl(re,0,pe.length))}function td(J,re,pe,be){if(!xn(J))return J;re=ll(re,J);for(var Me=-1,Le=re.length,Re=Le-1,Ve=J;Ve!=null&&++Me<Le;){var Ue=aa(re[Me]),rt=pe;if(Ue==="__proto__"||Ue==="constructor"||Ue==="prototype")return J;if(Me!=Re){var ot=Ve[Ue];rt=be?be(ot,Ue,Ve):i,rt===i&&(rt=xn(ot)?ot:ka(re[Me+1])?[]:{})}Ku(Ve,Ue,rt),Ve=Ve[Ue]}return J}var m3=j0?function(J,re){return j0.set(J,re),J}:xr,E8=R0?function(J,re){return R0(J,"toString",{configurable:!0,enumerable:!1,value:kE(re),writable:!0})}:xr;
vendor: 19,213 bytes, lines 179-181
179function b8(J){return ef(fc(J))}function ro(J,re,pe){var be=-1,Me=J.length;re<0&&(re=-re>Me?0:Me+re),pe=pe>Me?Me:pe,pe<0&&(pe+=Me),Me=re>pe?0:pe-re>>>0,re>>>=0;for(var Le=Ze(Me);++be<Me;)Le[be]=J[be+re];return Le}function y8(J,re){var pe;return ol(J,function(be,Me,Le){return pe=re(be,Me,Le),!pe}),!!pe}function Y0(J,re,pe){var be=0,Me=J==null?be:J.length;if(typeof re=="number"&&re===re&&Me<=I){for(;be<Me;){var Le=be+Me>>>1,Re=J[Le];Re!==null&&!Or(Re)&&(pe?Re<=re:Re<re)?be=Le+1:Me=Le}return Me}return iE(J,re,xr,pe)}function iE(J,re,pe,be){var Me=0,Le=J==null?0:J.length;if(Le===0)return 0;re=pe(re);for(var Re=re!==re,Ve=re===null,Ue=Or(re),rt=re===i;Me<Le;){var ot=N0((Me+Le)/2),lt=pe(J[ot]),bt=lt!==i,Pt=lt===null,Vt=lt===lt,li=Or(lt);if(Re)var zt=be||Vt;else rt?zt=Vt&&(be||bt):Ve?zt=Vt&&bt&&(be||!Pt):Ue?zt=Vt&&bt&&!Pt&&(be||!li):Pt||li?zt=!1:zt=be?lt<=re:lt<re;zt?Me=ot+1:Le=ot}return Ys(Le,y)}function g3(J,re){for(var pe=-1,be=J.length,Me=0,Le=[];++pe<be;){var Re=J[pe],Ve=re?re(Re):Re;if(!pe||!Ro(Ve,Ue)){var Ue=Ve;Le[Me++]=Re===0?0:Re}}return Le}function E3(J){return typeof J=="number"?J:Or(J)?m:+J}function Pr(J){if(typeof J=="string")return J;if(ni(J))return cn(J,Pr)+"";if(Or(J))return qx?qx.call(J):"";var re=J+"";return re=="0"&&1/J==-u?"-0":re}function al(J,re,pe){var be=-1,Me=w0,Le=J.length,Re=!0,Ve=[],Ue=Ve;if(pe)Re=!1,Me=L1;else if(Le>=r){var rt=re?null:D8(J);if(rt)return M0(rt);Re=!1,Me=Yu,Ue=new Ul}else Ue=re?[]:Ve;e:for(;++be<Le;){var ot=J[be],lt=re?re(ot):ot;if(ot=pe||ot!==0?ot:0,Re&<===lt){for(var bt=Ue.length;bt--;)if(Ue[bt]===lt)continue e;re&&Ue.push(lt),Ve.push(ot)}else Me(Ue,lt,pe)||(Ue!==Ve&&Ue.push(lt),Ve.push(ot))}return Ve}function nE(J,re){return re=ll(re,J),J=Y3(J,re),J==null||delete J[aa(oo(re))]}function b3(J,re,pe,be){return td(J,re,pe(Xl(J,re)),be)}function U0(J,re,pe,be){for(var Me=J.length,Le=be?Me:-1;(be?Le--:++Le<Me)&&re(J[Le],Le,J););return pe?ro(J,be?0:Le,be?Le+1:Me):ro(J,be?Le+1:0,be?Me:Le)}function y3(J,re){var pe=J;return pe instanceof vi&&(pe=pe.value()),P1(re,function(be,Me){return Me.func.apply(Me.thisArg,il([be],Me.args))},pe)}function sE(J,re,pe){var be=J.length;if(be<2)return be?al(J[0]):[];for(var Me=-1,Le=Ze(be);++Me<be;)for(var Re=J[Me],Ve=-1;++Ve<be;)Ve!=Me&&(Le[Me]=Qu(Le[Me]||Re,J[Ve],re,pe));return al(As(Le,1),re,pe)}function v3(J,re,pe){for(var be=-1,Me=J.length,Le=re.length,Re={};++be<Me;){var Ve=be<Le?re[be]:i;pe(Re,J[be],Ve)}return Re}function rE(J){return Vn(J)?J:[]}function oE(J){return typeof J=="function"?J:xr}function ll(J,re){return ni(J)?J:mE(J,re)?[J]:q3(Fi(J))}var v8=ui;function hl(J,re,pe){var be=J.length;return pe=pe===i?be:pe,!re&&pe>=be?J:ro(J,re,pe)}var x3=a6||function(J){return Es.clearTimeout(J)};function C3(J,re){if(re)return J.slice();var pe=J.length,be=$x?$x(pe):new J.constructor(pe);return J.copy(be),be}function aE(J){var re=new J.constructor(J.byteLength);return new P0(re).set(new P0(J)),re}function x8(J,re){var pe=re?aE(J.buffer):J.buffer;return new J.constructor(pe,J.byteOffset,J.byteLength)}function C8(J){var re=new J.constructor(J.source,Fn.exec(J));return re.lastIndex=J.lastIndex,re}function _8(J){return Zu?Ui(Zu.call(J)):{}}function _3(J,re){var pe=re?aE(J.buffer):J.buffer;return new J.constructor(pe,J.byteOffset,J.length)}function w3(J,re){if(J!==re){var pe=J!==i,be=J===null,Me=J===J,Le=Or(J),Re=re!==i,Ve=re===null,Ue=re===re,rt=Or(re);if(!Ve&&!rt&&!Le&&J>re||Le&&Re&&Ue&&!Ve&&!rt||be&&Re&&Ue||!pe&&Ue||!Me)return 1;if(!be&&!Le&&!rt&&J<re||rt&&pe&&Me&&!be&&!Le||Ve&&pe&&Me||!Re&&Me||!Ue)return-1}return 0}function w8(J,re,pe){for(var be=-1,Me=J.criteria,Le=re.criteria,Re=Me.length,Ve=pe.length;++be<Re;){var Ue=w3(Me[be],Le[be]);if(Ue){if(be>=Ve)return Ue;var rt=pe[be];return Ue*(rt=="desc"?-1:1)}}return J.index-re.index}function S3(J,re,pe,be){for(var Me=-1,Le=J.length,Re=pe.length,Ve=-1,Ue=re.length,rt=os(Le-Re,0),ot=Ze(Ue+rt),lt=!be;++Ve<Ue;)ot[Ve]=re[Ve];for(;++Me<Re;)(lt||Me<Le)&&(ot[pe[Me]]=J[Me]);for(;rt--;)ot[Ve++]=J[Me++];return ot}function M3(J,re,pe,be){for(var Me=-1,Le=J.length,Re=-1,Ve=pe.length,Ue=-1,rt=re.length,ot=os(Le-Ve,0),lt=Ze(ot+rt),bt=!be;++Me<ot;)lt[Me]=J[Me];for(var Pt=Me;++Ue<rt;)lt[Pt+Ue]=re[Ue];for(;++Re<Ve;)(bt||Me<Le)&&(lt[Pt+pe[Re]]=J[Me++]);return lt}function br(J,re){var pe=-1,be=J.length;for(re||(re=Ze(be));++pe<be;)re[pe]=J[pe];return re}function oa(J,re,pe,be){var Me=!pe;pe||(pe={});for(var Le=-1,Re=re.length;++Le<Re;){var Ve=re[Le],Ue=be?be(pe[Ve],J[Ve],Ve,pe,J):i;Ue===i&&(Ue=J[Ve]),Me?Sa(pe,Ve,Ue):Ku(pe,Ve,Ue)}return pe}function S8(J,re){return oa(J,fE(J),re)}function M8(J,re){return oa(J,H3(J),re)}function G0(J,re){return function(pe,be){var Me=ni(pe)?LD:X6,Le=re?re():{};return Me(pe,J,jt(be,2),Le)}}function cc(J){return ui(function(re,pe){var be=-1,Me=pe.length,Le=Me>1?pe[Me-1]:i,Re=Me>2?pe[2]:i;for(Le=J.length>3&&typeof Le=="function"?(Me--,Le):i,Re&&rr(pe[0],pe[1],Re)&&(Le=Me<3?i:Le,Me=1),re=Ui(re);++be<Me;){var Ve=pe[be];Ve&&J(re,Ve,be,Le)}return re})}function T3(J,re){return function(pe,be){if(pe==null)return pe;if(!yr(pe))return J(pe,be);for(var Me=pe.length,Le=re?Me:-1,Re=Ui(pe);(re?Le--:++Le<Me)&&be(Re[Le],Le,Re)!==!1;);return pe}}function k3(J){return function(re,pe,be){for(var Me=-1,Le=Ui(re),Re=be(re),Ve=Re.length;Ve--;){var Ue=Re[J?Ve:++Me];if(pe(Le[Ue],Ue,Le)===!1)break}return re}}function T8(J,re,pe){var be=re&Y,Me=id(J);function Le(){var Re=this&&this!==Es&&this instanceof Le?Me:J;return Re.apply(be?pe:this,arguments)}return Le}function A3(J){return function(re){re=Fi(re);var pe=sc(re)?Oo(re):i,be=pe?pe[0]:re.charAt(0),Me=pe?hl(pe,1).join(""):re.slice(1);return be[J]()+Me}}function uc(J){return function(re){return P1(TC(MC(re).replace(ED,"")),J,"")}}function id(J){return function(){var re=arguments;switch(re.length){case 0:return new J;case 1:return new J(re[0]);case 2:return new J(re[0],re[1]);case 3:return new J(re[0],re[1],re[2]);case 4:return new J(re[0],re[1],re[2],re[3]);case 5:return new J(re[0],re[1],re[2],re[3],re[4]);case 6:return new J(re[0],re[1],re[2],re[3],re[4],re[5]);case 7:return new J(re[0],re[1],re[2],re[3],re[4],re[5],re[6])}var pe=hc(J.prototype),be=J.apply(pe,re);return xn(be)?be:pe}}function k8(J,re,pe){var be=id(J);function Me(){for(var Le=arguments.length,Re=Ze(Le),Ve=Le,Ue=dc(Me);Ve--;)Re[Ve]=arguments[Ve];var rt=Le<3&&Re[0]!==Ue&&Re[Le-1]!==Ue?[]:nl(Re,Ue);if(Le-=rt.length,Le<pe)return I3(J,re,X0,Me.placeholder,i,Re,rt,i,i,pe-Le);var ot=this&&this!==Es&&this instanceof Me?be:J;return Dr(ot,this,Re)}return Me}function D3(J){return function(re,pe,be){var Me=Ui(re);if(!yr(re)){var Le=jt(pe,3);re=bs(re),pe=function(Ve){return Le(Me[Ve],Ve,Me)}}var Re=J(re,pe,be);return Re>-1?Me[Le?re[Re]:Re]:i}}function L3(J){return Ta(function(re){var pe=re.length,be=pe,Me=no.prototype.thru;for(J&&re.reverse();be--;){var Le=re[be];if(typeof Le!="function")throw new io(n);if(Me&&!Re&&Q0(Le)=="wrapper")var Re=new no([],!0)}for(be=Re?be:pe;++be<pe;){Le=re[be];var Ve=Q0(Le),Ue=Ve=="wrapper"?dE(Le):i;Ue&&gE(Ue[0])&&Ue[1]==(c|T|j|x)&&!Ue[4].length&&Ue[9]==1?Re=Re[Q0(Ue[0])].apply(Re,Ue[3]):Re=Le.length==1&&gE(Le)?Re[Ve]():Re.thru(Le)}return function(){var rt=arguments,ot=rt[0];if(Re&&rt.length==1&&ni(ot))return Re.plant(ot).value();for(var lt=0,bt=pe?re[lt].apply(this,rt):ot;++lt<pe;)bt=re[lt].call(this,bt);return bt}})}function X0(J,re,pe,be,Me,Le,Re,Ve,Ue,rt){var ot=re&c,lt=re&Y,bt=re&V,Pt=re&(T|L),Vt=re&N,li=bt?i:id(J);function zt(){for(var mi=arguments.length,Ci=Ze(mi),Ir=mi;Ir--;)Ci[Ir]=arguments[Ir];if(Pt)var or=dc(zt),Rr=FD(Ci,or);if(be&&(Ci=S3(Ci,be,Me,Pt)),Le&&(Ci=M3(Ci,Le,Re,Pt)),mi-=Rr,Pt&&mi<rt){var zn=nl(Ci,or);return I3(J,re,X0,zt.placeholder,pe,Ci,zn,Ve,Ue,rt-mi)}var Bo=lt?pe:this,La=bt?Bo[J]:J;return mi=Ci.length,Ve?Ci=X8(Ci,Ve):Vt&&mi>1&&Ci.reverse(),ot&&Ue<mi&&(Ci.length=Ue),this&&this!==Es&&this instanceof zt&&(La=li||id(La)),La.apply(Bo,Ci)}return zt}function P3(J,re){return function(pe,be){return i8(pe,J,re(be),{})}}function q0(J,re){return function(pe,be){var Me;if(pe===i&&be===i)return re;if(pe!==i&&(Me=pe),be!==i){if(Me===i)return be;typeof pe=="string"||typeof be=="string"?(pe=Pr(pe),be=Pr(be)):(pe=E3(pe),be=E3(be)),Me=J(pe,be)}return Me}}function lE(J){return Ta(function(re){return re=cn(re,Lr(jt())),ui(function(pe){var be=this;return J(re,function(Me){return Dr(Me,be,pe)})})})}function Z0(J,re){re=re===i?" ":Pr(re);var pe=re.length;if(pe<2)return pe?tE(re,J):re;var be=tE(re,B0(J/rc(re)));return sc(re)?hl(Oo(be),0,J).join(""):be.slice(0,J)}function A8(J,re,pe,be){var Me=re&Y,Le=id(J);function Re(){for(var Ve=-1,Ue=arguments.length,rt=-1,ot=be.length,lt=Ze(ot+Ue),bt=this&&this!==Es&&this instanceof Re?Le:J;++rt<ot;)lt[rt]=be[rt];for(;Ue--;)lt[rt++]=arguments[++Ve];return Dr(bt,Me?pe:this,lt)}return Re}function O3(J){return function(re,pe,be){return be&&typeof be!="number"&&rr(re,pe,be)&&(pe=be=i),re=Da(re),pe===i?(pe=re,re=0):pe=Da(pe),be=be===i?re<pe?1:-1:Da(be),f8(re,pe,be,J)}}function K0(J){return function(re,pe){return typeof re=="string"&&typeof pe=="string"||(re=ao(re),pe=ao(pe)),J(re,pe)}}function I3(J,re,pe,be,Me,Le,Re,Ve,Ue,rt){var ot=re&T,lt=ot?Re:i,bt=ot?i:Re,Pt=ot?Le:i,Vt=ot?i:Le;re|=ot?j:s,re&=~(ot?s:j),re&H||(re&=~(Y|V));var li=[J,re,Me,Pt,lt,Vt,bt,Ve,Ue,rt],zt=pe.apply(i,li);return gE(J)&&U3(zt,li),zt.placeholder=be,G3(zt,J,re)}function hE(J){var re=rs[J];return function(pe,be){if(pe=ao(pe),be=be==null?0:Ys(ri(be),292),be&&Gx(pe)){var Me=(Fi(pe)+"e").split("e"),Le=re(Me[0]+"e"+(+Me[1]+be));return Me=(Fi(Le)+"e").split("e"),+(Me[0]+"e"+(+Me[1]-be))}return re(pe)}}var D8=ac&&1/M0(new ac([,-0]))[1]==u?function(J){return new ac(J)}:LE;function R3(J){return function(re){var pe=Us(re);return pe==k?H1(re):pe==ae?GD(re):HD(re,J(re))}}function Ma(J,re,pe,be,Me,Le,Re,Ve){var Ue=re&V;if(!Ue&&typeof J!="function")throw new io(n);var rt=be?be.length:0;if(rt||(re&=~(j|s),be=Me=i),Re=Re===i?Re:os(ri(Re),0),Ve=Ve===i?Ve:ri(Ve),rt-=Me?Me.length:0,re&s){var ot=be,lt=Me;be=Me=i}var bt=Ue?i:dE(J),Pt=[J,re,pe,be,Me,ot,lt,Le,Re,Ve];if(bt&&Y8(Pt,bt),J=Pt[0],re=Pt[1],pe=Pt[2],be=Pt[3],Me=Pt[4],Ve=Pt[9]=Pt[9]===i?Ue?0:J.length:os(Pt[9]-rt,0),!Ve&&re&(T|L)&&(re&=~(T|L)),!re||re==Y)var Vt=T8(J,re,pe);else re==T||re==L?Vt=k8(J,re,Ve):(re==j||re==(Y|j))&&!Me.length?Vt=A8(J,re,pe,be):Vt=X0.apply(i,Pt);var li=bt?m3:U3;return G3(li(Vt,Pt),J,re)}function B3(J,re,pe,be){return J===i||Ro(J,oc[pe])&&!zi.call(be,pe)?re:J}function N3(J,re,pe,be,Me,Le){return xn(J)&&xn(re)&&(Le.set(re,J),W0(J,re,i,N3,Le),Le.delete(re)),J}function L8(J){return rd(J)?i:J}function j3(J,re,pe,be,Me,Le){var Re=pe&Z,Ve=J.length,Ue=re.length;if(Ve!=Ue&&!(Re&&Ue>Ve))return!1;var rt=Le.get(J),ot=Le.get(re);if(rt&&ot)return rt==re&&ot==J;var lt=-1,bt=!0,Pt=pe&R?new Ul:i;for(Le.set(J,re),Le.set(re,J);++lt<Ve;){var Vt=J[lt],li=re[lt];if(be)var zt=Re?be(li,Vt,lt,re,J,Le):be(Vt,li,lt,J,re,Le);if(zt!==i){if(zt)continue;bt=!1;break}if(Pt){if(!O1(re,function(mi,Ci){if(!Yu(Pt,Ci)&&(Vt===mi||Me(Vt,mi,pe,be,Le)))return Pt.push(Ci)})){bt=!1;break}}else if(!(Vt===li||Me(Vt,li,pe,be,Le))){bt=!1;break}}return Le.delete(J),Le.delete(re),bt}function P8(J,re,pe,be,Me,Le,Re){switch(pe){case le:if(J.byteLength!=re.byteLength||J.byteOffset!=re.byteOffset)return!1;J=J.buffer,re=re.buffer;case oe:return!(J.byteLength!=re.byteLength||!Le(new P0(J),new P0(re)));case X:case _:case O:return Ro(+J,+re);case A:return J.name==re.name&&J.message==re.message;case se:case he:return J==re+"";case k:var Ve=H1;case ae:var Ue=be&Z;if(Ve||(Ve=M0),J.size!=re.size&&!Ue)return!1;var rt=Re.get(J);if(rt)return rt==re;be|=R,Re.set(J,re);var ot=j3(Ve(J),Ve(re),be,Me,Le,Re);return Re.delete(J),ot;case ce:if(Zu)return Zu.call(J)==Zu.call(re)}return!1}function O8(J,re,pe,be,Me,Le){var Re=pe&Z,Ve=cE(J),Ue=Ve.length,rt=cE(re),ot=rt.length;if(Ue!=ot&&!Re)return!1;for(var lt=Ue;lt--;){var bt=Ve[lt];if(!(Re?bt in re:zi.call(re,bt)))return!1}var Pt=Le.get(J),Vt=Le.get(re);if(Pt&&Vt)return Pt==re&&Vt==J;var li=!0;Le.set(J,re),Le.set(re,J);for(var zt=Re;++lt<Ue;){bt=Ve[lt];var mi=J[bt],Ci=re[bt];if(be)var Ir=Re?be(Ci,mi,bt,re,J,Le):be(mi,Ci,bt,J,re,Le);if(!(Ir===i?mi===Ci||Me(mi,Ci,pe,be,Le):Ir)){li=!1;break}zt||(zt=bt=="constructor")}if(li&&!zt){var or=J.constructor,Rr=re.constructor;or!=Rr&&"constructor"in J&&"constructor"in re&&!(typeof or=="function"&&or instanceof or&&typeof Rr=="function"&&Rr instanceof Rr)&&(li=!1)}return Le.delete(J),Le.delete(re),li}function Ta(J){return bE(W3(J,i,J3),J+"")}function cE(J){return s3(J,bs,fE)}function uE(J){return s3(J,vr,H3)}var dE=j0?function(J){return j0.get(J)}:LE;function Q0(J){for(var re=J.name+"",pe=lc[re],be=zi.call(lc,re)?pe.length:0;be--;){var Me=pe[be],Le=Me.func;if(Le==null||Le==J)return Me.name}return re}function dc(J){var re=zi.call(De,"placeholder")?De:J;return re.placeholder}function jt(){var J=De.iteratee||AE;return J=J===AE?a3:J,arguments.length?J(arguments[0],arguments[1]):J}function J0(J,re){var pe=J.__data__;return V8(re)?pe[typeof re=="string"?"string":"hash"]:pe.map}function pE(J){for(var re=bs(J),pe=re.length;pe--;){var be=re[pe],Me=J[be];re[pe]=[be,Me,z3(Me)]}return re}function ql(J,re){var pe=WD(J,re);return o3(pe)?pe:i}function I8(J){var re=zi.call(J,Wl),pe=J[Wl];try{J[Wl]=i;var be=!0}catch{}var Me=D0.call(J);return be&&(re?J[Wl]=pe:delete J[Wl]),Me}var fE=V1?function(J){return J==null?[]:(J=Ui(J),tl(V1(J),function(re){return Yx.call(J,re)}))}:PE,H3=V1?function(J){for(var re=[];J;)il(re,fE(J)),J=O0(J);return re}:PE,Us=sr;(z1&&Us(new z1(new ArrayBuffer(1)))!=le||Gu&&Us(new Gu)!=k||$1&&Us($1.resolve())!=Q||ac&&Us(new ac)!=ae||Xu&&Us(new Xu)!=te)&&(Us=function(J){var re=sr(J),pe=re==W?J.constructor:i,be=pe?Zl(pe):"";if(be)switch(be){case g6:return le;case E6:return k;case b6:return Q;case y6:return ae;case v6:return te}return re});function R8(J,re,pe){for(var be=-1,Me=pe.length;++be<Me;){var Le=pe[be],Re=Le.size;switch(Le.type){case"drop":J+=Re;break;case"dropRight":re-=Re;break;case"take":re=Ys(re,J+Re);break;case"takeRight":J=os(J,re-Re);break}}return{start:J,end:re}}function B8(J){var re=J.match(fs);return re?re[1].split(Fs):[]}function F3(J,re,pe){re=ll(re,J);for(var be=-1,Me=re.length,Le=!1;++be<Me;){var Re=aa(re[be]);if(!(Le=J!=null&&pe(J,Re)))break;J=J[Re]}return Le||++be!=Me?Le:(Me=J==null?0:J.length,!!Me&&af(Me)&&ka(Re,Me)&&(ni(J)||Kl(J)))}function N8(J){var re=J.length,pe=new J.constructor(re);return re&&typeof J[0]=="string"&&zi.call(J,"index")&&(pe.index=J.index,pe.input=J.input),pe}function V3(J){return typeof J.constructor=="function"&&!nd(J)?hc(O0(J)):{}}function j8(J,re,pe){var be=J.constructor;switch(re){case oe:return aE(J);case X:case _:return new be(+J);case le:return x8(J,pe);case ue:case de:case fe:case me:case ge:case Ee:case ve:case ye:case Se:return _3(J,pe);case k:return new be;case O:case he:return new be(J);case se:return C8(J);case ae:return new be;case ce:return _8(J)}}function H8(J,re){var pe=re.length;if(!pe)return J;var be=pe-1;return re[be]=(pe>1?"& ":"")+re[be],re=re.join(pe>2?", ":" "),J.replace(qn,`{ 180/* [wrapped with `+re+`] */ 181`)}function F8(J){return ni(J)||Kl(J)||!!(Ux&&J&&J[Ux])}function ka(J,re){var pe=typeof J;return re=re??d,!!re&&(pe=="number"||pe!="symbol"&&Ct.test(J))&&J>-1&&J%1==0&&J<re}function rr(J,re,pe){if(!xn(pe))return!1;var be=typeof re;return(be=="number"?yr(pe)&&ka(re,pe.length):be=="string"&&re in pe)?Ro(pe[re],J):!1}function mE(J,re){if(ni(J))return!1;var pe=typeof J;return pe=="number"||pe=="symbol"||pe=="boolean"||J==null||Or(J)?!0:Ft.test(J)||!Gt.test(J)||re!=null&&J in Ui(re)}function V8(J){var re=typeof J;return re=="string"||re=="number"||re=="symbol"||re=="boolean"?J!=="__proto__":J===null}function gE(J){var re=Q0(J),pe=De[re];if(typeof pe!="function"||!(re in vi.prototype))return!1;if(J===pe)return!0;var be=dE(pe);return!!be&&J===be[0]}function z8(J){return!!zx&&zx in J}var $8=k0?Aa:OE;function nd(J){var re=J&&J.constructor,pe=typeof re=="function"&&re.prototype||oc;return J===pe}function z3(J){return J===J&&!xn(J)}function $3(J,re){return function(pe){return pe==null?!1:pe[J]===re&&(re!==i||J in Ui(pe))}}function W8(J){var re=rf(J,function(be){return pe.size===B&&pe.clear(),be}),pe=re.cache;return re}function Y8(J,re){var pe=J[1],be=re[1],Me=pe|be,Le=Me<(Y|V|c),Re=be==c&&pe==T||be==c&&pe==x&&J[7].length<=re[8]||be==(c|x)&&re[7].length<=re[8]&&pe==T;if(!(Le||Re))return J;be&Y&&(J[2]=re[2],Me|=pe&Y?0:H);var Ve=re[3];if(Ve){var Ue=J[3];J[3]=Ue?S3(Ue,Ve,re[4]):Ve,J[4]=Ue?nl(J[3],$):re[4]}return Ve=re[5],Ve&&(Ue=J[5],J[5]=Ue?M3(Ue,Ve,re[6]):Ve,J[6]=Ue?nl(J[5],$):re[6]),Ve=re[7],Ve&&(J[7]=Ve),be&c&&(J[8]=J[8]==null?re[8]:Ys(J[8],re[8])),J[9]==null&&(J[9]=re[9]),J[0]=re[0],J[1]=Me,J}function U8(J){var re=[];if(J!=null)for(var pe in Ui(J))re.push(pe);return re}function G8(J){return D0.call(J)}function W3(J,re,pe){return re=os(re===i?J.length-1:re,0),function(){for(var be=arguments,Me=-1,Le=os(be.length-re,0),Re=Ze(Le);++Me<Le;)Re[Me]=be[re+Me];Me=-1;for(var Ve=Ze(re+1);++Me<re;)Ve[Me]=be[Me];return Ve[re]=pe(Re),Dr(J,this,Ve)}}function Y3(J,re){return re.length<2?J:Xl(J,ro(re,0,-1))}function X8(J,re){for(var pe=J.length,be=Ys(re.length,pe),Me=br(J);be--;){var Le=re[be];J[be]=ka(Le,pe)?Me[Le]:i}return J}function EE(J,re){if(!(re==="constructor"&&typeof J[re]=="function")&&re!="__proto__")return J[re]}var U3=X3(m3),sd=h6||function(J,re){return Es.setTimeout(J,re)},bE=X3(E8);function G3(J,re,pe){var be=re+"";return bE(J,H8(be,q8(B8(be),pe)))}function X3(J){var re=0,pe=0;return function(){var be=p6(),Me=v-(be-pe);if(pe=be,Me>0){if(++re>=g)return arguments[0]}else re=0;return J.apply(i,arguments)}}function ef(J,re){var pe=-1,be=J.length,Me=be-1;for(re=re===i?be:re;++pe<re;){var Le=eE(pe,Me),Re=J[Le];J[Le]=J[pe],J[pe]=Re}return J.length=re,J}var q3=W8(function(J){var re=[];return J.charCodeAt(0)===46&&re.push(""),J.replace(Ii,function(pe,be,Me,Le){re.push(Me?Le.replace(Zn,"$1"):be||pe)}),re});function aa(J){if(typeof J=="string"||Or(J))return J;var re=J+"";return re=="0"&&1/J==-u?"-0":re}function Zl(J){if(J!=null){try{return A0.call(J)}catch{}try{return J+""}catch{}}return""}function q8(J,re){return to(E,function(pe){var be="_."+pe[0];re&pe[1]&&!w0(J,be)&&J.push(be)}),J.sort()}function Z3(J){if(J instanceof vi)return J.clone();var re=new no(J.__wrapped__,J.__chain__);return re.__actions__=br(J.__actions__),re.__index__=J.__index__,re.__values__=J.__values__,re}function Z8(J,re,pe){(pe?rr(J,re,pe):re===i)?re=1:re=os(ri(re),0);var be=J==null?0:J.length;if(!be||re<1)return[];for(var Me=0,Le=0,Re=Ze(B0(be/re));Me<be;)Re[Le++]=ro(J,Me,Me+=re);return Re}function K8(J){for(var re=-1,pe=J==null?0:J.length,be=0,Me=[];++re<pe;){var Le=J[re];Le&&(Me[be++]=Le)}return Me}function Q8(){var J=arguments.length;if(!J)return[];for(var re=Ze(J-1),pe=arguments[0],be=J;be--;)re[be-1]=arguments[be];return il(ni(pe)?br(pe):[pe],As(re,1))}var J8=ui(function(J,re){return Vn(J)?Qu(J,As(re,1,Vn,!0)):[]}),e7=ui(function(J,re){var pe=oo(re);return Vn(pe)&&(pe=i),Vn(J)?Qu(J,As(re,1,Vn,!0),jt(pe,2)):[]}),t7=ui(function(J,re){var pe=oo(re);return Vn(pe)&&(pe=i),Vn(J)?Qu(J,As(re,1,Vn,!0),i,pe):[]});function i7(J,re,pe){var be=J==null?0:J.length;return be?(re=pe||re===i?1:ri(re),ro(J,re<0?0:re,be)):[]}function n7(J,re,pe){var be=J==null?0:J.length;return be?(re=pe||re===i?1:ri(re),re=be-re,ro(J,0,re<0?0:re)):[]}
vendor: 12,948 bytes, line 181
181function s7(J,re){return J&&J.length?U0(J,jt(re,3),!0,!0):[]}function r7(J,re){return J&&J.length?U0(J,jt(re,3),!0):[]}function o7(J,re,pe,be){var Me=J==null?0:J.length;return Me?(pe&&typeof pe!="number"&&rr(J,re,pe)&&(pe=0,be=Me),Q6(J,re,pe,be)):[]}function K3(J,re,pe){var be=J==null?0:J.length;if(!be)return-1;var Me=pe==null?0:ri(pe);return Me<0&&(Me=os(be+Me,0)),S0(J,jt(re,3),Me)}function Q3(J,re,pe){var be=J==null?0:J.length;if(!be)return-1;var Me=be-1;return pe!==i&&(Me=ri(pe),Me=pe<0?os(be+Me,0):Ys(Me,be-1)),S0(J,jt(re,3),Me,!0)}function J3(J){var re=J==null?0:J.length;return re?As(J,1):[]}function a7(J){var re=J==null?0:J.length;return re?As(J,u):[]}function l7(J,re){var pe=J==null?0:J.length;return pe?(re=re===i?1:ri(re),As(J,re)):[]}function h7(J){for(var re=-1,pe=J==null?0:J.length,be={};++re<pe;){var Me=J[re];be[Me[0]]=Me[1]}return be}function eC(J){return J&&J.length?J[0]:i}function c7(J,re,pe){var be=J==null?0:J.length;if(!be)return-1;var Me=pe==null?0:ri(pe);return Me<0&&(Me=os(be+Me,0)),nc(J,re,Me)}function u7(J){var re=J==null?0:J.length;return re?ro(J,0,-1):[]}var d7=ui(function(J){var re=cn(J,rE);return re.length&&re[0]===J[0]?q1(re):[]}),p7=ui(function(J){var re=oo(J),pe=cn(J,rE);return re===oo(pe)?re=i:pe.pop(),pe.length&&pe[0]===J[0]?q1(pe,jt(re,2)):[]}),f7=ui(function(J){var re=oo(J),pe=cn(J,rE);return re=typeof re=="function"?re:i,re&&pe.pop(),pe.length&&pe[0]===J[0]?q1(pe,i,re):[]});function m7(J,re){return J==null?"":u6.call(J,re)}function oo(J){var re=J==null?0:J.length;return re?J[re-1]:i}function g7(J,re,pe){var be=J==null?0:J.length;if(!be)return-1;var Me=be;return pe!==i&&(Me=ri(pe),Me=Me<0?os(be+Me,0):Ys(Me,be-1)),re===re?qD(J,re,Me):S0(J,Ix,Me,!0)}function E7(J,re){return J&&J.length?u3(J,ri(re)):i}var b7=ui(tC);function tC(J,re){return J&&J.length&&re&&re.length?J1(J,re):J}function y7(J,re,pe){return J&&J.length&&re&&re.length?J1(J,re,jt(pe,2)):J}function v7(J,re,pe){return J&&J.length&&re&&re.length?J1(J,re,i,pe):J}var x7=Ta(function(J,re){var pe=J==null?0:J.length,be=Y1(J,re);return f3(J,cn(re,function(Me){return ka(Me,pe)?+Me:Me}).sort(w3)),be});function C7(J,re){var pe=[];if(!(J&&J.length))return pe;var be=-1,Me=[],Le=J.length;for(re=jt(re,3);++be<Le;){var Re=J[be];re(Re,be,J)&&(pe.push(Re),Me.push(be))}return f3(J,Me),pe}function yE(J){return J==null?J:m6.call(J)}function _7(J,re,pe){var be=J==null?0:J.length;return be?(pe&&typeof pe!="number"&&rr(J,re,pe)?(re=0,pe=be):(re=re==null?0:ri(re),pe=pe===i?be:ri(pe)),ro(J,re,pe)):[]}function w7(J,re){return Y0(J,re)}function S7(J,re,pe){return iE(J,re,jt(pe,2))}function M7(J,re){var pe=J==null?0:J.length;if(pe){var be=Y0(J,re);if(be<pe&&Ro(J[be],re))return be}return-1}function T7(J,re){return Y0(J,re,!0)}function k7(J,re,pe){return iE(J,re,jt(pe,2),!0)}function A7(J,re){var pe=J==null?0:J.length;if(pe){var be=Y0(J,re,!0)-1;if(Ro(J[be],re))return be}return-1}function D7(J){return J&&J.length?g3(J):[]}function L7(J,re){return J&&J.length?g3(J,jt(re,2)):[]}function P7(J){var re=J==null?0:J.length;return re?ro(J,1,re):[]}function O7(J,re,pe){return J&&J.length?(re=pe||re===i?1:ri(re),ro(J,0,re<0?0:re)):[]}function I7(J,re,pe){var be=J==null?0:J.length;return be?(re=pe||re===i?1:ri(re),re=be-re,ro(J,re<0?0:re,be)):[]}function R7(J,re){return J&&J.length?U0(J,jt(re,3),!1,!0):[]}function B7(J,re){return J&&J.length?U0(J,jt(re,3)):[]}var N7=ui(function(J){return al(As(J,1,Vn,!0))}),j7=ui(function(J){var re=oo(J);return Vn(re)&&(re=i),al(As(J,1,Vn,!0),jt(re,2))}),H7=ui(function(J){var re=oo(J);return re=typeof re=="function"?re:i,al(As(J,1,Vn,!0),i,re)});function F7(J){return J&&J.length?al(J):[]}function V7(J,re){return J&&J.length?al(J,jt(re,2)):[]}function z7(J,re){return re=typeof re=="function"?re:i,J&&J.length?al(J,i,re):[]}function vE(J){if(!(J&&J.length))return[];var re=0;return J=tl(J,function(pe){if(Vn(pe))return re=os(pe.length,re),!0}),N1(re,function(pe){return cn(J,I1(pe))})}function iC(J,re){if(!(J&&J.length))return[];var pe=vE(J);return re==null?pe:cn(pe,function(be){return Dr(re,i,be)})}var $7=ui(function(J,re){return Vn(J)?Qu(J,re):[]}),W7=ui(function(J){return sE(tl(J,Vn))}),Y7=ui(function(J){var re=oo(J);return Vn(re)&&(re=i),sE(tl(J,Vn),jt(re,2))}),U7=ui(function(J){var re=oo(J);return re=typeof re=="function"?re:i,sE(tl(J,Vn),i,re)}),G7=ui(vE);function X7(J,re){return v3(J||[],re||[],Ku)}function q7(J,re){return v3(J||[],re||[],td)}var Z7=ui(function(J){var re=J.length,pe=re>1?J[re-1]:i;return pe=typeof pe=="function"?(J.pop(),pe):i,iC(J,pe)});function nC(J){var re=De(J);return re.__chain__=!0,re}function K7(J,re){return re(J),J}function tf(J,re){return re(J)}var Q7=Ta(function(J){var re=J.length,pe=re?J[0]:0,be=this.__wrapped__,Me=function(Le){return Y1(Le,J)};return re>1||this.__actions__.length||!(be instanceof vi)||!ka(pe)?this.thru(Me):(be=be.slice(pe,+pe+(re?1:0)),be.__actions__.push({func:tf,args:[Me],thisArg:i}),new no(be,this.__chain__).thru(function(Le){return re&&!Le.length&&Le.push(i),Le}))});function J7(){return nC(this)}function e9(){return new no(this.value(),this.__chain__)}function t9(){this.__values__===i&&(this.__values__=EC(this.value()));var J=this.__index__>=this.__values__.length,re=J?i:this.__values__[this.__index__++];return{done:J,value:re}}function i9(){return this}function n9(J){for(var re,pe=this;pe instanceof F0;){var be=Z3(pe);be.__index__=0,be.__values__=i,re?Me.__wrapped__=be:re=be;var Me=be;pe=pe.__wrapped__}return Me.__wrapped__=J,re}function s9(){var J=this.__wrapped__;if(J instanceof vi){var re=J;return this.__actions__.length&&(re=new vi(this)),re=re.reverse(),re.__actions__.push({func:tf,args:[yE],thisArg:i}),new no(re,this.__chain__)}return this.thru(yE)}function r9(){return y3(this.__wrapped__,this.__actions__)}var o9=G0(function(J,re,pe){zi.call(J,pe)?++J[pe]:Sa(J,pe,1)});function a9(J,re,pe){var be=ni(J)?Px:K6;return pe&&rr(J,re,pe)&&(re=i),be(J,jt(re,3))}function l9(J,re){var pe=ni(J)?tl:i3;return pe(J,jt(re,3))}var h9=D3(K3),c9=D3(Q3);function u9(J,re){return As(nf(J,re),1)}function d9(J,re){return As(nf(J,re),u)}function p9(J,re,pe){return pe=pe===i?1:ri(pe),As(nf(J,re),pe)}function sC(J,re){var pe=ni(J)?to:ol;return pe(J,jt(re,3))}function rC(J,re){var pe=ni(J)?PD:t3;return pe(J,jt(re,3))}var f9=G0(function(J,re,pe){zi.call(J,pe)?J[pe].push(re):Sa(J,pe,[re])});function m9(J,re,pe,be){J=yr(J)?J:fc(J),pe=pe&&!be?ri(pe):0;var Me=J.length;return pe<0&&(pe=os(Me+pe,0)),lf(J)?pe<=Me&&J.indexOf(re,pe)>-1:!!Me&&nc(J,re,pe)>-1}var g9=ui(function(J,re,pe){var be=-1,Me=typeof re=="function",Le=yr(J)?Ze(J.length):[];return ol(J,function(Re){Le[++be]=Me?Dr(re,Re,pe):Ju(Re,re,pe)}),Le}),E9=G0(function(J,re,pe){Sa(J,pe,re)});function nf(J,re){var pe=ni(J)?cn:l3;return pe(J,jt(re,3))}function b9(J,re,pe,be){return J==null?[]:(ni(re)||(re=re==null?[]:[re]),pe=be?i:pe,ni(pe)||(pe=pe==null?[]:[pe]),d3(J,re,pe))}var y9=G0(function(J,re,pe){J[pe?0:1].push(re)},function(){return[[],[]]});function v9(J,re,pe){var be=ni(J)?P1:Bx,Me=arguments.length<3;return be(J,jt(re,4),pe,Me,ol)}function x9(J,re,pe){var be=ni(J)?OD:Bx,Me=arguments.length<3;return be(J,jt(re,4),pe,Me,t3)}function C9(J,re){var pe=ni(J)?tl:i3;return pe(J,of(jt(re,3)))}function _9(J){var re=ni(J)?Kx:m8;return re(J)}function w9(J,re,pe){(pe?rr(J,re,pe):re===i)?re=1:re=ri(re);var be=ni(J)?U6:g8;return be(J,re)}function S9(J){var re=ni(J)?G6:b8;return re(J)}function M9(J){if(J==null)return 0;if(yr(J))return lf(J)?rc(J):J.length;var re=Us(J);return re==k||re==ae?J.size:K1(J).length}function T9(J,re,pe){var be=ni(J)?O1:y8;return pe&&rr(J,re,pe)&&(re=i),be(J,jt(re,3))}var k9=ui(function(J,re){if(J==null)return[];var pe=re.length;return pe>1&&rr(J,re[0],re[1])?re=[]:pe>2&&rr(re[0],re[1],re[2])&&(re=[re[0]]),d3(J,As(re,1),[])}),sf=l6||function(){return Es.Date.now()};function A9(J,re){if(typeof re!="function")throw new io(n);return J=ri(J),function(){if(--J<1)return re.apply(this,arguments)}}function oC(J,re,pe){return re=pe?i:re,re=J&&re==null?J.length:re,Ma(J,c,i,i,i,i,re)}function aC(J,re){var pe;if(typeof re!="function")throw new io(n);return J=ri(J),function(){return--J>0&&(pe=re.apply(this,arguments)),J<=1&&(re=i),pe}}var xE=ui(function(J,re,pe){var be=Y;if(pe.length){var Me=nl(pe,dc(xE));be|=j}return Ma(J,be,re,pe,Me)}),lC=ui(function(J,re,pe){var be=Y|V;if(pe.length){var Me=nl(pe,dc(lC));be|=j}return Ma(re,be,J,pe,Me)});function hC(J,re,pe){re=pe?i:re;var be=Ma(J,T,i,i,i,i,i,re);return be.placeholder=hC.placeholder,be}function cC(J,re,pe){re=pe?i:re;var be=Ma(J,L,i,i,i,i,i,re);return be.placeholder=cC.placeholder,be}function uC(J,re,pe){var be,Me,Le,Re,Ve,Ue,rt=0,ot=!1,lt=!1,bt=!0;if(typeof J!="function")throw new io(n);re=ao(re)||0,xn(pe)&&(ot=!!pe.leading,lt="maxWait"in pe,Le=lt?os(ao(pe.maxWait)||0,re):Le,bt="trailing"in pe?!!pe.trailing:bt);function Pt(zn){var Bo=be,La=Me;return be=Me=i,rt=zn,Re=J.apply(La,Bo),Re}function Vt(zn){return rt=zn,Ve=sd(mi,re),ot?Pt(zn):Re}function li(zn){var Bo=zn-Ue,La=zn-rt,DC=re-Bo;return lt?Ys(DC,Le-La):DC}function zt(zn){var Bo=zn-Ue,La=zn-rt;return Ue===i||Bo>=re||Bo<0||lt&&La>=Le}function mi(){var zn=sf();if(zt(zn))return Ci(zn);Ve=sd(mi,li(zn))}function Ci(zn){return Ve=i,bt&&be?Pt(zn):(be=Me=i,Re)}function Ir(){Ve!==i&&x3(Ve),rt=0,be=Ue=Me=Ve=i}function or(){return Ve===i?Re:Ci(sf())}function Rr(){var zn=sf(),Bo=zt(zn);if(be=arguments,Me=this,Ue=zn,Bo){if(Ve===i)return Vt(Ue);if(lt)return x3(Ve),Ve=sd(mi,re),Pt(Ue)}return Ve===i&&(Ve=sd(mi,re)),Re}return Rr.cancel=Ir,Rr.flush=or,Rr}var D9=ui(function(J,re){return e3(J,1,re)}),L9=ui(function(J,re,pe){return e3(J,ao(re)||0,pe)});function P9(J){return Ma(J,N)}function rf(J,re){if(typeof J!="function"||re!=null&&typeof re!="function")throw new io(n);var pe=function(){var be=arguments,Me=re?re.apply(this,be):be[0],Le=pe.cache;if(Le.has(Me))return Le.get(Me);var Re=J.apply(this,be);return pe.cache=Le.set(Me,Re)||Le,Re};return pe.cache=new(rf.Cache||wa),pe}rf.Cache=wa;function of(J){if(typeof J!="function")throw new io(n);return function(){var re=arguments;switch(re.length){case 0:return!J.call(this);case 1:return!J.call(this,re[0]);case 2:return!J.call(this,re[0],re[1]);case 3:return!J.call(this,re[0],re[1],re[2])}return!J.apply(this,re)}}function O9(J){return aC(2,J)}var I9=v8(function(J,re){re=re.length==1&&ni(re[0])?cn(re[0],Lr(jt())):cn(As(re,1),Lr(jt()));var pe=re.length;return ui(function(be){for(var Me=-1,Le=Ys(be.length,pe);++Me<Le;)be[Me]=re[Me].call(this,be[Me]);return Dr(J,this,be)})}),CE=ui(function(J,re){var pe=nl(re,dc(CE));return Ma(J,j,i,re,pe)}),dC=ui(function(J,re){var pe=nl(re,dc(dC));return Ma(J,s,i,re,pe)}),R9=Ta(function(J,re){return Ma(J,x,i,i,i,re)});function B9(J,re){if(typeof J!="function")throw new io(n);return re=re===i?re:ri(re),ui(J,re)}function N9(J,re){if(typeof J!="function")throw new io(n);return re=re==null?0:os(ri(re),0),ui(function(pe){var be=pe[re],Me=hl(pe,0,re);return be&&il(Me,be),Dr(J,this,Me)})}function j9(J,re,pe){var be=!0,Me=!0;if(typeof J!="function")throw new io(n);return xn(pe)&&(be="leading"in pe?!!pe.leading:be,Me="trailing"in pe?!!pe.trailing:Me),uC(J,re,{leading:be,maxWait:re,trailing:Me})}function H9(J){return oC(J,1)}function F9(J,re){return CE(oE(re),J)}function V9(){if(!arguments.length)return[];var J=arguments[0];return ni(J)?J:[J]}function z9(J){return so(J,q)}function $9(J,re){return re=typeof re=="function"?re:i,so(J,q,re)}function W9(J){return so(J,K|q)}function Y9(J,re){return re=typeof re=="function"?re:i,so(J,K|q,re)}function U9(J,re){return re==null||Jx(J,re,bs(re))}function Ro(J,re){return J===re||J!==J&&re!==re}var G9=K0(X1),X9=K0(function(J,re){return J>=re}),Kl=r3(function(){return arguments}())?r3:function(J){return Pn(J)&&zi.call(J,"callee")&&!Yx.call(J,"callee")},ni=Ze.isArray,q9=Mx?Lr(Mx):n8;function yr(J){return J!=null&&af(J.length)&&!Aa(J)}function Vn(J){return Pn(J)&&yr(J)}function Z9(J){return J===!0||J===!1||Pn(J)&&sr(J)==X}var cl=c6||OE,K9=Tx?Lr(Tx):s8;function Q9(J){return Pn(J)&&J.nodeType===1&&!rd(J)}function J9(J){if(J==null)return!0;if(yr(J)&&(ni(J)||typeof J=="string"||typeof J.splice=="function"||cl(J)||pc(J)||Kl(J)))return!J.length;var re=Us(J);if(re==k||re==ae)return!J.size;if(nd(J))return!K1(J).length;for(var pe in J)if(zi.call(J,pe))return!1;return!0}function eL(J,re){return ed(J,re)}function tL(J,re,pe){pe=typeof pe=="function"?pe:i;var be=pe?pe(J,re):i;return be===i?ed(J,re,i,pe):!!be}function _E(J){if(!Pn(J))return!1;var re=sr(J);return re==A||re==w||typeof J.message=="string"&&typeof J.name=="string"&&!rd(J)}function iL(J){return typeof J=="number"&&Gx(J)}function Aa(J){if(!xn(J))return!1;var re=sr(J);return re==U||re==b||re==F||re==ee}function pC(J){return typeof J=="number"&&J==ri(J)}function af(J){return typeof J=="number"&&J>-1&&J%1==0&&J<=d}function xn(J){var re=typeof J;return J!=null&&(re=="object"||re=="function")}function Pn(J){return J!=null&&typeof J=="object"}var fC=kx?Lr(kx):o8;function nL(J,re){return J===re||Z1(J,re,pE(re))}
vendor: 4,814 bytes, line 181
181function sL(J,re,pe){return pe=typeof pe=="function"?pe:i,Z1(J,re,pE(re),pe)}function rL(J){return mC(J)&&J!=+J}function oL(J){if($8(J))throw new ei(t);return o3(J)}function aL(J){return J===null}function lL(J){return J==null}function mC(J){return typeof J=="number"||Pn(J)&&sr(J)==O}function rd(J){if(!Pn(J)||sr(J)!=W)return!1;var re=O0(J);if(re===null)return!0;var pe=zi.call(re,"constructor")&&re.constructor;return typeof pe=="function"&&pe instanceof pe&&A0.call(pe)==s6}var wE=Ax?Lr(Ax):a8;function hL(J){return pC(J)&&J>=-d&&J<=d}var gC=Dx?Lr(Dx):l8;function lf(J){return typeof J=="string"||!ni(J)&&Pn(J)&&sr(J)==he}function Or(J){return typeof J=="symbol"||Pn(J)&&sr(J)==ce}var pc=Lx?Lr(Lx):h8;function cL(J){return J===i}function uL(J){return Pn(J)&&Us(J)==te}function dL(J){return Pn(J)&&sr(J)==ne}var pL=K0(Q1),fL=K0(function(J,re){return J<=re});function EC(J){if(!J)return[];if(yr(J))return lf(J)?Oo(J):br(J);if(Uu&&J[Uu])return UD(J[Uu]());var re=Us(J),pe=re==k?H1:re==ae?M0:fc;return pe(J)}function Da(J){if(!J)return J===0?J:0;if(J=ao(J),J===u||J===-u){var re=J<0?-1:1;return re*h}return J===J?J:0}function ri(J){var re=Da(J),pe=re%1;return re===re?pe?re-pe:re:0}function bC(J){return J?Gl(ri(J),0,f):0}function ao(J){if(typeof J=="number")return J;if(Or(J))return m;if(xn(J)){var re=typeof J.valueOf=="function"?J.valueOf():J;J=xn(re)?re+"":re}if(typeof J!="string")return J===0?J:+J;J=Nx(J);var pe=$s.test(J);return pe||vn.test(J)?AD(J.slice(2),pe?2:8):Kn.test(J)?m:+J}function yC(J){return oa(J,vr(J))}function mL(J){return J?Gl(ri(J),-d,d):J===0?J:0}function Fi(J){return J==null?"":Pr(J)}var gL=cc(function(J,re){if(nd(re)||yr(re)){oa(re,bs(re),J);return}for(var pe in re)zi.call(re,pe)&&Ku(J,pe,re[pe])}),vC=cc(function(J,re){oa(re,vr(re),J)}),hf=cc(function(J,re,pe,be){oa(re,vr(re),J,be)}),EL=cc(function(J,re,pe,be){oa(re,bs(re),J,be)}),bL=Ta(Y1);function yL(J,re){var pe=hc(J);return re==null?pe:Qx(pe,re)}var vL=ui(function(J,re){J=Ui(J);var pe=-1,be=re.length,Me=be>2?re[2]:i;for(Me&&rr(re[0],re[1],Me)&&(be=1);++pe<be;)for(var Le=re[pe],Re=vr(Le),Ve=-1,Ue=Re.length;++Ve<Ue;){var rt=Re[Ve],ot=J[rt];(ot===i||Ro(ot,oc[rt])&&!zi.call(J,rt))&&(J[rt]=Le[rt])}return J}),xL=ui(function(J){return J.push(i,N3),Dr(xC,i,J)});function CL(J,re){return Ox(J,jt(re,3),ra)}function _L(J,re){return Ox(J,jt(re,3),G1)}function wL(J,re){return J==null?J:U1(J,jt(re,3),vr)}function SL(J,re){return J==null?J:n3(J,jt(re,3),vr)}function ML(J,re){return J&&ra(J,jt(re,3))}function TL(J,re){return J&&G1(J,jt(re,3))}function kL(J){return J==null?[]:$0(J,bs(J))}function AL(J){return J==null?[]:$0(J,vr(J))}function SE(J,re,pe){var be=J==null?i:Xl(J,re);return be===i?pe:be}function DL(J,re){return J!=null&&F3(J,re,J6)}function ME(J,re){return J!=null&&F3(J,re,e8)}var LL=P3(function(J,re,pe){re!=null&&typeof re.toString!="function"&&(re=D0.call(re)),J[re]=pe},kE(xr)),PL=P3(function(J,re,pe){re!=null&&typeof re.toString!="function"&&(re=D0.call(re)),zi.call(J,re)?J[re].push(pe):J[re]=[pe]},jt),OL=ui(Ju);function bs(J){return yr(J)?Zx(J):K1(J)}function vr(J){return yr(J)?Zx(J,!0):c8(J)}function IL(J,re){var pe={};return re=jt(re,3),ra(J,function(be,Me,Le){Sa(pe,re(be,Me,Le),be)}),pe}function RL(J,re){var pe={};return re=jt(re,3),ra(J,function(be,Me,Le){Sa(pe,Me,re(be,Me,Le))}),pe}var BL=cc(function(J,re,pe){W0(J,re,pe)}),xC=cc(function(J,re,pe,be){W0(J,re,pe,be)}),NL=Ta(function(J,re){var pe={};if(J==null)return pe;var be=!1;re=cn(re,function(Le){return Le=ll(Le,J),be||(be=Le.length>1),Le}),oa(J,uE(J),pe),be&&(pe=so(pe,K|G|q,L8));for(var Me=re.length;Me--;)nE(pe,re[Me]);return pe});function jL(J,re){return CC(J,of(jt(re)))}var HL=Ta(function(J,re){return J==null?{}:d8(J,re)});function CC(J,re){if(J==null)return{};var pe=cn(uE(J),function(be){return[be]});return re=jt(re),p3(J,pe,function(be,Me){return re(be,Me[0])})}function FL(J,re,pe){re=ll(re,J);var be=-1,Me=re.length;for(Me||(Me=1,J=i);++be<Me;){var Le=J==null?i:J[aa(re[be])];Le===i&&(be=Me,Le=pe),J=Aa(Le)?Le.call(J):Le}return J}function VL(J,re,pe){return J==null?J:td(J,re,pe)}function zL(J,re,pe,be){return be=typeof be=="function"?be:i,J==null?J:td(J,re,pe,be)}var _C=R3(bs),wC=R3(vr);function $L(J,re,pe){var be=ni(J),Me=be||cl(J)||pc(J);if(re=jt(re,4),pe==null){var Le=J&&J.constructor;Me?pe=be?new Le:[]:xn(J)?pe=Aa(Le)?hc(O0(J)):{}:pe={}}return(Me?to:ra)(J,function(Re,Ve,Ue){return re(pe,Re,Ve,Ue)}),pe}function WL(J,re){return J==null?!0:nE(J,re)}function YL(J,re,pe){return J==null?J:b3(J,re,oE(pe))}function UL(J,re,pe,be){return be=typeof be=="function"?be:i,J==null?J:b3(J,re,oE(pe),be)}function fc(J){return J==null?[]:j1(J,bs(J))}function GL(J){return J==null?[]:j1(J,vr(J))}function XL(J,re,pe){return pe===i&&(pe=re,re=i),pe!==i&&(pe=ao(pe),pe=pe===pe?pe:0),re!==i&&(re=ao(re),re=re===re?re:0),Gl(ao(J),re,pe)}
vendor: 4,149 bytes, lines 181-198
181function qL(J,re,pe){return re=Da(re),pe===i?(pe=re,re=0):pe=Da(pe),J=ao(J),t8(J,re,pe)}function ZL(J,re,pe){if(pe&&typeof pe!="boolean"&&rr(J,re,pe)&&(re=pe=i),pe===i&&(typeof re=="boolean"?(pe=re,re=i):typeof J=="boolean"&&(pe=J,J=i)),J===i&&re===i?(J=0,re=1):(J=Da(J),re===i?(re=J,J=0):re=Da(re)),J>re){var be=J;J=re,re=be}if(pe||J%1||re%1){var Me=Xx();return Ys(J+Me*(re-J+kD("1e-"+((Me+"").length-1))),re)}return eE(J,re)}var KL=uc(function(J,re,pe){return re=re.toLowerCase(),J+(pe?SC(re):re)});function SC(J){return TE(Fi(J).toLowerCase())}function MC(J){return J=Fi(J),J&&J.replace(Fe,VD).replace(bD,"")}function QL(J,re,pe){J=Fi(J),re=Pr(re);var be=J.length;pe=pe===i?be:Gl(ri(pe),0,be);var Me=pe;return pe-=re.length,pe>=0&&J.slice(pe,Me)==re}function JL(J){return J=Fi(J),J&&Xe.test(J)?J.replace(He,zD):J}function eP(J){return J=Fi(J),J&&Lt.test(J)?J.replace(mt,"\\$&"):J}var tP=uc(function(J,re,pe){return J+(pe?"-":"")+re.toLowerCase()}),iP=uc(function(J,re,pe){return J+(pe?" ":"")+re.toLowerCase()}),nP=A3("toLowerCase");function sP(J,re,pe){J=Fi(J),re=ri(re);var be=re?rc(J):0;if(!re||be>=re)return J;var Me=(re-be)/2;return Z0(N0(Me),pe)+J+Z0(B0(Me),pe)}function rP(J,re,pe){J=Fi(J),re=ri(re);var be=re?rc(J):0;return re&&be<re?J+Z0(re-be,pe):J}function oP(J,re,pe){J=Fi(J),re=ri(re);var be=re?rc(J):0;return re&&be<re?Z0(re-be,pe)+J:J}function aP(J,re,pe){return pe||re==null?re=0:re&&(re=+re),f6(Fi(J).replace(Kt,""),re||0)}function lP(J,re,pe){return(pe?rr(J,re,pe):re===i)?re=1:re=ri(re),tE(Fi(J),re)}function hP(){var J=arguments,re=Fi(J[0]);return J.length<3?re:re.replace(J[1],J[2])}var cP=uc(function(J,re,pe){return J+(pe?"_":"")+re.toLowerCase()});function uP(J,re,pe){return pe&&typeof pe!="number"&&rr(J,re,pe)&&(re=pe=i),pe=pe===i?f:pe>>>0,pe?(J=Fi(J),J&&(typeof re=="string"||re!=null&&!wE(re))&&(re=Pr(re),!re&&sc(J))?hl(Oo(J),0,pe):J.split(re,pe)):[]}var dP=uc(function(J,re,pe){return J+(pe?" ":"")+TE(re)});function pP(J,re,pe){return J=Fi(J),pe=pe==null?0:Gl(ri(pe),0,J.length),re=Pr(re),J.slice(pe,pe+re.length)==re}function fP(J,re,pe){var be=De.templateSettings;pe&&rr(J,re,pe)&&(re=i),J=Fi(J),re=hf({},re,be,B3);var Me=hf({},re.imports,be.imports,B3),Le=bs(Me),Re=j1(Me,Le),Ve,Ue,rt=0,ot=re.interpolate||ut,lt="__p += '",bt=F1((re.escape||ut).source+"|"+ot.source+"|"+(ot===vt?yn:ut).source+"|"+(re.evaluate||ut).source+"|$","g"),Pt="//# sourceURL="+(zi.call(re,"sourceURL")?(re.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_D+"]")+` 182`;J.replace(bt,function(zt,mi,Ci,Ir,or,Rr){return Ci||(Ci=Ir),lt+=J.slice(rt,Rr).replace(Mt,$D),mi&&(Ve=!0,lt+=`' + 183__e(`+mi+`) + 184'`),or&&(Ue=!0,lt+=`'; 185`+or+`; 186__p += '`),Ci&&(lt+=`' + 187((__t = (`+Ci+`)) == null ? '' : __t) + 188'`),rt=Rr+zt.length,zt}),lt+=`'; 189`;var Vt=zi.call(re,"variable")&&re.variable;if(!Vt)lt=`with (obj) { 190`+lt+` 191} 192`;else if(zs.test(Vt))throw new ei(l);lt=(Ue?lt.replace(xe,""):lt).replace(Ce,"$1").replace(Oe,"$1;"),lt="function("+(Vt||"obj")+`) { 193`+(Vt?"":`obj || (obj = {}); 194`)+"var __t, __p = ''"+(Ve?", __e = _.escape":"")+(Ue?`, __j = Array.prototype.join; 195function print() { __p += __j.call(arguments, '') } 196`:`; 197`)+lt+`return __p 198}`;var li=kC(function(){return ji(Le,Pt+"return "+lt).apply(i,Re)});if(li.source=lt,_E(li))throw li;return li}function mP(J){return Fi(J).toLowerCase()}function gP(J){return Fi(J).toUpperCase()}function EP(J,re,pe){if(J=Fi(J),J&&(pe||re===i))return Nx(J);if(!J||!(re=Pr(re)))return J;var be=Oo(J),Me=Oo(re),Le=jx(be,Me),Re=Hx(be,Me)+1;return hl(be,Le,Re).join("")}function bP(J,re,pe){if(J=Fi(J),J&&(pe||re===i))return J.slice(0,Vx(J)+1);if(!J||!(re=Pr(re)))return J;var be=Oo(J),Me=Hx(be,Oo(re))+1;return hl(be,0,Me).join("")}function yP(J,re,pe){if(J=Fi(J),J&&(pe||re===i))return J.replace(Kt,"");if(!J||!(re=Pr(re)))return J;var be=Oo(J),Me=jx(be,Oo(re));return hl(be,Me).join("")}function vP(J,re){var pe=P,be=S;if(xn(re)){var Me="separator"in re?re.separator:Me;pe="length"in re?ri(re.length):pe,be="omission"in re?Pr(re.omission):be}J=Fi(J);var Le=J.length;if(sc(J)){var Re=Oo(J);Le=Re.length}if(pe>=Le)return J;var Ve=pe-rc(be);if(Ve<1)return be;var Ue=Re?hl(Re,0,Ve).join(""):J.slice(0,Ve);
vendor: 4,321 bytes, line 198
198if(Me===i)return Ue+be;if(Re&&(Ve+=Ue.length-Ve),wE(Me)){if(J.slice(Ve).search(Me)){var rt,ot=Ue;for(Me.global||(Me=F1(Me.source,Fi(Fn.exec(Me))+"g")),Me.lastIndex=0;rt=Me.exec(ot);)var lt=rt.index;Ue=Ue.slice(0,lt===i?Ve:lt)}}else if(J.indexOf(Pr(Me),Ve)!=Ve){var bt=Ue.lastIndexOf(Me);bt>-1&&(Ue=Ue.slice(0,bt))}return Ue+be}function xP(J){return J=Fi(J),J&&Je.test(J)?J.replace(Pe,ZD):J}var CP=uc(function(J,re,pe){return J+(pe?" ":"")+re.toUpperCase()}),TE=A3("toUpperCase");function TC(J,re,pe){return J=Fi(J),re=pe?i:re,re===i?YD(J)?JD(J):BD(J):J.match(re)||[]}var kC=ui(function(J,re){try{return Dr(J,i,re)}catch(pe){return _E(pe)?pe:new ei(pe)}}),_P=Ta(function(J,re){return to(re,function(pe){pe=aa(pe),Sa(J,pe,xE(J[pe],J))}),J});function wP(J){var re=J==null?0:J.length,pe=jt();return J=re?cn(J,function(be){if(typeof be[1]!="function")throw new io(n);return[pe(be[0]),be[1]]}):[],ui(function(be){for(var Me=-1;++Me<re;){var Le=J[Me];if(Dr(Le[0],this,be))return Dr(Le[1],this,be)}})}function SP(J){return Z6(so(J,K))}function kE(J){return function(){return J}}function MP(J,re){return J==null||J!==J?re:J}var TP=L3(),kP=L3(!0);function xr(J){return J}function AE(J){return a3(typeof J=="function"?J:so(J,K))}function AP(J){return h3(so(J,K))}function DP(J,re){return c3(J,so(re,K))}var LP=ui(function(J,re){return function(pe){return Ju(pe,J,re)}}),PP=ui(function(J,re){return function(pe){return Ju(J,pe,re)}});function DE(J,re,pe){var be=bs(re),Me=$0(re,be);pe==null&&!(xn(re)&&(Me.length||!be.length))&&(pe=re,re=J,J=this,Me=$0(re,bs(re)));var Le=!(xn(pe)&&"chain"in pe)||!!pe.chain,Re=Aa(J);return to(Me,function(Ve){var Ue=re[Ve];J[Ve]=Ue,Re&&(J.prototype[Ve]=function(){var rt=this.__chain__;if(Le||rt){var ot=J(this.__wrapped__),lt=ot.__actions__=br(this.__actions__);return lt.push({func:Ue,args:arguments,thisArg:J}),ot.__chain__=rt,ot}return Ue.apply(J,il([this.value()],arguments))})}),J}function OP(){return Es._===this&&(Es._=r6),this}function LE(){}function IP(J){return J=ri(J),ui(function(re){return u3(re,J)})}var RP=lE(cn),BP=lE(Px),NP=lE(O1);function AC(J){return mE(J)?I1(aa(J)):p8(J)}function jP(J){return function(re){return J==null?i:Xl(J,re)}}var HP=O3(),FP=O3(!0);function PE(){return[]}function OE(){return!1}function VP(){return{}}function zP(){return""}function $P(){return!0}function WP(J,re){if(J=ri(J),J<1||J>d)return[];var pe=f,be=Ys(J,f);re=jt(re),J-=f;for(var Me=N1(be,re);++pe<J;)re(pe);return Me}function YP(J){return ni(J)?cn(J,aa):Or(J)?[J]:br(q3(Fi(J)))}function UP(J){var re=++n6;return Fi(J)+re}var GP=q0(function(J,re){return J+re},0),XP=hE("ceil"),qP=q0(function(J,re){return J/re},1),ZP=hE("floor");function KP(J){return J&&J.length?z0(J,xr,X1):i}function QP(J,re){return J&&J.length?z0(J,jt(re,2),X1):i}function JP(J){return Rx(J,xr)}function eO(J,re){return Rx(J,jt(re,2))}function tO(J){return J&&J.length?z0(J,xr,Q1):i}function iO(J,re){return J&&J.length?z0(J,jt(re,2),Q1):i}var nO=q0(function(J,re){return J*re},1),sO=hE("round"),rO=q0(function(J,re){return J-re},0);function oO(J){return J&&J.length?B1(J,xr):0}function aO(J,re){return J&&J.length?B1(J,jt(re,2)):0}return De.after=A9,De.ary=oC,De.assign=gL,De.assignIn=vC,De.assignInWith=hf,De.assignWith=EL,De.at=bL,De.before=aC,De.bind=xE,De.bindAll=_P,De.bindKey=lC,De.castArray=V9,De.chain=nC,De.chunk=Z8,De.compact=K8,De.concat=Q8,De.cond=wP,De.conforms=SP,De.constant=kE,De.countBy=o9,De.create=yL,De.curry=hC,De.curryRight=cC,De.debounce=uC,De.defaults=vL,De.defaultsDeep=xL,De.defer=D9,De.delay=L9,De.difference=J8,De.differenceBy=e7,De.differenceWith=t7,De.drop=i7,De.dropRight=n7,De.dropRightWhile=s7,De.dropWhile=r7,De.fill=o7,De.filter=l9,De.flatMap=u9,De.flatMapDeep=d9,De.flatMapDepth=p9,De.flatten=J3,De.flattenDeep=a7,De.flattenDepth=l7,De.flip=P9,De.flow=TP,De.flowRight=kP,De.fromPairs=h7,De.functions=kL,De.functionsIn=AL,De.groupBy=f9,De.initial=u7,De.intersection=d7,De.intersectionBy=p7,De.intersectionWith=f7,De.invert=LL,De.invertBy=PL,De.invokeMap=g9,De.iteratee=AE,De.keyBy=E9,De.keys=bs,De.keysIn=vr,De.map=nf,De.mapKeys=IL,De.mapValues=RL,De.matches=AP,De.matchesProperty=DP,De.memoize=rf,De.merge=BL,De.mergeWith=xC,De.method=LP,De.methodOf=PP,De.mixin=DE,De.negate=of,De.nthArg=IP,De.omit=NL,De.omitBy=jL,De.once=O9,De.orderBy=b9,De.over=RP,De.overArgs=I9,De.overEvery=BP,De.overS
vendor: 4,126 bytes, line 198
198ome=NP,De.partial=CE,De.partialRight=dC,De.partition=y9,De.pick=HL,De.pickBy=CC,De.property=AC,De.propertyOf=jP,De.pull=b7,De.pullAll=tC,De.pullAllBy=y7,De.pullAllWith=v7,De.pullAt=x7,De.range=HP,De.rangeRight=FP,De.rearg=R9,De.reject=C9,De.remove=C7,De.rest=B9,De.reverse=yE,De.sampleSize=w9,De.set=VL,De.setWith=zL,De.shuffle=S9,De.slice=_7,De.sortBy=k9,De.sortedUniq=D7,De.sortedUniqBy=L7,De.split=uP,De.spread=N9,De.tail=P7,De.take=O7,De.takeRight=I7,De.takeRightWhile=R7,De.takeWhile=B7,De.tap=K7,De.throttle=j9,De.thru=tf,De.toArray=EC,De.toPairs=_C,De.toPairsIn=wC,De.toPath=YP,De.toPlainObject=yC,De.transform=$L,De.unary=H9,De.union=N7,De.unionBy=j7,De.unionWith=H7,De.uniq=F7,De.uniqBy=V7,De.uniqWith=z7,De.unset=WL,De.unzip=vE,De.unzipWith=iC,De.update=YL,De.updateWith=UL,De.values=fc,De.valuesIn=GL,De.without=$7,De.words=TC,De.wrap=F9,De.xor=W7,De.xorBy=Y7,De.xorWith=U7,De.zip=G7,De.zipObject=X7,De.zipObjectDeep=q7,De.zipWith=Z7,De.entries=_C,De.entriesIn=wC,De.extend=vC,De.extendWith=hf,DE(De,De),De.add=GP,De.attempt=kC,De.camelCase=KL,De.capitalize=SC,De.ceil=XP,De.clamp=XL,De.clone=z9,De.cloneDeep=W9,De.cloneDeepWith=Y9,De.cloneWith=$9,De.conformsTo=U9,De.deburr=MC,De.defaultTo=MP,De.divide=qP,De.endsWith=QL,De.eq=Ro,De.escape=JL,De.escapeRegExp=eP,De.every=a9,De.find=h9,De.findIndex=K3,De.findKey=CL,De.findLast=c9,De.findLastIndex=Q3,De.findLastKey=_L,De.floor=ZP,De.forEach=sC,De.forEachRight=rC,De.forIn=wL,De.forInRight=SL,De.forOwn=ML,De.forOwnRight=TL,De.get=SE,De.gt=G9,De.gte=X9,De.has=DL,De.hasIn=ME,De.head=eC,De.identity=xr,De.includes=m9,De.indexOf=c7,De.inRange=qL,De.invoke=OL,De.isArguments=Kl,De.isArray=ni,De.isArrayBuffer=q9,De.isArrayLike=yr,De.isArrayLikeObject=Vn,De.isBoolean=Z9,De.isBuffer=cl,De.isDate=K9,De.isElement=Q9,De.isEmpty=J9,De.isEqual=eL,De.isEqualWith=tL,De.isError=_E,De.isFinite=iL,De.isFunction=Aa,De.isInteger=pC,De.isLength=af,De.isMap=fC,De.isMatch=nL,De.isMatchWith=sL,De.isNaN=rL,De.isNative=oL,De.isNil=lL,De.isNull=aL,De.isNumber=mC,De.isObject=xn,De.isObjectLike=Pn,De.isPlainObject=rd,De.isRegExp=wE,De.isSafeInteger=hL,De.isSet=gC,De.isString=lf,De.isSymbol=Or,De.isTypedArray=pc,De.isUndefined=cL,De.isWeakMap=uL,De.isWeakSet=dL,De.join=m7,De.kebabCase=tP,De.last=oo,De.lastIndexOf=g7,De.lowerCase=iP,De.lowerFirst=nP,De.lt=pL,De.lte=fL,De.max=KP,De.maxBy=QP,De.mean=JP,De.meanBy=eO,De.min=tO,De.minBy=iO,De.stubArray=PE,De.stubFalse=OE,De.stubObject=VP,De.stubString=zP,De.stubTrue=$P,De.multiply=nO,De.nth=E7,De.noConflict=OP,De.noop=LE,De.now=sf,De.pad=sP,De.padEnd=rP,De.padStart=oP,De.parseInt=aP,De.random=ZL,De.reduce=v9,De.reduceRight=x9,De.repeat=lP,De.replace=hP,De.result=FL,De.round=sO,De.runInContext=Ye,De.sample=_9,De.size=M9,De.snakeCase=cP,De.some=T9,De.sortedIndex=w7,De.sortedIndexBy=S7,De.sortedIndexOf=M7,De.sortedLastIndex=T7,De.sortedLastIndexBy=k7,De.sortedLastIndexOf=A7,De.startCase=dP,De.startsWith=pP,De.subtract=rO,De.sum=oO,De.sumBy=aO,De.template=fP,De.times=WP,De.toFinite=Da,De.toInteger=ri,De.toLength=bC,De.toLower=mP,De.toNumber=ao,De.toSafeInteger=mL,De.toString=Fi,De.toUpper=gP,De.trim=EP,De.trimEnd=bP,De.trimStart=yP,De.truncate=vP,De.unescape=xP,De.uniqueId=UP,De.upperCase=CP,De.upperFirst=TE,De.each=sC,De.eachRight=rC,De.first=eC,DE(De,function(){var J={};return ra(De,function(re,pe){zi.call(De.prototype,pe)||(J[pe]=re)}),J}(),{chain:!1}),De.VERSION=e,to(["bind","bindKey","curry","curryRight","partial","partialRight"],function(J){De[J].placeholder=De}),to(["drop","take"],function(J,re){vi.prototype[J]=function(pe){pe=pe===i?1:os(ri(pe),0);var be=this.__filtered__&&!re?new vi(this):this.clone();return be.__filtered__?be.__takeCount__=Ys(pe,be.__takeCount__):be.__views__.push({size:Ys(pe,f),type:J+(be.__dir__<0?"Right":"")}),be},vi.prototype[J+"Right"]=function(pe){return this.reverse()[J](pe).reverse()}}),to(["filter","map","takeWhile"],function(J,re){var pe=re+1,be=pe==p||pe==o;vi.prototype[J]=function(Me){var Le=this.clone();return Le.__iteratees__.push({iteratee:jt(Me,3),type:pe}),Le.__filtered__=Le.__filtered__||be,Le}}),to(["head","last"],function(J,re){var pe="take"+(re?"Right":"");
198vi.prototype[J]=function(){return this[pe](1).value()[0]}}),to(["initial","tail"],function(J,re){var pe="drop"+(re?"":"Right");vi.prototype[J]=function(){return this.__filtered__?new vi(this):this[pe](1)}}),vi.prototype.compact=function(){return this.filter(xr)},vi.prototype.find=function(J){return this.filter(J).head()},vi.prototype.findLast=function(J){return this.reverse().find(J)},vi.prototype.invokeMap=ui(function(J,re){return typeof J=="function"?new vi(this):this.map(function(pe){return Ju(pe,J,re)})}),vi.prototype.reject=function(J){return this.filter(of(jt(J)))},vi.prototype.slice=function(J,re){J=ri(J);var pe=this;return pe.__filtered__&&(J>0||re<0)?new vi(pe):(J<0?pe=pe.takeRight(-J):J&&(pe=pe.drop(J)),re!==i&&(re=ri(re),pe=re<0?pe.dropRight(-re):pe.take(re-J)),pe)},vi.prototype.takeRightWhile=function(J){return this.reverse().takeWhile(J).reverse()},vi.prototype.toArray=function(){return this.take(f)},ra(vi.prototype,function(J,re){var pe=/^(?:filter|find|map|reject)|While$/.test(re),be=/^(?:head|last)$/.test(re),Me=De[be?"take"+(re=="last"?"Right":""):re],Le=be||/^find/.test(re);Me&&(De.prototype[re]=function(){var Re=this.__wrapped__,Ve=be?[1]:arguments,Ue=Re instanceof vi,rt=Ve[0],ot=Ue||ni(Re),lt=function(mi){var Ci=Me.apply(De,il([mi],Ve));return be&&bt?Ci[0]:Ci};ot&&pe&&typeof rt=="function"&&rt.length!=1&&(Ue=ot=!1);var bt=this.__chain__,Pt=!!this.__actions__.length,Vt=Le&&!bt,li=Ue&&!Pt;if(!Le&&ot){Re=li?Re:new vi(this);var zt=J.apply(Re,Ve);return zt.__actions__.push({func:tf,args:[lt],thisArg:i}),new no(zt,bt)}return Vt&&li?J.apply(this,Ve):(zt=this.thru(lt),Vt?be?zt.value()[0]:zt.value():zt)})}),to(["pop","push","shift","sort","splice","unshift"],function(J){var re=T0[J],pe=/^(?:push|sort|unshift)$/.test(J)?"tap":"thru",be=/^(?:pop|shift)$/.test(J);De.prototype[J]=function(){var Me=arguments;if(be&&!this.__chain__){var Le=this.value();return re.apply(ni(Le)?Le:[],Me)}return this[pe](function(Re){return re.apply(ni(Re)?Re:[],Me)})}}),ra(vi.prototype,function(J,re){var pe=De[re];if(pe){var be=pe.name+"";zi.call(lc,be)||(lc[be]=[]),lc[be].push({name:re,func:pe})}}),lc[X0(i,V).name]=[{name:"wrapper",func:i}],vi.prototype.clone=x6,vi.prototype.reverse=C6,vi.prototype.value=_6,De.prototype.at=Q7,De.prototype.chain=J7,De.prototype.commit=e9,De.prototype.next=t9,De.prototype.plant=n9,De.prototype.reverse=s9,De.prototype.toJSON=De.prototype.valueOf=De.prototype.value=r9,De.prototype.first=De.prototype.head,Uu&&(De.prototype[Uu]=i9),De},sl=e6();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Es._=sl,define(function(){return sl})):$l?(($l.exports=sl)._=sl,A1._=sl):Es._=sl}).call(Wu)});var Ba=class extends Error{},Cf=class extends Ba{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},_f=class extends Ba{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},wf=class extends Ba{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},Na=class extends Ba{},_c=class extends Ba{constructor(e){super(`Invalid unit ${e}`)}},Cs=class extends Ba{},Fo=class extends Ba{constructor(){super("Zone is an abstract class")}};var yt="numeric",Vo="short",Hr="long",wc={year:yt,month:yt,day:yt},md={year:yt,month:Vo,day:yt},YE={year:yt,month:Vo,day:yt,weekday:Vo},gd={year:yt,month:Hr,day:yt},Ed={year:yt,month:Hr,day:yt,weekday:Hr},bd={hour:yt,minute:yt},yd={hour:yt,minute:yt,second:yt},vd={hour:yt,minute:yt,second:yt,timeZoneName:Vo},xd={hour:yt,minute:yt,second:yt,timeZoneName:Hr},Cd={hour:yt,minute:yt,hourCycle:"h23"},_d={hour:yt,minute:yt,second:yt,hourCycle:"h23"},wd={hour:yt,minute:yt,second:yt,hourCycle:"h23",timeZoneName:Vo},Sd={hour:yt,minute:yt,second:yt,hourCycle:"h23",timeZoneName:Hr},Md={year:yt,month:yt,day:yt,hour:yt,minute:yt},Td={year:yt,month:yt,day:yt,hour:yt,minute:yt,second:yt},kd={year:yt,month:Vo,day:yt,hour:yt,minute:yt},Ad={year:yt,month:Vo,day:yt,hour:yt,minute:yt,second:yt},UE={year:yt,month:Vo,day:yt,weekday:Vo,hour:yt,minute:yt},Dd={year:yt,month:Hr,day:yt,hour:yt,minute:yt,timeZoneName:Vo},Ld={year:yt,month:Hr,day:yt,hour:yt,minute:yt,second:yt,timeZoneName:Vo},Pd={year:yt,month:Hr,day:yt,weekday:Hr,hour:yt,minute:yt,timeZoneName:Hr},Od={year:yt,month:Hr,day:yt,weekday:Hr,hour:yt,minute:yt,second:yt,timeZoneName:Hr};function ci(i){return typeof i>"u"}function ha(i){return typeof i=="number"}function Id(i){return typeof i=="number"&&i%1===0}function d4(i){return typeof i=="string"}function p4(i){return Object.prototype.toString.call(i)==="[object Date]"}function Sf(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function f4(i){return Array.isArray(i)?i:[i]}function XE(i,e,r){if(i.length!==0)return i.reduce((t,n)=>{let l=[e(n),n];return t&&r(t[0],l[0])===t[0]?t:l},null)[1]}function m4(i,e){return e.reduce((r,t)=>(r[t]=i[t],r),{})}function gl(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function ca(i,e,r){return Id(i)&&i>=e&&i<=r}function lO(i,e){return i-e*Math.floor(i/e)}function Mn(i,e=2){let r=i<0,t;return r?t="-"+(""+-i).padStart(e,"0"):t=(""+i).padStart(e,"0"),t}function ja(i){if(!(ci(i)||i===null||i===""))return parseInt(i,10)}function El(i){if(!(ci(i)||i===null||i===""))return parseFloat(i)}
198function Rd(i){if(!(ci(i)||i===null||i==="")){let e=parseFloat("0."+i)*1e3;return Math.floor(e)}}function Sc(i,e,r=!1){let t=10**e;return(r?Math.trunc:Math.round)(i*t)/t}function lh(i){return i%4===0&&(i%100!==0||i%400===0)}function hh(i){return lh(i)?366:365}function Mc(i,e){let r=lO(e-1,12)+1,t=i+(e-r)/12;return r===2?lh(t)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Bd(i){let e=Date.UTC(i.year,i.month-1,i.day,i.hour,i.minute,i.second,i.millisecond);return i.year<100&&i.year>=0&&(e=new Date(e),e.setUTCFullYear(e.getUTCFullYear()-1900)),+e}function Tc(i){let e=(i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400))%7,r=i-1,t=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return e===4||t===3?53:52}function Nd(i){return i>99?i:i>60?1900+i:2e3+i}function Mf(i,e,r,t=null){let n=new Date(i),l={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};t&&(l.timeZone=t);let C=ze({timeZoneName:e},l),B=new Intl.DateTimeFormat(r,C).formatToParts(n).find($=>$.type.toLowerCase()==="timezonename");return B?B.value:null}function ch(i,e){let r=parseInt(i,10);Number.isNaN(r)&&(r=0);let t=parseInt(e,10)||0,n=r<0||Object.is(r,-0)?-t:t;return r*60+n}function qE(i){let e=Number(i);if(typeof i=="boolean"||i===""||Number.isNaN(e))throw new Cs(`Invalid unit value ${i}`);return e}function kc(i,e){let r={};for(let t in i)if(gl(i,t)){let n=i[t];if(n==null)continue;r[e(t)]=qE(n)}return r}function bl(i,e){let r=Math.trunc(Math.abs(i/60)),t=Math.trunc(Math.abs(i%60)),n=i>=0?"+":"-";switch(e){case"short":return`${n}${Mn(r,2)}:${Mn(t,2)}`;case"narrow":return`${n}${r}${t>0?`:${t}`:""}`;case"techie":return`${n}${Mn(r,2)}${Mn(t,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function jd(i){return m4(i,["hour","minute","second","millisecond"])}var ZE=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;var hO=["January","February","March","April","May","June","July","August","September","October","November","December"],KE=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cO=["J","F","M","A","M","J","J","A","S","O","N","D"];function QE(i){switch(i){case"narrow":return[...cO];case"short":return[...KE];case"long":return[...hO];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var JE=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],e2=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],uO=["M","T","W","T","F","S","S"];function t2(i){switch(i){case"narrow":return[...uO];case"short":return[...e2];case"long":return[...JE];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var i2=["AM","PM"],dO=["Before Christ","Anno Domini"],pO=["BC","AD"],fO=["B","A"];function n2(i){switch(i){case"narrow":return[...fO];case"short":return[...pO];case"long":return[...dO];default:return null}}function g4(i){return i2[i.hour<12?0:1]}function E4(i,e){return t2(e)[i.weekday-1]}function b4(i,e){return QE(e)[i.month-1]}function y4(i,e){return n2(e)[i.year<0?0:1]}function v4(i,e,r="always",t=!1){let n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},l=["hours","minutes","seconds"].indexOf(i)===-1;if(r==="auto"&&l){let q=i==="days";switch(e){case 1:return q?"tomorrow":`next ${n[i][0]}`;case-1:return q?"yesterday":`last ${n[i][0]}`;case 0:return q?"today":`this ${n[i][0]}`;default:}}let C=Object.is(e,-0)||e<0,B=Math.abs(e),$=B===1,K=n[i],G=t?$?K[1]:K[2]||K[1]:$?n[i][0]:i;return C?`${B} ${G} ago`:`in ${B} ${G}`}function x4(i,e){let r="";for(let t of i)t.literal?r+=t.val:r+=e(t.val);return r}var mO={D:wc,DD:md,DDD:gd,DDDD:Ed,t:bd,tt:yd,ttt:vd,tttt:xd,T:Cd,TT:_d,TTT:wd,TTTT:Sd,f:Md,ff:kd,fff:Dd,ffff:Pd,F:Td,FF:Ad,FFF:Ld,FFFF:Od},wr=class i{static create(e,r={}){return new i(e,r)}static parseFormat(e){let r=null,t="",n=!1,l=[];for(let C=0;C<e.length;C++){let B=e.charAt(C);B==="'"?(t.length>0&&l.push({literal:n,val:t}),r=null,t="",n=!n):n||B===r?t+=B:(t.length>0&&l.push({literal:!1,val:t}),t=B,r=B)}return t.length>0&&l.push({literal:n,val:t}),l}static macroTokenToFormatOpts(e){return mO[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem(
198)),this.systemLoc.dtFormatter(e,ze(ze({},this.opts),r)).format()}formatDateTime(e,r={}){return this.loc.dtFormatter(e,ze(ze({},this.opts),r)).format()}formatDateTimeParts(e,r={}){return this.loc.dtFormatter(e,ze(ze({},this.opts),r)).formatToParts()}resolvedOptions(e,r={}){return this.loc.dtFormatter(e,ze(ze({},this.opts),r)).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return Mn(e,r);let t=ze({},this.opts);return r>0&&(t.padTo=r),this.loc.numberFormatter(t).format(e)}formatDateTimeFromString(e,r){let t=this.loc.listingMode()==="en",n=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",l=(R,Y)=>this.loc.extract(e,R,Y),C=R=>e.isOffsetFixed&&e.offset===0&&R.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,R.format):"",B=()=>t?g4(e):l({hour:"numeric",hourCycle:"h12"},"dayperiod"),$=(R,Y)=>t?b4(e,R):l(Y?{month:R}:{month:R,day:"numeric"},"month"),K=(R,Y)=>t?E4(e,R):l(Y?{weekday:R}:{weekday:R,month:"long",day:"numeric"},"weekday"),G=R=>{let Y=i.macroTokenToFormatOpts(R);return Y?this.formatWithSystemDefault(e,Y):R},q=R=>t?y4(e,R):l({era:R},"era"),Z=R=>{switch(R){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return C({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return C({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return C({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return B();case"d":return n?l({day:"numeric"},"day"):this.num(e.day);case"dd":return n?l({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return K("short",!0);case"cccc":return K("long",!0);case"ccccc":return K("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return K("short",!1);case"EEEE":return K("long",!1);case"EEEEE":return K("narrow",!1);case"L":return n?l({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?l({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return $("short",!0);case"LLLL":return $("long",!0);case"LLLLL":return $("narrow",!0);case"M":return n?l({month:"numeric"},"month"):this.num(e.month);case"MM":return n?l({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return $("short",!1);case"MMMM":return $("long",!1);case"MMMMM":return $("narrow",!1);case"y":return n?l({year:"numeric"},"year"):this.num(e.year);case"yy":return n?l({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?l({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?l({year:"numeric"},"year"):this.num(e.year,6);case"G":return q("short");case"GG":return q("long");case"GGGGG":return q("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return G(R)}};return x4(i.parseFormat(r),Z)}formatDurationFromString(e,r){let t=$=>{switch($[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=$=>K=>{let G=t(K);return G?this.num($.get(G),K.length):K},l=i.parseFormat(r),C=l.reduce(($,{literal:K,val:G})=>K?$:$.concat(G),[]),B=e.shiftTo(...C.map(t).filter($=>$));return x4(l,n(B))}};var Ps=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}};var Fr=class{get type(){throw new Fo}get name(){throw new Fo}get ianaName(){return this.name}get isUniversal(){throw new Fo}offsetName(e,r){throw new Fo}formatOffset(e,r){throw new Fo}offset(e){throw new Fo}equals(e){throw new Fo}get isValid(){throw new Fo}};var r2=null,Hd=class i extends Fr{static get instance(){return r2===null&&(r2=new i),r2}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:t}){return Mf(e,r,t)}formatOffset(e,r){return bl(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}};var kf={};function gO(i){return kf[i]||(kf[i]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),kf[i]}var EO={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function bO(i,e){let r=i.format(e).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,n,l,C,B,$,K,G]=t;return[C,n,l,B,$,K,G]}function yO(i,e){let r=i.formatToParts(e),t=[];for(let n=0;n<r.length;n++){let{type:l,value:C}=r[n],B=EO[l];l==="era"?t[B]=C:ci(B)||(t[B]=parseInt(C,10))}return t}var Tf={},ur=class i extends Fr{static create(e){return Tf[e]||(Tf[e]=new i(e)),Tf[e]}static resetCache(){Tf={},kf={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=i.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:t}){return Mf(e,r,t,this.name)}formatOffset(e,r){return bl(this.offset(e),r)}offset(e){let r=new Date(e);if(isNaN(r))return NaN;let t=gO(this.name),[n,l,C,B,$,K,G]=t.formatToParts?yO(t,r):bO(t,r);B==="BC"&&(n=-Math.abs(n)+1);let Z=Bd({year:n,month:l,day:C,hour:$===24?0:$,minute:K,second:G,millisecond:0}),R=+r,Y=R%1e3;return R-=Y>=0?Y:1e3+Y,(Z-R)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}};var o2=null,Os=class i extends Fr{static get utcInstance(){return o2===null&&(o2=new i(0)),o2}static instance(e){return e===0?i.utcInstance:new i(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new i(ch(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${bl(this.fixed,"narrow")}`}
198get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${bl(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return bl(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}};var Fd=class extends Fr{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function zo(i,e){let r;if(ci(i)||i===null)return e;if(i instanceof Fr)return i;if(d4(i)){let t=i.toLowerCase();return t==="local"||t==="system"?e:t==="utc"||t==="gmt"?Os.utcInstance:Os.parseSpecifier(t)||ur.create(i)}else return ha(i)?Os.instance(i):typeof i=="object"&&i.offset&&typeof i.offset=="number"?i:new Fd(i)}var C4=()=>Date.now(),_4="system",w4=null,S4=null,M4=null,T4,gi=class{static get now(){return C4}static set now(e){C4=e}static set defaultZone(e){_4=e}static get defaultZone(){return zo(_4,Hd.instance)}static get defaultLocale(){return w4}static set defaultLocale(e){w4=e}static get defaultNumberingSystem(){return S4}static set defaultNumberingSystem(e){S4=e}
198static get defaultOutputCalendar(){return M4}static set defaultOutputCalendar(e){M4=e}static get throwOnInvalid(){return T4}static set throwOnInvalid(e){T4=e}static resetCaches(){fn.resetCache(),ur.resetCache()}};var k4={};function vO(i,e={}){let r=JSON.stringify([i,e]),t=k4[r];return t||(t=new Intl.ListFormat(i,e),k4[r]=t),t}var a2={};function l2(i,e={}){let r=JSON.stringify([i,e]),t=a2[r];return t||(t=new Intl.DateTimeFormat(i,e),a2[r]=t),t}var h2={};function xO(i,e={}){let r=JSON.stringify([i,e]),t=h2[r];return t||(t=new Intl.NumberFormat(i,e),h2[r]=t),t}var c2={};function CO(i,e={}){let C=e,{base:r}=C,t=Ql(C,["base"]),n=JSON.stringify([i,t]),l=c2[n];return l||(l=new Intl.RelativeTimeFormat(i,e),c2[n]=l),l}var Vd=null;function _O(){return Vd||(Vd=new Intl.DateTimeFormat().resolvedOptions().locale,Vd)}function wO(i){let e=i.indexOf("-u-");if(e===-1)return[i];{let r,t=i.substring(0,e);try{r=l2(i).resolvedOptions()}catch{r=l2(t).resolvedOptions()}let{numberingSystem:n,calendar:l}=r;return[t,n,l]}}function SO(i,e,r){return(r||e)&&(i+="-u",r&&(i+=`-ca-${r}`),e&&(i+=`-nu-${e}`)),i}function MO(i){let e=[];for(let r=1;r<=12;r++){let t=Rt.utc(2016,r,1);e.push(i(t))}return e}function TO(i){let e=[];for(let r=1;r<=7;r++){let t=Rt.utc(2016,11,13+r);e.push(i(t))}return e}function Af(i,e,r,t,n){let l=i.listingMode(r);return l==="error"?null:l==="en"?t(e):n(e)}function kO(i){return i.numberingSystem&&i.numberingSystem!=="latn"?!1:i.numberingSystem==="latn"||!i.locale||i.locale.startsWith("en")||new Intl.DateTimeFormat(i.intl).resolvedOptions().numberingSystem==="latn"}var u2=class{constructor(e,r,t){this.padTo=t.padTo||0,this.floor=t.floor||!1;let B=t,{padTo:n,floor:l}=B,C=Ql(B,["padTo","floor"]);if(!r||Object.keys(C).length>0){let $=ze({useGrouping:!1},t);t.padTo>0&&($.minimumIntegerDigits=t.padTo),this.inf=xO(e,$)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):Sc(e,3);return Mn(r,this.padTo)}}},d2=class{constructor(e,r,t){this.opts=t;let n;if(e.zone.isUniversal){let C=-1*(e.offset/60),B=C>=0?`Etc/GMT+${C}`:`Etc/GMT${C}`;e.offset!==0&&ur.create(B).valid?(n=B,this.dt=e):(n="UTC",t.timeZoneName?this.dt=e:this.dt=e.offset===0?e:Rt.fromMillis(e.ts+e.offset*60*1e3))}else e.zone.type==="system"?this.dt=e:(this.dt=e,n=e.zone.name);let l=ze({},this.opts);n&&(l.timeZone=n),this.dtf=l2(r,l)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}},p2=class{constructor(e,r,t){this.opts=ze({style:"long"},t),!r&&Sf()&&(this.rtf=CO(e,t))}format(e,r){return this.rtf?this.rtf.format(e,r):v4(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},fn=class i{static fromOpts(e){return i.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,r,t,n=!1){let l=e||gi.defaultLocale,C=l||(n?"en-US":_O()),B=r||gi.defaultNumberingSystem,$=t||gi.defaultOutputCalendar;return new i(C,B,$,l)}static resetCache(){Vd=null,a2={},h2={},c2={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:t}={}){return i.create(e,r,t)}constructor(e,r,t,n){let[l,C,B]=wO(e);this.locale=l,this.numberingSystem=r||C||null,this.outputCalendar=t||B||null,this.intl=SO(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=kO(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:i.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone(xt(ze({},e),{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(xt(ze({},e),{defaultToEN:!1}))}months(e,r=!1,t=!0){return Af(this,e,t,QE,()=>{let n=r?{month:e,day:"numeric"}:{month:e},l=r?"format":"standalone";return this.monthsCache[l][e]||(this.monthsCache[l][e]=MO(C=>this.extract(C,n,"month"))),this.monthsCache[l][e]})}weekdays(e,r=!1,t=!0){return Af(this,e,t,t2,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},l=r?"format":"standalone";return this.weekdaysCache[l][e]||(this.weekdaysCache[l][e]=TO(C=>this.extract(C,n,"weekday"))),this.weekdaysCache[l][e]})}meridiems(e=!0){return Af(this,void 0,e,()=>i2,()=>{if(!this.meridiemCache){let r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Rt.utc(2016,11,13,9),Rt.utc(2016,11,13,19)].map(t=>this.extract(t,r,"dayperiod"))}return this.meridiemCache})}eras(e,r=!0){return Af(this,e,r,n2,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Rt.utc(-40,1,1),Rt.utc(2017,1,1)].map(n=>this.extract(n,t,"era"))),this.eraCache[e]}
vendor: 4,221 bytes, line 198
198)}extract(e,r,t){let n=this.dtFormatter(e,r),l=n.formatToParts(),C=l.find(B=>B.type.toLowerCase()===t);return C?C.value:null}numberFormatter(e={}){return new u2(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new d2(e,this.intl,r)}relFormatter(e={}){return new p2(this.intl,this.isEnglish(),e)}listFormatter(e={}){return vO(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}};function Dc(...i){let e=i.reduce((r,t)=>r+t.source,"");return RegExp(`^${e}$`)}function Lc(...i){return e=>i.reduce(([r,t,n],l)=>{let[C,B,$]=l(e,n);return[ze(ze({},r),C),B||t,$]},[{},null,1]).slice(0,2)}function Pc(i,...e){if(i==null)return[null,null];for(let[r,t]of e){let n=r.exec(i);if(n)return t(n)}return[null,null]}function D4(...i){return(e,r)=>{let t={},n;for(n=0;n<i.length;n++)t[i[n]]=ja(e[r+n]);return[t,null,r+n]}}var L4=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,AO=`(?:${L4.source}?(?:\\[(${ZE.source})\\])?)?`,f2=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,P4=RegExp(`${f2.source}${AO}`),m2=RegExp(`(?:T${P4.source})?`),DO=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,LO=/(\d{4})-?W(\d\d)(?:-?(\d))?/,PO=/(\d{4})-?(\d{3})/,OO=D4("weekYear","weekNumber","weekDay"),IO=D4("year","ordinal"),RO=/(\d{4})-(\d\d)-(\d\d)/,O4=RegExp(`${f2.source} ?(?:${L4.source}|(${ZE.source}))?`),BO=RegExp(`(?: ${O4.source})?`);function Ac(i,e,r){let t=i[e];return ci(t)?r:ja(t)}function NO(i,e){return[{year:Ac(i,e),month:Ac(i,e+1,1),day:Ac(i,e+2,1)},null,e+3]}function Oc(i,e){return[{hours:Ac(i,e,0),minutes:Ac(i,e+1,0),seconds:Ac(i,e+2,0),milliseconds:Rd(i[e+3])},null,e+4]}function zd(i,e){let r=!i[e]&&!i[e+1],t=ch(i[e+1],i[e+2]),n=r?null:Os.instance(t);return[{},n,e+3]}function $d(i,e){let r=i[e]?ur.create(i[e]):null;return[{},r,e+1]}var jO=RegExp(`^T?${f2.source}$`),HO=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function FO(i){let[e,r,t,n,l,C,B,$,K]=i,G=e[0]==="-",q=$&&$[0]==="-",Z=(R,Y=!1)=>R!==void 0&&(Y||R&&G)?-R:R;return[{years:Z(El(r)),months:Z(El(t)),weeks:Z(El(n)),days:Z(El(l)),hours:Z(El(C)),minutes:Z(El(B)),seconds:Z(El($),$==="-0"),milliseconds:Z(Rd(K),q)}]}var VO={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function g2(i,e,r,t,n,l,C){let B={year:e.length===2?Nd(ja(e)):ja(e),month:KE.indexOf(r)+1,day:ja(t),hour:ja(n),minute:ja(l)};return C&&(B.second=ja(C)),i&&(B.weekday=i.length>3?JE.indexOf(i)+1:e2.indexOf(i)+1),B}var zO=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $O(i){let[,e,r,t,n,l,C,B,$,K,G,q]=i,Z=g2(e,n,t,r,l,C,B),R;return $?R=VO[$]:K?R=0:R=ch(G,q),[Z,new Os(R)]}function WO(i){return i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var YO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,UO=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,GO=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function A4(i){let[,e,r,t,n,l,C,B]=i;return[g2(e,n,t,r,l,C,B),Os.utcInstance]}function XO(i){let[,e,r,t,n,l,C,B]=i;return[g2(e,B,r,t,n,l,C),Os.utcInstance]}var qO=Dc(DO,m2),ZO=Dc(LO,m2),KO=Dc(PO,m2),QO=Dc(P4),I4=Lc(NO,Oc,zd,$d),JO=Lc(OO,Oc,zd,$d),eI=Lc(IO,Oc,zd,$d),tI=Lc(Oc,zd,$d);function R4(i){return Pc(i,[qO,I4],[ZO,JO],[KO,eI],[QO,tI])}function B4(i){return Pc(WO(i),[zO,$O])}function N4(i){return Pc(i,[YO,A4],[UO,A4],[GO,XO])}function j4(i){return Pc(i,[HO,FO])}var iI=Lc(Oc);function H4(i){return Pc(i,[jO,iI])}var nI=Dc(RO,BO),sI=Dc(O4),rI=Lc(Oc,zd,$d);
198function F4(i){return Pc(i,[nI,I4],[sI,rI])}var oI="Invalid Duration",V4={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},aI=ze({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},V4),co=146097/400,Ic=146097/4800,lI=ze({years:{quarters:4,months:12,weeks:co/7,days:co,hours:co*24,minutes:co*24*60,seconds:co*24*60*60,milliseconds:co*24*60*60*1e3},quarters:{months:3,weeks:co/28,days:co/4,hours:co*24/4,minutes:co*24*60/4,seconds:co*24*60*60/4,milliseconds:co*24*60*60*1e3/4},months:{weeks:Ic/7,days:Ic,hours:Ic*24,minutes:Ic*24*60,seconds:Ic*24*60*60,milliseconds:Ic*24*60*60*1e3}},V4),dh=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],hI=dh.slice(0).reverse();function uh(i,e,r=!1){let t={values:r?e.values:ze(ze({},i.values),e.values||{}),loc:i.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||i.conversionAccuracy};return new In(t)}function cI(i){return i<0?Math.floor(i):Math.ceil(i)}function z4(i,e,r,t,n){let l=i[n][r],C=e[r]/l,B=Math.sign(C)===Math.sign(t[n]),$=!B&&t[n]!==0&&Math.abs(C)<=1?cI(C):Math.trunc(C);t[n]+=$,e[r]-=$*l}function uI(i,e){hI.reduce((r,t)=>ci(e[t])?r:(r&&z4(i,e,r,e,t),t),null)}var In=class i{constructor(e){let r=e.conversionAccuracy==="longterm"||!1;this.values=e.values,this.loc=e.loc||fn.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r?lI:aI,this.isLuxonDuration=!0}static fromMillis(e,r){return i.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new Cs(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new i({values:kc(e,i.normalizeUnit),loc:fn.fromObject(r),conversionAccuracy:r.conversionAccuracy})}static fromDurationLike(e){if(ha(e))return i.fromMillis(e);if(i.isDuration(e))return e;if(typeof e=="object")return i.fromObject(e);throw new Cs(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[t]=j4(e);return t?i.fromObject(t,r):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[t]=H4(e);return t?i.fromObject(t,r):i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new Cs("need to specify a reason the Duration is invalid");let t=e instanceof Ps?e:new Ps(e,r);if(gi.throwOnInvalid)throw new wf(t);return new i({invalid:t})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new _c(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let t=xt(ze({},r),{floor:r.round!==!1&&r.floor!==!1});return this.isValid?wr.create(this.loc,t).formatDurationFromString(this,e):oI}toHuman(e={}){let r=dh.map(t=>{let n=this.values[t];return ci(n)?null:this.loc.numberFormatter(xt(ze({style:"unit",unitDisplay:"long"},e),{unit:t.slice(0,-1)})).format(n)}).filter(t=>t);return this.loc.listFormatter(ze({type:"conjunction",style:e.listStyle||"narrow"},e)).format(r)}toObject(){return this.isValid?ze({},this.values):{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Sc(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();if(r<0||r>=864e5)return null;e=ze({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);let t=this.shiftTo("hours","minutes","seconds","milliseconds"),n=e.format==="basic"?"hhmm":"hh:mm";(!e.suppressSeconds||t.seconds!==0||t.milliseconds!==0)&&(n+=e.format==="basic"?"ss":":ss",(!e.suppressMilliseconds||t.milliseconds!==0)&&(n+=".SSS"));let l=t.toFormat(n);return e.includePrefix&&(l="T"+l),l}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=i.fromDurationLike(e),t={};
vendor: 10,430 bytes, line 198
198for(let n of dh)(gl(r.values,n)||gl(this.values,n))&&(t[n]=r.get(n)+this.get(n));return uh(this,{values:t},!0)}minus(e){if(!this.isValid)return this;let r=i.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let t of Object.keys(this.values))r[t]=qE(e(this.values[t],t));return uh(this,{values:r},!0)}get(e){return this[i.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r=ze(ze({},this.values),kc(e,i.normalizeUnit));return uh(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:t}={}){let n=this.loc.clone({locale:e,numberingSystem:r}),l={loc:n};return t&&(l.conversionAccuracy=t),uh(this,l)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return uI(this.matrix,e),uh(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(C=>i.normalizeUnit(C));let r={},t={},n=this.toObject(),l;for(let C of dh)if(e.indexOf(C)>=0){l=C;let B=0;for(let K in t)B+=this.matrix[K][C]*t[K],t[K]=0;ha(n[C])&&(B+=n[C]);let $=Math.trunc(B);r[C]=$,t[C]=(B*1e3-$*1e3)/1e3;for(let K in n)dh.indexOf(K)>dh.indexOf(C)&&z4(this.matrix,n,K,r,C)}else ha(n[C])&&(t[C]=n[C]);for(let C in t)t[C]!==0&&(r[l]+=C===l?t[C]:t[C]/this.matrix[l][C]);return uh(this,{values:r},!0).normalize()}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return uh(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(t,n){return t===void 0||t===0?n===void 0||n===0:t===n}for(let t of dh)if(!r(this.values[t],e.values[t]))return!1;return!0}};var Wd="Invalid Interval";function dI(i,e){return!i||!i.isValid?yl.invalid("missing or invalid start"):!e||!e.isValid?yl.invalid("missing or invalid end"):e<i?yl.invalid("end before start",`The end of an interval must be after its start, but you had start=${i.toISO()} and end=${e.toISO()}`):null}var yl=class i{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new Cs("need to specify a reason the Interval is invalid");let t=e instanceof Ps?e:new Ps(e,r);if(gi.throwOnInvalid)throw new _f(t);return new i({invalid:t})}static fromDateTimes(e,r){let t=Rc(e),n=Rc(r),l=dI(t,n);return l??new i({start:t,end:n})}static after(e,r){let t=In.fromDurationLike(r),n=Rc(e);return i.fromDateTimes(n,n.plus(t))}static before(e,r){let t=In.fromDurationLike(r),n=Rc(e);return i.fromDateTimes(n.minus(t),n)}static fromISO(e,r){let[t,n]=(e||"").split("/",2);if(t&&n){let l,C;try{l=Rt.fromISO(t,r),C=l.isValid}catch{C=!1}let B,$;try{B=Rt.fromISO(n,r),$=B.isValid}catch{$=!1}if(C&&$)return i.fromDateTimes(l,B);if(C){let K=In.fromISO(n,r);if(K.isValid)return i.after(l,K)}else if($){let K=In.fromISO(t,r);if(K.isValid)return i.before(B,K)}}return i.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds"){if(!this.isValid)return NaN;let r=this.start.startOf(e),t=this.end.startOf(e);return Math.floor(t.diff(r,e).get(e))+1}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?i.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(Rc).filter(C=>this.contains(C)).sort(),t=[],{s:n}=this,l=0;for(;n<this.e;){let C=r[l]||this.e,B=+C>+this.e?this.e:C;t.push(i.fromDateTimes(n,B)),n=B,l+=1}return t}splitBy(e){let r=In.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:t}=this,n=1,l,C=[];for(;t<this.e;){let B=this.start.plus(r.mapUnits($=>$*n));l=+B>+this.e?this.e:B,C.push(i.fromDateTimes(t,l)),t=l,n+=1}return C}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,t=this.e<e.e?this.e:e.e;return r>=t?null:i.fromDateTimes(r,t)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,t=this.e>e.e?this.e:e.e;return i.fromDateTimes(r,t)}static merge(e){let[r,t]=e.sort((n,l)=>n.s-l.s).reduce(([n,l],C)=>l?l.overlaps(C)||l.abutsStart(C)?[n,l.union(C)]:[n.concat([l]),C]:[n,C],[[],null]);return t&&r.push(t),r}static xor(e){let r=null,t=0,n=[],l=e.map($=>[{time:$.s,type:"s"},{time:$.e,type:"e"}]),C=Array.prototype.concat(...l),B=C.sort(($,K)=>$.time-K.time);for(let $ of B)t+=$.type==="s"?1:-1,t===1?r=$.time:(r&&+r!=+$.time&&n.push(i.fromDateTimes(r,$.time)),r=null);return i.merge(n)}difference(...e){return i.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Wd}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Wd}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Wd}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Wd}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Wd}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):In.invalid(this.invalidReason)}mapEndpoints(e){return i.fromDateTimes(e(this.s),e(this.e))}};var vl=class{static hasDST(e=gi.defaultZone){let r=Rt.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return ur.isValidZone(e)}static normalizeZone(e){return zo(e,gi.defaultZone)}static months(e="long",{locale:r=null,numberingSystem:t=null,locObj:n=null,outputCalendar:l="gregory"}={}){return(n||fn.create(r,t,l)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:t=null,locObj:n=null,outputCalendar:l="gregory"}={}){return(n||fn.create(r,t,l)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:t=null,locObj:n=null}={}){return(n||fn.create(r,t,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:t=null,locObj:n=null}={}){return(n||fn.create(r,t,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return fn.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return fn.create(r,null,"gregory").eras(e)}static features(){return{relative:Sf()}}};function $4(i,e){let r=n=>n.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),t=r(e)-r(i);return Math.floor(In.fromMillis(t).as("days"))}function pI(i,e,r){let t=[["years",(B,$)=>$.year-B.year],["quarters",(B,$)=>$.quarter-B.quarter],["months",(B,$)=>$.month-B.month+($.year-B.year)*12],["weeks",(B,$)=>{let K=$4(B,$);return(K-K%7)/7}],["days",$4]],n={},l,C;for(let[B,$]of t)if(r.indexOf(B)>=0){l=B;let K=$(i,e);C=i.plus({[B]:K}),C>e?(i=i.plus({[B]:K-1}),K-=1):i=C,n[B]=K}return[i,n,C,l]}function W4(i,e,r,t){let[n,l,C,B]=pI(i,e,r),$=e-n,K=r.filter(q=>["hours","minutes","seconds","milliseconds"].indexOf(q)>=0);K.length===0&&(C<e&&(C=n.plus({[B]:1})),C!==n&&(l[B]=(l[B]||0)+$/(C-n)));let G=In.fromObject(l,t);return K.length>0?In.fromMillis($,t).shiftTo(...K).plus(G):G}var E2={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Y4={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fI=E2.hanidec.replace(/[\[|\]]/g,"").split("");function U4(i){let e=parseInt(i,10);if(isNaN(e)){e="";for(let r=0;r<i.length;r++){let t=i.charCodeAt(r);if(i[r].search(E2.hanidec)!==-1)e+=fI.indexOf(i[r]);else for(let n in Y4){let[l,C]=Y4[n];t>=l&&t<=C&&(e+=t-l)}}return parseInt(e,10)}else return e}function uo({numberingSystem:i},e=""){return new RegExp(`${E2[i||"latn"]}${e}`)}var mI="missing Intl.DateTimeFormat.formatToParts support";function Hi(i,e=r=>r){return{regex:i,deser:([r])=>e(U4(r))}}var gI="\xA0",q4=`[ ${gI}]`,Z4=new RegExp(q4,"g");function EI(i){return i.replace(/\./g,"\\.?").replace(Z4,q4)}function G4(i){return i.replace(/\./g,"").replace(Z4," ").toLowerCase()}function $o(i,e){return i===null?null:{regex:RegExp(i.map(EI).join("|")),deser:([r])=>i.findIndex(t=>G4(r)===G4(t))+e}}function X4(i,e){return{regex:i,deser:([,r,t])=>ch(r,t),groups:e}}function b2(i){return{regex:i,deser:([e])=>e}}
198function bI(i){return i.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function yI(i,e){let r=uo(e),t=uo(e,"{2}"),n=uo(e,"{3}"),l=uo(e,"{4}"),C=uo(e,"{6}"),B=uo(e,"{1,2}"),$=uo(e,"{1,3}"),K=uo(e,"{1,6}"),G=uo(e,"{1,9}"),q=uo(e,"{2,4}"),Z=uo(e,"{4,6}"),R=H=>({regex:RegExp(bI(H.val)),deser:([T])=>T,literal:!0}),V=(H=>{if(i.literal)return R(H);switch(H.val){case"G":return $o(e.eras("short",!1),0);case"GG":return $o(e.eras("long",!1),0);case"y":return Hi(K);case"yy":return Hi(q,Nd);case"yyyy":return Hi(l);case"yyyyy":return Hi(Z);case"yyyyyy":return Hi(C);case"M":return Hi(B);case"MM":return Hi(t);case"MMM":return $o(e.months("short",!0,!1),1);case"MMMM":return $o(e.months("long",!0,!1),1);case"L":return Hi(B);case"LL":return Hi(t);case"LLL":return $o(e.months("short",!1,!1),1);case"LLLL":return $o(e.months("long",!1,!1),1);case"d":return Hi(B);case"dd":return Hi(t);case"o":return Hi($);case"ooo":return Hi(n);case"HH":return Hi(t);case"H":return Hi(B);case"hh":return Hi(t);case"h":return Hi(B);case"mm":return Hi(t);case"m":return Hi(B);case"q":return Hi(B);case"qq":return Hi(t);case"s":return Hi(B);case"ss":return Hi(t);case"S":return Hi($);case"SSS":return Hi(n);case"u":return b2(G);case"uu":return b2(B);case"uuu":return Hi(r);case"a":return $o(e.meridiems(),0);case"kkkk":return Hi(l);case"kk":return Hi(q,Nd);case"W":return Hi(B);case"WW":return Hi(t);case"E":case"c":return Hi(r);case"EEE":return $o(e.weekdays("short",!1,!1),1);case"EEEE":return $o(e.weekdays("long",!1,!1),1);case"ccc":return $o(e.weekdays("short",!0,!1),1);case"cccc":return $o(e.weekdays("long",!0,!1),1);case"Z":case"ZZ":return X4(new RegExp(`([+-]${B.source})(?::(${t.source}))?`),2);case"ZZZ":return X4(new RegExp(`([+-]${B.source})(${t.source})?`),2);case"z":return b2(/[a-z_+-/]{1,256}?/i);default:return R(H)}})(i)||{invalidReason:mI};return V.token=i,V}var vI={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};function xI(i,e,r){let{type:t,value:n}=i;if(t==="literal")return{literal:!0,val:n};let l=r[t],C=vI[t];if(typeof C=="object"&&(C=C[l]),C)return{literal:!1,val:C}}function CI(i){return[`^${i.map(r=>r.regex).reduce((r,t)=>`${r}(${t.source})`,"")}$`,i]}function _I(i,e,r){let t=i.match(e);if(t){let n={},l=1;for(let C in r)if(gl(r,C)){let B=r[C],$=B.groups?B.groups+1:1;!B.literal&&B.token&&(n[B.token.val[0]]=B.deser(t.slice(l,l+$))),l+=$}return[t,n]}else return[t,{}]}function wI(i){let e=l=>{switch(l){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,t;return ci(i.z)||(r=ur.create(i.z)),ci(i.Z)||(r||(r=new Os(i.Z)),t=i.Z),ci(i.q)||(i.M=(i.q-1)*3+1),ci(i.h)||(i.h<12&&i.a===1?i.h+=12:i.h===12&&i.a===0&&(i.h=0)),i.G===0&&i.y&&(i.y=-i.y),ci(i.u)||(i.S=Rd(i.u)),[Object.keys(i).reduce((l,C)=>{let B=e(C);return B&&(l[B]=i[C]),l},{}),r,t]}var y2=null;function SI(){return y2||(y2=Rt.fromMillis(1555555555555)),y2}function MI(i,e){if(i.literal)return i;let r=wr.macroTokenToFormatOpts(i.val);if(!r)return i;let l=wr.create(e,r).formatDateTimeParts(SI()).map(C=>xI(C,e,r));return l.includes(void 0)?i:l}function TI(i,e){return Array.prototype.concat(...i.map(r=>MI(r,e)))}function v2(i,e,r){let t=TI(wr.parseFormat(r),i),n=t.map(C=>yI(C,i)),l=n.find(C=>C.invalidReason);if(l)return{input:e,tokens:t,invalidReason:l.invalidReason};{let[C,B]=CI(n),$=RegExp(C,"i"),[K,G]=_I(e,$,B),[q,Z,R]=G?wI(G):[null,null,void 0];if(gl(G,"a")&&gl(G,"H"))throw new Na("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:t,regex:$,rawMatches:K,matches:G,result:q,zone:Z,specificOffset:R}}}function K4(i,e,r){let{result:t,zone:n,specificOffset:l,invalidReason:C}=v2(i,e,r);return[t,n,l,C]}
198var Q4=[0,31,59,90,120,151,181,212,243,273,304,334],J4=[0,31,60,91,121,152,182,213,244,274,305,335];function po(i,e){return new Ps("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${i}, which is invalid`)}function e_(i,e,r){let t=new Date(Date.UTC(i,e-1,r));i<100&&i>=0&&t.setUTCFullYear(t.getUTCFullYear()-1900);let n=t.getUTCDay();return n===0?7:n}function t_(i,e,r){return r+(lh(i)?J4:Q4)[e-1]}function i_(i,e){let r=lh(i)?J4:Q4,t=r.findIndex(l=>l<e),n=e-r[t];return{month:t+1,day:n}}function Df(i){let{year:e,month:r,day:t}=i,n=t_(e,r,t),l=e_(e,r,t),C=Math.floor((n-l+10)/7),B;return C<1?(B=e-1,C=Tc(B)):C>Tc(e)?(B=e+1,C=1):B=e,ze({weekYear:B,weekNumber:C,weekday:l},jd(i))}function x2(i){let{weekYear:e,weekNumber:r,weekday:t}=i,n=e_(e,1,4),l=hh(e),C=r*7+t-n-3,B;C<1?(B=e-1,C+=hh(B)):C>l?(B=e+1,C-=hh(e)):B=e;let{month:$,day:K}=i_(B,C);return ze({year:B,month:$,day:K},jd(i))}function Lf(i){let{year:e,month:r,day:t}=i,n=t_(e,r,t);return ze({year:e,ordinal:n},jd(i))}function C2(i){let{year:e,ordinal:r}=i,{month:t,day:n}=i_(e,r);return ze({year:e,month:t,day:n},jd(i))}function n_(i){let e=Id(i.weekYear),r=ca(i.weekNumber,1,Tc(i.weekYear)),t=ca(i.weekday,1,7);return e?r?t?!1:po("weekday",i.weekday):po("week",i.week):po("weekYear",i.weekYear)}function s_(i){let e=Id(i.year),r=ca(i.ordinal,1,hh(i.year));return e?r?!1:po("ordinal",i.ordinal):po("year",i.year)}function _2(i){let e=Id(i.year),r=ca(i.month,1,12),t=ca(i.day,1,Mc(i.year,i.month));return e?r?t?!1:po("day",i.day):po("month",i.month):po("year",i.year)}function w2(i){let{hour:e,minute:r,second:t,millisecond:n}=i,l=ca(e,0,23)||e===24&&r===0&&t===0&&n===0,C=ca(r,0,59),B=ca(t,0,59),$=ca(n,0,999);return l?C?B?$?!1:po("millisecond",n):po("second",t):po("minute",r):po("hour",e)}var S2="Invalid DateTime",r_=864e13;function Pf(i){return new Ps("unsupported zone",`the zone "${i.name}" is not supported`)}function M2(i){return i.weekData===null&&(i.weekData=Df(i.c)),i.weekData}function Yd(i,e){let r={ts:i.ts,zone:i.zone,c:i.c,o:i.o,loc:i.loc,invalid:i.invalid};return new Rt(xt(ze(ze({},r),e),{old:r}))}function p_(i,e,r){let t=i-e*60*1e3,n=r.offset(t);if(e===n)return[t,e];t-=(n-e)*60*1e3;let l=r.offset(t);return n===l?[t,n]:[i-Math.min(n,l)*60*1e3,Math.max(n,l)]}function o_(i,e){i+=e*60*1e3;let r=new Date(i);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function If(i,e,r){return p_(Bd(i),e,r)}function a_(i,e){let r=i.o,t=i.c.year+Math.trunc(e.years),n=i.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,l=xt(ze({},i.c),{year:t,month:n,day:Math.min(i.c.day,Mc(t,n))+Math.trunc(e.days)+Math.trunc(e.weeks)*7}),C=In.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),B=Bd(l),[$,K]=p_(B,r,i.zone);return C!==0&&($+=C,K=i.zone.offset($)),{ts:$,o:K}}function Ud(i,e,r,t,n,l){let{setZone:C,zone:B}=r;if(i&&Object.keys(i).length!==0){let $=e||B,K=Rt.fromObject(i,xt(ze({},r),{zone:$,specificOffset:l}));return C?K:K.setZone(B)}
198else return Rt.invalid(new Ps("unparsable",`the input "${n}" can't be parsed as ${t}`))}function Of(i,e,r=!0){return i.isValid?wr.create(fn.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(i,e):null}function T2(i,e){let r=i.c.year>9999||i.c.year<0,t="";return r&&i.c.year>=0&&(t+="+"),t+=Mn(i.c.year,r?6:4),e?(t+="-",t+=Mn(i.c.month),t+="-",t+=Mn(i.c.day)):(t+=Mn(i.c.month),t+=Mn(i.c.day)),t}function l_(i,e,r,t,n,l){let C=Mn(i.c.hour);return e?(C+=":",C+=Mn(i.c.minute),(i.c.second!==0||!r)&&(C+=":")):C+=Mn(i.c.minute),(i.c.second!==0||!r)&&(C+=Mn(i.c.second),(i.c.millisecond!==0||!t)&&(C+=".",C+=Mn(i.c.millisecond,3))),n&&(i.isOffsetFixed&&i.offset===0&&!l?C+="Z":i.o<0?(C+="-",C+=Mn(Math.trunc(-i.o/60)),C+=":",C+=Mn(Math.trunc(-i.o%60))):(C+="+",C+=Mn(Math.trunc(i.o/60)),C+=":",C+=Mn(Math.trunc(i.o%60)))),l&&(C+="["+i.zone.ianaName+"]"),C}var f_={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},kI={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},AI={ordinal:1,hour:0,minute:0,second:0,millisecond:0},m_=["year","month","day","hour","minute","second","millisecond"],DI=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],LI=["year","ordinal","hour","minute","second","millisecond"];function h_(i){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[i.toLowerCase()];if(!e)throw new _c(i);return e}function c_(i,e){let r=zo(e.zone,gi.defaultZone),t=fn.fromObject(e),n=gi.now(),l,C;if(ci(i.year))l=n;else{for(let K of m_)ci(i[K])&&(i[K]=f_[K]);let B=_2(i)||w2(i);
vendor: 4,174 bytes, line 198
198if(B)return Rt.invalid(B);let $=r.offset(n);[l,C]=If(i,$,r)}return new Rt({ts:l,zone:r,loc:t,o:C})}function u_(i,e,r){let t=ci(r.round)?!0:r.round,n=(C,B)=>(C=Sc(C,t||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(C,B)),l=C=>r.calendary?e.hasSame(i,C)?0:e.startOf(C).diff(i.startOf(C),C).get(C):e.diff(i,C).get(C);if(r.unit)return n(l(r.unit),r.unit);for(let C of r.units){let B=l(C);if(Math.abs(B)>=1)return n(B,C)}return n(i>e?-0:0,r.units[r.units.length-1])}function d_(i){let e={},r;return i.length>0&&typeof i[i.length-1]=="object"?(e=i[i.length-1],r=Array.from(i).slice(0,i.length-1)):r=Array.from(i),[e,r]}var Rt=class i{constructor(e){let r=e.zone||gi.defaultZone,t=e.invalid||(Number.isNaN(e.ts)?new Ps("invalid input"):null)||(r.isValid?null:Pf(r));this.ts=ci(e.ts)?gi.now():e.ts;let n=null,l=null;if(!t)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[n,l]=[e.old.c,e.old.o];else{let B=r.offset(this.ts);n=o_(this.ts,B),t=Number.isNaN(n.year)?new Ps("invalid input"):null,n=t?null:n,l=t?null:B}this._zone=r,this.loc=e.loc||fn.create(),this.invalid=t,this.weekData=null,this.c=n,this.o=l,this.isLuxonDateTime=!0}static now(){return new i({})}static local(){let[e,r]=d_(arguments),[t,n,l,C,B,$,K]=r;return c_({year:t,month:n,day:l,hour:C,minute:B,second:$,millisecond:K},e)}static utc(){let[e,r]=d_(arguments),[t,n,l,C,B,$,K]=r;return e.zone=Os.utcInstance,c_({year:t,month:n,day:l,hour:C,minute:B,second:$,millisecond:K},e)}static fromJSDate(e,r={}){let t=p4(e)?e.valueOf():NaN;if(Number.isNaN(t))return i.invalid("invalid input");let n=zo(r.zone,gi.defaultZone);return n.isValid?new i({ts:t,zone:n,loc:fn.fromObject(r)}):i.invalid(Pf(n))}static fromMillis(e,r={}){if(ha(e))return e<-r_||e>r_?i.invalid("Timestamp out of range"):new i({ts:e,zone:zo(r.zone,gi.defaultZone),loc:fn.fromObject(r)});throw new Cs(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(ha(e))return new i({ts:e*1e3,zone:zo(r.zone,gi.defaultZone),loc:fn.fromObject(r)});throw new Cs("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let t=zo(r.zone,gi.defaultZone);if(!t.isValid)return i.invalid(Pf(t));let n=gi.now(),l=ci(r.specificOffset)?t.offset(n):r.specificOffset,C=kc(e,h_),B=!ci(C.ordinal),$=!ci(C.year),K=!ci(C.month)||!ci(C.day),G=$||K,q=C.weekYear||C.weekNumber,Z=fn.fromObject(r);if((G||B)&&q)throw new Na("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(K&&B)throw new Na("Can't mix ordinal dates with month/day");let R=q||C.weekday&&!G,Y,V,H=o_(n,l);R?(Y=DI,V=kI,H=Df(H)):B?(Y=LI,V=AI,H=Lf(H)):(Y=m_,V=f_);let T=!1;for(let P of Y){let S=C[P];ci(S)?T?C[P]=V[P]:C[P]=H[P]:T=!0}let L=R?n_(C):B?s_(C):_2(C),j=L||w2(C);if(j)return i.invalid(j);let s=R?x2(C):B?C2(C):C,[c,x]=If(s,l,t),N=new i({ts:c,zone:t,o:x,loc:Z});return C.weekday&&G&&e.weekday!==N.weekday?i.invalid("mismatched weekday",`you can't specify both a weekday of ${C.weekday} and a date of ${N.toISO()}`):N}static fromISO(e,r={}){let[t,n]=R4(e);return Ud(t,n,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[t,n]=B4(e);return Ud(t,n,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[t,n]=N4(e);return Ud(t,n,r,"HTTP",r)}static fromFormat(e,r,t={}){if(ci(e)||ci(r))throw new Cs("fromFormat requires an input string and a format");let{locale:n=null,numberingSystem:l=null}=t,C=fn.fromOpts({locale:n,numberingSystem:l,defaultToEN:!0}),[B,$,K,G]=K4(C,e,r);return G?i.invalid(G):Ud(B,$,t,`format ${r}`,e,K)}static fromString(e,r,t={}){return i.fromFormat(e,r,t)}static fromSQL(e,r={}){let[t,n]=F4(e);return Ud(t,n,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new Cs("need to specify a reason the DateTime is invalid");let t=e instanceof Ps?e:new Ps(e,r);if(gi.throwOnInvalid)throw new Cf(t);return new i({invalid:t})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}
198get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?M2(this).weekYear:NaN}get weekNumber(){return this.isValid?M2(this).weekNumber:NaN}get weekday(){return this.isValid?M2(this).weekday:NaN}get ordinal(){return this.isValid?Lf(this.c).ordinal:NaN}get monthShort(){return this.isValid?vl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?vl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?vl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?vl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return lh(this.year)}get daysInMonth(){return Mc(this.year,this.month)}get daysInYear(){return this.isValid?hh(this.year):NaN}get weeksInWeekYear(){return this.isValid?Tc(this.weekYear):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:t,calendar:n}=wr.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:t,outputCalendar:n}}toUTC(e=0,r={}){return this.setZone(Os.instance(e),r)}toLocal(){return this.setZone(gi.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:t=!1}={}){if(e=zo(e,gi.defaultZone),e.equals(this.zone))return this;if(e.isValid){let n=this.ts;if(r||t){let l=e.offset(this.ts),C=this.toObject();[n]=If(C,l,e)}return Yd(this,{ts:n,zone:e})}else return i.invalid(Pf(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:t}={}){let n=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:t});return Yd(this,{loc:n})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=kc(e,h_),t=!ci(r.weekYear)||!ci(r.weekNumber)||!ci(r.weekday),n=!ci(r.ordinal),l=!ci(r.year),C=!ci(r.month)||!ci(r.day),B=l||C,$=r.weekYear||r.weekNumber;if((B||n)&&$)throw new Na("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(C&&n)throw new Na("Can't mix ordinal dates with month/day");let K;t?K=x2(ze(ze({},Df(this.c)),r)):ci(r.ordinal)?(K=ze(ze({},this.toObject()),r),ci(r.day)&&(K.day=Math.min(Mc(K.year,K.month),K.day))):K=C2(ze(ze({},Lf(this.c)),r));let[G,q]=If(K,this.o,this.zone);return Yd(this,{ts:G,o:q})}plus(e){if(!this.isValid)return this;let r=In.fromDurationLike(e);return Yd(this,a_(this,r))}minus(e){if(!this.isValid)return this;let r=In.fromDurationLike(e).negate();return Yd(this,a_(this,r))}startOf(e){if(!this.isValid)return this;let r={},t=In.normalizeUnit(e);switch(t){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break;case"milliseconds":break}if(t==="weeks"&&(r.weekday=1),t==="quarters"){let n=Math.ceil(this.month/3);r.month=(n-1)*3+1}return this.set(r)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,r={}){return this.isValid?wr.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):S2}toLocaleString(e=wc,r={}){return this.isValid?wr.create(this.loc.clone(r),e).formatDateTime(this):S2}toLocaleParts(e={}){return this.isValid?wr.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:t=!1,includeOffset:n=!0,extendedZone:l=!1}={}){if(!this.isValid)return null;let C=e==="extended",B=T2(this,C);return B+="T",B+=l_(this,C,r,t,n,l),B}toISODate({format:e="extended"}={}){return this.isValid?T2(this,e==="extended"):null}toISOWeekDate(){return Of(this,"kkkk-'W'WW-c")}
198toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:t=!0,includePrefix:n=!1,extendedZone:l=!1,format:C="extended"}={}){return this.isValid?(n?"T":"")+l_(this,C==="extended",r,e,t,l):null}toRFC2822(){return Of(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Of(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?T2(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:t=!0}={}){let n="HH:mm:ss.SSS";return(r||e)&&(t&&(n+=" "),r?n+="z":e&&(n+="ZZ")),Of(this,n,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():S2}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r=ze({},this.c);return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",t={}){if(!this.isValid||!e.isValid)return In.invalid("created by diffing an invalid DateTime");let n=ze({locale:this.locale,numberingSystem:this.numberingSystem},t),l=f4(r).map(In.normalizeUnit),C=e.valueOf()>this.valueOf(),B=C?this:e,$=C?e:this,K=W4(B,$,l,n);return C?K.negate():K}diffNow(e="milliseconds",r={}){return this.diff(i.now(),e,r)}until(e){return this.isValid?yl.fromDateTimes(this,e):this}hasSame(e,r){if(!this.isValid)return!1;let t=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(r)<=t&&t<=n.endOf(r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||i.fromObject({},{zone:this.zone}),t=e.padding?this<r?-e.padding:e.padding:0,n=["years","months","days","hours","minutes","seconds"],l=e.unit;return Array.isArray(e.unit)&&(n=e.unit,l=void 0),u_(r,this.plus(t),xt(ze({},e),{numeric:"always",units:n,unit:l}))}toRelativeCalendar(e={}){return this.isValid?u_(e.base||i.fromObject({},{zone:this.zone}),this,xt(ze({},e),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}static min(...e){if(!e.every(i.isDateTime))throw new Cs("min requires all arguments be DateTimes");return XE(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(i.isDateTime))throw new Cs("max requires all arguments be DateTimes");return XE(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,t={}){let{locale:n=null,numberingSystem:l=null}=t,C=fn.fromOpts({locale:n,numberingSystem:l,defaultToEN:!0});return v2(C,e,r)}static fromStringExplain(e,r,t={}){return i.fromFormatExplain(e,r,t)}static get DATE_SHORT(){return wc}static get DATE_MED(){return md}static get DATE_MED_WITH_WEEKDAY(){return YE}static get DATE_FULL(){return gd}static get DATE_HUGE(){return Ed}static get TIME_SIMPLE(){return bd}static get TIME_WITH_SECONDS(){return yd}static get TIME_WITH_SHORT_OFFSET(){return vd}static get TIME_WITH_LONG_OFFSET(){return xd}static get TIME_24_SIMPLE(){return Cd}static get TIME_24_WITH_SECONDS(){return _d}static get TIME_24_WITH_SHORT_OFFSET(){return wd}static get TIME_24_WITH_LONG_OFFSET(){return Sd}static get DATETIME_SHORT(){return Md}static get DATETIME_SHORT_WITH_SECONDS(){return Td}static get DATETIME_MED(){return kd}static get DATETIME_MED_WITH_SECONDS(){return Ad}static get DATETIME_MED_WITH_WEEKDAY(){return UE}static get DATETIME_FULL(){return Dd}static get DATETIME_FULL_WITH_SECONDS(){return Ld}static get DATETIME_HUGE(){return Pd}static get DATETIME_HUGE_WITH_SECONDS(){return Od}};function Rc(i){if(Rt.isDateTime(i))return i;if(i&&i.valueOf&&ha(i.valueOf()))return Rt.fromJSDate(i);if(i&&typeof i=="object")return Rt.fromObject(i);throw new Cs(`Unknown datetime argument: ${i}, of type ${typeof i}`)}var g_={action:"Action",actionType:"Action Type",activityLog:"Activity Log",activityLogAction:"Action",add:"\u0E40\u0E1E\u0E34\u0E48\u0E21",addChoice:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01",addContent:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",addDesc:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E1A\u0E17\u0E19\u0E33",addExamPart:"\u
1980E40\u0E1E\u0E34\u0E48\u0E21\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",addGroup:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E01\u0E25\u0E38\u0E48\u0E21",addQuestion:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E04\u0E33\u0E16\u0E32\u0E21",addScore:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19",addTag:"\u0E40\u0E1E\u0E34\u0E48\u0E21 Tag",addTrueAnswer:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E09\u0E25\u0E22",additionalQuestion:" \u0E04\u0E33\u0E16\u0E32\u0E21\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 ",admin:"\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A",agreementAccept:"\u0E09\u0E31\u0E19\u0E22\u0E2D\u0E21\u0E23\u0E31\u0E1A",agreementAnd:"\u0E41\u0E25\u0E30",agreementPolicy:"\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E04\u0E27\u0E32\u0E21\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E31\u0E27",agreementTerm:"\u0E02\u0E49\u0E2D\u0E15\u0E01\u0E25\u0E07\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",alreadyRegistered:"\u0E21\u0E35\u0E1A\u0E31\u0E0D\u0E0A\u0E35\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27? \u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32",anErrorOccurred:"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14",answer:"\u0E04\u0E33\u0E15\u0E2D\u0E1A",answerCorrect:"\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01",answerLimit:"\u0E15\u0E2D\u0E1A\u0E44\u0E14\u0E49\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19",answerWrong:"\u0E15\u0E2D\u0E1A\u0E1C\u0E34\u0E14",answered:"\u0E15\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27",answering:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E15\u0E2D\u0E1A",assignScore:" \u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E30\u0E41\u0E19\u0E19 ",avgScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E40\u0E09\u0E25\u0E35\u0E48\u0E22",backToLogin:"\u0E01\u0E25\u0E31\u0E1A\u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A",browserNotSupport:"\u0E40\u0E1A\u0E23\u0E32\u0E27\u0E4C\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A",calculationExample:"\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E01\u0E32\u0E23\u0E04\u0E33\u0E19\u0E27\u0E13",calculationMethod:"\u0E27\u0E34\u0E18\u0E35\u0E01\u0E32\u0E23\u0E04\u0E33\u0E19\u0E27\u0E13",cancel:" \u0E22\u0E01\u0E40\u0E25\u0E34\u0E01 ",cannotCopy:"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",category:"\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48",categoryList:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",categoryName:"\u0E0A\u0E37\u0E48\u0E2D\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48",categorySumScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E23\u0E27\u0E21\u0E02\u0E2D\u0E07\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48\u0E19\u0E35\u0E49",changePassword:"\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",changePasswordSuccess:"\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",checkAll:"\u0E15\u0E23\u0E27\u0E08\u0E43\u0E2B\u0E21\u0E48\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",checkBy:"\u0E15\u0E23\u0E27\u0E08\u0E42\u0E14\u0E22",checkBySystem:"\u0E15\u0E23\u0E27\u0E08\u0E42\u0E14\u0E22\u0E23\u0E30\u0E1A\u0E1A",checkByUser:"\u0E15\u0E23\u0E27\u0E08\u0E42\u0E14\u0E22\u0E04\u0E19",checkExceptChangeScore:"\u0E22\u0E01\u0E40\u0E27\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E21\u0E35\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E04\u0E30\u0E41\u0E19\u0E19\u0E42\u0E14\u0E22\u0E1C\u0E39\u0E49\u0E15\u0E23\u0E27\u0E08\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",checkStatus:"\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E01\u0E32\u0E23\u0E15\u0E23\u0E27\u0E08",checked:"\u0E15\u0E23\u0E27\u0E08\u0E41\u0E25\u0E49\u0E27",choice:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01",choiceScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01",clone:"\u0E2A\u0E33\u0E40\u0E19\u0E32",collapseContent:"\u0E22\u0E48\u0E2D\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",comparisonTable:"\u0E15\u0E32\u0E23\u0E32\u0E07\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A",comparisonTableDifficultyIndex:"\u0E15\u0E32\u0E23\u0E32\u0E07\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E14\u0E31\u0E0A\u0E19\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22",comparisonTableGradingIndex:"\u0E15\u0E32\u0E23\u0E32\u0E07\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E04\u0E48\u0E32\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01",confirm:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19",confirmPassword:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",copied:"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 !",copy:"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01",correctAnswerRatio:"\u0E2D\u0E31\u0E15\u0E23\u0E32\u0E01\u0E32\u0E23\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01",create:"\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E43\u0E2B\u0E21\u0E48",createOwnPassword:"\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",createPart:"\u
1980E2A\u0E23\u0E49\u0E32\u0E07\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",created:"\u0E2A\u0E23\u0E49\u0E32\u0E07",createdBy:"\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22",date:"Date",delete:"\u0E25\u0E1A",description:"\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22",difficultyIndex:"\u0E14\u0E31\u0E0A\u0E19\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22",difficultyIndexExam:"\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A (p)",difficultyIndexExample:"\u0E04\u0E19\u0E17\u0E35\u0E48\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E21\u0E35 10 \u0E04\u0E19 \u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 4 \u0E04\u0E19",difficultyIndexExampleResult:"\u0E14\u0E31\u0E0A\u0E19\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22\u0E02\u0E2D\u0E07\u0E04\u0E33\u0E16\u0E32\u0E21 : \u0E22\u0E32\u0E01\u0E1E\u0E2D\u0E40\u0E2B\u0E21\u0E32\u0E30",difficultyIndexFormular:"\u0E2A\u0E39\u0E15\u0E23\u0E04\u0E33\u0E19\u0E27\u0E13\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22",difficultyIndexModerately:"\u0E22\u0E32\u0E01\u0E1E\u0E2D\u0E40\u0E2B\u0E21\u0E32\u0E30",difficultyIndexN:"N = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E19\u0E31\u0E01\u0E40\u0E23\u0E35\u0E22\u0E19\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E17\u0E35\u0E48\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E02\u0E49\u0E2D\u0E19\u0E31\u0E49\u0E19",difficultyIndexP:"P = \u0E04\u0E48\u0E32\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E01\u0E07\u0E48\u0E32\u0E22\u0E02\u0E2D\u0E07\u0E04\u0E33\u0E16\u0E32\u0E21\u0E19\u0E31\u0E49\u0E19",difficultyIndexQuiteDifficult:"\u0E04\u0E48\u0E2D\u0E19\u0E02\u0E49\u0E32\u0E07\u0E22\u0E32\u0E01",difficultyIndexQuiteEasy:"\u0E04\u0E48\u0E2D\u0E19\u0E02\u0E49\u0E32\u0E07\u0E07\u0E48\u0E32\u0E22",difficultyIndexR:"R = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E19\u0E31\u0E49\u0E19",difficultyIndexVeryDifficult:"\u0E04\u0E48\u0E2D\u0E19\u0E02\u0E49\u0E32\u0E07\u0E22\u0E32\u0E01",difficultyIndexVeryEasy:"\u0E07\u0E48\u0E32\u0E22\u0E21\u0E32\u0E01",editContent:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",editDelete:"\u0E41\u0E01\u0E49\u0E44\u0E02/\u0E25\u0E1A",editDesc:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E1A\u0E17\u0E19\u0E33",editGroup:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E01\u0E25\u0E38\u0E48\u0E21",editScore:" \u0E41\u0E01\u0E49\u0E04\u0E30\u0E41\u0E19\u0E19 ",email:"\u0E2D\u0E35\u0E40\u0E21\u0E25",emailExamResult:"\u0E2A\u0E48\u0E07\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",emailExamResultConfirm:'\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E44\u0E1B\u0E17\u0E35\u0E48 "{$PH}" \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48',emailExamResultConfirmMultiple:'\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E44\u0E1B\u0E17\u0E35\u0E48\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01 "\u0E08\u0E33\u0E19\u0E27\u0E19 {$PH} \u0E04\u0E19" \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48',emailOrPasswordInvalid:"\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",examApplicationError:"\u0E41\u0E2D\u0E1B\u0E1E\u0E25\u0E34\u0E40\u0E04\u0E0A\u0E31\u0E19\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",examApplicationPleaseAtLeastOne:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22 1 \u0E41\u0E2D\u0E1B\u0E1E\u0E25\u0E34\u0E40\u0E04\u0E0A\u0E31\u0E19",examCannotEdit:"\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E21\u0E35\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27 \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E01\u0E49\u0E44\u0E02\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49",examClone:"\u0E2A\u0E33\u0E40\u0E19\u0E32\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examCloneConfirm:'\u
1980E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2A\u0E33\u0E40\u0E19\u0E32 "{$PH}" \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48',examCreate:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examDate:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E2D\u0E1A",examDisable:"\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",examDurationTime:"\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A",examEdit:"\u0E41\u0E01\u0E49\u0E44\u0E02\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examEnable:"\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",examEnableConfirm:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examEnableConfirmText:"\u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A \u0E08\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E01\u0E49\u0E44\u0E02\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E43\u0E19\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E44\u0E14\u0E49\u0E2B\u0E25\u0E31\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E40\u0E02\u0E49\u0E32\u0E21\u0E32\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27",examEnableDisable:"\u0E40\u0E1B\u0E34\u0E14/\u0E1B\u0E34\u0E14",examEndTime:"\u0E40\u0E27\u0E25\u0E32\u0E08\u0E1A",examInfo:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examList:"\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examName:"\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examPart:"\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examPartClone:"\u0E2A\u0E33\u0E40\u0E19\u0E32\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examPartCloneConfirm:'\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E2A\u0E33\u0E40\u0E19\u0E32 "{$PH}" \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48',examPrivacyPrivate:"\u0E08\u0E33\u0E01\u0E31\u0E14\u0E40\u0E09\u0E1E\u0E32\u0E30\u0E04\u0E19\u0E17\u0E35\u0E48\u0E21\u0E35\u0E23\u0E32\u0E22\u0E0A\u0E37\u0E48\u0E2D",examPrivacyPublic:"\u0E17\u0E38\u0E01\u0E04\u0E19\u0E17\u0E35\u0E48\u0E21\u0E35 Link \u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49",examResult:"\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examResultDetailHTML:"\u0E1C\u0E25\u0E2A\u0E2D\u0E1A\u0E41\u0E1A\u0E1A\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14",examSchedule:"\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examScheduleError:"\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",examSchedulePleaseLimitTime:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E08\u0E33\u0E01\u0E31\u0E14\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A",examScheduleUnableEndTimeLessThanStartTime:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E15\u0E31\u0E49\u0E07\u0E40\u0E27\u0E25\u0E32\u0E08\u0E1A\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E40\u0E27\u0E25\u0E32\u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19\u0E44\u0E14\u0E49",examStartDate:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E23\u0E34\u0E48\u0E21\u0E2A\u0E2D\u0E1A",examStartTime:"\u0E40\u0E27\u0E25\u0E32\u0E40\u0E23\u0E34\u0E48\u0E21",examSubmitTime:"\u0E40\u0E27\u0E25\u0E32\u0E17\u0E35\u0E48\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTabChecking:"\u0E15\u0E23\u0E27\u0E08\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTabInfo:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B",examTabMonitor:"\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examTabPartList:"\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTabResult:"\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examTabProctor:"\u0E1C\u0E39\u0E49\u0E04\u0E38\u0E21\u0E2A\u0E2D\u0E1A",examTaker:"\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",examTakerAnswerList:" \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E15\u0E2D\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21\u0E02\u0E2D\u0E07\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A ",examTakerCorrectCount:"\u0E08\u0E33\u0E19\u0E27\u0E19\u0E04\u0E19\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01",examTakerHighestScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E17\u0E35\u0E48\u0E17\u0E33\u0E44\u0E14\u0E49\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14",examTakerList:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",examTakerLowestScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E17\u0E35\u0E48\u0E17\u0E33\u0E44\u0E14\u0E49\u0E15\u0E48\u0E33\u0E2A\u0E38\u0E14",examTakerRank:"\u0E2D\u0E31\u0E19\u0E14\u0E31\u0E1A\u0E02\u0E2D\u0E07\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",examTakerScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E17\u0E35\u0E48\u0E17\u0E33\u0E44\u0E14\u0E49",examTakerStartExam:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",examTakerSubmitExam:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTakerWaitForCheck:"\u0E04\u0E19\u0E17\u0E35\u0E48\u0E23\u0E2D\u0E15\u0E23\u0E27\u0E08",examTestPartCount:"\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTimeLeft:" \u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E40\u0E27\u0E25\u0E32\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A ",examining:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E2D\u0E1A",example:"\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07",export:"\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01",exportScore:"\u0E1C\u0E25\u0E04\u0E30\u0E41\u0E19\u0E19",exportScoreByCategory:"\u0E23\u0E32\u0E22\u0E07\u0E32\u0E19\u0E1C\u0E25\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E32\u0E21\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48",features:"\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34",finish:"\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E41\u0E25\u0E49\u0E27",finishedCheckExamTaker:"\u0E04\u0E19\u0E17\u0E35\u0E48\u0E15\u0E23\u0E27\u0E08\u0E40\u0E2A\u0E23\u0E47\u0E08",finishedCheckQuestion:"\u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E15\u0E23\u0E27\u0E08\u0E40\u0E2A\u0E23\u0E47\u0E08",firstname:"\u0E0A\u0E37\u0E48\u0E2D",forgotPassword:"\u0E25\u0E37\u0E21\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",forgotPasswordEmail:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E01\u0E23\u0E2D\u0E01\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13",forgotPasswordLink:"\u0E25\u0E37\u0E21\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19?",forgotPasswordSubmit:" \u0E2A\u0E48\u0E07\u0E04\u0E33\u0E02\u0E2D\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19 ",fullScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E40\u0E15\u0E47\u0E21",generatePassword:"\u0E2A\u0E38\u0E48\u0E21\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E43\u0E2B\u0E21\u0E48",generatePasswordConfirm:"\u0E2B\u0E32\u0E01\u0E2A\u0E38\u0E48\u0E21\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E43\u0E2B\u0E21\u0E48\u0E08\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E43\u0E0A\u0E49\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E40\u0E14\u0E34\u0E21\u0E44\u0E14\u0E49 \u0E04\u0E38\u0E13\u0E41\u0E19\u0E48\u0E43\u0E08\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48",good:"\u0E14\u0E35",gradingIndex:"\u0E04\u0E48\u0E32\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01",gradingIndexBad:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E15\u0E48\u0E33",gradingIndexExam:"\u
1980E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A (r)",gradingIndexExampleNh:"Nh = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E2A\u0E39\u0E07\u0E21\u0E35 3 \u0E04\u0E19",gradingIndexExampleNl:"Nl = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E48\u0E33 \u0E21\u0E35 3 \u0E04\u0E19",gradingIndexExampleResult:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A : \u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E14\u0E35\u0E21\u0E32\u0E01",gradingIndexExampleRh:"Rh = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E2A\u0E39\u0E07\u0E21\u0E35 3 \u0E04\u0E19",gradingIndexExampleRl:"Rl = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E48\u0E33\u0E21\u0E35 1 \u0E04\u0E19",gradingIndexFair:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E1E\u0E2D\u0E43\u0E0A\u0E49",gradingIndexFormular:"\u0E2A\u0E39\u0E15\u0E23\u0E04\u0E33\u0E19\u0E27\u0E13\u0E04\u0E48\u0E32\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01",gradingIndexGood:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E14\u0E35",gradingIndexNh:"Nh = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E2A\u0E39\u0E07",gradingIndexNl:"Nl = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E48\u0E33",gradingIndexRh:"Rh = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E2A\u0E39\u0E07",gradingIndexRl:"Rl = \u0E08\u0E33\u0E19\u0E27\u0E19\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E48\u0E33",gradingIndexSetting:"\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01",gradingIndexVeryBad:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E15\u0E48\u0E33\u0E21\u0E32\u0E01",gradingIndexVeryGood:"\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01\u0E14\u0E35\u0E21\u0E32\u0E01",gradingIndexIndistinguishable:"\u0E04\u0E48\u0E32\u0E2D\u0E33\u0E19\u0E32\u0E08\u0E08\u0E33\u0E41\u0E19\u0E01 : \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E08\u0E33\u0E41\u0E19\u0E01\u0E44\u0E14\u0E49",gradingPercent:"\u0E23\u0E49\u0E2D\u0E22\u0E25\u0E30\u0E02\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E08\u0E33\u0E41\u0E19\u0E01\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A",group:"\u0E01\u0E25\u0E38\u0E48\u0E21",hasMultipleQuestions:"\u0E21\u0E35\u0E2B\u0E25\u0E32\u0E22\u0E02\u0E49\u0E2D",highestScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14",highestTimeTakeExam:"\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E39\u0E07\u0E2A\u0E38\u0E14\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E1B",hourPlural:"\u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hourSingle:"\u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",import:"\u0E19\u0E33\u0E40\u0E02\u0E49\u0E32",introduction:"\u0E1A\u0E17\u0E19\u0E33",invalidConfirmPassword:` \u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19 199`,lastname:"\u0E19\u0E32\u0E21\u0E2A\u0E01\u0E38\u0E25",leavePageConfirmation:"\u0E01\u0E32\u0E23\u0E01\u0E23\u0E2D\u0E01\u0E04\u0E30\u0E41\u0E19\u0E19\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C ! \u0E04\u0E38\u0E13\u0E41\u0E19\u0E48\u0E43\u0E08\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48\u0E27\u0E48\u0E32\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E2B\u0E19\u0E49\u0E32\u0E19\u0E35\u0E49",login:" \u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A ",logout:"\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E23\u0E30\u0E1A\u0E1A",lowestScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E15\u0E48\u0E33\u0E2A\u0E38\u0E14",lowestTimeTakeExam:"\u0E40\u0E27\u0E25\u0E32\u0E15\u0E48\u0E33\u0E2A\u0E38\u0E14\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E1B",manageExamTaker:"\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E23\u0E32\u0E22\u0E0A\u0E37\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E2A\u0E2D\u0E1A",manageScoreAndTrueAnswer:"\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E04\u0E30\u0E41\u0E19\u0E19\u0E41\u0E25\u0E30\u0E40\u0E09\u0E25\u0E22",meaning:"\u0E04\u0E27\u0E32\u0E21\u0E2B\u0E21\u0E32\u0E22",message:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21",minutePlural:"\u0E19\u0E32\u0E17\u0E35",minuteSingle:"\u0E19\u0E32\u0E17\u0E35",name:"\u0E0A\u0E37\u0E48\u0E2D",newConfirmPassword:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E43\u0E2B\u0E21\u0E48",newPassword:"\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E43\u0E2B\u0E21\u0E48",newQuestion:"\u0E04\u0E33\u0E16\u0E32\u0E21\u0E43\u0E2B\u0E21\u0E48",no:"\u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48",notAnswer:"\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A",ok:"\u0E15\u0E01\u0E25\u0E07",online:"\u0E2D\u0E2D\u0E19\u0E44\u0E25\u0E19\u0E4C",onlyForType:"**\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17 {$INTERPOLATION} \u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 ",order:"\u0E25\u0E33\u0E14\u0E31\u0E1A\u0E17\u0E35\u0E48",orderNo:"\u0E25\u0E33\u0E14\u0E31\u0E1A",part:"\u0E2A\u0E48\u0E27\u0E19\u0E17\u0E35\u0E48",partName:"\u0E0A\u0E37\u0E48\u0E2D\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",partPlural:"\u0E2A\u0E48\u0E27\u0E19",partSingle:"\u0E2A\u0E48\u0E27\u0E19",password:"\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19",peo
199ple:"\u0E04\u0E19",percent:"\u0E23\u0E49\u0E2D\u0E22\u0E25\u0E30",pleaseAcceptTermAndPolicy:`\u0E42\u0E1B\u0E23\u0E14\u0E22\u0E2D\u0E21\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E15\u0E01\u0E25\u0E07\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19 \u0E41\u0E25\u0E30 200\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E04\u0E27\u0E32\u0E21\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E31\u0E27`,preview:" \u0E14\u0E39\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07 ",previewQuestion:"\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",progress:"\u0E04\u0E27\u0E32\u0E21\u0E04\u0E37\u0E1A\u0E2B\u0E19\u0E49\u0E32",question:"\u0E04\u0E33\u0E16\u0E32\u0E21",questionBank:"\u0E04\u0E25\u0E31\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",questionCategory:"\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",questionChoice:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",questionCount:"\u0E04\u0E33\u0E16\u0E32\u0E21",questionList:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E04\u0E33\u0E16\u0E32\u0E21",questionNo:"\u0E04\u0E33\u0E16\u0E32\u0E21\u0E17\u0E35\u0E48",questionPlural:"\u0E02\u0E49\u0E2D",questionSingle:"\u0E02\u0E49\u0E2D",questionType:"\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E04\u0E33\u0E16\u0E32\u0E21 :",questionTypeOfCategory:"\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E04\u0E33\u0E16\u0E32\u0E21\u0E43\u0E19\u0E2B\u0E21\u0E27\u0E14\u0E2B\u0E21\u0E39\u0E48\u0E19\u0E35\u0E49",questionWaitForCheck:"\u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E23\u0E2D\u0E15\u0E23\u0E27\u0E08",rank:"\u0E2D\u0E31\u0E19\u0E14\u0E31\u0E1A",register:"\u0E2A\u0E21\u0E31\u0E04\u0E23\u0E2A\u0E21\u0E32\u0E0A\u0E34\u0E01",registerLink:"\u0E2A\u0E21\u0E31\u0E04\u0E23\u0E2A\u0E21\u0E32\u0E0A\u0E34\u0E01\u0E43\u0E2B\u0E21\u0E48",save:"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01",score:"\u0E04\u0E30\u0E41\u0E19\u0E19",scoreAmount:"\u0E04\u0E30\u0E41\u0E19\u0E19",scoreAndTrueAnswer:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E41\u0E25\u0E30\u0E40\u0E09\u0E25\u0E22",scoreLabel:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E17\u0E35\u0E48\u0E44\u0E14\u0E49 :",scorePlaceholder:"\u0E01\u0E23\u0E2D\u0E01\u0E04\u0E30\u0E41\u0E19\u0E19",scoreSelect:"\u0E43\u0E2B\u0E49\u0E04\u0E30\u0E41\u0E19\u0E19 :",scoreTrueAnswer:" \u0E04\u0E30\u0E41\u0E19\u0E19/\u0E40\u0E09\u0E25\u0E22 ",search:" \u0E04\u0E49\u0E19\u0E2B\u0E32 ",searchName:" \u0E04\u0E49\u0E19\u0E2B\u0E32\u0E0A\u0E37\u0E48\u0E2D, \u0E2D\u0E35\u0E40\u0E21\u0E25 ",secondSingle:"\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",select:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E04\u0E25\u0E31\u0E07",selectAnswer:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E04\u0E33\u0E15\u0E2D\u0E1A",selectPart:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",shortAnswerChoice:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E0A\u0E48\u0E2D\u0E07\u0E04\u0E33\u0E15\u0E2D\u0E1A",shortAnswerNote:" \u0E2B\u0E21\u0E32\u0E22\u0E40\u0E2B\u0E15\u0E38: \u0E23\u0E30\u0E1A\u0E1A\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07 Tag [\u0E40\u0E25\u0E02#\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E04\u0E33\u0E15\u0E2D\u0E1A] \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E0A\u0E49\u0E2D\u0E49\u0E32\u0E07\u0E2D\u0E34\u0E07\u0E0A\u0E48\u0E2D\u0E07\u0E04\u0E33\u0E15\u0E2D\u0E1A ",shouldImproveOrRemove:"\u0E04\u0E27\u0E23\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07 \u0E2B\u0E23\u0E37\u0E2D\u0E15\u0E31\u0E14\u0E17\u0E34\u0E49\u0E07",showWatermark:"\u0E41\u0E2A\u0E14\u0E07\u0E25\u0E32\u0E22\u0E19\u0E49\u0E33\u0E14\u0E49\u0E27\u0E22\u0E0A\u0E37\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A",shuffle:"\u0E01\u0E32\u0E23\u0E2A\u0E25\u0E31\u0E1A",shuffleChoice:"\u0E2A\u0E25\u0E31\u0E1A\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01",shuffleChoiceDescription:"(\u0E40\u0E09\u200B\u0E1E\u0E32\u0E30 Multiple Choice \u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E2A\u0E25\u0E31\u0E1A\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01)",shufflePart:"\u0E2A\u0E25\u0E31\u0E1A\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",shuffleQuestion:"\u0E2A\u0E25\u0E31\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21",skip:"\u0E01\u0E32\u0E23\u0E02\u0E49\u0E32\u0E21\u0E02\u0E49\u0E2D",skipQuestion:"\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E02\u0E49\u0E32\u0E21\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49",sortBy:"\u0E40\u0E23\u0E35\u0E22\u0E07\u0E15\u0E32\u0E21",startTime:"\u0E40\u0E27\u0E25\u0E32\u0E40\u0E23\u0E34\u0E48\u0E21",submitting:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E48\u0E07",subQuestionNo:"\u0E02\u0E49\u0E2D",subjectiveSubQuestion:"\u0E40\u0E2B\u0E15\u0E38\u0E1C\u0E25",submitChangePassword:" \u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19 ",submittedExam:" \u0E1C\u0E39\u0E49\u0E17\u0E35\u0E48\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27 ({$INTERPOLATION}) ",sumFullScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E40\u0E15\u0E47\u0E21\u0E23\u0E27\u0E21",sumScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E23\u0E27\u0E21",sumScoreExam:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E23\u0E27\u0E21\u0E02\u0E2D\u0E07\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",termAndPolicy:"\u0E02\u0E49\u0E2D\u0E15\u0E01\u0E25\u0E07\u0E41\u0E25\u0E30\u0E40\u0E07\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E02",testExam:"\u0E17\u0E14\u0E25\u0E2D\u0E07\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",time:"\u0E40\u0E27\u0E25\u0E32",timeUsed:"\u0E40\u0E27\u0E25\u0E32\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E1B",totalAnswer:"\u0E08\u0E33\u0E19\u0E27\u0E19\u0E04\u0E19\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01",totalAnswerPercent:"\u0E08\u0E33\u0E19\u0E27\u0E19\u0E23\u0E49\u0E2D\u0E22\u0E25\u0E30\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01",trueAnswerScore:"\u0E40\u0E09\u0E25\u0E22\u0E19\u0E35\u0E49\u0E44\u0E14\u0E49\u0E04\u0E30\u0E41\u0E19\u0E19",type:"\u
2000E1B\u0E23\u0E30\u0E40\u0E20\u0E17",updated:"\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07",updatedBy:"\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07\u0E42\u0E14\u0E22",uploadImageSize:"\u0E02\u0E19\u0E32\u0E14 {$INTERPOLATION}*{$INTERPOLATION_1}px",verifyEmail:"\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E2D\u0E35\u0E40\u0E21\u0E25",verifyEmailSuggestion:"\u0E40\u0E23\u0E32\u0E44\u0E14\u0E49\u0E2A\u0E48\u0E07\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E44\u0E1B\u0E17\u0E35\u0E48 {$INTERPOLATION} \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E27\u0E48\u0E32\u0E04\u0E38\u0E13\u0E40\u0E1B\u0E47\u0E19\u0E40\u0E08\u0E49\u0E32\u0E02\u0E2D\u0E07\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E41\u0E2D\u0E14\u0E40\u0E14\u0E23\u0E2A\u0E14\u0E31\u0E07\u0E01\u0E25\u0E48\u0E32\u0E27 \u0E42\u0E1B\u0E23\u0E14\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E01\u0E25\u0E48\u0E2D\u0E07\u0E02\u0E32\u0E40\u0E02\u0E49\u0E32\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E41\u0E25\u0E30\u0E17\u0E33\u0E15\u0E32\u0E21\u0E04\u0E33\u0E41\u0E19\u0E30\u0E19\u0E33\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E1A\u0E31\u0E0D\u0E0A\u0E35\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E43\u0E2B\u0E49\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",veryGood:"\u0E14\u0E35\u0E21\u0E32\u0E01",view:"View",viewTrueAnswer:" \u0E14\u0E39\u0E40\u0E09\u0E25\u0E22\u0E01\u0E32\u0E23\u0E43\u0E2B\u0E49\u0E04\u0E30\u0E41\u0E19\u0E19 ",waitForCheck:"\u0E23\u0E2D\u0E15\u0E23\u0E27\u0E08"};var E_={action:"Action",actionType:"Action Type",activityLog:"Activity Log",activityLogAction:"Action",add:"Add",addChoice:"Add Choice",addContent:"Add Additional Content",addDesc:"Add Introduction",addExamPart:"Add Exam Part",addGroup:"Add Group",addQuestion:"Add Question",addScore:"Add Score",addTag:"Add Tag",addTrueAnswer:"Add Answer",additionalQuestion:" Additional Question ",admin:"Admin",agreementAccept:"I Agree",agreementAnd:"And",agreementPolicy:"Privacy Policy",agreementTerm:"Usage Agreement Term",alreadyRegistered:"Have an account? Go to ",anErrorOccurred:"An Error Occurred",answer:"Answer",answerCorrect:"Correct",answerLimit:"Answer Limit",answerWrong:"Incorrect",answered:"Answered",answering:"Working",assignScore:" Set Score ",avgScore:"Average Score",backToLogin:"Back to Login",browserNotSupport:"Your browser not support",calculationExample:"Calculation Example",calculationMethod:"Calculation Method",cancel:"Cancel",cannotCopy:"Cannot Copy",category:"Category",categoryList:"Category List",categoryName:"Category Name",categorySumScore:"Category Summarized Score",changePassword:"Change Password",changePasswordSuccess:"Change Password Successful",checkAll:"Re-Check All",checkBy:"Check by",checkBySystem:"System Checked",checkByUser:"Examiner Checked",checkExceptChangeScore:"Except Score Adjusted by Examiner",checkStatus:"Checking Status",checked:"Checked",choice:"Choice",choiceScore:"Choice Score",clone:"Duplicate",collapseContent:"Collapse",comparisonTable:"Comparison Table",comparisonTableDifficultyIndex:"Difficulty Index Table",comparisonTableGradingIndex:"Discrimination Index Table",confirm:"Confirm",confirmPassword:"Re-Confirm Password",copied:"Copied !",copy:"Copy",correctAnswerRatio:"Correctness Ratio",create:"Create",createOwnPassword:"Create Own Password",createPart:"Create Exam Part",created:"Created",createdBy:"Created By",date:"Date",delete:"Delete",description:"Difficulty (p)",difficultyIndex:"Difficulty Index",difficultyIndexExam:"Difficulty Index of This Exam (p)",difficultyIndexExample:"There are 10 exam takers which 4 answered correctly",difficultyIndexExampleResult:"Difficulty Index: Moderate",difficultyIndexFormular:"Difficulty Index Formular",difficultyIndexModerately:"Moderate",difficultyIndexN:"N = Number of Exam Takers",difficultyIndexP:"P = Difficulty of Question",difficultyIndexQuiteDifficult:"Difficult",difficultyIndexQuiteEasy:"Easy",difficultyIndexR:"R = Number of Correctness",difficultyIndexVeryDifficult:"Very Difficult",difficultyIndexVeryEasy:"Very Easy",editContent:"Edit Additional Content",editDelete:"Edit/Delete",editDesc:"Edit Introduction",editGroup:"Edit Group",editScore:" Edit Score ",email:"Email",emailDoesNotExisted:"Email does not existed.",emailExamResult:"Send Exam Score",emailExamResultConfirm:'Would you like to send Exam Score to "{$PH}" ?',emailExamResultConfirmMultiple:'Would you like to send Exam Score to selected "{$PH} exam takers" ?',emailOrPasswordInvalid:"Email or password invali
200d",examApplicationError:"Invalid exam application",examApplicationPleaseAtLeastOne:"Please select at least 1 application",examCannotEdit:"Unable to edit the content due to this exam has been taken.",examClone:"Duplicate Exam Suit",examCloneConfirm:'Do you want to duplicate "{$PH}" ?',examCreate:"Create Exam Suit",examDate:"Exam Date",examDisable:"Disable",examDurationTime:"Exam duration time",examEdit:"Edit Exam Suit",examEnable:"Enable",examEnableConfirm:"Enable Confirm",examEnableConfirmText:"If you confirm to enable this exam, the exam content will not be able edit once this exam has been taken.",examEnableDisable:"Enable/Disable",examEndTime:"End Time",examInfo:"Exam Info",examList:"Exam Suit",examName:"Exam Name",examPart:"Exam Part",examPartClone:"Clone Exam Part",examPartCloneConfirm:'Do you want to clone "{$PH}" ?',examPrivacyPrivate:"Restriced to added Exam Taker",examPrivacyPublic:"Anyone with the Link",examResult:"Exam Result",examResultDetailHTML:"Detailed Exam Result (HTML)",examSchedule:"Exam Schedule",examScheduleError:"Incorrect Exam Schedule",examSchedulePleaseLimitTime:"Please limit the exam time.",examScheduleUnableEndTimeLessThanStartTime:"Unable to set End Time before the current time.",examStartDate:"Start Date",examStartTime:"Start Time",examSubmitTime:"Submit Time",examTabChecking:"Exam Scoring",examTabInfo:"General Info",examTabMonitor:"Exam Monitoring",examTabPartList:"Exam Part",examTabProctor:"Proctor",\u0E1C\u0E39\u0E49\u0E04\u0E38\u0E21\u0E2A\u0E2D\u0E1A:"Exam Monitor",examTaker:"Exam Taker",examTakerAnswerList:" Answer List ",examTakerCorrectCount:"Correctness Count",examTakerHighestScore:"Highest Score",examTakerList:"Exam Taker List",examTakerLowestScore:"Lowest Score",examTakerRank:"Exam Taker Rank",examTakerScore:"Score",examTakerStartExam:"Start Date",examTakerSubmitExam:"Submit Date",examTakerWaitForCheck:"Pending Check",examTestPartCount:"Parts",examTimeLeft:" Remaining Time ",examining:"Exam In Progress",example:"Example",export:"Export",exportScore:"Score",exportScoreByCategory:"Score by Category",features:"Features",finish:"Finish",finishedCheckExamTaker:"Exam Taker Checked",finishedCheckQuestion:"Question Checked",firstname:"First Name",forgotPassword:"Forgot Password",forgotPasswordEmail:"Please enter your email",forgotPasswordLink:"Forgot Password?",forgotPasswordSubmit:" Submit to change password ",fullScore:"Max Score",generatePassword:"Re-generate Password",generatePasswordConfirm:"If you re-generate password, the old password will be disabled. Are you sure to proceed?",good:"Good",gradingIndex:"Discrimination Index",gradingIndexBad:"Discrimination Index : Bad",gradingIndexExam:"Discrimination Index (r)",gradingIndexExampleNh:"Nh = Number of High Score Exam Takers (3)",gradingIndexExampleNl:"Nl = Number of Low Score Exam Takers (3)",gradingIndexExampleResult:"Discrimination Index : Good",gradingIndexExampleRh:"Rh = Number of Correct Answered High Score Exam Takers (3)",gradingIndexExampleRl:"Rl = Number of Correct Answered Low Score Exam Takers (1)",gradingIndexFair:"Discrimination Index : Moderate",gradingIndexFormular:"Discrimination Index Formular",gradingIndexGood:"Discrimination Index : Good",gradingIndexNh:"Nh = Number of High Score Exam Takers",gradingIndexNl:"Nl = Number of Low Score Exam Takers",gradingIndexRh:"Rh = Number of Correct Answered High Score Exam Takers",gradingIndexRl:"Rl = Number of Correct Answered Low Score Exam Takers",gradingIndexSetting:"Discrimination Ratio Setting",gradingIndexVeryBad:"Discrimination Index : Poor",gradingIndexVeryGood:"Discrimination Index : Excellent",gradingIndexIndistinguishable:"Discrimination Index : Indistinguishable",gradingPercent:"Discrimination Ratio",group:"Group",hasMultipleQuestions:"Multiple Questions",highestScore:"Highest Score",highestTimeTakeExam:"Highest Time Used",hourPlural:"Hours",hourSingle:"Hour",import:"Import",introduction:"Introduction",invalidConfirmPassword:` Password Doesn't Match 201`,invalidExamPassword:"Invalid exam password.",lastname:"Last Name",leavePageConfirmation:"Scoring has not completed! Are you sure to leave this page?",login:" Login ",logout:"Logout",lowestScore:"Lowest Score",lowestTimeTakeExam:"Lowest Time Used",manageExamTaker:"Manage Exam Taker Allow List",manageScoreAndTrueAnswer:"Manage Score and Answer",meaning:"Meaning",message:"Message",minutePlural:"Minutes",minuteSingle:"Minute",name:"Name",newConfirmPassword:"Re-Confirm New Password",newPassword:"New Password",newQuestion:"New Question",no:"No.",notAnswer:"Blank Answered",ok:"OK",online:"Online",onlyForType:"**Only for question type '{$INTERPOLATION}' ",order:"Order",orderNo:"Order No.",part:"Part",partName:"Part Name",partPlural:"Parts",partSingle:"Part",password:"Password",people:"People",percent:"Percent",pleaseAcceptTermAndPolicy:`Please accept usage agreement term and 202privacy policy`,preview:" Preview ",previewQuestion:"Preview Question",progress:" Progress ",question:"Question",questionBank:"Question Bank",questionCategory:"Question Category",questionChoice:"Answer Choice",questionCount:"Questions",questionList:"Question List",questionNo:"Question No.",questionPlural:"questions",questionSingle:"question",questionType:"Question Type",questionTypeOfCategory:"Question Type in Category",questionWaitForCheck:"Pending Check Question",rank:"Rank",register:"Register",registerLink:"Register",save:"Save",score:"Score",scoreAmou
202nt:"Score",scoreAndTrueAnswer:"Score and Correct Answer",scoreLabel:"Score :",scorePlaceholder:"Enter score here",scoreSelect:"Select Score :",scoreTrueAnswer:" Score/Answer ",search:" Search ",searchName:" Search Name, Email ",secondSingle:"Second",select:"Select from Question Bank",selectAnswer:"Select Answer",selectPart:"Select Part",shortAnswerChoice:"Answer Choice",shortAnswerNote:" Remark: System will show Tag [Numeric#Type] for reference ",shouldImproveOrRemove:"Improvement Needed or Remove",showWatermark:"Show watermark with exam taker name",shuffle:"Shuffle",shuffleChoice:"Choice Shuffle",shuffleChoiceDescription:"(Only Multiple Choice that support choice shuffle)",shufflePart:"Part Shuffle",shuffleQuestion:"Question Shuffle",skip:"Skip",skipQuestion:"Allow to skip",sortBy:"Sort By",startTime:"Start Time",submitting:"Submitting",subQuestionNo:"No.",subjectiveSubQuestion:"Subjective ",submitChangePassword:" Confirm Password Changing ",submittedExam:" Submitted ({$INTERPOLATION}) ",sumFullScore:"Max Score",sumScore:"Total Score",sumScoreExam:"Sub-Total Score",termAndPolicy:"Agreement Term & Policy",testExam:"Try out Exam",time:"Time",timeUsed:"Time Spent",totalAnswer:"Chosen Count",totalAnswerPercent:"Chosen Percentage",trueAnswerScore:"Final Score",type:"Type",updated:"Last Updated",updatedBy:"Updated By",uploadImageSize:"Image Size: {$INTERPOLATION}*{$INTERPOLATION_1}px",verifyEmail:"Verify Email",verifyEmailSuggestion:"We have sent email to {$INTERPOLATION} for account verification. Please check your inbox and follow the guidance to complete the registration.",veryGood:"Excellent",view:"View",viewTrueAnswer:" View Correct Answer ",waitForCheck:"Pending Check"};function PI(){let i=window.localStorage.getItem(`${Ho.config.storagePrefix}locale`)||"th";return new Promise((e,r)=>{i==="th"?(gi.defaultLocale="th",gi.defaultOutputCalendar="buddhist",e(g_)):(gi.defaultLocale="en",gi.defaultOutputCalendar="gregory",e(E_))})}var b_={anErrorOccurred:"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14",answer:"\u0E04\u0E33\u0E15\u0E2D\u0E1A",answeredQuestion:"\u0E27\u0E07\u0E01\u0E25\u0E21\u0E17\u0E36\u0E1A \u0E2B\u0E21\u0E32\u0E22\u0E16\u0E36\u0E07 \u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E15\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27",calculator:"\u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E1B\u0E34\u0E14\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E04\u0E34\u0E14\u0E40\u0E25\u0E02",canSkipQuestionByClick:"\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E17\u0E33\u0E02\u0E49\u0E32\u0E21\u0E02\u0E49\u0E2D\u0E44\u0E14\u0E49 \u0E42\u0E14\u0E22\u0E04\u0E25\u0E34\u0E01\u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23",correctAnswer:"\u0E02\u0E49\u0E2D\u0E16\u0E39\u0E01 (\u0E02\u0E49\u0E2D)",continueExam:"\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E15\u0E48\u0E2D",deleteConfirmation:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E01\u0E32\u0E23\u0E25\u0E1A",deleteConfirmationMessage:'\u
2020E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E25\u0E1A "{{$INTERPOLATION}}" \u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48',detail:"\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14",doNewQuestion:"\u0E17\u0E33\u0E42\u0E08\u0E17\u0E22\u0E4C\u0E43\u0E2B\u0E21\u0E48\u0E40\u0E21\u0E37\u0E48\u0E2D",downloadSuccess:"\u0E14\u0E32\u0E27\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27",email:"\u0E2D\u0E35\u0E40\u0E21\u0E25",emailOrPasswordInvalid:"\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E2B\u0E23\u0E37\u0E2D\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",examConfirm:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examConfirmMessage:" \u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48 ?",examConfirmMessageWithNotComplete:` "\u0E17\u0E48\u0E32\u0E19\u0E22\u0E31\u0E07\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E44\u0E21\u0E48\u0E04\u0E23\u0E1A" 203\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48 ?`,examDismiss:"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",examDuration:"\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E43\u0E19\u0E01\u0E32\u0E23\u0E17\u0E33\u0E42\u0E08\u0E17\u0E22\u0E4C",examExpired:"\u0E23\u0E30\u0E22\u0E30\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E34\u0E49\u0E19\u0E2A\u0E38\u0E14\u0E25\u0E07\u0E41\u0E25\u0E49\u0E27 \u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E17\u0E33\u0E44\u0E27\u0E49\u0E08\u0E30\u0E16\u0E39\u0E01\u0E2A\u0E48\u0E07\u0E44\u0E1B\u0E42\u0E14\u0E22\u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34",examFileHasNewUpdate:"\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E21\u0E35\u0E2D\u0E31\u0E1B\u0E40\u0E14\u0E15\u0E43\u0E2B\u0E21\u0E48",examFinished:"\u0E2A\u0E34\u0E49\u0E19\u0E2A\u0E38\u0E14\u0E01\u0E32\u0E23\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examDone:"\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27 ",examSubmit:"\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examNameLabel:"\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A : {{$INTERPOLATION}}",examPassword:"\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examResult:"\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E15\u0E23\u0E27\u0E08",examResumeSubtitle:"\u0E04\u0E38\u0E13\u0E40\u0E23\u0E34\u0E48\u0E21\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27\u0E41\u0E15\u0E48\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E2A\u0E48\u0E07",examResumeTitle:"\u0E1E\u0E1A\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19",examScore:"\u0E04\u0E30\u0E41\u0E19\u0E19\u0E17\u0E35\u0E48\u0E44\u0E14\u0E49 {{$INTERPOLATION}} / {{$INTERPOLATION_1}} \u0E04\u0E30\u0E41\u0E19\u0E19",examStartDate:"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E2B\u0E49\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A \u0E27\u0E31\u0E19\u0E17\u0E35\u0E48 ",examName:"\u0E0A\u0E37\u0E48\u0E2D\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTaker:"\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",examProgress:"\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E01\u0E32\u0E23\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examSummary:"\u0E2A\u0E23\u0E38\u0E1B\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",examsFinished:"\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E34\u0E49\u0E19\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",firstname:"\u0E0A\u0E37\u0E48\u0E2D",forTest:"(\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E17\u0E14\u0E2A\u0E2D\u0E1A)",helpPartProgress:"\u0E41\u0E16\u0E1A\u0E41\u0E2A\u0E14\u0E07\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",helpTotalPart:"\u0E08\u0E33\u0E19\u0E27\u0E19\u0E0A\u0E48\u0E2D\u0E07 \u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A \u0E08\u0E33\u0E19\u0E27\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",helpCurrentPart:"\u
2030E0A\u0E48\u0E2D\u0E07\u0E2A\u0E35\u0E40\u0E02\u0E49\u0E21 \u0E2B\u0E21\u0E32\u0E22\u0E16\u0E36\u0E07 \u0E2A\u0E48\u0E27\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19",home:"\u0E2B\u0E19\u0E49\u0E32\u0E2B\u0E25\u0E31\u0E01",howTo:"\u0E27\u0E34\u0E18\u0E35\u0E43\u0E0A\u0E49",lastname:"\u0E19\u0E32\u0E21\u0E2A\u0E01\u0E38\u0E25",login:"\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A",logout:"\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E23\u0E30\u0E1A\u0E1A",message:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21",nextQuestion:"\u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E44\u0E1B\u0E42\u0E08\u0E17\u0E22\u0E4C\u0E02\u0E49\u0E2D\u0E15\u0E48\u0E2D\u0E44\u0E1B",name:"\u0E0A\u0E37\u0E48\u0E2D",no:"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48",ok:"\u0E15\u0E01\u0E25\u0E07",openUntil:"\u0E40\u0E1B\u0E34\u0E14\u0E08\u0E19\u0E16\u0E36\u0E07",or:"\u0E2B\u0E23\u0E37\u0E2D",preDownloadFile:"\u0E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E38\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E25\u0E48\u0E27\u0E07\u0E2B\u0E19\u0E49\u0E32",prevQuestion:"\u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A\u0E42\u0E08\u0E17\u0E22\u0E4C\u0E02\u0E49\u0E2D\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",queue:"\u0E04\u0E34\u0E27",question:"\u0E04\u0E33\u0E16\u0E32\u0E21\u0E17\u0E35\u0E48 {{$INTERPOLATION}} / {{$INTERPOLATION_1}}",questionName:"\u0E0A\u0E37\u0E48\u0E2D\u0E42\u0E08\u0E17\u0E22\u0E4C",questionNumber:"\u0E02\u0E49\u0E2D",quitAndBackToHome:"\u0E40\u0E25\u0E34\u0E01\u0E17\u0E33 \u0E41\u0E25\u0E30\u0E01\u0E25\u0E31\u0E1A\u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32\u0E2B\u0E25\u0E31\u0E01",reloadPage:"\u0E42\u0E2B\u0E25\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E43\u0E2B\u0E21\u0E48",saveAndNext:"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E25\u0E30\u0E44\u0E1B\u0E15\u0E48\u0E2D",selectAnswer:"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E04\u0E33\u0E15\u0E2D\u0E1A",showExamProgress:"\u0E01\u0E14\u0E1B\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E41\u0E2A\u0E14\u0E07\u0E2A\u0E16\u0E32\u0E19\u0E30\u0E01\u0E32\u0E23\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",studentAnswer:"\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E19\u0E31\u0E01\u0E40\u0E23\u0E35\u0E22\u0E19",subQuestion:"\u0E02\u0E49\u0E2D\u0E22\u0E48\u0E2D\u0E22",summaryNewQuestion:"\u0E2A\u0E23\u0E38\u0E1B\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E17\u0E33\u0E42\u0E08\u0E17\u0E22\u0E4C\u0E43\u0E2B\u0E21\u0E48",totalQuestion:"\u0E42\u0E08\u0E17\u0E22\u0E4C\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 (\u0E02\u0E49\u0E2D)",unansweredQuestion:"\u0E27\u0E07\u0E01\u0E25\u0E21\u0E27\u0E48\u0E32\u0E07 \u0E2B\u0E21\u0E32\u0E22\u0E16\u0E36\u0E07 \u0E02\u0E49\u0E2D\u0E17\u0E35\u0E48\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A",uncheckAnswer:"\u0E02\u0E49\u0E2D\u0E44\u0E21\u0E48\u0E15\u0E23\u0E27\u0E08 (\u0E02\u0E49\u0E2D)",wait:"\u0E23\u0E2D\u0E2D\u0E35\u0E01",wrongAnswer:"\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14 (\u0E02\u0E49\u0E2D)",yes:"\u0E43\u0E0A\u0E48",browserDoesNotSupportTracking:"Browser \u0E19\u0E35\u0E49\u0E44\u0E21\u0E48\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E15\u0E34\u0E14\u0E15\u0E32\u0E21\u0E1C\u0E39\u0E49\u0E2A\u0E2D\u0E1A \u0E42\u0E1B\u0E23\u0E14\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19 Browser \u0E41\u0E25\u0E30\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E1A\u0E19 Desktop",invalidExamPassword:"\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",invalidExamApp:"\u0E42\u0E1B\u0E23\u0E41\u0E01\u0E23\u0E21\u0E19\u0E35\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15",emailAddressInvalid:"\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",emailDoesNotExisted:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E2D\u0E35\u0E40\u0E21\u0E25\u0E19\u0E35\u0E49",examDoesNotStartYet:"\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E16\u0E36\u0E07\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A",examAlreadyEnd:"\u0E2B\u0E21\u0E14\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A",examIsClosed:"\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E16\u0E39\u0E01\u0E1B\u0E34\u0E14\u0E44\u0E27\u0E49",examNotFound:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examNotAllowWebApp:"\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E44\u0E21\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E43\u0E0A\u0E49 web app",examNotAllowDesktopApp:"\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E44\u0E21\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E43\u0E0A\u0E49 desktop app",examNotAllowMobileApp:"\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E44\u0E21\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E43\u0E0A\u0E49 iPad app",pleaseUse:"\u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49",pleaseAllowToAccessLocation:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E15\u0E33\u0E41\u0E2B\u0E19\u0E48\u0E07",tickRememberThisDecision:'\u0E41\u0E25\u0E30\u0E15\u0E34\u0E4A\u0E01 "Remember this decision"',pleaseReloadThePageAfterUpdatingPermission:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E23\u0E35\u0E42\u0E2B\u0E25\u0E14\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E27\u0E47\u0E1A\u0E2B\u0E25\u0E31\u0E07\u0E08\u0E32\u0E01\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E44\u0E14\u0E49\u0E1B\u0E23\u0E31\u0E1A\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15",pleaseShareScreenBeforeStartTheExam:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E23\u0E34\u0E48\u0E21\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",shareScreen:"\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D",screenShared:"\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D\u0E41\u0E25\u0E49\u0E27",noticeAboutShareScreenTitle:"\u0E04\u0E38\u0E13\u0E01\u0E33\u0E25\u0E31\u0E07\u0E08\u0E30\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D",noticeAboutShareScreenMessageForMobile:"\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D\u0E41\u0E25\u0E49\u0E27 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E01\u0E14\u0E17\u0E35\u0E48\u0E1E\u0E37\u0E49\u0E19\u0E17\u0E35\u0E48\u0E27\u0E48\u0E32\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E25\u0E31\u0E1A\u0E21\u0E32\u0E22\u0E31\u0E07\u0E2B\u0E19\u0E49\u0E32\u0E19\u0E35\u0E49",noticeAboutShareScreenMessageForWeb:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E0A\u0E23\u0E4C\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D (Entire Screen)",pleaseShareCameraBeforeStartTheExam:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E23\u0E34\u0E48\u0E21\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",pleaseShareCameraAndScreenBeforeStartTheExam:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E41\u0E25\u0E30\u0E41\u0E0A\u0E23\u0E4C\u0E2B\u0E19\u0E49\u0E32\u0E08\u0E2D\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E23\u0E34\u0E48\u0E21\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",openCamera:"\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E25\u0E49\u0E2D\u0E07",cameraOn:"\u0E40\u0E1B\u0E34\u0E14\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E41\u0E25\u0E49\u0E27",cameraByp
203assed:"\u0E2A\u0E2D\u0E1A\u0E42\u0E14\u0E22\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E49\u0E01\u0E25\u0E49\u0E2D\u0E07",cannotAcivateCamera:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E25\u0E49\u0E2D\u0E07",cameraNotFound:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07",closedOn:"\u0E1B\u0E34\u0E14\u0E40\u0E21\u0E37\u0E48\u0E2D",noCamera:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E25\u0E49\u0E2D\u0E07",pleaseAllowToAccessCamera:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E43\u0E2B\u0E49\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07",pleaseCheckCamera:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13",askForBypassCamera:"\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E42\u0E14\u0E22\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E49\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48",cameraRequiredCannotStart:"\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E19\u0E35\u0E49\u0E08\u0E33\u0E40\u0E1B\u0E47\u0E19\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E0A\u0E49\u0E01\u0E25\u0E49\u0E2D\u0E07 \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E23\u0E34\u0E48\u0E21\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49\u0E2B\u0E32\u0E01\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E25\u0E49\u0E2D\u0E07",noticeAboutOpenCameraTitle:"\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E01\u0E25\u0E49\u0E2D\u0E07",noticeAboutOpenCameraMessage:"\u0E41\u0E2D\u0E1B\u0E1E\u0E25\u0E34\u0E40\u0E04\u0E0A\u0E31\u0E19\u0E08\u0E30\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E01\u0E25\u0E49\u0E2D\u0E07\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13",yourSessionHasExpired:"\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E48\u0E19\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E2B\u0E21\u0E14\u0E2D\u0E32\u0E22\u0E38",pleaseLoginAgain:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",exitToHomePage:"\u0E2D\u0E2D\u0E01\u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32\u0E41\u0E23\u0E01",doYouWantToExitToHomePage:"\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32\u0E41\u0E23\u0E01\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48",exitToLoginPage:"\u0E2B\u0E22\u0E38\u0E14\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27",doYouWantToExitToLoginPage:`\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2B\u0E22\u0E38\u0E14\u0E2A\u0E2D\u0E1A\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48 204\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E2A\u0E48\u0E23\u0E2B\u0E31\u0E2A\u0E1C\u0E48\u0E32\u0E19\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E15\u0E48\u0E2D`,confirmLogout:"\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E23\u0E30\u0E1A\u0E1A\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48",confirmLogoutWithUnsyncedAnswer:"\u0E21\u0E35\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E17\u0E35\u0E48\u0E22\u0E31\u0E07\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E2A\u0E48\u0E07\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E40\u0E0B\u0E34\u0E1F\u0E40\u0E27\u0E2D\u0E23\u0E4C \u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49\u0E08\u0E30\u0E16\u0E39\u0E01\u0E25\u0E1A\u0E17\u0E34\u0E49\u0E07 \u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E23\u0E30\u0E1A\u0E1A\u0E43\u0E0A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48",endTheExam:"\u0E22\u0E38\u0E15\u0E34\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",doYouWantToEndTheExamAndExitToHome:`\u0E04\u0E38\u0E13\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E22\u0E38\u0E15\u0E34\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A? 205\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E08\u0E30\u0E16\u0E39\u0E01\u0E25\u0E1A\u0E2D\u0E2D\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 \u0E2B\u0E32\u0E01\u0E40\u0E02\u0E49\u0E32\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E40\u0E14\u0E34\u0E21\u0E08\u0E30\u0E15\u0E49\u0E2D\u0E07\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E21\u0E48`,endTest:"\u0E2A\u0E34\u0E49\u0E19\u0E2A\u0E38\u0E14\u0E01\u0E32\u0E23\u0E17\u0E14\u0E2A\u0E2D\u0E1A",endOfTest:"\u0E02\u0E49\u0E2D\u0E2A\u0E38\u0E14\u0E17\u0E49\u0E32\u0E22\u0E41\u0E25\u0E49\u0E27",youAreOffline:"\u0E04\u0E38\u0E13\u0E2D\u0E2D\u0E1F\u0E44\u0E25\u0E19\u0E4C",pleaseCheckYourInternetConnection:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E01\u0E32\u0E23\u0E40\u0E0A\u0E37\u0E48\u0E2D\u0E21\u0E15\u0E48\u0E2D\u0E2D\u0E34\u0E19\u0E40\u0E17\u0E2D\u0E23\u0E4C\u0E40\u0E19\u0E47\u0E15\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13",serverCannotBeReached:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E0A\u0E37\u0E48\u0E2D\u0E21\u0E15\u0E48\u0E2D\u0E40\u0E0B\u0E34\u0E23\u0E4C\u0E1F\u0E40\u0E27\u0E2D\u0E23\u0E4C\u0E44\u0E14\u0E49",pleaseTryAgainLaterOrContactSupport:"\u0E01\u0E23\u0E38\u0E13\u0E32\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E40\u0E08\u0E49\u0E32\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48",cannotStartExam:"\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",thisDeviceHasSomeProblems:"\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E19\u0E35\u0E49\u0E21\u0E35\u0E1B\u0E31\u0E0D\u0E2B\u0E32\u0E1A\u0E32\u0E07\u0E2D\u0E22\u0E48\u0E32\u0E07",examQuestionNotFound:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E04\u0E33\u0E16\u0E32\u0E21",examFileNotFound:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E44\u0E1F\u0E25\u0E4C\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",startExam:"\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",startedAt:"\u0E40\u0E23\u0E34\u0E48\u0E21\u0E40\u0E21\u0E37\u0E48\u0E2D",status:"\u0E2A\u0E16\u0E32\u0E19\u0E30",statusExpired:"\u0E2B\u0E21\u0E14\u0E40\u0E27\u0E25\u0E32",statusStillOpen:"\u0E22\u0E31\u0E07\u0E40\u0E1B\u0E34\u0E14\u0E2D\u0E22\u0E39\u0E48",confirmExamTaker:"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",downloadExam:"\u
2050E14\u0E32\u0E27\u0E19\u0E4C\u0E42\u0E2B\u0E25\u0E14\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",decryptExam:"\u0E16\u0E2D\u0E14\u0E23\u0E2B\u0E31\u0E2A\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",unzipExam:"\u0E41\u0E22\u0E01\u0E44\u0E1F\u0E25\u0E4C\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",readExam:"\u0E2D\u0E48\u0E32\u0E19\u0E44\u0E1F\u0E25\u0E4C\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",startingExam:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A",findLocation:"\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E15\u0E33\u0E41\u0E2B\u0E19\u0E48\u0E07",timeLeftAlert:"\u0E41\u0E08\u0E49\u0E07\u0E40\u0E15\u0E37\u0E2D\u0E19\u0E40\u0E27\u0E25\u0E32\u0E17\u0E35\u0E48\u0E40\u0E2B\u0E25\u0E37\u0E2D",timeLeftXMinutes:"\u0E40\u0E2B\u0E25\u0E37\u0E2D\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A {{$INTERPOLATION}} \u0E19\u0E32\u0E17\u0E35",examOutOfTime:"\u0E2B\u0E21\u0E14\u0E40\u0E27\u0E25\u0E32\u0E17\u0E33\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",waitForSendAnswerToastMessage:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E48\u0E07\u0E04\u0E33\u0E15\u0E2D\u0E1A \u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E0A\u0E47\u0E04\u0E2A\u0E31\u0E0D\u0E0D\u0E32\u0E13\u0E2D\u0E34\u0E19\u0E40\u0E17\u0E2D\u0E23\u0E4C\u0E40\u0E19\u0E47\u0E15",examTakingNotFound:"\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",submittingExam:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",submitExamError:"\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E01\u0E23\u0E38\u0E13\u0E32\u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E40\u0E08\u0E49\u0E32\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48",submittedExam:"\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27",submitExamComplete:"\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A\u0E40\u0E23\u0E35\u0E22\u0E1A\u0E23\u0E49\u0E2D\u0E22\u0E41\u0E25\u0E49\u0E27",summaryExamError:"\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E14\u0E36\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E23\u0E38\u0E1B\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49",youCanCloseTheProgram:"\u0E17\u0E48\u0E32\u0E19\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1B\u0E34\u0E14\u0E42\u0E1B\u0E23\u0E41\u0E01\u0E23\u0E21\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E2B\u0E49\u0E2D\u0E07\u0E2A\u0E2D\u0E1A\u0E44\u0E14\u0E49",submitExam:"\u0E2A\u0E48\u0E07\u0E02\u0E49\u0E2D\u0E2A\u0E2D\u0E1A",examTime:"\u0E43\u0E0A\u0E49\u0E40\u0E27\u0E25\u0E32\u0E2A\u0E2D\u0E1A",goToHomePage:"\u0E01\u0E25\u0E31\u0E1A\u0E44\u0E1B\u0E2B\u0E19\u0E49\u0E32\u0E41\u0E23\u0E01"};var y_={anErrorOccurred:"An Error Occurred",answer:"Answer",answeredQuestion:"Solid Cycle: Answered Question",calculator:"Calculator",canSkipQuestionByClick:"You can skip the question by clicking",correctAnswer:"Correct Answer (amount)",continueExam:"Continue Exam",deleteConfirmation:"Delete Confirmation",deleteConfirmationMessage:'Are you sure you want to delete "{{$INTERPOLATION}}"?',detail:"Detail",doNewQuestion:"Take a new exam when",downloadSuccess:"Exam download completed",email:"Email",emailOrPasswordInvalid:"Email or password invalid",examConfirm:"Confirm",examConfirmMessage:"Do you want to finish the exam?",examConfirmMessageWithNotComplete:` "You haven't completed the test yet." 206Do you want to finish the exam?`,examDismiss:"Cancel",examDuration:"Time used to exam",examExpired:"The exam period has ended. The answers you have done will be automatically submitted",examFileHasNewUpdate:"New Update",examFinished:"Exam Finished",examDone:"Have done ",examSubmit:"Submit Exam",examNameLabel:" Exam name : {{ $INTERPOLATION }} ",examPassword:"Exam Password",examResult:"Exam Result",examResumeSubtitle:"You started an exam that hasn't been submitted yet",examResumeTitle:"Unfinished Exam Detected",examScore:" Score {{$INTERPOLATION}} / {{$INTERPOLATION_1}} point ",examStartDate:" Exam start date ",examProgress:"Exam Progress",examSummary:"Exam Summary",examName:"Exam Name",examTaker:"Exam Taker",examsFinished:"Exams Finished",firstname:"Firstname",forTest:" (for test) ",helpPartProgress:"Part Progress",helpTotalPart:"Square represent part",helpCurrentPart:"C
206olored square is current part",home:"Home",howTo:"How to",lastname:"Lastname",login:" Login ",logout:"Logout",message:"Message",nextQuestion:"Next Question",name:"Name",no:"No",ok:"OK",openUntil:"Open until",or:"or",preDownloadFile:"Pre-Download Exam",prevQuestion:"Previous Question",queue:"queue",question:"Question {{$INTERPOLATION}} / {{$INTERPOLATION_1}}",questionName:"Question Name",questionNumber:"Question Number",quitAndBackToHome:"Quit and Back to Home",reloadPage:"Reload Page",saveAndNext:"Save & Next",selectAnswer:"Select Answer",showExamProgress:"Show Exam Progress",studentAnswer:"Student Answer",subQuestion:"Sub Question",summaryNewQuestion:"Summary of a new question",totalQuestion:"Total Question (amount)",unansweredQuestion:"Empty Cycle: Unanswered Question",uncheckAnswer:"Uncheck Answer (amount)",wait:"Waiting",wrongAnswer:"Wrong Answer (amount)",yes:"Yes",browserDoesNotSupportTracking:"This browser does not support exam tracking. Please change the browser and use it on desktop.",invalidExamPassword:"Invalid exam password.",invalidExamApp:"This app is not allowed.",emailAddressInvalid:"Email address invalid.",emailDoesNotExisted:"Email does not existed.",examDoesNotStartYet:"Exam does not start yet.",examAlreadyEnd:"Exam already end.",examIsClosed:"Exam is closed.",examNotFound:"Exam not found.",examNotAllowWebApp:"This exam does not allow web app.",examNotAllowDesktopApp:"This exam does not allow desktop app.",examNotAllowMobileApp:"This exam does not allow iPad app.",pleaseUse:"Please use",pleaseAllowToAccessLocation:"Please allow to access location",tickRememberThisDecision:'And also tick "Remember this decision"',pleaseReloadThePageAfterUpdatingPermission:"Please reload the page after updating permission",pleaseShareScreenBeforeStartTheExam:"Please share screen before start the exam.",shareScreen:"Share Screen",screenShared:"Screen Shared",noticeAboutShareScreenTitle:"You are about to share screen",noticeAboutShareScreenMessageForMobile:"When the screen is shared, please click on the blank area to return to this page",noticeAboutShareScreenMessageForWeb:"Please select the entire screen",pleaseShareCameraBeforeStartTheExam:"Please open camera before start the exam.",pleaseShareCameraAndScreenBeforeStartTheExam:"Please open camera and share screen before start the exam.",openCamera:"Open Camera",cameraOn:"Camera On",cameraBypassed:"Start exam without camera",cannotAcivateCamera:"Cannot activate camera",cameraNotFound:"Camera not found",closedOn:"Closed on",noCamera:"No Camera",pleaseAllowToAccessCamera:"Please allow to access camera",pleaseCheckCamera:"Please check your camera",askForBypassCamera:"Do you want to take the exam without using the camera?",cameraRequiredCannotStart:"This exam requires a camera. You cannot start the exam without a camera.",noticeAboutOpenCameraTitle:"Activate Camera",noticeAboutOpenCameraMessage:"The application will access your camera",yourSessionHasExpired:"Your session has expired",pleaseLoginAgain:"Please login again.",exitToHomePage:"Exit to Home Page",doYouWantToExitToHomePage:"Do you want to exit to home page?",exitToLoginPage:"Stop the exam temporarily",doYouWantToExitToLoginPage:"Do you want to stop the exam temporarily? You need to enter the exam password again to conitnue",confirmLogout:"Do you want to log out?",confirmLogoutWithUnsyncedAnswer:"There are answers that have not been sent to the server. These answers will be deleted. Do you want to log out?",endTheExam:"End the Exam",doYouWantToEndTheExamAndExitToHome:"Do you want to end the exam? The answer will be deleted. If you enter the same exam, you will have to start the exam again",endTest:"End Test",endOfTest:"End of Test",youAreOffline:"You are offline",pleaseCheckYourInternetConnection:"Please check your internet connection.",serverCannotBeReached:"Server cannot be reached",pleaseTryAgainLaterOrContactSupport:"Please try again later or contact support.",cannotStartExam:"Can't Start Exam",thisDeviceHasSomeProblems:"This device has some problems",examQuestionNotFound:"Exam question not found.",examFileNotFound:"Exam file not found.",startExam:"Start Exam",startedAt:"Started at",status:"Status",statusExpired:"Expired",statusStillOpen:"Still open",confirmExamTaker:"Confirm Exam Taker",\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E2D\u0E1A:"Verify Exam Taker",downloadExam:"Download Exam",decryptExam:"Decrypt Exam",unzipExam:"Extract Exam",readExam:"Read Exam",startingExam:"Starting",findLocation:"Find Location",timeLeftAlert:"Time Left Alert",timeLeftXMinutes:"{{$INTERPOLATION}} minutes left",examOutOfTime:" Exam out of time ",waitForSendAnswerToastMessage:"Submitting answer, please check your internet connection",examTakingNotFound:"Exam taking not found",submittingExam:"Submitting exam",submitExamError:"Submit exam error, please contact staff",submittedExam:"Submitted exam",submitExamComplete:"Exam has been submitted",summaryExamError:"Cannot get exam summary",youCanCloseTheProgram:"You can close the program to exit the exam room",submitExam:"Submit E
206xam",examTime:"Exam Time",goToHomePage:"Go to Home Page"};function k2(i){return new Promise((e,r)=>{i==="th"?(gi.defaultLocale="th",gi.defaultOutputCalendar="buddhist",e(b_)):(gi.defaultLocale="en",gi.defaultOutputCalendar="gregory",e(y_))})}function ph(i,e=0){return OI(i)?Number(i):arguments.length===2?e:0}function OI(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function ua(i){return i instanceof Bt?i.nativeElement:i}var D2;try{D2=typeof Intl<"u"&&Intl.v8BreakIterator}catch{D2=!1}var Xd=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?vf(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||D2)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(qe(mf))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Gd;function II(){if(Gd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gd=!0}))}finally{Gd=Gd||!1}return Gd}function qd(i){return II()?i:!!i.capture}var Wo=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(Wo||{}),Rf,fh;function v_(){if(fh==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return fh=!1,fh;if("scrollBehavior"in document.documentElement.style)fh=!0;else{let i=Element.prototype.scrollTo;i?fh=!/\{\s*\[native code\]\s*\}/.test(i.toString()):fh=!1}}return fh}function Bc(){if(typeof document!="object"||!document)return Wo.NORMAL;if(Rf==null){let i=document.createElement("div"),e=i.style;i.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),t=r.style;
206t.width="2px",t.height="1px",i.appendChild(r),document.body.appendChild(i),Rf=Wo.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,Rf=i.scrollLeft===0?Wo.NEGATED:Wo.INVERTED),i.remove()}return Rf}var A2;function RI(){if(A2==null){let i=typeof document<"u"?document.head:null;A2=!!(i&&(i.createShadowRoot||i.attachShadow))}return A2}function Bf(i){if(RI()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Zd(i){return i.composedPath?i.composedPath()[0]:i.target}var NI=new Ht("cdk-dir-doc",{providedIn:"root",factory:jI});function jI(){return dn(ls)}var HI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function FI(i){let e=(i==null?void 0:i.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?HI.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Nc=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new Qe,t){let n=t.body?t.body.dir:null,l=t.documentElement?t.documentElement.dir:null;this.value=FI(n||l||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(qe(NI,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var L2=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({});let i=e;return i})();var P2=class{};function C_(i){return i&&typeof i.connect=="function"&&!(i instanceof PC)}var Nf=class extends P2{constructor(e){super(),this._data=e}connect(){return uf(this._data)?this._data:lr(this._data)}disconnect(){}},Kd=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Kd||{}),O2=new Ht("_ViewRepeater");var jf=class{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,r,t,n,l){e.forEachOperation((C,B,$)=>{let K,G;if(C.previousIndex==null){let q=()=>t(C,B,$);K=this._insertView(q,$,r,n(C)),G=K?Kd.INSERTED:Kd.REPLACED}else $==null?(this._detachAndCacheView(B,r),G=Kd.REMOVED):(K=this._moveView(B,$,r,n(C)),G=Kd.MOVED);l&&l({context:K==null?void 0:K.context,operation:G,record:C})})}detach(){for(let e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,r,t,n){let l=this._insertViewFromCache(r,t);if(l){l.context.$implicit=n;return}let C=e();return t.createEmbeddedView(C.templateRef,C.context,C.index)}_detachAndCacheView(e,r){let t=r.detach(e);this._maybeCacheView(t,r)}_moveView(e,r,t,n){let l=t.get(e);return t.move(l,r),l.context.$implicit=n,l}_maybeCacheView(e,r){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{let t=r.indexOf(e);t===-1?e.destroy():r.remove(t)}}_insertViewFromCache(e,r){let t=this._viewCache.pop();return t&&r.insert(t,e),t||null}};var VI=["contentWrapper"],zI=["*"],S_=new Ht("VIRTUAL_SCROLL_STRATEGY"),I2=class{constructor(e,r,t){this._scrolledIndexChange=new pt,this.scrolledIndexChange=this._scrolledIndexChange.pipe(eh()),this._viewport=null,this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=t}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,r,t){t<r,this._itemSize=e,this._minBufferPx=r,this._maxBufferPx=t,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,r){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,r)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let e=this._viewport.getRenderedRange(),r={start:e.start,end:e.end},t=this._viewport.getViewportSize(),n=this._viewport.getDataLength(),l=this._viewport.measureScrollOffset(),C=this._itemSize>0?l/this._itemSize:0;if(r.end>n){let $=Math.ceil(t/this._itemSize),K=Math.max(0,Math.min(C,n-$));C!=K&&(C=K,l=K*this._itemSize,r.start=Math.floor(C)),r.end=Math.max(0,Math.min(n,r.start+$))}let B=l-r.start*this._itemSize;if(B<this._minBufferPx&&r.start!=0){let $=Math.ceil((this._maxBufferPx-B)/this._itemSize);r.start=Math.max(0,r.start-$),r.end=Math.min(n,Math.ceil(C+(t+this._minBufferPx)/this._itemSize))}else{let $=r.end*this._itemSize-(l+t);if($<this._minBufferPx&&r.end!=n){let K=Math.ceil((this._maxBufferPx-$)/this._itemSize);K>0&&(r.end=Math.min(n,r.end+K),r.start=Math.max(0,Math.floor(C-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(C))}};function $I(i){return i._scrollStrategy}var fee=(()=>{let e=class e{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new I2(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=ph(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=ph(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=ph(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=ft({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[Ot([{provide:S_,useFactory:$I,deps:[$t(()=>e)]}]),ki]});let i=e;return i})(),WI=20,Ff=(()=>{let e=class e{constructor(t,n,l){this._ngZone=t,this._platform=n,this._scrolled=new pt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=l}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=WI){return this._platform.isBrowser?new Ds(n=>{this._globalSubscription||this._addGlobalListener();let l=t>0?this._scrolled.pipe(pf(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{l.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):lr()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEac
206h((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let l=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(Cn(C=>!C||l.indexOf(C)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((l,C)=>{this._scrollableContainsElement(C,t)&&n.push(C)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let l=ua(n),C=t.getElementRef().nativeElement;do if(l==C)return!0;while(l=l.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return jr(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(qe(wi),qe(Xd),qe(ls,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),M_=(()=>{let e=class e{constructor(t,n,l,C){this.elementRef=t,this.scrollDispatcher=n,this.ngZone=l,this.dir=C,this._destroyed=new pt,this._elementScrolled=new Ds(B=>this.ngZone.runOutsideAngular(()=>jr(this.elementRef.nativeElement,"scroll").pipe(un(this._destroyed)).subscribe(B)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let n=this.elementRef.nativeElement,l=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=l?t.end:t.start),t.right==null&&(t.right=l?t.start:t.end),t.bottom!=null&&(t.top=n.scrollHeight-n.clientHeight-t.bottom),l&&Bc()!=Wo.NORMAL?(t.left!=null&&(t.right=n.scrollWidth-n.clientWidth-t.left),Bc()==Wo.INVERTED?t.left=t.right:Bc()==Wo.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=n.scrollWidth-n.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let n=this.elementRef.nativeElement;v_()?n.scrollTo(t):(t.top!=null&&(n.scrollTop=t.top),t.left!=null&&(n.scrollLeft=t.left))}measureScrollOffset(t){let n="left",l="right",C=this.elementRef.nativeElement;if(t=="top")return C.scrollTop;if(t=="bottom")return C.scrollHeight-C.clientHeight-C.scrollTop;let B=this.dir&&this.dir.value=="rtl";return t=="start"?t=B?l:n:t=="end"&&(t=B?n:l),B&&Bc()==Wo.INVERTED?t==n?C.scrollWidth-C.clientWidth-C.scrollLeft:C.scrollLeft:B&&Bc()==Wo.NEGATED?t==n?C.scrollLeft+C.scrollWidth-C.clientWidth:-C.scrollLeft:t==n?C.scrollLeft:C.scrollWidth-C.clientWidth-C.scrollLeft}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(Ff),Ie(wi),Ie(Nc,8))},e.\u0275dir=ft({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let i=e;return i})(),YI=20,R2=(()=>{let e=class e{constructor(t,n,l){this._platform=t,this._change=new pt,this._changeListener=C=>{this._change.next(C)},this._document=l,n.runOutsideAngular(()=>{if(t.isBrowser){let C=this._getWindow();C.addEventListener("resize",this._changeListener),C.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:l}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+l,right:t.left+n,height:l,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),l=t.documentElement,C=l.getBoundingClientRect(),B=-C.top||t.body.scrollTop||n.scrollY||l.scrollTop||0,$=-C.left||t.body.scrollLeft||n.scrollX||l.scrollLeft||0;return{top:B,left:$}}change(t=YI){return t>0?this._change.pipe(pf(t)):this._change}
vendor: 4,951 bytes, line 206
206_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(qe(Xd),qe(wi),qe(ls,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),__=new Ht("VIRTUAL_SCROLLABLE"),UI=(()=>{let e=class e extends M_{constructor(t,n,l,C){super(t,n,l,C)}measureViewportSize(t){let n=this.elementRef.nativeElement;return t==="horizontal"?n.clientWidth:n.clientHeight}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(Ff),Ie(wi),Ie(Nc,8))},e.\u0275dir=ft({type:e,features:[Nt]});let i=e;return i})();function GI(i,e){return i.start==e.start&&i.end==e.end}var XI=typeof requestAnimationFrame<"u"?gc:OC,qI=(()=>{let e=class e extends UI{get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}constructor(t,n,l,C,B,$,K,G){super(t,$,l,B),this.elementRef=t,this._changeDetectorRef=n,this._scrollStrategy=C,this.scrollable=G,this._platform=dn(Xd),this._detachedSubject=new pt,this._renderedRangeSubject=new pt,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Ds(q=>this._scrollStrategy.scrolledIndexChange.subscribe(Z=>Promise.resolve().then(()=>this.ngZone.run(()=>q.next(Z))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=vs.EMPTY,this._injector=dn(Ls),this._isDestroyed=!1,this._viewportChanges=K.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(pl(null),pf(0,XI),un(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(un(this._detachedSubject)).subscribe(n=>{let l=n.length;l!==this._dataLength&&(this._dataLength=l,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){GI(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,n="to-start"){t=this.appendOnly&&n==="to-start"?0:t;let l=this.dir&&this.dir.value=="rtl",C=this.orientation=="horizontal",B=C?"X":"Y",K=`translate${B}(${Number((C&&l?-1:1)*t)}px)`;this._renderedContentOffset=t,n==="to-end"&&(K+=` translate${B}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=K&&(this._renderedContentTransform=K,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,n="auto"){let l={behavior:n};this.orientation==="horizontal"?l.start=t:l.top=t,this.scrollable.scrollTo(l)}scrollToIndex(t,n="auto"){this._scrollStrategy.scrollToIndex(t,n)}measureScrollOffset(t){let n;return this.scrollable==this?n=l=>super.measureScrollOffset(l):n=l=>this.scrollable.measureScrollOffset(l),Math.max(0,n(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){var G;let n,l="left",C="right",B=((G=this.dir)==null?void 0:G.value)=="rtl";t=="start"?n=B?C:l:t=="end"?n=B?l:C:t?n=t:n=this.orientation==="horizontal"?"left"
206:"top";let $=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-$}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,yf(()=>{this._isChangeDetectionPending=!1;let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let n of t)n()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight=this.orientation==="horizontal"?"":`${this._totalContentSize}px`,this._totalContentWidth=this.orientation==="horizontal"?`${this._totalContentSize}px`:""}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(ti),Ie(wi),Ie(S_,8),Ie(Nc,8),Ie(Ff),Ie(R2),Ie(__,8))},e.\u0275cmp=st({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(n,l){if(n&1&&Xt(VI,7),n&2){let C;kt(C=At())&&(l._contentWrapper=C.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(n,l){n&2&&ht("cdk-virtual-scroll-orientation-horizontal",l.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",l.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",nh]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Ot([{provide:M_,useFactory:(t,n)=>t||n,deps:[[new zC,new VC(__)],e]}]),bf,Nt,Ki],ngContentSelectors:zI,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(n,l){n&1&&(wn(),ke(0,"div",1,0),tn(2),Ae(),Ke(3,"div",2)),n&2&&(we(3),Ti("width",l._totalContentWidth)("height",l._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0});let i=e;return i})();function w_(i,e,r){let t=r;if(!t.getBoundingClientRect)return 0;let n=t.getBoundingClientRect();return i==="horizontal"?e==="start"?n.left:n.right:e==="start"?n.top:n.bottom}var mee=(()=>{let e=class e{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,C_(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new Nf(uf(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(n,l)=>t(n+(this._renderedRange?this._renderedRange.start:0),l):void 0}
206set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=ph(t)}constructor(t,n,l,C,B,$){this._viewContainerRef=t,this._template=n,this._differs=l,this._viewRepeater=C,this._viewport=B,this.viewChange=new pt,this._dataSourceChanges=new pt,this.dataStream=this._dataSourceChanges.pipe(pl(null),HC(),Pa(([K,G])=>this._changeDataSource(K,G)),ff(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new pt,this.dataStream.subscribe(K=>{this._data=K,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(un(this._destroyed)).subscribe(K=>{this._renderedRange=K,this.viewChange.observers.length&&$.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(t,n){if(t.start>=t.end)return 0;t.start<this._renderedRange.start||t.end>this._renderedRange.end;let l=t.start-this._renderedRange.start,C=t.end-t.start,B,$;for(let K=0;K<C;K++){let G=this._viewContainerRef.get(K+l);if(G&&G.rootNodes.length){B=$=G.rootNodes[0];break}}for(let K=C-1;K>-1;K--){let G=this._viewContainerRef.get(K+l);if(G&&G.rootNodes.length){$=G.rootNodes[G.rootNodes.length-1];break}}return B&&$?w_(n,"end",$)-w_(n,"start",B):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((t,n)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(t,n):n)),this._needsUpdate=!0)}_changeDataSource(t,n){return t&&t.disconnect(this),this._needsUpdate=!0,n?n.connect(this):lr()}_updateContext(){let t=this._data.length,n=this._viewContainerRef.length;for(;n--;){let l=this._viewContainerRef.get(n);l.context.index=this._renderedRange.start+n,l.context.count=t,this._updateComputedContextProperties(l.context),l.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,(C,B,$)=>this._getEmbeddedViewArgs(C,$),C=>C.item),t.forEachIdentityChange(C=>{let B=this._viewContainerRef.get(C.currentIndex);B.context.$implicit=C.item});let n=this._data.length,l=this._viewContainerRef.length;for(;l--;){let C=this._viewContainerRef.get(l);C.context.index=this._renderedRange.start+l,C.context.count=n,this._updateComputedContextProperties(C.context)}}_updateComputedContextProperties(t){t.first=t.index===0,t.last=t.index===t.count-1,t.even=t.index%2===0,t.odd=!t.even}_getEmbeddedViewArgs(t,n){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:n}}};e.\u0275fac=function(n){return new(n||e)(Ie(Gs),Ie(Xi),Ie(s4),Ie(O2),Ie(qI,4),Ie(wi))},e.\u0275dir=ft({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[Ot([{provide:O2,useClass:jf}])]});let i=e;return i})();var Hf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({});let i=e;return i})(),gee=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[L2,Hf,L2,Hf]});let i=e;return i})();var R_=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=l=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Bt))},e.\u0275dir=ft({type:e});let i=e;return i})(),$c=(()=>{let e=class e extends R_{};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,features:[Nt]});let i=e;return i})(),Si=new Ht(""),KI={provide:Si,useExisting:$t(()=>mh),multi:!0},mh=(()=>{let e=class e extends $c{writeValue(t){this.setProperty("checked",t)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onChange(B.target.checked)})("blur",function(){return l.onTouched()})},features:[Ot([KI]),Nt]});let i=e;return i})(),QI={provide:Si,useExisting:$t(()=>mn),multi:!0};function JI(){let i=BE()?BE().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var eR=new Ht(""),mn=(()=>{let e=class e extends R_{constructor(t,n,l){super(t,n),this._compositionMode=l,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!JI())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
206_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Bt),Ie(eR,8))},e.\u0275dir=ft({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,l){n&1&&We("input",function(B){return l._handleInput(B.target.value)})("blur",function(){return l.onTouched()})("compositionstart",function(){return l._compositionStart()})("compositionend",function(B){return l._compositionEnd(B.target.value)})},features:[Ot([QI]),Nt]});let i=e;return i})();function np(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function tR(i){return i!=null&&typeof i.length=="number"}var Is=new Ht(""),B_=new Ht("");function iR(i){return e=>{if(np(e.value)||np(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r<i?{min:{min:i,actual:e.value}}:null}}function nR(i){return np(i.value)?{required:!0}:null}function sR(i){return e=>np(e.value)||!tR(e.value)?null:e.value.length<i?{minlength:{requiredLength:i,actualLength:e.value.length}}:null}function rR(i){if(!i)return B2;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(np(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function B2(i){return null}function N_(i){return i!=null}function j_(i){return i4(i)?Br(i):i}function H_(i){let e={};return i.forEach(r=>{e=r!=null?ze(ze({},e),r):e}),Object.keys(e).length===0?null:e}function F_(i,e){return e.map(r=>r(i))}function oR(i){return!i.validate}function V_(i){return i.map(e=>oR(e)?e:r=>e.validate(r))}function aR(i){if(!i)return null;let e=i.filter(N_);return e.length==0?null:function(r){return H_(F_(r,e))}}function j2(i){return i!=null?aR(V_(i)):null}function lR(i){if(!i)return null;let e=i.filter(N_);return e.length==0?null:function(r){let t=F_(r,e).map(j_);return ad(t).pipe(Gi(H_))}}function H2(i){return i!=null?lR(V_(i)):null}function T_(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function hR(i){return i._rawValidators}function cR(i){return i._rawAsyncValidators}function N2(i){return i?Array.isArray(i)?i:[i]:[]}function zf(i,e){return Array.isArray(i)?i.includes(e):i===e}function k_(i,e){let r=N2(e);return N2(i).forEach(n=>{zf(r,n)||r.push(n)}),r}function A_(i,e){return N2(e).filter(r=>!zf(i,r))}var $f=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=j2(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=H2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Fc=class extends $f{get formDirective(){return null}get path(){return null}},Vc=class extends $f{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Wf=class{constructor(e){this._cd=e}get isTouched(){var e,r,t,n,l;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._touched)==null||t.call(r),!!((l=(n=this._cd)==null?void 0:n.control)!=null&&l.touched)}get isUntouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.untouched)}get isPristine(){var e,r,t,n,l;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._pristine)==null||t.call(r),!!((l=(n=this._cd)==null?void 0:n.control)!=null&&l.pristine)}get isDirty(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.dirty)}get isValid(){var e,r,t,n,l;return(t=(r=(e=this._cd)==null?void 0:e.control)==null?void 0:r._status)==null||t.call(r),!!((l=(n=this._cd)==null?void 0:n.control)!=null&&l.valid)}get isInvalid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.invalid)}get isPending(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pending)}get isSubmitted(){var e,r,t;return(r=(e=this._cd)==null?void 0:e._submitted)==null||r.call(e),!!((t=this._cd)!=null&&t.submitted)}},uR={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Oee=xt(ze({},uR),{"[class.ng-submitted]":"isSubmitted"}),Ri=(()=>{let e=class e extends Wf{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(Ie(Vc,2))},e.\u0275dir=ft({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,l){n&2&&ht("ng-untouched",l.isUntouched)("ng-touched",l.isTouched)("ng-pristine",l.isPristine)("ng-dirty",l.isDirty)("ng-valid",l.isValid)("ng-invalid",l.isInvalid)("ng-pending",l.isPending)},features:[Nt]});let i=e;return i})(),z_=(()=>{let e=class e extends Wf{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(Ie(Fc,10))},e.\u0275dir=ft({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,l){n&2&&ht("ng-untouched",l.isUntouched)("ng-touched",l.isTouched)("ng-pristine",l.isPristine)("ng-dirty",l.isDirty)("ng-valid",l.isValid)("ng-invalid",l.isInvalid)("ng-pending",l.isPending)("ng-submitted",l.isSubmitted)},features:[Nt]});let i=e;return i})();var Qd="VALID",Vf="INVALID",jc="PENDING",Jd="DISABLED",zc=class{},Yf=class extends zc{constructor(e,r){super(),this.value=e,this.source=r}},tp=class extends zc{constructor(e,r){super(),this.pristine=e,this.source=r}},ip=class extends zc{constructor(e,r){super(),this.touched=e,this.source=r}},Hc=class extends zc{constructor(e,r){super(),this.status=e,this.source=r}};function $_(i){return(Xf(i)?i.validators:i)||null}function dR(i){return Array.isArray(i)?j2(i):i||null}function W_(i,e){return(Xf(e)?e.asyncValidators:i)||null}function pR(i){return Array.isArray(i)?H2(i):i||null}function Xf(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function fR(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new th(1e3,"");if(!t[r])throw new th(1001,"")}
206function mR(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new th(1002,"")})}var Uf=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=vc(()=>this.statusReactive()),this.statusReactive=_r(void 0),this._pristine=vc(()=>this.pristineReactive()),this.pristineReactive=_r(!0),this._touched=vc(()=>this.touchedReactive()),this.touchedReactive=_r(!1),this._events=new pt,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return Ia(this.statusReactive)}set status(e){Ia(()=>this.statusReactive.set(e))}get valid(){return this.status===Qd}get invalid(){return this.status===Vf}get pending(){return this.status==jc}get disabled(){return this.status===Jd}get enabled(){return this.status!==Jd}get pristine(){return Ia(this.pristineReactive)}set pristine(e){Ia(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return Ia(this.touchedReactive)}set touched(e){Ia(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(k_(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(k_(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(A_(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(A_(e,this._rawAsyncValidators))}hasValidator(e){return zf(this._rawValidators,e)}hasAsyncValidator(e){return zf(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let r=this.touched===!1;this.touched=!0;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(xt(ze({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new ip(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),r&&e.emitEvent!==!1&&this._events.next(new ip(!1,t))}
vendor: 10,601 bytes, line 206
206markAsDirty(e={}){let r=this.pristine===!0;this.pristine=!1;let t=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(xt(ze({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new tp(!1,t))}markAsPristine(e={}){let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=e.sourceControl??this;this._forEachChild(n=>{n.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new tp(!0,t))}markAsPending(e={}){this.status=jc;let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Hc(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(xt(ze({},e),{sourceControl:r}))}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Jd,this.errors=null,this._forEachChild(n=>{n.disable(xt(ze({},e),{onlySelf:!0}))}),this._updateValue();let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Yf(this.value,t)),this._events.next(new Hc(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(xt(ze({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Qd,this._forEachChild(t=>{t.enable(xt(ze({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(xt(ze({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qd||this.status===jc)&&this._runAsyncValidator(t,e.emitEvent)}let r=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new Yf(this.value,r)),this._events.next(new Hc(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(xt(ze({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jd:Qd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=jc,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=j_(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(n=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(n,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let r=((e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)??!1;return this._hasOwnPendingAsyncValidator=null,r}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new Hc(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new Qe,this.statusChanges=new Qe}_calculateStatus(){return this._allControlsDisabled()?Jd:this.errors?Vf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(jc)?jc:this._anyControlsHaveStatus(Vf)?Vf:Qd}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let t=!this._anyControlsDirty(),n=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&this._events.next(new tp(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new ip(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Xf(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=dR(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=pR(this._rawAsyncValidators)}},Gf=class extends Uf{constructor(e,r,t){super($_(r),W_(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){mR(this,!0,e),Object.keys(e).forEach(t=>{fR(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,l)=>{t=r(t,n,l)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var qf=new Ht("CallSetDisabledState",{providedIn:"root",factory:()=>Zf}),Zf="always";function gR(i,e){return[...e.path,i]}function Y_(i,e,r=Zf){var t,n;U_(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&((n=(t=e.valueAccessor).setDisabledState)==null||n.call(t,i.disabled)),bR(i,e),vR(i,e),yR(i,e),ER(i,e)}function D_(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function ER(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function U_(i,e){let r=hR(i);e.validator!==null?i.setValidators(T_(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=cR(i);e.asyncValidator!==null?i.setAsyncValidators(T_(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();D_(e._rawValidators,n),D_(e._rawAsyncValidators,n)}function bR(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&G_(i,e)})}function yR(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&G_(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function G_(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function vR(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function xR(i,e){i==null,U_(i,e)}function CR(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function _R(i){return Object.getPrototypeOf(i.constructor)===$c}function wR(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function SR(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(l=>{l.constructor===mn?r=l:_R(l)?t=l:n=l}),n||t||r||null}var MR={provide:Fc,useExisting:$t(()=>F2)},ep=Promise.resolve(),F2=(()=>{let e=class e extends Fc{get submitted(){return Ia(this.submittedReactive)}constructor(t,n,l){super(),this.callSetDisabledState=l,this._submitted=vc(()=>this.submittedReactive()),this.submittedReactive=_r(!1),this._directives=new Set,this.ngSubmit=new Qe,this.form=new Gf({},j2(t),H2(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ep.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Y_(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}
206removeControl(t){ep.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ep.then(()=>{let n=this._findContainer(t.path),l=new Gf({});xR(l,t),n.registerControl(t.name,l),l.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ep.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){ep.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){var n;return this.submittedReactive.set(!0),wR(this.form,this._directives),this.ngSubmit.emit(t),((n=t==null?void 0:t.target)==null?void 0:n.method)==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(Ie(Is,10),Ie(B_,10),Ie(qf,8))},e.\u0275dir=ft({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,l){n&1&&We("submit",function(B){return l.onSubmit(B)})("reset",function(){return l.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([MR]),Nt]});let i=e;return i})();function L_(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function P_(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var TR=class extends Uf{constructor(e=null,r,t){super($_(r),W_(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Xf(r)&&(r.nonNullable||r.initialValueIsDefault)&&(P_(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){L_(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){L_(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){P_(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var kR={provide:Vc,useExisting:$t(()=>Pi)},O_=Promise.resolve(),Pi=(()=>{let e=class e extends Vc{constructor(t,n,l,C,B,$){super(),this._changeDetectorRef=B,this.callSetDisabledState=$,this.control=new TR,this._registered=!1,this.name="",this.update=new Qe,this._parent=t,this._setValidators(n),this._setAsyncValidators(l),this.valueAccessor=SR(this,C)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),CR(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Y_(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){O_.then(()=>{var n;this.control.setValue(t,{emitViewToModelChange:!1}),(n=this._changeDetectorRef)==null||n.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,l=n!==0&&nh(n);O_.then(()=>{var C;l&&!this.control.disabled?this.control.disable():!l&&this.control.disabled&&this.control.enable(),(C=this._changeDetectorRef)==null||C.markForCheck()})}_getPath(t){return this._parent?gR(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(Ie(Fc,9),Ie(Is,10),Ie(B_,10),Ie(Si,10),Ie(ti,8),Ie(qf,8))},e.\u0275dir=ft({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ot([kR]),Nt,ki]});let i=e;return i})(),X_=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=ft({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let i=e;return i})(),AR={provide:Si,useExisting:$t(()=>DR),multi:!0},DR=(()=>{let e=class e extends $c{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,l){n&1&&We("input",function(B){return l.onChange(B.target.value)})("blur",function(){return l.onTouched()})},features:[Ot([AR]),Nt]});let i=e;return i})(),LR={provide:Si,useExisting:$t(()=>gh),multi:!0};var PR=(()=>{let e=class e{constructor(){this._accessors=[]}add(t,n){this._accessors.push([t,n])}remove(t){for(let n=this._accessors.length-1;n>=0;--n)if(this._accessors[n][1]===t){this._accessors.splice(n,1);return}}
206select(t){this._accessors.forEach(n=>{this._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})}_isSameGroup(t,n){return t[0].control?t[0]._parent===n._control._parent&&t[1].name===n.name:!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gh=(()=>{let e=class e extends $c{constructor(t,n,l,C){super(t,n),this._registry=l,this._injector=C,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=dn(qf,{optional:!0})??Zf}ngOnInit(){this._control=this._injector.get(Vc),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Bt),Ie(PR),Ie(Ls))},e.\u0275dir=ft({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(n,l){n&1&&We("change",function(){return l.onChange()})("blur",function(){return l.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ot([LR]),Nt]});let i=e;return i})();var OR={provide:Si,useExisting:$t(()=>xl),multi:!0};function q_(i,e){return i==null?`${e}`:(e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function IR(i){return i.split(":")[0]}var xl=(()=>{let e=class e extends $c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n=this._getOptionId(t),l=q_(n,t);this.setProperty("value",l)}registerOnChange(t){this.onChange=n=>{this.value=this._getOptionValue(n),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),t))return n;return null}_getOptionValue(t){let n=IR(t);return this._optionMap.has(n)?this._optionMap.get(n):t}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onChange(B.target.value)})("blur",function(){return l.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ot([OR]),Nt]});let i=e;return i})(),Wc=(()=>{let e=class e{constructor(t,n,l){this._element=t,this._renderer=n,this._select=l,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(q_(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(pn),Ie(xl,9))},e.\u0275dir=ft({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})(),RR={provide:Si,useExisting:$t(()=>Z_),multi:!0};function I_(i,e){return i==null?`${e}`:(typeof e=="string"&&(e=`'${e}'`),e&&typeof e=="object"&&(e="Object"),`${i}: ${e}`.slice(0,50))}function BR(i){return i.split(":")[0]}var Z_=(()=>{let e=class e extends $c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;let n;if(Array.isArray(t)){let l=t.map(C=>this._getOptionId(C));n=(C,B)=>{C._setSelected(l.indexOf(B.toString())>-1)}}else n=(l,C)=>{l._setSelected(!1)};
206this._optionMap.forEach(n)}registerOnChange(t){this.onChange=n=>{let l=[],C=n.selectedOptions;if(C!==void 0){let B=C;for(let $=0;$<B.length;$++){let K=B[$],G=this._getOptionValue(K.value);l.push(G)}}else{let B=n.options;for(let $=0;$<B.length;$++){let K=B[$];if(K.selected){let G=this._getOptionValue(K.value);l.push(G)}}}this.value=l,t(l)}}_registerOption(t){let n=(this._idCounter++).toString();return this._optionMap.set(n,t),n}_getOptionId(t){for(let n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n)._value,t))return n;return null}_getOptionValue(t){let n=BR(t);return this._optionMap.has(n)?this._optionMap.get(n)._value:t}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onChange(B.target)})("blur",function(){return l.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ot([RR]),Nt]});let i=e;return i})(),Kf=(()=>{let e=class e{constructor(t,n,l){this._element=t,this._renderer=n,this._select=l,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(I_(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(I_(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(pn),Ie(Z_,9))},e.\u0275dir=ft({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});let i=e;return i})();function NR(i){return typeof i=="number"?i:parseInt(i,10)}function jR(i){return typeof i=="number"?i:parseFloat(i)}var Qf=(()=>{let e=class e{constructor(){this._validator=B2}ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):B2,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=ft({type:e,features:[ki]});let i=e;return i})();var HR={provide:Is,useExisting:$t(()=>FR),multi:!0},FR=(()=>{let e=class e extends Qf{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=t=>jR(t),this.createValidator=t=>iR(t)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(n,l){n&2&&$i("min",l._enabled?l.min:null)},inputs:{min:"min"},features:[Ot([HR]),Nt]});let i=e;return i})(),VR={provide:Is,useExisting:$t(()=>V2),multi:!0};var V2=(()=>{let e=class e extends Qf{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=nh,this.createValidator=t=>nR}enabled(t){return t}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,l){n&2&&$i("required",l._enabled?"":null)},inputs:{required:"required"},features:[Ot([VR]),Nt]});let i=e;return i})();var zR={provide:Is,useExisting:$t(()=>$R),multi:!0},$R=(()=>{let e=class e extends Qf{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>NR(t),this.createValidator=t=>sR(t)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,l){n&2&&$i("minlength",l._enabled?l.minlength:null)},inputs:{minlength:"minlength"},features:[Ot([zR]),Nt]});let i=e;return i})();var WR={provide:Is,useExisting:$t(()=>YR),multi:!0},YR=(()=>{let e=class e extends Qf{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=t=>t,this.createValidator=t=>rR(t)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(n,l){n&2&&$i("pattern",l._enabled?l.pattern:null)},inputs:{pattern:"pattern"},features:[Ot([WR]),Nt]});let i=e;return i})();var UR=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({});let i=e;return i})();var Eh=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:qf,useValue:t.callSetDisabledState??Zf}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[UR]});let i=e;return i})();var da=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(da||{}),Fee="*";function Zs(i,e){return{type:da.Trigger,name:i,definitions:e,options:{}}}function Qi(i,e=null){return{type:da.Animate,styles:e,timings:i}}function J_(i,e=null){return{type:da.Group,steps:i,options:e}}function GR(i,e=null){return{type:da.Sequence,steps:i,options:e}}function di(i){return{type:da.Style,styles:i,offset:null}}function nn(i,e,r){return{type:da.State,name:i,styles:e,options:r}}function sn(i,e,r=null){return{type:da.Transition,expr:i,animation:e,options:r}}function Y2(i=null){return{type:da.AnimateChild,options:i}}function bh(i,e,r=null){return{type:da.Query,selector:i,animation:e,options:r}}var XR=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:()=>dn(qR),providedIn:"root"});let i=e;return i})(),z2=class{},qR=(()=>{let e=class e extends XR{constructor(t,n){super(),this.animationModuleType=dn(UC,{optional:!0}),this._nextAnimationId=0;let l={id:"0",encapsulation:$C.None,styles:[],data:{animation:[]}};if(this._renderer=t.createRenderer(n.body,l),this.animationModuleType===null&&!KR(this._renderer))throw new th(3600,!1)}build(t){let n=this._nextAnimationId;this._nextAnimationId++;let l=Array.isArray(t)?GR(t):t;return e5(this._renderer,null,n,"register",[l]),new $2(n,this._renderer)}};e.\u0275fac=function(n){return new(n||e)(qe(Ef),qe(ls))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),$2=class extends z2{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new W2(this._id,e,r||{},this._renderer)}},W2=class{constructor(e,r,t,n){this.id=e,this.element=r,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){e5(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,r,t;return((t=(r=(e=ZR(this._renderer))==null?void 0:e.engine)==null?void 0:r.players[this.id])==null?void 0:t.getPosition())??0}};function e5(i,e,r,t,n){i.setProperty(e,`@@${r}:${t}`,n)}function ZR(i){let e=i.\u0275type;return e===0?i:e===1?i.animationRenderer:null}function KR(i){let e=i.\u0275type;return e===0||e===1}var K_=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e
206=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Q_=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,t=0,n=0,l=this.players.length;l==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(C=>{C.onDone(()=>{++r==l&&this._onFinish()}),C.onDestroy(()=>{++t==l&&this._onDestroy()}),C.onStart(()=>{++n==l&&this._onStart()})}),this.totalTime=this.players.reduce((C,B)=>Math.max(C,B.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(t=>{let n=t.totalTime?Math.min(1,r/t.totalTime):1;t.setPosition(n)})}getPosition(){let e=this.players.reduce((r,t)=>r===null||t.totalTime>r.totalTime?t:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Vee="!";var t5=["toast-component",""];function JR(i,e){if(i&1){let r=et();ke(0,"button",5),We("click",function(){Ne(r);let n=Te();return je(n.remove())}),ke(1,"span",6),Ge(2,"\xD7"),Ae()()}}function eB(i,e){if(i&1&&(Wn(0),Ge(1),Yn()),i&2){let r=Te(2);we(),oi("[",r.duplicatesCount+1,"]")}}function tB(i,e){if(i&1&&(ke(0,"div"),Ge(1),$e(2,eB,2,1,"ng-container",4),Ae()),i&2){let r=Te();xi(r.options.titleClass),$i("aria-label",r.title),we(),oi(" ",r.title," "),we(),_e("ngIf",r.duplicatesCount)}}function iB(i,e){if(i&1&&Ke(0,"div",7),i&2){let r=Te();xi(r.options.messageClass),_e("innerHTML",r.message,hi)}}function nB(i,e){if(i&1&&(ke(0,"div",8),Ge(1),Ae()),i&2){let r=Te();xi(r.options.messageClass),$i("aria-label",r.message),we(),oi(" ",r.message," ")}}function sB(i,e){if(i&1&&(ke(0,"div"),Ke(1,"div",9),Ae()),i&2){let r=Te();we(),Ti("width",r.width()+"%")}}function rB(i,e){if(i&1){let r=et();ke(0,"button",5),We("click",function(){Ne(r);let n=Te();return je(n.remove())}),ke(1,"span",6),Ge(2,"\xD7"),Ae()()}}function oB(i,e){if(i&1&&(Wn(0),Ge(1),Yn()),i&2){let r=Te(2);we(),oi("[",r.duplicatesCount+1,"]")}}function aB(i,e){if(i&1&&(ke(0,"div"),Ge(1),$e(2,oB,2,1,"ng-container",4),Ae()),i&2){let r=Te();xi(r.options.titleClass),$i("aria-label",r.title),we(),oi(" ",r.title," "),we(),_e("ngIf",r.duplicatesCount)}}function lB(i,e){if(i&1&&Ke(0,"div",7),i&2){let r=Te();xi(r.options.messageClass),_e("innerHTML",r.message,hi)}}function hB(i,e){if(i&1&&(ke(0,"div",8),Ge(1),Ae()),i&2){let r=Te();xi(r.options.messageClass),$i("aria-label",r.message),we(),oi(" ",r.message," ")}}function cB(i,e){if(i&1&&(ke(0,"div"),Ke(1,"div",9),Ae()),i&2){let r=Te();we(),Ti("width",r.width()+"%")}}var U2=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},G2=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},X2=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new pt;_activate=new pt;_manualClose=new pt;_resetTimeout=new pt;_countDuplicate=new pt;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
vendor: 17,207 bytes, line 206
206onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},Yc=class{toastId;config;message;title;toastType;toastRef;_onTap=new pt;_onAction=new pt;constructor(e,r,t,n,l,C){this.toastId=e,this.config=r,this.message=t,this.title=n,this.toastType=l,this.toastRef=C,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},i5={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},n5=new Ht("ToastConfig"),q2=class extends G2{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,t){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=t}attachComponentPortal(e,r){let t=this._componentFactoryResolver.resolveComponentFactory(e.component),n;return n=t.create(e.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},uB=(()=>{class i{_document=dn(ls);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Z2=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},dB=(()=>{class i{_overlayContainer=dn(uB);_componentFactoryResolver=dn(gf);_appRef=dn(fl);_document=dn(ls);_paneElements=new Map;create(r,t){return this._createOverlayRef(this.getPaneElement(r,t))}getPaneElement(r="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[r]||(this._paneElements.get(t)[r]=this._createPaneElement(r,t)),this._paneElements.get(t)[r]}_createPaneElement(r,t){let n=this._document.createElement("div");return n.id="toast-container",n.classList.add(r),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(r){return new q2(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new Z2(this._createPortalHost(r))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Jf=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,t,n,l,C){this.overlay=t,this._injector=n,this.sanitizer=l,this.ngZone=C,this.toastrConfig=ze(ze({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=ze(ze({},r.default.iconClasses),r.config.iconClasses))}show(r,t,n={},l=""){return this._preBuildNotification(l,r,t,this.applyConfig(n))}success(r,t,n={}){let l=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(l,r,t,this.applyConfig(n))}error(r,t,n={}){let l=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(l,r,t,this.applyConfig(n))}info(r,t,n={}){let l=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(l,r,t,this.applyConfig(n))}warning(r,t,n={}){let l=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(l,r,t,this.applyConfig(n))}clear(r){for(let t of this.toasts)if(r!==void 0){if(t.toastId===r){t.toastRef.manualClose();return}}else t.toastRef.manualClose()}remove(r){let t=this._findToast(r);if(!t||(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0}findDuplicate(r="",t="",n,l){let{includeTitleDuplicates:C}=this.toastrConfig;for(let B of this.toasts){let $=C&&B.title===r;if((!C||$)&&B.message===t)return B.toastRef.onDuplicate(n,l),B}return null}applyConfig(r={}){return ze(ze({},this.toastrConfig),r)}_findToast(r){for(let t=0;t<this.toasts.length;t++)if(this.toasts[t].toastId===r)return{index:t,activeToast:this.toasts[t]};return null}_preBuildNotification(r,t,n,l){return l.onActivateTick?this.ngZone.run(()=>this._buildNotification(r,t,n,l)):this._buildNotification(r,t,n,l)}_buildNotification(r,t,n,l){if(!l.toastComponent)throw new Error("toastComponent required");let C=this.findDuplicate(n,t,this.toastrConfig.resetTimeoutOnDuplicate&&l.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||t)&&this.toastrConfig.preventDuplicates&&C!==null)return C;this.previousToastMessage=t;let B=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(B=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let $=this.overlay.create(l.positionClass,this.overlayContainer);this.index=this.index+1;let K=t;t&&l.enableHtml&&(K=this.sanitizer.sanitize(hr.HTML,t));let G=new X2($),q=new Yc(this.index,l,K,n,r,G),Z=[{provide:Yc,useValue:q}],R=Ls.create({providers:Z,parent:this._injector}),Y=new U2(l.toastComponent,R),V=$.attach(Y,l.newestOnTop);G.componentInstance=V.instance;let H={toastId:this.index,title:n||"",message:t||"",toastRef:G,onShown:G.afterActivate(),onHidden:G.afterClosed(),onTap:q.onTap(),onAction:q.onAction(),portal:V};return B||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{H.toastRef.activate()})),this.toasts.push(H),H}static \u0275fac=function(t){return new(t||i)(qe(n5),qe(dB),qe(Ls),qe(xf),qe(wi))};static \u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),K2=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=_r(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.ngZone=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(l=>{this.duplicatesCount=l}),this.state=_r({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(r=>xt(ze({},r),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width.set(t/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(r=>xt(ze({},r),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(r=>xt(ze({},r),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),t)):this.timeout=setTimeout(()=>r(),t)}outsideInterval(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),t)):this.intervalId=setInterval(()=>r(),t)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(t){return new(t||i)(Ie(Jf),Ie(Yc),Ie(wi))};static \u0275cmp=st({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,n){t&1&&We("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(ZC("@flyInOut",n._state),xi(n.toastClasses),Ti("display",n.displayStyle))},standalone:!0,features:[Ki],attrs:t5,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&$e(0,JR,3,0,"button",0)(1,tB,3,5,"div",1)(2,iB,1,3,"div",2)(3,nB,2,4,"div",3)(4,sB,2,2,"div",4),t&2&&(_e("ngIf",n.options.closeButton),we(),_e("ngIf",n.title),we(),_e("ngIf",n.message&&n.options.enableHtml),we(),_e("ngIf",n.message&&!n.options.enableHtml),we(),_e("ngIf",n.options.progressBar))},dependencies:[wt],encapsulation:2,data:{animation:[Zs("flyInOut",[nn("inactive",di({opacity:0})),nn("active",di({opacity:1})),nn("removed",di({opacity:0})),sn("inactive => active",Qi("{{ easeTime }}ms {{ easing }}")),sn("active => removed",Qi("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return i})(),pB=xt(ze({},i5),{toastComponent:K2}),fB=(i={})=>Oa([{provide:n5,useValue:{default:pB,config:i}}]),s5=(()=>{class i{static forRoot(r={}){return{ngModule:i,providers:[fB(r)]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=Yt({type:i});static \u0275inj=Wt({})}return i})();var mB=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=_r(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=_r("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.appRef=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(l=>{this.duplicatesCount=l})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width.set(t/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(n=>100-n),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(t){return new(t||i)(Ie(Jf),Ie(Yc),Ie(fl))};static \u0275cmp=st({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,n){t&1&&We("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(xi(n.toastClasses),Ti("display",n.displayStyle))},standalone:!0,features:[Ki],attrs:t5,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&$e(0,rB,3,0,"button",0)(1,aB,3,5,"div",1)(2,lB,1,3,"div",2)(3,hB,2,4,"div",3)(4,cB,2,2,"div",4),t&2&&(_e("ngIf",n.options.closeButton),we(),_e("ngIf",n.title),we(),_e("ngIf",n.message&&n.options.enableHtml),we(),_e("ngIf",n.message&&!n.options.enableHtml),we(),_e("ngIf",n.options.progressBar))},dependencies:[wt],encapsulation:2,changeDetection:0})}return i})(),tte=xt(ze({},i5),{toastComponent:mB});var Rn="top",hs="bottom",Qn="right",Un="left",em="auto",Cl=[Rn,hs,Qn,Un],Ha="start",yh="end",r5="clippingParents",tm="viewport",Uc="popper",o5="reference",Q2=Cl.reduce(function(i,e){return i.concat([e+"-"+Ha,e+"-"+yh])},[]),im=[].concat(Cl,[em]).reduce(function(i,e){return i.concat([e,e+"-"+Ha,e+"-"+yh])},[]),EB="beforeRead",bB="read",yB="afterRead",vB="beforeMain",xB="main",CB="afterMain",_B="beforeWrite",wB="write",SB="afterWrite",a5=[EB,bB,yB,vB,xB,CB,_B,wB,SB];function _s(i){return i?(i.nodeName||"").toLowerCase():null}function gn(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function fo(i){var e=gn(i).Element;return i instanceof e||i instanceof Element}function cs(i){var e=gn(i).HTMLElement;return i instanceof e||i instanceof HTMLElement}
vendor: 10,063 bytes, line 206
206function Gc(i){if(typeof ShadowRoot>"u")return!1;var e=gn(i).ShadowRoot;return i instanceof e||i instanceof ShadowRoot}function MB(i){var e=i.state;Object.keys(e.elements).forEach(function(r){var t=e.styles[r]||{},n=e.attributes[r]||{},l=e.elements[r];!cs(l)||!_s(l)||(Object.assign(l.style,t),Object.keys(n).forEach(function(C){var B=n[C];B===!1?l.removeAttribute(C):l.setAttribute(C,B===!0?"":B)}))})}function TB(i){var e=i.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(t){var n=e.elements[t],l=e.attributes[t]||{},C=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]),B=C.reduce(function($,K){return $[K]="",$},{});!cs(n)||!_s(n)||(Object.assign(n.style,B),Object.keys(l).forEach(function($){n.removeAttribute($)}))})}}var sp={name:"applyStyles",enabled:!0,phase:"write",fn:MB,effect:TB,requires:["computeStyles"]};function ws(i){return i.split("-")[0]}var Yo=Math.max,vh=Math.min,Fa=Math.round;function Xc(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function rp(){return!/^((?!chrome|android).)*safari/i.test(Xc())}function mo(i,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var t=i.getBoundingClientRect(),n=1,l=1;e&&cs(i)&&(n=i.offsetWidth>0&&Fa(t.width)/i.offsetWidth||1,l=i.offsetHeight>0&&Fa(t.height)/i.offsetHeight||1);var C=fo(i)?gn(i):window,B=C.visualViewport,$=!rp()&&r,K=(t.left+($&&B?B.offsetLeft:0))/n,G=(t.top+($&&B?B.offsetTop:0))/l,q=t.width/n,Z=t.height/l;return{width:q,height:Z,top:G,right:K+q,bottom:G+Z,left:K,x:K,y:G}}function xh(i){var e=mo(i),r=i.offsetWidth,t=i.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-t)<=1&&(t=e.height),{x:i.offsetLeft,y:i.offsetTop,width:r,height:t}}function op(i,e){var r=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(r&&Gc(r)){var t=e;do{if(t&&i.isSameNode(t))return!0;t=t.parentNode||t.host}while(t)}return!1}function dr(i){return gn(i).getComputedStyle(i)}function J2(i){return["table","td","th"].indexOf(_s(i))>=0}function Rs(i){return((fo(i)?i.ownerDocument:i.document)||window.document).documentElement}function Va(i){return _s(i)==="html"?i:i.assignedSlot||i.parentNode||(Gc(i)?i.host:null)||Rs(i)}function l5(i){return!cs(i)||dr(i).position==="fixed"?null:i.offsetParent}function kB(i){var e=/firefox/i.test(Xc()),r=/Trident/i.test(Xc());if(r&&cs(i)){var t=dr(i);if(t.position==="fixed")return null}var n=Va(i);for(Gc(n)&&(n=n.host);cs(n)&&["html","body"].indexOf(_s(n))<0;){var l=dr(n);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||e&&l.willChange==="filter"||e&&l.filter&&l.filter!=="none")return n;n=n.parentNode}return null}function Uo(i){for(var e=gn(i),r=l5(i);r&&J2(r)&&dr(r).position==="static";)r=l5(r);return r&&(_s(r)==="html"||_s(r)==="body"&&dr(r).position==="static")?e:r||kB(i)||e}function Ch(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function _h(i,e,r){return Yo(i,vh(e,r))}function h5(i,e,r){var t=_h(i,e,r);return t>r?r:t}function ap(){return{top:0,right:0,bottom:0,left:0}}function lp(i){return Object.assign({},ap(),i)}function hp(i,e){return e.reduce(function(r,t){return r[t]=i,r},{})}var AB=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,lp(typeof e!="number"?e:hp(e,Cl))};function DB(i){var e,r=i.state,t=i.name,n=i.options,l=r.elements.arrow,C=r.modifiersData.popperOffsets,B=ws(r.placement),$=Ch(B),K=[Un,Qn].indexOf(B)>=0,G=K?"height":"width";if(!(!l||!C)){var q=AB(n.padding,r),Z=xh(l),R=$==="y"?Rn:Un,Y=$==="y"?hs:Qn,V=r.rects.reference[G]+r.rects.reference[$]-C[$]-r.rects.popper[G],H=C[$]-r.rects.reference[$],T=Uo(l),L=T?$==="y"?T.clientHeight||0:T.clientWidth||0:0,j=V/2-H/2,s=q[R],c=L-Z[G]-q[Y],x=L/2-Z[G]/2+j,N=_h(s,x,c),P=$;r.modifiersData[t]=(e={},e[P]=N,e.centerOffset=N-x,e)}}function LB(i){var e=i.state,r=i.options,t=r.element,n=t===void 0?"[data-popper-arrow]":t;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||op(e.elements.popper,n)&&(e.elements.arrow=n))}var c5={name:"arrow",enabled:!0,phase:"main",fn:DB,effect:LB,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function go(i){return i.split("-")[1]}var PB={top:"auto",right:"auto",bottom:"auto",left:"auto"};function OB(i,e){var r=i.x,t=i.y,n=e.devicePixelRatio||1;return{x:Fa(r*n)/n||0,y:Fa(t*n)/n||0}}function u5(i){var e,r=i.popper,t=i.popperRect,n=i.placement,l=i.variation,C=i.offsets,B=i.position,$=i.gpuAcceleration,K=i.adaptive,G=i.roundOffsets,q=i.isFixed,Z=C.x,R=Z===void 0?0:Z,Y=C.y,V=Y===void 0?0:Y,H=typeof G=="function"?G({x:R,y:V}):{x:R,y:V};R=H.x,V=H.y;var T=C.hasOwnProperty("x"),L=C.hasOwnProperty("y"),j=Un,s=Rn,c=window;if(K){var x=Uo(r),N="clientHeight",P="clientWidth";if(x===gn(r)&&(x=Rs(r),dr(x).position!=="static"&&B==="absolute"&&(N="scrollHeight",P="scrollWidth")),x=x,n===Rn||(n===Un||n===Qn)&&l===yh){s=hs;var S=q&&x===c&&c.visualViewport?c.visualViewport.height:x[N];V-=S-t.height,V*=$?1:-1}if(n===Un||(n===Rn||n===hs)&&l===yh){j=Qn;var g=q&&x===c&&c.visualViewport?c.visualViewport.width:x[P];R-=g-t.width,R*=$?1:-1}}var v=Object.assign({position:B},K&&PB),p=G===!0?OB({x:R,y:V},gn(r)):{x:R,y:V};if(R=p.x,V=p.y,$){var a;return Object.assign({},v,(a={},a[s]=L?"0":"",a[j]=T?"0":"",a.transform=(c.devicePixelRatio||1)<=1?"translate("+R+"px, "+V+"px)":"translate3d("+R+"px, "+V+"px, 0)",a))}return Object.assign({},v,(e={},e[s]=L?V+"px":"",e[j]=T?R+"px":"",e.transform="",e))}function IB(i){var e=i.state,r=i.options,t=r.gpuAcceleration,n=t===void 0?!0:t,l=r.adaptive,C=l===void 0?!0:l,B=r.roundOffsets,$=B===void 0?!0:B,K={placement:ws(e.placement),variation:go(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,u5(Object.assign({},K,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:C,roundOffsets:$})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,u5(Object.assign({},K,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:$})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var d5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:IB,data:{}};var nm={passive:!0};function RB(i){var e=i.state,r=i.instance,t=i.options,n=t.scroll,l=n===void 0?!0:n,C=t.resize,B=C===void 0?!0:C,$=gn(e.elements.popper),K=[].concat(e.scrollParents.reference,e.scrollParents.popper);return l&&K.forEach(function(G){G.addEventListener("scroll",r.update,nm)}),B&&$.addEventListener("resize",r.update,nm),function(){l&&K.forEach(function(G){G.removeEventListener("scroll",r.update,nm)}),B&&$.removeEventListener("resize",r.update,nm)}}var p5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:RB,data:{}};var BB={left:"right",right:"left",bottom:"top",top:"bottom"};function qc(i){return i.replace(/left|right|bottom|top/g,function(e){return BB[e]})}var NB={start:"end",end:"start"};function sm(i){return i.replace(/start|end/g,function(e){return NB[e]})}function wh(i){var e=gn(i),r=e.pageXOffset,t=e.pageYOffset;return{scrollLeft:r,scrollTop:t}}function Sh(i){return mo(Rs(i)).left+wh(i).scrollLeft}function eb(i,e){var r=gn(i),t=Rs(i),n=r.visualViewport,l=t.clientWidth,C=t.clientHeight,B=0,$=0;if(n){l=n.width,C=n.height;var K=rp();(K||!K&&e==="fixed")&&(B=n.offsetLeft,$=n.offsetTop)}return{width:l,height:C,x:B+Sh(i),y:$}}function tb(i){var e,r=Rs(i),t=wh(i),n=(e=i.ownerDocument)==null?void 0:e.body,l=Yo(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),C=Yo(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),B=-t.scrollLeft+Sh(i),$=-t.scrollTop;return dr(n||r).direction==="rtl"&&(B+=Yo(r.clientWidth,n?n.clientWidth:0)-l),{width:l,height:C,x:B,y:$}}function Mh(i){var e=dr(i),r=e.overflow,t=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+t)}function rm(i){return["html","body","#document"].indexOf(_s(i))>=0?i.ownerDocument.body:cs(i)&&Mh(i)?i:rm(Va(i))}function _l(i,e){var r;e===void 0&&(e=[]);var t=rm(i),n=t===((r=i.ownerDocument)==null?void 0:r.body),l=gn(t),C=n?[l].concat(l.visualViewport||[],Mh(t)?t:[]):t,B=e.concat(C);return n?B:B.concat(_l(Va(C)))}function Zc(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function jB(i,e){var r=mo(i,!1,e==="fixed");return r.top=r.top+i.clientTop,r.left=r.left+i.clientLeft,r.bottom=r.top+i.clientHeight,r.right=r.left+i.clientWidth,r.width=i.clientWidth,r.height=i.clientHeight,r.x=r.left,r.y=r.top,r}function f5(i,e,r){return e===tm?Zc(eb(i,r)):fo(e)?jB(e,r):Zc(tb(Rs(i)))}function HB(i){var e=_l(Va(i)),r=["absolute","fixed"].indexOf(dr(i).position)>=0,t=r&&cs(i)?Uo(i):i;return fo(t)?e.filter(function(n){return fo(n)&&op(n,t)&&_s(n)!=="body"}):[]}function ib(i,e,r,t){var n=e==="clippingParents"?HB(i):[].concat(e),l=[].concat(n,[r]),C=l[0],B=l.reduce(function($,K){var G=f5(i,K,t);return $.top=Yo(G.top,$.top),$.right=vh(G.right,$.right),$.bottom=vh(G.bottom,$.bottom),$.left=Yo(G.left,$.left),$},f5(i,C,t));return B.width=B.right-B.left,B.height=B.bottom-B.top,B.x=B.left,B.y=B.top,B}function cp(i){var e=i.reference,r=i.element,t=i.placement,n=t?ws(t):null,l=t?go(t):null,C=e.x+e.width/2-r.width/2,B=e.y+e.height/2-r.height/2,$;switch(n){case Rn:$={x:C,y:e.y-r.height};break;case hs:$={x:C,y:e.y+e.height};break;case Qn:$={x:e.x+e.width,y:B};break;case Un:$={x:e.x-r.width,y:B};break;default:$={x:e.x,y:e.y}}var K=n?Ch(n):null;if(K!=null){var G=K==="y"?"height":"width";switch(l){case Ha:$[K]=$[K]-(e[G]/2-r[G]/2);break;case yh:$[K]=$[K]+(e[G]/2-r[G]/2);break;default:}}return $}function Go(i,e){e===void 0&&(e={});
vendor: 4,203 bytes, line 206
206var r=e,t=r.placement,n=t===void 0?i.placement:t,l=r.strategy,C=l===void 0?i.strategy:l,B=r.boundary,$=B===void 0?r5:B,K=r.rootBoundary,G=K===void 0?tm:K,q=r.elementContext,Z=q===void 0?Uc:q,R=r.altBoundary,Y=R===void 0?!1:R,V=r.padding,H=V===void 0?0:V,T=lp(typeof H!="number"?H:hp(H,Cl)),L=Z===Uc?o5:Uc,j=i.rects.popper,s=i.elements[Y?L:Z],c=ib(fo(s)?s:s.contextElement||Rs(i.elements.popper),$,G,C),x=mo(i.elements.reference),N=cp({reference:x,element:j,strategy:"absolute",placement:n}),P=Zc(Object.assign({},j,N)),S=Z===Uc?P:x,g={top:c.top-S.top+T.top,bottom:S.bottom-c.bottom+T.bottom,left:c.left-S.left+T.left,right:S.right-c.right+T.right},v=i.modifiersData.offset;if(Z===Uc&&v){var p=v[n];Object.keys(g).forEach(function(a){var o=[Qn,hs].indexOf(a)>=0?1:-1,u=[Rn,hs].indexOf(a)>=0?"y":"x";g[a]+=p[u]*o})}return g}function nb(i,e){e===void 0&&(e={});var r=e,t=r.placement,n=r.boundary,l=r.rootBoundary,C=r.padding,B=r.flipVariations,$=r.allowedAutoPlacements,K=$===void 0?im:$,G=go(t),q=G?B?Q2:Q2.filter(function(Y){return go(Y)===G}):Cl,Z=q.filter(function(Y){return K.indexOf(Y)>=0});Z.length===0&&(Z=q);var R=Z.reduce(function(Y,V){return Y[V]=Go(i,{placement:V,boundary:n,rootBoundary:l,padding:C})[ws(V)],Y},{});return Object.keys(R).sort(function(Y,V){return R[Y]-R[V]})}function FB(i){if(ws(i)===em)return[];var e=qc(i);return[sm(i),e,sm(e)]}function VB(i){var e=i.state,r=i.options,t=i.name;if(!e.modifiersData[t]._skip){for(var n=r.mainAxis,l=n===void 0?!0:n,C=r.altAxis,B=C===void 0?!0:C,$=r.fallbackPlacements,K=r.padding,G=r.boundary,q=r.rootBoundary,Z=r.altBoundary,R=r.flipVariations,Y=R===void 0?!0:R,V=r.allowedAutoPlacements,H=e.options.placement,T=ws(H),L=T===H,j=$||(L||!Y?[qc(H)]:FB(H)),s=[H].concat(j).reduce(function(D,F){return D.concat(ws(F)===em?nb(e,{placement:F,boundary:G,rootBoundary:q,padding:K,flipVariations:Y,allowedAutoPlacements:V}):F)},[]),c=e.rects.reference,x=e.rects.popper,N=new Map,P=!0,S=s[0],g=0;g<s.length;g++){var v=s[g],p=ws(v),a=go(v)===Ha,o=[Rn,hs].indexOf(p)>=0,u=o?"width":"height",d=Go(e,{placement:v,boundary:G,rootBoundary:q,altBoundary:Z,padding:K}),h=o?a?Qn:Un:a?hs:Rn;c[u]>x[u]&&(h=qc(h));var m=qc(h),f=[];if(l&&f.push(d[p]<=0),B&&f.push(d[h]<=0,d[m]<=0),f.every(function(D){return D})){S=v,P=!1;break}N.set(v,f)}if(P)for(var y=Y?3:1,I=function(F){var X=s.find(function(_){var w=N.get(_);if(w)return w.slice(0,F).every(function(A){return A})});if(X)return S=X,"break"},E=y;E>0;E--){var M=I(E);if(M==="break")break}e.placement!==S&&(e.modifiersData[t]._skip=!0,e.placement=S,e.reset=!0)}}var m5={name:"flip",enabled:!0,phase:"main",fn:VB,requiresIfExists:["offset"],data:{_skip:!1}};function g5(i,e,r){return r===void 0&&(r={x:0,y:0}),{top:i.top-e.height-r.y,right:i.right-e.width+r.x,bottom:i.bottom-e.height+r.y,left:i.left-e.width-r.x}}function E5(i){return[Rn,Qn,hs,Un].some(function(e){return i[e]>=0})}function zB(i){var e=i.state,r=i.name,t=e.rects.reference,n=e.rects.popper,l=e.modifiersData.preventOverflow,C=Go(e,{elementContext:"reference"}),B=Go(e,{altBoundary:!0}),$=g5(C,t),K=g5(B,n,l),G=E5($),q=E5(K);e.modifiersData[r]={referenceClippingOffsets:$,popperEscapeOffsets:K,isReferenceHidden:G,hasPopperEscaped:q},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":G,"data-popper-escaped":q})}var b5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zB};function $B(i,e,r){var t=ws(i),n=[Un,Rn].indexOf(t)>=0?-1:1,l=typeof r=="function"?r(Object.assign({},e,{placement:i})):r,C=l[0],B=l[1];return C=C||0,B=(B||0)*n,[Un,Qn].indexOf(t)>=0?{x:B,y:C}:{x:C,y:B}}function WB(i){var e=i.state,r=i.options,t=i.name,n=r.offset,l=n===void 0?[0,0]:n,C=im.reduce(function(G,q){return G[q]=$B(q,e.rects,l),G},{}),B=C[e.placement],$=B.x,K=B.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=$,e.modifiersData.popperOffsets.y+=K),e.modifiersData[t]=C}var y5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:WB};function YB(i){var e=i.state,r=i.name;e.modifiersData[r]=cp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var v5={name:"popperOffsets",enabled:!0,phase:"read",fn:YB,data:{}};
vendor: 8,944 bytes, line 206
206function sb(i){return i==="x"?"y":"x"}function UB(i){var e=i.state,r=i.options,t=i.name,n=r.mainAxis,l=n===void 0?!0:n,C=r.altAxis,B=C===void 0?!1:C,$=r.boundary,K=r.rootBoundary,G=r.altBoundary,q=r.padding,Z=r.tether,R=Z===void 0?!0:Z,Y=r.tetherOffset,V=Y===void 0?0:Y,H=Go(e,{boundary:$,rootBoundary:K,padding:q,altBoundary:G}),T=ws(e.placement),L=go(e.placement),j=!L,s=Ch(T),c=sb(s),x=e.modifiersData.popperOffsets,N=e.rects.reference,P=e.rects.popper,S=typeof V=="function"?V(Object.assign({},e.rects,{placement:e.placement})):V,g=typeof S=="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),v=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,p={x:0,y:0};if(x){if(l){var a,o=s==="y"?Rn:Un,u=s==="y"?hs:Qn,d=s==="y"?"height":"width",h=x[s],m=h+H[o],f=h-H[u],y=R?-P[d]/2:0,I=L===Ha?N[d]:P[d],E=L===Ha?-P[d]:-N[d],M=e.elements.arrow,D=R&&M?xh(M):{width:0,height:0},F=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ap(),X=F[o],_=F[u],w=_h(0,N[d],D[d]),A=j?N[d]/2-y-w-X-g.mainAxis:I-w-X-g.mainAxis,U=j?-N[d]/2+y+w+_+g.mainAxis:E+w+_+g.mainAxis,b=e.elements.arrow&&Uo(e.elements.arrow),k=b?s==="y"?b.clientTop||0:b.clientLeft||0:0,O=(a=v==null?void 0:v[s])!=null?a:0,z=h+A-O-k,W=h+U-O,Q=_h(R?vh(m,z):m,h,R?Yo(f,W):f);x[s]=Q,p[s]=Q-h}if(B){var ee,se=s==="x"?Rn:Un,ae=s==="x"?hs:Qn,he=x[c],ce=c==="y"?"height":"width",ie=he+H[se],te=he-H[ae],ne=[Rn,Un].indexOf(T)!==-1,oe=(ee=v==null?void 0:v[c])!=null?ee:0,le=ne?ie:he-N[ce]-P[ce]-oe+g.altAxis,ue=ne?he+N[ce]+P[ce]-oe-g.altAxis:te,de=R&&ne?h5(le,he,ue):_h(R?le:ie,he,R?ue:te);x[c]=de,p[c]=de-he}e.modifiersData[t]=p}}var x5={name:"preventOverflow",enabled:!0,phase:"main",fn:UB,requiresIfExists:["offset"]};function rb(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function ob(i){return i===gn(i)||!cs(i)?wh(i):rb(i)}function GB(i){var e=i.getBoundingClientRect(),r=Fa(e.width)/i.offsetWidth||1,t=Fa(e.height)/i.offsetHeight||1;return r!==1||t!==1}function ab(i,e,r){r===void 0&&(r=!1);var t=cs(e),n=cs(e)&&GB(e),l=Rs(e),C=mo(i,n,r),B={scrollLeft:0,scrollTop:0},$={x:0,y:0};return(t||!t&&!r)&&((_s(e)!=="body"||Mh(l))&&(B=ob(e)),cs(e)?($=mo(e,!0),$.x+=e.clientLeft,$.y+=e.clientTop):l&&($.x=Sh(l))),{x:C.left+B.scrollLeft-$.x,y:C.top+B.scrollTop-$.y,width:C.width,height:C.height}}function XB(i){var e=new Map,r=new Set,t=[];i.forEach(function(l){e.set(l.name,l)});function n(l){r.add(l.name);var C=[].concat(l.requires||[],l.requiresIfExists||[]);C.forEach(function(B){if(!r.has(B)){var $=e.get(B);$&&n($)}}),t.push(l)}return i.forEach(function(l){r.has(l.name)||n(l)}),t}function lb(i){var e=XB(i);return a5.reduce(function(r,t){return r.concat(e.filter(function(n){return n.phase===t}))},[])}function hb(i){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(i())})})),e}}function cb(i){var e=i.reduce(function(r,t){var n=r[t.name];return r[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,r},{});return Object.keys(e).map(function(r){return e[r]})}var C5={placement:"bottom",modifiers:[],strategy:"absolute"};function _5(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];return!e.some(function(t){return!(t&&typeof t.getBoundingClientRect=="function")})}function w5(i){i===void 0&&(i={});var e=i,r=e.defaultModifiers,t=r===void 0?[]:r,n=e.defaultOptions,l=n===void 0?C5:n;return function(B,$,K){K===void 0&&(K=l);var G={placement:"bottom",orderedModifiers:[],options:Object.assign({},C5,l),modifiersData:{},elements:{reference:B,popper:$},attributes:{},styles:{}},q=[],Z=!1,R={state:G,setOptions:function(T){var L=typeof T=="function"?T(G.options):T;V(),G.options=Object.assign({},l,G.options,L),G.scrollParents={reference:fo(B)?_l(B):B.contextElement?_l(B.contextElement):[],popper:_l($)};var j=lb(cb([].concat(t,G.options.modifiers)));return G.orderedModifiers=j.filter(function(s){return s.enabled}),Y(),R.update()},forceUpdate:function(){if(!Z){var T=G.elements,L=T.reference,j=T.popper;if(_5(L,j)){G.rects={reference:ab(L,Uo(j),G.options.strategy==="fixed"),popper:xh(j)},G.reset=!1,G.placement=G.options.placement,G.orderedModifiers.forEach(function(g){return G.modifiersData[g.name]=Object.assign({},g.data)});for(var s=0;s<G.orderedModifiers.length;s++){if(G.reset===!0){G.reset=!1,s=-1;continue}var c=G.orderedModifiers[s],x=c.fn,N=c.options,P=N===void 0?{}:N,S=c.name;typeof x=="function"&&(G=x({state:G,options:P,name:S,instance:R})||G)}}}},update:hb(function(){return new Promise(function(H){R.forceUpdate(),H(G)})}),destroy:function(){V(),Z=!0}};if(!_5(B,$))return R;R.setOptions(K).then(function(H){!Z&&K.onFirstUpdate&&K.onFirstUpdate(H)});function Y(){G.orderedModifiers.forEach(function(H){var T=H.name,L=H.options,j=L===void 0?{}:L,s=H.effect;if(typeof s=="function"){var c=s({state:G,name:T,instance:R,options:j}),x=function(){};q.push(c||x)}})}function V(){q.forEach(function(H){return H()}),q=[]}return R}}var qB=[p5,v5,d5,sp,y5,m5,x5,c5,b5],ub=w5({defaultModifiers:qB});var ZB="tippy-box",I5="tippy-content",KB="tippy-backdrop",R5="tippy-arrow",B5="tippy-svg-arrow",Th={passive:!0,capture:!0},N5=function(){return document.body};function db(i,e,r){if(Array.isArray(i)){var t=i[e];return t??(Array.isArray(r)?r[e]:r)}return i}function bb(i,e){var r={}.toString.call(i);return r.indexOf("[object")===0&&r.indexOf(e+"]")>-1}function j5(i,e){return typeof i=="function"?i.apply(void 0,e):i}function S5(i,e){if(e===0)return i;var r;return function(t){clearTimeout(r),r=setTimeout(function(){i(t)},e)}}function QB(i){return i.split(/\s+/).filter(Boolean)}function Kc(i){return[].concat(i)}function M5(i,e){i.indexOf(e)===-1&&i.push(e)}function JB(i){return i.filter(function(e,r){return i.indexOf(e)===r})}function eN(i){return i.split("-")[0]}function am(i){return[].slice.call(i)}function T5(i){return Object.keys(i).reduce(function(e,r){return i[r]!==void 0&&(e[r]=i[r]),e},{})}function up(){return document.createElement("div")}function lm(i){return["Element","Fragment"].some(function(e){return bb(i,e)})}function tN(i){return bb(i,"NodeList")}function iN(i){return bb(i,"MouseEvent")}function nN(i){return!!(i&&i._tippy&&i._tippy.reference===i)}function sN(i){return lm(i)?[i]:tN(i)?am(i):Array.isArray(i)?i:am(document.querySelectorAll(i))}function pb(i,e){i.forEach(function(r){r&&(r.style.transitionDuration=e+"ms")})}function k5(i,e){i.forEach(function(r){r&&r.setAttribute("data-state",e)})}function rN(i){var e,r=Kc(i),t=r[0];return t!=null&&(e=t.ownerDocument)!=null&&e.body?t.ownerDocument:document}function oN(i,e){var r=e.clientX,t=e.clientY;return i.every(function(n){var l=n.popperRect,C=n.popperState,B=n.props,$=B.interactiveBorder,K=eN(C.placement),G=C.modifiersData.offset;if(!G)return!0;var q=K==="bottom"?G.top.y:0,Z=K==="top"?G.bottom.y:0,R=K==="right"?G.left.x:0,Y=K==="left"?G.right.x:0,V=l.top-t+q>$,H=t-l.bottom-Z>$,T=l.left-r+R>$,L=r-l.right-Y>$;return V||H||T||L})}function fb(i,e,r){var t=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(n){i[t](n,r)})}function A5(i,e){for(var r=e;r;){var t;if(i.contains(r))return!0;r=r.getRootNode==null||(t=r.getRootNode())==null?void 0:t.host}return!1}var pa={isTouch:!1},D5=0;function aN(){pa.isTouch||(pa.isTouch=!0,window.performance&&document.addEventListener("mousemove",H5))}function H5(){var i=performance.now();i-D5<20&&(pa.isTouch=!1,document.removeEventListener("mousemove",H5)),D5=i}function lN(){var i=document.activeElement;if(nN(i)){var e=i._tippy;i.blur&&!e.state.isVisible&&i.blur()}}function hN(){document.addEventListener("touchstart",aN,Th),window.addEventListener("blur",lN)}var cN=typeof window<"u"&&typeof document<"u",uN=cN?!!window.msCrypto:!1;var dN={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},pN={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Xo=Object.assign({appendTo:N5,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},dN,pN),fN=Object.keys(Xo),mN=function(e){var r=Object.keys(e);r.forEach(function(t){Xo[t]=e[t]})};function F5(i){var e=i.plugins||[],r=e.reduce(function(t,n){var l=n.name,C=n.defaultValue;if(l){var B;t[l]=i[l]!==void 0?i[l]:(B=Xo[l])!=null?B:C}return t},{});return Object.assign({},i,r)}function gN(i,e){var r=e?Object.keys(F5(Object.assign({}
vendor: 1,520 bytes, line 206
206,Xo,{plugins:e}))):fN,t=r.reduce(function(n,l){var C=(i.getAttribute("data-tippy-"+l)||"").trim();if(!C)return n;if(l==="content")n[l]=C;else try{n[l]=JSON.parse(C)}catch{n[l]=C}return n},{});return t}function L5(i,e){var r=Object.assign({},e,{content:j5(e.content,[i])},e.ignoreAttributes?{}:gN(i,e.plugins));return r.aria=Object.assign({},Xo.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?e.interactive:r.aria.expanded,content:r.aria.content==="auto"?e.interactive?null:"describedby":r.aria.content},r}var EN=function(){return"innerHTML"};function gb(i,e){i[EN()]=e}function P5(i){var e=up();return i===!0?e.className=R5:(e.className=B5,lm(i)?e.appendChild(i):gb(e,i)),e}function O5(i,e){lm(e.content)?(gb(i,""),i.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?gb(i,e.content):i.textContent=e.content)}function Eb(i){var e=i.firstElementChild,r=am(e.children);return{box:e,content:r.find(function(t){return t.classList.contains(I5)}),arrow:r.find(function(t){return t.classList.contains(R5)||t.classList.contains(B5)}),backdrop:r.find(function(t){return t.classList.contains(KB)})}}function V5(i){var e=up(),r=up();r.className=ZB,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var t=up();t.className=I5,t.setAttribute("data-state","hidden"),O5(t,i.props),e.appendChild(r),r.appendChild(t),n(i.props,i.props);function n(l,C){var B=Eb(e),$=B.box,K=B.content,G=B.arrow;C.theme?$.setAttribute("data-theme",C.theme):$.removeAttribute("data-theme"),typeof C.animation=="str
206ing"?$.setAttribute("data-animation",C.animation):$.removeAttribute("data-animation"),C.inertia?$.setAttribute("data-inertia",""):$.removeAttribute("data-inertia"),$.style.maxWidth=typeof C.maxWidth=="number"?C.maxWidth+"px":C.maxWidth,C.role?$.setAttribute("role",C.role):$.removeAttribute("role"),(l.content!==C.content||l.allowHTML!==C.allowHTML)&&O5(K,i.props),C.arrow?G?l.arrow!==C.arrow&&($.removeChild(G),$.appendChild(P5(C.arrow))):$.appendChild(P5(C.arrow)):G&&$.removeChild(G)}return{popper:e,onUpdate:n}}V5.$$tippy=!0;var bN=1,om=[],mb=[];function yN(i,e){var r=L5(i,Object.assign({},Xo,F5(T5(e)))),t,n,l,C=!1,B=!1,$=!1,K=!1,G,q,Z,R=[],Y=S5(z,r.interactiveDebounce),V,H=bN++,T=null,L=JB(r.plugins),j={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},s={id:H,reference:i,popper:up(),popperInstance:T,props:r,state:j,plugins:L,clearDelayTimeouts:le,setProps:ue,setContent:de,show:fe,hide:me,hideWithInteractivity:ge,enable:ne,disable:oe,unmount:Ee,destroy:ve};if(!r.render)return s;var c=r.render(s),x=c.popper,N=c.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+s.id,s.popper=x,i._tippy=s,x._tippy=s;var P=L.map(function(ye){return ye.fn(s)}),S=i.hasAttribute("aria-expanded");return b(),y(),h(),m("onCreate",[s]),r.showOnCreate&&ie(),x.addEventListener("mouseenter",function(){s.props.interactive&&s.state.isVisible&&s.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){s.props.interactive&&s.props.trigger.indexOf("mouseenter")>=0&&o().addEventListener("mousemove",Y)}),s;function g(){var ye=s.props.touch;return Array.isArray(ye)?ye:[ye,0]}function v(){return g()[0]==="hold"}function p(){var ye;return!!((ye=s.props.render)!=null&&ye.$$tippy)}function a(){return V||i}function o(){var ye=a().parentNode;return ye?rN(ye):document}function u(){return Eb(x)}function d(ye){return s.state.isMounted&&!s.state.isVisible||pa.isTouch||G&&G.type==="focus"?0:db(s.props.delay,ye?0:1,Xo.delay)}function h(ye){ye===void 0&&(ye=!1),x.style.pointerEvents=s.props.interactive&&!ye?"":"none",x.style.zIndex=""+s.props.zIndex}function m(ye,Se,xe){if(xe===void 0&&(xe=!0),P.forEach(function(Oe){Oe[ye]&&Oe[ye].apply(Oe,Se)}),xe){var Ce;(Ce=s.props)[ye].apply(Ce,Se)}}function f(){var ye=s.props.aria;if(ye.content){var Se="aria-"+ye.content,xe=x.id,Ce=Kc(s.props.triggerTarget||i);Ce.forEach(function(Oe){var Pe=Oe.getAttribute(Se);if(s.state.isVisible)Oe.setAttribute(Se,Pe?Pe+" "+xe:xe);else{var He=Pe&&Pe.replace(xe,"").trim();He?Oe.setAttribute(Se,He):Oe.removeAttribute(Se)}})}}function y(){if(!(S||!s.props.aria.expanded)){var ye=Kc(s.props.triggerTarget||i);ye.forEach(function(Se){s.props.interactive?Se.setAttribute("aria-expanded",s.state.isVisible&&Se===a()?"true":"false"):Se.removeAttribute("aria-expanded")})}}function I(){o().removeEventListener("mousemove",Y),om=om.filter(function(ye){return ye!==Y})}function E(ye){if(!(pa.isTouch&&($||ye.type==="mousedown"))){var Se=ye.composedPath&&ye.composedPath()[0]||ye.target;if(!(s.props.interactive&&A5(x,Se))){if(Kc(s.props.triggerTarget||i).some(function(xe){return A5(xe,Se)})){if(pa.isTouch||s.state.isVisible&&s.props.trigger.indexOf("click")>=0)return}else m("onClickOutside",[s,ye]);s.props.hideOnClick===!0&&(s.clearDelayTimeouts(),s.hide(),B=!0,setTimeout(function(){B=!1}),s.state.isMounted||X())}}}function M(){$=!0}function D(){$=!1}function F(){var ye=o();ye.addEventListener("mousedown",E,!0),ye.addEventListener("touchend",E,Th),ye.addEventListener("touchstart",D,Th),ye.addEventListener("touchmove",M,Th)}function X(){var ye=o();ye.removeEventListener("mousedown",E,!0),ye.removeEventListener("touchend",E,Th),ye.removeEventListener("touchstart",D,Th),ye.removeEventListener("touchmove",M,Th)}function _(ye,Se){A(ye,function(){!s.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&Se()})}function w(ye,Se){A(ye,Se)}function A(ye,Se){var xe=u().box;function Ce(Oe){Oe.target===xe&&(fb(xe,"remove",Ce),Se())}if(ye===0)return Se();fb(xe,"remove",q),fb(xe,"add",Ce),q=Ce}function U(ye,Se,xe){xe===void 0&&(xe=!1);var Ce=Kc(s.props.triggerTarget||i);Ce.forEach(function(Oe){Oe.addEventListener(ye,Se,xe),R.push({node:Oe,eventType:ye,handler:Se,options:xe})})}
vendor: 4,411 bytes, line 206
206function b(){v()&&(U("touchstart",O,{passive:!0}),U("touchend",W,{passive:!0})),QB(s.props.trigger).forEach(function(ye){if(ye!=="manual")switch(U(ye,O),ye){case"mouseenter":U("mouseleave",W);break;case"focus":U(uN?"focusout":"blur",Q);break;case"focusin":U("focusout",Q);break}})}function k(){R.forEach(function(ye){var Se=ye.node,xe=ye.eventType,Ce=ye.handler,Oe=ye.options;Se.removeEventListener(xe,Ce,Oe)}),R=[]}function O(ye){var Se,xe=!1;if(!(!s.state.isEnabled||ee(ye)||B)){var Ce=((Se=G)==null?void 0:Se.type)==="focus";G=ye,V=ye.currentTarget,y(),!s.state.isVisible&&iN(ye)&&om.forEach(function(Oe){return Oe(ye)}),ye.type==="click"&&(s.props.trigger.indexOf("mouseenter")<0||C)&&s.props.hideOnClick!==!1&&s.state.isVisible?xe=!0:ie(ye),ye.type==="click"&&(C=!xe),xe&&!Ce&&te(ye)}}function z(ye){var Se=ye.target,xe=a().contains(Se)||x.contains(Se);if(!(ye.type==="mousemove"&&xe)){var Ce=ce().concat(x).map(function(Oe){var Pe,He=Oe._tippy,Je=(Pe=He.popperInstance)==null?void 0:Pe.state;return Je?{popperRect:Oe.getBoundingClientRect(),popperState:Je,props:r}:null}).filter(Boolean);oN(Ce,ye)&&(I(),te(ye))}}function W(ye){var Se=ee(ye)||s.props.trigger.indexOf("click")>=0&&C;if(!Se){if(s.props.interactive){s.hideWithInteractivity(ye);return}te(ye)}}function Q(ye){s.props.trigger.indexOf("focusin")<0&&ye.target!==a()||s.props.interactive&&ye.relatedTarget&&x.contains(ye.relatedTarget)||te(ye)}function ee(ye){return pa.isTouch?v()!==ye.type.indexOf("touch")>=0:!1}function se(){ae();var ye=s.props,Se=ye.popperOptions,xe=ye.placement,Ce=ye.offset,Oe=ye.getReferenceClientRect,Pe=ye.moveTransition,He=p()?Eb(x).arrow:null,Je=Oe?{getBoundingClientRect:Oe,contextElement:Oe.contextElement||a()}:i,Xe={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(vt){var Gt=vt.state;if(p()){var Ft=u(),Ii=Ft.box;["placement","reference-hidden","escaped"].forEach(function(mt){mt==="placement"?Ii.setAttribute("data-placement",Gt.placement):Gt.attributes.popper["data-popper-"+mt]?Ii.setAttribute("data-"+mt,""):Ii.removeAttribute("data-"+mt)}),Gt.attributes.popper={}}}},dt=[{name:"offset",options:{offset:Ce}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Pe}},Xe];p()&&He&&dt.push({name:"arrow",options:{element:He,padding:3}}),dt.push.apply(dt,(Se==null?void 0:Se.modifiers)||[]),s.popperInstance=ub(Je,x,Object.assign({},Se,{placement:xe,onFirstUpdate:Z,modifiers:dt}))}function ae(){s.popperInstance&&(s.popperInstance.destroy(),s.popperInstance=null)}function he(){var ye=s.props.appendTo,Se,xe=a();s.props.interactive&&ye===N5||ye==="parent"?Se=xe.parentNode:Se=j5(ye,[xe]),Se.contains(x)||Se.appendChild(x),s.state.isMounted=!0,se()}function ce(){return am(x.querySelectorAll("[data-tippy-root]"))}function ie(ye){s.clearDelayTimeouts(),ye&&m("onTrigger",[s,ye]),F();var Se=d(!0),xe=g(),Ce=xe[0],Oe=xe[1];pa.isTouch&&Ce==="hold"&&Oe&&(Se=Oe),Se?t=setTimeout(function(){s.show()},Se):s.show()}function te(ye){if(s.clearDelayTimeouts(),m("onUntrigger",[s,ye]),!s.state.isVisible){X();return}if(!(s.props.trigger.indexOf("mouseenter")>=0&&s.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ye.type)>=0&&C)){var Se=d(!1);Se?n=setTimeout(function(){s.state.isVisible&&s.hide()},Se):l=requestAnimationFrame(function(){s.hide()})}}function ne(){s.state.isEnabled=!0}function oe(){s.hide(),s.state.isEnabled=!1}function le(){clearTimeout(t),clearTimeout(n),cancelAnimationFrame(l)}function ue(ye){if(!s.state.isDestroyed){m("onBeforeUpdate",[s,ye]),k();var Se=s.props,xe=L5(i,Object.assign({},Se,T5(ye),{ignoreAttributes:!0}));s.props=xe,b(),Se.interactiveDebounce!==xe.interactiveDebounce&&(I(),Y=S5(z,xe.interactiveDebounce)),Se.triggerTarget&&!xe.triggerTarget?Kc(Se.triggerTarget).forEach(function(Ce){Ce.removeAttribute("aria-expanded")}):xe.triggerTarget&&i.removeAttribute("aria-expanded"),y(),h(),N&&N(Se,xe),s.popperInstance&&(se(),ce().forEach(function(Ce){requestAnimationFrame(Ce._tippy.popperInstance.forceUpdate)})),m("onAfterUpdate",[s,ye])}}function de(ye){s.setProps({content:ye})}function fe(){var ye=s.state.isVisible,Se=s.state.isDestroyed,xe=!s.state.isEnabled,Ce=pa.isTouch&&!s.props.touch,Oe=db(s.props.duration,0,Xo.duration);if(!(ye||Se||xe||Ce)&&!a().hasAttribute("disabled")&&(m("onShow",[s],!1),s.props.onShow(s)!==!1)){if
206(s.state.isVisible=!0,p()&&(x.style.visibility="visible"),h(),F(),s.state.isMounted||(x.style.transition="none"),p()){var Pe=u(),He=Pe.box,Je=Pe.content;pb([He,Je],0)}Z=function(){var dt;if(!(!s.state.isVisible||K)){if(K=!0,x.offsetHeight,x.style.transition=s.props.moveTransition,p()&&s.props.animation){var ct=u(),vt=ct.box,Gt=ct.content;pb([vt,Gt],Oe),k5([vt,Gt],"visible")}f(),y(),M5(mb,s),(dt=s.popperInstance)==null||dt.forceUpdate(),m("onMount",[s]),s.props.animation&&p()&&w(Oe,function(){s.state.isShown=!0,m("onShown",[s])})}},he()}}function me(){var ye=!s.state.isVisible,Se=s.state.isDestroyed,xe=!s.state.isEnabled,Ce=db(s.props.duration,1,Xo.duration);if(!(ye||Se||xe)&&(m("onHide",[s],!1),s.props.onHide(s)!==!1)){if(s.state.isVisible=!1,s.state.isShown=!1,K=!1,C=!1,p()&&(x.style.visibility="hidden"),I(),X(),h(!0),p()){var Oe=u(),Pe=Oe.box,He=Oe.content;s.props.animation&&(pb([Pe,He],Ce),k5([Pe,He],"hidden"))}f(),y(),s.props.animation?p()&&_(Ce,s.unmount):s.unmount()}}function ge(ye){o().addEventListener("mousemove",Y),M5(om,Y),Y(ye)}function Ee(){s.state.isVisible&&s.hide(),s.state.isMounted&&(ae(),ce().forEach(function(ye){ye._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),mb=mb.filter(function(ye){return ye!==s}),s.state.isMounted=!1,m("onHidden",[s]))}function ve(){s.state.isDestroyed||(s.clearDelayTimeouts(),s.unmount(),k(),delete i._tippy,s.state.isDestroyed=!0,m("onDestroy",[s]))}}function dp(i,e){e===void 0&&(e={});var r=Xo.plugins.concat(e.plugins||[]);hN();var t=Object.assign({},e,{plugins:r}),n=sN(i);if(0)var l,C;var B=n.reduce(function($,K){var G=K&&yN(K,t);return G&&$.push(G),$},[]);return lm(i)?B[0]:B}dp.defaultProps=Xo;dp.setDefaultProps=mN;dp.currentInput=pa;var Jse=Object.assign({},sp,{effect:function(e){var r=e.state,t={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,t.popper),r.styles=t,r.elements.arrow&&Object.assign(r.elements.arrow.style,t.arrow)}});dp.setDefaultProps({render:V5});var z5=dp;function vN(i,e){if(i&1&&(ke(0,"div",2),Ke(1,"div",3),Ae()),i&2){let r=e.$implicit;we(),Ti("height",r,"px")}}function xN(i,e){if(i&1&&(ke(0,"div",2)(1,"div",3),Ke(2,"div",4)(3,"div",5)(4,"div",5)(5,"div",5)(6,"div",5)(7,"div",5)(8,"div",5)(9,"div",5)(10,"div",5)(11,"div",5)(12,"div",5),Ae()()),i&2){let r=e.$implicit,t=Te();ht("is-hidden-mobile",r>t.mobileNum)}}var CN=()=>[1,2,3,4,5];function _N(i,e){i&1&&(ke(0,"div",5)(1,"div",2),Ke(2,"div",6),Ae()())}var hm=(i,e)=>({value:i,params:e});function wN(i,e){if(i&1){let r=et();ke(0,"button",10),We("click",function(){Ne(r);let n=Te();return je(n.onDismiss())}),Ae()}if(i&2){let r=Te();Ti("pointer-events",r.closeButtonPointerEvents())}}function SN(i,e){if(i&1&&(ke(0,"p",11),Ge(1),Ae()),i&2){let r=Te();we(),qt(r.data.message)}}function MN(i,e){if(i&1){let r=et();ke(0,"div")(1,"button",12),We("click",function(){Ne(r);let n=Te();return je(n.onConfirm())}),Ge(2),Ae()()}if(i&2){let r=Te();we(),xs("button is-fat is-",r.data.colorVar,""),ht("is-loading",r.isLoading),we(),qt(r.data.agreeText)}}function TN(i,e){if(i&1){let r=et();ke(0,"div",13)(1,"button",12),We("click",function(){Ne(r);let n=Te();return je(n.onConfirm())}),Ge(2),Ae(),Ge(3," \xA0 "),ke(4,"button",14),We("click",function(){Ne(r);let n=Te();return je(n.onDismiss())}),Ge(5),Ae()()}if(i&2){let r=Te();ht("is-flex-row-reverse",!r.data.isAgreeFirst),we(),xs("button is-fat is-",r.data.colorVar,""),ht("is-loading",r.isLoading),we(),qt(r.data.agreeText),we(2),_e("disabled",r.isLoading),we(),qt(r.data.disagreeText)}}var kN=["modalContent"],AN=[[["modal-title"]],"*"],DN=["modal-title","*"],LN=["*"],PN=["autofocus"],um=new Ht("userSoftApiClientConfigToken"),ON={apiBaseUrl:"",dateRequestFormatter:i=>i.toISOString(),dateResponseReviver:(i,e)=>{let r;return typeof e=="string"&&e.length===20&&(r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(e),r)?new Date(Date.UTC(+r[1],+r[2]-1,+r[3],+r[4],+r[5],+r[6])):e}},G5=(()=>{let e=class e{forceHandleError(t){}handleError(t){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Zt=(()=>{let e=class e{constructor(t,n,l){this.http=t,this.apiErrorHandlerService=n,this.config={},this.config=Object.assign({},ON,l)}request(t,n,l,C){return t.toLowerCase()==="get"?this.get(n,l.params,l.headers,C):t.toLowerCase()==="post"?this.post(n,l.body,l.params,l.headers,C):t.toLowerCase()==="put"?this.put(n,l.body,l.params,l.headers,C):t.toLowerCase()==="delete"?this.delete(n,l.params,l.headers,C):lr(null)}get(t,n={},l,C){return this.requestHelper("get",t,{body:void 0,params:n,headers:l},C).pipe(this.httpErrorHandler())}post(t,n,l,C,B){return this.requestHelper("post",t,{body:n,params:l,headers:C},B).pipe(this.httpErrorHandler())}put(t,n,l,C,B){return this.requestHelper("put",t,{body:n,params:l,headers:C},B).pipe(this.httpErrorHandler())}delete(t,n,l,C){return this.requestHelper("delete",t,{params:n,headers:l},C).pipe(this.httpErrorHandler())}blobGet(t,n,l,C){return this.requestHelper("get",t,{body:void 0,params:n,headers:l,responseType:"blob"},C).pipe(this.httpErrorHandler())}blobPost(t,n,l,C,B){return this.requestHelper("post",t,{body:n,params:l,headers:C,responseType:"blob"},B).pipe(this.httpErrorHandler())}multipartPost(t,n,l,C,B){let $=new FormData;for(let[K,G]of Object.entries(n))if(G!==void 0)if(G instanceof FileList)for(let q=0;q<G.length;q++)$.append(K,G.item(q));
206else if(Array.isArray(G))for(let q of G)$.append(K,q);else $.append(K,G);return this.post(t,$,l,C,B)}multipartPut(t,n,l,C,B){let $=new FormData;for(let[K,G]of Object.entries(n))if(G!==void 0)if(G instanceof FileList)for(let q=0;q<G.length;q++)$.append(K,G.item(q));else if(Array.isArray(G))for(let q of G)$.append(K,q);else $.append(K,G);return this.put(t,$,l,C,B)}httpErrorHandler(){return lo(t=>{let n=window.setTimeout(()=>{this.apiErrorHandlerService.handleError(t)});return t.ignoreErrorHandler=()=>{window.clearTimeout(n)},this.apiErrorHandlerService.forceHandleError(t),Nr(()=>t)})}requestHelper(t,n,l,C){return n=`${this.config.apiBaseUrl}${n}`,l.responseType||(l.responseType="text"),l.observe||(l.observe="response"),this.formatRequest(t,l),this.execute(t,n,l,C)}execute(t,n,l,C){return C||(l.headers=l.headers||new NE,l.headers.has("Authorization")||(l.headers=l.headers.set("Authorization","ACCESS_TOKEN"))),this.http.request(t,n,l).pipe(Gi(B=>{if(l.observe==="response")return{headers:this.formatResponseHeader(B.headers),data:l.responseType==="text"?this.formatResponse(B.body):B.body};if(l.observe==="body")return l.responseType==="text"?this.formatResponse(B):B;if(l.reportProgress){if(B.type===HE.UploadProgress){var $=B.total?B.total:0;return{progress:Math.round(B.loaded/$*100),data:void 0}}return B.type===HE.Response?{progress:100,data:l.responseType==="text"?this.formatResponse(B.body):B.body}:{progress:0,data:void 0}}else return B}))}formatRequest(t,n){n.params&&(n.params=Object.getOwnPropertyNames(n.params).filter(l=>n.params[l]!==void 0).reduce((l,C)=>{let B=n.params[C];return B instanceof Date?this.config.dateRequestFormatter?l[C]=this.config.dateRequestFormatter(B):l[C]=B.toISOString():l[C]=n.params[C],l},{})),(t==="post"||t==="put")&&n.body&&!(n.body instanceof FormData)&&n.responseType!=="blob"&&(n.body=this.iterateFormatDate(n.body))}formatResponse(t){if(t!=="")try{return JSON.parse(t,this.config.dateResponseReviver)}catch{return t}return""}formatResponseHeader(t){let n=[],l=t.keys();for(let C of l){let B=t.get(C);B&&(isNaN(B)?B==="true"?B=!0:B==="false"&&(B=!1):B=+B),n[C.toLowerCase()]=B}return n}iterateFormatDate(t){let n;return Array.isArray(t)?n=[]:n={},Object.keys(t).forEach(l=>{t[l]instanceof Date?n[l]=this.config.dateRequestFormatter(t[l]):typeof t[l]=="object"&&!(t[l]instanceof FormData)&&t[l]?n[l]=this.iterateFormatDate(t[l]):n[l]=t[l]}),n}};e.\u0275fac=function(n){return new(n||e)(qe(FE),qe(G5),qe(um))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),$5=(()=>{let e=class e{static forRoot(t){return{ngModule:e,providers:[{provide:um,useValue:t},Zt,G5]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[zE($E(),WE())],imports:[Sn]});let i=e;return i})(),X5=(()=>{let e=class e{intercept(t,n){if(t.method==="GET"){let l=t.clone({headers:t.headers.set("Cache-Control","no-cache").set("Pragma","no-cache")});return n.handle(l)}return n.handle(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),dm=new Ht("userSoftAsyncUIConfigToken"),q5=new Ht("userRegisteredSkeletonComponentsToken"),Z5={skelDelay:300,skelMinDisplayTime:400,busyDelay:400,busyContainerMinHeight:50},K5=(()=>{let e=class e{constructor(t,n){this.config=Object.assign({},Z5,n),this.element=t.nativeElement}ngOnDestroy(){this.minDurationTimeout&&clearTimeout(this.minDurationTimeout)}setState(t){let n=t instanceof Ds,l=t instanceof vs,C=typeof t=="boolean",B=t instanceof Promise||t!=null&&typeof t=="object"&&typeof t.then=="function"&&typeof t.catch=="function";if(n)throw new TypeError("state must be an instance of Subscription, instance of Observable given");if(l){let $=t;$.closed||(this.promise=new Promise(K=>{$.add(()=>K(!0))}))}else if(B)this.promise=t;else if(C){let $=this.createPromiseFromBoolean(t);if(!$)return;this.promise=$}this.checkAndInitStateHandler(this.element)}createPromiseFromBoolean(t){return t?new Promise(n=>{this.fakePromiseResolve=n}):(this.fakePromiseResolve&&(this.fakePromiseResolve(),this.fakePromiseResolve=void 0),null)}
206checkAndInitStateHandler(t){t&&this.promise&&this.initPromiseHandler(t)}initPromiseHandler(t){let n=this.promise;this.isMinDurationTimeoutDone=!1,this.isPromiseDone=!1,(this.minDuration||this.config.minDuration)&&(this.minDurationTimeout=window.setTimeout(()=>{this.isMinDurationTimeoutDone=!0,n===this.promise&&(!(this.minDuration||this.config.minDuration)||this.isMinDurationTimeoutDone)&&this.isPromiseDone&&this.finishedState(t)},this.minDuration||this.config.minDuration));let l=()=>{this.isPromiseDone=!0,n===this.promise&&(!(this.minDuration||this.config.minDuration)||this.isMinDurationTimeoutDone)&&this.isPromiseDone&&this.finishedState(t)};this.loadingState(t),n.finally?n.finally(l):n.then(l).catch(l)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(dm))},e.\u0275dir=ft({type:e,inputs:{minDuration:"minDuration"}});let i=e;return i})(),IN=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["soft-default-busy-spinner"]],inputs:{data:"data"},decls:20,vars:7,consts:[[1,"busy-spinner"],[1,"ng-busy"],[1,"ng-busy-default-wrapper"],[1,"ng-busy-default-sign"],[1,"ng-busy-default-spinner"],[1,"bar1"],[1,"bar2"],[1,"bar3"],[1,"bar4"],[1,"bar5"],[1,"bar6"],[1,"bar7"],[1,"bar8"],[1,"bar9"],[1,"bar10"],[1,"bar11"],[1,"bar12"],[1,"ng-busy-default-text"],[1,"ng-busy-backdrop"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),Ke(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"div",10)(11,"div",11)(12,"div",12)(13,"div",13)(14,"div",14)(15,"div",15)(16,"div",16),Ae(),ke(17,"div",17),Ge(18),Ae()()()(),Ke(19,"div",18),Ae()),n&2&&(we(3),Ti("top",l.data.top),we(),Ti("width",l.data.size)("height",l.data.size),we(14),qt(l.data.text||"Please wait..."))},styles:[".busy-spinner[_ngcontent-%COMP%]{display:block!important}.ng-busy[_ngcontent-%COMP%]{z-index:1002}.ng-busy[_ngcontent-%COMP%], .ng-busy[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], .ng-busy[_ngcontent-%COMP%] > ng-component[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{position:absolute;inset:0}.ng-busy-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1001;background:#fff;opacity:.7}.ng-busy-default-wrapper[_ngcontent-%COMP%]{text-align:center}.ng-busy-default-sign[_ngcontent-%COMP%]{position:relative;z-index:1003;padding:12px;color:#333}.ng-busy-default-text[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;max-width:400px;font-size:14px;text-align:left}.ng-busy-default-spinner[_ngcontent-%COMP%]{position:relative;display:inline-block;width:24px;height:24px;vertical-align:middle}.ng-busy-default-spinner[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;left:44.5%;top:37%;width:10%;height:26%;background:#666;border-radius:50px;box-shadow:0 0 3px #0003;opacity:0;-webkit-animation:_ngcontent-%COMP%_busy-spinner-anim 1s linear infinite;animation:_ngcontent-%COMP%_busy-spinner-anim 1s linear infinite}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar1[_ngcontent-%COMP%]{-webkit-transform:rotate(0deg) translate(0,-142%);transform:rotate(0) translateY(-142%);-webkit-animation-delay:-1s;animation-delay:-1s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar2[_ngcontent-%COMP%]{-webkit-transform:rotate(30deg) translate(0,-142%);transform:rotate(30deg) translateY(-142%);-webkit-animation-delay:-.91666667s;animation-delay:-.91666667s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar3[_ngcontent-%COMP%]{-webkit-transform:rotate(60deg) translate(0,-142%);transform:rotate(60deg) translateY(-142%);-webkit-animation-delay:-.83333333s;animation-delay:-.83333333s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar4[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg) translate(0,-142%);transform:rotate(90deg) translateY(-142%);-webkit-animation-delay:-.75s;animation-delay:-.75s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar5[_ngcontent-%COMP%]{-webkit-transform:rotate(120deg) translate(0,-142%);transform:rotate(120deg) translateY(-142%);-webkit-animation-delay:-.66666667s;animation-delay:-.66666667s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar6[_ngcontent-%COMP%]{-webkit-transform:rotate(150deg) translate(0,-142%);transform:rotate(150deg) translateY(-142%);-webkit-animation-delay:-.58333333s;animation-delay:-.58333333s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar7[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg) translate(0,-142%);transform:rotate(180deg) translateY(-142%);-webkit-animation-delay:-.5s;animation-delay:-.5s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar8[_ngcontent-%COMP%]{-webkit-transform:rotate(210deg) translate(0,-142%);transform:rotate(210deg) translateY(-142%);-webkit-animation-delay:-.41666667s;animation-delay:-.41666667s}
206.ng-busy-default-spinner[_ngcontent-%COMP%] .bar9[_ngcontent-%COMP%]{-webkit-transform:rotate(240deg) translate(0,-142%);transform:rotate(240deg) translateY(-142%);-webkit-animation-delay:-.33333333s;animation-delay:-.33333333s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar10[_ngcontent-%COMP%]{-webkit-transform:rotate(270deg) translate(0,-142%);transform:rotate(270deg) translateY(-142%);-webkit-animation-delay:-.25s;animation-delay:-.25s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar11[_ngcontent-%COMP%]{-webkit-transform:rotate(300deg) translate(0,-142%);transform:rotate(300deg) translateY(-142%);-webkit-animation-delay:-.16666667s;animation-delay:-.16666667s}.ng-busy-default-spinner[_ngcontent-%COMP%] .bar12[_ngcontent-%COMP%]{-webkit-transform:rotate(330deg) translate(0,-142%);transform:rotate(330deg) translateY(-142%);-webkit-animation-delay:-.08333333s;animation-delay:-.08333333s}@-webkit-keyframes _ngcontent-%COMP%_busy-spinner-anim{0%{opacity:1}to{opacity:.25}}@keyframes _ngcontent-%COMP%_busy-spinner-anim{0%{opacity:1}to{opacity:.25}}"]});let i=e;return i})(),Mre=(()=>{let e=class e extends K5{constructor(t,n,l){super(t,n),this.viewContainerRef=l,this.busyContainerMinHeight=50}ngOnInit(){let t=this.viewContainerRef.createComponent(this.busyComponent||IN);t.instance.data=this.busyData||{},this.busyHTMLElement=t.hostView.rootNodes[0],window.setTimeout(()=>{t.destroy()})}ngOnChanges(t){t.softBusy&&this.setState(t.softBusy.currentValue)}ngOnDestroy(){this.finishedState(this.element)}loadingState(t){let n=this.config.minDuration||0;this.minDuration!=null&&(n=this.minDuration);let l=this.config.busyDelay||0;this.busyDelay!=null&&(l=this.busyDelay),l<n&&(l=0);let C=this.config.busyContainerMinHeight;this.busyContainerMinHeight!=null&&(C=this.busyContainerMinHeight),window.setTimeout(()=>{if(!this.isPromiseDone){let B=t;this.busyContainer&&(B=t.closest(this.busyContainer)),B&&(this.containerOriginalPosition=B.style.position,this.containerOriginalMinHeight=B.style.minHeight,B.style.position="relative",C&&(B.style.minHeight=`${C}px`),B.appendChild(this.busyHTMLElement))}},l)}finishedState(t){let n=t;this.busyContainer&&(n=t.closest(this.busyContainer)),n&&n.contains(this.busyHTMLElement)&&(n.removeChild(this.busyHTMLElement),n.style.position=this.containerOriginalPosition,n.style.minHeight=this.containerOriginalMinHeight)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(dm),Ie(Gs))},e.\u0275dir=ft({type:e,selectors:[["","softBusy",""]],inputs:{softBusy:"softBusy",busyComponent:"busyComponent",busyContainer:"busyContainer",busyContainerMinHeight:"busyContainerMinHeight",busyDelay:"busyDelay",busyData:"busyData"},features:[Nt,ki]});let i=e;return i})(),xb=(()=>{let e=class e extends K5{set isDisabledFromTheOutsideSetter(t){t||t!==!1&&t!=null?(this.isDisabledFromTheOutside=!0,this.element.setAttribute("disabled","disabled")):(this.isDisabledFromTheOutside=!1,(this.isPromiseDone||this.isPromiseDone===void 0)&&this.element.removeAttribute("disabled"))}loadingState(t){this.disableElement(t)}finishedState(t){this.enableElement(t)}disableElement(t){t.setAttribute("disabled","disabled")}enableElement(t){this.isDisabledFromTheOutside?t.setAttribute("disabled","disabled"):t.removeAttribute("disabled")}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,inputs:{isDisabledFromTheOutsideSetter:[0,"disabled","isDisabledFromTheOutsideSetter"]},features:[Nt]});let i=e;return i})(),Tre=(()=>{let e=class e extends xb{set softDisabled(t){this.setState(t)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","softDisabled",""]],inputs:{softDisabled:"softDisabled"},features:[Nt]});let i=e;return i})(),pm=(()=>{let e=class e extends xb{constructor(){super(...arguments),this.loadingClass="is-loading"}set softLoading(t){this.setState(t)}loadingState(t){this.addLoadingClass(t),super.loadingState(t)}finishedState(t){this.removeLoadingClass(t),super.finishedState(t)}addLoadingClass(t){t.classList.add(this.loadingClass)}removeLoadingClass(t){t.classList.remove(this.loadingClass)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","softLoading",""]],inputs:{loadingClass:"loadingClass",softLoading:"softLoading"},features:[Nt]});let i=e;return i})(),Q5=(()=>{let e=class e extends xb{constructor(){super(...arguments),this.loadingClass="is-loading",this.isNewState=!1,this.isClicked=!1}set softLoadingBtn(t){this.isNewState=!0,this.setState(t),this.isNewState=!1}handleCurrentBtnOnly(){this.isClicked=!0,window.setTimeout(()=>{this.isClicked=!1})}loadingState(t){this.isClicked&&this.isNewState&&this.addLoadingClass(t),super.loadingState(t)}finishedState(t){this.removeLoadingClass(t),super.finishedState(t)}addLoadingClass(t){t.classList.add(this.loadingClass)}removeLoadingClass(t){t.classList.remove(this.loadingClass)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","softLoadingBtn",""]],hostBindings:function(n,l){n&1&&We("click",function(){return l.handleCurrentBtnOnly()})},inputs:{loadingClass:"loadingClass",softLoadingBtn:"softLoadingBtn"},features:[Nt]});let i=e;return i})(),RN=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["default-skeleton"]],decls:12,vars:0,consts:[[1,"ph-item"],[1,"ph-col-12"],[1,"ph-picture"],[1,"ph-row"],[1,"ph-col-6","big"],[1,"ph-col-4","empty","big"],[1,"ph-col-2","big"],[1,"ph-col-4"],[1,"ph-col-8","empty"],[1,"ph-col-6"],[1,"ph-col-6","empty"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1),Ke(2,"div",2),ke(3,"div",3),Ke(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"div",10)(11,"div",1),Ae()()())},encapsulation:2,changeDetection:0});let i=e;return i})(),BN=(()=>{let e=class e{set context(t){this.bars=Array(t.count).fill(1).map(()=>
206[40,80,120,160][Math.floor(Math.random()*4)]),this.bars[Math.floor(Math.random()*t.count)]=200}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bar-chart-skeleton"]],inputs:{context:"context"},decls:2,vars:1,consts:[[1,"is-flex","is-align-end","is-justify-evenly"],["class","ph-item",4,"ngFor","ngForOf"],[1,"ph-item"],[1,"ph-picture"]],template:function(n,l){n&1&&(ke(0,"div",0),$e(1,vN,2,2,"div",1),Ae()),n&2&&(we(),_e("ngForOf",l.bars))},dependencies:[si],styles:[".ph-item[_ngcontent-%COMP%]{width:7rem}"],changeDetection:0});let i=e;return i})(),NN=(()=>{let e=class e{set context(t){this.size=t.size}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["pie-chart-skeleton"]],inputs:{context:"context"},decls:2,vars:4,consts:[[1,"ph-item"],[1,"ph-avatar"]],template:function(n,l){n&1&&(ke(0,"div",0),Ke(1,"div",1),Ae()),n&2&&Ti("width",l.size,"px")("height",l.size,"px")},styles:[".ph-item[_ngcontent-%COMP%]{margin:0 auto}.ph-avatar[_ngcontent-%COMP%]{margin-bottom:0}"],changeDetection:0});let i=e;return i})(),jN=(()=>{let e=class e{constructor(){this.numArray=[1,2,3,4,5,6,7,8],this.mobileNum=this.numArray.length}set context(t){this.numArray=Array(t.count).fill(0).map((n,l)=>l+1),this.mobileNum=this.numArray.length,t.mobileCount&&(this.mobileNum=t.mobileCount+1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["table-skeleton"]],inputs:{context:"context"},decls:2,vars:1,consts:[[1,"ph-item"],["class","ph-col-1",3,"is-hidden-mobile",4,"ngFor","ngForOf"],[1,"ph-col-1"],[1,"ph-row"],[1,"ph-col-12","big"],[1,"ph-col-12"]],template:function(n,l){n&1&&(ke(0,"div",0),$e(1,xN,13,2,"div",1),Ae()),n&2&&(we(),_e("ngForOf",l.numArray))},dependencies:[si],styles:[".ph-item[_ngcontent-%COMP%]{padding:0 10px}.ph-item[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:5px;padding-left:5px}.ph-row[_ngcontent-%COMP%]{margin-bottom:0}.ph-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{height:20px}.ph-row[_ngcontent-%COMP%] .big[_ngcontent-%COMP%], .ph-row.big[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{height:35px;margin-bottom:10px}"],changeDetection:0});let i=e;return i})(),HN=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["summary-skeleton"]],decls:5,vars:2,consts:[[1,"ph-item"],[1,"ph-col-12"],[1,"ph-row"],[1,"ph-col-12","_total"],["class","ph-col-2",4,"ngFor","ngForOf"],[1,"ph-col-2"],[1,"ph-col-12","_status"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"div",2),Ke(3,"div",3),Ae()(),$e(4,_N,3,0,"div",4),Ae()),n&2&&(we(4),_e("ngForOf",QC(1,CN)))},dependencies:[si],styles:[".ph-item[_ngcontent-%COMP%]{padding:0 10px}.ph-item[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{padding-right:12px;padding-left:12px}.ph-row[_ngcontent-%COMP%]{margin-bottom:0}.ph-row[_ngcontent-%COMP%] ._total[_ngcontent-%COMP%]{height:40px;margin-bottom:24px;border-radius:8px}.ph-row[_ngcontent-%COMP%] ._status[_ngcontent-%COMP%]{height:80px;width:224px;border-radius:8px}"],changeDetection:0});let i=e;return i})(),kre=(()=>{let e=class e{constructor(t,n,l,C){this.templateRef=t,this.viewContainer=n,this.builtInTypes={default:RN,"bar-chart":BN,"pie-chart":NN,summary:HN,table:jN},this.config=Object.assign({},Z5,C),l&&Object.assign(this.builtInTypes,l)}ngOnChanges(t){if(t.softSkel&&t.softSkel.currentValue){this.viewContainer.clear();let n=new Date().getTime(),l=this.softSkelDelay??this.config.skelDelay,C=window.setTimeout(()=>{this.showSkeleton()},l);new Promise(B=>{this.softSkel.add(()=>B(!0))}).then(()=>{window.clearTimeout(C);let B=new Date().getTime()-n;B>l&&B<l+this.config.skelMinDisplayTime?window.setTimeout(()=>{this.showContent()},this.config.skelMinDisplayTime):this.showContent()}).catch(()=>{this.viewContainer.clear()})}}showSkeleton(){if(this.softSkelType){let t=this.viewContainer.createComponent(this.builtInTypes[this.softSkelType]);t.instance.context=this.softSkelContext}else this.softSkelTemplate?this.viewContainer.createEmbeddedView(this.softSkelTemplate,this.softSkelContext):this.viewContainer.createComponent(this.builtInTypes.default)}showContent(){this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}};e.\u0275fac=function(n){return new(n||e)(Ie(Xi),Ie(Gs),Ie(q5),Ie(dm))},e.\u0275dir=ft({type:e,selectors:[["","softSkel",""]],inputs:{softSkel:"softSkel",softSkelDelay:"softSkelDelay",softSkelType:"softSkelType",softSkelTemplate:"softSkelTemplate",softSkelContext:"softSkelContext"}
206,features:[ki]});let i=e;return i})(),yb=(()=>{let e=class e{static forRoot(t,n){return{ngModule:e,providers:[{provide:dm,useValue:t},{provide:q5,useValue:n}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),fm=new Ht("userSoftAuthServiceConfigToken"),J5=new Ht("userSoftAuthInterceptorConfigToken"),mm=new Ht("userSoftAuthRequestKeyToken"),gm=new Ht("userSoftAuthResponseKeyToken"),FN=new Ht("authServiceClassForSoftAuthInterceptorToken"),fa=function(i){return i.Authorization="Authorization",i.CustomRefreshToken="CustomRefreshToken",i.newAccessToken="newAccessToken",i.newRefreshToken="newRefreshToken",i}(fa||{}),ew=(()=>{let e=class e{constructor(t,n){this.authService=t,this.config={autoRefreshToken:!1,loginScreenUrl:"",forceSendToken:!1},this.isRefreshing={},this.refresher={},n&&Object.assign(this.config,n)}intercept(t,n){return Br(Et(this,null,function*(){let l=yield this.authService.isLoggedIn(),C=yield this.authService.getAccessToken(),B=yield this.authService.getRefreshToken();return{isLoggedIn:l,accessToken:C,refreshToken:B}})).pipe(la(({isLoggedIn:l,accessToken:C,refreshToken:B})=>{let $=t.headers.get(fa.CustomRefreshToken);if(t.headers.has(fa.CustomRefreshToken)&&(t=t.clone({setHeaders:{[fa.CustomRefreshToken]:"-"}})),t.headers.get(fa.Authorization)==="ACCESS_TOKEN")if(this.config.forceSendToken)t=this.setAuthHeader(t,C);else if(l)t=this.setAuthHeader(t,C);else{if(this.config.autoRefreshToken&&($||B))return this.refreshTokenAndRetry$(t,n,void 0,$);if(this.config.loginScreenUrl)return this.redirectToLoginUrl$()}return n.handle(t).pipe(lo(K=>{if(K.status===401){if(this.config.autoRefreshToken&&($||B))return this.refreshTokenAndRetry$(t,n,K,$);if(this.config.loginScreenUrl)return this.redirectToLoginUrl$()}return Nr(()=>K)}))}))}setAuthHeader(t,n){let l=this.authService.getAuthenticationScheme()||"";return l&&(l+=" "),t.clone({setHeaders:{[fa.Authorization]:l+n}})}
206refreshTokenAndRetry$(t,n,l,C){if(typeof this.authService.requestRefreshToken$!="function")throw Error("authService is needed to implement requestRefreshToken$()");return this.authService.skipUrlsForAutoRefreshToken&&this.authService.skipUrlsForAutoRefreshToken().indexOf(t.url)!==-1?Nr(()=>l):Br(Et(this,null,function*(){return yield this.authService.getRefreshToken()})).pipe(la(B=>{let $=C||B;return this.refresher[$]=this.refresher[$]||new pt,this.isRefreshing[$]?this.refresher[$].pipe(la(K=>K?this.continueRequest(n,t,K):this.config.loginScreenUrl?od:this.errorRequest(n,t))):(this.isRefreshing[$]=!0,this.authService.requestRefreshToken$(void 0,C).pipe(lo(K=>(this.isRefreshing[$]=!1,this.refresher[$].next(null),this.refresher[$].complete(),!C&&this.config.loginScreenUrl?this.redirectToLoginUrl$():this.errorRequest(n,t))),la(K=>(this.isRefreshing[$]=!1,this.refresher[$].next(K),this.refresher[$].complete(),this.continueRequest(n,t,K)))))}))}continueRequest(t,n,l){return n=this.setAuthHeader(n,l.access_token),t.handle(n).pipe(lo(C=>Nr(()=>new l4({error:C.error,headers:C.headers.set(fa.newAccessToken,l.access_token).set(fa.newRefreshToken,l.refresh_token),status:C.status,statusText:C.statusText,url:C.url}))),Gi(C=>C instanceof a4?C.clone({headers:C.headers.set(fa.newAccessToken,l.access_token).set(fa.newRefreshToken,l.refresh_token)}):C))}errorRequest(t,n){return t.handle(n).pipe(lo(l=>(l.error="REFRESH_TOKEN_FAILED",Nr(()=>l))))}redirectToLoginUrl$(){return Br(this.authService.removeAuthData()).pipe(la(()=>(window.location.href=this.config.loginScreenUrl,od)))}};e.\u0275fac=function(n){return new(n||e)(qe(FN),qe(J5,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),VN={storagePrefix:"",usePersistentAsDefault:!0,persistentStorage:window.localStorage,temporaryStorage:window.sessionStorage},Qc=new Ht("userSoftStorageConfigToken"),Jc=(()=>{let e=class e{constructor(t){this.config={},this.config=Object.assign({},VN,t),this.config.usePersistentAsDefault?this.usePersistent():this.useTemporary()}length(){return Et(this,null,function*(){return this.storage.length})}key(t){return Et(this,null,function*(){return this.storage.key(t)})}keys(){return Et(this,null,function*(){return Object.keys(this.storage)})}getItem(t){return this._getItem(t,this.storage)}getItemPersistent(t){return this._getItem(t,this.config.persistentStorage)}getItemTemporary(t){return this._getItem(t,this.config.temporaryStorage)}getItemAny(t){return this.getItemPersistent(t)||this.getItemTemporary(t)}getNumber(t){return this._getNumber(t,this.storage)}getNumberPersistent(t){return this._getNumber(t,this.config.persistentStorage)}getNumberTemporary(t){return this._getNumber(t,this.config.temporaryStorage)}getNumberAny(t){return this.getNumberPersistent(t)||this.getNumberTemporary(t)}getBoolean(t){return this._getBoolean(t,this.storage)}getBooleanPersistent(t){return this._getBoolean(t,this.config.persistentStorage)}getBooleanTemporary(t){return this._getBoolean(t,this.config.temporaryStorage)}getBooleanAny(t){return this.getBooleanPersistent(t)||this.getBooleanTemporary(t)}setItem(t,n){return this._setItem(t,n,this.storage)}setItemPersistent(t,n){return this._setItem(t,n,this.config.persistentStorage)}setItemTemporary(t,n){return this._setItem(t,n,this.config.temporaryStorage)}removeItem(t){return this._removeItem(t,this.storage)}removeItemPersistent(t){return this._removeItem(t,this.config.persistentStorage)}removeItemTemporary(t){return this._removeItem(t,this.config.temporaryStorage)}removeItemAny(t){return Et(this,null,function*(){yield this.removeItemPersistent(t),yield this.removeItemTemporary(t)})}removeItemByPrefix(t){return this._removeItem\u0E3AByPrefix(t,this.storage)}removeItemPersistentByPrefix(t){return this._removeItem\u0E3AByPrefix(t,this.config.persistentStorage)}removeItemTemporaryByPrefix(t){return this._removeItem\u0E3AByPrefix(t,this.config.temporaryStorage)}removeItemAnyByPrefix(t){return Et(this,null,function*(){yield this.removeItemPersistentByPrefix(t),yield this.removeItemTemporaryByPrefix(t)})}clear(){return this._clear(this.storage)}
206clearPersistent(){return this._clear(this.config.persistentStorage)}clearTemporary(){return this._clear(this.config.temporaryStorage)}clearAll(){return Et(this,null,function*(){yield this.clearPersistent(),yield this.clearTemporary()})}usePersistent(){this.storage=this.config.persistentStorage}useTemporary(){this.storage=this.config.temporaryStorage}_getItem(t,n){return Et(this,null,function*(){return n.getItem(`${this.config.storagePrefix}${t}`)})}_getNumber(t,n){return Et(this,null,function*(){let l=yield this._getItem(t,n);return l===null?0:+l})}_getBoolean(t,n){return Et(this,null,function*(){return(yield this._getItem(t,n))==="true"})}_setItem(t,n,l){return Et(this,null,function*(){return l.setItem(`${this.config.storagePrefix}${t}`,n)})}_removeItem(t,n){return Et(this,null,function*(){return n.removeItem(`${this.config.storagePrefix}${t}`)})}_removeItem\u0E3AByPrefix(t,n){return Et(this,null,function*(){Object.keys(n).filter(l=>l.startsWith(`${this.config.storagePrefix}${t}`)).forEach(l=>n.removeItem(l))})}_clear(t){return Et(this,null,function*(){return t.clear()})}};e.\u0275fac=function(n){return new(n||e)(qe(Qc))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),fp=(()=>{let e=class e{static forRoot(t){return{ngModule:e,providers:[{provide:Qc,useValue:t},Jc]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),W5=(()=>{let e=class e{static forRoot(t={}){return{ngModule:e,providers:[{provide:fm,useValue:t.authServiceConfig},{provide:J5,useValue:t.authInterceptorConfig},{provide:mm,useValue:t.authRequestKey},{provide:gm,useValue:t.authResponseKey}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[zE($E(),WE())],imports:[Sn,fp]});let i=e;return i})(),cm=class{encodeKey(e){return encodeURIComponent(e)}encodeValue(e){return encodeURIComponent(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}},Are=(()=>{let e=class e{constructor(t,n,l,C,B){this.http=t,this.storage=n,this.config={authenticationScheme:"Bearer",tokenUrl:"",refreshTokenUrl:"",isFormData:!0,isJWT:!0,isOAuth:!0,scope:"",clientId:""},this.authRequestKey={username:"username",password:"password",refresh_token:"refresh_token"},this.authResponseKey={access_token:"access_token",refresh_token:"refresh_token",expires_in:"expires_in",scope:"scope"},l&&Object.assign(this.config,l),C&&Object.assign(this.authRequestKey,C),B&&Object.assign(this.authResponseKey,B),this.config.refreshTokenUrl=this.config.refreshTokenUrl||this.config.tokenUrl}isLoggedIn(){return Et(this,null,function*(){if(yield this.getAccessToken()){let t=yield this.storage.getItem("expires_at"),n=new Date;return!(t&&parseInt(t,10)<n.getTime())}return!1})}isRememberMe(){return this.storage.getBooleanPersistent("remember_me")}logout(){return this.removeAuthData()}removeAuthData(){return Et(this,null,function*(){yield this.storage.removeItem("access_token"),yield this.storage.removeItem("refresh_token"),yield this.storage.removeItem("nonce"),yield this.storage.removeItem("expires_at"),yield this.storage.removeItem("claims_obj"),yield this.storage.removeItem("granted_scopes"),yield this.removeAdditionalAuthData(),yield this.storage.removeItemPersistent("remember_me")})}getAccessToken(){return this.storage.getItem("access_token")}getRefreshToken(){return this.storage.getItem("refresh_token")}getAuthenticationScheme(){return this.config.authenticationScheme}skipUrlsForAutoRefreshToken(){return[this.config.tokenUrl,this.config.refreshTokenUrl]}setStorageDependOnRememberMe(){return Et(this,null,function*(){let t=yield this.storage.getItemPersistent("remember_me");t==="true"?this.storage.usePersistent():t==="false"&&this.storage.useTemporary()})}
206requestTokenWithPasswordFlow$(t,n,l,C){if(!this.config.tokenUrl)throw new Error("authApiUrl is needed to be set");let B,$=new jE({encoder:new cm});this.config.isOAuth?(B=$.set("username",t).set("password",n).set("grant_type","password").set("scope",this.config.scope).set("client_id",this.config.clientId),this.config.isFormData=!0):this.config.isFormData?B=$.set(this.authRequestKey.username,t).set(this.authRequestKey.password,n):B={[this.authRequestKey.username]:t,[this.authRequestKey.password]:n};let K;return l?K=Br(this.storage.setItemPersistent("remember_me",!0)):K=Br(this.storage.setItemPersistent("remember_me",!1)),K.pipe(la(()=>this.requestToken(this.config.tokenUrl,B,C)))}requestRefreshToken$(t,n){if(!this.config.refreshTokenUrl)throw new Error("refreshTokenUrl needs to be set");return Br(this.getRefreshToken()).pipe(la(l=>{let C=n||l;if(!C)return Nr(()=>new Error("no refresh token"));let B,$=new jE({encoder:new cm});return this.config.isOAuth?(B=$.set("grant_type","refresh_token").set("scope",this.config.scope).set("client_id",this.config.clientId).set("refresh_token",C),this.config.isFormData=!0):this.config.isFormData?B=$.set(this.authRequestKey.refresh_token,C):B={[this.authRequestKey.refresh_token]:C},this.requestToken(this.config.refreshTokenUrl,B,t,n)}))}requestToken(t,n,l,C,B=new NE){if(l)if(this.config.isFormData)for(let $ of Object.getOwnPropertyNames(l))n=n.set($,l[$]);else n=Object.assign({},n,l);return this.config.isFormData&&(B=B.set("Content-Type","application/x-www-form-urlencoded")),this.http.post(t,n,{headers:B,responseType:"text"}).pipe(Gi($=>{if($!=="")try{return JSON.parse($)}catch{return $}return""}),la($=>Br(this.setStorageDependOnRememberMe()).pipe(Gi(()=>$))),la($=>Et(this,null,function*(){if($){this.config.isOAuth||($.access_token=$[this.authResponseKey.access_token],$.expires_in=$[this.authResponseKey.expires_in],$.refresh_token=$[this.authResponseKey.refresh_token],$.scope=$[this.authResponseKey.scope]);let K;if(this.config.isJWT){let G=this.decodeIdToken($.access_token),q=G[0];K=G[1],$.expires_in=$.expires_in||q.exp}if(C)return $;
206K&&this.storage.setItem("claims_obj",K),yield this.storeAccessToken($.access_token,$.refresh_token,$.expires_in,$.scope)}return $})))}storeAccessToken(t,n,l,C){return Et(this,null,function*(){if(yield this.storage.setItem("access_token",t),n&&(yield this.storage.setItem("refresh_token",n)),l){let B=l*1e3,K=new Date().getTime()+B;yield this.storage.setItem("expires_at",""+K)}C&&(yield this.storage.setItem("granted_scopes",JSON.stringify(C.split("+"))))})}decodeIdToken(t){let n=t.split("."),l=this.padBase64(n[1]),C=this.b64DecodeUnicode(l);return[JSON.parse(C),C]}removeAdditionalAuthData(){return Et(this,null,function*(){})}padBase64(t){for(;t.length%4!==0;)t+="=";return t}b64DecodeUnicode(t){let n=t.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(n).split("").map(l=>"%"+("00"+l.charCodeAt(0).toString(16)).slice(-2)).join(""))}};e.\u0275fac=function(n){return new(n||e)(qe(FE),qe(Jc),qe(fm,8),qe(mm,8),qe(gm,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),pp=function(i){return i[i.Alert=1]="Alert",i[i.Confirm=2]="Confirm",i}(pp||{}),tw=[Zs("backdrop",[nn("void",di({opacity:"{{ voidOpacity }}"}),{params:{voidOpacity:0}}),nn("open",di({opacity:"{{ openOpacity }}"}),{params:{openOpacity:1}}),nn("closed",di({opacity:"{{ closedOpacity }}"}),{params:{closedOpacity:0}}),sn("void => open",Qi("{{ openAnimate }}"),{params:{openAnimate:"250ms linear"}}),sn("open => closed",Qi("{{ closedAnimate }}"),{params:{closedAnimate:"200ms linear"}})]),Zs("card",[nn("void",di({opacity:"{{ voidOpacity }}",transform:"{{ voidTransform }}"}),{params:{voidOpacity:1,voidTransform:"translateY(-30%)"}}),nn("open",di({opacity:"{{ openOpacity }}",transform:"{{ openTransform }}"}),{params:{openOpacity:1,openTransform:"translateY(0)"}}),nn("closed",di({opacity:"{{ closedOpacity }}",transform:"{{ closedTransform }}"}),{params:{closedOpacity:0,closedTransform:"translateY(-30%)"}}),sn("void => open",Qi("{{ openAnimate }}"),{params:{openAnimate:"300ms ease-out"}}),sn("open => closed",Qi("{{ closedAnimate }}"),{params:{closedAnimate:"150ms ease-in-out"}})])],kh=(()=>{let e=class e{constructor(){this.SoftPopupType=pp,this.hasAnimation=!0,this.animationState="open",this.isBackdropAnimationDone=!1,this.isCardAnimationDone=!1,this.result=new pt,this.result$=this.result.asObservable()}onConfirm(){this.result.observers.length>0?(this.result.next({set actionSub(t){this.loading(),t.add(()=>{this.close()})},loading:()=>{this.isLoading=!0},close:()=>{this.close()}}),this.result.complete(),this.isLoading||this.close()):this.close()}onDismiss(){this.result.next(null),this.result.complete(),this.close()}closeButtonPointerEvents(){return this.isLoading?"none":"inherit"}onBackdropAnimationDone(t){t.fromState==="open"&&t.toState==="closed"&&(this.isBackdropAnimationDone=!0,this.allAnimationDone())}onCardAnimationdropDone(t){t.fromState==="open"&&t.toState==="closed"&&(this.isCardAnimationDone=!0,this.allAnimationDone())}close(){this.animationState="closed",(!this.isAnimated||!this.hasAnimation)&&this.dispose()}allAnimationDone(){this.isBackdropAnimationDone&&this.isCardAnimationDone&&this.dispose()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["soft-popup"]],decls:11,vars:20,consts:[[3,"id"],[1,"modal-background",3,"click"],[1,"modal-card","_popup-modal-card"],[1,"modal-card-head"],[1,"modal-card-title"],["type","button","class","delete","aria-label","close",3,"pointer-events","click",4,"ngIf"],[1,"modal-card-body","text-center"],["class","block is-pre-wrap",4,"ngIf"],[4,"ngIf"],["class","buttons is-centered",3,"is-flex-row-reverse",4,"ngIf"],["type","button","aria-label","close",1,"delete",3,"click"],[1,"block","is-pre-wrap"],[3,"click"],[1,"buttons","is-centered"],[1,"button","is-fat","is-light",3,"click","disabled"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1),We("@backdrop.done",function(B){return l.onBackdropAnimationDone(B)})("click",function(){return l.data.type==l.SoftPopupType.Confirm&&!l.isLoading&&l.onDismiss()}),Ae(),ke(2,"div",2),We("@card.done",function(B){return l.onCardA
206nimationdropDone(B)}),ke(3,"header",3)(4,"p",4),Ge(5),Ae(),$e(6,wN,1,2,"button",5),Ae(),ke(7,"section",6),$e(8,SN,2,1,"p",7)(9,MN,3,6,"div",8)(10,TN,6,10,"div",9),Ae()()()),n&2&&(xs("modal has-no-footer is-small is-",l.data.colorVar," is-active"),as("id",l.modalId),_e("@.disabled",!l.isAnimated),we(),_e("@backdrop",cr(14,hm,l.animationState,l.backdropAnimations)),we(),_e("@card",cr(17,hm,l.animationState,l.cardAnimations)),we(2),ht("push-0",l.data.type!=l.SoftPopupType.Confirm),we(),oi(" ",l.data.title," "),we(),_e("ngIf",l.data.type==l.SoftPopupType.Confirm),we(2),_e("ngIf",l.data.message),we(),_e("ngIf",l.data.type==l.SoftPopupType.Alert),we(),_e("ngIf",l.data.type==l.SoftPopupType.Confirm))},dependencies:[wt],styles:[".modal-card._popup-modal-card[_ngcontent-%COMP%]{width:350px}"],data:{animation:tw}});let i=e;return i})(),Cb=new Ht("userSoftPopupConfigToken"),iw={toastColorVar:"primary",isAgreeFirst:!0,agreeText:"Yes",disagreeText:"No",alertAgreeText:"OK",alertColorVar:"primary",confirmColorVar:"primary",deleteTitleFunc:i=>"Confirm Deletion",deleteMessageFunc:i=>`Are you sure you want to delete "${i}"?`,deleteColorVar:"danger",isAnimated:!0},nw=(()=>{let e=class e{constructor(t){this.modalClass="",this.opened=new Qe,this.closed=new Qe,this.removed=new Qe,this.isOpen=!1,this.isFirstOpen=!1,this.animationState="void",this.isBackdropAnimationDone=!1,this.isCardAnimationDone=!1;let n=Object.assign({},iw,t);this.isAnimated=n.isAnimated,this.backdropAnimations=n.backdropAnimations,this.cardAnimations=n.cardAnimations}ngOnInit(){this.modalId=this.generateModalId()}ngOnDestroy(){this.remove()}open(){var t;(t=document.activeElement)==null||t.blur(),this.isOpen=!0,this.isFirstOpen=!0,this.animationState="open",this.hideHtmlScrollbar(),this.opened.emit(),window.setTimeout(()=>{this.modalContent&&this.modalContent.onModalOpen&&this.modalContent.onModalOpen()})}close(){this.animationState="closed",this.isAnimated||(this.isOpen=!1,this.resetHtmlScrollbar(),this.closed.emit(),window.setTimeout(()=>{this.modalContent&&this.modalContent.onModalClose&&this.modalContent.onModalClose()}))}remove(){this.isOpen=!1,this.isFirstOpen=!1,this.resetHtmlScrollbar(),this.removed.emit()}onBackdropAnimationDone(t){t.fromState==="open"&&t.toState==="closed"&&(this.isBackdropAnimationDone=!0,this.allAnimationDone())}onCardAnimationdropDone(t){t.fromState==="open"&&t.toState==="closed"&&(this.isCardAnimationDone=!0,this.allAnimationDone())}allAnimationDone(){this.isBackdropAnimationDone&&this.isCardAnimationDone&&(this.isOpen=!1,this.isBackdropAnimationDone=!1,this.isCardAnimationDone=!1,this.animationState="void",this.resetHtmlScrollbar(),this.closed.emit(),window.setTimeout(()=>{this.modalContent&&this.modalContent.onModalClose&&this.modalContent.onModalClose()}))}generateModalId(){return`modal-${(Math.random()+""+new Date().getTime()).substr(2)}`}hideHtmlScrollbar(){window.getComputedStyle(document.documentElement).overflowX==="scroll"&&(document.documentElement.style.overflowX="hidden"),window.getComputedStyle(document.documentElement).overflowY==="scroll"&&(document.documentElement.style.overflowY="hidden",window.navigator.userAgent.indexOf("Windows")>-1&&(document.documentElement.style.paddingRight="17px"))}resetHtmlScrollbar(){document.querySelector(`.modal.is-active:not(#${this.modalId})`)||(document.documentElement.style.overflowX="",document.documentElement.style.overflowY="",document.documentElement.style.paddingRight="")}};e.\u0275fac=function(n){return new(n||e)(Ie(Cb))},e.\u0275cmp=st({type:e,selectors:[["soft-modal"]],contentQueries:function(n,l,C){if(n&1&&Xs(C,kN,5),n&2){let B;kt(B=At())&&(l.modalContent=B.first)}},inputs:{modalClass:"modalClass"},outputs:{opened:"opened",closed:"closed",removed:"removed"},ngContentSelectors:DN,decls:9,vars:15,consts:[[3,"id"],[1,"modal-background",3,"click"],[1,"modal-card"],[1,"modal-card-head"],[1,"modal-card-title"],["type","button","aria-label","close",1,"delete",3,"click"],[1,"modal-card-body"]],template:function(n,l){n&1&&(wn(AN),ke(0,"div",0)(1,"div",1),We("@backdrop.done",function(B){return l.onBackdropAnimationDone(B)})("click",function(){return l.close()}),Ae(),ke(2,"div",2),We("@card.done",function(B){return l.onCardA
206nimationdropDone(B)}),ke(3,"header",3)(4,"p",4),tn(5),Ae(),ke(6,"button",5),We("click",function(){return l.close()}),Ae()(),ke(7,"section",6),tn(8,1),Ae()()()),n&2&&(xs("modal has-no-footer ",l.modalClass,""),ht("is-active",l.isOpen),as("id",l.modalId),_e("@.disabled",!l.isAnimated),we(),_e("@backdrop",cr(9,hm,l.animationState,l.backdropAnimations)),we(),_e("@card",cr(12,hm,l.animationState,l.cardAnimations)))},encapsulation:2,data:{animation:tw}});let i=e;return i})(),sw=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["modal-title"]],ngContentSelectors:LN,decls:1,vars:0,template:function(n,l){n&1&&(wn(),tn(0))},encapsulation:2});let i=e;return i})(),_b=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),zN=(()=>{let e=class e{scrollTo(t,n=document.documentElement,l=0,C=600){return new Promise(B=>{if(!t){B();return}let $=n.scrollTop,K=t,G=K.offsetTop;for(;K.offsetParent!==n.offsetParent;)K=K.offsetParent,G+=K.offsetTop;let q=G-n.offsetTop+l,Z=q-$,R=+new Date;this.animateScroll(n,R,$,q,Z,C,B)})}animateScroll(t,n,l,C,B,$,K){let q=+new Date-n;t.scrollTop=this.easeInOutQuad(q,l,B,$),q<$?requestAnimationFrame(()=>this.animateScroll(t,n,l,C,B,$,K)):(t.scrollTop=C,K())}easeInOutQuad(t,n,l,C){return t/=C/2,t<1?l/2*t*t+n:(t--,-l/2*(t*(t-2)-1)+n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),vb=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[zN]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),$N=(()=>{let e=class e extends xl{onHostChange(t){this.onChange(t.target.value)}onHostBlur(){this.onTouched()}set softCompareBy(t){this.compareWith=(n,l)=>n&&l?n[t]===l[t]:n===l}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275dir=ft({type:e,selectors:[["","ngModel","","softCompareBy",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onHostChange(B)})("blur",function(){return l.onHostBlur()})},inputs:{softCompareBy:"softCompareBy"},features:[Ot([{provide:Si,useExisting:$t(()=>e),multi:!0}]),Nt]});let i=e;return i})(),Em=(()=>{let e=class e extends Wc{constructor(t,n,l){super(t,n,l)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(pn),Ie($N,9))},e.\u0275dir=ft({type:e,selectors:[["option"]],features:[Nt]});let i=e;return i})(),eu=(()=>{let e=class e{onHostChange(t){this.loaded.observers.length>0&&this.load(t),this.onChange(this.getInputValue(t)),this.autoClear&&this.clear(),this.onBlur({})}constructor(t){this.element=t,this.autoClear=!1,this.loaded=new Qe,this.disabled=!1,this.onChange=n=>{},this.onTouched=n=>{}}writeValue(t){t||this.clear()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}validate(t){return t.value==null||t.value===""?null:this.maxSize&&this.overMaxSize(t.value)?{maxSize:!0}:null}overMaxSize(t){if(this.maxSize&&t){let n=this.maxSize*1024*1024;if(this.element.nativeElement.hasAttribute("multiple")){for(let l=0;l<t.length;l++)if(t[l].size>n)return!0}else if(t.size>n)return!0}return!1}getInputValue(t){return this.element.nativeElement.hasAttribute("multiple")?t:t[0]}load(t){if(this.element.nativeElement.hasAttribute("multiple"))for(let n=0;n<t.length;n++)(l=>{let C=new FileReader;C.onload=B=>{this.loaded.emit([B.target.result,l])},C.readAsDataURL(t[l])})(n);else if(t[0]){let n=new FileReader;n.onload=l=>{this.loaded.emit(l.target.result)},n.readAsDataURL(t[0])}else this.loaded.emit(void 0)}clear(){this.element.nativeElement.value="",this.element.nativeElement.value&&(this.element.nativeElement.type="text",this.element.nativeElement.type="file")}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt))},e.\u0275dir=ft({type:e,selectors:[["input","type","file","ngModel","","softFileModel",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onHostChange(B.target.files)})},inputs:{maxSize:"maxSize",autoClear:"autoClear"},outputs:{loaded:"loaded"},features:[Ot([{provide:Si,useExisting:e,multi:!0},{provide:Is,useExisting:e,multi:!0}])]});let i=e;return i})();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);Element.prototype.closest||(Element.prototype.closest=function(i){let e=this;do{if(e.matches(i))return e;e=e.parentElement||e.parentNode}while(e!=null&&e.nodeType===1);return null});var WN=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,Eh,vb]});let i=e;return i})();var YN=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),tu=(()=>{let e=class e{constructor(){this.id=0,this.componentRefs={}}
206setContainerRef(t){this.viewContainerRef=t}addDialog(t,n,l){var $;if(!this.viewContainerRef)throw"Please setContainerRef(viewContainerRef) e.g. dialogService.setContainerRef(viewContainerRef); // #app.component.ts";($=document.activeElement)==null||$.blur();let C=this.viewContainerRef.createComponent(t);this.hideHtmlScrollbar();let B=++this.id;return this.componentRefs[B]=C,C.instance.modalId=this.generateModalId(),C.instance.data=n,C.instance.isAnimated=l.isAnimated,C.instance.backdropAnimations=l.backdropAnimations,C.instance.cardAnimations=l.cardAnimations,C.instance.dispose=()=>{this.removeDialog(B)},C.instance.result$}removeDialog(t){this.componentRefs[t]&&(this.resetHtmlScrollbar(this.componentRefs[t].instance.modalId),this.componentRefs[t].destroy(),delete this.componentRefs[t])}clear(){let t=Object.keys(this.componentRefs);for(let n of t)this.removeDialog(+n)}generateModalId(){return`modal-${(Math.random()+""+new Date().getTime()).substr(2)}`}hideHtmlScrollbar(){window.getComputedStyle(document.documentElement).overflowX==="scroll"&&(document.documentElement.style.overflowX="hidden"),window.getComputedStyle(document.documentElement).overflowY==="scroll"&&(document.documentElement.style.overflowY="hidden",window.navigator.userAgent.indexOf("Windows")>-1&&(document.documentElement.style.paddingRight="17px"))}resetHtmlScrollbar(t){document.querySelector(`.modal.is-active:not(#${t})`)||(document.documentElement.style.overflowX="",document.documentElement.style.overflowY="",document.documentElement.style.paddingRight="")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vr=(()=>{let e=class e{constructor(t,n,l){this.dialogService=t,this.toastr=n,this.config={},this.config=Object.assign({},iw,l)}toast(t="",n,l,C,B){n=n||this.config.toastColorVar,C||(n==="danger"?C="top-full-width":C="bottom-left"),l==null&&(n==="danger"?l=!1:l=!0);let $={toastClass:`ngx-toastr is-${n}`,positionClass:`toast-${C}`,disableTimeOut:!l,closeButton:!0,tapToDismiss:!1,enableHtml:!0};return B&&($.toastComponent=B),this.toastr.show(t,void 0,$)}clear(){this.toastr.clear()}remove(t){this.toastr.remove(t)}alert(t,n="",l,C){return l=l||this.config.alertColorVar,C=C||this.config.alertAgreeText,this.dialogService.addDialog(kh,{type:pp.Alert,title:t,message:n,colorVar:l,agreeText:C,disagreeText:"",isAgreeFirst:!0},{isAnimated:this.config.isAnimated,backdropAnimations:this.config.backdropAnimations,cardAnimations:this.config.cardAnimations})}confirm(t,n="",l,C,B,$){return l=l||this.config.confirmColorVar,C=C||this.config.agreeText,B=B||this.config.disagreeText,$=$??this.config.isAgreeFirst,this.dialogService.addDialog(kh,{type:pp.Confirm,title:t,message:n,colorVar:l,agreeText:C,disagreeText:B,isAgreeFirst:$},{isAnimated:this.config.isAnimated,backdropAnimations:this.config.backdropAnimations,cardAnimations:this.config.cardAnimations})}confirmDelete(t,n,l,C,B,$,K){return n=n||this.config.deleteTitleFunc&&this.config.deleteTitleFunc(t),l=l||this.config.deleteMessageFunc&&this.config.deleteMessageFunc(t),C=C||this.config.deleteColorVar,B=B||this.config.agreeText,$=$||this.config.disagreeText,K=K??this.config.isAgreeFirst,this.dialogService.addDialog(kh,{type:pp.Confirm,title:n,message:l,colorVar:C,agreeText:B,disagreeText:$,isAgreeFirst:K},{isAnimated:this.config.isAnimated,backdropAnimations:this.config.backdropAnimations,cardAnimations:this.config.cardAnimations})}custom(t,n){return this.dialogService.addDialog(t,n,{isAnimated:this.config.isAnimated,backdropAnimations:this.config.backdropAnimations,cardAnimations:this.config.cardAnimations})}};e.\u0275fac=function(n){return new(n||e)(qe(tu),qe(Jf),qe(Cb))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Y5=(()=>{let e=class e{static forRoot(t){return{ngModule:e,providers:[{provide:Cb,useValue:t},Vr,tu]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,s5.forRoot()]});let i=e;return i})(),rw=(()=>{let e=class e{constructor(t,n,l){this.elementRef=t,this.viewContainerRef
206=n,this.zone=l,this.arrow=!0,this.placement="top",this.trigger="mouseenter focus",this.triggerTarget=null,this.hideOnClickOutside=!0,this.zIndex=1020,this.softTooltipShown=new Qe,this.softTooltipHidden=new Qe,this.onTrigger=(C,B)=>{if(this.softTooltip instanceof Xi){let $;this.zone.run(()=>{$=this.viewContainerRef.createEmbeddedView(this.softTooltip),C.setContent($.rootNodes[0]),$.markForCheck()}),this.autofocusElement=$.rootNodes[0].querySelector("[autofocus]"),this.autofocusElement&&(this.autofocusElement=this.autofocusElement.querySelector("input")||this.autofocusElement)}}}ngOnInit(){this.softTooltip instanceof Xi&&(this.theme=`${this.theme} is-paddingless`),this.zone.runOutsideAngular(()=>{this.tippyInstance=z5(this.elementRef.nativeElement,{appendTo:()=>document.body,arrow:this.arrow,allowHTML:!0,content:this.softTooltip instanceof Xi?null:this.softTooltip,hideOnClick:"toggle",interactive:!0,maxWidth:"none",placement:this.placement,trigger:this.trigger,triggerTarget:this.triggerTarget?this.triggerTarget:null,theme:this.theme,zIndex:this.zIndex,onClickOutside:(t,n)=>{this.zone.run(()=>{this.hideOnClickOutside&&t.hide()})},onTrigger:this.onTrigger,onShown:t=>{this.autofocusElement&&this.autofocusElement.focus(),this.zone.run(()=>{this.isShow=!0,this.softTooltipShown.emit()})},onHidden:t=>{this.softTooltip instanceof Xi&&this.zone.run(()=>{this.viewContainerRef.clear(),t.setContent(null)}),this.autofocusElement=void 0,this.zone.run(()=>{this.isShow=!1,this.softTooltipHidden.emit()})}})})}ngOnDestroy(){this.zone.runOutsideAngular(()=>{this.tippyInstance&&this.tippyInstance.destroy()})}show(){this.zone.runOutsideAngular(()=>{this.onTrigger(this.tippyInstance,"manual"),this.tippyInstance.show()})}hide(){this.zone.runOutsideAngular(()=>{this.tippyInstance.hide()})}toggle(){this.isShow?this.hide():this.show()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(Gs),Ie(wi))},e.\u0275dir=ft({type:e,selectors:[["","softTooltip",""]],viewQuery:function(n,l){if(n&1&&Xt(PN,5),n&2){let C;kt(C=At())&&(l.autofocus=C.first)}},inputs:{softTooltip:"softTooltip",arrow:"arrow",placement:"placement",trigger:"trigger",triggerTarget:"triggerTarget",hideOnClickOutside:"hideOnClickOutside",zIndex:"zIndex",theme:"theme"},outputs:{softTooltipShown:"softTooltipShown",softTooltipHidden:"softTooltipHidden"},exportAs:["softTooltip"]});let i=e;return i})(),U5=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})(),mp=(()=>{let e=class e{static forRoot(t,n,l,C={},B,$){return{ngModule:e,providers:[...$5.forRoot(t).providers,...yb.forRoot(n,l).providers,...W5.forRoot(C).providers,...Y5.forRoot(B).providers,...vb.forRoot().providers,...fp.forRoot($).providers]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,$5,yb,W5,Y5,vb,fp,U5,yb,_b,WN,YN,U5]});let i=e;return i})();function Be(){return Ho.config.apiBaseUrl}var ow=(()=>{let e=class e{constructor(t){this.api=t}apiCategoryTagsGet$(t,n){return this.api.get(`${Be()}/api/CategoryTags`,{name:t},n)}apiCategoryTagsIdDelete$(t,n){return this.api.delete(`${Be()}/api/CategoryTags/${encodeURIComponent(String(t))}`,void 0,n)}apiCategoryTagsIdPut$(t,n,l){return this.api.put(`${Be()}/api/CategoryTags/${encodeURIComponent(String(t))}`,n,void 0,l)}apiCategoryTagsPost$(t,n){return this.api.post(`${Be()}/api/CategoryTags`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var aw=(()=>{let e=class e{constructor(t){this.api=t}apiAdminCreditHistoryGet$(t,n,l,C){return this.api.get(`${Be()}/api/Admin/Credit/history`,{page:t,pageSize:n,organizationId:l},C)}apiAdminCreditMigratePost$(t){return this.api.post(`${Be()}/api/Admin/Credit/migrate`,void 0,void 0,t)}apiAdminCreditRecentActivitiesGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/Admin/Credit/recent-activities`,{page:t,pageSize:n,from:l,to:C,organizationId:B},$)}apiAdminCreditTopupPost$(t,n){return this.api.post(`${Be()}/api/Admin/Credit/topup`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var lw=(()=>{let e=class e{constructor(t){this.api=t}apiAdminDashboardCalendarGet$(t,n,l){return this.api.get(`${Be()}/api/Admin/Dashboard/Calendar`,{year:t,month:n},l)}apiAdminDashboardSessionsAlwaysOpenGet$(t,n,l,C,B,$,K,G){return this.api.get(`${Be()}/api/Admin/Dashboard/Sessions/AlwaysOpen`,{q:t,orgs:n,includeHidden:l,page:C,pageSize:B,sortBy:$,ascending:K},G)}apiAdminDashboardSessionsScheduledGet$(t,n,l,C,B,$,K,G,q,Z){return this.api.get(`${Be()}/api/Admin/Dashboard/Sessions/Scheduled`,{from:t,to:n,q:l,orgs:C,includeHidden:B,page:$,pageSize:K,sortBy:G,ascending:q},Z)}apiAdminDashboardSessionsSummaryGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/Admin/Dashboard/Sessions/Summary`,{from:t,to:n,q:l,orgs:C,includeHidden:B},$)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var hw=(()=>{let e=class e{constructor(t){this.api=t}apiExamCheckersExamTestIdCheckGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/ExamCheckers/${encodeURIComponent(String(t))}/Check`,{sortBy:n,ascending:l,isOnlyWaitingCheck:C},B)}apiExamCheckersExamTestIdCheckersDelete$(t,n,l){return this.api.delete(`${Be()}/api/ExamCheckers/${encodeURIComponent(String(t))}/Checkers`,{email:n},l)}apiExamCheckersExamTestIdCheckersGet$(t,n){return this.api.get(`${Be()}/api/ExamCheckers/${encodeURIComponent(String(t))}/Checkers`,void 0,n)}apiExamCheckersExamTestIdCheckersPost$(t,n,l){return this.api.post(`${Be()}/api/ExamCheckers/${encodeURIComponent(String(t))}/Checkers`,n,void 0,l)}apiExamCheckersExamTestIdExamTestResultsExamTestResultIdDelete$(t,n,l){return this.api.delete(`${Be()}/api/ExamCheckers/${encodeURIComponent(String(t))}/ExamTestResults/${encodeURIComponent(String(n))}`,void 0,l)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var cw=(()=>{let e=class e{constructor(t){this.api=t}apiExamInstructorExamsExamTestIdGet$(t,n){return this.api.get(`${Be()}/api/ExamInstructor/Exams/${encodeURIComponent(String(t))}`,void 0,n)}apiExamInstructorIdDelete$(t,n){return this.api.delete(`${Be()}/api/ExamInstructor/${encodeURIComponent(String(t))}`,void 0,n)}apiExamInstructorIdPut$(t,n,l){return this.api.put(`${Be()}/api/ExamInstructor/${encodeURIComponent(String(t))}`,n,void 0,l)}apiExamInstructorPost$(t,n){return this.api.post(`${Be()}/api/ExamInstructor`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var uw=(()=>{let e=class e{constructor(t){this.api=t}apiExamMonitorsCurrentDateTimeGet$(t){return this.api.get(`${Be()}/api/ExamMonitors/CurrentDateTime`,void 0,t)}apiExamMonitorsExamTestIdMonitorsExamTestResultIdActivitiesGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/${encodeURIComponent(String(n))}/Activities`,{page:l,pageSize:C},B)}apiExamMonitorsExamTestIdMonitorsExamTestResultIdGet$(t,n,l){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/${encodeURIComponent(String(n))}`,void 0,l)}apiExamMonitorsExamTestIdMonitorsExamTestResultIdOnlineGet$(t,n,l){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/${encodeURIComponent(String(n))}/Online`,void 0,l)}apiExamMonitorsExamTestIdMonitorsExamTestResultIdScreenCapturesGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/${encodeURIComponent(String(n))}/ScreenCaptures`,{page:l,pageSize:C},B)}apiExamMonitorsExamTestIdMonitorsExamTestResultIdUserCapturesGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/${encodeURIComponent(String(n))}/UserCaptures`,{page:l,pageSize:C},B)}apiExamMonitorsExamTestIdMonitorsExamTestResultsGet$(t,n,l,C,B,$,K,G,q,Z,R){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/ExamTestResults`,{search:n,isActive:l,isOnline:C,isFinished:B,isNotFocus:$,page:K,pageSize:G,sortBy:q,ascending:Z},R)}apiExamMonitorsExamTestIdMonitorsGet$(t,n,l){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors`,{isOnlyActive:n},l)}apiExamMonitorsExamTestIdMonitorsMapViewsGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/MapViews`,{latitude:n,longitude:l,radius:C},B)}apiExamMonitorsExamTestIdMonitorsOverviewGet$(t,n){return this.api.get(`${Be()}/api/ExamMonitors/${encodeURIComponent(String(t))}/Monitors/Overview`,void 0,n)}apiExamMonitorsForceSubmitExamTestIdPost$(t,n,l){return this.api.post(`${Be()}/api/ExamMonitors/ForceSubmit/${encodeURIComponent(String(t))}`,n,void 0,l)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var dw=(()=>{let e=class e{constructor(t){this.api=t}apiExamPartsIdCopyNewPost$(t,n){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/CopyNew`,void 0,void 0,n)}apiExamPartsIdDelete$(t,n){return this.api.delete(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}`,void 0,n)}apiExamPartsIdGet$(t,n){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}`,void 0,n)}apiExamPartsIdPrintDetailGet$(t,n){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/PrintDetail`,void 0,n)}apiExamPartsIdPublishPost$(t,n){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Publish`,void 0,void 0,n)}apiExamPartsIdPut$(t,n,l){return this.api.put(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}`,n,void 0,l)}apiExamPartsIdQuestionsExportGet$(t,n,l){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/Export`,{questionType:n},l)}apiExamPartsIdQuestionsGet$(t,n,l){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions`,{tags:n},l)}apiExamPartsIdQuestionsImportPost$(t,n,l,C){return this.api.multipartPost(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/Import`,{file:n},{questionType:l},C)}apiExamPartsIdQuestionsQuestionIdDelete$(t,n,l){return this.api.delete(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}`,void 0,l)}apiExamPartsIdQuestionsQuestionIdGet$(t,n,l){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}`,void 0,l)}apiExamPartsIdQuestionsQuestionIdPut$(t,n,l,C){return this.api.put(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}`,l,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoreAnswersPost$(t,n,l,C){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/answers`,l,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoreGet$(t,n,l){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore`,void 0,l)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerDragDropPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerDragDrop`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerMultipleAnswerPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerMultipleAnswer`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerMultipleChoicePost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerMultipleChoice`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerMultipleChoiceReasonPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerMultipleChoiceReason`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerShortAnswerPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerShortAnswer`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerSubjectivePost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerSubjective`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerTabledMultipleAnswerPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerTabledMultipleAnswer`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdAnswerTabledMultipleQuestionPost$(t,n,l,C,B){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/AnswerTabledMultipleQuestion`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdDelete$(t,n,l,C){return this.api.delete(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}`,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdGet$(t,n,l,C){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}`,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoreQuestionScoreIdQuestionCheckGet$(t,n,l,C){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/${encodeURIComponent(String(l))}/QuestionCheck`,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoreTotalScorePost$(t,n,l,C){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScore/TotalScore`,l,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoresPost$(t,n,l,C){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScores`,l,void 0,C)}apiExamPartsIdQuestionsQuestionIdQuestionScoresQuestionScoreIdPut$(t,n,l,C,B){return this.api.put(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/QuestionScores/${encodeURIComponent(String(l))}`,C,void 0,B)}apiExamPartsIdQuestionsQuestionIdResultsCountGet$(t,n,l){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/Results/Count`,void 0,l)}apiExamPartsIdQuestionsQuestionIdResultsGet$(t,n,l,C,B,$,K){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/Results`,{page:l,pageSize:C,sortBy:B,ascending:$},K)}apiExamPartsIdQuestionsQuestionIdResultsResultIdGet$(t,n,l,C){return this.api.get(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/Results/${encodeURIComponent(String(l))}`,void 0,C)}apiExamPartsIdQuestionsQuestionIdResultsResultIdSaveScorePut$(t,n,l,C,B){return this.api.put(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/${encodeURIComponent(String(n))}/Results/${encodeURIComponent(String(l))}/SaveScore`,C,void 0,B)}apiExamPartsIdQuestionsSavePost$(t,n,l){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/Save`,n,void 0,l)}apiExamPartsIdQuestions
206ScrambleChoicePost$(t,n,l){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/Questions/scramble-choice`,n,void 0,l)}apiExamPartsIdReOrderPost$(t,n){return this.api.post(`${Be()}/api/ExamParts/${encodeURIComponent(String(t))}/ReOrder`,void 0,void 0,n)}apiExamPartsListGet$(t,n,l,C,B,$,K,G,q){return this.api.get(`${Be()}/api/ExamParts/List`,{page:t,pageSize:n,sortBy:l,ascending:C,name:B,examTestId:$,tags:K,includeResultCount:G},q)}apiExamPartsPost$(t,n){return this.api.post(`${Be()}/api/ExamParts`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var pw=(()=>{let e=class e{constructor(t){this.api=t}apiExamsCreatePreCopyExamsPost$(t,n){return this.api.post(`${Be()}/api/Exams/CreatePreCopyExams`,t,void 0,n)}apiExamsExamTestsExamTestIdDelete$(t,n){return this.api.delete(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}`,void 0,n)}apiExamsExamTestsExamTestIdExamTestResultsExamTestResultIdQuestionResultsGet$(t,n,l,C,B,$,K){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/${encodeURIComponent(String(n))}/QuestionResults`,{page:l,pageSize:C,sortBy:B,ascending:$},K)}apiExamsExamTestsExamTestIdExamTestResultsExamTestResultIdSummaryGet$(t,n,l){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/${encodeURIComponent(String(n))}/Summary`,void 0,l)}apiExamsExamTestsExamTestIdExamTestResultsExportGet$(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/Export`,{email:n,firstname:l,lastname:C,scoreFrom:B,scoreTo:$,percentageScoreFrom:K,percentageScoreTo:G,submittedTimeFrom:q,submittedTimeTo:Z,startTimeFrom:R,startTimeTo:Y,sortBy:V,ascending:H},T)}apiExamsExamTestsExamTestIdExamTestResultsGet$(t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults`,{email:n,firstname:l,lastname:C,scoreFrom:B,scoreTo:$,percentageScoreFrom:K,percentageScoreTo:G,submittedTimeFrom:q,submittedTimeTo:Z,startTimeFrom:R,startTimeTo:Y,page:V,pageSize:H,sortBy:T,ascending:L},j)}apiExamsExamTestsExamTestIdExamTestResultsGradingPercentGet$(t,n){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/GradingPercent`,void 0,n)}apiExamsExamTestsExamTestIdExamTestResultsIdExportGet$(t,n,l,C,B,$,K,G,q,Z,R){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/${encodeURIComponent(String(n))}/Export`,{partOrder:l,questionOrder:C,scoreFrom:B,scoreTo:$,totalScoreFrom:K,totalScoreTo:G,sortBy:q,ascending:Z},R)}apiExamsExamTestsExamTestIdExamTestResultsIdGet$(t,n,l,C,B,$,K,G,q,Z,R,Y,V){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/${encodeURIComponent(String(n))}`,{partOrder:l,questionOrder:C,scoreFrom:B,scoreTo:$,totalScoreFrom:K,totalScoreTo:G,page:q,pageSize:Z,sortBy:R,ascending:Y},V)}apiExamsExamTestsExamTestIdExamTestResultsQuestionCategoriesGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/QuestionCategories`,{page:n,pageSize:l,sortBy:C,ascending:B},$)}apiExamsExamTestsExamTestIdExamTestResultsQuestionCategoriesQuestionCategoryIdQuestionsGet$(t,n,l,C,B,$,K){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/QuestionCategories/${encodeURIComponent(String(n))}/Questions`,{page:l,pageSize:C,sortBy:B,ascending:$},K)}apiExamsExamTestsExamTestIdExamTestResultsQuestionCategoriesQuestionCategoryIdSummaryGet$(t,n,l){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/QuestionCategories/${encodeURIComponent(String(n))}/Summary`,void 0,l)}apiExamsExamTestsExamTestIdExamTestResultsQuestionsGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/Questions`,{page:n,pageSize:l,sortBy:C,ascending:B},$)}apiExamsExamTestsExamTestIdExamTestResultsQuestionsQuestionIdGet$(t,n,l){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/Questions/${encodeURIComponent(String(n))}`,void 0,l)}apiExamsExamTestsExamTestIdExamTestResultsSaveGradingPercentPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/SaveGradingPercent`,void 0,{gradingPercent:n},l)}apiExamsExamTestsExamTestIdExamTestResultsSendMailPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/SendMail`,n,void 0,l)}apiExamsExamTestsExamTestIdExamTestResultsSummaryGet$(t,n){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExamTestResults/Summary`,void 0,n)}apiExamsExamTestsExamTestIdExportResultsPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/ExportResults`,void 0,{stripHtml:n},l)}apiExamsExamTestsExamTestIdGeneratePasswordPut$(t,n){return this.api.put(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/GeneratePassword`,void 0,void 0,n)}apiExamsExamTestsExamTestIdGet$(t,n){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}`,void 0,n)}apiExamsExamTestsExamTestIdPartsGet$(t,n){return this.api.get(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/Parts`,void 0,n)}apiExamsExamTestsExamTestIdPartsIdDelete$(t,n,l){return this.api.delete(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/Parts/${encodeURIComponent(String(n))}`,void 0,l)}apiExamsExamTestsExamTestIdPartsPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/Parts`,n,void 0,l)}apiExamsExamTestsExamTestIdPut$(t,n,l){return this.api.put(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}`,n,void 0,l)}apiExamsExamTestsExamTestIdUpdatePasswordPut$(t,n,l){return this.api.put(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/UpdatePassword`,n,void 0,l)}apiExamsExamTestsExamTestIdUpgradePackagePost$(t,n,l){return this.api.post(`${Be()}/api/Exams/ExamTests/${encodeURIComponent(String(t))}/UpgradePackage`,n,void 0,l)}apiExamsExamTestsListGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/Exams/ExamTests/List`,{page:t,pageSize:n,sortBy:l,ascending:C},B)}apiExamsExamTestsPost$(t,n){return this.api.post(`${Be()}/api/Exams/ExamTests`,t,void 0,n)}apiExamsIdCheckAllResultsPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/CheckAllResults`,void 0,{isOnlySystemCheck:n},l)}apiExamsIdCopyNewPost$(t,n){return this.api.post(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/CopyNew`,void 0,void 0,n)}apiExamsIdExamTestPartsExamTestPartIdDelete$(t,n,l){return this.api.delete(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/ExamTestParts/${encodeURIComponent(String(n))}`,void 0,l)}apiExamsIdExamTestPartsExamTestPartIdPut$(t,n,l,C){return this.api.put(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/ExamTestParts/${encodeURIComponent(String(n))}`,l,void 0,C)}apiExamsIdExamTestPartsPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/ExamTestParts`,n,void 0,l)}apiExamsIdQuestionMapsGet$(t,n){return this.api.get(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/QuestionMaps`,void 0,n)}
206apiExamsIdReportTagsExportGet$(t,n){return this.api.get(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/ReportTags/Export`,void 0,n)}apiExamsIdSaveExportFileGet$(t,n){return this.api.get(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/SaveExportFile`,void 0,n)}apiExamsIdSendExamInvitePost$(t,n,l){return this.api.post(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Send/Exam/Invite`,n,void 0,l)}apiExamsIdUsersExportExcelGet$(t,n){return this.api.get(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Users/ExportExcel`,void 0,n)}apiExamsIdUsersGet$(t,n,l,C,B,$,K){return this.api.get(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Users`,{page:n,pageSize:l,sortBy:C,ascending:B,searchKeyword:$},K)}apiExamsIdUsersImportExcelPost$(t,n,l){return this.api.multipartPost(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Users/ImportExcel`,{file:n},void 0,l)}apiExamsIdUsersPost$(t,n,l){return this.api.post(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Users`,n,void 0,l)}apiExamsIdUsersUserIdDelete$(t,n,l){return this.api.delete(`${Be()}/api/Exams/${encodeURIComponent(String(t))}/Users/${encodeURIComponent(String(n))}`,void 0,l)}apiExamsResultsGet$(t,n,l,C,B,$,K,G){return this.api.get(`${Be()}/api/Exams/Results`,{startDate:t,endDate:n,type:l,partCode:C,questionCode:B,examTestCode:$,isCheck:K},G)}apiExamsUpdateScorePost$(t,n){return this.api.post(`${Be()}/api/Exams/UpdateScore`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var fw=(()=>{let e=class e{constructor(t){this.api=t}apiFilesFixCaptureCameraGet$(t){return this.api.get(`${Be()}/api/Files/FixCaptureCamera`,void 0,t,!0)}apiFilesUploadAudioFilePost$(t,n){return this.api.multipartPost(`${Be()}/api/Files/UploadAudioFile`,{file:t},void 0,n)}apiFilesUploadFilePost$(t,n){return this.api.multipartPost(`${Be()}/api/Files/UploadFile`,{file:t},void 0,n)}apiFilesUploadImageFilePost$(t,n){return this.api.multipartPost(`${Be()}/api/Files/UploadImageFile`,{file:t},void 0,n)}apiFilesUploadImagePost$(t,n){return this.api.multipartPost(`${Be()}/api/Files/UploadImage`,{file:t},void 0,n)}apiFilesUploadVideoFilePost$(t,n){return this.api.multipartPost(`${Be()}/api/Files/UploadVideoFile`,{file:t},void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var mw=(()=>{let e=class e{constructor(t){this.api=t}apiOrganizationMembersDropdownGet$(t,n){return this.api.get(`${Be()}/api/OrganizationMembers/Dropdown`,{search:t},n)}apiOrganizationMembersGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/OrganizationMembers`,{page:t,pageSize:n,sortBy:l,ascending:C,search:B},$)}apiOrganizationMembersMemberIdDelete$(t,n){return this.api.delete(`${Be()}/api/OrganizationMembers/${encodeURIComponent(String(t))}`,void 0,n)}apiOrganizationMembersMemberIdPut$(t,n,l){return this.api.put(`${Be()}/api/OrganizationMembers/${encodeURIComponent(String(t))}`,n,void 0,l)}apiOrganizationMembersMemberIdResetPasswordPost$(t,n){return this.api.post(`${Be()}/api/OrganizationMembers/${encodeURIComponent(String(t))}/ResetPassword`,void 0,void 0,n)}apiOrganizationMembersPost$(t,n){return this.api.post(`${Be()}/api/OrganizationMembers`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var gw=(()=>{let e=class e{constructor(t){this.api=t}apiAdminOrganizationsGet$(t,n,l,C,B,$,K){return this.api.get(`${Be()}/api/Admin/Organizations`,{page:t,pageSize:n,sortBy:l,ascending:C,search:B,isDisabled:$},K)}apiAdminOrganizationsIdDelete$(t,n){return this.api.delete(`${Be()}/api/Admin/Organizations/${encodeURIComponent(String(t))}`,void 0,n)}apiAdminOrganizationsIdGet$(t,n){return this.api.get(`${Be()}/api/Admin/Organizations/${encodeURIComponent(String(t))}`,void 0,n)}apiAdminOrganizationsIdPut$(t,n,l){return this.api.put(`${Be()}/api/Admin/Organizations/${encodeURIComponent(String(t))}`,n,void 0,l)}apiAdminOrganizationsPost$(t,n){return this.api.post(`${Be()}/api/Admin/Organizations`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ew=(()=>{let e=class e{constructor(t){this.api=t}apiUsersAdminGet$(t,n,l,C,B,$){return this.api.get(`${Be()}/api/Users/Admin`,{searchName:t,page:n,pageSize:l,sortBy:C,ascending:B},$)}apiUsersAdminPost$(t,n){return this.api.post(`${Be()}/api/Users/Admin`,t,void 0,n)}apiUsersAdminResetPasswordUserIdPost$(t,n){return this.api.post(`${Be()}/api/Users/Admin/ResetPassword/${encodeURIComponent(String(t))}`,void 0,void 0,n)}apiUsersAdminUserIdDelete$(t,n){return this.api.delete(`${Be()}/api/Users/Admin/${encodeURIComponent(String(t))}`,void 0,n)}apiUsersAdminUserIdPut$(t,n,l){return this.api.put(`${Be()}/api/Users/Admin/${encodeURIComponent(String(t))}`,n,void 0,l)}apiUsersChangePasswordPut$(t,n){return this.api.put(`${Be()}/api/Users/ChangePassword`,t,void 0,n)}apiUsersCountriesDropdownGet$(t){return this.api.get(`${Be()}/api/Users/Countries/Dropdown`,void 0,t)}apiUsersGet$(t,n,l,C,B,$,K,G){return this.api.get(`${Be()}/api/Users`,{page:t,pageSize:n,sortBy:l,ascending:C,name:B,isActive:$,role:K},G)}apiUsersMyRolesGet$(t){return this.api.get(`${Be()}/api/Users/MyRoles`,void 0,t)}apiUsersNameListGet$(t,n){return this.api.get(`${Be()}/api/Users/NameList`,{q:t},n)}apiUsersProfileGet$(t){return this.api.get(`${Be()}/api/Users/Profile`,void 0,t)}apiUsersProfilePut$(t,n){return this.api.put(`${Be()}/api/Users/Profile`,t,void 0,n)}apiUsersReceiptAddressesGet$(t){return this.api.get(`${Be()}/api/Users/ReceiptAddresses`,void 0,t)}apiUsersReceiptAddressesIdDelete$(t,n){return this.api.delete(`${Be()}/api/Users/ReceiptAddresses/${encodeURIComponent(String(t))}`,void 0,n)}apiUsersReceiptAddressesIdGet$(t,n){return this.api.get(`${Be()}/api/Users/ReceiptAddresses/${encodeURIComponent(String(t))}`,void 0,n)}apiUsersReceiptAddressesIdPut$(t,n,l){return this.api.put(`${Be()}/api/Users/ReceiptAddresses/${encodeURIComponent(String(t))}`,n,void 0,l)}apiUsersReceiptAddressesIdSetDefaultPost$(t,n){return this.api.post(`${Be()}/api/Users/ReceiptAddresses/${encodeURIComponent(String(t))}/SetDefault`,void 0,void 0,n)}apiUsersReceiptAddressesPost$(t,n){return this.api.post(`${Be()}/api/Users/ReceiptAddresses`,t,void 0,n)}apiUsersRegisterPost$(t,n){return this.api.post(`${Be()}/api/Users/Register`,t,void 0,n)}apiUsersSendConfirmEmailPost$(t,n){return this.api.post(`${Be()}/api/Users/SendConfirmEmail`,t,void 0,n,!0)}confirmEmail$(t,n,l){return this.api.get(`${Be()}/api/Users/ConfirmEmail`,{token:t,email:n},l,!0)}forgotPassword$(t,n){return this.api.post(`${Be()}/api/Users/ForgotPassword`,t,void 0,n,!0)}resetPassword$(t,n){return this.api.post(`${Be()}/api/Users/ResetPassword`,t,void 0,n,!0)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var bw=(()=>{let e=class e{constructor(t){this.api=t}apiAdminWebhooksEventsPost$(t,n){return this.api.post(`${Be()}/api/Admin/Webhooks/events`,t,void 0,n)}apiAdminWebhooksGet$(t){return this.api.get(`${Be()}/api/Admin/Webhooks`,void 0,t)}apiAdminWebhooksLogsDelete$(t){return this.api.delete(`${Be()}/api/Admin/Webhooks/logs`,void 0,t,!0)}apiAdminWebhooksLogsGet$(t,n,l,C){return this.api.get(`${Be()}/api/Admin/Webhooks/logs`,{page:t,pageSize:n,eventType:l},C)}apiAdminWebhooksPost$(t){return this.api.post(`${Be()}/api/Admin/Webhooks`,void 0,void 0,t)}apiAdminWebhooksPut$(t,n){return this.api.put(`${Be()}/api/Admin/Webhooks`,t,void 0,n)}apiAdminWebhooksRegenerateSecretPost$(t){return this.api.post(`${Be()}/api/Admin/Webhooks/regenerate-secret`,void 0,void 0,t)}apiAdminWebhooksRevealSecretPost$(t){return this.api.post(`${Be()}/api/Admin/Webhooks/reveal-secret`,void 0,void 0,t,!0)}apiAdminWebhooksTestPost$(t,n){return this.api.post(`${Be()}/api/Admin/Webhooks/test`,void 0,{eventType:t},n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ah={};
206LC(Ah,{BackgroundJobState:()=>UN,BackgroundJobStatus:()=>GN,BackgroundJobType:()=>XN,ChatMessageType:()=>qN,CheckBy:()=>ZN,CreditHistoryType:()=>KN,ExamPlatform:()=>QN,ExamPrivacy:()=>JN,ExamScoreGrade:()=>ej,ExamTimeLimitType:()=>tj,ModelPackage:()=>ij,NotificationWebAction:()=>nj,PaymentMethod:()=>sj,PersonType:()=>rj,QuestionType:()=>oj,Role:()=>aj,ShortAnswerType:()=>lj,WebhookEventType:()=>hj});var UN={Running:"Running",Completed:"Completed"};var GN={Waiting:"Waiting",Running:"Running",Completed:"Completed",Failed:"Failed"};var XN={CloneExam:"CloneExam",CloneExamTestPart:"CloneExamTestPart",ImportExam:"ImportExam",ExportExam:"ExportExam",ExportExamResult:"ExportExamResult",CheckAllResults:"CheckAllResults",Other:"Other",ExportUserExamResult:"ExportUserExamResult",ExportUserQuestionResult:"ExportUserQuestionResult",ExportExamOffline:"ExportExamOffline"};var qN={Message:"Message",File:"File"};var ZN={Human:"Human",System:"System"};var KN={Add:"Add",Use:"Use"};var QN={WebBrowser:"WebBrowser",Client:"Client"};var JN={Public:"Public",Internal:"Internal",Private:"Private"};var ej={Bad:"Bad",Normal:"Normal",Good:"Good"};var tj={FixHour:"FixHour",FlexibleHour:"FlexibleHour"};var ij={Free:"Free",Standard:"Standard",Premium:"Premium"};var nj={OpenCourse:"OpenCourse",OpenVideo:"OpenVideo",OpenExam:"OpenExam",OpenDiscussion:"OpenDiscussion",None:"None"};var sj={CreditCard:"CreditCard"};var rj={Individual:"Individual",Juristic:"Juristic"};var oj={MultipleChoice:"MultipleChoice",ShortAnswer:"ShortAnswer",Subjective:"Subjective",TabledMultipleChoice:"TabledMultipleChoice",MultipleAnswer:"MultipleAnswer",TabledMultipleAnswer:"TabledMultipleAnswer",MultipleChoiceReason:"MultipleChoiceReason",DragDrop:"DragDrop"};var aj={SuperAdmin:"SuperAdmin",ExamAdmin:"ExamAdmin",ExamTaker:"ExamTaker",General:"General",ExamAssistant:"ExamAssistant",ExamManager:"ExamManager"};var lj={Text:"Text",Number:"Number",Dropdown:"Dropdown",Reason:"Reason",Equation:"Equation",EquationReason:"EquationReason"};var hj={ExamStart:"ExamStart",ExamResult:"ExamResult"};var yw=(()=>{let e=class e{constructor(t){this.api=t}apiBackgroundCountGet$(t){return this.api.get(`${Be()}/api/Background/Count`,void 0,t)}apiBackgroundJobsGet$(t,n,l,C){return this.api.get(`${Be()}/api/Background/Jobs`,{jobState:t,page:n,pageSize:l},C)}apiBackgroundJobsJobIdDismissPost$(t,n){return this.api.post(`${Be()}/api/Background/Jobs/${encodeURIComponent(String(t))}/Dismiss`,void 0,void 0,n)}apiBackgroundJobsJobIdGet$(t,n){return this.api.get(`${Be()}/api/Background/Jobs/${encodeURIComponent(String(t))}`,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var vw=(()=>{let e=class e{constructor(t){this.api=t}apiDataAddNotificationTemplatePost$(t){return this.api.post(`${Be()}/api/Data/AddNotificationTemplate`,void 0,void 0,t)}apiDataAddQuestionCategoryTagPost$(t,n,l){return this.api.post(`${Be()}/api/Data/AddQuestionCategoryTag`,void 0,{questionId:t,categoryTagId:n},l)}apiDataBackfillUserMonitorIsFocusPost$(t,n){return this.api.post(`${Be()}/api/Data/BackfillUserMonitorIsFocus`,void 0,{examTestId:t},n)}apiDataCacheExamTestToMongoExamTestIdPost$(t,n){return this.api.post(`${Be()}/api/Data/CacheExamTestToMongo/${encodeURIComponent(String(t))}`,void 0,void 0,n)}apiDataClearCacheExamTestExamTestIdPost$(t,n){return this.api.post(`${Be()}/api/Data/ClearCacheExamTest/${encodeURIComponent(String(t))}`,void 0,void 0,n)}apiDataFixBackgroundCheckResultExamTestIdPost$(t,n){return this.api.post(`${Be()}/api/Data/FixBackgroundCheckResult/${encodeURIComponent(String(t))}`,void 0,void 0,n)}apiDataFixBackgroundCheckResultPost$(t){return this.api.post(`${Be()}/api/Data/FixBackgroundCheckResult`,void 0,void 0,t)}apiDataGetCacheExamTestFromMongoExamTestIdQuestionIdGet$(t,n,l){return this.api.get(`${Be()}/api/Data/GetCacheExamTestFromMongo/${encodeURIComponent(String(t))}/${encodeURIComponent(String(n))}`,void 0,l)}apiDataGetUnfocusedUsersExamTestIdGet$(t,n){return this.api.get(`${Be()}/api/Data/GetUnfocusedUsers/${encodeURIComponent(String(t))}`,void 0,n)}apiDataInviteExamNotificationTemplatePost$(t){return this.api.post(`${Be()}/api/Data/InviteExamNotificationTemplate`,void 0,void 0,t)}apiDataMigrateCategoryTagOrganizationIdPost$(t){return this.api.post(`${Be()}/api/Data/MigrateCategoryTagOrganizationId`,void 0,void 0,t)}apiDataMigrateExamInstructorsToOrgMembersPost$(t,n){return this.api.post(`${Be()}/api/Data/MigrateExamInstructorsToOrgMembers`,void 0,{organizationId:t},n)}apiDataMigrateExamTestPartOrganizationIdPost$(t){return this.api.post(`${Be()}/api/Data/MigrateExamTestPartOrganizationId`,void 0,void 0,t)}apiDataMigrateExamTestSessionRandomConfigPost$(t){return this.api.post(`${Be()}/api/Data/MigrateExamTestSessionRandomConfig`,void 0,void 0,t)}apiDataMigrateRemoveExamAdminInstructorsPost$(t){return this.api.post(`${Be()}/api/Data/MigrateRemoveExamAdminInstructors`,void 0,void 0,t)}apiDataReCalculateScoreExamTestIdJobPost$(t,n){return this.api.post(`${Be()}/api/Data/ReCalculateScore/${encodeURIComponent(String(t))}/job`,void 0,void 0,n)}apiDataReCalculateScoreExamTestIdPost$(t,n){return this.api.post(`${Be()}/api/Data/ReCalculateScore/${encodeURIComponent(String(t))}`,void 0,void 0,n)}apiDataRemoveOrgMembersExcludeSofteverPost$(t,n){return this.api.post(`${Be()}/api/Data/RemoveOrgMembersExcludeSoftever`,void 0,{organizationId:t},n)}apiDataTransferExamOwnerPost$(t,n,l){return this.api.post(`${Be()}/api/Data/TransferExamOwner`,void 0,{fromEmail:t,toEmail:n},l)}apiDataUpdateExamTestOrganizationPost$(t,n,l){return this.api.post(`${Be()}/api/Data/UpdateExamTestOrganization`,void 0,{email:t,organizationId:n},l)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var xw=(()=>{let e=class e{constructor(t){this.api=t}apiExamChatExamTestIdChatChatIdGet$(t,n,l){return this.api.get(`${Be()}/api/ExamChat/${encodeURIComponent(String(t))}/Chat/${encodeURIComponent(String(n))}`,void 0,l)}apiExamChatExamTestIdChatGet$(t,n){return this.api.get(`${Be()}/api/ExamChat/${encodeURIComponent(String(t))}/Chat`,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();
206var Cw=(()=>{let e=class e{constructor(t){this.api=t}apiExamResultsGet$(t,n){return this.api.get(`${Be()}/api/ExamResults`,{userId:t},n,!0)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var _w=(()=>{let e=class e{constructor(t){this.api=t}apiFeedExamTestsGet$(t,n,l,C,B){return this.api.get(`${Be()}/api/Feed/ExamTests`,{page:t,pageSize:n,sortBy:l,ascending:C},B)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ww=(()=>{let e=class e{constructor(t){this.api=t}apiGlobalConfigsGet$(t){return this.api.get(`${Be()}/api/GlobalConfigs`,void 0,t,!0)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Sw=(()=>{let e=class e{constructor(t){this.api=t}apiNotificationsGet$(t,n,l){return this.api.get(`${Be()}/api/Notifications`,{page:t,pageSize:n},l)}apiNotificationsMarkAllAsReadPut$(t){return this.api.put(`${Be()}/api/Notifications/MarkAllAsRead`,void 0,void 0,t)}apiNotificationsUnreadCountGet$(t){return this.api.get(`${Be()}/api/Notifications/UnreadCount`,void 0,t)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Mw=(()=>{let e=class e{constructor(t){this.api=t}apiPaymentsExchangeRateGet$(t){return this.api.get(`${Be()}/api/Payments/ExchangeRate`,void 0,t)}apiPaymentsPurchaseHistoriesGet$(t,n,l){return this.api.get(`${Be()}/api/Payments/Purchase/Histories`,{sortBy:t,ascending:n},l)}apiPaymentsPurchaseLogsPost$(t,n){return this.api.post(`${Be()}/api/Payments/Purchase/Logs`,t,void 0,n,!0)}apiPaymentsPurchasePost$(t,n){return this.api.post(`${Be()}/api/Payments/Purchase`,t,void 0,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Tw=(()=>{let e=class e{constructor(t){this.api=t}apiSecretsGet$(t){return this.api.get(`${Be()}/api/Secrets`,void 0,t)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var kw=(()=>{let e=class e{constructor(t){this.api=t}apiTokenCanAccessMainPanelPost$(t){return this.api.post(`${Be()}/api/Token/CanAccessMainPanel`,void 0,void 0,t)}apiTokenLogoutPost$(t){return this.api.post(`${Be()}/api/Token/Logout`,void 0,void 0,t)}apiTokenPost$(t,n){return this.api.post(`${Be()}/api/Token`,t,void 0,n,!0)}apiTokenTestTokenPost$(t){return this.api.post(`${Be()}/api/Token/TestToken`,void 0,void 0,t,!0)}};e.\u0275fac=function(n){return new(n||e)(qe(Zt))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Sce=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[yw,ow,aw,lw,vw,xw,hw,cw,uw,dw,Cw,pw,_w,fw,ww,Sw,mw,gw,Mw,Tw,kw,Ew,bw]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({});let i=e;return i})();var gp=Ah.Role,bue=Object.values(gp),yue={[gp.SuperAdmin]:"\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A",[gp.ExamAdmin]:"\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",[gp.ExamManager]:"\u0E1C\u0E39\u0E49\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E2A\u0E2D\u0E1A",[gp.ExamAssistant]:"\u0E1C\u0E39\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E04\u0E38\u0E21\u0E2A\u0E2D\u0E1A"};var kb=ys(lS(),1),Mb=class{constructor(e,r,t){this.name=e,this.drake=r,this.options=t,this.initEvents=!1}},Vi=function(i){return i.Cancel="cancel",i.Cloned="cloned",i.Drag="drag",i.DragEnd="dragend",i.Drop="drop",i.Out="out",i.Over="over",i.Remove="remove",i.Shadow="shadow",i.DropModel="dropModel",i.RemoveModel="removeModel",i}(Vi||{}),Ij=Object.keys(Vi).map(i=>Vi[i]),Rj=kb.default||kb,vp=class{constructor(e=Rj){this.build=e}},Dh=(i,e,r)=>t=>t.pipe(Cn(({event:n,name:l})=>n===i&&(e===void 0||l===e)),Gi(({name:n,args:l})=>r(n,l))),Bj=(i,[e,r,t])=>({name:i,el:e,container:r,source:t}),xp=(()=>{let e=class e{constructor(t){this.drakeFactory=t,this.groups={},this.dispatch$=new pt,this.elContainerSource=n=>l=>this.dispatch$.pipe(Dh(n,l,Bj)),this.cancel=this.elContainerSource(Vi.Cancel),this.remove=this.elContainerSource(Vi.Remove),this.shadow=this.elContainerSource(Vi.Shadow),this.over=this.elContainerSource(Vi.Over),this.out=this.elContainerSource(Vi.Out),this.drag=n=>this.dispatch$.pipe(Dh(Vi.Drag,n,(l,[C,B])=>({name:l,el:C,source:B}))),this.dragend=n=>this.dispatch$.pipe(Dh(Vi.DragEnd,n,(l,[C])=>({name:l,el:C}))),this.drop=n=>this.dispatch$.pipe(Dh(Vi.Drop,n,(l,[C,B,$,K])=>({name:l,el:C,target:B,source:$,sibling:K}))),this.cloned=n=>this.dispatch$.pipe(Dh(Vi.Cloned,n,(l,[C,B,$])=>({name:l,clone:C,original:B,cloneType:$}))),this.dropModel=n=>this.dispatch$.pipe(Dh(Vi.DropModel,n,(l,[C,B,$,K,G,q,Z,R,Y])=>({name:l,el:C,target:B,source:$,sibling:K,item:G,sourceModel:q,targetModel:Z,sourceIndex:R,targetIndex:Y}))),this.removeModel=n=>this.dispatch$.pipe(Dh(Vi.RemoveModel,n,(l,[C,B,$,K,G,q])=>({name:l,el:C,container:B,source:$,item:K,sourceModel:G,sourceIndex:q}))),(this.drakeFactory===null||this.drakeFactory===void 0)&&(this.drakeFactory=new vp)}add(t){if(this.find(t.name))throw new Error('Group named: "'+t.name+'" already exists.');return this.groups[t.name]=t,this.handleModels(t),this.setupEvents(t),t}find(t){return this.groups[t]}destroy(t){let n=this.find(t);n&&(n.drake&&n.drake.destroy(),delete this.groups[t])}createGroup(t,n){return this.add(new Mb(t,this.drakeFactory.build([],n),n))}handleModels({name:t,drake:n,options:l}){let C,B,$;n.on("remove",(K,G,q)=>{if(!n.models)return;let Z=n.models[n.containers.indexOf(q)];Z=Z.slice(0);let R=Z.splice(B,1)[0];this.dispatch$.next({event:Vi.RemoveModel,name:t,args:[K,G,q,R,Z,B]})}),n.on("drag",(K,G)=>{n.models&&(C=K,B=this.domIndexOf(K,G))}),n.on("drop",(K,G,q,Z)=>
206{if(!n.models||!G)return;$=this.domIndexOf(K,G);let R=n.models[n.containers.indexOf(q)],Y=n.models[n.containers.indexOf(G)],V;if(G===q)R=R.slice(0),V=R.splice(B,1)[0],R.splice($,0,V),Y=R;else{let H=C!==K;if(V=R[B],H){if(!l.copyItem)throw new Error("If you have enabled `copy` on a group, you must provide a `copyItem` function.");V=l.copyItem(V)}if(H||(R=R.slice(0),R.splice(B,1)),Y=Y.slice(0),Y.splice($,0,V),H)try{G.removeChild(K)}catch{}}this.dispatch$.next({event:Vi.DropModel,name:t,args:[K,G,q,Z,V,R,Y,B,$]})})}setupEvents(t){if(t.initEvents)return;t.initEvents=!0;let n=t.name,l=this,C=B=>{switch(B){case Vi.Drag:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.Drop:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.DragEnd:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.Cancel:case Vi.Remove:case Vi.Shadow:case Vi.Over:case Vi.Out:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.Cloned:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.DropModel:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;case Vi.RemoveModel:t.drake.on(B,(...$)=>{this.dispatch$.next({event:B,name:n,args:$})});break;default:break}};Ij.forEach(C)}domIndexOf(t,n){if(n)return Array.prototype.indexOf.call(n.children,t)}};e.\u0275fac=function(n){return new(n||e)(qe(vp,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),hS=(()=>{let e=class e{get container(){return this.el&&this.el.nativeElement}constructor(t,n){this.el=t,this.dragulaService=n,this.dragulaModelChange=new Qe}ngOnChanges(t){var n;if(t&&t.dragula){let{previousValue:l,currentValue:C,firstChange:B}=t.dragula,$=!!l,K=!!C;$&&this.teardown(l),K&&this.setup()}else if(t&&t.dragulaModel){let{previousValue:l,currentValue:C,firstChange:B}=t.dragulaModel,$=(n=this.group)==null?void 0:n.drake;if(this.dragula&&$){$.models=$.models||[];let K=$.models.indexOf(l);K!==-1?($.models.splice(K,1),C&&$.models.splice(K,0,C)):C&&$.models.push(C)}}}setup(){var l;let t=C=>{var B,$,K;this.dragulaModel&&((B=C.drake)!=null&&B.models?(K=($=C.drake)==null?void 0:$.models)==null||K.push(this.dragulaModel):C.drake&&(C.drake.models=[this.dragulaModel]))};if(!this.dragula)return;let n=this.dragulaService.find(this.dragula);if(!n){let C={};n=this.dragulaService.createGroup(this.dragula,C)}t(n),(l=n.drake)==null||l.containers.push(this.container),this.subscribe(this.dragula),this.group=n}subscribe(t){this.subs=new vs,this.subs.add(this.dragulaService.dropModel(t).subscribe(({source:n,target:l,sourceModel:C,targetModel:B})=>{n===this.el.nativeElement?this.dragulaModelChange.emit(C):l===this.el.nativeElement&&this.dragulaModelChange.emit(B)})),this.subs.add(this.dragulaService.removeModel(t).subscribe(({source:n,sourceModel:l})=>{n===this.el.nativeElement&&this.dragulaModelChange.emit(l)}))}teardown(t){var l,C;this.subs&&this.subs.unsubscribe();let n=this.dragulaService.find(t);if(n){let B=(l=n.drake)==null?void 0:l.containers.indexOf(this.el.nativeElement);if(B!==-1&&((C=n.drake)==null||C.containers.splice(B,1)),this.dragulaModel&&n.drake&&n.drake.models){let $=n.drake.models.indexOf(this.dragulaModel);$!==-1&&n.drake.models.splice($,1)}}}ngOnDestroy(){this.dragula&&this.teardown(this.dragula)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(xp))},e.\u0275dir=ft({type:e,selectors:[["","dragula",""]],inputs:{dragula:"dragula",dragulaModel:"dragulaModel"},outputs:{dragulaModelChange:"dragulaModelChange"},features:[ki]});let i=e;return i})(),Cp=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[xp]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[xp]});let i=e;return i})(),Hue=new vp((i,e)=>new Tb(i,e)),Tb=class{constructor(e=[],r={},t){this.containers=e,this.options=r,this.models=t,this.emitter$=new pt,this.subs=new vs,this.dragging=!1}on(e,r){this.subs.add(this.emitter$.pipe(Cn(({eventType:t})=>t===e)).subscribe(({eventType:t,args:n})=>{if(t===Vi.Drag){let l=Array.from(n),C=l[0],B=l[1];r(C,B);return}if(t===Vi.Drop){let l=Array.from(n),C=l[0],B=l[1],$=l[2],K=l[3];r(C,B,$,K);return}if(t===Vi.Remove){let l=Array.from(n),C=l[0],B=l[1],$=l[2];r(C,B,$);return}r(n)}))}start(e){this.dragging=!0}end(){this.dragging=!1}cancel(e){this.dragging=!1}canMove(e){return this.options.accepts?this.options.accepts(e):!1}remove(){this.dragging=!1}destroy(){this.subs.unsubscribe()}emit(e,...r){this.emitter$.next({eventType:e,args:r})}};var cS={pageCount:"x-paging-pagecount",totalCount:"x-paging-totalrecordcount"};function Ab(i){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r="mS0Hcdl8of4WB9PIU3nDV6CkGpj2RiZzATKvsutxqO7rNLYw5QghbEeaMyJ1XF",t="";for(let n=0;n<i.length;n++){let l=i[n],C=r.indexOf(l);if(C===-1)t+=l;else{let B=(C-5-n+e.length)%e.length;t+=e[B]}}return t}var rn=class{static concatUrl(e,r){return e.endsWith("/")&&(e=e.slice(0,-1)),r.startsWith("/")||(r="/"+r),e+r}static getPageHeaders(e){let r=e==null?void 0:e[cS.pageCount],t=e==null?void 0:e[cS.totalCount];return{pageCount:r!=null?+r:null,totalCount:t!=null?+t:null}}static checkElement(e){return document.querySelector(e)==null?this.rafAsync().then(()=>this.checkElement(e)):Promise.resolve(!0)}static rafAsync(){return new Promise(e=>{requestAnimationFrame(e)})}static randomWithTime(){return(this.random()+""+new Date().getTime()).substring(2)}static random(){return Math.random()}static dateStartOfToday(){let e=new Date;return e.setHours(0,0,0),e}static dateEndOfToday(){let e=new Date;return e.setHours(23,59,59),e}static base64ToUint8Array(e){if(typeof window<"u"&&typeof window.atob=="function"){let r=window.atob(e),t=r.length,n=new Uint8Array(t);for(let l=0;l<t;l++)n[l]=r.charCodeAt(l);return n}else if(typeof Buffer=="function"){let r=Buffer.from(e,"base64");return new Uint8Array(r)}else throw new Error("Environment not supported")}static uint8ArrayToBase64(e){let r="",t=e.length,n=32768;for(let l=0;l<t;l+=n){let C=e.subarray(l,l+n);r+=String.fromCharCode.apply(null,Array.from(C))}return window.btoa(r)}static isMobile(){return window.matchMedia("screen and (max-width: 767px)").matches}static isTablet(){return window.matchMedia("screen and (min-width: 768px) and (max-width: 1365px)").matches}static isDesktop(){return window.matchMedia("screen and (min-width: 1366px)").matches}static isWebApp(){return window.origin.startsWith("http://")||window.origin.startsWith("https://")}static isDesktopApp(){return window.origin.includes("capacitor-electron://")}static isMobileApp(){return window.origin.includes("capacitor://localhost")}static isMobileWeb(){var r;if(!((r=navigator.mediaDevices)!=null&&r.getDisplayMedia))return!0;var e=UAParser(window.navigator.userAgent);return e.device.type==="tablet"||e.device.type==="mobile"||e.os.name==="iOS"||e.os.name==="Android"}static browser(){let r=UAParser(window.navigator.userAgent).browser.name.toLowerCase();return r.includes("chrome")?"chrome":r.includes("edge")?"edge":r.includes("firefox")?"firefox":r.includes("safari")?"safari":"other"}static range(e,r,t){return t&&r?Array.from({length:(r-e)/t},(n,l)=>l*t+e):r?Array.from({length:r-e},(n,l)=>l+e):Array.from({length:e},(n,l)=>l)}static groupBy(e,r){return e.reduce((t,n)=>{let l=n[r];return Array.isArray(t[l])||(t[l]=[]),t[l].push(n),t},{})}static diffDate(e,r,t,n){return e.setMilliseconds(0),r.setMilliseconds(0),n?Math[n](Rt.fromJSDate(e).diff(Rt.fromJSDate(r),t).get(t)):Math.floor(Rt.fromJSDate(e).diff(Rt.fromJSDate(r),t).get(t))}};var Jn=Ah.ShortAnswerType,$ue=Object.values(Jn),zr={[Jn.Text]:"Short Text",[Jn.Reason]:"Reason",[Jn.Number]:"Number",[Jn.Equation]:"Equation",[Jn.EquationReason]:"Equation and Reason",[Jn.Dropdown]:"Dropdown"};var Ss=function(i){return i.shortAnswerText="shortAnswerText",i.shortAnswerReason="shortAnswerReason",i.shortAnswerNumber="shortAnswerNumber",i.shortAnswerEquation="shortAnswerEquation",i.shortAnswerEquationReason="shortAnswerEquationReason",i.shortAnswerDropdown="shortAnswerDropdown",i}(Ss||{});var su=function(i){return i.Necessary="necessary-cookies",i.Performance="performance-cookie
206s",i.Functional="functional-cookies",i.Targeting="targeting-cookies",i}(su||{}),ru=function(i){return i.en="en",i.th="th",i}(ru||{}),uS={appName:"APP-NAME",disabled:!1,isSingleLocale:!1,defaultLocale:ru.en,privacyPolicyLink:"",termsConditionsLink:""};var ou=new Ht("userLibCookieConsentConfigToken");var Bs=(()=>{let e=class e{constructor(t,n){this.storage=t,this.mCookieSetting=[],this.cookieSetting=[],this.cookieSettingSubject=new pt,this.cookieSetting$=this.cookieSettingSubject.asObservable(),this.isAcceptCookieSubject=new pt,this.isAcceptCookie$=this.isAcceptCookieSubject.asObservable(),this.config={},this.config=Object.assign({},uS,n),this.config.disabled||(this.createCookieSetting(),Et(this,null,function*(){this.isAcceptedCookie=yield this.storage.getBooleanPersistent("is_accepted_cookie"),this.isAcceptCookieSubject.next(this.isAcceptedCookie);for(let l of this.cookieSetting)l.isRequired||(l.isActive=yield this.storage.getBooleanPersistent(l.storageKey));this.isAcceptedCookie?this.cookieSettingChange():this.cookieSettingSubject.next(null)})),this.setLocale(this.config.defaultLocale)}setLocale(t){this.activeLocale!==t&&(this.activeLocale=t,this.isThai=this.activeLocale===ru.th)}saveSetting(t=!1){var n;this.isAcceptedCookie===!1&&(this.storage.setItemPersistent("is_accepted_cookie",!0),this.isAcceptedCookie=!0,this.isAcceptCookieSubject.next(this.isAcceptedCookie)),(this.mCookieSetting.length?this.mCookieSetting:this.cookieSetting).forEach((l,C)=>{if(!l.isRequired){let B=t?!0:l.isActive;this.storage.setItemPersistent(l.storageKey,B),this.cookieSetting[C].isActive=B}}),this.cookieSettingChange(),(n=this.modalSetting)!=null&&n.isOpen&&this.modalSetting.close()}acceptAll(){this.saveSetting(!0)}getCookieConsentStatus(t){var l;if(t)return((l=this.cookieSetting.find(C=>C.storageKey===t))==null?void 0:l.isActive)??!1;let n={};return this.cookieSetting.forEach(C=>{n[C.storageKey]=C.isActive}),n}getConfig(){return this.config}setModalSetting(t){this.modalSetting=t}openSetting(){this.config.disabled||(this.modalSetting?(this.mCookieSetting=[...this.cookieSetting],this.modalSetting.open()):console.warn("Err: Not found cookie-sett
206ing modal. Does you append this tag <lib-cookie-consent></lib-cookie-consent>"))}getCookieSetting(){return this.cookieSetting}createCookieSetting(){[{storageKey:su.Necessary,isActive:!0,isRequired:!0,isCollapsed:!1,th:{title:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E17\u0E35\u0E48\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E08\u0E33\u0E40\u0E1B\u0E47\u0E19",content:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49\u0E08\u0E33\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E17\u0E33\u0E07\u0E32\u0E19\u0E02\u0E2D\u0E07\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1B\u0E34\u0E14\u0E44\u0E14\u0E49\u0E08\u0E32\u0E01\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C \u0E2D\u0E22\u0E48\u0E32\u0E07\u0E44\u0E23\u0E01\u0E47\u0E15\u0E32\u0E21\u0E17\u0E48\u0E32\u0E19\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1A\u0E25\u0E47\u0E2D\u0E04\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E44\u0E14\u0E49\u0E08\u0E32\u0E01\u0E1A\u0E23\u0E32\u0E27\u0E40\u0E0B\u0E2D\u0E23\u0E4C\u0E02\u0E2D\u0E07\u0E17\u0E48\u0E32\u0E19\u0E0B\u0E36\u0E48\u0E07\u0E2D\u0E32\u0E08\u0E08\u0E30\u0E2A\u0E48\u0E07\u0E1C\u0E25\u0E01\u0E23\u0E30\u0E17\u0E1A\u0E01\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E44\u0E14\u0E49",description:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E08\u0E33\u0E40\u0E1B\u0E47\u0E19\u0E15\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E43\u0E2B\u0E49\u0E17\u0E48\u0E32\u0E19\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E43\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E48\u0E32\u0E07 \u0E4
2066 \u0E02\u0E2D\u0E07\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E44\u0E14\u0E49 \u0E23\u0E27\u0E21\u0E16\u0E36\u0E07\u0E0A\u0E48\u0E27\u0E22\u0E08\u0E14\u0E08\u0E33\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E17\u0E48\u0E32\u0E19\u0E40\u0E04\u0E22\u0E43\u0E2B\u0E49\u0E44\u0E27\u0E49\u0E1C\u0E48\u0E32\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C \u0E0B\u0E36\u0E48\u0E07\u0E17\u0E48\u0E32\u0E19\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E43\u0E19\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E44\u0E14\u0E49"},en:{title:"Strictly Necessary Cookies",content:"These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.",description:"This type of cookie is essential for the operation of the Company's website, allowing you to access various parts of the site.It also helps to remember information you have previously provided through the website.You cannot disable these cookies while accessing the Company's website."},examples:["access_token","refresh_token"]},{storageKey:su.Performance,isActive:!1,isRequired:!1,isCollapsed:!1,th:{title:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E2B\u0E4C\u0E41\u0E25\u0E30\u0E1B\u0E23\u0E30\u0E40\u0E21\u0E34\u0E19\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",content:"\u0E02\u0E49\u0E32\u0E1E\u0E40\u0E08\u0E49\u0E32\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21\u0E43\u0E2B\u0E49\u0E17\u0E32\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E43\u0E0A\u0E49 Cookies \u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17 Performance Cookies \u0E17\u0E35\u0E48\u0E17\u0E33\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48\u0E1B\u0E23\u0E30\u0E40\u0E21\u0E34\u0E19\u0E1B\u0E23\u0E30\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E20\u0E32\u0E1E\u0E43\u0E19\u0E01\u0E32\u0E23\u0E17\u0E33\u0E07\u0E32\u0E19\u0E41\u0E15\u0E48\u0E25\u0E30\u0E2A\u0E48\u0E27\u0E19\u0E02\u0E2D\u0E07\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C \u0E41\u0E25\u0E30\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07 \u0E0B\u0E36\u0E48\u0E07\u0E2D\u0E32\u0E08\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E17\u0E35\u0E48\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E40\u0E2D\u0E07 \u0E2B\u0E23\u0E37\u0E2D \u0E27\u0E48\u0E32\u0E08\u0E49\u0E32\u0E07\u0E1A\u0E38\u0E04\u0E04\u0E25\u0E20\u0E32\u0E22\u0E19\u0E2D\u0E01\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E14\u0E31\u0E07\u0E01\u0E25\u0E48\u0E32\u0E27\u0E43\u0E2B\u0E49 \u0E42\u0E14\u0E22\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E20\u0E32\u0E22\u0E43\u0E15\u0E49 \u0E40\u0E07\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E02\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E48\u0E27\u0E19\u0E1A\u0E38\u0E04\u0E04\u0E25\u0E02\u0E2D\u0E07 \u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17",description:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E0A\u0E48\u0E27\u0E22\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E17\u0E23\u0E32\u0E1A\u0E16\u0E36\u0E07\u0E01\u0E32\u0E23\u0E1B\u0E0F\u0E34\u0E2A\u0E31\u0E21\u0E1E\u0E31\u0E19\u0E18\u0E4C\u0E02\u0E2D\u0E07\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E43\u0E19\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E23\u0E27\u0E21\u0E16\u0E36\u0E07\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E1E\u0E08\u0E2B\u0E23\u0E37\u0E2D\u0E1E\u0E37\u0E49\u0E19\u0E17\u0E35\u0E48\u0E43\u0E14\u0E02\u0E2D\u0E07\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A\u0E04\u0E27\u0E32\u0E21\u0E19\u0E34\u0E22\u0E21 \u0E15\u0E25\u0E2D\u0E14\u0E08\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E32\u0E19\u0E2D\u0E37\u0E48\u0E19 \u0E46 \u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E22\u0E31\u0E07\u0E43\u0E0A\u0E49\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E19\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E31\u0E1A\u0E1B\u0E23\u0E38\u0E07\u0E01\u0E32\u0E23\u0E17\u0E33\u0E07\u0E32\u0E19\u0E02\u0E2D\u0E07\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C \u0E41\u0E25\u0E30\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E1E\u0E24\u0E15\u0E34\u0E01\u0E23\u0E23\u0E21\u0E02\u0E2D\u0E07\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E21\u0E32\u0E01\u0E02\u0E36\u0E49\u0E19 \u0E42\u0E14\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E19\u0E35\u0E49\u0E40\u0E01\u0E47\u0E1A\u0E23\u0E27\u0E1A\u0E23\u0E27\u0E21\u0E08\u0E30\u0E40\u0E1B\u0E47\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E23\u0E30\u0E1A\u0E38\u0E15\u0E31\u0E27\u0E15\u0E19\u0E44\u0E14\u0E49 \u0E41\u0E25\u0E30\u0E19\u0E33\u0E21\u0E32\u0E43\u0E0A\u0E49\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E17\u0E32\u0E07\u0E2A\u0E16\u0E34\u0E15\u0E34\u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 \u0E01\u0E32\u0E23\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E08\u0E30\u0E2A\u0E48\u0E07\u0E1C\u0E25\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E17\u0E23\u0E32\u0E1A\u0E1B\u0E23\u0E34\u0E21\u0E32\u0E13\u0E1C\u0E39\u0E49\u0E40\u0E02\u0E49\u0E32\u0E0A\u0E21\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C \u0E2B\u0E23\u0E37\u0E2D\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1B\u0E23\u0E30\u0E40\u0E21\u0E34\u0E19\u0E04\u0E38\u0E13\u0E20\u0E32\u0E1E\u0E01\u0E32\u0E23\u0E43\u0E2B\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E44\u0E14\u0E49"},en:{title:"Performance Cookies",content:"I consent that the Company can use Performance Cookies that shall assess the Analytics in each part of this Platform for the improvement purpose of the Platform improvement and I acknowledge that the performance cookies may be administered and managed by the C
206ompany or via third party service providers that will perform pursuant to the Privacy Policy.",description:"This type of cookie helps the Company understand user interactions with its website, including which pages or areas of the site are popular, as well as analyzing other data. The Company also uses this information to improve website performance and to better understand user behavior. The data collected by these cookies is anonymized and used solely for statistical analysis. Disabling these cookies will prevent the Company from knowing the number of visitors to the website and from assessing the quality of its services."},examples:["_ga"]},{storageKey:su.Functional,isActive:!1,isRequired:!1,isCollapsed:!1,th:{title:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C",content:"\u0E02\u0E49\u0E32\u0E1E\u0E40\u0E08\u0E49\u0E32\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21\u0E43\u0E2B\u0E49\u0E17\u0E32\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E43\u0E0A\u0E49 Cookies \u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17 Functional Cookies \u0E17\u0E35\u0E48\u0E17\u0E33\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48\u0E08\u0E14\u0E08\u0E33\u0E2A\u0E34\u0E48\u0E07\u0E17\u0E35\u0E48\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E23\u0E37\u0E2D\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E1A\u0E19\u0E41\u0E1E\u0E25\u0E15\u0E1F\u0E2D\u0E23\u0E4C\u0E21 \u0E40\u0E0A\u0E48\u0E19 \u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E31\u0E0D\u0E0A\u0E35\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49 \u0E20\u0E32\u0E29\u0E32 \u0E1F\u0E49\u0E2D\u0E19\u0E15\u0E4C \u0E41\u0E25\u0E30\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E41\u0E1E\u0E25\u0E15\u0E1F\u0E2D\u0E23\u0E4C\u0E21 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E19\u0E33\u0E40\u0E2A\u0E19\u0E2D\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23\u0E40\u0E09\u0E1E\u0E32\u0E30\u0E1A\u0E38\u0E04\u0E04\u0E25 \u0E43\u0E2B\u0E49\u0E41\u0E01\u0E48\u0E02\u0E49\u0E32\u0E1E\u0E40\u0E08\u0E49\u0E32\u0E44\u0E14\u0E49\u0E21\u0E32\u0E01\u0E02\u0E36\u0E49\u0E19 \u0E42\u0E14\u0E22\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23 \u0E20\u0E32\u0E22\u0E43\u0E15\u0E49\u0E40\u0E07\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E02\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22 \u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E48\u0E27\u0E19 \u0E1A\u0E38\u0E04\u0E04\u0E25\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17",description:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E08\u0E30\u0E0A\u0E48\u0E27\u0E22\u0E43\u0E2B\u0E49\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E08\u0E14\u0E08\u0E33\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E15\u0E48\u0E32\u0E07 \u0E4
2066 \u0E17\u0E35\u0E48\u0E17\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E44\u0E27\u0E49\u0E41\u0E25\u0E30\u0E0A\u0E48\u0E27\u0E22\u0E43\u0E2B\u0E49\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E2A\u0E48\u0E07\u0E21\u0E2D\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E41\u0E25\u0E30\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21\u0E43\u0E2B\u0E49\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E02\u0E2D\u0E07\u0E17\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49 \u0E40\u0E0A\u0E48\u0E19 \u0E0A\u0E48\u0E27\u0E22\u0E08\u0E14\u0E08\u0E33\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E31\u0E0D\u0E0A\u0E35\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E02\u0E2D\u0E07\u0E17\u0E48\u0E32\u0E19 \u0E2B\u0E23\u0E37\u0E2D\u0E08\u0E14\u0E08\u0E33\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E02\u0E19\u0E32\u0E14\u0E1F\u0E2D\u0E19\u0E15\u0E4C\u0E2B\u0E23\u0E37\u0E2D\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E15\u0E48\u0E32\u0E07 \u0E4
2066 \u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E49\u0E32\u0E40\u0E1E\u0E08\u0E0B\u0E36\u0E48\u0E07\u0E17\u0E48\u0E32\u0E19\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E44\u0E14\u0E49 \u0E01\u0E32\u0E23\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E2D\u0E32\u0E08\u0E2A\u0E48\u0E07\u0E1C\u0E25\u0E43\u0E2B\u0E49\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E17\u0E33\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C"},en:{title:"Functional Cookies",content:"I consent that the Company can use the Functional Cookies that shall record the preference or setting that I have made on the Platform, including the information about user account, language, font or the platform layout so that the personalized content will be displayed to match with my preference pursuant to the Privacy Policy.",description:"This type of cookie helps the Company's website remember the various settings you have configured and allows the site to deliver features and additional content tailored to your usage.For example, it can remember your user account name or changes to font size and other page settings that you can customize.Disabling these cookies may cause the website to not function properly."},examples:["__fb_chat","locale"]},{storageKey:su.Targeting,isActive:!1,isRequired:!1,isCollapsed:!1,th:{title:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E42\u0E06\u0E29\u0E13\u0E32\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E01\u0E25\u0E38\u0E48\u0E21\u0E40\u0E1B\u0E49\u0E32\u0E2B\u0E21\u0E32\u0E22",content:"\u0E02\u0E49\u0E32\u0E1E\u0E40\u0E08\u0E49\u0E32\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21\u0E43\u0E2B\u0E49\u0E17\u0E32\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E43\u0E0A\u0E49 Cookies \u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17 Targeting Cookies \u0E17\u0E35\u0E48\u0E17\u0E33\u0E2B\u0E19\u0E49\u0E32\u0E17\u0E35\u0E48\u0E40\u0E01\u0E47\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E19\u0E33\u0E40\u0E2A\u0E19\u0E2D\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E40\u0E01\u0E35\u0E48\u0E22\u0E27\u0E02\u0E49\u0E2D\u0E07\u0E41\u0E25\u0E30\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E04\u0E27\u0E32\u0E21\u0E2A\u0E19\u0E43\u0E08\u0E02\u0E2D\u0E07\u0E02\u0E49\u0E32\u0E1E\u0E40\u0E08\u0E49\u0E32\u0E44\u0E14\u0E49\u0E21\u0E32\u0E01\u0E02\u0E36\u0E49\u0E19 \u0E42\u0E14\u0E22\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E20\u0E32\u0E22\u0E43\u0E15\u0E49\u0E40\u0E07\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E02\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2A\u0E48\u0E27\u0E19\u0E1A\u0E38\u0E04\u0E04\u0E25\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17",description:"\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E40\u0E1B\u0E47\u0E19\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E02\u0E2D\u0E07\u0E1A\u0E38\u0E04\u0E04\u0E25\u0E17\u0E35\u0E48\u0E2A\u0E32\u0E21\u0E17\u0E35\u0E48\u0E40\u0E01\u0E47\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E41\u0E25\u0E30\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E17\u0E35\u0E48\u0E17\u0E48\u0E32\u0E19\u0E44\u0E14\u0E49\u0E40\u0E02\u0E49\u0E32\u0E40\u0E22\u0E35\u0E48\u0E22\u0E21\u0E0A\u0E21 \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E19\u0E33\u0E40\u0E2A\u0E19\u0E2D\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E1A\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E2D\u0E37\u0E48\u0E19\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E15\u0E32\u0E21\u0E04\u0E27\u0E32\u0E21\u0E2A\u0E19\u0E43\u0E08\u0E02\u0E2D\u0E07\u0E17\u0E48\u0E32\u0E19 \u0E17\u0E31\u0E49\u0E07\u0E19\u0E35\u0E49 \u0E2B\u0E32\u0E01\u0E17\u0E48\u0E32\u0E19\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E19\u0E35\u0E49\u0E08\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E48\u0E07\u0E1C\u0E25\u0E15\u0E48\u0E2D\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E02\u0E2D\u0E07\u0E1A\u0E23\u0E34\u0E29\u0E31\u0E17\u0E2F \u0E41\u0E15\u0E48\u0E08\u0E30\u0E2A\u0E48\u0E07\u0E1C\u0E25\u0E43\u0E2B\u0E49\u0E01\u0E32\u0E23\u0E19\u0E33\u0E40\u0E2A\u0E19\u0E2D\u0E2A\u0E34\u0E19\u0E04\u0E49\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E1A\u0E19\u0E40\u0E27\u0E47\u0E1A\u0E44\u0E0B\u0E15\u0E4C\u0E2D\u0E37\u0E48\u0E19 \u0E46 \u0E44\u0E21\u0E48\u0E2A\u0E2D\u0E14\u0E04\u0E25\u0E49\u0E2D\u0E07\u0E01\u0E31\u0E1A\u0E04\u0E27\u0E32\u0E21\u0E2A\u0E19\u0E43\u0E08\u0E02\u0E2D\u0E07\u0E17\u0E48\u0E32\u0E19"},en:{title:"Tergeting Cookies",content:"I consent that the Company can use the Targeting Cookies that shall collect your personal information with the purpose to propose that the goods or services that will match with your interest under the defined Privacy Policy.",description:"This type of cookie is a third-party cookie that c
206ollects information about your site usage and the websites you have visited. It is used to display products or services on other websites that are not the Company's website, tailored to your interests.Disabling these cookies will not affect your experience on the Company's website, but it will result in products or services presented on other websites not being aligned with your interests."},examples:["ads"]}].forEach(n=>{var C;let l=(C=this.config.cookieSetting)==null?void 0:C[n.storageKey];(n.isRequired||!((l==null?void 0:l.disabled)??!1))&&this.cookieSetting.push(ze(ze({},n),l))})}cookieSettingChange(){this.cookieSettingSubject.next(this.getCookieConsentStatus())}};e.\u0275fac=function(n){return new(n||e)(qe(Jc),qe(ou))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Db(i){i||(YC(Db),i=dn(RE));let e=new Ds(r=>i.onDestroy(r.next.bind(r)));return r=>r.pipe(un(e))}var Ob=class{translations;constructor(e){this.translations=e}getTranslation(e){return lr(this.translations.get(e)||{})}},fS=new Ht("TRANSLOCO_LOADER");
206function Lb(i,e){return i&&(Object.prototype.hasOwnProperty.call(i,e)?i[e]:e.split(".").reduce((r,t)=>r==null?void 0:r[t],i))}function jj(i,e,r){i=ze({},i);let t=e.split("."),n=t.length-1;return t.reduce((l,C,B)=>(B===n?l[C]=r:l[C]=Array.isArray(l[C])?l[C].slice():ze({},l[C]),l&&l[C]),i),i}function mS(i){return i?Array.isArray(i)?i.length:ym(i)?Object.keys(i).length:i?i.length:0:0}function Hj(i){return mS(i)===0}function Fj(i){return typeof i=="function"}function _p(i){return typeof i=="string"}function ym(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function gS(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(e,r)=>r==0?e.toLowerCase():e.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ib(i){return i==null}function dS(i){return Ib(i)===!1}function ES(i){return i&&typeof i.scope=="string"}function Vj(i){return i&&ym(i.loader)}function pS(i){let e={};function r(t,n){if(t===null)e[n]=null;else if(ym(t))for(let[l,C]of Object.entries(t))r(C,n?`${n}.${l}`:l);else e[n]=t}return r(i,""),e}function zj(i){let e={};for(let[r,t]of Object.entries(i)){let n=r.split("."),l=e;n.forEach((C,B)=>{B===n.length-1?l[C]=t:(l[C]??(l[C]={}),l=l[C])})}return e}var lu=new Ht("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>au}),au={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function $j(i={}){return xt(ze(ze({},au),i),{missingHandler:ze(ze({},au.missingHandler),i.missingHandler),flatten:ze(ze({},au.flatten),i.flatten),scopes:ze(ze({},au.scopes),i.scopes)})}var bS=new Ht("TRANSLOCO_TRANSPILER"),Wj=(()=>{class i{config=dn(lu,{optional:!0})??au;get interpolationMatcher(){return Yj(this.config)}transpile({value:r,params:t={},translation:n,key:l}){if(_p(r)){let C,B=r;for(;(C=this.interpolationMatcher.exec(B))!==null;){let[$,K]=C;B=B.replace($,()=>{let G=K.trim(),q=Lb(t,G);return dS(q)?q:dS(n[G])?this.transpile({params:t,translation:n,key:l,value:n[G]}):""})}return B}else t&&(ym(r)?r=this.handleObject({value:r,params:t,translation:n,key:l}):Array.isArray(r)&&(r=this.handleArray({value:r,params:t,translation:n,key:l})));return r}handleObject({value:r,params:t={},translation:n,key:l}){let C=r;return Object.keys(t).forEach(B=>{let $=this.transpile({value:Lb(C,B),params:Lb(t,B),translation:n,key:l});C=jj(C,B,$)}),C}handleArray(n){var l=n,{value:r}=l,t=Ql(l,["value"]);return r.map(C=>this.transpile(ze({value:C},t)))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=it({token:i,factory:i.\u0275fac})}return i})();function Yj(i){let[e,r]=i.interpolation;return new RegExp(`${e}([^${e}${r}]*?)${r}`,"g")}var yS=new Ht("TRANSLOCO_MISSING_HANDLER"),Uj=(()=>{class i{handle(r,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let n=`Missing translation for '${r}'`;console.warn(`%c ${n}`,"font-size: 12px; color: red")}return r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=it({token:i,factory:i.\u0275fac})}return i})(),vS=new Ht("TRANSLOCO_INTERCEPTOR"),Gj=(()=>{class i{preSaveTranslation(r){return r}preSaveTranslationKey(r,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=it({token:i,factory:i.\u0275fac})}return i})(),xS=new Ht("TRANSLOCO_FALLBACK_STRATEGY"),Xj=(()=>{class i{userConfig;constructor(r){this.userConfig=r}getNextLangs(){let r=this.userConfig.fallbackLang;if(!r)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(r)?r:[r]}static \u0275fac=function(t){return new(t||i)(qe(lu))};static \u0275prov=it({token:i,factory:i.\u0275fac})}return i})();function wp(i){if(!i)return"";let e=i.split("/");return e.pop(),e.join("/")}function Ml(i){return i?i.split("/").pop():""}function Rb(i,e,r="|"){if(_p(i)){let t=i.split(r),n=t.pop();return n===e?[!0,t.toString()]:[!1,n]}return[!1,""]}function qj(i,e){let[r]=Rb(e,"static");return r?!1:!!i.config.reRenderOnLangChange}function Zj(i){return i?e=>e:Jl(1)}function Kj(i,e){return Object.keys(i).reduce((r,t)=>(r[`${e}/${t}`]=i[t],r),{})}function CS(i,e){return Vj(i)?Kj(i.loader,e):void 0}function Pb(i){return{scope:wp(i)||null,langName:Ml(i)}}function _S(i){let{path:e,inlineLoader:r,mainLoader:t,data:n}=i;
206if(r){let l=r[e];if(Fj(l)===!1)throw`You're using an inline loader but didn't provide a loader for ${e}`;return r[e]().then(C=>C.default?C.default:C)}return t.getTranslation(e,n)}function Qj({mainLoader:i,path:e,data:r,fallbackPath:t,inlineLoader:n}){return(t?[e,t]:[e]).map(C=>{let B=_S({path:C,mainLoader:i,inlineLoader:n,data:r});return Br(B).pipe(Gi($=>({translation:$,lang:C})))})}var Jj;var qo=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new pt;events$=this.events.asObservable();config;constructor(r,t,n,l,C,B){this.loader=r,this.parser=t,this.missingHandler=n,this.interceptor=l,this.fallbackStrategy=B,this.loader||(this.loader=new Ob(this.translations)),Jj=this,this.config=JSON.parse(JSON.stringify(C)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new ar(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(Db()).subscribe($=>{$.type==="translationLoadSuccess"&&$.wasFailure&&this.setActiveLang($.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(r){this.defaultLang=r}getActiveLang(){return this.lang.getValue()}setActiveLang(r){var t,n;return(n=(t=this.parser).onLangChanged)==null||n.call(t,r),this.lang.next(r),this.events.next({type:"langChanged",payload:Pb(r)}),this}setAvailableLangs(r){this.availableLangs=r}getAvailableLangs(){return this.availableLangs}load(r,t={}){let n=this.cache.get(r);if(n)return n;let l,C=this._isLangScoped(r),B;C&&(B=wp(r));let $={path:r,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:C?{scope:B}:void 0};if(this.useFallbackTranslation(r)){let G=C?`${B}/${this.firstFallbackLang}`:this.firstFallbackLang,q=Qj(xt(ze({},$),{fallbackPath:G}));l=ad(q)}else{let G=_S($);l=Br(G)}let K=l.pipe(dl(this.config.failedRetries),yc(G=>{if(Array.isArray(G)){G.forEach(q=>{this.handleSuccess(q.lang,q.translation),q.lang!==r&&this.cache.set(q.lang,lr({}))});return}this.handleSuccess(r,G)}),lo(G=>(this.config.prodMode||console.error(`Error while trying to load "${r}"`,G),this.handleFailure(r,t))),ff(1));return this.cache.set(r,K),K}translate(r,t={},n=this.getActiveLang()){if(!r)return r;let{scope:l,resolveLang:C}=this.resolveLangAndScope(n);if(Array.isArray(r))return r.map(K=>this.translate(l?`${l}.${K}`:K,t,C));r=l?`${l}.${r}`:r;let B=this.getTranslation(C),$=B[r];return $?this.parser.transpile({value:$,params:t,translation:B,key:r}):this._handleMissingKey(r,$,t)}selectTranslate(r,t,n,l=!1){let C,B=(K,G)=>this.load(K,G).pipe(Gi(()=>l?this.translateObject(r,t,K):this.translate(r,t,K)));if(Ib(n))return this.langChanges$.pipe(Pa(K=>B(K)));if(n=Array.isArray(n)?n[0]:n,ES(n)){let K=n;n=K.scope,C=CS(K,K.scope)}if(n=n,this.isLang(n)||this.isScopeWithLang(n))return B(n);let $=n;return this.langChanges$.pipe(Pa(K=>B(`${$}/${K}`,{inlineLoader:C})))}isScopeWithLang(r){return this.isLang(Ml(r))}translateObject(r,t={},n=this.getActiveLang()){if(_p(r)||Array.isArray(r)){let{resolveLang:C,scope:B}=this.resolveLangAndScope(n);if(Array.isArray(r))return r.map(G=>this.translateObject(B?`${B}.${G}`:G,t,C));let $=this.getTranslation(C);r=B?`${B}.${r}`:r;let K=zj(this.getObjectByKey($,r));return Hj(K)?this.translate(r,t,n):this.parser.transpile({value:K,params:t,translation:$,key:r})}let l=[];for(let[C,B]of this.getEntries(r))l.push(this.translateObject(C,B,n));return l}selectTranslateObject(r,t,n){if(_p(r)||Array.isArray(r))return this.selectTranslate(r,t,n,!0);let[[l,C],...B]=this.getEntries(r);return this.selectTranslateObject(l,C,n).pipe(Gi($=>{let K=[$];for(let[G,q]of B)K.push(this.translateObject(G,q,n));return K}))}getTranslation(r){if(r){if(this.isLang(r))return this.translations.get(r)||{};{let{scope:t,resolveLang:n}=this.resolveLangAndScope(r),l=this.translations.get(n)||{};return this.getObjectByKey(l,t)}}return this.translations}selectTranslation(r){let t=this.langChanges$;if(r){let n=Ml(r)!==r;this.isLang(r)||n?t=lr(r):t=this.langChanges$.pipe(Gi(l=>`${r}/${l}`))}return t.pipe(Pa(n=>this.load(n).pipe(Gi(()=>this.getTranslation(n)))))}setTranslation(r,t=this.getActiveLang(),n={}){let C=ze(ze({},{merge:!0,emitChange:!0}),n),B=wp(t),$=r;if(B){let R=this.getMappedScope(B);$=pS({[R]:r})}let K=B?Ml(t):t,G=ze(ze({},C.merge&&this.getTranslation(K)),$),q=this.config.flatten.aot?G:pS(G),Z=this.interceptor.preSaveTranslation(q,K);this.translations.set(K,Z),C.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(r,t,n={}){let l=n.lang||this.getActiveLang(),C=this.interceptor.preSaveTranslationKey(r,t,l),B={[r]:C};this.setTranslation(B,l,xt(ze({},n),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:r}){let t=Array.isArray(r)?r[0]:r;r&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(r,t,n){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let l=this.translate(r,n,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,l}return this.missingHandler.handle(r,this.getMissingHandlerData(),n)}_isLangScoped(r){return this.getAvailableLangsIds().indexOf(r)===-1}isLang(r){return this.getAvailableLangsIds().indexOf(r)!==-1}_loadDependencies(r,t){let n=Ml(r);return this._isLangScoped(r)&&!this.isLoadedTranslation(n)?df([this.load(n),this.load(r,{inlineLoader:t})]):this.load(r,{inlineLoader:t})}_completeScopeWithLang(r){return this._isLangScoped(r)&&!this.isLang(Ml(r))?`${r}/${this.getActiveLang()}`:r}_setScopeAlias(r,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[r]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(r){return mS(this.getTranslation(r))}getAvailableLangsIds(){let r=this.getAvailableLangs()[0];return _p(r)?this.getAvailableLangs():this.getAvailableLangs().map(t=>
206t.id)}getMissingHandlerData(){return xt(ze({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(r){return this.config.missingHandler.useFallbackTranslation&&r!==this.firstFallbackLang}handleSuccess(r,t){this.setTranslation(t,r,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:Pb(r)}),this.failedLangs.forEach(n=>this.cache.delete(n)),this.failedLangs.clear()}handleFailure(r,t){Ib(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(r)));let n=r.split("/"),C=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(r),this.cache.has(C))return this.handleSuccess(C,this.getTranslation(C)),od;let B=C===n[n.length-1];if(!C||B){let K="Unable to load translation and all the fallback languages";throw n.length>1&&(K+=", did you misspelled the scope name?"),new Error(K)}let $=C;return n.length>1&&(n[n.length-1]=C,$=n.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:Pb(r)}),this.load($,t)}getMappedScope(r){let{scopeMapping:t={},scopes:n={keepCasing:!1}}=this.config;return t[r]||(n.keepCasing?r:gS(r))}resolveLangAndScope(r){let t=r,n;if(this._isLangScoped(r)){let l=Ml(r),C=this.isLang(l);t=C?l:this.getActiveLang(),n=this.getMappedScope(C?wp(r):r)}return{scope:n,resolveLang:t}}getObjectByKey(r,t){let n={},l=`${t}.`;for(let C in r)C.startsWith(l)&&(n[C.replace(l,"")]=r[C]);return n}getEntries(r){return r instanceof Map?r.entries():Object.entries(r)}static \u0275fac=function(t){return new(t||i)(qe(fS,8),qe(bS),qe(yS),qe(vS),qe(lu),qe(xS))};static \u0275prov=it({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var eH=new Ht("TRANSLOCO_LANG"),yde=new Ht("TRANSLOCO_LOADING_TEMPLATE"),tH=new Ht("TRANSLOCO_SCOPE"),Bb=class{initialized=!1;resolve({inline:e,provider:r,active:t}){let n=t;if(this.initialized)return n=t,n;if(r){let[,l]=Rb(r,"static");n=l}if(e){let[,l]=Rb(e,"static");n=l}return this.initialized=!0,n}resolveLangBasedOnScope(e){return wp(e)?Ml(e):e}resolveLangPath(e,r){return r?`${r}/${e}`:e}},Nb=class{service;constructor(e){this.service=e}resolve(e){let{inline:r,provider:t}=e;if(r)return r;if(t){if(ES(t)){let{scope:n,alias:l=this.service.config.scopes.keepCasing?n:gS(n)}=t;return this.service._setScopeAlias(n,l),n}return t}}};var wS=(()=>{class i{service;providerScope;providerLang;cdr;subscription=null;
206lastValue="";lastKey;path;langResolver=new Bb;scopeResolver;constructor(r,t,n,l){this.service=r,this.providerScope=t,this.providerLang=n,this.cdr=l,this.scopeResolver=new Nb(this.service)}transform(r,t,n){var B;if(!r)return r;let l=t?`${r}${JSON.stringify(t)}`:r;if(l===this.lastKey)return this.lastValue;this.lastKey=l,(B=this.subscription)==null||B.unsubscribe();let C=qj(this.service,this.providerLang||n);return this.subscription=this.service.langChanges$.pipe(Pa($=>{let K=this.langResolver.resolve({inline:n,provider:this.providerLang,active:$});return Array.isArray(this.providerScope)?ad(this.providerScope.map(G=>this.resolveScope(K,G))):this.resolveScope(K,this.providerScope)}),Zj(C)).subscribe(()=>this.updateValue(r,t)),this.lastValue}ngOnDestroy(){var r;(r=this.subscription)==null||r.unsubscribe(),this.subscription=null}updateValue(r,t){let n=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(r,t,n),this.cdr.markForCheck()}resolveScope(r,t){let n=this.scopeResolver.resolve({inline:void 0,provider:t});this.path=this.langResolver.resolveLangPath(r,n);let l=CS(t,n);return this.service._loadDependencies(this.path,l)}static \u0275fac=function(t){return new(t||i)(Ie(qo,16),Ie(tH,24),Ie(eH,24),Ie(ti,16))};static \u0275pipe=_n({name:"transloco",type:i,pure:!1,standalone:!0})}return i})();var Sp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=Yt({type:i});static \u0275inj=Wt({})}return i})();function SS(i){let e=[sH(Wj),oH(Uj),aH(Gj),rH(Xj)];return i.config&&e.push(iH(i.config)),i.loader&&e.push(nH(i.loader)),e}function iH(i){return Oa([{provide:lu,useValue:$j(i)}])}function nH(i){return Oa([{provide:fS,useClass:i}])}function sH(i){return Oa([{provide:bS,useClass:i,deps:[lu]}])}function rH(i){return Oa([{provide:xS,useClass:i,deps:[lu]}])}function oH(i){return Oa([{provide:yS,useClass:i}])}function aH(i){return Oa([{provide:vS,useClass:i}])}var vde=new Ht("TRANSLOCO_TEST_LANGS - Available testing languages"),xde=new Ht("TRANSLOCO_TEST_OPTIONS - Testing options");var cu=(()=>{let e=class e extends xc{constructor(t){super(""),this.translocoService=t,this.subscription=this.translocoService.langChanges$.subscribe(n=>{this.currentLocale=n}),this.currentLocale=this.translocoService.getActiveLang()}ngOnDestroy(){this.subscription.unsubscribe(),this.subscription=null}
206transform(t,n,l,C){if(t){C=C||this.currentLocale;let B;return C==="th"?B="buddhist":B="gregory",Rt.fromJSDate(t).toFormat(n??"d MMM yyyy",{locale:C,outputCalendar:B})}return""}};e.\u0275fac=function(n){return new(n||e)(Ie(qo,16))},e.\u0275pipe=_n({name:"aDate",type:e,pure:!1});let i=e;return i})();var vm=(()=>{let e=class e extends cu{transform(t,n,l,C){return n==="full"?(this.currentLocale==="th"?n="dd MMMM yyyy '\u0E40\u0E27\u0E25\u0E32' HH:mm '\u0E19.'":n="dd MMMM yyyy 'Time' HH:mm",super.transform(t,n,l,C)):super.transform(t,n||"d MMM yyyy (H:mm)",l,C)}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275pipe=_n({name:"aDateTime",type:e,pure:!1});let i=e;return i})();var xm=(()=>{let e=class e extends Cc{constructor(){super("en-US")}transform(t,n="2",l){return l=l||n,super.transform(t,`1.${n}-${l}`)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"aDecimal",type:e,pure:!0});let i=e;return i})();var Cm=(()=>{let e=class e extends Cc{constructor(){super("en-US")}transform(t,n,l){return super.transform(t,"1.0-0")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"anInteger",type:e,pure:!0});let i=e;return i})();var _m=(()=>{let e=class e extends xc{transform(t,n,l,C){return t?super.transform(t,n??"H:mm"):""}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275pipe=_n({name:"aTime",type:e,pure:!0});let i=e;return i})();var MS=(()=>{let e=class e extends xc{transform(t,n,l,C){return t?Rt.fromJSDate(t).toRelative():""}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275pipe=_n({name:"aTimeAgo",type:e,pure:!0});let i=e;return i})();var TS=(()=>{let e=class e{transform(t,...n){if(t||t===0){let l=t*1e3;if(n.length===1)return Rt.fromMillis(l).toUTC().toFormat(n[0]);let C="",B=/^00?[^\d]|[^\d]00?$|[^\d]00?[^\d]/;for(let $ of n){let K=Rt.fromMillis(l).toUTC().toFormat($);B.test(K)||(C=`${C} ${K}`)}return C.trim()}return""}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"durationFormat",type:e,pure:!0});let i=e;return i})();var kS=(()=>{let e=class e{countDown(t){let n=new Date,l=!0;return t=t??0,ld(1e3).pipe(pl(0),IE(()=>l),Gi(C=>{let B=rn.diffDate(new Date,n,"seconds"),$=t-B;return $<=0&&($=0,l=!1),$}),dl())}remain(t,n="digital",l,C){let B=new Date,$=!0;return t=t??0,ld(1e3).pipe(pl(0),IE(()=>$),Gi(K=>{let G=rn.diffDate(new Date,B,"seconds"),q=t-G;if(q<=0&&(q=0,$=!1),C){if(C==="seconds")return this.formatText(0,0,0,q,n,l);if(C==="minutes")return this.formatText(0,0,Math.floor(q/60),0,n,l);if(C==="hours")return this.formatText(0,Math.floor(q/60/3600),0,0,n,l);if(C==="days")return this.formatText(Math.floor(q/60/3600/24),0,0,0,n,l)}let Z=Math.floor(q/86400),R=Math.floor(q%86400/3600),Y=Math.floor(q%86400%3600/60),V=q%86400%3600%60;return this.formatText(Z,R,Y,V,n,l)}),dl())}until(t){let n=rn.diffDate(new Date(t),new Date,"seconds");return this.remain(n)}formatText(t,n,l,C,B,$){return t<0&&(t=0),n<0&&(n=0),l<0&&(l=0),C<0&&(C=0),$||(B==="digital"?$="minutes":B==="human"&&($="seconds")),$==="seconds"&&(t<=0&&n<=0&&l<=0&&(l=""),t<=0&&n<=0&&(n=""),t<=0&&(t="")),$==="minutes"&&(t<=0&&n<=0&&(n=""),t<=0&&(t="")),$==="hours"&&t<=0&&(t=""),B==="digital"?(C<10&&(C="0"+C),l!==""&&l<10&&(l="0"+l),n!==""&&n<10&&(n="0"+n),t!==""&&t<10&&(t="0"+t),l!==""&&(l=l+":"),n!==""&&(n=n+":"),t!==""&&(t=t+":"),`${t}${n}${l}${C}`):B==="human"?(C=C+"s",l!==""&&(l=l+"m : "),n!==""&&(n=n+"h : "),t!==""&&(t=t+"d : "),`${t}${n}${l}${C}`):"unknown format"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var AS=(()=>{let e=class e{constructor(t){this.router=t,this.store={},this.isPopstate=!1,t.events.pipe(Cn(n=>n instanceof h4)).subscribe(n=>{n.navigationTrigger==="popstate"?this.isPopstate=!0:n.navigationTrigger==="imperative"&&(this.isPopstate=!1)})}save(t,n,l,C,B){this.store[this.router.url]={page:t,sort:n,filter:l,externalFilter:C,extra:B}}load(){return this.isPopstate&&this.store[this.router.url]}};e.\u0275fac=function(n){return new(n||e)(qe(ml))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var pH=window.fetch.bind(window),jb=window.localStorage,fH=jb.setItem.bind(jb),Hb=window.sessionStorage,mH=Hb.setItem.bind(Hb),gH=window.RegExp,Ns={request:pH,persistentStorage:jb,persistKeep:fH,temporaryStorage:Hb,tempKeep:mH,ReEx:gH};var Sm=class{constructor(e){this.connection=e}
206notifyBackgroundTask(e,r){return this.connection.invoke("NotifyBackgroundTask",e,r)}notifyBackgroundTaskNotificationCount(e,r){return this.connection.invoke("NotifyBackgroundTaskNotificationCount",e,r)}addToGroupAsync(e){return this.connection.invoke("AddToGroupAsync",e)}removeGroupAsync(e){return this.connection.invoke("RemoveGroupAsync",e)}registerCallbacks(e){this.connection.on("OnBackgroundTasKReceived",r=>e.onBackgroundTasKReceived(r)),this.connection.on("OnBackgroundTaskNotificationCount",r=>e.onBackgroundTaskNotificationCount(r))}unregisterCallbacks(e){this.connection.off("OnBackgroundTasKReceived",r=>e.onBackgroundTasKReceived(r)),this.connection.off("OnBackgroundTaskNotificationCount",r=>e.onBackgroundTaskNotificationCount(r))}},uu=function(i){return i.Waiting="Waiting",i.Running="Running",i.Completed="Completed",i.Failed="Failed",i}(uu||{}),EH=function(i){return i.CloneExam="CloneExam",i.CloneExamTestPart="CloneExamTestPart",i.ImportExam="ImportExam",i.ExportExam="ExportExam",i.ExportExamResult="ExportExamResult",i.CheckAllResults="CheckAllResults",i.Other="Other",i.ExportUserExamResult="ExportUserExamResult",i.ExportUserQuestionResult="ExportUserQuestionResult",i.ExportExamOffline="ExportExamOffline",i}(EH||{});var $r=class extends Error{constructor(e,r){let t=new.target.prototype;super(`${e}: Status code '${r}'`),this.statusCode=r,this.__proto__=t}},Tl=class extends Error{constructor(e="A timeout occurred."){let r=new.target.prototype;super(e),this.__proto__=r}},Ms=class extends Error{constructor(e="An abort occurred."){let r=new.target.prototype;super(e),this.__proto__=r}},Mm=class extends Error{constructor(e,r){let t=new.target.prototype;super(e),this.transport=r,this.errorType="UnsupportedTransportError",this.__proto__=t}},Tm=class extends Error{constructor(e,r){let t=new.target.prototype;super(e),this.transport=r,this.errorType="DisabledTransportError",this.__proto__=t}},km=class extends Error{constructor(e,r){let t=new.target.prototype;super(e),this.transport=r,this.errorType="FailedToStartTransportError",this.__proto__=t}},Mp=class extends Error{constructor(e){let r=new.target.prototype;super(e),this.errorType="FailedToNegotiateWithServerError",this.__proto__=r}},Am=class extends Error{constructor(e,r){let t=new.target.prototype;super(e),this.innerErrors=r,this.__proto__=t}};var du=class{constructor(e,r,t){this.statusCode=e,this.statusText=r,this.content=t}},ga=class{get(e,r){return this.send(xt(ze({},r),{method:"GET",url:e}))}post(e,r){return this.send(xt(ze({},r),{method:"POST",url:e}))}delete(e,r){return this.send(xt(ze({},r),{method:"DELETE",url:e}))}getCookieString(e){return""}};var tt=function(i){return i[i.Trace=0]="Trace",i[i.Debug=1]="Debug",i[i.Information=2]="Information",i[i.Warning=3]="Warning",i[i.Error=4]="Error",i[i.Critical=5]="Critical",i[i.None=6]="None",i}(tt||{});var Ea=class{constructor(){}log(e,r){}};Ea.instance=new Ea;var bH="8.0.7",Yi=class{static isRequired(e,r){if(e==null)throw new Error(`The '${r}' argument is required.`)}static isNotEmpty(e,r){if(!e||e.match(/^\s*$/))throw new Error(`The '${r}' argument should not be empty.`)}static isIn(e,r,t){if(!(e in r))throw new Error(`Unknown ${t} value: ${e}.`)}},qi=class i{static get isBrowser(){return!i.isNode&&typeof window=="object"&&typeof window.document=="object"}static get isWebWorker(){return!i.isNode&&typeof self=="object"&&"importScripts"in self}static get isReactNative(){return!i.isNode&&typeof window=="object"&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&process.release.name==="node"}};function kl(i,e){let r="";return Zo(i)?(r=`Binary data of length ${i.byteLength}`,e&&(r+=`. Content: '${yH(i)}'`)):typeof i=="string"&&(r=`String data of length ${i.length}`,e&&(r+=`. Content: '${i}'`)),r}function yH(i){let e=new Uint8Array(i),r="";return e.forEach(t=>{let n=t<16?"0":"";r+=`0x${n}${t.toString(16)} `}),r.substr(0,r.length-1)}function Zo(i){return i&&typeof ArrayBuffer<"u"&&(i instanceof ArrayBuffer||i.constructor&&i.constructor.name==="ArrayBuffer")}function Lm(i,e,r,t,n,l){return Et(this,null,function*(){let C={},[B,$]=ba();C[B]=$,i.log(tt.Trace,`(${e} transport) sending data. ${kl(n,l.logMessageContent)}.`);let K=Zo(n)?"arraybuffer":"text",G=yield r.post(t,{content:n,headers:ze(ze({},C),l.headers),responseType:K,timeout:l.timeout,withCredentials:l.withCredentials});i.log(tt.Trace,`(${e} transport) request complete. Response status: ${G.statusCode}.`)})}function DS(i){return i===void 0?new Lh(tt.Information):i===null?Ea.instance:i.log!==void 0?i:new Lh(i)}var Dm=class{constructor(e,r){this._subject=e,this._observer=r}dispose(){let e=this._subject.observers.indexOf(this._observer);e>-1&&this._subject.observers.splice(e,1),this._subject.observers.length===0&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(r=>{})}},Lh=class{constructor(e){this._minLevel=e,this.out=console}log(e,r){if(e>=this._minLevel){let t=`[${new Date().toISOString()}] ${tt[e]}: ${r}`;switch(e){case tt.Critical:case tt.Error:this.out.error(t);break;case tt.Warning:this.out.warn(t);break;case tt.Information:this.out.info(t);break;default:this.out.log(t);break}}}};function ba(){let i="X-SignalR-User-Agent";return qi.isNode&&(i="User-Agent"),[i,vH(bH,xH(),_H(),CH())]}function vH(i,e,r,t){let n="Microsoft SignalR/",l=i.split(".");return n+=`${l[0]}.${l[1]}`,n+=` (${i}; `,e&&e!==""?n+=`${e}; `:n+="Unknown OS; ",n+=`${r}`,t?n+=`; ${t}`:n+="; Unknown Runtime Version",n+=")",n}function xH(){if(qi.isNode)switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}else return""}function CH(){if(qi.isNode)return process.versions.node}function _H(){return qi.isNode?"NodeJS":"Browser"}function Pm(i){return i.stack?i.stack:i.message?i.message:`${i}`}function LS(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}var Om=class extends ga{constructor(e){if(super(),this._logger=e,typeof fetch>"u"||qi.isNode){let r=typeof __webpack_require__=="function"?__non_webpack_require__:mc;this._jar=new(r("tough-cookie")).CookieJar,typeof fetch>"u"?this._fetchType=r("node-fetch"):this._fetchType=fetch,this._fetchType=r("fetch-cookie")(this._fetchType,this._jar)}else this._fetchType=fetch.bind(LS());if(typeof AbortController>"u"){let r=typeof __webpack_require__=="function"?__non_webpack_require__:mc;this._abortControllerType=r("abort-controller")}else this._abortControllerType=AbortController}send(e){return Et(this,null,function*(){if(e.abortSignal&&e.abortSignal.aborted)throw new Ms;if(!e.method)throw new Error("No method defined.");if(!e.url)throw new Error("No url defined.");let r=new this._abortControllerType,t;e.abortSignal&&(e.abortSignal.onabort=()=>{r.abort(),t=new Ms});let n=null;if(e.timeout){let $=e.timeout;n=setTimeout(()=>{r.abort(),this._logger.log(tt.Warning,"Timeout from HTTP request."),t=new Tl},$)}e.content===""&&(e.content=void 0),e.content&&(e.headers=e.headers||{},Zo(e.content)?e.headers["Content-Type"]="application/octet-stream":e.headers["Content-Type"]="text/plain;charset=UTF-8");let l;try{l=yield this._fetchType(e.url,{body:e.content,cache:"no-cache",credentials:e.withCredentials===!0?"include":"same-origin",headers:ze({"X-Requested-With":"XMLHttpRequest"},e.headers),method:e.method,mode:"cors",redirect:"follow",signal:r.signal})}catch($){throw t||(this._logger.log(tt.Warning,`Error from HTTP request. ${$}.`),$)}finally{n&&clearTimeout(n),e.abortSignal&&(e.abortSignal.onabort=null)}if(!l.ok){let $=yield PS(l,"text");throw new $r($||l.statusText,l.status)}let B=yield PS(l,e.responseType);return new du(l.status,l.statusText,B)})}getCookieString(e){let r="";return qi.isNode&&this._jar&&this._jar.getCookies(e,(t,n)=>r=n.join("; ")),r}};function PS(i,e){let r;switch(e){case"arraybuffer":r=i.arrayBuffer();break;case"text":r=i.text();break;case"blob":case"document":case"json":throw new Error(`${e} is not supported.`);default:r=i.text();break}return r}
206var Im=class extends ga{constructor(e){super(),this._logger=e}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Ms):e.method?e.url?new Promise((r,t)=>{let n=new XMLHttpRequest;n.open(e.method,e.url,!0),n.withCredentials=e.withCredentials===void 0?!0:e.withCredentials,n.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.content===""&&(e.content=void 0),e.content&&(Zo(e.content)?n.setRequestHeader("Content-Type","application/octet-stream"):n.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));let l=e.headers;l&&Object.keys(l).forEach(C=>{n.setRequestHeader(C,l[C])}),e.responseType&&(n.responseType=e.responseType),e.abortSignal&&(e.abortSignal.onabort=()=>{n.abort(),t(new Ms)}),e.timeout&&(n.timeout=e.timeout),n.onload=()=>{e.abortSignal&&(e.abortSignal.onabort=null),n.status>=200&&n.status<300?r(new du(n.status,n.statusText,n.response||n.responseText)):t(new $r(n.response||n.responseText||n.statusText,n.status))},n.onerror=()=>{this._logger.log(tt.Warning,`Error from HTTP request. ${n.status}: ${n.statusText}.`),t(new $r(n.statusText,n.status))},n.ontimeout=()=>{this._logger.log(tt.Warning,"Timeout from HTTP request."),t(new Tl)},n.send(e.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}};var Rm=class extends ga{constructor(e){if(super(),typeof fetch<"u"||qi.isNode)this._httpClient=new Om(e);else if(typeof XMLHttpRequest<"u")this._httpClient=new Im(e);else throw new Error("No usable HttpClient found.")}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Ms):e.method?e.url?this._httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(e){return this._httpClient.getCookieString(e)}};var Wr=class i{static write(e){return`${e}${i.RecordSeparator}`}static parse(e){if(e[e.length-1]!==i.RecordSeparator)throw new Error("Message is incomplete.");let r=e.split(i.RecordSeparator);return r.pop(),r}};Wr.RecordSeparatorCode=30;Wr.RecordSeparator=String.fromCharCode(Wr.RecordSeparatorCode);var Bm=class{writeHandshakeRequest(e){return Wr.write(JSON.stringify(e))}parseHandshakeResponse(e){let r,t;if(Zo(e)){let B=new Uint8Array(e),$=B.indexOf(Wr.RecordSeparatorCode);
206if($===-1)throw new Error("Message is incomplete.");let K=$+1;r=String.fromCharCode.apply(null,Array.prototype.slice.call(B.slice(0,K))),t=B.byteLength>K?B.slice(K).buffer:null}else{let B=e,$=B.indexOf(Wr.RecordSeparator);if($===-1)throw new Error("Message is incomplete.");let K=$+1;r=B.substring(0,K),t=B.length>K?B.substring(K):null}let n=Wr.parse(r),l=JSON.parse(n[0]);if(l.type)throw new Error("Expected a handshake response from the server.");return[t,l]}};var Jt=function(i){return i[i.Invocation=1]="Invocation",i[i.StreamItem=2]="StreamItem",i[i.Completion=3]="Completion",i[i.StreamInvocation=4]="StreamInvocation",i[i.CancelInvocation=5]="CancelInvocation",i[i.Ping=6]="Ping",i[i.Close=7]="Close",i[i.Ack=8]="Ack",i[i.Sequence=9]="Sequence",i}(Jt||{});var Nm=class{constructor(){this.observers=[]}next(e){for(let r of this.observers)r.next(e)}error(e){for(let r of this.observers)r.error&&r.error(e)}complete(){for(let e of this.observers)e.complete&&e.complete()}subscribe(e){return this.observers.push(e),new Dm(this,e)}};var jm=class{constructor(e,r,t){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=e,this._connection=r,this._bufferSize=t}_send(e){return Et(this,null,function*(){let r=this._protocol.writeMessage(e),t=Promise.resolve();if(this._isInvocationMessage(e)){this._totalMessageCount++;let n=()=>{},l=()=>{};Zo(r)?this._bufferedByteCount+=r.byteLength:this._bufferedByteCount+=r.length,this._bufferedByteCount>=this._bufferSize&&(t=new Promise((C,B)=>{n=C,l=B})),this._messages.push(new Fb(r,this._totalMessageCount,n,l))}try{this._reconnectInProgress||(yield this._connection.send(r))}catch{this._disconnected()}yield t})}_ack(e){let r=-1;for(let t=0;t<this._messages.length;t++){let n=this._messages[t];if(n._id<=e.sequenceId)r=t,Zo(n._message)?this._bufferedByteCount-=n._message.byteLength:this._bufferedByteCount-=n._message.length,n._resolver();else if(this._bufferedByteCount<this._bufferSize)n._resolver();else break}r!==-1&&(this._messages=this._messages.slice(r+1))}_shouldProcessMessage(e){if(this._waitForSequenceMessage)return e.type!==Jt.Sequence?!1:(this._waitForSequenceMessage=!1,!0);if(!this._isInvocationMessage(e))return!0;let r=this._nextReceivingSequenceId;return this._nextReceivingSequenceId++,r<=this._latestReceivedSequenceId?(r===this._latestReceivedSequenceId&&this._ackTimer(),!1):(this._latestReceivedSequenceId=r,this._ackTimer(),!0)}_resetSequence(e){if(e.sequenceId>this._nextReceivingSequenceId){this._connection.stop(new Error("Sequence ID greater than amount of messages we've received."));return}this._nextReceivingSequenceId=e.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}_resend(){return Et(this,null,function*(){let e=this._messages.length!==0?this._messages[0]._id:this._totalMessageCount+1;yield this._connection.send(this._protocol.writeMessage({type:Jt.Sequence,sequenceId:e}));let r=this._messages;for(let t of r)yield this._connection.send(t._message);this._reconnectInProgress=!1})}_dispose(e){e??(e=new Error("Unable to reconnect to server."));for(let r of this._messages)r._rejector(e)}_isInvocationMessage(e){switch(e.type){case Jt.Invocation:case Jt.StreamItem:case Jt.Completion:case Jt.StreamInvocation:case Jt.CancelInvocation:return!0;case Jt.Close:case Jt.Sequence:case Jt.Ping:case Jt.Ack:return!1}}_ackTimer(){this._ackTimerHandle===void 0&&(this._ackTimerHandle=setTimeout(()=>Et(this,null,function*(){try{this._reconnectInProgress||(yield this._connection.send(this._protocol.writeMessage({type:Jt.Ack,sequenceId:this._latestReceivedSequenceId})))}catch{}clearTimeout(this._ackTimerHandle),this._ackTimerHandle=void 0}),1e3))}},Fb=class{constructor(e,r,t,n){this._message=e,this._id=r,this._resolver=t,this._rejector=n}};var wH=30*1e3,SH=15*1e3,MH=1e5,kn=function(i){return i.Disconnected="Disconnected",i.Connecting="Connecting",i.Connected="Connected",i.Disconnecting="Disconnecting",i.Reconnecting="Reconnecting",i}(kn||{}),Hm=class i{static create(e,r,t,n,l,C,B){return new i(e,r,t,n,l,C,B)}constructor(e,r,t,n,l,C,B){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(tt.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},Yi.isRequired(e,"connection"),Yi.isRequired(r,"logger"),Yi.isRequired(t,"protocol"),this.serverTimeoutInMilliseconds=l??wH,this.keepAliveIntervalInMilliseconds=C??SH,this._statefulReconnectBufferSize=B??MH,this._logger=r,this._protocol=t,this.connection=e,this._reconnectPolicy=n,this._handshakeProtocol=new Bm,this.connection.onreceive=$=>
206this._processIncomingData($),this.connection.onclose=$=>this._connectionClosed($),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=kn.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:Jt.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(e){if(this._connectionState!==kn.Disconnected&&this._connectionState!==kn.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!e)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=e}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){return Et(this,null,function*(){if(this._connectionState!==kn.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));this._connectionState=kn.Connecting,this._logger.log(tt.Debug,"Starting HubConnection.");try{yield this._startInternal(),qi.isBrowser&&window.document.addEventListener("freeze",this._freezeEventListener),this._connectionState=kn.Connected,this._connectionStarted=!0,this._logger.log(tt.Debug,"HubConnection connected successfully.")}catch(e){return this._connectionState=kn.Disconnected,this._logger.log(tt.Debug,`HubConnection failed to start successfully because of error '${e}'.`),Promise.reject(e)}})}_startInternal(){return Et(this,null,function*(){this._stopDuringStartError=void 0,this._receivedHandshakeResponse=!1;let e=new Promise((r,t)=>{this._handshakeResolver=r,this._handshakeRejecter=t});yield this.connection.start(this._protocol.transferFormat);try{let r=this._protocol.version;this.connection.features.reconnect||(r=1);let t={protocol:this._protocol.name,version:r};if(this._logger.log(tt.Debug,"Sending handshake request."),yield this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(t)),this._logger.log(tt.Information,`Using HubProtocol '${this._protocol.name}'.`),this._cleanupTimeout(),this._resetTimeoutPeriod(),this._resetKeepAliveInterval(),yield e,this._stopDuringStartError)throw this._stopDuringStartError;(this.connection.features.reconnect||!1)&&(this._messageBuffer=new jm(this._protocol,this.connection,this._statefulReconnectBufferSize),this.connection.features.disconnected=this._messageBuffer._disconnected.bind(this._messageBuffer),this.connection.features.resend=()=>{if(this._messageBuffer)return this._messageBuffer._resend()}),this.connection.features.inherentKeepAlive||(yield this._sendMessage(this._cachedPingMessage))}catch(r){throw this._logger.log(tt.Debug,`Hub handshake failed with error '${r}' during start(). Stopping HubConnection.`),this._cleanupTimeout(),this._cleanupPingTimer(),yield this.connection.stop(r),r}})}stop(){return Et(this,null,function*(){let e=this._startPromise;this.connection.features.reconnect=!1,this._stopPromise=this._stopInternal(),yield this._stopPromise;try{yield e}catch{}})}_stopInternal(e){if(this._connectionState===kn.Disconnected)return this._logger.log(tt.Debug,`Call to HubConnection.stop(${e}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===kn.Disconnecting)return this._logger.log(tt.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;let r=this._connectionState;return this._connectionState=kn.Disconnecting,this._logger.log(tt.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(tt.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(r===kn.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=e||new Ms("The connection was stopped before the hub handshake could complete."),this.connection.stop(e))}_sendCloseMessage(){return Et(this,null,function*(){try{yield this._sendWithProtocol(this._createCloseMessage())}catch{}})}stream(e,...r){let[t,n]=this._replaceStreamingParams(r),l=this._createStreamInvocation(e,r,n),C,B=new Nm;return B.cancelCallback=()=>{let $=this._createCancelInvocation(l.invocationId);return delete this._callbacks[l.invocationId],C.then(()=>this._sendWithProtocol($))},this._callbacks[l.invocationId]=($,K)=>{if(K){B.error(K);return}else $&&($.type===Jt.Completion?$.error?B.error(new Error($.error)):B.complete():B.next($.item))},C=this._sendWithProtocol(l).catch($=>{B.error($),delete this._callbacks[l.invocationId]}),this._launchStreams(t,C),B}_sendMessage(e){return this._resetKeepAliveInterval(),this.connection.send(e)}_sendWithProtocol(e){return this._messageBuffer?this._messageBuffer._send(e):this._sendMessage(this._protocol.writeMessage(e))}send(e,...r){let[t,n]=this._replaceStreamingParams(r),l=this._sendWithProtocol(this._createInvocation(e,r,!0,n));return this._launchStreams(t,l),l}invoke(e,...r){let[t,n]=this._replaceStreamingParams(r),l=this._createInvocation(e,r,!1,n);return new Promise((B,$)=>{this._callbacks[l.invocationId]=(G,q)=>{if(q){$(q);return}else G&&(G.type===Jt.Completion?G.error?$(new Error(G.error)):B(G.result):$(new Error(`Unexpected message type: ${G.type}`)))};let K=this._sendWithProtocol(l).catch(G=>{$(G),delete this._callbacks[l.invocationId]});this._launchStreams(t,K)})}on(e,r){!e||!r||(e=e.toLowerCase(),this._methods[e]||(this._methods[e]=[]),this._methods[e].indexOf(r)===-1&&this._methods[e].push(r))}off(e,r){if(!e)return;e=e.toLowerCase();let t=this._methods[e];if(t)if(r){let n=t.indexOf(r);n!==-1&&(t.splice(n,1),t.length===0&&delete this._methods[e])}else delete this._methods[e]}onclose(e){e&&this._closedCallbacks.push(e)}onreconnecting(e){e&&this._reconnectingCallbacks.push(e)}onreconnected(e){e&&this._reconnectedCallbacks.push(e)}_processIncomingData(e){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(e=this._processHandshakeResponse(e),this._receivedHandshakeResponse=!0),e){let r=this._protocol.parseMessages(e,this._logger);for(let t of r)if(!(this._messageBuffer&&!this._messageBuffer._shouldProcessMessage(t)))switch(t.type){case Jt.Invocation:this._invokeClientMethod(t).cat
206ch(n=>{this._logger.log(tt.Error,`Invoke client method threw error: ${Pm(n)}`)});break;case Jt.StreamItem:case Jt.Completion:{let n=this._callbacks[t.invocationId];if(n){t.type===Jt.Completion&&delete this._callbacks[t.invocationId];try{n(t)}catch(l){this._logger.log(tt.Error,`Stream callback threw error: ${Pm(l)}`)}}break}case Jt.Ping:break;case Jt.Close:{this._logger.log(tt.Information,"Close message received from server.");let n=t.error?new Error("Server returned an error on close: "+t.error):void 0;t.allowReconnect===!0?this.connection.stop(n):this._stopPromise=this._stopInternal(n);break}case Jt.Ack:this._messageBuffer&&this._messageBuffer._ack(t);break;case Jt.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(t);break;default:this._logger.log(tt.Warning,`Invalid message type: ${t.type}.`);break}}this._resetTimeoutPeriod()}_processHandshakeResponse(e){let r,t;try{[t,r]=this._handshakeProtocol.parseHandshakeResponse(e)}catch(n){let l="Error parsing handshake response: "+n;this._logger.log(tt.Error,l);let C=new Error(l);throw this._handshakeRejecter(C),C}if(r.error){let n="Server returned handshake error: "+r.error;this._logger.log(tt.Error,n);let l=new Error(n);throw this._handshakeRejecter(l),l}else this._logger.log(tt.Debug,"Server handshake complete.");return this._handshakeResolver(),t}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=new Date().getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){if((!this.connection.features||!this.connection.features.inherentKeepAlive)&&(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),this._pingServerHandle===void 0)){let e=this._nextKeepAlive-new Date().getTime();e<0&&(e=0),this._pingServerHandle=setTimeout(()=>Et(this,null,function*(){if(this._connectionState===kn.Connected)try{yield this._sendMessage(this._cachedPingMessage)}catch{this._cleanupPingTimer()}}),e)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(e){return Et(this,null,function*(){let r=e.target.toLowerCase(),t=this._methods[r];if(!t){this._logger.log(tt.Warning,`No client method with the name '${r}' found.`),e.invocationId&&(this._logger.log(tt.Warning,`No result given for '${r}' method and invocation ID '${e.invocationId}'.`),yield this._sendWithProtocol(this._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null)));return}let n=t.slice(),l=!!e.invocationId,C,B,$;for(let K of n)try{let G=C;C=yield K.apply(this,e.arguments),l&&C&&G&&(this._logger.log(tt.Error,`Multiple results provided for '${r}'. Sending error to server.`),$=this._createCompletionMessage(e.invocationId,"Client provided multiple results.",null)),B=void 0}catch(G){B=G,this._logger.log(tt.Error,`A callback for the method '${r}' threw error '${G}'.`)}$?yield this._sendWithProtocol($):l?(B?$=this._createCompletionMessage(e.invocationId,`${B}`,null):C!==void 0?$=this._createCompletionMessage(e.invocationId,null,C):(this._logger.log(tt.Warning,`No result given for '${r}' method and invocation ID '${e.invocationId}'.`),$=this._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null)),yield this._sendWithProtocol($)):C&&this._logger.log(tt.Error,`Result given for '${r}' method but server is not expecting a result.`)})}_connectionClosed(e){this._logger.log(tt.Debug,`HubConnection.connectionClosed(${e}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||e||new Ms("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(e||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===kn.Disconnecting?this._completeClose(e):this._connectionState===kn.Connected&&this._reconnectPolicy?this._reconnect(e):this._connectionState===kn.Connected&&this._completeClose(e)}_completeClose(e){if(this._connectionStarted){this._connectionState=kn.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(e??new Error("Connection closed.")),this._messageBuffer=void 0),qi.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(r=>r.apply(this,[e]))}catch(r){this._logger.log(tt.Error,`An onclose callback called with error '${e}' threw error '${r}'.`)}}}_reconnect(e){return Et(this,null,function*(){let r=Date.now(),t=0,n=e!==void 0?e:new Error("Attempting to re
206connect due to a unknown error."),l=this._getNextRetryDelay(t++,0,n);if(l===null){this._logger.log(tt.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this._completeClose(e);return}if(this._connectionState=kn.Reconnecting,e?this._logger.log(tt.Information,`Connection reconnecting because of error '${e}'.`):this._logger.log(tt.Information,"Connection reconnecting."),this._reconnectingCallbacks.length!==0){try{this._reconnectingCallbacks.forEach(C=>C.apply(this,[e]))}catch(C){this._logger.log(tt.Error,`An onreconnecting callback called with error '${e}' threw error '${C}'.`)}if(this._connectionState!==kn.Reconnecting){this._logger.log(tt.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.");return}}for(;l!==null;){if(this._logger.log(tt.Information,`Reconnect attempt number ${t} will start in ${l} ms.`),yield new Promise(C=>{this._reconnectDelayHandle=setTimeout(C,l)}),this._reconnectDelayHandle=void 0,this._connectionState!==kn.Reconnecting){this._logger.log(tt.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");return}try{if(yield this._startInternal(),this._connectionState=kn.Connected,this._logger.log(tt.Information,"HubConnection reconnected successfully."),this._reconnectedCallbacks.length!==0)try{this._reconnectedCallbacks.forEach(C=>C.apply(this,[this.connection.connectionId]))}catch(C){this._logger.log(tt.Error,`An onreconnected callback called with connectionId '${this.connection.connectionId}; threw error '${C}'.`)}return}catch(C){if(this._logger.log(tt.Information,`Reconnect attempt failed because of error '${C}'.`),this._connectionState!==kn.Reconnecting){this._logger.log(tt.Debug,`Connection moved to the '${this._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),this._connectionState===kn.Disconnecting&&this._completeClose();return}n=C instanceof Error?C:new Error(C.toString()),l=this._getNextRetryDelay(t++,Date.now()-r,n)}}this._logger.log(tt.Information,`Reconnect retries have been exhausted after ${Date.now()-r} ms and ${t} failed attempts. Connection disconnecting.`),this._completeClose()})}_getNextRetryDelay(e,r,t){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:r,previousRetryCount:e,retryReason:t})}catch(n){return this._logger.log(tt.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${e}, ${r}) threw error '${n}'.`),null}}_cancelCallbacksWithError(e){let r=this._callbacks;this._callbacks={},Object.keys(r).forEach(t=>{let n=r[t];try{n(null,e)}catch(l){this._logger.log(tt.Error,`Stream 'error' callback called with '${e}' threw error: ${Pm(l)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(e,r,t,n){if(t)return n.length!==0?{arguments:r,streamIds:n,target:e,type:Jt.Invocation}:{arguments:r,target:e,type:Jt.Invocation};{let l=this._invocationId;return this._invocationId++,n.length!==0?{arguments:r,invocationId:l.toString(),streamIds:n,target:e,type:Jt.Invocation}:{arguments:r,invocationId:l.toString(),target:e,type:Jt.Invocation}}}_launchStreams(e,r){if(e.length!==0){r||(r=Promise.resolve());for(let t in e)e[t].subscribe({complete:()=>{r=r.then(()=>this._sendWithProtocol(this._createCompletionMessage(t)))},error:n=>{let l;n instanceof Error?l=n.message:n&&n.toString?l=n.toString():l="Unknown error",r=r.then(()=>this._sendWithProtocol(this._createCompletionMessage(t,l)))},next:n=>{r=r.then(()=>this._sendWithProtocol(this._createStreamItemMessage(t,n)))}})}}_replaceStreamingParams(e){let r=[],t=[];for(let n=0;n<e.length;n++){let l=e[n];if(this._isObservable(l)){let C=this._invocationId;this._invocationId++,r[C]=l,t.push(C.toString()),e.splice(n,1)}}return[r,t]}_isObservable(e){return e&&e.subscribe&&typeof e.subscribe=="function"}_createStreamInvocation(e,r,t){let n=this._invocationId;return this._invocationId++,t.length!==0?{arguments:r,invocationId:n.toString(),streamIds:t,target:e,type:Jt.StreamInvocation}:{arguments:r,invocationId:n.toString(),target:e,type:Jt.StreamInvocation}}_createCancelInvocation(e){return{invocationId:e,type:Jt.CancelInvocation}}_createStreamItemMessage(e,r){return{invocationId:e,item:r,type:Jt.StreamItem}}_createCompletionMessage(e,r,t){return r?{error:r,invocationId:e,type:Jt.Completion}:{invocationId:e,result:t,type:Jt.Completion}}_createCloseMessage(){return{type:Jt.Close}}};var TH=[0,2e3,1e4,3e4,null],Tp=class{constructor(e){this._retryDelays=e!==void 0?[...e,null]:TH}nextRetryDelayInMilliseconds(e){return this._retryDelays[e.previousRetryCount]}};var Ph=(()=>{class i{}return i.Authorization="Authorization",i.Cookie="Cookie",i})();var Fm=class extends ga{constructor(e,r){super(),this._innerClient=e,this._accessTokenFactory=r}send(e){return Et(this,null,function*(){let r=!0;this._accessTokenFactory&&(!this._accessToken||e.url&&e.url.indexOf("/negotiate?")>0)&&(r=!1,this._accessToken=yield this._accessTokenFactory()),this._setAuthorizationHeader(e);let t=yield this._innerClient.send(e);return r&&t.statusCode===401&&this._accessTokenFactory?(this._accessToken=yield this._accessTokenFactory(),this._setAuthorizationHeader(e),yield this._innerClient.send(e)):t})}_setAuthorizationHeader(e){e.headers||(e.headers={}),this._accessToken?e.headers[Ph.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&e.headers[Ph.Authorization]&&delete e.headers[Ph.Authorization]}getCookieString(e){return this._innerClient.getCookieString(e)}};var Bn=function(i){return i[i.None=0]="None",i[i.WebSockets=1]="WebSockets",i[i.ServerSentEvents=2]="ServerSentEvents",i[i.LongPolling=4]="LongPolling",i}(Bn||{}),Gn=function(i){return i[i.Text=1]="Text",i[i.Binary=2]="Binary",i}(Gn||{});var Vm=class{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}};var kp=class{get pollAborted(){return this._pollAbort.aborted}constructor(e,r,t){this._httpClient=e,this._logger=r,this._pollAbort=new Vm,this._options=t,this._running=!1,this.onreceive=null,this.onclose
206=null}connect(e,r){return Et(this,null,function*(){if(Yi.isRequired(e,"url"),Yi.isRequired(r,"transferFormat"),Yi.isIn(r,Gn,"transferFormat"),this._url=e,this._logger.log(tt.Trace,"(LongPolling transport) Connecting."),r===Gn.Binary&&typeof XMLHttpRequest<"u"&&typeof new XMLHttpRequest().responseType!="string")throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");let[t,n]=ba(),l=ze({[t]:n},this._options.headers),C={abortSignal:this._pollAbort.signal,headers:l,timeout:1e5,withCredentials:this._options.withCredentials};r===Gn.Binary&&(C.responseType="arraybuffer");let B=`${e}&_=${Date.now()}`;this._logger.log(tt.Trace,`(LongPolling transport) polling: ${B}.`);let $=yield this._httpClient.get(B,C);$.statusCode!==200?(this._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${$.statusCode}.`),this._closeError=new $r($.statusText||"",$.statusCode),this._running=!1):this._running=!0,this._receiving=this._poll(this._url,C)})}_poll(e,r){return Et(this,null,function*(){try{for(;this._running;)try{let t=`${e}&_=${Date.now()}`;this._logger.log(tt.Trace,`(LongPolling transport) polling: ${t}.`);let n=yield this._httpClient.get(t,r);n.statusCode===204?(this._logger.log(tt.Information,"(LongPolling transport) Poll terminated by server."),this._running=!1):n.statusCode!==200?(this._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${n.statusCode}.`),this._closeError=new $r(n.statusText||"",n.statusCode),this._running=!1):n.content?(this._logger.log(tt.Trace,`(LongPolling transport) data received. ${kl(n.content,this._options.logMessageContent)}.`),this.onreceive&&this.onreceive(n.content)):this._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(t){this._running?t instanceof Tl?this._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this._closeError=t,this._running=!1):this._logger.log(tt.Trace,`(LongPolling transport) Poll errored after shutdown: ${t.message}`)}}finally{this._logger.log(tt.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this._raiseOnClose()}})}send(e){return Et(this,null,function*(){return this._running?Lm(this._logger,"LongPolling",this._httpClient,this._url,e,this._options):Promise.reject(new Error("Cannot send until the transport is connected"))})}stop(){return Et(this,null,function*(){this._logger.log(tt.Trace,"(LongPolling transport) Stopping polling."),this._running=!1,this._pollAbort.abort();try{yield this._receiving,this._logger.log(tt.Trace,`(LongPolling transport) sending DELETE request to ${this._url}.`);let e={},[r,t]=ba();e[r]=t;let n={headers:ze(ze({},e),this._options.headers),timeout:this._options.timeout,withCredentials:this._options.withCredentials},l;try{yield this._httpClient.delete(this._url,n)}catch(C){l=C}l?l instanceof $r&&(l.statusCode===404?this._logger.log(tt.Trace,"(LongPolling transport) A 404 response was returned from sending a DELETE request."):this._logger.log(tt.Trace,`(LongPolling transport) Error sending a DELETE request: ${l}`)):this._logger.log(tt.Trace,"(LongPolling transport) DELETE request accepted.")}finally{this._logger.log(tt.Trace,"(LongPolling transport) Stop finished."),this._raiseOnClose()}})}_raiseOnClose(){if(this.onclose){let e="(LongPolling transport) Firing onclose event.";this._closeError&&(e+=" Error: "+this._closeError),this._logger.log(tt.Trace,e),this.onclose(this._closeError)}}};var zm=class{constructor(e,r,t,n){this._httpClient=e,this._accessToken=r,this._logger=t,this._options=n,this.onreceive=null,this.onclose=null}connect(e,r){return Et(this,null,function*(){return Yi.isRequired(e,"url"),Yi.isRequired(r,"transferFormat"),Yi.isIn(r,Gn,"transferFormat"),this._logger.log(tt.Trace,"(SSE transport) Connecting."),this._url=e,this._accessToken&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(this._accessToken)}`),new Promise((t,n)=>{let l=!1;if(r!==Gn.Text){n(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));return}let C;if(qi.isBrowser||qi.isWebWorker)C=new this._options.EventSource(e,{withCredentials:this._options.withCredentials});else{let B=this._httpClient.getCookieString(e),$={};$.Cookie=B;let[K,G]=ba();$[K]=G,C=new this._options.EventSource(e,{withCredentials:this._options.withCredentials,headers:ze(ze({},$),this._options.headers)})}try{C.onmessage=B=>{if(this.onreceive)try{this._logger.log(tt.Trace,`(SSE transport) data received. ${kl(B.data,this._options.logMessageContent)}.`),this.onreceive(B.data)}catch($){this._close($);return}},C.onerror=B=>{l?this._close():n(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky
206sessions are enabled."))},C.onopen=()=>{this._logger.log(tt.Information,`SSE connected to ${this._url}`),this._eventSource=C,l=!0,t()}}catch(B){n(B);return}})})}send(e){return Et(this,null,function*(){return this._eventSource?Lm(this._logger,"SSE",this._httpClient,this._url,e,this._options):Promise.reject(new Error("Cannot send until the transport is connected"))})}stop(){return this._close(),Promise.resolve()}_close(e){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(e))}};var $m=class{constructor(e,r,t,n,l,C){this._logger=t,this._accessTokenFactory=r,this._logMessageContent=n,this._webSocketConstructor=l,this._httpClient=e,this.onreceive=null,this.onclose=null,this._headers=C}connect(e,r){return Et(this,null,function*(){Yi.isRequired(e,"url"),Yi.isRequired(r,"transferFormat"),Yi.isIn(r,Gn,"transferFormat"),this._logger.log(tt.Trace,"(WebSockets transport) Connecting.");let t;return this._accessTokenFactory&&(t=yield this._accessTokenFactory()),new Promise((n,l)=>{e=e.replace(/^http/,"ws");let C,B=this._httpClient.getCookieString(e),$=!1;if(qi.isNode||qi.isReactNative){let K={},[G,q]=ba();K[G]=q,t&&(K[Ph.Authorization]=`Bearer ${t}`),B&&(K[Ph.Cookie]=B),C=new this._webSocketConstructor(e,void 0,{headers:ze(ze({},K),this._headers)})}else t&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(t)}`);C||(C=new this._webSocketConstructor(e)),r===Gn.Binary&&(C.binaryType="arraybuffer"),C.onopen=K=>{this._logger.log(tt.Information,`WebSocket connected to ${e}.`),this._webSocket=C,$=!0,n()},C.onerror=K=>{let G=null;typeof ErrorEvent<"u"&&K instanceof ErrorEvent?G=K.error:G="There was an error with the transport",this._logger.log(tt.Information,`(WebSockets transport) ${G}.`)},C.onmessage=K=>{if(this._logger.log(tt.Trace,`(WebSockets transport) data received. ${kl(K.data,this._logMessageContent)}.`),this.onreceive)try{this.onreceive(K.data)}catch(G){this._close(G);return}},C.onclose=K=>{if($)this._close(K);else{let G=null;typeof ErrorEvent<"u"&&K instanceof ErrorEvent?G=K.error:G="WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",l(new Error(G))}}})})}send(e){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(tt.Trace,`(WebSockets transport) sending data. ${kl(e,this._logMessageContent)}.`),this._webSocket.send(e),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(e){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(tt.Trace,"(WebSockets transport) socket closed."),this.onclose&&(this._isCloseEvent(e)&&(e.wasClean===!1||e.code!==1e3)?this.onclose(new Error(`WebSocket closed with status code: ${e.code} (${e.reason||"no reason given"}).`)):e instanceof Error?this.onclose(e):this.onclose())}_isCloseEvent(e){return e&&typeof e.wasClean=="boolean"&&typeof e.code=="number"}};var OS=100,Wm=class{constructor(e,r={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,Yi.isRequired(e,"url"),this._logger=DS(r.logger),this.baseUrl=this._resolveUrl(e),r=r||{},r.logMessageContent=r.logMessageContent===void 0?!1:r.logMessageContent,typeof r.withCredentials=="boolean"||r.withCredentials===void 0)r.withCredentials=r.withCredentials===void 0?!0:r.withCredentials;else throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");r.timeout=r.timeout===void 0?100*1e3:r.timeout;let t=null,n=null;if(qi.isNode&&typeof mc<"u"){let l=typeof __webpack_require__=="function"?__non_webpack_require__:mc;t=l("ws"),n=l("eventsource")}!qi.isNode&&typeof WebSocket<"u"&&!r.WebSocket?r.WebSocket=WebSocket:qi.isNode&&!r.WebSocket&&t&&(r.WebSocket=t),!qi.isNode&&typeof EventSource<"u"&&!r.EventSource?r.EventSource=EventSource:qi.isNode&&!r.EventSource&&typeof n<"u"&&(r.EventSource=n),this._httpClient=new Fm(r.httpClient||new Rm(this._logger),r.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=r,this.onreceive=null,this.onclose
206=null}start(e){return Et(this,null,function*(){if(e=e||Gn.Binary,Yi.isIn(e,Gn,"transferFormat"),this._logger.log(tt.Debug,`Starting connection with transfer format '${Gn[e]}'.`),this._connectionState!=="Disconnected")return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(this._connectionState="Connecting",this._startInternalPromise=this._startInternal(e),yield this._startInternalPromise,this._connectionState==="Disconnecting"){let r="Failed to start the HttpConnection before stop() was called.";return this._logger.log(tt.Error,r),yield this._stopPromise,Promise.reject(new Ms(r))}else if(this._connectionState!=="Connected"){let r="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return this._logger.log(tt.Error,r),Promise.reject(new Ms(r))}this._connectionStarted=!0})}send(e){return this._connectionState!=="Connected"?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new Vb(this.transport)),this._sendQueue.send(e))}stop(e){return Et(this,null,function*(){if(this._connectionState==="Disconnected")return this._logger.log(tt.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnected state.`),Promise.resolve();if(this._connectionState==="Disconnecting")return this._logger.log(tt.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;this._connectionState="Disconnecting",this._stopPromise=new Promise(r=>{this._stopPromiseResolver=r}),yield this._stopInternal(e),yield this._stopPromise})}_stopInternal(e){return Et(this,null,function*(){this._stopError=e;try{yield this._startInternalPromise}catch{}if(this.transport){try{yield this.transport.stop()}catch(r){this._logger.log(tt.Error,`HttpConnection.transport.stop() threw error '${r}'.`),this._stopConnection()}this.transport=void 0}else this._logger.log(tt.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})}_startInternal(e){return Et(this,null,function*(){let r=this.baseUrl;this._accessTokenFactory=this._options.accessTokenFactory,this._httpClient._accessTokenFactory=this._accessTokenFactory;try{if(this._options.skipNegotiation)if(this._options.transport===Bn.WebSockets)this.transport=this._constructTransport(Bn.WebSockets),yield this._startTransport(r,e);else throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");else{let t=null,n=0;do{if(t=yield this._getNegotiationResponse(r),this._connectionState==="Disconnecting"||this._connectionState==="Disconnected")throw new Ms("The connection was stopped during negotiation.");if(t.error)throw new Error(t.error);if(t.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(t.url&&(r=t.url),t.accessToken){let l=t.accessToken;this._accessTokenFactory=()=>l,this._httpClient._accessToken=l,this._httpClient._accessTokenFactory=void 0}n++}while(t.url&&n<OS);if(n===OS&&t.url)throw new Error("Negotiate redirection limit exceeded.");yield this._createTransport(r,this._options.transport,t,e)}this.transport instanceof kp&&(this.features.inherentKeepAlive=!0),this._connectionState==="Connecting"&&(this._logger.log(tt.Debug,"The HttpConnection connected successfully."),this._connectionState="Connected")}catch(t){return this._logger.log(tt.Error,"Failed to start the connection: "+t),this._connectionState="Disconnected",this.transport=void 0,this._stopPromiseResolver(),Promise.reject(t)}})}_getNegotiationResponse(e){return Et(this,null,function*(){let r={},[t,n]=ba();r[t]=n;let l=this._resolveNegotiateUrl(e);this._logger.log(tt.Debug,`Sending negotiation request: ${l}.`);try{let C=yield this._httpClient.post(l,{content:"",headers:ze(ze({},r),this._options.headers),timeout:this._options.timeout,withCredentials:this._options.withCredentials});if(C.statusCode!==200)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${C.statusCode}'`));let B=JSON.parse(C.content);return(!B.negotiateVersion||B.negotiateVersion<1)&&(B.connectionToken=B.connectionId),B.useStatefulReconnect&&this._options._useStatefulReconnect!==!0?Promise.reject(new Mp("Client didn't negotiate Stateful Reconnect but the server did.")):B}catch(C){let B="Failed to complete negotiation with the server: "+C;return C instanceof $r&&C.statusCode===404&&(B=B+" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),this._logger.log(tt.Error,B),Promise.reject(new Mp(B))}})}_createConnectUrl(e,r){return r?e+(e.indexOf("?")===-1?"?":"&")+`id=${r}`:e}_createTransport(e,r,t,n){return Et(this,null,function*(){let l=this._createConnectUrl(e,t.connectionToken);if(this._isITransport(r)){this._logger.log(tt.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=r,yield this._startTransport(l,n),this.connectionId=t.connectionId;return}let C=[],B=t.availableTransports||[],$=t;for(let K of B){let G=this._resolveTransportOrError(K,r,n,($==null?void 0:$.useStatefulReconnect)===!0);if(G instanceof Error)C.push(`${K.transport} failed:`),C.push(G);else if(this._isITransport(G)){if(this.transport=G,!$){try{$=yield this._getNegotiationResponse(e)}catch(q){return Promise.reject(q)}l=this._createConnectUrl(e,$.connectionToken)}try{yield this._startTransport(l,n),this.connectionId=$.connectionId;return}catch(q){if(this._logger.log(tt.Error,`Failed to start the transport '${K.transport}': ${q}`),$=void 0,C.push(new km(`${K.transport} failed: ${q}`,Bn[K.transport])),this._connectionState!=="Connecting"){let Z="Failed to select transport before stop() was called.";return this._logger.log(tt.Debug,Z),Promise.reject(new Ms(Z))}}}}return C.length>0?Promise.reject(new Am(`Unable to connect to the server with any of the available transports. ${C.join(" ")}`,C)):Promise.reject(new Error("None of the transports supported by the client are supported by the server."))})}
206_constructTransport(e){switch(e){case Bn.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new $m(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case Bn.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new zm(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case Bn.LongPolling:return new kp(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${e}.`)}}_startTransport(e,r){return this.transport.onreceive=this.onreceive,this.features.reconnect?this.transport.onclose=t=>Et(this,null,function*(){let n=!1;if(this.features.reconnect)try{this.features.disconnected(),yield this.transport.connect(e,r),yield this.features.resend()}catch{n=!0}else{this._stopConnection(t);return}n&&this._stopConnection(t)}):this.transport.onclose=t=>this._stopConnection(t),this.transport.connect(e,r)}_resolveTransportOrError(e,r,t,n){let l=Bn[e.transport];if(l==null)return this._logger.log(tt.Debug,`Skipping transport '${e.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);if(kH(r,l))if(e.transferFormats.map(B=>Gn[B]).indexOf(t)>=0){if(l===Bn.WebSockets&&!this._options.WebSocket||l===Bn.ServerSentEvents&&!this._options.EventSource)return this._logger.log(tt.Debug,`Skipping transport '${Bn[l]}' because it is not supported in your environment.'`),new Mm(`'${Bn[l]}' is not supported in your environment.`,l);this._logger.log(tt.Debug,`Selecting transport '${Bn[l]}'.`);try{return this.features.reconnect=l===Bn.WebSockets?n:void 0,this._constructTransport(l)}catch(B){return B}}else return this._logger.log(tt.Debug,`Skipping transport '${Bn[l]}' because it does not support the requested transfer format '${Gn[t]}'.`),new Error(`'${Bn[l]}' does not support ${Gn[t]}.`);else return this._logger.log(tt.Debug,`Skipping transport '${Bn[l]}' because it was disabled by the client.`),new Tm(`'${Bn[l]}' is disabled by the client.`,l)}_isITransport(e){return e&&typeof e=="object"&&"connect"in e}_stopConnection(e){if(this._logger.log(tt.Debug,`HttpConnection.stopConnection(${e}) called while in state ${this._connectionState}.`),this.transport=void 0,e=this._stopError||e,this._stopError=void 0,this._connectionState==="Disconnected"){this._logger.log(tt.Debug,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is already in the disconnected state.`);return}if(this._connectionState==="Connecting")throw this._logger.log(tt.Warning,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${e}) was called while the connection is still in the connecting state.`);if(this._connectionState==="Disconnecting"&&this._stopPromiseResolver(),e?this._logger.log(tt.Error,`Connection disconnected with error '${e}'.`):this._logger.log(tt.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(r=>{this._logger.log(tt.Error,`TransportSendQueue.stop() threw error '${r}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(r){this._logger.log(tt.Error,`HttpConnection.onclose(${e}) threw error '${r}'.`)}}}_resolveUrl(e){if(e.lastIndexOf("https://",0)===0||e.lastIndexOf("http://",0)===0)return e;if(!qi.isBrowser)throw new Error(`Cannot resolve '${e}'.`);let r=window.document.createElement("a");return r.href=e,this._logger.log(tt.Information,`Normalizing '${e}' to '${r.href}'.`),r.href}_resolveNegotiateUrl(e){let r=new URL(e);r.pathname.endsWith("/")?r.pathname+="negotiate":r.pathname+="/negotiate";
206let t=new URLSearchParams(r.searchParams);return t.has("negotiateVersion")||t.append("negotiateVersion",this._negotiateVersion.toString()),t.has("useStatefulReconnect")?t.get("useStatefulReconnect")==="true"&&(this._options._useStatefulReconnect=!0):this._options._useStatefulReconnect===!0&&t.append("useStatefulReconnect","true"),r.search=t.toString(),r.toString()}};function kH(i,e){return!i||(e&i)!==0}var Vb=class i{constructor(e){this._transport=e,this._buffer=[],this._executing=!0,this._sendBufferedData=new pu,this._transportResult=new pu,this._sendLoopPromise=this._sendLoop()}send(e){return this._bufferData(e),this._transportResult||(this._transportResult=new pu),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(e){if(this._buffer.length&&typeof this._buffer[0]!=typeof e)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof e}`);this._buffer.push(e),this._sendBufferedData.resolve()}_sendLoop(){return Et(this,null,function*(){for(;;){if(yield this._sendBufferedData.promise,!this._executing){this._transportResult&&this._transportResult.reject("Connection stopped.");break}this._sendBufferedData=new pu;let e=this._transportResult;this._transportResult=void 0;let r=typeof this._buffer[0]=="string"?this._buffer.join(""):i._concatBuffers(this._buffer);this._buffer.length=0;try{yield this._transport.send(r),e.resolve()}catch(t){e.reject(t)}}})}static _concatBuffers(e){let r=e.map(l=>l.byteLength).reduce((l,C)=>l+C),t=new Uint8Array(r),n=0;for(let l of e)t.set(new Uint8Array(l),n),n+=l.byteLength;return t.buffer}},pu=class{constructor(){this.promise=new Promise((e,r)=>[this._resolver,this._rejecter]=[e,r])}resolve(){this._resolver()}reject(e){this._rejecter(e)}};var AH="json",Ym=class{constructor(){this.name=AH,this.version=2,this.transferFormat=Gn.Text}parseMessages(e,r){if(typeof e!="string")throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];r===null&&(r=Ea.instance);let t=Wr.parse(e),n=[];for(let l of t){let C=JSON.parse(l);if(typeof C.type!="number")throw new Error("Invalid payload.");switch(C.type){case Jt.Invocation:this._isInvocationMessage(C);break;case Jt.StreamItem:this._isStreamItemMessage(C);break;case Jt.Completion:this._isCompletionMessage(C);break;case Jt.Ping:break;case Jt.Close:break;case Jt.Ack:this._isAckMessage(C);break;case Jt.Sequence:this._isSequenceMessage(C);break;default:r.log(tt.Information,"Unknown message type '"+C.type+"' ignored.");continue}n.push(C)}return n}writeMessage(e){return Wr.write(JSON.stringify(e))}_isInvocationMessage(e){this._assertNotEmptyString(e.target,"Invalid payload for Invocation message."),e.invocationId!==void 0&&this._assertNotEmptyString(e.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(e){if(this._assertNotEmptyString(e.invocationId,"Invalid payload for StreamItem message."),e.item===void 0)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(e){if(e.result&&e.error)throw new Error("Invalid payload for Completion message.");!e.result&&e.error&&this._assertNotEmptyString(e.error,"Invalid payload for Completion message."),this._assertNotEmptyString(e.invocationId,"Invalid payload for Completion message.")}_isAckMessage(e){if(typeof e.sequenceId!="number")throw new Error("Invalid SequenceId for Ack message.")}_isSequenceMessage(e){if(typeof e.sequenceId!="number")throw new Error("Invalid SequenceId for Sequence message.")}_assertNotEmptyString(e,r){if(typeof e!="string"||e==="")throw new Error(r)}};var DH={trace:tt.Trace,debug:tt.Debug,info:tt.Information,information:tt.Information,warn:tt.Warning,warning:tt.Warning,error:tt.Error,critical:tt.Critical,none:tt.None};function LH(i){let e=DH[i.toLowerCase()];if(typeof e<"u")return e;throw new Error(`Unknown log level: ${i}`)}var Ap=class{configureLogging(e){if(Yi.isRequired(e,"logging"),PH(e))this.logger=e;else if(typeof e=="string"){let r=LH(e);this.logger=new Lh(r)}else this.logger=new Lh(e);return this}withUrl(e,r){return Yi.isRequired(e,"url"),Yi.isNotEmpty(e,"url"),this.url=e,typeof r=="object"?this.httpConnectionOptions=ze(ze({},this.httpConnectionOptions),r):this.httpConnectionOptions=xt(ze({},this.httpConnectionOptions),{transport:r}),this}withHubProtocol(e){return Yi.isRequired(e,"protocol"),this.protocol=e,this}withAutomaticReconnect(e){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return e?Array.isArray(e)?this.reconnectPolicy=new Tp(e):this.reconnectPolicy=e:this.reconnectPolicy=new Tp,this}withServerTimeout(e){return Yi.isRequired(e,"milliseconds"),this._serverTimeoutInMilliseconds=e,this}withKeepAliveInterval(e){return Yi.isRequired(e,"milliseconds"),this._keepAliveIntervalInMilliseconds=e,this}withStatefulReconnect(e){return this.httpConnectionOptions===void 0&&(this.httpConnectionOptions={}),this.httpConnectionOptions._useStatefulReconnect=!0,this._statefulReconnectBufferSize=e==null?void 0:e.bufferSize,this}build(){let e=this.httpConnectionOptions||{};if(e.logger===void 0&&(e.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");let r=new Wm(this.url,e);return Hm.create(r,this.logger||Ea.instance,this.protocol||new Ym,this.reconnectPolicy,this._serverTimeoutInMilliseconds,this._keepAliveIntervalInMilliseconds,this._statefulReconnectBufferSize)}};function PH(i){return i.log!==void 0}var Um=class{constructor(e){this.connection=e}sendExamMonitoring(e,r){return this.connection.invoke("SendExamMonitoring",e,r)}sendUserMonitoring(e,r){return this.connection.invoke("SendUserMonitoring",e,r)}sendUserMonitoringCapture(e,r){return this.connection.invoke("SendUserMonitoringCapture",e,r)}startExamMonitoring(e){return this.connection.invoke("StartExamMonitoring",e)}stopExamMonitoring(e){return this.connection.invoke("StopExamMonitoring",e)}startExamProgress(e){return this.connection.invoke("StartExamProgress",e)}stopExamProgress(e){return this.connection.invoke("StopExamProgress",e)}sendExamProgress(e,r){return this.connection.invoke("SendExamProgress",e,r)}sendExamPeriod(e,r){return this.connection.invoke("SendExamPeriod",e,r)}sendExamTestOverTime(e,r,t){return this.connection.invoke("SendExamTestOverTime",e,r,t)}addToGroupAsync(e){return this.connection.invoke("AddToGroupAsync",e)}removeGroupAsync(e){return this.connection.invoke("RemoveGroupAsync",e)}registerCallbacks(e){this.connection.on("StartExamMonitoring",r=>e.startExamMonitoring(r)),this.connection.on("StopExamMonitoring",r=>e.stopExamMonitoring(r)),this.connection.on("OnExamMonitoring",r=>e.onExamMonitoring(r)),this.connection.on("OnUserMonitoring",r=>e.onUserMonitoring(r)),this.connection.on("OnUserMonitoringCapture",r=>e.onUserMonitoringCapture(r)),this.connection.on("StartExamProgress",r=>e.startExamProgress(r)),this.connection.on("StopExamProgress",r=>e.stopExamProgress(r)),this.connection.on("OnExamProgress",r=>e.onExamProgress(r)),this.connection.on("OnExamPeriod",r=>e.onExamPeriod(r)),this.connection.on("OnExamOverTime",r=>e.onExamOverTime(r))}unregisterCallbacks(e){this.connection.off("StartExamMonitoring",r=>e.startExamMonitoring(r)),this.connection.off("StopExamMonitoring",r=>e.stopExamMonitoring(r)),this.connection.off("OnExamMonitoring",r=>e.onExamMonitoring(r)),this.connection.off("OnUserMonitoring",r=>e.onUserMonitoring(r)),this.connection.off("OnUserMonitoringCapture",r=>e.onUserMonitoringCapture(r)),this.connection.off("StartExamProgress",r=>e.startExamProgress(r)),this.connection.off("StopExamProgress",r=>e.stopExamProgress(r)),this.connection.off("OnExamProgress",r=>e.onExamProgress(r)),this.connection.off("OnExamPeriod",r=>e.onExamPeriod(r)),this.connection.off("OnExamOverTime",r=>e.onExamOverTime(r))}};var IS=(()=>{let e=class e extends K2{constructor(){super(...arguments),this.dismissText="Dismiss"}dismiss(t){return t.stopPropagation(),this.dismissText="Dismissing...",this.toastPackage.triggerAction(()=>this.remove()),!1}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275cmp=st({type:e,selectors:[["lib-dismissible-toast-component"]],features:[Nt],decls:6,vars:2,consts:[[1,"text-right"],[1,"button","is-small","text-danger",3,"click"]],template:function(n,l){n&1&&(ke(0,"div")(1,"div"),Ge(2),Ae(),ke(3,"div",0)(4,"button",1),We("click",function(B){return l.dismiss(B)}),Ge(5),Ae()()()),n&2&&(we(2),qt(l.message),we(3),oi(" ",l.dismissText," "))},styles:["[_nghost-%COMP%]{display:block}"],data:{animation:[Zs("flyInOut",[nn("inactive",di({opacity:0}
206)),nn("active",di({opacity:1})),nn("removed",di({opacity:0})),sn("inactive => active",Qi("{{ easeTime }}ms {{ easing }}")),sn("active => removed",Qi("{{ easeTime }}ms {{ easing }}"))])]}});let i=e;return i})();function RS(i){return Rt.fromJSDate(i).toUTC().toFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",{outputCalendar:"gregory"})}function Gm(i,e){let r;return typeof e=="string"&&e.length===24&&(r=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})Z$/.exec(e),r)?Rt.fromISO(e).toJSDate():e}var Xm=class{constructor(e){this.connection=e}sendAnswerResult(e,r){return this.connection.invoke("SendAnswerResult",e,r)}sendStartExamResult(e,r){return this.connection.invoke("SendStartExamResult",e,r)}sendSubmitExamResult(e,r){return this.connection.invoke("SendSubmitExamResult",e,r)}addToGroupAsync(e){return this.connection.invoke("AddToGroupAsync",e)}removeGroupAsync(e){return this.connection.invoke("RemoveGroupAsync",e)}registerCallbacks(e){this.connection.on("OnStartExamResult",r=>e.onStartExamResult(r)),this.connection.on("OnSubmitExamResult",r=>e.onSubmitExamResult(r)),this.connection.on("OnAnswerResult",r=>e.onAnswerResult(r))}unregisterCallbacks(e){this.connection.off("OnStartExamResult",r=>e.onStartExamResult(r)),this.connection.off("OnSubmitExamResult",r=>e.onSubmitExamResult(r)),this.connection.off("OnAnswerResult",r=>e.onAnswerResult(r))}};var BS=new Ht("getAccessTokenWithAutoRefreshToken"),qm=new Ht("filesServiceToken"),W0e=new Ht("environmentToken");var fu=class{constructor(e,r){this.hubClass=e,this.hubCallback=r,this.connectCount=0,this.reconnectTasks=[]}start(e,r){return this.promise?this.promise:(this.connection=e,e.onreconnected(()=>Et(this,null,function*(){this.connectCount++;let t=this.connectCount;for(let n of this.reconnectTasks)yield this.invokeOnce(n,t)})),this.hub=new this.hubClass(e),this.hub.registerCallbacks(this.hubCallback),this.promise=this.connectWithAutoRetry(e).then(()=>{r&&r()}),this.promise)}stop(){return this.promise=null,this.reconnectTasks=[],this.hub&&this.hub.unregisterCallbacks(this.hubCallback),this.connection?this.connection.stop():Promise.resolve()}invokeWithReconnect(e){this.reconnectTasks.push(e);let r=this.connectCount;return e(this.hub).catch(t=>new Promise(n=>{window.setTimeout(()=>{n(this.invokeOnce(e,r))},3e3)}))}invokeOnce(e,r){return r=r??this.connectCount,r!==this.connectCount?Promise.resolve():e(this.hub).catch(t=>new Promise(n=>{window.setTimeout(()=>{n(this.invokeOnce(e,r))},3e3)}))}connectWithAutoRetry(e){return e.start().catch(()=>new Promise(r=>{window.setTimeout(()=>{r(this.connectWithAutoRetry(e))},5e3)}))}};var NS=(()=>{let e=class e{constructor(t,n,l){this.popupService=t,this.zone=n,this.getAccessTokenWithAutoRefresh$=l,this.monitoring={},this.notification={},this.exam={},this.monitoringSubject={onExamMonitoring$:new pt,onUserMonitoring$:new pt,onUserMonitoringCapture$:new pt,onExamProgress$:new pt,onExamPeriod$:new pt,onExamOverTime$:new pt},this.notificationSubject={backgroundTaskCount$:new pt,backgroundTaskComplete$:new pt},this.examSubject={startExamResult$:new pt,submitExamResult$:new pt},this.backgroundTaskReceived$=new pt,this.resetTimer$=new pt,this.monitoringHubCallbacks={onExamMonitoring:C=>{this.log("onExamMonitoring",C),this.zone.run(()=>{this.monitoringSubject.onExamMonitoring$.next(this.parseResponse(C))})},onUserMonitoring:C=>{this.log("onUserMonitoring",C),this.zone.run(()=>{this.monitoringSubject.onUserMonitoring$.next(this.parseResponse(C))})},onUserMonitoringCapture:C=>{this.log("onUserMonitoringCapture",C),this.zone.run(()=>{this.monitoringSubject.onUserMonitoringCapture$.next(this.parseResponse(C))})},onExamProgress:C=>{this.log("onExamProgress",C),this.zone.run(()=>{this.monitoringSubject.onExamProgress$.next(C)})},onExamPeriod:C=>{this.log("onExamPeriod",C),this.zone.run(()=>{this.monitoringSubject.onExamPeriod$.next(this.parseResponse(C))})},onExamOverTime:C=>{this.log("onExamOverTime",C),this.zone.run(()=>{this.monitoringSubject.onExamOverTime$.next(this.parseResponse(C))})},startExamMonitoring:C=>{},stopExamMonitoring:C=>{},startExamProgress:C=>{},stopExamProgress:C=>{}}
206,this.notificationHubCallbacks={onBackgroundTasKReceived:C=>{this.log("onBackgroundTasKReceived",C),this.zone.run(()=>{this.backgroundTaskReceived$.next(C)})},onBackgroundTaskNotificationCount:C=>{this.log("onBackgroundTaskNotificationCount",C),this.zone.run(()=>{this.notificationSubject.backgroundTaskCount$.next(C)})}},this.examHubCallbacks={onStartExamResult:C=>{this.log("onStartExamResult",C),this.zone.run(()=>{this.examSubject.startExamResult$.next(this.parseResponse(C))})},onSubmitExamResult:C=>{this.log("onSubmitExamResult",C),this.zone.run(()=>{this.examSubject.submitExamResult$.next(C)})},onAnswerResult:C=>{this.log("onAnswerResult",C)}},Object.entries(this.monitoringSubject).forEach(([C,B])=>{this.monitoring[C]=B.asObservable()}),Object.entries(this.notificationSubject).forEach(([C,B])=>{this.notification[C]=B.asObservable()}),Object.entries(this.examSubject).forEach(([C,B])=>{this.exam[C]=B.asObservable()}),this.monitoringConnector=new fu(Um,this.monitoringHubCallbacks),this.notificationConnector=new fu(Sm,this.notificationHubCallbacks),this.examConnector=new fu(Xm,this.examHubCallbacks),this.monitoring.startExamMonitoring=C=>this.monitoringConnector.invokeWithReconnect(B=>(this.log("startExamMonitoring",C),B.startExamMonitoring(C))),this.monitoring.stopExamMonitoring=C=>this.monitoringConnector.invokeOnce(B=>(this.log("stopExamMonitoring",C),B.stopExamMonitoring(C))),this.monitoring.startExamProgress=C=>this.monitoringConnector.invokeWithReconnect(B=>(this.log("startExamProgress",C),B.startExamProgress(C))),this.monitoring.stopExamProgress=C=>this.monitoringConnector.invokeOnce(B=>(this.log("stopExamProgress",C),B.stopExamProgress(C)))}startMonitoring(t){return this.zone.runOutsideAngular(()=>{let n=this.buildHubConnection("monitoringHubs");return this.monitoringConnector.start(n,t)})}startNotification(){return this.zone.runOutsideAngular(()=>{let t=this.buildHubConnection("notificationHubs");return this.handleBackgroundTaskReceived(),this.notificationConnector.start(t)})}startExam(){return this.zone.runOutsideAngular(()=>{let t=this.buildHubConnection("examHubs");return this.examConnector.start(t)})}stopMonitoring(){return this.monitoringConnector.stop()}stopNotification(){var t;return(t=this.backgroundTaskReceivedSub)==null||t.unsubscribe(),this.backgroundTaskReceivedSub=void 0,this.notificationConnector.stop()}stopExam(){return this.examConnector.stop()}handleBackgroundTaskReceived(){if(this.backgroundTaskReceivedSub)return;let t;this.backgroundTaskReceivedSub=this.backgroundTaskReceived$.pipe(NC(n=>(n.jobId!==t&&(this.resetTimer$.next(),t=n.jobId),Ec(400).pipe(un(this.resetTimer$))))).subscribe(n=>{if(n)switch(n.status){case uu.Waiting:this.popupService.toast(n.message,"background-job-waiting");break;case uu.Running:this.popupService.toast(n.message,"background-job-running");break;case uu.Completed:this.notificationSubject.backgroundTaskComplete$.next(n),this.popupService.toast(n.message,"background-job-completed");break;case uu.Failed:this.popupService.toast(n.message,"background-job-failed",!1,"bottom-left",IS).onAction.subscribe(l=>{l()});break}})}buildHubConnection(t){return new Ap().withUrl(`${Ho.config.signalrHub}/${t}`,{accessTokenFactory:()=>ul(this.getAccessTokenWithAutoRefresh$()),skipNegotiation:Ho.config.signalrSkipNegotiation==="yes",transport:Bn.WebSockets}).withAutomaticReconnect({nextRetryDelayInMilliseconds:n=>1e4}).build()}parseResponse(t){return JSON.parse(JSON.stringify(t),Gm)}log(t,n){console.log(t,n)}};e.\u0275fac=function(n){return new(n||e)(qe(Vr),qe(wi),qe(BS))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var Xb=["*"],OH=["cellTemplate"],IH=i=>({cellContext:i});function RH(i,e){if(i&1){let r=et();ke(0,"label",5)(1,"input",6),We("click",function(n){Ne(r);let l=Te();return je(l.onCheckboxChange(n))}),Ae()()}if(i&2){let r=Te();we(),_e("checked",r.isSelected)}}function BH(i,e){i&1&&Ke(0,"i",12)}function NH(i,e){i&1&&Ke(0,"i",13)}function jH(i,e){i&1&&Ke(0,"i",14)}function HH(i,e){if(i&1){let r=et();ke(0,"button",8),We("click",function(){Ne(r);let n=Te(2);return je(n.onTreeAction())}),ke(1,"span"),$e(2,BH,1,0,"i",9)(3,NH,1,0,"i",10)(4,jH,1,0,"i",11),Ae()()}if(i&2){let r=Te(2);_e("disabled",r.treeStatus==="disabled"),we(2),_e("ngIf",r.treeStatus==="loading"),we(),_e("ngIf",r.treeStatus==="collapsed"),we(),_e("ngIf",r.treeStatus==="expanded"||r.treeStatus==="disabled")}}function FH(i,e){}function VH(i,e){if(i&1&&$e(0,FH,0,0,"ng-template",15),i&2){let r=Te(2);_e("ngTemplateOutlet",r.column.treeToggleTemplate)("ngTemplateOutletContext",ih(2,IH,r.cell
206Context))}}function zH(i,e){if(i&1&&(Wn(0),$e(1,HH,5,4,"button",7)(2,VH,1,4,null,3),Yn()),i&2){let r=Te();we(),_e("ngIf",!r.column.treeToggleTemplate),we(),_e("ngIf",r.column.treeToggleTemplate)}}function $H(i,e){if(i&1&&Ke(0,"span",16),i&2){let r=Te();_e("title",r.sanitizedValue)("innerHTML",r.value,hi)}}function WH(i,e){}function YH(i,e){if(i&1&&$e(0,WH,0,0,"ng-template",15,0,Wi),i&2){let r=Te();_e("ngTemplateOutlet",r.column.cellTemplate)("ngTemplateOutletContext",r.cellContext)}}function UH(i,e){if(i&1){let r=et();ke(0,"datatable-body-cell",3),We("activate",function(n){let l=Ne(r).index,C=Te(2);return je(C.onActivate(n,l))})("treeAction",function(){Ne(r);let n=Te(2);return je(n.onTreeAction())}),Ae()}if(i&2){let r=e.$implicit,t=Te(2);_e("row",t.row)("group",t.group)("expanded",t.expanded)("isSelected",t.isSelected)("rowIndex",t.rowIndex)("column",r)("rowHeight",t.rowHeight)("displayCheck",t.displayCheck)("treeStatus",t.treeStatus)}}function GH(i,e){if(i&1&&(ke(0,"div",1),$e(1,UH,1,9,"datatable-body-cell",2),Ae()),i&2){let r=e.$implicit,t=Te();xs("datatable-row-",r.type," datatable-row-group"),_e("ngStyle",t._groupStyles[r.type]),we(),_e("ngForOf",r.columns)("ngForTrackBy",t.columnTrackingFn)}}function XH(i,e){if(i&1&&Ke(0,"datatable-body-row",1),i&2){let r=Te();_e("innerWidth",r.innerWidth)("offsetX",r.offsetX)("columns",r._internalColumns)("rowHeight",r.rowHeight)("row",r.summaryRow)("rowIndex",-1)}}function qH(i,e){}function ZH(i,e){if(i&1&&$e(0,qH,0,0,"ng-template",4),i&2){let r=Te(2);_e("ngTemplateOutlet",r.groupHeader.template)("ngTemplateOutletContext",r.groupContext)}}function KH(i,e){if(i&1&&(ke(0,"div",3),$e(1,ZH,1,2,null,1),Ae()),i&2){let r=Te();_e("ngStyle",r.getGroupHeaderStyle()),we(),_e("ngIf",r.groupHeader&&r.groupHeader.template)}}function QH(i,e){i&1&&tn(0,0,["*ngIf","(groupHeader && groupHeader.template && expanded) || !groupHeader || !groupHeader.template"])}function JH(i,e){}function eF(i,e){if(i&1&&$e(0,JH,0,0,"ng-template",4),i&2){let r=Te(2);_e("ngTemplateOutlet",r.rowDetail.template)("ngTemplateOutletContext",r.rowContext)}}function tF(i,e){if(i&1&&(ke(0,"div",5),$e(1,eF,1,2,null,1),Ae()),i&2){let r=Te();Ti("height",r.detailRowHeight,"px"),we(),_e("ngIf",r.rowDetail&&r.rowDetail.template)}}function iF(i,e){i&1&&Ke(0,"datatable-progress")}function nF(i,e){if(i&1&&Ke(0,"datatable-summary-row",10),i&2){let r=Te(2);_e("rowHeight",r.summaryHeight)("offsetX",r.offsetX)("innerWidth",r.innerWidth)("rows",r.rows)("columns",r.columns)}}function sF(i,e){if(i&1){let r=et();ke(0,"datatable-body-row",13),We("treeAction",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.onTreeAction(n))})("activate",function(n){Ne(r);let l=Te().index,C=Te(2),B=On(2);return je(B.onActivate(n,C.indexes.first+l))}),Ae()}if(i&2){let r=Te().$implicit,t=Te(2),n=On(2);_e("isSelected",n.getRowSelected(r))("innerWidth",t.innerWidth)("offsetX",t.offsetX)("columns",t.columns)("rowHeight",t.getRowHeight(r))("row",r)("rowIndex",t.getRowIndex(r))("expanded",t.getRowExpanded(r))("rowClass",t.rowClass)("displayCheck",t.displayCheck)("treeStatus",r&&r.treeStatus)}}function rF(i,e){if(i&1){let r=et();ke(0,"datatable-body-row",15),We("activate",function(n){let l=Ne(r).index;Te(4);let C=On(2);return je(C.onActivate(n,l))}),Ae()}if(i&2){let r=e.$implicit,t=Te(2).$implicit,n=Te(2),l=On(2);_e("isSelected",l.getRowSelected(r))("innerWidth",n.innerWidth)("offsetX",n.offsetX)("columns",n.columns)("rowHeight",n.getRowHeight(r))("row",r)("group",t.value)("rowIndex",n.getRowIndex(r))("expanded",n.getRowExpanded(r))("rowClass",n.rowClass)}}function oF(i,e){if(i&1&&$e(0,rF,1,10,"datatable-body-row",14),i&2){let r=Te().$implicit,t=Te(2);_e("ngForOf",r.value)("ngForTrackBy",t.rowTrackingFn)}}function aF(i,e){if(i&1){let r=et();ke(0,"datatable-row-wrapper",11),We("rowContextmenu",function(n){Ne(r);let l=Te(2);return je(l.rowContextmenu.emit(n))}),$e(1,sF,1,11,"datatable-body-row",12)(2,oF,1,2,"ng-template",null,1,Wi),Ae()}if(i&2){let r=e.$implicit,t=e.index,n=On(3),l=Te(2);_e("groupedRows",l.groupedRows)("innerWidth",l.innerWidth)("ngStyle",l.getRowsStyles(r))("rowDetail",l.rowDetail)("groupHeader",l.groupHeader)("offsetX",l.offsetX)("detailRowHeight",l.getDetailRowHeight(r&&r[t],t))("row",r)("expanded",l.getRowExpanded(r))("rowIndex",l.getRowIndex(r&&r[t])),we(),_e("ngIf",!l.groupedRows)("ngIfElse",n)}}function lF(i,e){if(i&1&&Ke(0,"datatable-summary-row",16),i&2){let r=Te(2);_e("ngStyle",r.getBottomSummaryRowStyles())("rowHeight",r.summaryHeight)("offsetX",r.offsetX)("innerWidth",r.innerWidth)("rows",r.rows)("columns",r.columns)}}function hF(i,e){if(i&1){let r=et();ke(0,"datatable-scroller",6),We("scroll",function(n){Ne(r);let l=Te();return je(l.onBodyScroll(n))}),$e(1,nF,1,5,"datatable-summary-row",7)(2,aF,4,12,"datatable-row-wrapper",8)(3,lF,1,6,"datatable-summary-row",9),Ae()}if(i&2){let r=Te();_e("scrollbarV",r.scrollbarV)("scrollbarH",r.scrollbarH)("scrollHeight",r.scrollHeight)("scrollWidth",r.columnGroupWidths==null?null:r.columnGroupWidths.total),we(),_e("ngIf",r.summaryRow&&r.summaryPosition==="top"),we(),_e("ngForOf",r.temp)("ngForTrackBy",r.rowTrackingFn),we(),_e("ngIf",r.summaryRow&&r.summaryPosition==="bottom")}}function cF(i,e){if(i&1&&Ke(0,"div",17),i&2){let r=Te();_e("innerHTML",r.emptyMessage,hi)}}function uF(i,e){}function dF(i,e){if(i&1&&$e(0,uF,0,0,"ng-template",5),i&2){let r=Te();_e("ngTemplateOutlet",r.targetMarkerTemplate)("ngTemplateOutletContext",r.targetMarkerContext)}}function pF(i,e){if(i&1){let r=et();ke(0,"label",6)(1,"input",7),We("change",function(){Ne(r);let n=Te();return je(n.select.emit(!n.allRowsSelected))}),Ae()()}if(i&2){let r=Te();we(),_e("checked",r.allRowsSelected)}}function fF(i,e){if(i&1){let r=et();ke(0,"span",8)(1,"span",9),We("click",function(){Ne(r);let n=Te();return je(n.onSort())}),Ae()()}if(i&2){let r=Te();we(),_e("innerHTML",r.name,hi)}}function mF(i,e){}function gF(i,e){if(i&1&&$e(0,mF,0,0,"ng-template",5),i&2){let r=Te();_e("ngTemplateOutlet",r.column.headerTemplate)("ngTemplateOutletContext",r.cellContext)}}function EF(i,e){if(i&1){let r=et();ke(0,"datatable-header-cell",4),We("resize",function(n){let l=Ne(r).$implicit,C=Te(2);return je(C.onColumnResized(n,l))})("longPressStart",function(n){Ne(r);let l=Te(2);return je(l.onLongPressStart(n))})("longPressEnd",function(n){Ne(r);let l=Te(2);return je(l.onLongPressEnd(n))})("sort",function(n){Ne(r);let l=Te(2);return je(l.onSort(n))})("select",function(n){Ne(r);let l=Te(2);return je(l.select.emit(n))})("columnContextmenu",function(n){Ne(r);let l=Te(2);return je(l.columnContextmenu.emit(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(2);_e("resizeEnabled",r.resizeable)("pressModel",r)("pressEnabled",t.reorderable&&r.draggable)("dragX",t.reorderable&&r.draggable&&r.dragging)("dragY",!1)("dragModel",r)("dragEventTarget",t.dragEventTarget)("headerHeight",t.headerHeight)("isTarget",r.isTarget)("targetMarkerTemplate",t.targetMarkerTemplate)("targetMarkerContext",r.targetMarkerContext)("column",r)("sortType",t.sortType)("sorts",t.sorts)("selectionType",t.selectionType)("sortAscendingIcon",t.sortAscendingIcon)("sortDescendingIcon",t.sortDescendingIcon)("sortUnsetIcon",t.sortUnsetIcon)("allRowsSelected",t.allRowsSelected)}}function bF(i,e){if(i&1&&(ke(0,"div",2),$e(1,EF,1,19,"datatable-header-cell",3),Ae()),i&2){let r=e.$implicit,t=Te();xi("datatable-row-"+r.type),_e("ngStyle",t._styleByGroup[r.type]),we(),_e("ngForOf",r.columns)("ngForTrackBy",t.columnTrackingFn)}}function yF(i,e){if(i&1){let r=et();ke(0,"li",6)(1,"a",7),We("click",function(){let n=Ne(r).$implicit,l=Te();return je(l.selectPage(n.number))}),Ge(2),Ae()()}if(i&2){let r=e.$implicit,t=Te();ht("active",r.number===t.page),$i("aria-label","page "+r.number),we(2),oi(" ",r.text," ")}}var vF=i=>({"selected-count":i}),xF=(i,e,r,t,n)=>({rowCount:i,pageSize:e,selectedCount:r,curPage:t,offset:n});function CF(i,e){}function _F(i,e){if(i&1&&$e(0,CF,0,0,"ng-template",4),i&2){let r=Te();_e("ngTemplateOutlet",r.footerTemplate.template)("ngTemplateOutletContext",e4(2,xF,r.rowCount,r.pageSize,r.selectedCount,r.curPage,r.offset))}}function wF(i,e){if(i&1&&(ke(0,"span"),Ge(1),Ae()),i&2){let r=Te(2);we(),dd(" ",r.selectedCount==null?null:r.selectedCount.toLocaleStr
206ing()," ",r.selectedMessage," / ")}}function SF(i,e){if(i&1&&(ke(0,"div",5),$e(1,wF,2,2,"span",1),Ge(2),Ae()),i&2){let r=Te();we(),_e("ngIf",r.selectedMessage),we(),dd(" ",r.rowCount==null?null:r.rowCount.toLocaleString()," ",r.totalMessage," ")}}function MF(i,e){if(i&1){let r=et();ke(0,"datatable-pager",6),We("change",function(n){Ne(r);let l=Te();return je(l.page.emit(n))}),Ae()}if(i&2){let r=Te();_e("pagerLeftArrowIcon",r.pagerLeftArrowIcon)("pagerRightArrowIcon",r.pagerRightArrowIcon)("pagerPreviousIcon",r.pagerPreviousIcon)("pagerNextIcon",r.pagerNextIcon)("page",r.curPage)("size",r.pageSize)("count",r.rowCount)("hidden",!r.isVisible)}}function TF(i,e){if(i&1){let r=et();ke(0,"datatable-header",4),St(1,"async"),We("sort",function(n){Ne(r);let l=Te();return je(l.onColumnSort(n))})("resize",function(n){Ne(r);let l=Te();return je(l.onColumnResize(n))})("reorder",function(n){Ne(r);let l=Te();return je(l.onColumnReorder(n))})("select",function(n){Ne(r);let l=Te();return je(l.onHeaderSelect(n))})("columnContextmenu",function(n){Ne(r);let l=Te();return je(l.onColumnContextmenu(n))}),Ae()}if(i&2){let r=Te();_e("sorts",r.sorts)("sortType",r.sortType)("scrollbarH",r.scrollbarH)("innerWidth",r._innerWidth)("offsetX",Tt(1,15,r._offsetX))("dealsWithGroup",r.groupedRows!==void 0)("columns",r._internalColumns)("headerHeight",r.headerHeight)("reorderable",r.reorderable)("targetMarkerTemplate",r.targetMarkerTemplate)("sortAscendingIcon",r.cssClasses.sortAscending)("sortDescendingIcon",r.cssClasses.sortDescending)("sortUnsetIcon",r.cssClasses.sortUnset)("allRowsSelected",r.allRowsSelected)("selectionType",r.selectionType)}}function kF(i,e){if(i&1){let r=et();ke(0,"datatable-footer",5),We("page",function(n){Ne(r);let l=Te();return je(l.onFooterPage(n))}),Ae()}if(i&2){let r=Te();_e("rowCount",r.rowCount)("pageSize",r.pageSize)("offset",r.offset)("footerHeight",r.footerHeight)("footerTemplate",r.footer)("totalMessage",r.messages.totalMessage)("pagerLeftArrowIcon",r.cssClasses.pagerLeftArrow)("pagerRightArrowIcon",r.cssClasses.pagerRightArrow)("pagerPreviousIcon",r.cssClasses.pagerPrevious)("selectedCount",r.selected.length)("selectedMessage",!!r.selectionType&&r.messages.selectedMessage)("pagerNextIcon",r.cssClasses.pagerNext)}}var qb=(()=>{class i{constructor(r){this.document=r,this.width=this.getWidth()}getWidth(){let r=this.document.createElement("div");r.style.visibility="hidden",r.style.width="100px",r.style.msOverflowStyle="scrollbar",this.document.body.appendChild(r);let t=r.offsetWidth;r.style.overflow="scroll";let n=this.document.createElement("div");n.style.width="100%",r.appendChild(n);let l=n.offsetWidth;return r.parentNode.removeChild(r),t-l}}return i.\u0275fac=function(r){return new(r||i)(qe(ls))},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),YS=(()=>{class i{getDimensions(r){return r.getBoundingClientRect()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),Zb=(()=>{class i{constructor(){this.columnInputChanges=new pt}get columnInputChanges$(){return this.columnInputChanges.asObservable()}onInputChange(){this.columnInputChanges.next()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=it({token:i,factory:i.\u0275fac}),i})(),Kb=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-footer-template",""]]}),i})(),AF=(()=>{class i{constructor(r,t){this.element=r,this.zone=t,this.isVisible=!1,this.visible=new Qe}ngOnInit(){this.runCheck()}ngOnDestroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){let r=()=>{let{offsetHeight:t,offsetWidth:n}=this.element.nativeElement;t&&n?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),50)}))};this.timeout=setTimeout(()=>r())}}return i.\u0275fac=function(r){return new(r||i)(Ie(Bt),Ie(wi))},i.\u0275dir=ft({type:i,selectors:[["","visibilityObserver",""]],hostVars:2,hostBindings:function(r,t){r&2&&ht("visible",t.isVisible)},outputs:{visible:"visible"}}),i})(),US=(()=>{class i{constructor(r){this.dragX=!0,this.dragY=!0,this.dragStart=new Qe,this.dragging=new Qe,this.dragEnd=new Qe,this.isDragging=!1,this.element=r.nativeElement}ngOnChanges(r){r.dragEventTarget&&r.dragEventTarget.currentValue&&this.dragModel.dragging&&this.onMousedown(r.dragEventTarget.currentValue)}ngOnDestroy(){this._destroySubscription()}onMouseup(r){this.isDragging&&(this.isDragging=!1,this.element.classList.remove("dragging"),this.subscription&&(this._destroySubscription(),this.dragEnd.emit({event:r,element:this.element,model:this.dragModel})))}onMousedown(r){if(r.target.classList.contains("draggable")&&(this.dragX||this.dragY)){r.preventDefault(),this.isDragging=!0;let n={x:r.clientX,y:r.clientY},l=jr(document,"mouseup");this.subscription=l.subscribe(B=>this.onMouseup(B));let C=jr(document,"mousemove").pipe(un(l)).subscribe(B=>this.move(B,n));this.subscription.add(C),this.dragStart.emit({event:r,element:this.element,model:this.dragModel})}}move(r,t){if(!this.isDragging)return;let n=r.clientX-t.x,l=r.clientY-t.y;this.dragX&&(this.element.style.left=`${n}px`),this.dragY&&(this.element.style.top=`${l}px`),this.element.classList.add("dragging"),this.dragging.emit({event:r,element:this.element,model:this.dragModel})}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return i.\u0275fac=function(r){return new(r||i)(Ie(Bt))},i.\u0275dir=ft({type:i,selectors:[["","draggable",""]],inputs:{dragEventTarget:"dragEventTarget",dragModel:"dragModel",dragX:"dragX",dragY:"dragY"},outputs:{dragStart:"dragStart",dragging:"dragging",dragEnd:"dragEnd"}
206,features:[ki]}),i})(),DF=(()=>{class i{constructor(r,t){this.renderer=t,this.resizeEnabled=!0,this.resize=new Qe,this.resizing=!1,this.element=r.nativeElement}ngAfterViewInit(){let r=this.renderer;this.resizeHandle=r.createElement("span"),this.resizeEnabled?r.addClass(this.resizeHandle,"resize-handle"):r.addClass(this.resizeHandle,"resize-handle--not-resizable"),r.appendChild(this.element,this.resizeHandle)}ngOnDestroy(){this._destroySubscription(),this.renderer.destroyNode?this.renderer.destroyNode(this.resizeHandle):this.resizeHandle&&this.renderer.removeChild(this.renderer.parentNode(this.resizeHandle),this.resizeHandle)}onMouseup(){this.resizing=!1,this.subscription&&!this.subscription.closed&&(this._destroySubscription(),this.resize.emit(this.element.clientWidth))}onMousedown(r){let t=r.target.classList.contains("resize-handle"),n=this.element.clientWidth,l=r.screenX;if(t){r.stopPropagation(),this.resizing=!0;let C=jr(document,"mouseup");this.subscription=C.subscribe($=>this.onMouseup());let B=jr(document,"mousemove").pipe(un(C)).subscribe($=>this.move($,n,l));this.subscription.add(B)}}move(r,t,n){let l=r.screenX-n,C=t+l,B=!this.minWidth||C>=this.minWidth,$=!this.maxWidth||C<=this.maxWidth;B&&$&&(this.element.style.width=`${C}px`)}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return i.\u0275fac=function(r){return new(r||i)(Ie(Bt),Ie(pn))},i.\u0275dir=ft({type:i,selectors:[["","resizeable",""]],hostVars:2,hostBindings:function(r,t){r&1&&We("mousedown",function(l){return t.onMousedown(l)}),r&2&&ht("resizeable",t.resizeEnabled)},inputs:{resizeEnabled:"resizeEnabled",minWidth:"minWidth",maxWidth:"maxWidth"},outputs:{resize:"resize"}}),i})(),LF=(()=>{class i{constructor(r,t){this.document=t,this.reorder=new Qe,this.targetChanged=new Qe,this.differ=r.find({}).create()}ngAfterContentInit(){this.updateSubscriptions(),this.draggables.changes.subscribe(this.updateSubscriptions.bind(this))}ngOnDestroy(){this.draggables.forEach(r=>{r.dragStart.unsubscribe(),r.dragging.unsubscribe(),r.dragEnd.unsubscribe()})}updateSubscriptions(){let r=this.differ.diff(this.createMapDiffs());if(r){let t=({currentValue:l,previousValue:C})=>{n({previousValue:C}),l&&(l.dragStart.subscribe(this.onDragStart.bind(this)),l.dragging.subscribe(this.onDragging.bind(this)),l.dragEnd.subscribe(this.onDragEnd.bind(this)))},n=({previousValue:l})=>{l&&(l.dragStart.unsubscribe(),l.dragging.unsubscribe(),l.dragEnd.unsubscribe())};r.forEachAddedItem(t),r.forEachRemovedItem(n)}}onDragStart(){this.positions={};let r=0;for(let t of this.draggables.toArray()){let n=t.element,l=parseInt(n.offsetLeft.toString(),0);this.positions[t.dragModel.prop]={left:l,right:l+parseInt(n.offsetWidth.toString(),0),index:r++,element:n}}}onDragging({element:r,model:t,event:n}){let l=this.positions[t.prop],C=this.isTarget(t,n);C?this.lastDraggingIndex!==C.i&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,newIndex:C.i,initialIndex:l.index}),this.lastDraggingIndex=C.i):this.lastDraggingIndex!==l.index&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,initialIndex:l.index}),this.lastDraggingIndex=l.index)}onDragEnd({element:r,model:t,event:n}){let l=this.positions[t.prop],C=this.isTarget(t,n);C&&this.reorder.emit({prevIndex:l.index,newIndex:C.i,model:t}),this.lastDraggingIndex=void 0,r.style.left="auto"}isTarget(r,t){let n=0,l=t.x||t.clientX,C=t.y||t.clientY,B=this.document.elementsFromPoint(l,C);for(let $ in this.positions){let K=this.positions[$];if(r.prop!==$&&B.find(G=>G===K.element))return{pos:K,i:n};n++}}createMapDiffs(){return this.draggables.toArray().reduce((r,t)=>(r[t.dragModel.$$id]=t,r),{})}}return i.\u0275fac=function(r){return new(r||i)(Ie(pd),Ie(ls))},i.\u0275dir=ft({type:i,selectors:[["","orderable",""]],contentQueries:function(r,t,n){if(r&1&&Xs(n,US,5),r&2){let l;kt(l=At())&&(t.draggables=l)}},outputs:{reorder:"reorder",targetChanged:"targetChanged"}}),i})(),PF=(()=>{class i{constructor(){this.pressEnabled=!0,this.duration=500,this.longPressStart=new Qe,this.longPressing=new Qe,this.longPressEnd=new Qe,this.mouseX=0,this.mouseY=0}get press(){return this.pressing}get isLongPress(){return this.isLongPressing}onMouseDown(r){if(r.which!==1||!this.pressEnabled||r.target.classList.contains("resize-handle"))return;this.mouseX=r.clientX,this.mouseY=r.clientY,this.pressing=!0,this.isLongPressing=!1;let n=jr(document,"mouseup");this.subscription=n.subscribe(l=>this.onMouseup()),this.timeout=setTimeout(()=>{this.isLongPressing=!0,this.longPressStart.emit({event:r,model:this.pressModel}),this.subscription.add(jr(document,"mousemove").pipe(un(n)).subscribe(l=>this.onMouseMove(l))),this.loop(r)},this.duration),this.loop(r)}onMouseMove(r){if(this.pressing&&!this.isLongPressing){let t=Math.abs(r.clientX-this.mouseX)>10,n=Math.abs(r.clientY-this.mouseY)>10;(t||n)&&this.endPress()}}loop(r){this.isLongPressing&&(this.timeout=setTimeout(()=>{this.longPressing.emit({event:r,model:this.pressModel}),this.loop(r)},50))}endPress(){clearTimeout(this.timeout),this.isLongPressing=!1,this.pressing=!1,this._destroySubscription(),this.longPressEnd.emit({model:this.pressModel})}onMouseup(){this.endPress()}ngOnDestroy(){this._destroySubscription()}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=ft({type:i,selectors:[["","long-press",""]],hostVars:4,hostBindings:function(r,t){r&1&&We("mousedown",function(l){return t.onMouseDown(l)}),r&2&&ht("press",t.press)("longpress",t.isLongPress)},inputs:{pressEnabled:"pressEnabled",pressModel:"pressModel",duration:"duration"},outputs:{longPressStart:"longPressStart",longPressing:"longPressing",longPressEnd:"longPressEnd"}}),i})(),jS=(()=>{class i{constructor(r,t,n){this.ngZone=r,this.renderer=n,this.scrollbarV=!1,this.scrollbarH=!1,this.scroll=ne
206w Qe,this.scrollYPos=0,this.scrollXPos=0,this.prevScrollYPos=0,this.prevScrollXPos=0,this._scrollEventListener=null,this.element=t.nativeElement}ngOnInit(){if(this.scrollbarV||this.scrollbarH){let r=this.renderer;this.parentElement=r.parentNode(r.parentNode(this.element)),this._scrollEventListener=this.onScrolled.bind(this),this.parentElement.addEventListener("scroll",this._scrollEventListener)}}ngOnDestroy(){this._scrollEventListener&&(this.parentElement.removeEventListener("scroll",this._scrollEventListener),this._scrollEventListener=null)}setOffset(r){this.parentElement&&(this.parentElement.scrollTop=r)}onScrolled(r){let t=r.currentTarget;requestAnimationFrame(()=>{this.scrollYPos=t.scrollTop,this.scrollXPos=t.scrollLeft,this.updateOffset()})}updateOffset(){let r;this.scrollYPos<this.prevScrollYPos?r="down":this.scrollYPos>this.prevScrollYPos&&(r="up"),this.scroll.emit({direction:r,scrollYPos:this.scrollYPos,scrollXPos:this.scrollXPos}),this.prevScrollYPos=this.scrollYPos,this.prevScrollXPos=this.scrollXPos}}return i.\u0275fac=function(r){return new(r||i)(Ie(wi),Ie(Bt),Ie(pn))},i.\u0275cmp=st({type:i,selectors:[["datatable-scroller"]],hostAttrs:[1,"datatable-scroll"],hostVars:4,hostBindings:function(r,t){r&2&&Ti("height",t.scrollHeight,"px")("width",t.scrollWidth,"px")},inputs:{scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth"},outputs:{scroll:"scroll"},ngContentSelectors:Xb,decls:1,vars:0,template:function(r,t){r&1&&(wn(),tn(0))},encapsulation:2,changeDetection:0}),i})(),Qb=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-group-header-template",""]]}),i})(),Jb=(()=>{class i{constructor(){this.rowHeight=0,this.toggle=new Qe}get template(){return this._templateInput||this._templateQuery}toggleExpandGroup(r){this.toggle.emit({type:"group",value:r})}expandAllGroups(){this.toggle.emit({type:"all",value:!0})}collapseAllGroups(){this.toggle.emit({type:"all",value:!1})}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=ft({type:i,selectors:[["ngx-datatable-group-header"]],contentQueries:function(r,t,n){if(r&1&&Xs(n,Qb,7,Xi),r&2){let l;kt(l=At())&&(t._templateQuery=l.first)}},inputs:{rowHeight:"rowHeight",_templateInput:[0,"template","_templateInput"]},outputs:{toggle:"toggle"}}),i})();function OF(){return""}function ey(i){return i==null?OF:typeof i=="number"?IF:i.indexOf(".")!==-1?BF:RF}function IF(i,e){if(i==null)return"";if(!i||e==null)return i;let r=i[e];return r??""}function RF(i,e){if(i==null)return"";if(!i||!e)return i;let r=i[e];return r??""}function BF(i,e){if(i==null)return"";if(!i||!e)return i;let r=i[e];if(r!==void 0)return r;r=i;let t=e.split(".");if(t.length){for(let n=0;n<t.length;n++)if(r=r[t[n]],r==null)return""}return r}function mu(i){return i&&(e=>ey(i)(e,i))}function zb(i,e,r){if(e&&r){let t={},n=i.length,l=null;t[0]=new Jm;let C=i.reduce(($,K)=>{let G=r(K);return $.indexOf(G)===-1&&$.push(G),$},[]);for(let $=0;$<n;$++)t[r(i[$])]=new Jm(i[$]);for(let $=0;$<n;$++){l=t[r(i[$])];let K=0,G=e(l.row);G&&C.indexOf(G)>-1&&(K=G),l.parent=t[K],l.row.level=l.parent.row.level+1,l.parent.children.push(l)}let B=[];return t[0].flatten(function(){B=[...B,this.row]},!0),B}else return i}var Jm=class{constructor(e=null){e||(e={level:-1,treeStatus:"expanded"}),this.row=e,this.parent=null,this.children=[]}flatten(e,r){if(this.row.treeStatus==="expanded")for(let t=0,n=this.children.length;t<n;t++){let l=this.children[t];e.apply(l,Array.prototype.slice.call(arguments,2)),r&&l.flatten.apply(l,arguments)}}};function ty(i){return i=i.replace(/[^a-zA-Z0-9 ]/g," "),i=i.replace(/([a-z](?=[A-Z]))/g,"$1 "),i=i.replace(/([^a-zA-Z0-9 ])|^[0-9]+/g,"").trim().toLowerCase(),i=i.replace(/([ 0-9]+)([a-zA-Z])/g,function(e,r,t){return r.trim()+t.toUpperCase()}),i}function NF(i){return i.replace(/([A-Z])/g,e=>` ${e}`).replace(/^./,e=>e.toUpperCase())}function jF(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}function HS(i){if(!i)return;let e=!1;
206for(let r of i)r.$$id||(r.$$id=jF()),Dp(r.prop)&&r.name&&(r.prop=ty(r.name)),r.$$valueGetter||(r.$$valueGetter=ey(r.prop)),!Dp(r.prop)&&Dp(r.name)&&(r.name=NF(String(r.prop))),Dp(r.prop)&&Dp(r.name)&&(r.name=""),r.hasOwnProperty("resizeable")||(r.resizeable=!0),r.hasOwnProperty("sortable")||(r.sortable=!0),r.hasOwnProperty("draggable")||(r.draggable=!0),r.hasOwnProperty("canAutoResize")||(r.canAutoResize=!0),r.hasOwnProperty("width")||(r.width=150),r.hasOwnProperty("isTreeColumn")&&r.isTreeColumn&&!e?e=!0:r.isTreeColumn=!1}function Dp(i){return i==null}function HF(i){let e=[];for(let r of i){let t={},n=Object.getOwnPropertyNames(r);for(let l of n)t[l]=r[l];r.headerTemplate&&(t.headerTemplate=r.headerTemplate),r.cellTemplate&&(t.cellTemplate=r.cellTemplate),r.summaryFunc&&(t.summaryFunc=r.summaryFunc),r.summaryTemplate&&(t.summaryTemplate=r.summaryTemplate),e.push(t)}return e}var Qm=function(i){return i.standard="standard",i.flex="flex",i.force="force",i}(Qm||{}),Eo=function(i){return i.single="single",i.multi="multi",i.multiClick="multiClick",i.cell="cell",i.checkbox="checkbox",i}(Eo||{}),eg=function(i){return i.single="single",i.multi="multi",i}(eg||{}),Ub=function(i){return i.header="header",i.body="body",i}(Ub||{}),FF=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-header-template",""]]}),i})(),VF=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-cell-template",""]]}),i})(),zF=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-tree-toggle",""]]}),i})(),$F=(()=>{class i{constructor(r){this.columnChangesService=r,this.isFirstChange=!0}get cellTemplate(){return this._cellTemplateInput||this._cellTemplateQuery}get headerTemplate(){return this._headerTemplateInput||this._headerTemplateQuery}get treeToggleTemplate(){return this._treeToggleTemplateInput||this._treeToggleTemplateQuery}ngOnChanges(){this.isFirstChange?this.isFirstChange=!1:this.columnChangesService.onInputChange()}}return i.\u0275fac=function(r){return new(r||i)(Ie(Zb))},i.\u0275dir=ft({type:i,selectors:[["ngx-datatable-column"]],contentQueries:function(r,t,n){if(r&1&&(Xs(n,VF,7,Xi),Xs(n,FF,7,Xi),Xs(n,zF,7,Xi)),r&2){let l;kt(l=At())&&(t._cellTemplateQuery=l.first),kt(l=At())&&(t._headerTemplateQuery=l.first),kt(l=At())&&(t._treeToggleTemplateQuery=l.first)}},inputs:{name:"name",prop:"prop",frozenLeft:"frozenLeft",frozenRight:"frozenRight",flexGrow:"flexGrow",resizeable:"resizeable",comparator:"comparator",pipe:"pipe",sortable:"sortable",draggable:"draggable",canAutoResize:"canAutoResize",minWidth:"minWidth",width:"width",maxWidth:"maxWidth",checkboxable:"checkboxable",headerCheckboxable:"headerCheckboxable",headerClass:"headerClass",cellClass:"cellClass",isTreeColumn:"isTreeColumn",treeLevelIndent:"treeLevelIndent",summaryFunc:"summaryFunc",summaryTemplate:"summaryTemplate",_cellTemplateInput:[0,"cellTemplate","_cellTemplateInput"],_headerTemplateInput:[0,"headerTemplate","_headerTemplateInput"],_treeToggleTemplateInput:[0,"treeToggleTemplate","_treeToggleTemplateInput"]},features:[ki]}),i})(),iy=(()=>{class i{constructor(r){this.template=r}}return i.\u0275fac=function(r){return new(r||i)(Ie(Xi))},i.\u0275dir=ft({type:i,selectors:[["","ngx-datatable-row-detail-template",""]]}),i})(),ny=(()=>{class i{constructor(){this.rowHeight=0,this.toggle=new Qe}get template(){return this._templateInput||this._templateQuery}toggleExpandRow(r){this.toggle.emit({type:"row",value:r})}expandAllRows(){this.toggle.emit({type:"all",value:!0})}collapseAllRows(){this.toggle.emit({type:"all",value:!1})}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=ft({type:i,selectors:[["ngx-datatable-row-detail"]],contentQueries:function(r,t,n){if(r&1&&Xs(n,iy,7,Xi),r&2){let l;kt(l=At())&&(t._templateQuery=l.first)}},inputs:{rowHeight:"rowHeight",_templateInput:[0,"template","_templateInput"]},outputs:{toggle:"toggle"}}),i})(),sy=(()=>{class i{get template(){return this._templateInput||this._templateQuery}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275dir=ft({type:i,selectors:[["ngx-datatable-footer"]],contentQueries:function(r,t,n){if(r&1&&Xs(n,Kb,5,Xi),r&2){let l;kt(l=At())&&(t._templateQuery=l.first)}},inputs:{footerHeight:"footerHeight",totalMessage:"totalMessage",selectedMessage:"selectedMessage",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",_templateInput:[0,"template","_templateInput"]}}),i})();
206function Oh(i){let e={left:[],center:[],right:[]};if(i)for(let r of i)r.frozenLeft?e.left.push(r):r.frozenRight?e.right.push(r):e.center.push(r);return e}function Lp(i,e){return{left:Zm(i.left),center:Zm(i.center),right:Zm(i.right),total:Math.floor(Zm(e))}}function Zm(i,e){let r=0;if(i)for(let t of i){let l=e&&t[e]?t[e]:t.width;r=r+parseFloat(l)}return r}function WF(i,e){let r=0;for(let t of i){let n=e&&t[e];r=r+(n?t[e]:t.width)}return r}function GS(i){let e=[],r=Oh(i);return e.push({type:"left",columns:r.left}),e.push({type:"center",columns:r.center}),e.push({type:"right",columns:r.right}),e}var Gb=class{constructor(){this.treeArray=[]}clearCache(){this.treeArray=[]}initCache(e){let{rows:r,rowHeight:t,detailRowHeight:n,externalVirtual:l,rowCount:C,rowIndexes:B,rowExpansions:$}=e,K=typeof t=="function",G=typeof n=="function";if(!K&&isNaN(t))throw new Error(`Row Height cache initialization failed. Please ensure that 'rowHeight' is a 207 valid number or function value: (${t}) when 'scrollbarV' is enabled.`);if(!G&&isNaN(n))throw new Error(`Row Height cache initialization failed. Please ensure that 'detailRowHeight' is a 208 valid number or function value: (${n}) when 'scrollbarV' is enabled.`);let q=l?C:r.length;this.treeArray=new Array(q);for(let Z=0;Z<q;++Z)this.treeArray[Z]=0;for(let Z=0;Z<q;++Z){let R=r[Z],Y=t;K&&(Y=t(R));let V=$.has(R);if(R&&V)if(G){let H=B.get(R);Y+=n(R,H)}else Y+=n;this.update(Z,Y)}}getRowIndex(e){return e===0?0:this.calcRowIndex(e)}update(e,r){if(!this.treeArray.length)throw new Error(`Update at index ${e} with value ${r} failed: 209 Row Height cache not initialized.`);let t=this.treeArray.length;for(e|=0;e<t;)this.treeArray[e]+=r,e|=e+1}query(e){if(!this.treeArray.length)throw new Error(`query at index ${e} failed: Fenwick tree array not initialized.`);let r=0;for(e|=0;e>=0;)r+=this.treeArray[e],e=(e&e+1)-1;return r}queryBetween(e,r){return this.query(r)-this.query(e-1)}calcRowIndex(e){if(!this.treeArray.length)return 0;let r=-1,t=this.treeArray.length,n=Math.pow(2,t.toString(2).length-1);for(let l=n;l!==0;l>>=1){let C=r+l;C<t&&e>=this.treeArray[C]&&(e-=this.treeArray[C],r=C)}return r+1}},Km={},FS=typeof document<"u"?document.createElement("div").style:void 0,$b=function(){let i=typeof window<"u"?window.getComputedStyle(document.documentElement,""):void 0,e=typeof i<"u"?Array.prototype.slice.call(i).join("").match(/-(moz|webkit|ms)-/):null,r=e!==null?e[1]:void 0,t=typeof r<"u"?"WebKit|Moz|MS|O".match(new RegExp("("+r+")","i"))[1]:void 0;return t?{dom:t,lowercase:r,css:`-${r}-`,js:r[0].toUpperCase()+r.substr(1)}:void 0}();function tg(i){let e=ty(i);return Km[e]||($b!==void 0&&FS[$b.css+i]!==void 0?Km[e]=$b.css+i:FS[i]!==void 0&&(Km[e]=i)),Km[e]}var Wb=typeof window<"u"?tg("transform"):void 0,YF=typeof window<"u"?tg("backfaceVisibility"):void 0,UF=typeof window<"u"?!!tg("transform"):void 0,GF=typeof window<"u"?!!tg("perspective"):void 0,VS=typeof window<"u"?window.navigator.userAgent:"Chrome",XF=/Safari\//.test(VS)&&!/Chrome\//.test(VS);function Al(i,e,r){typeof Wb<"u"&&UF?!XF&&GF?(i[Wb]=`translate3d(${e}px, ${r}px, 0)`,i[YF]="hidden"):i[ty(Wb)]=`translate(${e}px, ${r}px)`:(i.top=`${r}px`,i.left=`${e}px`)}var qF=(()=>{class i{}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=st({type:i,selectors:[["datatable-progress"]],decls:3,vars:0,consts:[["role","progressbar",1,"progress-linear"],[1,"container"],[1,"bar"]],template:function(r,t){r&1&&(ke(0,"div",0)(1,"div",1),Ke(2,"div",2),Ae()())},encapsulation:2,changeDetection:0}),i})();function Yb(i,e,r){let t=r(e,i);return t>-1?i.splice(t,1):i.push(e),i}function ZF(i,e,r,t,n){let l=r<t;for(let C=0;C<e.length;C++){let B=e[C],$=C>=t&&C<=r,K=C<=t&&C>=r,G={start:0,end:0};l?G={start:r,end:t}:G={start:t,end:r+1},(l&&K||!l&&$)&&C>=G.start&&C<=G.end&&i.push(B)}return i}var Nn=function(i){return i[i.up=38]="up",i[i.down=40]="down",i[i.return=13]="return",i[i.escape=27]="escape",i[i.left=37]="left",i[i.right=39]="right",i}(Nn||{}),KF=(()=>{class i{constructor(){this.activate=new Qe,this.select=new Qe}selectRow(r,t,n){if(!this.selectEnabled)return;let l=this.selectionType===Eo.checkbox,C=this.selectionType===Eo.multi,B=this.selectionType===Eo.multiClick,$=[];C||l||B?r.shiftKey?$=ZF([],this.rows,t,this.prevIndex,this.getRowSelectedIdx.bind(this)):r.ctrlKey||r.metaKey||B||l?$=Yb([...this.selected],n,this.getRowSelectedIdx.bind(this)):$=Yb([],n,this.getRowSelectedIdx.bind(this)):$=Yb([],n,this.getRowSelectedIdx.bind(this)),typeof this.selectCheck=="function"&&($=$.filter(this.selectCheck.bind(this))),this.selected.splice(0,this.selected.length),this.selected.push(...$),this.prevIndex=t,this.select.emit({selected:$})}onActivate(r,t){let{type:n,event:l,row:C}=r,B=this.selectionType===Eo.checkbox;!B&&(n==="click"||n==="dblclick")||B&&n==="checkbox"?this.selectRow(l,t,C):n==="keydown"&&(l.keyCode===Nn.return?this.selectRow(l,t,C):this.onKeyboardFocus(r)),this.activate.emit(r)}onKeyboardFocus(r){let{keyCode:t}=r.event;if(t===Nn.up||t===Nn.down||t===Nn.right||t===Nn.left){let l=this.selectionType===Eo.cell;!r.cellElement||!l?this.focusRow(r.rowElement,t):l&&this.focusCell(r.cellElement,r.rowElement,t,r.cellIndex)}}focusRow(r,t){let n=this.getPrevNextRow(r,t);n&&n.focus()}getPrevNextRow(r,t){let n=r.parentElement;if(n){let l;if(t===Nn.up?l=n.previousElementSibling:t===Nn.down&&(l=n.nextElementSibling),l&&l.children.length)return l.children[0]}}focusCell(r,t,n,l){let C;if(n===Nn.left)C=r.previousElementSibling;else if(n===Nn.right)C=r.nextElementSibling;else if(n===Nn.up||n===Nn.down){let B=this.getPrevNextRow(t,n);if(B){let $=B.getElementsByClassName("datatable-body-cell");$.length&&(C=$[l])}}C&&C.focus()}getRowSelected(r){return this.getRowSelectedIdx(r,this.selected)>-1}getRowSelectedIdx(r,t){if(!t||!t.length)return-1;let n=this.rowIdentity(r);return t.findIndex(l=>this.rowIdentity(l)===n)}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=st({type:i,selectors:[["datatable-selection"]],inputs:{rows:"rows",selected:"selected",selectEnabled:"selectEnabled",selectionType:"selectionType",rowIdentity:"rowIdentity",selectCheck:"selectCheck"},outputs:{activate:"activate",select:"select"},ngContentSelectors:Xb,decls:1,vars:0,template:function(r,t){r&1&&(wn(),tn(0))},encapsulation:2,changeDetection:0}),i})(),Yr=function(i){return i.asc="asc",i.desc="desc",i}(Yr||{}),QF=(()=>{class i{constructor(r,t){this.cd=t,this.activate=new Qe,this.treeAction=new Qe,this.isFocused=!1,this.onCheckboxChangeFn=this.onCheckboxChange.bind(this),this.activateFn=this.activate.emit.bind(this.activate),this.cellContext={onCheckboxChangeFn:this.onCheckboxChangeFn,activateFn:this.activateFn,row:this.row,group:this.group,value:this.value,column:this.column,rowHeight:this.rowHeight,isSelected:this.isSelected,rowIndex:this.rowIndex,treeStatus:this.treeStatus,onTreeAction:this.onTreeAction.bind(this)},this._element=r.nativeElement}set group(r){this._group=r,this.cellContext.group=r,this.checkValueUpdates(),this.cd.markForCheck()}get group(){return this._group}set rowHeight(r){this._rowHeight=r,this.cellContext.rowHeight=r,this.checkValueUpdates(),this.cd.markForCheck()}get rowHeight(){return this._rowHeight}
209set isSelected(r){this._isSelected=r,this.cellContext.isSelected=r,this.cd.markForCheck()}get isSelected(){return this._isSelected}set expanded(r){this._expanded=r,this.cellContext.expanded=r,this.cd.markForCheck()}get expanded(){return this._expanded}set rowIndex(r){this._rowIndex=r,this.cellContext.rowIndex=r,this.checkValueUpdates(),this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set column(r){this._column=r,this.cellContext.column=r,this.checkValueUpdates(),this.cd.markForCheck()}get column(){return this._column}set row(r){this._row=r,this.cellContext.row=r,this.checkValueUpdates(),this.cd.markForCheck()}get row(){return this._row}set sorts(r){this._sorts=r,this.calcSortDir=this.calcSortDir(r)}get sorts(){return this._sorts}set treeStatus(r){r!=="collapsed"&&r!=="expanded"&&r!=="loading"&&r!=="disabled"?this._treeStatus="collapsed":this._treeStatus=r,this.cellContext.treeStatus=this._treeStatus,this.checkValueUpdates(),this.cd.markForCheck()}get treeStatus(){return this._treeStatus}get columnCssClasses(){let r="datatable-body-cell";if(this.column.cellClass){if(typeof this.column.cellClass=="string")r+=" "+this.column.cellClass;else if(typeof this.column.cellClass=="function"){let t=this.column.cellClass({row:this.row,group:this.group,column:this.column,value:this.value,rowHeight:this.rowHeight});if(typeof t=="string")r+=" "+t;else if(typeof t=="object"){let n=Object.keys(t);for(let l of n)t[l]===!0&&(r+=` ${l}`)}}}return this.sortDir||(r+=" sort-active"),this.isFocused&&(r+=" active"),this.sortDir===Yr.asc&&(r+=" sort-asc"),this.sortDir===Yr.desc&&(r+=" sort-desc"),r}get width(){return this.column.width}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get height(){let r=this.rowHeight;return isNaN(r)?r:r+"px"}ngDoCheck(){this.checkValueUpdates()}ngOnDestroy(){this.cellTemplate&&this.cellTemplate.clear()}checkValueUpdates(){let r="";if(!this.row||!this.column)r="";else{let t=this.column.$$valueGetter(this.row,this.column.prop),n=this.column.pipe;n?r=n.transform(t):r!==void 0&&(r=t)}this.value!==r&&(this.value=r,this.cellContext.value=r,this.sanitizedValue=r!=null?this.stripHtml(r):r,this.cd.markForCheck())}onFocus(){this.isFocused=!0}onBlur(){this.isFocused=!1}onClick(r){this.activate.emit({type:"click",event:r,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onDblClick(r){this.activate.emit({type:"dblclick",event:r,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onKeyDown(r){let t=r.keyCode,n=r.target===this._element;(t===Nn.return||t===Nn.down||t===Nn.up||t===Nn.left||t===Nn.right)&&n&&(r.preventDefault(),r.stopPropagation(),this.activate.emit({type:"keydown",event:r,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element}))}onCheckboxChange(r){this.activate.emit({type:"checkbox",event:r,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element,treeStatus:"collapsed"})}calcSortDir(r){if(!r)return;let t=r.find(n=>n.prop===this.column.prop);if(t)return t.dir}stripHtml(r){return r.replace?r.replace(/<\/?[^>]+(>|$)/g,""):r}onTreeAction(){this.treeAction.emit(this.row)}calcLeftMargin(r,t){let n=r.treeLevelIndent!=null?r.treeLevelIndent:50;return r.isTreeColumn?t.level*n:0}}return i.\u0275fac=function(r){return new(r||i)(Ie(Bt),Ie(ti))},i.\u0275cmp=st({type:i,selectors:[["datatable-body-cell"]],viewQuery:function(r,t){if(r&1&&Xt(OH,7,Gs),r&2){let n;kt(n=At())&&(t.cellTemplate=n.first)}},hostVars:10,hostBindings:function(r,t){r&1&&We("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()})("click",function(l){return t.onClick(l)})("dblclick",function(l){return t.onDblClick(l)})("keydown",function(l){return t.onKeyDown(l)}),r&2&&(xi(t.columnCssClasses),Ti("width",t.width,"px")("min-width",t.minWidth,"px")("max-width",t.maxWidth,"px")("height",t.height))},inputs:{displayCheck:"displayCheck",group:"group",rowHeight:"rowHeight",isSelected:"isSelected",expanded:"expanded",rowIndex:"rowIndex",column:"column",row:"row",sorts:"sorts",treeStatus:"treeStatus"},outputs:{activate:"activate",treeAction:"treeAction"},decls:5,vars:6,consts:[["cellTemplate",""],[1,"datatable-body-cell-label"],["class","datatable-checkbox",4,"ngIf"],[4,"ngIf"],[3,"title","innerHTML",4,"ngIf"],[1,"datatable-checkbox"],["type","checkbox",3,"click","checked"],["class","datatable-tree-button",3,"disabled","click",4,"ngIf"],[1,"datatable-tree-button",3,"click","disabled"],["class","icon datatable-icon-collapse",4,"ngIf"],["class","icon datatable-icon-up",4,"ngIf"],["class","icon datatable-icon-down",4,"ngIf"],[1,"icon","datatable-icon-collapse"],[1,"icon","datatable-icon-up"],[1,"icon","datatable-icon-down"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"title","innerHTML"]],template:function(r,t){r&1&&(ke(0,"div",1),$e(1,RH,2,1,"label",2)(2,zH,3,2,"ng-container",3)(3,$H,1,2,"span",4)(4,YH,2,2,null,3),Ae()),r&2&&(Ti("margin-left",t.calcLeftMargin(t.column,t.row),"px"),we(),_e("ngIf",t.column.checkboxable&&(!t.displayCheck||t.displayCheck(t.row,t.column,t.value))),we(),_e("ngIf",t.column.isTreeColumn),we(),_e("ngIf",!t.column.cellTemplate),we(),_e("ngIf",t.column.cellTemplate))},dependencies:[wt,Ra],encapsulation:2,changeDetection:0}),i})(),XS=(()=>{class i{constructor(r,t,n,l){this.differs=r,this.scrollbarHelper=t,this.cd=n,this.treeStatus="collapsed",this.activate=new Qe,this.treeAction=new Qe,this._groupStyles={left:{},center:{},right:{}}
209,this._element=l.nativeElement,this._rowDiffer=r.find({}).create()}set columns(r){this._columns=r,this.recalculateColumns(r),this.buildStylesByGroup()}get columns(){return this._columns}set innerWidth(r){if(this._columns){let t=Oh(this._columns);this._columnGroupWidths=Lp(t,this._columns)}this._innerWidth=r,this.recalculateColumns(),this.buildStylesByGroup()}get innerWidth(){return this._innerWidth}set offsetX(r){this._offsetX=r,this.buildStylesByGroup()}get offsetX(){return this._offsetX}get cssClass(){let r="datatable-body-row";if(this.isSelected&&(r+=" active"),this.rowIndex%2!==0&&(r+=" datatable-row-odd"),this.rowIndex%2===0&&(r+=" datatable-row-even"),this.rowClass){let t=this.rowClass(this.row);if(typeof t=="string")r+=` ${t}`;else if(typeof t=="object"){let n=Object.keys(t);for(let l of n)t[l]===!0&&(r+=` ${l}`)}}return r}get columnsTotalWidths(){return this._columnGroupWidths.total}ngDoCheck(){this._rowDiffer.diff(this.row)&&this.cd.markForCheck()}trackByGroups(r,t){return t.type}columnTrackingFn(r,t){return t.$$id}buildStylesByGroup(){this._groupStyles.left=this.calcStylesByGroup("left"),this._groupStyles.center=this.calcStylesByGroup("center"),this._groupStyles.right=this.calcStylesByGroup("right"),this.cd.markForCheck()}calcStylesByGroup(r){let t=this._columnGroupWidths,n=this.offsetX,l={width:`${t[r]}px`};if(r==="left")Al(l,n,0);else if(r==="right"){let C=parseInt(this.innerWidth+"",0),K=(t.total-C-n+this.scrollbarHelper.width)*-1;Al(l,K,0)}return l}onActivate(r,t){r.cellIndex=t,r.rowElement=this._element,this.activate.emit(r)}onKeyDown(r){let t=r.keyCode,n=r.target===this._element;(t===Nn.return||t===Nn.down||t===Nn.up||t===Nn.left||t===Nn.right)&&n&&(r.preventDefault(),r.stopPropagation(),this.activate.emit({type:"keydown",event:r,row:this.row,rowElement:this._element}))}onMouseenter(r){this.activate.emit({type:"mouseenter",event:r,row:this.row,rowElement:this._element})}recalculateColumns(r=this.columns){this._columns=r;let t=Oh(this._columns);this._columnsByPin=GS(this._columns),this._columnGroupWidths=Lp(t,this._columns)}onTreeAction(){this.treeAction.emit()}}return i.\u0275fac=function(r){return new(r||i)(Ie(pd),Ie(qb,4),Ie(ti),Ie(Bt))},i.\u0275cmp=st({type:i,selectors:[["datatable-body-row"]],hostVars:6,hostBindings:function(r,t){r&1&&We("keydown",function(l){return t.onKeyDown(l)})("mouseenter",function(l){return t.onMouseenter(l)}),r&2&&(xi(t.cssClass),Ti("height",t.rowHeight,"px")("width",t.columnsTotalWidths,"px"))},inputs:{columns:"columns",innerWidth:"innerWidth",expanded:"expanded",rowClass:"rowClass",row:"row",group:"group",isSelected:"isSelected",rowIndex:"rowIndex",displayCheck:"displayCheck",treeStatus:"treeStatus",offsetX:"offsetX",rowHeight:"rowHeight"},outputs:{activate:"activate",treeAction:"treeAction"},decls:1,vars:2,consts:[[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["role","cell","tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction",4,"ngFor","ngForOf","ngForTrackBy"],["role","cell","tabindex","-1",3,"activate","treeAction","row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus"]],template:function(r,t){r&1&&$e(0,GH,2,6,"div",0),r&2&&_e("ngForOf",t._columnsByPin)("ngForTrackBy",t.trackByGroups)},dependencies:[QF,si,oh],encapsulation:2,changeDetection:0}),i})();function JF(i){let e=i.filter(r=>!!r);return!e.length||e.some(r=>typeof r!="number")?null:e.reduce((r,t)=>r+t)}function eV(i){return null}var tV=(()=>{class i{constructor(){this.summaryRow={}}ngOnChanges(){!this.columns||!this.rows||(this.updateInternalColumns(),this.updateValues())}updateInternalColumns(){this._internalColumns=this.columns.map(r=>xt(ze({},r),{cellTemplate:r.summaryTemplate}))}updateValues(){this.summaryRow={},this.columns.filter(r=>!r.summaryTemplate).forEach(r=>{let t=this.rows.map(l=>l[r.prop]),n=this.getSummaryFunction(r);this.summaryRow[r.prop]=r.pipe?r.pipe.transform(n(t)):n(t)})}getSummaryFunction(r){return r.summaryFunc===void 0?JF:r.summaryFunc===null?eV:r.summaryFunc}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=st({type:i,selectors:[["datatable-summary-row"]],hostAttrs:[1,"datatable-summary-row"],inputs:{rows:"rows",columns:"columns",rowHeight:"rowHeight",offsetX:"offsetX",innerWidth:"innerWidth"}
209,features:[ki],decls:1,vars:1,consts:[["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex",4,"ngIf"],["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex"]],template:function(r,t){r&1&&$e(0,XH,1,6,"datatable-body-row",0),r&2&&_e("ngIf",t.summaryRow&&t._internalColumns)},dependencies:[XS,wt],encapsulation:2}),i})(),iV=(()=>{class i{constructor(r,t){this.cd=r,this.differs=t,this.rowContextmenu=new Qe(!1),this._expanded=!1,this.groupContext={group:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this.rowContext={row:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this.rowDiffer=t.find({}).create()}set rowIndex(r){this._rowIndex=r,this.rowContext.rowIndex=r,this.groupContext.rowIndex=r,this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set expanded(r){this._expanded=r,this.groupContext.expanded=r,this.rowContext.expanded=r,this.cd.markForCheck()}get expanded(){return this._expanded}ngDoCheck(){this.rowDiffer.diff(this.row)&&(this.rowContext.row=this.row,this.groupContext.group=this.row,this.cd.markForCheck())}onContextmenu(r){this.rowContextmenu.emit({event:r,row:this.row})}getGroupHeaderStyle(){let r={};return r.transform="translate3d("+this.offsetX+"px, 0px, 0px)",r["backface-visibility"]="hidden",r.width=this.innerWidth,r}}return i.\u0275fac=function(r){return new(r||i)(Ie(ti),Ie(pd))},i.\u0275cmp=st({type:i,selectors:[["datatable-row-wrapper"]],hostAttrs:[1,"datatable-row-wrapper"],hostBindings:function(r,t){r&1&&We("contextmenu",function(l){return t.onContextmenu(l)})},inputs:{innerWidth:"innerWidth",rowDetail:"rowDetail",groupHeader:"groupHeader",offsetX:"offsetX",detailRowHeight:"detailRowHeight",row:"row",groupedRows:"groupedRows",rowIndex:"rowIndex",expanded:"expanded"},outputs:{rowContextmenu:"rowContextmenu"},ngContentSelectors:Xb,decls:3,vars:3,consts:[["class","datatable-group-header",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","datatable-row-detail",3,"height",4,"ngIf"],[1,"datatable-group-header",3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-row-detail"]],template:function(r,t){r&1&&(wn(),$e(0,KH,2,2,"div",0)(1,QH,1,0,"ng-content",1)(2,tF,2,3,"div",2)),r&2&&(_e("ngIf",t.groupHeader&&t.groupHeader.template),we(),_e("ngIf",t.groupHeader&&t.groupHeader.template&&t.expanded||!t.groupHeader||!t.groupHeader.template),we(),_e("ngIf",t.rowDetail&&t.rowDetail.template&&t.expanded))},dependencies:[wt,oh,Ra],encapsulation:2,changeDetection:0}),i})(),zS=(()=>{class i{constructor(r){this.cd=r,this.selected=[],this.scroll=new Qe,this.page=new Qe,this.activate=new Qe,this.select=new Qe,this.detailToggle=new Qe,this.rowContextmenu=new Qe(!1),this.treeAction=new Qe,this.rowHeightsCache=new Gb,this.temp=[],this.offsetY=0,this.indexes={},this.rowIndexes=new WeakMap,this.rowExpansions=[],this.getDetailRowHeight=(t,n)=>{if(!this.rowDetail)return 0;let l=this.rowDetail.rowHeight;return typeof l=="function"?l(t,n):l},this.rowTrackingFn=(t,n)=>{let l=this.getRowIndex(n);return this.trackByProp?n[this.trackByProp]:l}}set pageSize(r){this._pageSize=r,this.recalcLayout()}get pageSize(){return this._pageSize}set rows(r){this._rows=r,this.recalcLayout()}get rows(){return this._rows}set columns(r){this._columns=r;let t=Oh(r);this.columnGroupWidths=Lp(t,r)}get columns(){return this._columns}set offset(r){this._offset=r,(!this.scrollbarV||this.scrollbarV&&!this.virtualization)&&this.recalcLayout()}get offset(){return this._offset}set rowCount(r){this._rowCount=r,this.recalcLayout()}get rowCount(){return this._rowCount}get bodyWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}set bodyHeight(r){this.scrollbarV?this._bodyHeight=r+"px":this._bodyHeight="auto",this.recalcLayout()}get bodyHeight(){return this._bodyHeight}get selectEnabled(){return!!this.selectionType}get scrollHeight(){if(this.scrollbarV&&this.virtualization&&this.rowCount)return this.rowHeightsCache.query(this.rowCount-1)}ngOnInit(){this.rowDetail&&(this.listener=this.rowDetail.toggle.subscribe(({type:r,value:t})=>{r==="row"&&this.toggleRowExpansion(t),r==="all"&&this.toggleAllRows(t),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()})),this.groupHeader&&(this.listener=this.groupHeader.toggle.subscribe(({type:r,value:t})=>{r==="group"&&this.toggleRowExpansion(t),r==="all"&&this.toggleAllRows(t),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()}))}ngOnDestroy(){(this.rowDetail||this.groupHeader)&&this.listener.unsubscribe()}updateOffsetY(r){if(this.scroller){if(this.scrollbarV&&this.virtualization&&r){let t=this.pageSize*r;r=this.rowHeightsCache.query(t-1)}else this.scrollbarV&&!this.virtualization&&(r=0);this.scroller.setOffset(r||0)}}onBodyScroll(r){let t=r.scrollYPos,n=r.scrollXPos;(this.offsetY!==t||this.offsetX!==n)&&this.scroll.emit({offsetY:t,offsetX:n}),this.offsetY=t,this.offsetX=n,this.updateIndexes(),this.updatePage(r.direction),this.updateRows()}updatePage(r){let t=this.indexes.first/this.pageSize;r==="up"?t=Math.ceil(t):r==="down"&&(t=Math.floor(t)),r!==void 0&&!isNaN(t)&&this.page.emit({offset:t})}updateRows(){let{first:r,last:t}=this.indexes,n=r,l=0,C=[];if(this.groupedRows){let B=3;for(this.groupedRows.length===1&&(B=this.groupedRows[0].value.length);n<t&&n<this.groupedRows.length;){let $=this.groupedRows[n];this.rowIndexes.set($,n),$.value&&$.value.forEach((K,G)=>{let q=`${n}-${G}`;this.rowIndexes.set(K,q)}),C[l]=$,l++,n++}}else for(;n<t&&n<this.rowCount;){let B=this.rows[n];B&&(this.rowIndexes.set(B,n),C[l]=B),l++,n++}this.temp=C}getRowHeight(r){return typeof this.rowHeight=="function"?this.rowHeight(r):this.rowHeight}getGroupHeight(r){let t=0;if(r.value)for(let n=0;n<r.value.length;n++)t+=this.getRowAndDetailHeight(r.value[n]);return t}getRowAndDetailHeight(r){let t=this.getRowHeight(r);return this.getRowExpanded(r)&&(t+=this.getDetailRowHeight(r)),t}getRowsStyles(r){let t={};if(this.groupedRows&&(t.width=this.columnGroupWidths.total),this.scrollbarV&&this.virtualization){let n=0;if(this.groupedRows){let C=r[r.length-1];n=C?this.getRowIndex(C):0}else n=this.getRowIndex(r);let l=this.rowHeightsCache.query(n-1);Al(t,0,l)}return t}getBottomSummaryRowStyles(){if(!this.scrollbarV||!this.rows||!this.rows.length)return null;let r={position:"absolute"},t=this.rowHeightsCache.query(this.rows.length-1);return Al(r,0,t),r}hideIndicator(){setTimeout(()=>this.loadingIndicator=!1,500)}updateIndexes(){let r=0,t=0;if(this.scrollbarV)if(this.virtualization){let n=parseInt(this.bodyHeight,0);r=this.rowHeightsCache.getRowIndex(this.offsetY),t=this.rowHeightsCache.getRowIndex(n+this.offsetY)+1}else r=0,t=this.rowCount;else this.externalPaging||(r=Math.max(this.offset*this.pageSize,0)),t=Math.min(r+this.pageSize,this.rowCount);this.indexes={first:r,last:t}}
209refreshRowHeightCache(){if(!(!this.scrollbarV||this.scrollbarV&&!this.virtualization)&&(this.rowHeightsCache.clearCache(),this.rows&&this.rows.length)){let r=new Set;for(let t of this.rows)this.getRowExpanded(t)&&r.add(t);this.rowHeightsCache.initCache({rows:this.rows,rowHeight:this.rowHeight,detailRowHeight:this.getDetailRowHeight,externalVirtual:this.scrollbarV&&this.externalPaging,rowCount:this.rowCount,rowIndexes:this.rowIndexes,rowExpansions:r})}}getAdjustedViewPortIndex(){let r=this.indexes.first;return this.scrollbarV&&this.virtualization&&this.rowHeightsCache.query(r-1)<=this.offsetY?r-1:r}toggleRowExpansion(r){let t=this.getAdjustedViewPortIndex(),n=this.getRowExpandedIdx(r,this.rowExpansions),l=n>-1;if(this.scrollbarV&&this.virtualization){let C=this.getDetailRowHeight(r)*(l?-1:1),B=this.getRowIndex(r);this.rowHeightsCache.update(B,C)}l?this.rowExpansions.splice(n,1):this.rowExpansions.push(r),this.detailToggle.emit({rows:[r],currentIndex:t})}toggleAllRows(r){this.rowExpansions=[];let t=this.getAdjustedViewPortIndex();if(r)for(let n of this.rows)this.rowExpansions.push(n);this.scrollbarV&&this.recalcLayout(),this.detailToggle.emit({rows:this.rows,currentIndex:t})}recalcLayout(){this.refreshRowHeightCache(),this.updateIndexes(),this.updateRows()}columnTrackingFn(r,t){return t.$$id}stylesByGroup(r){let t=this.columnGroupWidths,n=this.offsetX,l={width:`${t[r]}px`};if(r==="left")Al(l,n,0);else if(r==="right"){let C=parseInt(this.innerWidth+"",0),K=(t.total-C-n)*-1;Al(l,K,0)}return l}getRowExpanded(r){if(this.rowExpansions.length===0&&this.groupExpansionDefault)for(let t of this.groupedRows)this.rowExpansions.push(t);return this.getRowExpandedIdx(r,this.rowExpansions)>-1}getRowExpandedIdx(r,t){if(!t||!t.length)return-1;let n=this.rowIdentity(r);return t.findIndex(l=>this.rowIdentity(l)===n)}getRowIndex(r){return this.rowIndexes.get(r)||0}onTreeAction(r){this.treeAction.emit({row:r})}}return i.\u0275fac=function(r){return new(r||i)(Ie(ti))},i.\u0275cmp=st({type:i,selectors:[["datatable-body"]],viewQuery:function(r,t){if(r&1&&Xt(jS,5),r&2){let n;kt(n=At())&&(t.scroller=n.first)}},hostAttrs:[1,"datatable-body"],hostVars:4,hostBindings:function(r,t){r&2&&Ti("width",t.bodyWidth)("height",t.bodyHeight)},inputs:{scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",loadingIndicator:"loadingIndicator",externalPaging:"externalPaging",rowHeight:"rowHeight",offsetX:"offsetX",emptyMessage:"emptyMessage",selectionType:"selectionType",selected:"selected",rowIdentity:"rowIdentity",rowDetail:"rowDetail",groupHeader:"groupHeader",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",rowClass:"rowClass",groupedRows:"groupedRows",groupExpansionDefault:"groupExpansionDefault",innerWidth:"innerWidth",groupRowsBy:"groupRowsBy",virtualization:"virtualization",summaryRow:"summaryRow",summaryPosition:"summaryPosition",summaryHeight:"summaryHeight",pageSize:"pageSize",rows:"rows",columns:"columns",offset:"offset",rowCount:"rowCount",bodyHeight:"bodyHeight"},outputs:{scroll:"scroll",page:"page",activate:"activate",select:"select",detailToggle:"detailToggle",rowContextmenu:"rowContextmenu",treeAction:"treeAction"},decls:5,vars:9,consts:[["selector",""],["groupedRowsTemplate",""],[4,"ngIf"],[3,"select","activate","selected","rows","selectCheck","selectEnabled","selectionType","rowIdentity"],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll",4,"ngIf"],["class","empty-row",3,"innerHTML",4,"ngIf"],[3,"scroll","scrollbarV","scrollbarH","scrollHeight","scrollWidth"],[3,"rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],["role","row",3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"rowHeight","offsetX","innerWidth","rows","columns"],[3,"rowContextmenu","groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex"],["role","row","tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate",4,"ngIf","ngIfElse"],["role","row","tabindex","-1",3,"treeAction","activate","isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus"],["role","row","tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate",4,"ngFor","ngForOf","ngForTrackBy"],["role","row","tabindex","-1",3,"activate","isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass"],["role","row",3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns"],[1,"empty-row",3,"innerHTML"]],template:function(r,t){if(r&1){let n=et();$e(0,iF,1,0,"datatable-progress",2),ke(1,"datatable-selection",3,0),We("select",function(C){return Ne(n),je(t.select.emit(C))})("activate",function(C){return Ne(n),je(t.activate.emit(C))}),$e(3,hF,4,8,"datatable-scroller",4)(4,cF,1,1,"div",5),Ae()}r&2&&(_e("ngIf",t.loadingIndicator),we(),_e("selected",t.selected)("rows",t.rows)("selectCheck",t.selectCheck)("selectEnabled",t.selectEnabled)("selectionType",t.selectionType)("rowIdentity",t.rowIdentity),we(2),_e("ngIf",t.rows==null?null:t.rows.length),we(),_e("ngIf",!(t.rows!=null&&t.rows.length)&&!t.loadingIndicator))},dependencies:[qF,KF,jS,tV,iV,XS,wt,si,oh],encapsulation:2,changeDetection:0}),i})();function nV(i,e){if(i===eg.single)return e===Yr.asc?Yr.desc:Yr.asc;if(e){if(e===Yr.asc)return Yr.desc;if(e===Yr.desc)return}else return Yr.asc}function sV(i,e){if((i===null||typeof i>"u")&&(i=0),(e===null||typeof e>"u")&&(e=0),i instanceof Date&&e instanceof Date){if(i<e)return-1;if(i>e)return 1}else if(isNaN(parseFloat(i))||!isFinite(i)||isNaN(parseFloat(e))||!isFinite(e)){if(i=String(i),e=String(e),i.toLowerCase()<e.toLowerCase())return-1;if(i.toLowerCase()>e.toLowerCase())return 1}else{if(parseFloat(i)<parseFloat(e))return-1;if(parseFloat(i)>parseFloat(e))return 1}return 0}function rV(i,e,r){if(!i)return[];if(!r||!r.length||!e)return[...i];let t=new Map;
209i.forEach((B,$)=>t.set(B,$));let n=[...i],l=e.reduce((B,$)=>($.comparator&&typeof $.comparator=="function"&&(B[$.prop]=$.comparator),B),{}),C=r.map(B=>{let $=B.prop;return{prop:$,dir:B.dir,valueGetter:ey($),compareFn:l[$]||sV}});return n.sort(function(B,$){for(let K of C){let{prop:G,valueGetter:q}=K,Z=q(B,G),R=q($,G),Y=K.dir!==Yr.desc?K.compareFn(Z,R,B,$,K.dir):-K.compareFn(Z,R,B,$,K.dir);if(Y!==0)return Y}return t.has(B)&&t.has($)?t.get(B)<t.get($)?-1:1:0})}var oV=(()=>{class i{constructor(r){this.cd=r,this.sort=new Qe,this.select=new Qe,this.columnContextmenu=new Qe(!1),this.sortFn=this.onSort.bind(this),this.selectFn=this.select.emit.bind(this.select),this.cellContext={column:this.column,sortDir:this.sortDir,sortFn:this.sortFn,allRowsSelected:this.allRowsSelected,selectFn:this.selectFn}}set allRowsSelected(r){this._allRowsSelected=r,this.cellContext.allRowsSelected=r}get allRowsSelected(){return this._allRowsSelected}set column(r){this._column=r,this.cellContext.column=r,this.cd.markForCheck()}get column(){return this._column}set sorts(r){this._sorts=r,this.sortDir=this.calcSortDir(r),this.cellContext.sortDir=this.sortDir,this.sortClass=this.calcSortClass(this.sortDir),this.cd.markForCheck()}get sorts(){return this._sorts}get columnCssClasses(){let r="datatable-header-cell";if(this.column.sortable&&(r+=" sortable"),this.column.resizeable&&(r+=" resizeable"),this.column.headerClass){if(typeof this.column.headerClass=="string")r+=" "+this.column.headerClass;else if(typeof this.column.headerClass=="function"){let n=this.column.headerClass({column:this.column});if(typeof n=="string")r+=n;else if(typeof n=="object"){let l=Object.keys(n);for(let C of l)n[C]===!0&&(r+=` ${C}`)}}}let t=this.sortDir;return t&&(r+=` sort-active sort-${t}`),r}get name(){return this.column.headerTemplate===void 0?this.column.name:void 0}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get width(){return this.column.width}get isCheckboxable(){return this.column.checkboxable&&this.column.headerCheckboxable&&this.selectionType===Eo.checkbox}onContextmenu(r){this.columnContextmenu.emit({event:r,column:this.column})}ngOnInit(){this.sortClass=this.calcSortClass(this.sortDir)}calcSortDir(r){if(r&&this.column){let t=r.find(n=>n.prop===this.column.prop);if(t)return t.dir}}onSort(){if(!this.column.sortable)return;let r=nV(this.sortType,this.sortDir);this.sort.emit({column:this.column,prevValue:this.sortDir,newValue:r})}calcSortClass(r){if(this.cellContext.column.sortable)return r===Yr.asc?`sort-btn sort-asc ${this.sortAscendingIcon}`:r===Yr.desc?`sort-btn sort-desc ${this.sortDescendingIcon}`:`sort-btn ${this.sortUnsetIcon}`}}return i.\u0275fac=function(r){return new(r||i)(Ie(ti))},i.\u0275cmp=st({type:i,selectors:[["datatable-header-cell"]],hostAttrs:[1,"datatable-header-cell"],hostVars:11,hostBindings:function(r,t){r&1&&We("contextmenu",function(l){return t.onContextmenu(l)}),r&2&&($i("title",t.name),xi(t.columnCssClasses),Ti("height",t.headerHeight,"px")("min-width",t.minWidth,"px")("max-width",t.maxWidth,"px")("width",t.width,"px"))},inputs:{sortType:"sortType",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",isTarget:"isTarget",targetMarkerTemplate:"targetMarkerTemplate",targetMarkerContext:"targetMarkerContext",allRowsSelected:"allRowsSelected",selectionType:"selectionType",column:"column",headerHeight:"headerHeight",sorts:"sorts"},outputs:{sort:"sort",select:"select",columnContextmenu:"columnContextmenu"},decls:6,vars:6,consts:[[1,"datatable-header-cell-template-wrap"],[4,"ngIf"],["class","datatable-checkbox",4,"ngIf"],["class","datatable-header-cell-wrapper",4,"ngIf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-checkbox"],["type","checkbox",3,"change","checked"],[1,"datatable-header-cell-wrapper"],[1,"datatable-header-cell-label","draggable",3,"click","innerHTML"]],template:function(r,t){r&1&&(ke(0,"div",0),$e(1,dF,1,2,null,1)(2,pF,2,1,"label",2)(3,fF,2,1,"span",3)(4,gF,1,2,null,1),ke(5,"span",4),We("click",function(){return t.onSort()}),Ae()()),r&2&&(we(),_e("ngIf",t.isTarget),we(),_e("ngIf",t.isCheckboxable),we(),_e("ngIf",!t.column.headerTemplate),we(),_e("ngIf",t.column.headerTemplate),we(),xi(t.sortClass))},dependencies:[wt,Ra],encapsulation:2,changeDetection:0}),i})(),$S=(()=>{class i{constructor(r){this.cd=r,this.sort=new Qe,this.reorder=new Qe,this.resize=new Qe,this.select=new Qe,this.columnContextmenu=new Qe(!1),this._columnGroupWidths={total:100},this._styleByGroup={left:{},center:{},right:{}},this.destroyed=!1}set innerWidth(r){this._innerWidth=r,setTimeout(()=>{if(this._columns){let t=Oh(this._columns);
209this._columnGroupWidths=Lp(t,this._columns),this.setStylesByGroup()}})}get innerWidth(){return this._innerWidth}set headerHeight(r){r!=="auto"?this._headerHeight=`${r}px`:this._headerHeight=r}get headerHeight(){return this._headerHeight}set columns(r){this._columns=r;let t=Oh(r);this._columnsByPin=GS(r),setTimeout(()=>{this._columnGroupWidths=Lp(t,r),this.setStylesByGroup()})}get columns(){return this._columns}set offsetX(r){this._offsetX=r,this.setStylesByGroup()}get offsetX(){return this._offsetX}ngOnDestroy(){this.destroyed=!0}onLongPressStart({event:r,model:t}){t.dragging=!0,this.dragEventTarget=r}onLongPressEnd({event:r,model:t}){this.dragEventTarget=r,setTimeout(()=>{let n=this._columns.find(l=>l.$$id===t.$$id);n&&(n.dragging=!1)},5)}get headerWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}trackByGroups(r,t){return t.type}columnTrackingFn(r,t){return t.$$id}onColumnResized(r,t){r<=t.minWidth?r=t.minWidth:r>=t.maxWidth&&(r=t.maxWidth),this.resize.emit({column:t,prevValue:t.width,newValue:r})}onColumnReordered({prevIndex:r,newIndex:t,model:n}){let l=this.getColumn(t);l.isTarget=!1,l.targetMarkerContext=void 0,this.reorder.emit({column:n,prevValue:r,newValue:t})}onTargetChanged({prevIndex:r,newIndex:t,initialIndex:n}){if(r||r===0){let l=this.getColumn(r);l.isTarget=!1,l.targetMarkerContext=void 0}if(t||t===0){let l=this.getColumn(t);l.isTarget=!0,n!==t&&(l.targetMarkerContext={class:"targetMarker ".concat(n>t?"dragFromRight":"dragFromLeft")})}}getColumn(r){let t=this._columnsByPin[0].columns.length;if(r<t)return this._columnsByPin[0].columns[r];let n=this._columnsByPin[1].columns.length;return r<t+n?this._columnsByPin[1].columns[r-t]:this._columnsByPin[2].columns[r-t-n]}onSort({column:r,prevValue:t,newValue:n}){if(r.dragging)return;let l=this.calcNewSorts(r,t,n);this.sort.emit({sorts:l,column:r,prevValue:t,newValue:n})}calcNewSorts(r,t,n){let l=0;this.sorts||(this.sorts=[]);let C=this.sorts.map((B,$)=>(B=ze({},B),B.prop===r.prop&&(l=$),B));return n===void 0?C.splice(l,1):t?C[l].dir=n:(this.sortType===eg.single&&C.splice(0,this.sorts.length),C.push({dir:n,prop:r.prop})),C}setStylesByGroup(){this._styleByGroup.left=this.calcStylesByGroup("left"),this._styleByGroup.center=this.calcStylesByGroup("center"),this._styleByGroup.right=this.calcStylesByGroup("right"),this.destroyed||this.cd.detectChanges()}calcStylesByGroup(r){let t=this._columnGroupWidths,n=this.offsetX,l={width:`${t[r]}px`};if(r==="center")Al(l,n*-1,0);else if(r==="right"){let B=(t.total-this.innerWidth)*-1;Al(l,B,0)}return l}}return i.\u0275fac=function(r){return new(r||i)(Ie(ti))},i.\u0275cmp=st({type:i,selectors:[["datatable-header"]],hostAttrs:[1,"datatable-header"],hostVars:4,hostBindings:function(r,t){r&2&&Ti("height",t.headerHeight)("width",t.headerWidth)},inputs:{sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",scrollbarH:"scrollbarH",dealsWithGroup:"dealsWithGroup",targetMarkerTemplate:"targetMarkerTemplate",innerWidth:"innerWidth",sorts:"sorts",sortType:"sortType",allRowsSelected:"allRowsSelected",selectionType:"selectionType",reorderable:"reorderable",headerHeight:"headerHeight",columns:"columns",offsetX:"offsetX"},outputs:{sort:"sort",reorder:"reorder",resize:"resize",select:"select",columnContextmenu:"columnContextmenu"},decls:2,vars:4,consts:[["role","row","orderable","",1,"datatable-header-inner",3,"reorder","targetChanged"],[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["role","columnheader","resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],["role","columnheader","resizeable","","long-press","","draggable","",3,"resize","longPressStart","longPressEnd","sort","select","columnContextmenu","resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected"]],template:function(r,t){r&1&&(ke(0,"div",0),We("reorder",function(l){return t.onColumnReordered(l)})("targetChanged",function(l){return t.onTargetChanged(l)}),$e(1,bF,2,5,"div",1),Ae()),r&2&&(Ti("width",t._columnGroupWidths.total,"px"),we(),_e("ngForOf",t._columnsByPin)("ngForTrackBy",t.trackByGroups))},dependencies:[oV,LF,si,oh,DF,PF,US],encapsulation:2,changeDetection:0}),i})();function aV(i,e,r){r=r||{};let t,n,l,C=null,B=0;function $(){B=r.leading===!1?0:+new Date,C=null,l=i.apply(t,n)}return function(){let K=+new Date;!B&&r.leading===!1&&(B=K);let G=e-(K-B);return t=this,n=arguments,G<=0?(clearTimeout(C),C=null,B=K,l=i.apply(t,n)):!C&&r.trailing!==!1&&(C=setTimeout($,G)),l}}function lV(i,e){return function(t,n,l){return{configurable:!0,enumerable:l.enumerable,get:function(){return Object.defineProperty(this,n,{configurable:!0,enumerable:l.enumerable,value:aV(l.value,i,e)}),this[n]}}}}function hV(i){let e=0;for(let r of i)e+=r.flexGrow||0;return e}function cV(i,e){let r=WF(i),t=hV(i),n=Oh(i);r!==e&&uV(n,e,t)}function uV(i,e,r){for(let l in i)for(let C of i[l])C.canAutoResize?C.width=0:(e-=C.width,r-=C.flexGrow?C.flexGrow:0);let t={},n=e;do{let l=n/r;n=0;for(let C in i)for(let B of i[C])if(B.canAutoResize&&!t[B.prop]){let $=B.width+B.flexGrow*l;B.minWidth!==void 0&&$<B.minWidth?(n+=$-B.minWidth,B.width=B.minWidth,t[B.prop]=!0):B.width=$}}while(n!==0)}function dV(i,e,r,t,n=300){let l=i.slice(r+1,i.length).filter(Z=>Z.canAutoResize!==!1);for(let Z of l)Z.$$oldWidth||(Z.$$oldWidth=Z.width);let C=0,B=!1,$=WS(i,n),K=e-$,G=[],q=1;do{C=K/l.length,B=$>=e;for(let Z of l){if(B&&t)Z.width=Z.$$oldWidth||Z.width||n;else{let R=(Z.width||n)+C;
209Z.minWidth&&R<Z.minWidth?(Z.width=Z.minWidth,G.push(Z)):Z.maxWidth&&R>Z.maxWidth?(Z.width=Z.maxWidth,G.push(Z)):Z.width=R}Z.width=Math.max(0,Z.width)}$=WS(i),K=e-$,pV(l,G)}while(K>q&&l.length!==0)}function pV(i,e){for(let r of e){let t=i.indexOf(r);i.splice(t,1)}}function WS(i,e=300){let r=0;for(let t of i)r+=t.width||e;return r}var ry=(()=>{class i{constructor(){this.change=new Qe,this._count=0,this._page=1,this._size=0}set size(r){this._size=r,this.pages=this.calcPages()}get size(){return this._size}set count(r){this._count=r,this.pages=this.calcPages()}get count(){return this._count}set page(r){this._page=r,this.pages=this.calcPages()}get page(){return this._page}get totalPages(){let r=this.size<1?1:Math.ceil(this.count/this.size);return Math.max(r||0,1)}canPrevious(){return this.page>1}canNext(){return this.page<this.totalPages}prevPage(){this.selectPage(this.page-1)}nextPage(){this.selectPage(this.page+1)}selectPage(r){r>0&&r<=this.totalPages&&r!==this.page&&(this.page=r,this.change.emit({page:r}))}calcPages(r){let t=[],n=1,l=this.totalPages,C=5,B=C<this.totalPages;r=r||this.page,B&&(n=r-Math.floor(C/2),l=r+Math.floor(C/2),n<1?(n=1,l=Math.min(n+C-1,this.totalPages)):l>this.totalPages&&(n=Math.max(this.totalPages-C+1,1),l=this.totalPages));for(let $=n;$<=l;$++)t.push({number:$,text:$});return t}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=st({type:i,selectors:[["datatable-pager"]],hostAttrs:[1,"datatable-pager"],inputs:{pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",size:"size",count:"count",page:"page"},outputs:{change:"change"},decls:14,vars:21,consts:[[1,"pager"],["role","button","aria-label","go to first page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to previous page","href","javascript:void(0)",3,"click"],["role","button","class","pages",3,"active",4,"ngFor","ngForOf"],["role","button","aria-label","go to next page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to last page","href","javascript:void(0)",3,"click"],["role","button",1,"pages"],["href","javascript:void(0)",3,"click"]],template:function(r,t){r&1&&(ke(0,"ul",0)(1,"li")(2,"a",1),We("click",function(){return t.selectPage(1)}),Ke(3,"i"),Ae()(),ke(4,"li")(5,"a",2),We("click",function(){return t.prevPage()}),Ke(6,"i"),Ae()(),$e(7,yF,3,4,"li",3),ke(8,"li")(9,"a",4),We("click",function(){return t.nextPage()}),Ke(10,"i"),Ae()(),ke(11,"li")(12,"a",5),We("click",function(){return t.selectPage(t.totalPages)}),Ke(13,"i"),Ae()()()),r&2&&(we(),ht("disabled",!t.canPrevious()),we(2),xi(t.pagerPreviousIcon),we(),ht("disabled",!t.canPrevious()),we(2),xi(t.pagerLeftArrowIcon),we(),_e("ngForOf",t.pages),we(),ht("disabled",!t.canNext()),we(2),xi(t.pagerRightArrowIcon),we(),ht("disabled",!t.canNext()),we(2),xi(t.pagerNextIcon))},dependencies:[si],encapsulation:2,changeDetection:0}),i})(),fV=(()=>{class i{constructor(){this.selectedCount=0,this.page=new Qe}get isVisible(){return this.rowCount/this.pageSize>1}get curPage(){return this.offset+1}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=st({type:i,selectors:[["datatable-footer"]],hostAttrs:[1,"datatable-footer"],inputs:{footerHeight:"footerHeight",rowCount:"rowCount",pageSize:"pageSize",offset:"offset",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",totalMessage:"totalMessage",footerTemplate:"footerTemplate",selectedCount:"selectedCount",selectedMessage:"selectedMessage"},outputs:{page:"page"},decls:4,vars:8,consts:[[1,"datatable-footer-inner",3,"ngClass"],[4,"ngIf"],["class","page-count",4,"ngIf"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"page-count"],[3,"change","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden"]],template:function(r,t){r&1&&(ke(0,"div",0),$e(1,_F,1,8,null,1)(2,SF,3,3,"div",2)(3,MF,1,8,"datatable-pager",3),Ae()),r&2&&(Ti("height",t.footerHeight,"px"),_e("ngClass",ih(6,vF,t.selectedMessage)),we(),_e("ngIf",t.footerTemplate),we(),_e("ngIf",!t.footerTemplate),we(),_e("ngIf",!t.footerTemplate))},dependencies:[ry,jo,wt,Ra],encapsulation:2,changeDetection:0}),i})(),qS=(()=>{class i{constructor(r,t,n,l,C,B,$){this.scrollbarHelper=r,this.dimensionsHelper=t,this.cd=n,this.columnChangesService=B,this.configuration=$,this.selected=[],this.scrollbarV=!1,this.scrollbarH=!1,this.rowHeight=30,this.columnMode=Qm.standard,this.headerHeight=30,this.footerHeight=0,this.externalPaging=!1,this.externalSorting=!1,this.loadingIndicator=!1,this.reorderable=!0,this.swapColumns=!0,this.sortType=eg.single,this.sorts=[],this.cssClasse
209s={sortAscending:"datatable-icon-up",sortDescending:"datatable-icon-down",sortUnset:"datatable-icon-sort-unset",pagerLeftArrow:"datatable-icon-left",pagerRightArrow:"datatable-icon-right",pagerPrevious:"datatable-icon-prev",pagerNext:"datatable-icon-skip"},this.messages={emptyMessage:"No data to display",totalMessage:"total",selectedMessage:"selected"},this.groupExpansionDefault=!1,this.selectAllRowsOnPage=!1,this.virtualization=!0,this.summaryRow=!1,this.summaryHeight=30,this.summaryPosition="top",this.scroll=new Qe,this.activate=new Qe,this.select=new Qe,this.sort=new Qe,this.page=new Qe,this.reorder=new Qe,this.resize=new Qe,this.tableContextmenu=new Qe(!1),this.treeAction=new Qe,this.rowCount=0,this._offsetX=new ar(0),this._count=0,this._offset=0,this._subscriptions=[],this.rowIdentity=K=>this._groupRowsBy?K.key:K,this.element=l.nativeElement,this.rowDiffer=C.find({}).create(),this.configuration&&this.configuration.messages&&(this.messages=ze({},this.configuration.messages))}set rows(r){this._rows=r,r&&(this._internalRows=[...r]),this.externalSorting||this.sortInternalRows(),this._internalRows=zb(this._internalRows,mu(this.treeFromRelation),mu(this.treeToRelation)),this.recalculate(),this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)),this.cd.markForCheck()}get rows(){return this._rows}set groupRowsBy(r){r&&(this._groupRowsBy=r,this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)))}get groupRowsBy(){return this._groupRowsBy}set columns(r){r&&(this._internalColumns=[...r],HS(this._internalColumns),this.recalculateColumns()),this._columns=r}get columns(){return this._columns}set limit(r){this._limit=r,this.recalculate()}get limit(){return this._limit}set count(r){this._count=r,this.recalculate()}get count(){return this._count}set offset(r){this._offset=r}get offset(){return Math.max(Math.min(this._offset,Math.ceil(this.rowCount/this.pageSize)-1),0)}get isFixedHeader(){let r=this.headerHeight;return typeof r=="string"?r!=="auto":!0}get isFixedRow(){return this.rowHeight!=="auto"}get isVertScroll(){return this.scrollbarV}get isVirtualized(){return this.virtualization}get isHorScroll(){return this.scrollbarH}get isSelectable(){return this.selectionType!==void 0}get isCheckboxSelection(){return this.selectionType===Eo.checkbox}get isCellSelection(){return this.selectionType===Eo.cell}get isSingleSelection(){return this.selectionType===Eo.single}get isMultiSelection(){return this.selectionType===Eo.multi}get isMultiClickSelection(){return this.selectionType===Eo.multiClick}set columnTemplates(r){this._columnTemplates=r,this.translateColumns(r)}get columnTemplates(){return this._columnTemplates}get allRowsSelected(){let r=this.rows&&this.selected&&this.selected.length===this.rows.length;if(this.bodyComponent&&this.selectAllRowsOnPage){let t=this.bodyComponent.indexes,n=t.last-t.first;r=this.selected.length===n}return this.selected&&this.rows&&this.rows.length!==0&&r}ngOnInit(){this.recalculate()}ngAfterViewInit(){this.externalSorting||this.sortInternalRows(),!(typeof requestAnimationFrame>"u")&&requestAnimationFrame(()=>{this.recalculate(),this.externalPaging&&this.scrollbarV&&this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:0})})}ngAfterContentInit(){this.columnTemplates.changes.subscribe(r=>this.translateColumns(r)),this.listenForColumnInputChanges()}translateColumns(r){if(r){let t=r.toArray();t.length&&(this._internalColumns=HF(t),HS(this._internalColumns),this.recalculateColumns(),this.sortInternalRows(),this.cd.markForCheck())}}groupArrayBy(r,t){let n=new Map,l=0;r.forEach(B=>{let $=B[t];n.has($)?n.get($).push(B):n.set($,[B]),l++});let C=(B,$)=>({key:B,value:$});return Array.from(n,B=>C(B[0],B[1]))}ngDoCheck(){this.rowDiffer.diff(this.rows)&&(this.externalSorting?this._internalRows=[...this.rows]:this.sortInternalRows(),this._internalRows=zb(this._internalRows,mu(this.treeFromRelation),mu(this.treeToRelation)),this.recalculatePages(),this.cd.markForCheck())}recalculate(){this.recalculateDims(),this.recalculateColumns(),this.cd.markForCheck()}onWindowResize(){this.recalculate()}recalculateColumns(r=this._internalColumns,t=-1,n=this.scrollbarH){if(!r)return;let l=this._innerWidth;return this.scrollbarV&&(l=l-this.scrollbarHelper.width),this.columnMode===Qm.force?dV(r,l,t,n):this.columnMode===Qm.flex&&cV(r,l),r}recalculateDims(){let r=this.dimensionsHelper.getDimensions(this.element);if(this._innerWidth=Math.floor(r.width),this.scrollbarV){let t=r.height;this.headerHeight&&(t=t-this.headerHeight),this.footerHeight&&(t=t-this.footerHeight),this.bodyHeight=t}this.recalculatePages()}recalculatePages(){this.pageSize=this.calcPageSize(),this.rowCount=this.calcRowCount()}onBodyPage({offset:r}){this.externalPaging&&!this.virtualization||(this.offset=r,this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}))}onBodyScroll(r){this._offsetX.next(r.offsetX),this.scroll.emit(r),this.cd.detectChanges()}onFooterPage(r){this.offset=r.page-1,this.bodyComponent.updateOffsetY(this.offset),this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}),this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected}))}calcPageSize(r=this.rows){if(this.scrollbarV&&this.virtualization){let t=Math.ceil(this.bodyHeight/this.rowHeight);return Math.max(t,0)}return this.limit!==void 0?this.limit:r?r.length:0}calcRowCount(r=this.rows){return this.externalPaging?this.count:r?this.groupedRows?this.groupedRows.length:this.treeFromRelation!=null&&this.treeToRelation!=null?this._internalRows.length:r.length:0}onColumnContextmenu({event:r,column:t}){this.tableContextmenu.emit({event:r,type:Ub.header,content:t})}onRowContextmenu({event:r,row:t}){this.tableContextmenu.emit({event:r,type:Ub.body,content:t})}onColumnResize({column:r,newValue:t}
209){if(r===void 0)return;let n,l=this._internalColumns.map((C,B)=>(C=ze({},C),C.$$id===r.$$id&&(n=B,C.width=t,C.$$oldWidth=t),C));this.recalculateColumns(l,n),this._internalColumns=l,this.resize.emit({column:r,newValue:t})}onColumnReorder({column:r,newValue:t,prevValue:n}){let l=this._internalColumns.map(C=>ze({},C));if(this.swapColumns){let C=l[t];l[t]=r,l[n]=C}else if(t>n){let C=l[n];for(let B=n;B<t;B++)l[B]=l[B+1];l[t]=C}else{let C=l[n];for(let B=n;B>t;B--)l[B]=l[B-1];l[t]=C}this._internalColumns=l,this.reorder.emit({column:r,newValue:t,prevValue:n})}onColumnSort(r){this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected})),this.sorts=r.sorts,this.externalSorting===!1&&this.sortInternalRows(),this._internalRows=zb(this._internalRows,mu(this.treeFromRelation),mu(this.treeToRelation)),this.offset=0,this.bodyComponent.updateOffsetY(this.offset),this.sort.emit(r)}onHeaderSelect(r){if(this.bodyComponent&&this.selectAllRowsOnPage){let t=this.bodyComponent.indexes.first,n=this.bodyComponent.indexes.last,l=this.selected.length===n-t;this.selected=[],l||this.selected.push(...this._internalRows.slice(t,n))}else{let t=this.selected.length===this.rows.length;this.selected=[],t||this.selected.push(...this.rows)}this.select.emit({selected:this.selected})}onBodySelect(r){this.select.emit(r)}onTreeAction(r){let t=r.row,n=this._rows.findIndex(l=>l[this.treeToRelation]===r.row[this.treeToRelation]);this.treeAction.emit({row:t,rowIndex:n})}ngOnDestroy(){this._subscriptions.forEach(r=>r.unsubscribe())}listenForColumnInputChanges(){this._subscriptions.push(this.columnChangesService.columnInputChanges$.subscribe(()=>{this.columnTemplates&&this.columnTemplates.notifyOnChanges()}))}sortInternalRows(){this._internalRows=rV(this._internalRows,this._internalColumns,this.sorts)}}return i.\u0275fac=function(r){return new(r||i)(Ie(qb,4),Ie(YS,4),Ie(ti),Ie(Bt),Ie(pd),Ie(Zb),Ie("configuration",8))},i.\u0275cmp=st({type:i,selectors:[["ngx-datatable"]],contentQueries:function(r,t,n){if(r&1&&(Xs(n,ny,5),Xs(n,Jb,5),Xs(n,sy,5),Xs(n,$F,4)),r&2){let l;kt(l=At())&&(t.rowDetail=l.first),kt(l=At())&&(t.groupHeader=l.first),kt(l=At())&&(t.footer=l.first),kt(l=At())&&(t.columnTemplates=l)}},viewQuery:function(r,t){if(r&1&&(Xt(zS,5),Xt($S,5)),r&2){let n;kt(n=At())&&(t.bodyComponent=n.first),kt(n=At())&&(t.headerComponent=n.first)}},hostAttrs:[1,"ngx-datatable"],hostVars:22,hostBindings:function(r,t){r&1&&We("resize",function(){return t.onWindowResize()},!1,GC),r&2&&ht("fixed-header",t.isFixedHeader)("fixed-row",t.isFixedRow)("scroll-vertical",t.isVertScroll)("virtualized",t.isVirtualized)("scroll-horz",t.isHorScroll)("selectable",t.isSelectable)("checkbox-selection",t.isCheckboxSelection)("cell-selection",t.isCellSelection)("single-selection",t.isSingleSelection)("multi-selection",t.isMultiSelection)("multi-click-selection",t.isMultiClickSelection)},inputs:{targetMarkerTemplate:"targetMarkerTemplate",rows:"rows",groupRowsBy:"groupRowsBy",groupedRows:"groupedRows",columns:"columns",selected:"selected",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",rowHeight:"rowHeight",columnMode:"columnMode",headerHeight:"headerHeight",footerHeight:"footerHeight",externalPaging:"externalPaging",externalSorting:"externalSorting",limit:"limit",count:"count",offset:"offset",loadingIndicator:"loadingIndicator",selectionType:"selectionType",reorderable:"reorderable",swapColumns:"swapColumns",sortType:"sortType",sorts:"sorts",cssClasses:"cssClasse
209s",messages:"messages",rowClass:"rowClass",selectCheck:"selectCheck",displayCheck:"displayCheck",groupExpansionDefault:"groupExpansionDefault",trackByProp:"trackByProp",selectAllRowsOnPage:"selectAllRowsOnPage",virtualization:"virtualization",treeFromRelation:"treeFromRelation",treeToRelation:"treeToRelation",summaryRow:"summaryRow",summaryHeight:"summaryHeight",summaryPosition:"summaryPosition",rowIdentity:"rowIdentity"},outputs:{scroll:"scroll",activate:"activate",select:"select",sort:"sort",page:"page",reorder:"reorder",resize:"resize",tableContextmenu:"tableContextmenu",treeAction:"treeAction"},decls:5,vars:34,consts:[["role","table","visibilityObserver","",3,"visible"],["role","rowgroup",3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu",4,"ngIf"],["role","rowgroup",3,"page","activate","rowContextmenu","select","scroll","treeAction","groupRowsBy","groupedRows","rows","groupExpansionDefault","scrollbarV","scrollbarH","virtualization","loadingIndicator","externalPaging","rowHeight","rowCount","offset","trackByProp","columns","pageSize","offsetX","rowDetail","groupHeader","selected","innerWidth","bodyHeight","selectionType","emptyMessage","rowIdentity","rowClass","selectCheck","displayCheck","summaryRow","summaryHeight","summaryPosition"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page",4,"ngIf"],["role","rowgroup",3,"sort","resize","reorder","select","columnContextmenu","sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType"],[3,"page","rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon"]],template:function(r,t){r&1&&(ke(0,"div",0),We("visible",function(){return t.recalculate()}),$e(1,TF,2,17,"datatable-header",1),ke(2,"datatable-body",2),St(3,"async"),We("page",function(l){return t.onBodyPage(l)})("activate",function(l){return t.activate.emit(l)})("rowContextmenu",function(l){return t.onRowContextmenu(l)})("select",function(l){return t.onBodySelect(l)})("scroll",function(l){return t.onBodyScroll(l)})("treeAction",function(l){return t.onTreeAction(l)}),Ae(),$e(4,kF,1,12,"datatable-footer",3),Ae()),r&2&&(we(),_e("ngIf",t.headerHeight),we(),_e("groupRowsBy",t.groupRowsBy)("groupedRows",t.groupedRows)("rows",t._internalRows)("groupExpansionDefault",t.groupExpansionDefault)("scrollbarV",t.scrollbarV)("scrollbarH",t.scrollbarH)("virtualization",t.virtualization)("loadingIndicator",t.loadingIndicator)("externalPaging",t.externalPaging)("rowHeight",t.rowHeight)("rowCount",t.rowCount)("offset",t.offset)("trackByProp",t.trackByProp)("columns",t._internalColumns)("pageSize",t.pageSize)("offsetX",Tt(3,32,t._offsetX))("rowDetail",t.rowDetail)("groupHeader",t.groupHeader)("selected",t.selected)("innerWidth",t._innerWidth)("bodyHeight",t.bodyHeight)("selectionType",t.selectionType)("emptyMessage",t.messages.emptyMessage)("rowIdentity",t.rowIdentity)("rowClass",t.rowClass)("selectCheck",t.selectCheck)("displayCheck",t.displayCheck)("summaryRow",t.summaryRow)("summaryHeight",t.summaryHeight)("summaryPosition",t.summaryPosition),we(2),_e("ngIf",t.footerHeight))},dependencies:[$S,zS,fV,AF,wt,ah],styles:[`.ngx-datatable{display:block;overflow:hidden;justify-content:center;position:relative;transform:translate(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable *:before,.ngx-datatable *:after{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{overflow-x:auto;-webkit-overflow-scrolling:touch}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-header-inner{display:flex;flex-direction:row;-o-flex-flow:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{overflow-x:hidden;vertical-align:top;display:inline-block;line-height:1.625}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{align-items:stretch;-webkit-align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{position:relative;display:inline-block}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{line-height:100%;vertical-align:middle;display:inline-block;cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{display:inline-block;position:absolute;right:0;top:0;bottom:0;width:5px;padding:0 4px;visibility:hidden}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{position:absolute;top:0;bottom:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{position:relative;z-index:10;display:block}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;width:100%;overflow:auto}.ngx-datatable .datatable-footer .datatable-footer-inner{display:flex;align-items:center;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{padding:0;margin:0;display:inline-block;list-style:none}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{curs
209or:not-allowed} 210`],encapsulation:2,changeDetection:0}),cf([lV(5)],i.prototype,"onWindowResize",null),i})(),ZS=(()=>{class i{static forRoot(r){return{ngModule:i,providers:[{provide:"configuration",useValue:r}]}}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275mod=Yt({type:i}),i.\u0275inj=Wt({providers:[qb,YS,Zb],imports:[[Sn]]}),i})();typeof document<"u"&&!document.elementsFromPoint&&(document.elementsFromPoint=mV);function mV(i,e){let r=[],t=[],n,l,C;for(;(n=document.elementFromPoint(i,e))&&r.indexOf(n)===-1&&n!=null;)r.push(n),t.push({value:n.style.getPropertyValue("pointer-events"),priority:n.style.getPropertyPriority("pointer-events")}),n.style.setProperty("pointer-events","none","important");for(l=t.length;C=t[--l];)r[l].style.setProperty("pointer-events",C.value?C.value:"",C.priority);return r}function KS(i){return i.buttons===0||i.detail===0}function QS(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function mM(i){let e=i.cloneNode(!0),r=e.querySelectorAll("[id]"),t=i.nodeName.toLowerCase();e.removeAttribute("id");for(let n=0;n<r.length;n++)r[n].removeAttribute("id");return t==="canvas"?tM(i,e):(t==="input"||t==="select"||t==="textarea")&&eM(i,e),JS("canvas",i,e,tM),JS("input, textarea, select",i,e,eM),e}function JS(i,e,r,t){let n=e.querySelectorAll(i);if(n.length){let l=r.querySelectorAll(i);for(let C=0;C<n.length;C++)t(n[C],l[C])}}var EV=0;function eM(i,e){e.type!=="file"&&(e.value=i.value),e.type==="radio"&&e.name&&(e.name=`mat-clone-${e.name}-${EV++}`)}function tM(i,e){let r=e.getContext("2d");if(r)try{r.drawImage(i,0,0)}catch{}}function dy(i){let e=i.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function ay(i,e,r){let{top:t,bottom:n,left:l,right:C}=i;return r>=t&&r<=n&&e>=l&&e<=C}function Op(i,e,r){i.top+=e,i.bottom=i.top+i.height,i.left+=r,i.right=i.left+i.width}function iM(i,e,r,t){let{top:n,right:l,bottom:C,left:B,width:$,height:K}=i,G=$*e,q=K*e;return t>n-q&&t<C+q&&r>B-G&&r<l+G}var rg=class{constructor(e){this._document=e,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),e.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:dy(r)})})}handleScroll(e){let r=Zd(e),t=this.positions.get(r);if(!t)return null;let n=t.scrollPosition,l,C;if(r===this._document){let K=this.getViewportScrollPosition();l=K.top,C=K.left}else l=r.scrollTop,C=r.scrollLeft;let B=n.top-l,$=n.left-C;return this.positions.forEach((K,G)=>{K.clientRect&&r!==G&&r.contains(G)&&Op(K.clientRect,B,$)}),n.top=l,n.left=C,{top:B,left:$}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function gM(i,e){let r=i.rootNodes;if(r.length===1&&r[0].nodeType===e.ELEMENT_NODE)return r[0];let t=e.createElement("div");return r.forEach(n=>t.appendChild(n)),t}function py(i,e,r){for(let t in e)if(e.hasOwnProperty(t)){let n=e[t];n?i.setProperty(t,n,r!=null&&r.has(t)?"important":""):i.removeProperty(t)}return i}function gu(i,e){let r=e?"":"none";py(i.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function nM(i,e,r){py(i.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},r)}function og(i,e){return e&&e!="none"?i+" "+e:i}function sM(i,e){i.style.width=`${e.width}px`,i.style.height=`${e.height}px`,i.style.transform=ag(e.left,e.top)}function ag(i,e){return`translate3d(${Math.round(i)}px, ${Math.round(e)}px, 0)`}function rM(i){let e=i.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(i)*e}function bV(i){let e=getComputedStyle(i),r=oy(e,"transition-property"),t=r.find(B=>B==="transform"||B==="all");if(!t)return 0;let n=r.indexOf(t),l=oy(e,"transition-duration"),C=oy(e,"transition-delay");return rM(l[n])+rM(C[n])}function oy(i,e){return i.getPropertyValue(e).split(",").map(t=>t.trim())}
210var yV=new Set(["position"]),ly=class{get element(){return this._preview}constructor(e,r,t,n,l,C,B,$,K){this._document=e,this._rootElement=r,this._direction=t,this._initialDomRect=n,this._previewTemplate=l,this._previewClass=C,this._pickupPositionOnPage=B,this._initialTransform=$,this._zIndex=K}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),oM(this._preview)&&this._preview.showPopover()}destroy(){var e;this._preview.remove(),(e=this._previewEmbeddedView)==null||e.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return bV(this._preview)}addEventListener(e,r){this._preview.addEventListener(e,r)}removeEventListener(e,r){this._preview.removeEventListener(e,r)}_createPreview(){let e=this._previewTemplate,r=this._previewClass,t=e?e.template:null,n;if(t&&e){let l=e.matchSize?this._initialDomRect:null,C=e.viewContainer.createEmbeddedView(t,e.context);C.detectChanges(),n=gM(C,this._document),this._previewEmbeddedView=C,e.matchSize?sM(n,l):n.style.transform=ag(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else n=mM(this._rootElement),sM(n,this._initialDomRect),this._initialTransform&&(n.style.transform=this._initialTransform);return py(n.style,{"pointer-events":"none",margin:oM(n)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},yV),gu(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("popover","manual"),n.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(l=>n.classList.add(l)):n.classList.add(r)),n}};function oM(i){return"showPopover"in i}var aM=qd({passive:!0}),ig=qd({passive:!1}),lM=qd({passive:!1,capture:!0}),vV=800,hM=new Set(["position"]),hy=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(r=>gu(r,e)))}constructor(e,r,t,n,l,C){this._config=r,this._document=t,this._ngZone=n,this._viewportRuler=l,this._dragDropRegistry=C,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=_r(!1),this._moveEvents=new pt,this._pointerMoveSubscription=vs.EMPTY,this._pointerUpSubscription=vs.EMPTY,this._scrollSubscription=vs.EMPTY,this._resizeSubscription=vs.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this.scale=1,this._disabled=!1,this.beforeStarted=new pt,this.started=new pt,this.released=new pt,this.ended=new pt,this.entered=new pt,this.exited=new pt,this.dropped=new pt,this.moved=this._moveEvents,this._pointerDown=B=>{if(this.beforeStarted.next(),this._handles.length){let $=this._getTargetHandle(B);$&&!this._disabledHandles.has($)&&!this.disabled&&this._initializeDragSequence($,B)}else this.disabled||this._initializeDragSequence(this._rootElement,B)},this._pointerMove=B=>{let $=this._getPointerPositionOnPage(B);if(!this._hasStartedDragging()){let G=Math.abs($.x-this._pickupPositionOnPage.x),q=Math.abs($.y-this._pickupPositionOnPage.y);if(G+q>=this._config.dragStartThreshold){let R=Date.now()>=this._dragStartTime+this._getDragStartDelay(B),Y=this._dropContainer;if(!R){this._endDragSequence(B);return}(!Y||!Y.isDragging()&&!Y.isReceiving())&&(B.cancelable&&B.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(B)))}return}B.cancelable&&B.preventDefault();let K=this._getConstrainedPointerPosition($);if(this._hasMoved=!0,this._lastKnownPointerPosition=$,this._updatePointerDirectionDelta(K),this._dropContainer)this._updateActiveDropContainer(K,$);else{let G=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,q=this._activeTransform;q.x=K.x-G.x+this._passiveTransform.x,q.y=K.y-G.y+this._passiveTransform.y,this._applyRootElementTransform(q.x,q.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:K,event:B,distance:this._getDragDistance(K),delta:this._pointerDirectionDelta})})},this._pointerUp=B=>{this._endDragSequence(B)},this._nativeDragStart=B=>{if(this._handles.length){let $=this._getTargetHandle(B);$&&!this._disabledHandles.has($)&&!this.disabled&&B.preventDefault()}else this.disabled||B.preventDefault()},this.withRootElement(e).withParent(r.parentDragRef||null),this._parentPositions=new rg(t),C.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(t=>
210ua(t)),this._handles.forEach(t=>gu(t,this.disabled)),this._toggleNativeDragInteractions();let r=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&r.add(t)}),this._disabledHandles=r,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){let r=ua(e);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,ig),r.addEventListener("touchstart",this._pointerDown,aM),r.addEventListener("dragstart",this._nativeDragStart,ig)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?ua(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){var e,r;this._removeRootElementListeners(this._rootElement),this.isDragging()&&((e=this._rootElement)==null||e.remove()),(r=this._anchor)==null||r.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),gu(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),gu(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){let e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){let e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){var e;this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),(e=this._getShadowRoot())==null||e.removeEventListener("selectstart",uM,lM)}_destroyPreview(){var e;(e=this._preview)==null||e.destroy(),this._preview=null}_destroyPlaceholder(){var e,r;(e=this._placeholder)==null||e.remove(),(r=this._placeholderRef)==null||r.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let r=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}
vendor: 22,120 bytes, line 210
210_startDragSequence(e){Pp(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let r=this._getShadowRoot(),t=this._dropContainer;if(r&&this._ngZone.runOutsideAngular(()=>{r.addEventListener("selectstart",uM,lM)}),t){let n=this._rootElement,l=n.parentNode,C=this._placeholder=this._createPlaceholderElement(),B=this._anchor=this._anchor||this._document.createComment("");l.insertBefore(B,n),this._initialTransform=n.style.transform||"",this._preview=new ly(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(l,r)),nM(n,!1,hM),this._document.body.appendChild(l.replaceChild(C,n)),this.started.next({source:this,event:e}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,r){this._parentDragRef&&r.stopPropagation();let t=this.isDragging(),n=Pp(r),l=!n&&r.button!==0,C=this._rootElement,B=Zd(r),$=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+vV>Date.now(),K=n?QS(r):KS(r);if(B&&B.draggable&&r.type==="mousedown"&&r.preventDefault(),t||l||$||K)return;if(this._handles.length){let Z=C.style;this._rootElementTapHighlight=Z.webkitTapHighlightColor||"",Z.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Z=>this._updateOnScroll(Z)),this._boundaryElement&&(this._boundaryRect=dy(this._boundaryElement));let G=this._previewTemplate;this._pickupPositionInElement=G&&G.template&&!G.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,r);let q=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:q.x,y:q.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(e){nM(this._rootElement,!0,hM),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let r=this._dropContainer,t=r.getItemIndex(this),n=this._getPointerPositionOnPage(e),l=this._getDragDistance(n),C=r._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:l,dropPoint:n,event:e}),this.dropped.next({item:this,currentIndex:t,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:C,distance:l,dropPoint:n,event:e}),r.drop(this,t,this._initialIndex,this._initialContainer,C,l,n,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:r},{x:t,y:n}){let l=this._initialContainer._getSiblingContainerFromPosition(this,e,r);!l&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,r)&&(l=this._initialContainer),l&&l!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=l,this._dropContainer.enter(this,e,r,l===this._initialContainer&&l.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:l,currentIndex:l.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(t,n),this._dropContainer._sortItem(this,e,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,r):this._applyPreviewTransform(e-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);let r=this._preview.getTransitionDuration();return r===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{let n=C=>{var B;(!C||this._preview&&Zd(C)===this._preview.element&&C.propertyName==="transform")&&((B=this._preview)==null||B.removeEventListener("transitionend",n),t(),clearTimeout(l))},l=setTimeout(n,r*1.5);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){let e=this._placeholderTemplate,r=e?e.template:null,t;return r?(this._placeholderRef=e.viewContainer.createEmbeddedView(r,e.context),this._placeholderRef.detectChanges(),t=gM(this._placeholderRef,this._document)):t=mM(this._rootElement),t.style.pointerEvents="none",t.classList.add("cdk-drag-placeholder"),t}_getPointerPositionInElement(e,r,t){let n=r===this._rootElement?null:r,l=n?n.getBoundingClientRect():e,C=Pp(t)?t.targetTouches[0]:t,B=this._getViewportScrollPosition(),$=C.pageX-l.left-B.left,K=C.pageY-l.top-B.top;return{x:l.left-e.left+$,y:l.top-e.top+K}}_getPointerPositionOnPage(e){let r=this._getViewportScrollPosition(),t=Pp(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,n=t.pageX-r.left,l=t.pageY-r.top;if(this._ownerSVGElement){let C=this._ownerSVGElement.getScreenCTM();if(C){let B=this._ownerSVGElement.createSVGPoint();return B.x=n,B.y=l,B.matrixTransform(C.inverse())}}return{x:n,y:l}}_getConstrainedPointerPosition(e){let r=this._dropContainer?this._dropContainer.lockAxis:null,{x:t,y:n}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if(this.lockAxis==="x"||r==="x"?n=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||r==="y")&&(t=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:l,y:C}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,B=this._boundaryRect,{width:$,height:K}=this._getPreviewRect(),G=B.top+C,q=B.bottom-(K-C),Z=B.left+l,R=B.right-($-l);t=cM(t,Z,R),n=cM(n,G,q)}return{x:t,y:n}}_updatePointerDirectionDelta(e){let{x:r,y:t}=e,n=this._pointerDirectionDelta,l=this._pointerPositionAtLastDirectionChange,C=Math.abs(r-l.x),B=Math.abs(t-l.y);return C>this._config.pointerDirectionChangeThreshold&&(n.x=r>l.x?1:-1,l.x=r),B>this._config.pointerDirectionChangeThreshold&&(n.y=t>l.y?1:-1,l.y=t),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,gu(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,ig),e.removeEventListener("touchstart",this._pointerDown,aM),e.removeEventListener("dragstart",this._nativeDragStart,ig)}_applyRootElementTransform(e,r){let t=1/this.scale,n=ag(e*t,r*t),l=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=l.transform&&l.transform!="none"?l.transform:""),l.transform=og(n,this._initialTransform)}_applyPreviewTransform(e,r){var l;let t=(l=this._previewTemplate)!=null&&l.template?void 0:this._initialTransform,n=ag(e,r);this._preview.setTransform(og(n,t))}_getDragDistance(e){let r=this._pickupPositionOnPage;return r?{x:e.x-r.x,y:e.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:r}=this._passiveTransform;if(e===0&&r===0||this.isDragging()||!this._boundaryElement)return;let t=this._rootElement.getBoundingClientRect(),n=this._boundaryElement.getBoundingClientRect();if(n.width===0&&n.height===0||t.width===0&&t.height===0)return;let l=n.left-t.left,C=t.right-n.right,B=n.top-t.top,$=t.bottom-n.bottom;n.width>t.width?(l>0&&(e+=l),C>0&&(e-=C)):e=0,n.height>t.height?(B>0&&(r+=B),$>0&&(r-=$)):r=0,(e!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:e})}_getDragStartDelay(e){let r=this.dragStartDelay;return typeof r=="number"?r:Pp(e)?r.touch:r?r.mouse:0}_updateOnScroll(e){let r=this._parentPositions.handleScroll(e);if(r){let t=Zd(e);this._boundaryRect&&t!==this._boundaryElement&&t.contains(this._boundaryElement)&&Op(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var e;return((e=this._parentPositions.positions.get(this._document))==null?void 0:e.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=Bf(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,r){let t=this._previewContainer||"global";if(t==="parent")return e;if(t==="global"){let n=this._document;return r||n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body}return ua(t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(e){return this._handles.find(r=>e.target&&(e.target===r||r.contains(e.target)))}};function cM(i,e,r){return Math.max(e,Math.min(r,i))}function Pp(i){return i.type[0]==="t"}function uM(i){i.preventDefault()}function EM(i,e,r){let t=dM(e,i.length-1),n=dM(r,i.length-1);if(t===n)return;let l=i[t],C=n<t?-1:1;for(let B=t;B!==n;B+=C)i[B]=i[B+C];i[n]=l}function dM(i,e){return Math.max(0,Math.min(e,i))}var lg=class{constructor(e){this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(e){this.withItems(e)}sort(e,r,t,n){let l=this._itemPositions,C=this._getItemIndexFromPointerPosition(e,r,t,n);if(C===-1&&l.length>0)return null;let B=this.orientation==="horizontal",$=l.findIndex(H=>H.drag===e),K=l[C],G=l[$].clientRect,q=K.clientRect,Z=$>C?1:-1,R=this._getItemOffsetPx(G,q,Z),Y=this._getSiblingOffsetPx($,l,Z),V=l.slice();return EM(l,$,C),l.forEach((H,T)=>{if(V[T]===H)return;let L=H.drag===e,j=L?R:Y,s=L?e.getPlaceholderElement():H.drag.getRootElement();H.offset+=j;let c=Math.round(H.offset*(1/H.drag.scale));B?(s.style.transform=og(`translate3d(${c}px, 0, 0)`,H.initialTransform),Op(H.clientRect,0,j)):(s.style.transform=og(`translate3d(0, ${c}px, 0)`,H.initialTransform),Op(H.clientRect,j,0))}),this._previousSwap.overlaps=ay(q,r,t),this._previousSwap.drag=K.drag,this._previousSwap.delta=B?n.x:n.y,{previousIndex:$,currentIndex:C}}enter(e,r,t,n){let l=n==null||n<0?this._getItemIndexFromPointerPosition(e,r,t):n,C=this._activeDraggables,B=C.indexOf(e),$=e.getPlaceholderElement(),K=C[l];if(K===e&&(K=C[l+1]),!K&&(l==null||l===-1||l<C.length-1)&&this._shouldEnterAsFirstChild(r,t)&&(K=C[0]),B>-1&&C.splice(B,1),K&&!this._dragDropRegistry.isDragging(K)){let G=K.getRootElement();G.parentElement.insertBefore($,G),C.splice(l,0,e)}else this._element.appendChild($),C.push(e);$.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){var e;(e=this._activeDraggables)==null||e.forEach(r=>{var n;let t=r.getRootElement();if(t){let l=(n=this._itemPositions.find(C=>C.drag===r))==null?void 0:n.initialTransform;t.style.transform=l||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(t=>t.drag===e)}updateOnScroll(e,r){this._itemPositions.forEach(({clientRect:t})=>{Op(t,e,r)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()})}withElementContainer(e){this._element=e}_cacheItemPositions(){let e=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(r=>{let t=r.getVisibleElement();return{drag:r,offset:0,initialTransform:t.style.transform||"",clientRect:dy(t)}}).sort((r,t)=>e?r.clientRect.left-t.clientRect.left:r.clientRect.top-t.clientRect.top)}_getItemOffsetPx(e,r,t){let n=this.orientation==="horizontal",l=n?r.left-e.left:r.top-e.top;return t===-1&&(l+=n?r.width-e.width:r.height-e.height),l}_getSiblingOffsetPx(e,r,t){let n=this.orientation==="horizontal",l=r[e].clientRect,C=r[e+t*-1],B=l[n?"width":"height"]*t;if(C){let $=n?"left":"top",K=n?"right":"bottom";t===-1?B-=C.clientRect[$]-l[K]:B+=l[$]-C.clientRect[K]}return B}_shouldEnterAsFirstChild(e,r){if(!this._activeDraggables.length)return!1;let t=this._itemPositions,n=this.orientation==="horizontal";if(t[0].drag!==this._activeDraggables[0]){let C=t[t.length-1].clientRect;return n?e>=C.right:r>=C.bottom}else{let C=t[0].clientRect;return n?e<=C.left:r<=C.top}}_getItemIndexFromPointerPosition(e,r,t,n){let l=this.orientation==="horizontal",C=this._itemPositions.findIndex(({drag:B,clientRect:$})=>{if(B===e)return!1;if(n){let K=l?n.x:n.y;if(B===this._previousSwap.drag&&this._previousSwap.overlaps&&K===this._previousSwap.delta)return!1}return l?r>=Math.floor($.left)&&r<Math.floor($.right):t>=Math.floor($.top)&&t<Math.floor($.bottom)});return C===-1||!this._sortPredicate(C,e)?-1:C}},cy=class{constructor(e,r){this._document=e,this._dragDropRegistry=r,this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1},this._relatedNodes=[]}start(e){let r=this._element.childNodes;this._relatedNodes=[];for(let t=0;t<r.length;t++){let n=r[t];this._relatedNodes.push([n,n.nextSibling])}this.withItems(e)}sort(e,r,t,n){let l=this._getItemIndexFromPointerPosition(e,r,t),C=this._previousSwap;if(l===-1||this._activeItems[l]===e)return null;let B=this._activeItems[l];if(C.drag===B&&C.overlaps&&C.deltaX===n.x&&C.deltaY===n.y)return null;let $=this.getItemIndex(e),K=e.getPlaceholderElement(),G=B.getRootElement();l>$?G.after(K):G.before(K),EM(this._activeItems,$,l);let q=this._getRootNode().elementFromPoint(r,t);return C.deltaX=n.x,C.deltaY=n.y,C.drag=B,C.overlaps=G===q||G.contains(q),{previousIndex:$,currentIndex:l}}enter(e,r,t,n){let l=n==null||n<0?this._getItemIndexFromPointerPosition(e,r,t):n;l===-1&&(l=this._getClosestItemIndexToPointer(e,r,t));let C=this._activeItems[l],B=this._activeItems.indexOf(e);B>-1&&this._activeItems.splice(B,1),C&&!this._dragDropRegistry.isDragging(C)?(this._activeItems.splice(l,0,e),C.getRootElement().before(e.getPlaceholderElement())):(this._activeItems.push(e),this._element.appendChild(e.getPlaceholderElement()))}withItems(e){this._activeItems=e.slice()}withSortPredicate(e){this._sortPredicate=e}reset(){let e=this._element,r=this._previousSwap;for(let t=this._relatedNodes.length-1;t>-1;t--){let[n,l]=this._relatedNodes[t];n.parentNode===e&&n.nextSibling!==l&&(l===null?e.appendChild(n):l.parentNode===e&&e.insertBefore(n,l))}this._relatedNodes=[],this._activeItems=[],r.drag=null,r.deltaX=r.deltaY=0,r.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(e){return this._activeItems.indexOf(e)}updateOnScroll(){this._activeItems.forEach(e=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})}withElementContainer(e){e!==this._element&&(this._element=e,this._rootNode=void 0)}_getItemIndexFromPointerPosition(e,r,t){let n=this._getRootNode().elementFromPoint(Math.floor(r),Math.floor(t)),l=n?this._activeItems.findIndex(C=>{let B=C.getRootElement();return n===B||B.contains(n)}):-1;return l===-1||!this._sortPredicate(l,e)?-1:l}_getRootNode(){return this._rootNode||(this._rootNode=Bf(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(e,r,t){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let n=1/0,l=-1;for(let C=0;C<this._activeItems.length;C++){let B=this._activeItems[C];if(B!==e){let{x:$,y:K}=B.getRootElement().getBoundingClientRect(),G=Math.hypot(r-$,t-K);G<n&&(n=G,l=C)}}return l}},pM=.05,bM=.05,bo=function(i){return i[i.NONE=0]="NONE",i[i.UP=1]="UP",i[i.DOWN=2]="DOWN",i}(bo||{}),pr=function(i){return i[i.NONE=0]="NONE",i[i.LEFT=1]="LEFT",i[i.RIGHT=2]="RIGHT",i}(pr||{}),uy=class{constructor(e,r,t,n,l){this._dragDropRegistry=r,this._ngZone=n,this._viewportRuler=l,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new pt,this.entered=new pt,this.exited=new pt,this.dropped=new pt,this.sorted=new pt,this.receivingStarted=new pt,this.receivingStopped=new pt,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=vs.EMPTY,this._verticalScrollDirection=bo.NONE,this._horizontalScrollDirection=pr.NONE,this._stopScrollTimers=new pt,this._cachedShadowRoot=null,this._scrollableElements=[],this._direction="ltr",this._startScrollInterval=()=>{this._stopScrolling(),ld(0,gc).pipe(un(this._stopScrollTimers)).subscribe(()=>{let B=this._scrollNode,$=this.autoScrollStep;this._verticalScrollDirection===bo.UP?B.scrollBy(0,-$):this._verticalScrollDirection===bo.DOWN&&B.scrollBy(0,$),this._horizontalScrollDirection===pr.LEFT?B.scrollBy(-$,0):this._horizontalScrollDirection===pr.RIGHT&&B.scrollBy($,0)})};let C=this.element=ua(e);this._document=t,this.withOrientation("vertical").withElementContainer(C),r.registerDropContainer(this),this._parentPositions=new rg(t)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,r,t,n){this._draggingStarted(),n==null&&this.sortingDisabled&&(n=this._draggables.indexOf(e)),this._sortStrategy.enter(e,r,t,n),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,r,t,n,l,C,B,$={}){this._reset(),this.dropped.next({item:e,currentIndex:r,previousIndex:t,container:this,previousContainer:n,isPointerOverContainer:l,distance:C,dropPoint:B,event:$})}withItems(e){let r=this._draggables;return this._draggables=e,e.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(r.filter(n=>n.isDragging()).every(n=>e.indexOf(n)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._direction=e,this._sortStrategy instanceof lg&&(this._sortStrategy.direction=e),this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){if(e==="mixed")this._sortStrategy=new cy(this._document,this._dragDropRegistry);else{let r=new lg(this._dragDropRegistry);r.direction=this._direction,r.orientation=e,this._sortStrategy=r}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((r,t)=>this.sortPredicate(r,t,this)),this}withScrollableParents(e){let r=this._container;return this._scrollableElements=e.indexOf(r)===-1?[r,...e]:e.slice(),this}withElementContainer(e){if(e===this._container)return this;let r=ua(this.element),t=this._scrollableElements.indexOf(this._container),n=this._scrollableElements.indexOf(e);return t>-1&&this._scrollableElements.splice(t,1),n>-1&&this._scrollableElements.splice(n,1),this._sortStrategy&&this._sortStrategy.withElementContainer(e),this._cachedShadowRoot=null,this._scrollableElements.unshift(e),this._container=e,this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,r,t,n){if(this.sortingDisabled||!this._domRect||!iM(this._domRect,pM,r,t))return;let l=this._sortStrategy.sort(e,r,t,n);l&&this.sorted.next({previousIndex:l.previousIndex,currentIndex:l.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,r){if(this.autoScrollDisabled)return;let t,n=bo.NONE,l=pr.NONE;if(this._parentPositions.positions.forEach((C,B)=>{B===this._document||!C.clientRect||t||iM(C.clientRect,pM,e,r)&&([n,l]=xV(B,C.clientRect,this._direction,e,r),(n||l)&&(t=B))}),!n&&!l){let{width:C,height:B}=this._viewportRuler.getViewportSize(),$={width:C,height:B,top:0,right:C,bottom:B,left:0};n=yM($,r),l=vM($,e),t=window}t&&(n!==this._verticalScrollDirection||l!==this._horizontalScrollDirection||t!==this._scrollNode)&&(this._verticalScrollDirection=n,this._horizontalScrollDirection=l,this._scrollNode=t,(n||l)&&t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let e=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let e=this._container.style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEac
210h(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,r){return this._domRect!=null&&ay(this._domRect,e,r)}_getSiblingContainerFromPosition(e,r,t){return this._siblings.find(n=>n._canReceive(e,r,t))}_canReceive(e,r,t){if(!this._domRect||!ay(this._domRect,r,t)||!this.enterPredicate(e,this))return!1;let n=this._getShadowRoot().elementFromPoint(r,t);return n?n===this._container||this._container.contains(n):!1}_startReceiving(e,r){let t=this._activeSiblings;!t.has(e)&&r.every(n=>this.enterPredicate(n,this)||this._draggables.indexOf(n)>-1)&&(t.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:r}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){let r=this._parentPositions.handleScroll(e);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let e=Bf(this._container);this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let e=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,e))}};function yM(i,e){let{top:r,bottom:t,height:n}=i,l=n*bM;return e>=r-l&&e<=r+l?bo.UP:e>=t-l&&e<=t+l?bo.DOWN:bo.NONE}function vM(i,e){let{left:r,right:t,width:n}=i,l=n*bM;return e>=r-l&&e<=r+l?pr.LEFT:e>=t-l&&e<=t+l?pr.RIGHT:pr.NONE}function xV(i,e,r,t,n){let l=yM(e,n),C=vM(e,t),B=bo.NONE,$=pr.NONE;if(l){let K=i.scrollTop;l===bo.UP?K>0&&(B=bo.UP):i.scrollHeight-K>i.clientHeight&&(B=bo.DOWN)}if(C){let K=i.scrollLeft;r==="rtl"?C===pr.RIGHT?K<0&&($=pr.RIGHT):i.scrollWidth+K>i.clientWidth&&($=pr.LEFT):C===pr.LEFT?K>0&&($=pr.LEFT):i.scrollWidth-K>i.clientWidth&&($=pr.RIGHT)}return[B,$]}var ng=qd({passive:!1,capture:!0}),sg=new Set,CV=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[Ki],decls:0,vars:0,template:function(n,l){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0});let i=e;return i})(),_V=(()=>{let e=class e{constructor(t,n){this._ngZone=t,this._appRef=dn(fl),this._environmentInjector=dn(WC),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=_r([]),this._globalListeners=new Map,this._draggingPredicate=l=>l.isDragging(),this.pointerMove=new pt,this.pointerUp=new pt,this.scroll=new pt,this._preventDefaultWhileDragging=l=>{this._activeDragInstances().length>0&&l.preventDefault()},this._persistentTouchmoveListener=l=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&l.preventDefault(),this.pointerMove.next(l))},this._document=n}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,ng)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,ng)}startDragging(t,n){if(!(this._activeDragInstances().indexOf(t)>-1)&&(this._loadResets(),this._activeDragInstances.update(l=>[...l,t]),this._activeDragInstances().length===1)){let l=n.type.startsWith("touch");this._globalListeners.set(l?"touchend":"mouseup",{handler:C=>this.pointerUp.next(C),options:!0}).set("scroll",{handler:C=>this.scroll.next(C),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ng}),l||this._globalListeners.set("mousemove",{handler:C=>this.pointerMove.next(C),options:ng}),this._ngZone.runOutsideAngular(()=>
210{this._globalListeners.forEach((C,B)=>{this._document.addEventListener(B,C.handler,C.options)})})}}stopDragging(t){this._activeDragInstances.update(n=>{let l=n.indexOf(t);return l>-1?(n.splice(l,1),[...n]):n}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances().indexOf(t)>-1}scrolled(t){let n=[this.scroll];return t&&t!==this._document&&n.push(new Ds(l=>this._ngZone.runOutsideAngular(()=>{let B=$=>{this._activeDragInstances().length&&l.next($)};return t.addEventListener("scroll",B,!0),()=>{t.removeEventListener("scroll",B,!0)}}))),hd(...n)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,n)=>{this._document.removeEventListener(n,t.handler,t.options)}),this._globalListeners.clear()}_loadResets(){if(!sg.has(this._appRef)){sg.add(this._appRef);let t=o4(CV,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{sg.delete(this._appRef),sg.size===0&&t.destroy()})}}};e.\u0275fac=function(n){return new(n||e)(qe(wi),qe(ls))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),wV={dragStartThreshold:5,pointerDirectionChangeThreshold:5},xM=(()=>{let e=class e{constructor(t,n,l,C){this._document=t,this._ngZone=n,this._viewportRuler=l,this._dragDropRegistry=C}createDrag(t,n=wV){return new hy(t,n,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new uy(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}};e.\u0275fac=function(n){return new(n||e)(qe(ls),qe(wi),qe(R2),qe(_V))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),fM=new Ht("CDK_DRAG_PARENT");var SV=new Ht("CdkDragHandle");var MV=new Ht("CDK_DRAG_CONFIG"),TV="cdk-drag",kV=new Ht("CdkDropList"),Kfe=(()=>{let e=class e{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=t,this._dragRef.disabled=this._disabled}constructor(t,n,l,C,B,$,K,G,q,Z,R){this.element=t,this.dropContainer=n,this._ngZone=C,this._viewContainerRef=B,this._dir=K,this._changeDetectorRef=q,this._selfHandle=Z,this._parentDrag=R,this._destroyed=new pt,this._handles=new ar([]),this.scale=1,this.started=new Qe,this.released=new Qe,this.ended=new Qe,this.entered=new Qe,this.exited=new Qe,this.dropped=new Qe,this.moved=new Ds(Y=>{let V=this._dragRef.moved.pipe(Gi(H=>({source:this,pointerPosition:H.pointerPosition,event:H.event,delta:H.delta,distance:H.distance}))).subscribe(Y);return()=>{V.unsubscribe()}}),this._injector=dn(Ls),this._dragRef=G.createDrag(t,{dragStartThreshold:$&&$.dragStartThreshold!=null?$.dragStartThreshold:5,pointerDirectionChangeThreshold:$&&$.pointerDirectionChangeThreshold!=null?$.pointerDirectionChangeThreshold:5,zIndex:$==null?void 0:$.zIndex}),this._dragRef.data=this,e._dragInstances.push(this),$&&this._assignDefaults($),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this),n._dropListRef.beforeStarted.pipe(un(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(t){this._dragRef.setFreeDragPosition(t)}ngAfterViewInit(){yf(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(t){let n=t.rootElementSelector,l=t.freeDragPosition;n&&!n.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,l&&!l.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let t=e._dragInstances.indexOf(this);t>-1&&e._dragInstances.splice(t,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(t){let n=this._handles.getValue();n.push(t),this._handles.next(n)}_removeHandle(t){let n=this._handles.getValue(),l=n.indexOf(t);l>-1&&(n.splice(l,1),this._handles.next(n))}_setPreviewTemplate(t){this._previewTemplate=t}_resetPreviewTemplate(t){t===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(t){this._placeholderTemplate=t}_resetPlaceholderTemplate(t){t===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){var l;let t=this.element.nativeElement,n=t;this.rootElementSelector&&(n=t.closest!==void 0?t.closest(this.rootElementSelector):(l=t.parentElement)==null?void 0:l.closest(this.rootElementSelector)),this._dragRef.withRootElement(n||t)}_getBoundaryElement(){let t=this.boundaryElement;return t?typeof t=="string"?this.element.nativeElement.closest(t):ua(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){let n=this._dir,l=this.dragStartDelay,C=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,B=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.scale=this.scale,t.dragStartDelay=typeof l=="object"&&l?l:ph(l),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(C).withPreviewTemplate(B).withPreviewContainer(this.previewContainer||"global"),n&&t.withDirection(n.value)}}),t.beforeStarted.pipe(Jl(1)).subscribe(()=>{var l;if(this._parentDrag){t.withParent(this._parentDrag._dragRef);return}let n=this.element.nativeElement.parentElement;for(;n;){if(n.classList.contains(TV)){t.withParent(((l=e._dragInstances.find(C=>C.element.nativeElement===n))==null?void 0:l._dragRef)||null);break}n=n.parentElement}})}_handleEvents(t){t.started.subscribe(n=>{this.started.emit({source:this,event:n.event}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(n=>
210{this.released.emit({source:this,event:n.event})}),t.ended.subscribe(n=>{this.ended.emit({source:this,distance:n.distance,dropPoint:n.dropPoint,event:n.event}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(n=>{this.entered.emit({container:n.container.data,item:this,currentIndex:n.currentIndex})}),t.exited.subscribe(n=>{this.exited.emit({container:n.container.data,item:this})}),t.dropped.subscribe(n=>{this.dropped.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,previousContainer:n.previousContainer.data,container:n.container.data,isPointerOverContainer:n.isPointerOverContainer,item:this,distance:n.distance,dropPoint:n.dropPoint,event:n.event})})}_assignDefaults(t){let{lockAxis:n,dragStartDelay:l,constrainPosition:C,previewClass:B,boundaryElement:$,draggingDisabled:K,rootElementSelector:G,previewContainer:q}=t;this.disabled=K??!1,this.dragStartDelay=l||0,n&&(this.lockAxis=n),C&&(this.constrainPosition=C),B&&(this.previewClass=B),$&&(this.boundaryElement=$),G&&(this.rootElementSelector=G),q&&(this.previewContainer=q)}_setupHandlesListener(){this._handles.pipe(yc(t=>{let n=t.map(l=>l.element);this._selfHandle&&this.rootElementSelector&&n.push(this.element),this._dragRef.withHandles(n)}),Pa(t=>hd(...t.map(n=>n._stateChanges.pipe(pl(n))))),un(this._destroyed)).subscribe(t=>{let n=this._dragRef,l=t.element.nativeElement;t.disabled?n.disableHandle(l):n.enableHandle(l)})}};e._dragInstances=[],e.\u0275fac=function(n){return new(n||e)(Ie(Bt),Ie(kV,12),Ie(ls),Ie(wi),Ie(Gs),Ie(
210MV,8),Ie(Nc,8),Ie(xM),Ie(ti),Ie(SV,10),Ie(fM,12))},e.\u0275dir=ft({type:e,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(n,l){n&2&&ht("cdk-drag-disabled",l.disabled)("cdk-drag-dragging",l._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",nh],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",r4]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Ot([{provide:fM,useExisting:e}]),bf,ki]});let i=e;return i})();var fy=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[xM],imports:[Hf]});let i=e;return i})();var My=ys(Dl());function hg(i){return i.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}var An={file:100,image:10,video:500,audio:100},fr={file:["zip","rar","7z","pdf","docx","doc","pptx","ppt","xlsx","xls","jpg","jpeg","png"],image:["jpg","jpeg","png"],video:["mp4"],audio:["mp3"]},Eu=["youtube","vimeo","dailymotion"];var{entries:DM,setPrototypeOf:CM,isFrozen:AV,getPrototypeOf:DV,getOwnPropertyDescriptor:LV}=Object,{freeze:gr,seal:yo,create:LM}=Object,{apply:Cy,construct:_y}=typeof Reflect<"u"&&Reflect;gr||(gr=function(e){return e});yo||(yo=function(e){return e});Cy||(Cy=function(e,r,t){return e.apply(r,t)});_y||(_y=function(e,r){return new e(...r)});var cg=Ur(Array.prototype.forEach),_M=Ur(Array.prototype.pop),Ip=Ur(Array.prototype.push),dg=Ur(String.prototype.toLowerCase),Ey=Ur(String.prototype.toString),wM=Ur(String.prototype.match),Rp=Ur(String.prototype.replace),PV=Ur(String.prototype.indexOf),OV=Ur(String.prototype.trim),Ko=Ur(Object.prototype.hasOwnProperty),mr=Ur(RegExp.prototype.test),Bp=IV(TypeError);function Ur(i){return function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return Cy(i,e,t)}}function IV(i){return function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return _y(i,r)}}function Ei(i,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:dg;CM&&CM(i,null);let t=e.length;for(;t--;){let n=e[t];if(typeof n=="string"){let l=r(n);l!==n&&(AV(e)||(e[t]=l),n=l)}i[n]=!0}return i}function RV(i){for(let e=0;e<i.length;e++)Ko(i,e)||(i[e]=null);return i}function Ih(i){let e=LM(null);for(let[r,t]of DM(i))Ko(i,r)&&(Array.isArray(t)?e[r]=RV(t):t&&typeof t=="object"&&t.constructor===Object?e[r]=Ih(t):e[r]=t);return e}function Np(i,e){for(;i!==null;){let t=LV(i,e);if(t){if(t.get)return Ur(t.get);if(typeof t.value=="function")return Ur(t.value)}i=DV(i)}function r(){return null}return r}var SM=gr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),by=gr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),yy=gr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),BV=gr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),vy=gr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),NV=gr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),MM=gr(["#text"]),TM=gr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
210spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xy=gr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kM=gr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ug=gr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jV=yo(/\{\{[\w\W]*|[\w\W]*\}\}/gm),HV=yo(/<%[\w\W]*|[\w\W]*%>/gm),FV=yo(/\${[\w\W]*}/gm),VV=yo(/^data-[\-\w.\u00B7-\uFFFF]/),zV=yo(/^aria-[\-\w]+$/),PM=yo(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$V=yo(/^(?:\w+script|data):/i),WV=yo(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),OM=yo(/^html$/i),YV=yo(/^[a-z][.\w]*(-[.\w]+)+$/i),AM=Object.freeze({__proto__:null,MUSTACHE_EXPR:jV,ERB_EXPR:HV,TMPLIT_EXPR:FV,DATA_ATTR:VV,ARIA_ATTR:zV,IS_ALLOWED_URI:PM,IS_SCRIPT_OR_DATA:$V,ATTR_WHITESPACE:WV,DOCTYPE_NAME:OM,CUSTOM_ELEMENT:YV}),jp={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},UV=function(){return typeof window>"u"?null:window},GV=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let t=null,n="data-tt-policy-suffix";r&&r.hasAttribute(n)&&(t=r.getAttribute(n));let l="dompurify"+(t?"#"+t:"");try{return e.createPolicy(l,{createHTML(C){return C},createScriptURL(C){return C}})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}};function IM(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:UV(),e=Ct=>IM(Ct);if(e.version="3.1.7",e.removed=[],!i||!i.document||i.document.nodeType!==jp.document)return e.isSupported=!1,e;let{document:r}=i,t=r,n=t.currentScript,{DocumentFragment:l,HTMLTemplateElement:C,Node:B,Element:$,NodeFilter:K,NamedNodeMap:G=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:q,DOMParser:Z,trustedTypes:R}=i,Y=$.prototype,V=Np(Y,"cloneNode"),H=Np(Y,"remove"),T=Np(Y,"nextSibling"),L=Np(Y,"childNodes"),j=Np(Y,"parentNode");if(typeof C=="function"){let Ct=r.createElement("template");Ct.content&&Ct.content.ownerDocument&&(r=Ct.content.ownerDocument)}let s,c="",{implementation:x,createNodeIterator:N,createDocumentFragment:P,getElementsByTagName:S}=r,{importNode:g}=t,v={};e.isSupported=typeof DM=="function"&&typeof j=="function"&&x&&x.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:p,ERB_EXPR:a,TMPLIT_EXPR:o,DATA_ATTR:u,ARIA_ATTR:d,IS_SCRIPT_OR_DATA:h,ATTR_WHITESPACE:m,CUSTOM_ELEMENT:f}=AM,{IS_ALLOWED_URI:y}=AM,I=null,E=Ei({},[...SM,...by,...yy,...vy,...MM]),M=null,D=Ei({}
vendor: 5,264 bytes, line 210
210,[...TM,...xy,...kM,...ug]),F=Object.seal(LM(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,_=null,w=!0,A=!0,U=!1,b=!0,k=!1,O=!0,z=!1,W=!1,Q=!1,ee=!1,se=!1,ae=!1,he=!0,ce=!1,ie="user-content-",te=!0,ne=!1,oe={},le=null,ue=Ei({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),de=null,fe=Ei({},["audio","video","img","source","image","track"]),me=null,ge=Ei({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ee="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ye="http://www.w3.org/1999/xhtml",Se=ye,xe=!1,Ce=null,Oe=Ei({},[Ee,ve,ye],Ey),Pe=null,He=["application/xhtml+xml","text/html"],Je="text/html",Xe=null,dt=null,ct=r.createElement("form"),vt=function(Fe){return Fe instanceof RegExp||Fe instanceof Function},Gt=function(){let Fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(dt&&dt===Fe)){if((!Fe||typeof Fe!="object")&&(Fe={}),Fe=Ih(Fe),Pe=He.indexOf(Fe.PARSER_MEDIA_TYPE)===-1?Je:Fe.PARSER_MEDIA_TYPE,Xe=Pe==="application/xhtml+xml"?Ey:dg,I=Ko(Fe,"ALLOWED_TAGS")?Ei({},Fe.ALLOWED_TAGS,Xe):E,M=Ko(Fe,"ALLOWED_ATTR")?Ei({},Fe.ALLOWED_ATTR,Xe):D,Ce=Ko(Fe,"ALLOWED_NAMESPACES")?Ei({},Fe.ALLOWED_NAMESPACES,Ey):Oe,me=Ko(Fe,"ADD_URI_SAFE_ATTR")?Ei(Ih(ge),Fe.ADD_URI_SAFE_ATTR,Xe):ge,de=Ko(Fe,"ADD_DATA_URI_TAGS")?Ei(Ih(fe),Fe.ADD_DATA_URI_TAGS,Xe):fe,le=Ko(Fe,"FORBID_CONTENTS")?Ei({},Fe.FORBID_CONTENTS,Xe):ue,X=Ko(Fe,"FORBID_TAGS")?Ei({},Fe.FORBID_TAGS,Xe):{},_=Ko(Fe,"FORBID_ATTR")?Ei({},Fe.FORBID_ATTR,Xe):{},oe=Ko(Fe,"USE_PROFILES")?Fe.USE_PROFILES:!1,w=Fe.ALLOW_ARIA_ATTR!==!1,A=Fe.ALLOW_DATA_ATTR!==!1,U=Fe.ALLOW_UNKNOWN_PROTOCOLS||!1,b=Fe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=Fe.SAFE_FOR_TEMPLATES||!1,O=Fe.SAFE_FOR_XML!==!1,z=Fe.WHOLE_DOCUMENT||!1,ee=Fe.RETURN_DOM||!1,se=Fe.RETURN_DOM_FRAGMENT||!1,ae=Fe.RETURN_TRUSTED_TYPE||!1,Q=Fe.FORCE_BODY||!1,he=Fe.SANITIZE_DOM!==!1,ce=Fe.SANITIZE_NAMED_PROPS||!1,te=Fe.KEEP_CONTENT!==!1,ne=Fe.IN_PLACE||!1,y=Fe.ALLOWED_URI_REGEXP||PM,Se=Fe.NAMESPACE||ye,F=Fe.CUSTOM_ELEMENT_HANDLING||{},Fe.CUSTOM_ELEMENT_HANDLING&&vt(Fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=Fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Fe.CUSTOM_ELEMENT_HANDLING&&vt(Fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=Fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Fe.CUSTOM_ELEMENT_HANDLING&&typeof Fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(F.allowCustomizedBuiltInElements=Fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(A=!1),se&&(ee=!0),oe&&(I=Ei({},MM),M=[],oe.html===!0&&(Ei(I,SM),Ei(M,TM)),oe.svg===!0&&(Ei(I,by),Ei(M,xy),Ei(M,ug)),oe.svgFilters===!0&&(Ei(I,yy),Ei(M,xy),Ei(M,ug)),oe.mathMl===!0&&(Ei(I,vy),Ei(M,kM),Ei(M,ug))),Fe.ADD_TAGS&&(I===E&&(I=Ih(I)),Ei(I,Fe.ADD_TAGS,Xe)),Fe.ADD_ATTR&&(M===D&&(M=Ih(M)),Ei(M,Fe.ADD_ATTR,Xe)),Fe.ADD_URI_SAFE_ATTR&&Ei(me,Fe.ADD_URI_SAFE_ATTR,Xe),Fe.FORBID_CONTENTS&&(le===ue&&(le=Ih(le)),Ei(le,Fe.FORBID_CONTENTS,Xe)),te&&(I["#text"]=!0),z&&Ei(I,["html","head","body"]),I.table&&(Ei(I,["tbody"]),delete X.tbody),Fe.TRUSTED_TYPES_POLICY){if(typeof Fe.TRUSTED_TYPES_POLICY.createHTML!="function")throw Bp('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Fe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Bp('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');s=Fe.TRUSTED_TYPES_POLICY,c=s.createHTML("")}else s===void 0&&(s=GV(R,n)),s!==null&&typeof c=="string"&&(c=s.createHTML(""));gr&&gr(Fe),dt=Fe}},Ft=Ei({},["mi","mo","mn","ms","mtext"]),Ii=Ei({},["annotation-xml"]),mt=Ei({},["title","style","font","a","script"]),Lt=Ei({},[...by,...yy,...BV]),Kt=Ei({},[...vy,...NV]),Po=function(Fe){let ut=j(Fe);(!ut||!ut.tagName)&&(ut={namespaceURI:Se,tagName:"template"});let Mt=dg(Fe.tagName),Ni=dg(ut.tagName);return Ce[Fe.namespaceURI]?Fe.namespaceURI===ve?ut.namespaceURI===ye?Mt==="svg":ut.namespaceURI===Ee?Mt==="svg"&&(Ni==="annotation-xml"||Ft[Ni]):!!Lt[Mt]:Fe.namespaceURI===Ee?ut.namespaceURI===ye?Mt==="math":ut.namespaceURI===ve?Mt==="math"&&Ii[Ni]:!!Kt[Mt]:Fe.namespaceURI===ye?ut.namespaceURI===ve&&!Ii[Ni]||ut.namespaceURI===Ee&&!Ft[Ni]?!1:!Kt[Mt]&&(mt[Mt]||!Lt[Mt]):!!(Pe==="application/xhtml+xml"&&Ce[Fe.namespaceURI]):!1},qn=function(Fe){Ip(e.removed,{element:Fe});try{j(Fe).removeChild(Fe)}catch{H(Fe)}},fs=function(Fe,ut){try{Ip(e.removed,{attribute:ut.getAttributeNode(Fe),from:ut})}catch{Ip(e.removed,{attribute:null,from:ut})}if(ut.removeAttribute(Fe),Fe==="is"&&!M[Fe])if(ee||se)try{qn(ut)}catch{}else try{ut.setAttribute(Fe,"")}catch{}},Fs=function(Fe){let ut=null,Mt=null;if(Q)Fe="<remove></remove>"+Fe;else{let ss=wM(Fe,/^[\r\n\t ]+/);Mt=ss&&ss[0]}Pe==="application/xhtml+xml"&&Se===ye&&(Fe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Fe+"</body></html>");let Ni=s?s.createHTML(Fe):Fe;if(Se===ye)try{ut=new Z().parseFromString(Ni,Pe)}
vendor: 3,165 bytes, line 210
210catch{}if(!ut||!ut.documentElement){ut=x.createDocument(Se,"template",null);try{ut.documentElement.innerHTML=xe?c:Ni}catch{}}let ms=ut.body||ut.documentElement;return Fe&&Mt&&ms.insertBefore(r.createTextNode(Mt),ms.childNodes[0]||null),Se===ye?S.call(ut,z?"html":"body")[0]:z?ut.documentElement:ms},Vs=function(Fe){return N.call(Fe.ownerDocument||Fe,Fe,K.SHOW_ELEMENT|K.SHOW_COMMENT|K.SHOW_TEXT|K.SHOW_PROCESSING_INSTRUCTION|K.SHOW_CDATA_SECTION,null)},zs=function(Fe){return Fe instanceof q&&(typeof Fe.nodeName!="string"||typeof Fe.textContent!="string"||typeof Fe.removeChild!="function"||!(Fe.attributes instanceof G)||typeof Fe.removeAttribute!="function"||typeof Fe.setAttribute!="function"||typeof Fe.namespaceURI!="string"||typeof Fe.insertBefore!="function"||typeof Fe.hasChildNodes!="function")},Zn=function(Fe){return typeof B=="function"&&Fe instanceof B},yn=function(Fe,ut,Mt){v[Fe]&&cg(v[Fe],Ni=>{Ni.call(e,ut,Mt,dt)})},Fn=function(Fe){let ut=null;if(yn("beforeSanitizeElements",Fe,null),zs(Fe))return qn(Fe),!0;let Mt=Xe(Fe.nodeName);if(yn("uponSanitizeElement",Fe,{tagName:Mt,allowedTags:I}),Fe.hasChildNodes()&&!Zn(Fe.firstElementChild)&&mr(/<[/\w]/g,Fe.innerHTML)&&mr(/<[/\w]/g,Fe.textContent)||Fe.nodeType===jp.progressingInstruction||O&&Fe.nodeType===jp.comment&&mr(/<[/\w]/g,Fe.data))return qn(Fe),!0;if(!I[Mt]||X[Mt]){if(!X[Mt]&&$s(Mt)&&(F.tagNameCheck instanceof RegExp&&mr(F.tagNameCheck,Mt)||F.tagNameCheck instanceof Function&&F.tagNameCheck(Mt)))return!1;if(te&&!le[Mt]){let Ni=j(Fe)||Fe.parentNode,ms=L(Fe)||Fe.childNodes;if(ms&&Ni){let ss=ms.length;for(let Ws=ss-1;Ws>=0;--Ws){let Ar=V(ms[Ws],!0);Ar.__removalCount=(Fe.__removalCount||0)+1,Ni.insertBefore(Ar,T(Fe))}}}return qn(Fe),!0}return Fe instanceof $&&!Po(Fe)||(Mt==="noscript"||Mt==="noembed"||Mt==="noframes")&&mr(/<\/no(script|embed|frames)/i,Fe.innerHTML)?(qn(Fe),!0):(k&&Fe.nodeType===jp.text&&(ut=Fe.textContent,cg([p,a,o],Ni=>{ut=Rp(ut,Ni," ")}),Fe.textContent!==ut&&(Ip(e.removed,{element:Fe.cloneNode()}),Fe.textContent=ut)),yn("afterSanitizeElements",Fe,null),!1)},Kn=function(Fe,ut,Mt){if(he&&(ut==="id"||ut==="name")&&(Mt in r||Mt in ct))return!1;if(!(A&&!_[ut]&&mr(u,ut))){if(!(w&&mr(d,ut))){if(!M[ut]||_[ut]){if(!($s(Fe)&&(F.tagNameCheck instanceof RegExp&&mr(F.tagNameCheck,Fe)||F.tagNameCheck instanceof Function&&F.tagNameCheck(Fe))&&(F.attributeNameCheck instanceof RegExp&&mr(F.attributeNameCheck,ut)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(ut))||ut==="is"&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&mr(F.tagNameCheck,Mt)||F.tagNameCheck instanceof Function&&F.tagNameCheck(Mt))))return!1}else if(!me[ut]){if(!mr(y,Rp(Mt,m,""))){if(!((ut==="src"||ut==="xlink:href"||ut==="href")&&Fe!=="script"&&PV(Mt,"data:")===0&&de[Fe])){if(!(U&&!mr(h,Rp(Mt,m,"")))){if(Mt)return!1}}}}}}return!0},$s=function(Fe){return Fe!=="annotation-xml"&&wM(Fe,f)},hn=function(Fe){yn("beforeSanitizeAttributes",Fe,null);let{attributes:ut}=Fe;if(!ut)return;let Mt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:M},Ni=ut.length;for(;Ni--;){let ms=ut[Ni],{name:ss,namespaceURI:Ws,value:Ar}=ms,el=Xe(ss),gs=ss==="value"?Ar:OV(Ar);
210if(Mt.attrName=el,Mt.attrValue=gs,Mt.keepAttr=!0,Mt.forceKeepAttr=void 0,yn("uponSanitizeAttribute",Fe,Mt),gs=Mt.attrValue,Mt.forceKeepAttr||(fs(ss,Fe),!Mt.keepAttr))continue;if(!b&&mr(/\/>/i,gs)){fs(ss,Fe);continue}k&&cg([p,a,o],C0=>{gs=Rp(gs,C0," ")});let x0=Xe(Fe.nodeName);if(Kn(x0,el,gs)){if(ce&&(el==="id"||el==="name")&&(fs(ss,Fe),gs=ie+gs),O&&mr(/((--!?|])>)|<\/(style|title)/i,gs)){fs(ss,Fe);continue}if(s&&typeof R=="object"&&typeof R.getAttributeType=="function"&&!Ws)switch(R.getAttributeType(x0,el)){case"TrustedHTML":{gs=s.createHTML(gs);break}case"TrustedScriptURL":{gs=s.createScriptURL(gs);break}}try{Ws?Fe.setAttributeNS(Ws,ss,gs):Fe.setAttribute(ss,gs),zs(Fe)?qn(Fe):_M(e.removed)}catch{}}}yn("afterSanitizeAttributes",Fe,null)},vn=function Ct(Fe){let ut=null,Mt=Vs(Fe);for(yn("beforeSanitizeShadowDOM",Fe,null);ut=Mt.nextNode();)yn("uponSanitizeShadowNode",ut,null),!Fn(ut)&&(ut.content instanceof l&&Ct(ut.content),hn(ut));yn("afterSanitizeShadowDOM",Fe,null)};return e.sanitize=function(Ct){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ut=null,Mt=null,Ni=null,ms=null;if(xe=!Ct,xe&&(Ct="<!-->"),typeof Ct!="string"&&!Zn(Ct))if(typeof Ct.toString=="function"){if(Ct=Ct.toString(),typeof Ct!="string")throw Bp("dirty is not a string, aborting")}else throw Bp("toString is not a function");if(!e.isSupported)return Ct;if(W||Gt(Fe),e.removed=[],typeof Ct=="string"&&(ne=!1),ne){if(Ct.nodeName){let Ar=Xe(Ct.nodeName);if(!I[Ar]||X[Ar])throw Bp("root node is forbidden and cannot be sanitized in-place")}}else if(Ct instanceof B)ut=Fs("<!---->"),Mt=ut.ownerDocument.importNode(Ct,!0),Mt.nodeType===jp.element&&Mt.nodeName==="BODY"||Mt.nodeName==="HTML"?ut=Mt:ut.appendChild(Mt);else{if(!ee&&!k&&!z&&Ct.indexOf("<")===-1)return s&&ae?s.createHTML(Ct):Ct;if(ut=Fs(Ct),!ut)return ee?null:ae?c:""}ut&&Q&&qn(ut.firstChild);let ss=Vs(ne?Ct:ut);for(;Ni=ss.nextNode();)Fn(Ni)||(Ni.content instanceof l&&vn(Ni.content),hn(Ni));if(ne)return Ct;if(ee){if(se)for(ms=P.call(ut.ownerDocument);ut.firstChild;)ms.appendChild(ut.firstChild);else ms=ut;return(M.shadowroot||M.shadowrootmode)&&(ms=g.call(t,ms,!0)),ms}let Ws=z?ut.outerHTML:ut.innerHTML;return z&&I["!doctype"]&&ut.ownerDocument&&ut.ownerDocument.doctype&&ut.ownerDocument.doctype.name&&mr(OM,ut.ownerDocument.doctype.name)&&(Ws="<!DOCTYPE "+ut.ownerDocument.doctype.name+`> 211`+Ws),k&&cg([p,a,o],Ar=>{Ws=Rp(Ws,Ar," ")}),s&&ae?s.createHTML(Ws):Ws},e.setConfig=function(){let Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Gt(Ct),W=!0},e.clearConfig=function(){dt=null,W=!1},e.isValidAttribute=function(Ct,Fe,ut){dt||Gt({});let Mt=Xe(Ct),Ni=Xe(Fe);return Kn(Mt,Ni,ut)},e.addHook=function(Ct,Fe){typeof Fe=="function"&&(v[Ct]=v[Ct]||[],Ip(v[Ct],Fe))},e.removeHook=function(Ct){if(v[Ct])return _M(v[Ct])},e.removeHooks=function(Ct){v[Ct]&&(v[Ct]=[])},e.removeAllHooks=function(){v={}},e}var pg=IM();function wy(i){let e=pg.sanitize(i,{ADD_TAGS:["iframe","big"],ADD_ATTR:["contenteditable","target","frameborder","allowfullscreen","cmd","key","mathquill-block-id","mathquill-command-id","autocorrect","x-palm-disable-ste-all"],ALLOW_UNKNOWN_PROTOCOLS:!0});return pg.removed.length>0&&window.console.debug("DOMPurify.removed",pg.removed),e}var $a=(()=>{let e=class e{constructor(t){this.domSanitizer=t}sanitize(t,n){return n&&t===hr.HTML?wy(n):this.domSanitizer.sanitize(t,n)}};e.\u0275fac=function(n){return new(n||e)(qe(xf))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var XV=["editorElement"],fg=(()=>{let e=class e{constructor(t,n,l,C){this.zone=t,this.popupService=n,this.sanitizer=l,this.filesService=C,this.minHeight=200,this.maxHeight=500,this.tributeReplaced=new Qe,this.afterCommand=new Qe,this.disabled=!1,this.onChange=B=>{},this.onTouched=B=>{}}ngOnInit(){}ngAfterViewInit(){this.createEditor()}ngOnDestroy(){this.editorInitialized&&(this.editor.destroy(),this.editorInitialized=!1)}writeValue(t){this.value=t,this.editorInitialized&&this.setHtml()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.editorInitialized&&(t?this.editor.edit.off():this.editor.edit.on())}
211insert(t){this.editor.html.insert(this.sanitizer.sanitize(hr.HTML,t)||"")}createEditor(){let t;if(this.isExamAnswer)t={moreRich:{buttons:["insertFile","insertMath"],align:"left",buttonsVisible:2}};else{let n=[];this.isShortAnswerQuestion&&n.push("|",Ss.shortAnswerText,Ss.shortAnswerNumber,Ss.shortAnswerDropdown,"|"),t={moreText:{buttons:["bold","underline","italic","strikeThrough","subscript","superscript","fontFamily","fontSize","textColor","backgroundColor","inlineClass","inlineStyle","clearFormatting"],align:"left",buttonsVisible:2},moreParagraph:{buttons:["alignLeft","alignCenter","alignRight"],align:"left",buttonsVisible:3},moreRich:{buttons:[],align:"left",buttonsVisible:0},moreMisc:{buttons:["undo","redo","insertHR","selectAll","html"],align:"right",buttonsVisible:2}},this.filesService.apiFilesUploadFilePost$&&t.moreRich.buttons.push("insertFile"),this.filesService.apiFilesUploadImagePost$&&t.moreRich.buttons.push("insertImage"),this.filesService.apiFilesUploadVideoFilePost$&&t.moreRich.buttons.push("insertVideo"),this.filesService.apiFilesUploadAudioFilePost$&&t.moreRich.buttons.push("insertAudio"),t.moreRich.buttons.push("insertTable","insertMath"),t.moreRich.buttonsVisible=t.moreRich.buttons.length,n.length&&(t.moreButtons={buttons:n,buttonsVisible:n.length})}this.zone.runOutsideAngular(()=>{this.editor=new My.default(this.editorElement.nativeElement,{heightMin:this.minHeight,heightMax:this.maxHeight,toolbarButtons:t,placeholderText:"",htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","big"],fileAllowedTypes:fr.file.map(n=>`.${n}`),imageAllowedTypes:fr.image,videoAllowedTypes:fr.video,audioAllowedTypes:fr.audio,videoInsertButtons:["videoUpload","videoByURL"],audioInsertButtons:["audioUpload"],videoAllowedProviders:Eu,events:{initialized:()=>{this.editorInitialized=!0,this.setDisabledState(this.disabled),this.value&&this.setHtml(),this.tribute&&(this.tribute.attach(this.editor.el),this.editor.events.on("keydown",n=>!(n.which===My.default.KEYCODE.ENTER&&this.tribute.isActive),!0),this.editor.el.addEventListener("tribute-replaced",n=>{this.zone.run(()=>{this.tributeReplaced.emit(n.detail.item.original)})}))},blur:n=>{this.zone.run(()=>{this.onBlur(n)})},contentChanged:()=>{this.zone.run(()=>{this.onChange(this.editor.html.get())})},"commands.after":n=>{this.zone.run(()=>{this.afterCommand.emit(n)})},"file.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.file*1024*1024)return this.editor.popups.hide("file.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.file}MB.`,"danger")}),!1;let l=this.editor.popups.get("file.insert");l.find(".fr-file-upload-layer").removeClass("fr-active"),l.find(".fr-file-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadFilePost$(n[0]).pipe(lo(C=>C.status===400?Nr(()=>"-"):Nr(()=>C)),Cr(()=>{this.editor.popups.hide("file.insert"),l.find(".fr-file-upload-layer").addClass("fr-active"),l.find(".fr-file-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{if(C.link){let B=C.link.split("/"),$=B[B.length-1].split("?")[0];this.editor.file.insert(C.link,decodeURIComponent($))}})}return!1},"image.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.image*1024*1024)return this.editor.popups.hide("image.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.image}MB.`,"danger")}),!1;let l=this.editor.popups.get("image.insert");l.find(".fr-image-upload-layer").removeClass("fr-active"),l.find(".fr-image-progress-bar-layer").addClass("fr-active"),n[0].name||(n[0]=new File([n[0]],`${new Date().getTime()}.png`)),this.filesService.apiFilesUploadImagePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("image.insert"),l.find(".fr-image-upload-layer").addClass("fr-active"),l.find(".fr-image-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C}
211)=>{this.editor.$el.find("img[data-fr-image-pasted]")&&this.editor.$el.find("img[data-fr-image-pasted]").remove(),this.editor.image.insert(C.link)})}return!1},"video.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.video*1024*1024)return this.editor.popups.hide("video.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.video}MB.`,"danger")}),!1;let l=this.editor.popups.get("video.insert");l.find(".fr-video-upload-layer").removeClass("fr-active"),l.find(".fr-video-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadVideoFilePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("video.insert"),l.find(".fr-video-upload-layer").addClass("fr-active"),l.find(".fr-video-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{this.editor.video.insert(`<video src="${hg(C.link)}" style="width: 600px;" controls="" class="fr-draggable" controlslist="nodownload">Your browser does not support HTML5 video.</video>`)})}return!1},"audio.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.audio*1024*1024)return this.editor.popups.hide("audio.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.audio}MB.`,"danger")}),!1;let l=this.editor.popups.get("audio.insert");l.find(".fr-audio-upload-layer").removeClass("fr-active"),l.find(".fr-audio-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadAudioFilePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("audio.insert"),l.find(".fr-audio-upload-layer").addClass("fr-active"),l.find(".fr-audio-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{this.editor.audio.insertByURL(C.link)})}return!1},"video.inserted":n=>{n.find("video").attr("controlsList","nodownload")},"video.replaced":n=>{n.find("video").attr("controlsList","nodownload")},"math.edited":()=>{this.zone.run(()=>{this.onChange(this.editor.html.get().replace(/fr-active|mq-focused/g,""))})},"codeView.update":()=>{this.editor.html.set(this.sanitizer.sanitize(hr.HTML,this.editor.html.get()))}}})})}setHtml(){this.editor.html.set(this.sanitizer.sanitize(hr.HTML,this.value||"")||""),this.value=void 0,this.editor.events.trigger("html.set.custom")}};e.\u0275fac=function(n){return new(n||e)(Ie(wi),Ie(Vr),Ie($a),Ie(qm))},e.\u0275cmp=st({type:e,selectors:[["lib-editor"]],viewQuery:function(n,l){if(n&1&&Xt(XV,5),n&2){let C;kt(C=At())&&(l.editorElement=C.first)}},inputs:{minHeight:"minHeight",maxHeight:"maxHeight",isExamAnswer:"isExamAnswer",isShortAnswerQuestion:"isShortAnswerQuestion",tribute:"tribute"},outputs:{tributeReplaced:"tributeReplaced",afterCommand:"afterCommand"},features:[Ot([{provide:Si,useExisting:$t(()=>e),multi:!0}])],decls:2,vars:0,consts:[["editorElement",""]],template:function(n,l){n&1&&Ke(0,"div",null,0)}});let i=e;return i})();var Ts={};LC(Ts,{ChatMessageType:()=>ZV,ExamPlatform:()=>KV,ExamPrivacy:()=>QV,ExamTimeLimitType:()=>JV,LogActionType:()=>ez,LogUsageType:()=>tz,QuestionType:()=>iz,Role:()=>nz,ShortAnswerType:()=>sz,UserGender:()=>rz});var ZV={Message:"Message",File:"File"};var KV={WebBrowser:"WebBrowser",Client:"Client"};var QV={Public:"Public",Internal:"Internal",Private:"Private"};var JV={FixHour:"FixHour",FlexibleHour:"FlexibleHour"};var ez={Client:"Client",ChangeItem:"ChangeItem",Answer:"Answer",Submit:"Submit"};var tz={Exam:"Exam",Program:"Program"};var iz={MultipleChoice:"MultipleChoice",ShortAnswer:"ShortAnswer",Subjective:"Subjective",TabledMultipleChoice:"TabledMultipleChoice",MultipleAnswer:"MultipleAnswer",TabledMultipleAnswer:"TabledMultipleAnswer",MultipleChoiceReason:"MultipleChoiceReason",DragDrop:"DragDrop"};var nz={SuperAdmin:"SuperAdmin",ExamAdmin:"ExamAdmin",ExamTaker:"ExamTaker",General:"General",ExamAssistant:"ExamAssistant",ExamManager:"ExamManager"};var sz={Text:"Text",Number:"Number",Dropdown:"Dropdown",Reason:"Reason",Equation:"Equation",EquationReason:"EquationReason"};var rz={Male:"Male",Female:"Female",Other:"Other",None:"None"};var Ks=(()=>{let e=class e{transform(t){return t&&t.replace(/font-size:\s*(\d+)px;/g,function(n,l){return`font-size: ${(parseInt(l,10)/10).toFixed(1)}rem;`})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"pxToRem",type:e,pure:!0});let i=e;return i})();function az(i,e){i&1&&Ke(0,"i",11)}function lz(i,e){if(i&1&&(ke(0,"span",9),$e(1,az,1,0,"i",10),Ae()),i&2){let r=Te().$implicit;we(),_e("ngIf",r.isCorrectAnswer)}}function hz(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),$e(2,lz,2,1,"span",5),ke(3,"label",6)(4,"input",7),Li("ngModelChange",function(n){let l=Ne(r).$implicit;return Di(l.isChecked,n)||(l.isChecked=n),je(n)}),We("change",function(n){let l=Ne(r).$implicit,C=Te();return je(C.answerChange(n,l))}),Ae(),Ke(5,"span",8),St(6,"pxToRem"),Ae()()()}if(i&2){let r=e.$implicit,t=Te();we(2),_e("ngIf",t.isShowCorrectAnswer),we(),ht("is-result-user-input",t.isReadOnly),we(),ho("name","choice-",r.id,""),Ai("ngModel",r.isChecked),_e("disabled",t.isReadOnly),we(),_e("innerHTML",Tt(6,8,r.desc),hi)}}var BM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.multipleAnswerQuestion}constructor(){}ngOnInit(){}answerChange(t,n){let l=this.itemDetail.choices.filter(C=>C.isChecked);this.itemDetail.answerlimit&&t.target.checked===!0&&l.length>this.itemDetail.answerlimit&&(n.isChecked=!1,t.target.checked=!1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-multiple-answer"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},decls:4,vars:4,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],["class","block",4,"ngFor","ngForOf"],[1,"block"],[1,"control"],["class","icon push-right-1",4,"ngIf"],[1,"checkbox"],["type","checkbox",3,"ngModelChange","change","name","ngModel","disabled"],[1,"fr-view",3,"innerHTML"],[1,"icon","push-right-1"],["class","ic ic-check text-correct-answer-input",4,"ngIf"],[1,"ic","ic-check","text-correct-answer-input"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1),$e(3,hz,7,10,"div",2),Ae()),n&2&&(_e("innerHTML",Tt(1,2,l.itemDetail.desc),hi),we(3),_e("ngForOf",l.itemDetail.choices))},dependencies:[si,wt,mh,Ri,Pi,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();function uz(i,e){i&1&&Ke(0,"i",11)}function dz(i,e){if(i&1&&(ke(0,"span",9),$e(1,uz,1,0,"i",10),Ae()),i&2){let r=Te().$implicit,t=Te();we(),_e("ngIf",r.id===t.itemDetail.answerChoiceId)}}function pz(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),$e(2,dz,2,1,"span",5),ke(3,"label",6)(4,"input",7),Li("ngModelChange",function(n){Ne(r);let l=Te();return Di(l.itemDetail.answerChoiceId,n)||(l.itemDetail.answerChoiceId=n),je(n)}),Ae(),Ke(5,"span",8),St(6,"pxToRem"),Ae()()()}if(i&2){let r,t=e.$implicit,n=Te();we(2),_e("ngIf",n.isShowCorrectAnswer),we(),ht("is-result-user-input",n.isReadOnly),we(),ho("name","choice-",n.id,""),Ai("ngModel",n.itemDetail.answerChoiceId),_e("value",(r=t.id)!==null&&r!==void 0?r:t.order)("disabled",n.isReadOnly),we(),_e("innerHTML",Tt(6,9,t.desc),hi)}}var NM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.multipleChoiceQuestion}constructor(){}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-multiple-choice"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},decls:4,vars:4,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],["class","block",4,"ngFor","ngForOf"],[1,"block"],[1,"control"],["class","icon push-right-1",4,"ngIf"],[1,"radio","is-veritcal"],["type","radio",3,"ngModelChange","name","ngModel","value","disabled"],[1,"fr-view",3,"innerHTML"],[1,"icon","push-right-1"],["class","ic ic-check text-correct-answer-input",4,"ngIf"],[1,"ic","ic-check","text-correct-answer-input"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1),$e(3,pz,7,11,"div",2),Ae()),n&2&&(_e("innerHTML",Tt(1,2,l.itemDetail.desc),hi),we(3),_e("ngForOf",l.itemDetail.choices))},dependencies:[si,wt,mn,gh,Ri,Pi,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();function mz(i,e){i&1&&Ke(0,"i",14)}function gz(i,e){if(i&1&&(ke(0,"span",12),$e(1,mz,1,0,"i",13),Ae()),i&2){let r=Te().$implicit,t=Te();we(),_e("ngIf",r.id===t.itemDetail.answerChoiceId)}}function Ez(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",5),$e(2,gz,2,1,"span",8),ke(3,"label",9)(4,"input",10),Li("ngModelChange",function(n){Ne(r);let l=Te();return Di(l.itemDetail.answerChoiceId,n)||(l.itemDetail.answerChoiceId=n),je(n)}),Ae(),Ke(5,"span",11),St(6,"pxToRem"),Ae()()()}if(i&2){let r,t=e.$implicit,n=Te();we(2),_e("ngIf",n.isShowCorrectAnswer),we(),ht("is-result-user-input",n.isReadOnly),we(),ho("name","choice-",n.id,""),Ai("ngModel",n.itemDetail.answerChoiceId),_e("value",(r=t.id)!==null&&r!==void 0?r:t.order)("disabled",n.isReadOnly),we(),_e("innerHTML",Tt(6,9,t.desc),hi)}}function bz(i,e){if(i&1&&(Ke(0,"div",11),St(1,"pxToRem")),i&2){let r=Te();_e("innerHTML",Tt(1,1,r.itemDetail.reasonDesc),hi)}}function yz(i,e){if(i&1&&(Ke(0,"div",15),St(1,"pxToRem")),i&2){let r=Te();_e("innerHTML",Tt(1,1,r.itemDetail.answerReason),hi)}}function vz(i,e){if(i&1){let r=et();ke(0,"lib-editor",16),Li("ngModelChange",function(n){Ne(r);let l=Te();return Di(l.itemDetail.answerReason,n)||(l.itemDetail.answerReason=n),je(n)}),Ae()}if(i&2){let r=Te();Ai("ngModel",r.itemDetail.answerReason),_e("isExamAnswer",!0)}}var jM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.multipleChoiceReasonQuestion}constructor(){}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-multiple-choice-reason"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},decls:9,vars:7,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],["class","block",4,"ngFor","ngForOf"],[1,"block"],["class","fr-view",3,"innerHTML",4,"ngIf"],[1,"control"],["class","text-result-user-input _g-textarea-replacement-box fr-view",3,"innerHTML",4,"ngIf"],["class","is-fullwidth",3,"ngModel","isExamAnswer","ngModelChange",4,"ngIf"],["class","icon push-right-1",4,"ngIf"],[1,"radio","is-veritcal"],["type","radio",3,"ngModelChange","name","ngModel","value","disabled"],[1,"fr-view",3,"innerHTML"],[1,"icon","push-right-1"],["class","ic ic-check text-correct-answer-input",4,"ngIf"],[1,"ic","ic-check","text-correct-answer-input"],[1,"text-result-user-input","_g-textarea-replacement-box","fr-view",3,"innerHTML"],[1,"is-fullwidth",3,"ngModelChange","ngModel","isExamAnswer"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1),$e(3,Ez,7,11,"div",2),ke(4,"div",3),$e(5,bz,2,3,"div",4),ke(6,"div",5),$e(7,yz,2,3,"div",6)(8,vz,1,2,"lib-editor",7),Ae()()()),n&2&&(_e("innerHTML",Tt(1,5,l.itemDetail.desc),hi),we(3),_e("ngForOf",l.itemDetail.choices),we(2),_e("ngIf",l.itemDetail.desc),we(2),_e("ngIf",l.isReadOnly),we(),_e("ngIf",!l.isReadOnly))},dependencies:[si,wt,mn,gh,Ri,Pi,fg,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();var HM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.shortAnswerQuestion,this.questionHtml=this.itemDetail.desc,this.convertShortCode(),this.bindEvent()}constructor(t,n){this.sanitizer=t,this.translocoService=n,this.prefixId="",this.questionHtml=""}ngOnInit(){}convertShortCode(){for(let t of this.itemDetail.shortAnswerTags)switch(t.type){case Ts.ShortAnswerType.
211Number:this.convertNumberShortCode(t);break;case Ts.ShortAnswerType.Text:this.convertTextShortCode(t);break;case Ts.ShortAnswerType.Reason:this.convertReasonShortCode(t);break;case Ts.ShortAnswerType.Dropdown:this.convertDropdownShortCode(t);break;case Ts.ShortAnswerType.Equation:case Ts.ShortAnswerType.EquationReason:this.convertEquationShortCode(t);break;default:break}this.questionHtml=` 212 <style> 213 .short-answer .control { margin: 0.3rem 0; } 214 .short-answer .dropdown .button { height: auto; border-radius: 4px; padding: 0.375rem 3rem 0.375rem 1rem; } 215 .short-answer .dropdown .has-arrow-down::after { position: absolute; right: 1rem; top: 1rem; } 216 .short-answer .dropdown .dropdown-content { overflow-y: auto; max-height: 350px } 217 .short-answer .dropdown a.dropdown-item { white-space: normal; padding-right: 2rem; } 218 .short-answer .dropdown .correct-answer { width: 126px; padding: 0.375rem 1rem; border: 1px solid; margin-right: 1.5rem; } 219 </style> 220 <div class="short-answer">${this.questionHtml}</div>`}convertTextShortCode(t){let n=new Ns.ReEx(`\\[${t.tag}#${t.type}\\]`);this.isReadOnly?this.questionHtml=this.questionHtml.replace(n,` 221 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control is-vertical-middle"> 222 <div id="div-${this.prefixId}${this.itemNo}-${t.tag}" class="text-result-user-input _g-input-replacement-box"></div> 223 </p> 224 `):this.questionHtml=this.questionHtml.replace(n,` 225 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control is-vertical-middle is-inline-block" style="min-width: 100px;"> 226 <span id="answer-${this.prefixId}${this.itemNo}-${t.tag}" class="input _g-span-input" role="textbox" contenteditable data-type="text"></span> 227 </p> 228 `)}convertNumberShortCode(t){let n=Ns.ReEx(`\\[${t.tag}#${t.type}\\]`);this.isReadOnly?this.questionHtml=this.questionHtml.replace(n,` 229 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control is-vertical-middle"> 230 <div id="div-${this.prefixId}${this.itemNo}-${t.tag}" class="text-result-user-input _g-input-replacement-box"></div> 231 </p> 232 `):this.questionHtml=this.questionHtml.replace(n,` 233 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control is-vertical-middle is-inline-block" style="min-width: 100px;"> 234 <span id="answer-${this.prefixId}${this.itemNo}-${t.tag}" class="input _g-span-input" role="textbox" contenteditable data-type="number"></span> 235 </p> 236 `)}convertReasonShortCode(t){let n=Ns.ReEx(`\\[${t.tag}#${t.type}\\]`);this.isReadOnly?this.questionHtml=this.questionHtml.replace(n,` 237 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control"> 238 <div id="div-${this.prefixId}${this.itemNo}-${t.tag}" class="text-result-user-input _g-textarea-replacement-box"></div> 239 </p> 240 `):this.questionHtml=this.questionHtml.replace(n,` 241 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control"> 242 <textarea id="answer-${this.prefixId}${this.itemNo}-${t.tag}" class="textarea" type="text" autocomplete="off"></textarea> 243 </p> 244 `)}convertDropdownShortCode(t){let n=Ns.ReEx(`\\[${t.tag}#${t.type}\\]`),l=$localize`:@@selectAnswer:`||this.translocoService.translate("selectAnswer"),C=t.shortAnswerDropdowns.reduce((B,$,K)=>`${B} <a class="dropdown-item" id="choice-${this.prefixId}${this.itemNo}-${t.tag}-${K}">${$.desc}</a>`,"");this.questionHtml=this.questionHtml.replace(n,` 245 <div id="control-${this.prefixId}${this.itemNo}-${t.tag}" 246 class="control is-vertical-middle is-inline-block"> 247 <div id="dropdown-${this.prefixId}${this.itemNo}-${t.tag}" 248 class="dropdown" 249 tabindex="-1"> 250 <div class="dropdown-trigger"> 251 <div id="answer-${this.prefixId}${this.itemNo}-${t.tag}" 252 class="button has-arrow-down"> 253 ${l} 254 </div> 255 </div> 256 <div class="dropdown-menu"> 257 <div class="dropdown-content"> 258 ${C} 259 </div> 260 </div> 261 </div> 262 </div> 263 `)}convertEquationShortCode(t){let n=Ns.ReEx(`\\[${t.tag}#${t.type}\\]`);this.isReadOnly?this.questionHtml=this.questionHtml.replace(n,` 264 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control"> 265 <div id="div-${this.prefixId}${this.itemNo}-${t.tag}" class="text-result-user-input _g-input-math-replacement-box"></div> 266 </p> 267 `):this.questionHtml=this.questionHtml.replace(n,` 268 <p id="control-${this.prefixId}${this.itemNo}-${t.tag}" class="control" style="width: 100%"> 269 <div id="cmd-${this.prefixId}${this.itemNo}-${t.tag}" class="buttons _g-cmd-math"> 270 <button class="button" cmd="times"><img src="static/image/times.png"></button> 271 <button class="button" cmd="div"><img src="static/image/divide.png"></button> 272 <button class="button" cmd="sqrt"><img src="static/image/sqrt.png"></button> 273 <button class="button" cmd="^"><img src="static/image/exponent.png"></button> 274 <div class="button-space"></div> 275 <div class="button-space"></div> 276 <div class="button-space"></div> 277 278 <button class="button" cmd="sin">sin</button> 279 <button class="button" cmd="cos">cos</button> 280 <button class="button" cmd="tan">tan</button> 281 <button class="button" cmd="/"><img src="static/image/fraction.png"></button> 282 <div class="button-space"></div> 283 <button class="button push-left-2" key="Up">\u2191</button> 284 <div class="button-space"></div> 285 286 <button class="button" cmd="degree">x\xB0</button> 287 <button class="button" cmd="Delta">\u0394</button> 288 <button class="button" cmd="pi">\u03C0</button> 289 <div class="button-space"></div> 290 <button class="button push-left-2" key="Left">\u2190</button> 291 <button class="button" key="Down">\u2193</button> 292 <button class="button" key="Right">\u2192</button> 293 </div>
294 <span id="answer-${this.prefixId}${this.itemNo}-${t.tag}" class="input _g-input-math"></span> 295 </p> 296 `)}bindEvent(){window.setTimeout(()=>{for(let t of this.itemDetail.shortAnswerTags)switch(t.type){case Ts.ShortAnswerType.Number:this.bindTextEvent(t);break;case Ts.ShortAnswerType.Text:this.bindTextEvent(t);break;case Ts.ShortAnswerType.Reason:this.bindTextEvent(t);break;case Ts.ShortAnswerType.Dropdown:this.bindDropdownEvent(t);break;case Ts.ShortAnswerType.Equation:case Ts.ShortAnswerType.EquationReason:this.bindEquationEvent(t);break;default:break}})}bindTextEvent(t){let n=document.getElementById(`div-${this.prefixId}${this.itemNo}-${t.tag}`),l=document.getElementById(`control-${this.prefixId}${this.itemNo}-${t.tag}`),C=document.getElementById(`answer-${this.prefixId}${this.itemNo}-${t.tag}`);if(t.answer&&(n&&(n.innerText=t.answer),C&&(C.dataset.type?C.innerText=t.answer:C.value=t.answer)),C&&!this.isReadOnly)if(C.dataset.type){if(C.onblur=()=>{t.answer=C.innerText.trim()},C.dataset.type==="number"){let B="";C.onkeypress=$=>{C.innerText.includes(".")&&$.key==="."&&$.preventDefault(),C.innerText.includes("-")&&$.key==="-"&&$.preventDefault(),!$.key.match(/^[0-9\.\-]/g)&&$.key!=="Backspace"&&$.key!=="Delete"&&$.preventDefault()},C.oninput=()=>{let $=C.innerText;if($==="-"){B=$;return}if(isNaN(+$)){let K=$.replace(/[^0-9\.\-]/g,""),G=K.indexOf(".")+1;K=K.substring(0,G)+K.slice(G).replace(/\./g,""),K.includes("-")&&K.indexOf("-")>0&&(K="-"+K.replace(/-/g,"")),K==="-"||!isNaN(+K)?(C.innerText=K,B=K):C.innerText=B}else B=$}}}else C.onblur=()=>{t.answer=C.value.trim()};this.isShowCorrectAnswer&&document.createElement("span").classList.add("text-correct-answer-input")}bindDropdownEvent(t){let n=document.getElementById(`control-${this.prefixId}${this.itemNo}-${t.tag}`),l=document.getElementById(`dropdown-${this.prefixId}${this.itemNo}-${t.tag}`),C=document.getElementById(`answer-${this.prefixId}${this.itemNo}-${t.tag}`);if(t.answer!=null&&(C.innerHTML=this.sanitizer.sanitize(hr.HTML,t.answer)??""),this.isReadOnly||(C.onclick=()=>{l.classList.toggle("is-active")&&l.focus()},l.onblur=()=>{l.classList.remove("is-active")},this.bindDropdownChoiceEvent(t,l,C)),this.isShowCorrectAnswer){let B=document.createElement("div");B.className="correct-answer text-correct-answer-input"}this.isReadOnly&&C.classList.add("text-result-user-input")}bindDropdownChoiceEvent(t,n,l){t.shortAnswerDropdowns.forEach((C,B)=>{let $=document.getElementById(`choice-${this.prefixId}${this.itemNo}-${t.tag}-${B}`);$.onclick=()=>{t.answer=C.desc,l.innerHTML=this.sanitizer.sanitize(hr.HTML,C.desc)??"",n.classList.remove("is-active")}})}bindEquationEvent(t){let n=document.getElementById(`div-${this.prefixId}${this.itemNo}-${t.tag}`),l=document.getElementById(`control-${this.prefixId}${this.itemNo}-${t.tag}`),C=document.getElementById(`answer-${this.prefixId}${this.itemNo}-${t.tag}`),B=document.getElementById(`cmd-${this.prefixId}${this.itemNo}-${t.tag}`),$=MathQuill.getInterface(2);if(t.answer&&n&&(n.innerText=t.answer,$.StaticMath(n)),C){let K=$.MathField(C,{handlers:{edit:()=>{t.answer=K.latex()}}});t.answer&&K.latex(t.answer);let G=B.querySelectorAll(".button");for(let q=0;q<G.length;q++)G[q].onclick=()=>{G[q].getAttribute("cmd")&&K.cmd(G[q].getAttribute("cmd")),G[q].getAttribute("key")&&K.keystroke(G[q].getAttribute("key")),K.focus()}}this.isShowCorrectAnswer&&document.createElement("span").classList.add("text-correct-answer-input")}};e.\u0275fac=function(n){return new(n||e)(Ie($a),Ie(qo,8))},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-short-answer"]],inputs:{isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer",prefixId:"prefixId",question:"question"},decls:2,vars:5,consts:[[1,"fr-view","_exam-content",3,"id","innerHTML"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem")),n&2&&(ho("id","examElement-",l.itemNo,""),_e("innerHTML",Tt(1,3,l.questionHtml),hi))},dependencies:[Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();function _z(i,e){if(i&1&&(Ke(0,"div",8),St(1,"pxToRem")),i&2){let r=Te().$implicit;_e("innerHTML",Tt(1,1,r.desc),hi)}}function wz(i,e){if(i&1&&(Ke(0,"div",9),St(1,"pxToRem")),i&2){let r=Te().$implicit;_e("innerHTML",Tt(1,1,r.answer),hi)}}function Sz(i,e){if(i&1){let r=et();ke(0,"lib-editor",10),Li("ngModelChange",function(n){Ne(r);let l=Te().$implicit;return Di(l.answer,n)||(l.answer=n),je(n)}),Ae()}if(i&2){let r=Te().$implicit;Ai("ngModel",r.answer),_e("isExamAnswer",!0)}}function Mz(i,e){if(i&1&&(ke(0,"div",3),$e(1,_z,2,3,"div",4),ke(2,"div",5),$e(3,wz,2,3,"div",6)(4,Sz,1,2,"lib-editor",7),Ae()()),i&2){let r=e.$implicit,t=Te();we(),_e("ngIf",r.desc),we(2),_e("ngIf",t.isReadOnly),we(),_e("ngIf",!t.isReadOnly)}}var FM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.subjectiveQuestion}constructor(){this.gradingSave=new Qe}ngOnInit(){}onGradingSave(t){t.invalid||this.gradingSave.emit(this.itemDetail)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-subjective"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},outputs:{gradingSave:"gradingSave"},decls:4,vars:4,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],["class","block",4,"ngFor","ngForOf"],[1,"block"],["class","fr-view",3,"innerHTML",4,"ngIf"],[1,"control"],["class","text-result-user-input _g-textarea-replacement-box fr-view",3,"innerHTML",4,"ngIf"],["class","is-fullwidth",3,"ngModel","isExamAnswer","ngModelChange",4,"ngIf"],[1,"fr-view",3,"innerHTML"],[1,"text-result-user-input","_g-textarea-replacement-box","fr-view",3,"innerHTML"],[1,"is-fullwidth",3,"ngModelChange","ngModel","isExamAnswer"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1),$e(3,Mz,5,3,"div",2),Ae()),n&2&&(_e("innerHTML",Tt(1,2,l.itemDetail.desc),hi),we(3),_e("ngForOf",l.itemDetail.subQuestions))},dependencies:[si,wt,Ri,Pi,fg,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}._score-input[_ngcontent-%COMP%]{display:inline;color:#50bde6;width:80px}"]});let i=e;return i})();function kz(i,e){i&1&&Ke(0,"span",10)}function Az(i,e){if(i&1){let r=et();ke(0,"tr")(1,"td")(2,"div",6),$e(3,kz,1,0,"span",7),ke(4,"label",8)(5,"input",9),Li("ngModelChange",function(n){let l=Ne(r).$implicit;return Di(l.isChecked,n)||(l.isChecked=n),je(n)}),We("change",function(n){let l=Ne(r).$implicit,C=Te().$implicit,B=Te();return je(B.answerChange(n,C,l))}),Ae(),Ke(6,"span",4),St(7,"pxToRem"),Ae()()()()}if(i&2){let r=e.$implicit,t=Te(2);we(3),_e("ngIf",t.isShowCorrectAnswer),we(),ht("is-result-user-input",t.isReadOnly),we(),ho("name","choice-",r.tabledMultipleAnswerChoiceId,""),Ai("ngModel",r.isChecked),_e("disabled",t.isReadOnly),we(),_e("innerHTML",Tt(7,8,r.desc),hi)}}function Dz(i,e){if(i&1&&(ke(0,"table",3)(1,"tr"),Ke(2,"th",4),St(3,"pxToRem"),Ae(),$e(4,Az,8,10,"tr",5),Ae()),i&2){let r=e.$implicit;we(2),_e("innerHTML",Tt(3,2,r.desc),hi),we(2),_e("ngForOf",r.choiceAnswers)}}var VM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.tabledMultipleAnswer}constructor(){}ngOnInit(){}
296answerChange(t,n,l){let C=n.choiceAnswers.filter(B=>B.isChecked);n.answerlimit&&t.target.checked===!0&&C.length>n.answerlimit&&(l.isChecked=!1,t.target.checked=!1)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-tabled-multiple-answer"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},decls:4,vars:4,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],["class","table is-bordered is-fullwidth",4,"ngFor","ngForOf"],[1,"table","is-bordered","is-fullwidth"],[1,"fr-view",3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"control"],["class","icon push-right-1",4,"ngIf"],[1,"checkbox"],["type","checkbox",3,"ngModelChange","change","name","ngModel","disabled"],[1,"icon","push-right-1"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1),$e(3,Dz,5,4,"table",2),Ae()),n&2&&(_e("innerHTML",Tt(1,2,l.itemDetail.desc),hi),we(3),_e("ngForOf",l.itemDetail.tabledMultipleAnswerChoices))},dependencies:[si,wt,mh,Ri,Pi,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();function Pz(i,e){if(i&1&&(Ke(0,"td",5),St(1,"pxToRem")),i&2){let r=e.$implicit;_e("innerHTML",Tt(1,1,r.desc),hi)}}function Oz(i,e){i&1&&(ke(0,"div"),Ke(1,"span",12),Ae())}function Iz(i,e){if(i&1){let r=et();ke(0,"td",8),$e(1,Oz,2,0,"div",9),ke(2,"label",10)(3,"input",11),Li("ngModelChange",function(n){Ne(r);let l=Te().$implicit;return Di(l.answerChoiceId,n)||(l.answerChoiceId=n),je(n)}),Ae()()()}if(i&2){let r,t,n=e.$implicit,l=Te().$implicit,C=Te();we(),_e("ngIf",C.isShowCorrectAnswer),we(),ht("is-result-user-input",C.isReadOnly),we(),ho("name","answer-",(r=l.id)!==null&&r!==void 0?r:l.order,""),Ai("ngModel",l.answerChoiceId),_e("value",(t=n.id)!==null&&t!==void 0?t:n.order)("disabled",C.isReadOnly)}}function Rz(i,e){if(i&1&&(ke(0,"tr"),Ke(1,"td",6),St(2,"pxToRem"),$e(3,Iz,4,8,"td",7),Ae()),i&2){let r=e.$implicit;we(),_e("innerHTML",Tt(2,2,r.desc),hi),we(2),_e("ngForOf",r.choiceAnswers)}}var zM=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.tabledMultipleQuestion}constructor(t){this.translocoService=t,this.messageText=$localize`:@@message:`,this.messageText===""&&t.selectTranslate("message").subscribe(n=>this.messageText=n)}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)(Ie(qo,8))},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-tabled-multiple-question"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer"},decls:9,vars:6,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],[1,"table","is-bordered","is-fullwidth"],["class","fr-view text-center is-single-line",3,"innerHTML",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"fr-view","text-center","is-single-line",3,"innerHTML"],[1,"fr-view",3,"innerHTML"],["class","text-center",4,"ngFor","ngForOf"],[1,"text-center"],[4,"ngIf"],[1,"radio","is-vertical-middle"],["type","radio",3,"ngModelChange","name","ngModel","value","disabled"],[1,"icon"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1)(3,"table",2)(4,"tr")(5,"td"),Ge(6),Ae(),$e(7,Pz,2,3,"td",3),Ae(),$e(8,Rz,4,4,"tr",4),Ae()()),n&2&&(_e("innerHTML",Tt(1,4,l.itemDetail.desc),hi),we(6),qt(l.messageText),we(),_e("ngForOf",l.itemDetail.tabledMultipleQuestionChoices[0]==null?null:l.itemDetail.tabledMultipleQuestionChoices[0].choiceAnswers),we(),_e("ngForOf",l.itemDetail.tabledMultipleQuestionChoices))},dependencies:[si,wt,mn,gh,Ri,Pi,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}"]});let i=e;return i})();function Nz(i,e){if(i&1&&Ke(0,"div",7),i&2){let r=Te();_e("innerHTML",r.itemDetailImage,hi)}}function jz(i,e){if(i&1&&Ke(0,"div",7),i&2){let r=Te().$implicit,t=Te();_e("innerHTML",'<img src="'+t.tagChoiceModels[r.id][0].image.url+'">',hi)}}function Hz(i,e){if(i&1){let r=et();ke(0,"div",8),Li("dragulaModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.tagChoiceModels[l.id],n)||(C.tagChoiceModels[l.id]=n),je(n)}),We("dragulaModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.answer(n))}),$e(1,jz,1,1,"div",3),Ae()}if(i&2){let r=e.$implicit,t=Te();as("id",r.id),_e("ngStyle",t.calculateTagBoxStyle(r))("dragula",t.dragulaGroupName),Ai("dragulaModel",t.tagChoiceModels[r.id]),we(),_e("ngIf",t.tagChoiceModels[r.id][0])}}function Fz(i,e){if(i&1&&Ke(0,"div",9),i&2){let r=e.$implicit;
296_e("innerHTML",'<img src="'+(r.image==null?null:r.image.url)+'">',hi)}}var $M=(()=>{let e=class e{set question(t){this.id=t.id,this.itemNo=t.order,this.itemDetail=t.dragDropQuestion,this.itemDetailImage=`<img src="${this.itemDetail.image.url}" style="width: ${this.imageWidth}px; height: ${this.imageHeight}px;">`,this.itemDetail.pickItems=[...this.itemDetail.choices];for(let n of this.itemDetail.pickItems)n.id=n.id??rn.randomWithTime();for(let n of this.itemDetail.dragDropTags)if(n.id=n.id??rn.randomWithTime(),this.tagChoiceModels[n.id]=[],n.dragDropChoiceId){let l=this.itemDetail.pickItems.find(C=>C.id===n.dragDropChoiceId);l&&(this.tagChoiceModels[n.id]=[l],this.itemDetail.pickItems.splice(this.itemDetail.pickItems.indexOf(l),1))}}constructor(t){this.dragulaService=t,this.imageWidth=368,this.imageHeight=368,this.tagChoiceModels={},this.dragulaGroupName=`G-${rn.randomWithTime()}`,t.createGroup(this.dragulaGroupName,{accepts:(n,l,C,B)=>{if(!l)return!1;if(l.id==="choices")return!0;let $=this.itemDetail.dragDropTags.find(K=>K.id===l.id);return $?!$.dragDropChoiceId:!1},moves:(n,l,C,B)=>!this.isReadOnly})}ngOnInit(){}ngOnDestroy(){this.dragulaService.destroy(this.dragulaGroupName)}answer(t){this.tagChoiceModels[t.id].length===1?t.dragDropChoiceId=this.tagChoiceModels[t.id][0].id:t.dragDropChoiceId=null}calculateTagBoxStyle(t){return{"left.px":this.imageWidth*t.left/100,"top.px":this.imageHeight*t.top/100,"width.px":this.imageWidth*t.width/100,"height.px":this.imageHeight*t.height/100}}};e.\u0275fac=function(n){return new(n||e)(Ie(xp))},e.\u0275cmp=st({type:e,selectors:[["v-exam-item-drag-drop"]],inputs:{isReadOnly:"isReadOnly",isShowCorrectAnswer:"isShowCorrectAnswer",question:"question"},decls:8,vars:12,consts:[[1,"_exam-title","fr-view",3,"innerHTML"],[1,"_exam-content"],[1,"_image-container"],[3,"innerHTML",4,"ngIf"],["class","_tag-box",3,"id","ngStyle","dragula","dragulaModel","dragulaModelChange",4,"ngFor","ngForOf"],["id","choices",1,"_choice-container",3,"dragulaModelChange","dragula","dragulaModel"],["class","_choice-item",3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[1,"_tag-box",3,"dragulaModelChange","id","ngStyle","dragula","dragulaModel"],[1,"_choice-item",3,"innerHTML"]],template:function(n,l){n&1&&(Ke(0,"div",0),St(1,"pxToRem"),ke(2,"div",1)(3,"div",2),$e(4,Nz,1,1,"div",3)(5,Hz,2,5,"div",4),Ae(),ke(6,"div",5),Li("dragulaModelChange",function(B){return Di(l.itemDetail.pickItems,B)||(l.itemDetail.pickItems=B),B}),$e(7,Fz,1,1,"div",6),Ae()()),n&2&&(_e("innerHTML",Tt(1,10,l.itemDetail.desc),hi),we(3),Ti("width",l.imageWidth,"px")("height",l.imageHeight,"px"),we(),_e("ngIf",l.itemDetail.image),we(),_e("ngForOf",l.itemDetail.dragDropTags),we(),_e("dragula",l.dragulaGroupName),Ai("dragulaModel",l.itemDetail.pickItems),we(),_e("ngForOf",l.itemDetail.pickItems))},dependencies:[si,wt,oh,hS,Ks],styles:["._exam-title[_ngcontent-%COMP%]{margin-bottom:1rem}._item-no[_ngcontent-%COMP%]{display:inline-block;margin-right:.5em}._choice[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}._choice-indicator[_ngcontent-%COMP%]{margin-right:.5em}._image-container[_ngcontent-%COMP%]{position:relative}._tag-box[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;justify-content:center}._tag-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:initial;cursor:move}._choice-container[_ngcontent-%COMP%]{border:1px solid #e0e0e0;min-height:100px}._choice-item[_ngcontent-%COMP%]{margin:1rem;display:inline-block;position:relative;vertical-align:top;cursor:move}"]});let i=e;return i})();function zz(i,e){if(i&1&&Ke(0,"v-exam-item-multiple-answer",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function $z(i,e){if(i&1&&Ke(0,"v-exam-item-multiple-choice",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function Wz(i,e){if(i&1&&Ke(0,"v-exam-item-multiple-choice-reason",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function Yz(i,e){if(i&1&&Ke(0,"v-exam-item-short-answer",6),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("prefixId",r.prefixId)("question",r._question)}}function Uz(i,e){if(i&1&&Ke(0,"v-exam-item-subjective",7),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("question",r._question)}}function Gz(i,e){if(i&1&&Ke(0,"v-exam-item-tabled-multiple-answer",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function Xz(i,e){if(i&1&&Ke(0,"v-exam-item-tabled-multiple-question",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function qz(i,e){if(i&1&&Ke(0,"v-exam-item-drag-drop",5),i&2){let r=Te();_e("isReadOnly",r.isReadOnly)("isShowCorrectAnswer",r.isShowCorrectAnswer)("question",r._question)}}function Zz(i,e){i&1&&(ke(0,"div"),Ke(1,"br"),ke(2,"span",8),Ge(3,"\u0E1C\u0E25\u0E15\u0E23\u0E27\u0E08"),Ae()())}var pEe=(()=>{let e=class e{set question(t){this._question=t}constructor(){this.prefixId="",this.gradingSave=new Qe,this.QuestionTypeEnum=Ts.QuestionType}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-exam-item"]],inputs:{question:"question",isReadOnly:"isReadOnly",isShowResult:"isShowResult",isShowCorrectAnswer:"isShowCorrectAnswer",prefixId:"prefixId"},outputs:{gradingSave:"gradingSave"},decls:10,vars:10,consts:[[3,"ngSwitch"],[3,"isReadOnly","isShowCorrectAnswer","question",4,"ngSwitchCase"],[3,"isReadOnly","isShowCorrectAnswer","prefixId","question",4,"ngSwitchCase"],[3,"isReadOnly","question",4,"ngSwitchCase"],[4,"ngIf"],[3,"isReadOnly","isShowCorrectAnswer","question"],[3,"isReadOnly","isShowCorrectAnswer","prefixId","question"],[3,"isReadOnly","question"],[1,"push-right-2"]],template:function(n,l){n&1&&(Wn(0,0),$e(1,zz,1,3,"v-exam-item-multiple-answer",1)(2,$z,1,3,"v-exam-item-multiple-choice",1)(3,Wz,1,3,"v-exam-item-multiple-choice-reason",1)(4,Yz,1,4,"v-exam-item-short-answer",2)(5,Uz,1,2,"v-exam-item-subjective",3)(6,Gz,1,3,"v-exam-item-tabled-multiple-answer",1)(7,Xz,1,3,"v-exam-item-tabled-multiple-question",1)(8,qz,1,3,"v-exam-item-drag-drop",1),Yn(),$e(9,Zz,4,0,"div",4)),n&2&&(_e("ngSwitch",l._question.questionType),we(),_e("ngSwitchCase",l.QuestionTypeEnum.MultipleAnswer),we(),_e("ngSwitchCase",l.QuestionTypeEnum.MultipleChoice),we(),_e("ngSwitchCase",l.QuestionTypeEnum.MultipleChoiceReason),we(),_e("ngSwitchCase",l.QuestionTypeEnum.ShortAnswer),we(),_e("ngSwitchCase",l.QuestionTypeEnum.Subjective),we(),_e("ngSwitchCase",l.QuestionTypeEnum.TabledMultipleAnswer),we(),_e("ngSwitchCase",l.QuestionTypeEnum.TabledMultipleChoice),we(),_e("ngSwitchCase",l.QuestionTypeEnum.DragDrop),we(),_e("ngIf",l.isShowResult))},dependencies:[wt,sh,rh,BM,NM,jM,HM,FM,VM,zM,$M]});let i=e;return i})();function Kz(i,e){return(i%e+e)%e}function Fh(i){return i<0?Math.ceil(i)||0:Math.floor(i)}function Xr(i){return typeof i=="string"}function Kp(i){return i instanceof Date||Object.prototype.toString.call(i)==="[object Date]"}function Xa(i){return i&&i.getTime&&!isNaN(i.getTime())}function zh(i){return i instanceof Function||Object.prototype.toString.call(i)==="[object Function]"}function Pu(i){return typeof i=="number"||Object.prototype.toString.call(i)==="[object Number]"}function on(i){return i instanceof Array||Object.prototype.toString.call(i)==="[object Array]"}function Qs(i,e){return Object.prototype.hasOwnProperty.call(i,e)}function Wh(i){return i!=null&&Object.prototype.toString.call(i)==="[object Object]"}function Qz(i){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(i).length===0;let e;for(e in i)if(i.hasOwnProperty(e))return!1;return!0}function CT(i){return i===void 0}function bi(i){let e=+i,r=0;return e!==0&&isFinite(e)&&(r=Fh(e)),r}var Wp={},WM={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function Js(i,e){let r=i.toLowerCase(),t=i;r in WM&&(t=WM[r]),Wp[r]=Wp[`${r}s`]=Wp[e]=t}function _T(i){return Xr(i)?Wp[i]||Wp[i.toLowerCase()]:void 0}function Jz(i){let e={},r,t;for(t in i)Qs(i,t)&&(r=_T(t),r&&(e[r]=i[t]));return e}var Jo=0,Ua=1,ya=2,us=3,ea=4,Ga=5,$h=6,e$=7,t$=8;function Ya(i,e,r){let t=`${Math.abs(i)}`,n=e-t.length,C=i>=0?r?"+":"":"-",B=Math.pow(10,Math.max(0,n)).toString().substr(1);return C+B+t}var Ty={},Au={},wT=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
296|x|X|zz?|ZZ?|.)/g;function Qt(i,e,r,t){i&&(Au[i]=t),e&&(Au[e[0]]=function(){return Ya(t.apply(null,arguments),e[1],e[2])}),r&&(Au[r]=function(n,l){return l.locale.ordinal(t.apply(null,arguments),i)})}function i$(i){let e=i.match(wT),r=e.length,t=new Array(r);for(let n=0;n<r;n++)t[n]=Au[e[n]]?Au[e[n]]:n$(e[n]);return function(n,l,C,B=0){let $="";for(let K=0;K<r;K++)$+=zh(t[K])?t[K].call(null,n,{format:i,locale:l,isUTC:C,offset:B}):t[K];return $}}function n$(i){return i.match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"")}function Qy(i,e,r){let t=new Date(Date.UTC.apply(null,arguments));return i<100&&i>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(i),t}function Tg(i,e=0,r=1,t=0,n=0,l=0,C=0){let B=new Date(i,e,r,t,n,l,C);return i<100&&i>=0&&isFinite(B.getFullYear())&&B.setFullYear(i),B}function yi(i,e=!1){return e?i.getUTCHours():i.getHours()}function Mu(i,e=!1){return e?i.getUTCMinutes():i.getMinutes()}function $y(i,e=!1){return e?i.getUTCSeconds():i.getSeconds()}function Wa(i,e=!1){return e?i.getUTCMilliseconds():i.getMilliseconds()}function s$(i){return i.getTime()}function ta(i,e=!1){return e?i.getUTCDay():i.getDay()}function Xp(i,e=!1){return e?i.getUTCDate():i.getDate()}function Mi(i,e=!1){return e?i.getUTCMonth():i.getMonth()}function es(i,e=!1){return e?i.getUTCFullYear():i.getFullYear()}function r$(i){return Math.floor(i.valueOf()/1e3)}function ST(i){return Tg(i.getFullYear(),i.getMonth(),1,i.getHours(),i.getMinutes(),i.getSeconds())}function MT(i,e){return i.getDay()===Number(e)}function Uh(i,e){return!i||!e?!1:Gh(i,e)&&Mi(i)===Mi(e)}function Gh(i,e){return!i||!e?!1:es(i)===es(e)}function qa(i,e){return!i||!e?!1:Gh(i,e)&&Uh(i,e)&&Xp(i)===Xp(e)}var TT=/\d/,Gr=/\d\d/,kT=/\d{3}/,Wy=/\d{4}/,xg=/[+-]?\d{6}/,ln=/\d\d?/,YM=/\d\d\d\d?/,UM=/\d\d\d\d\d\d?/,Eg=/\d{1,3}/,Yy=/\d{1,4}/,Cg=/[+-]?\d{1,6}/,o$=/\d+/,_g=/[+-]?\d+/;var ky=/Z|[+-]\d\d(?::?\d\d)?/gi,a$=/[+-]?\d+(\.\d{1,3})?/,Yp=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,wg={};function It(i,e,r){if(zh(e)){wg[i]=e;return}wg[i]=function(t,n){return t&&r?r:e}}function l$(i,e){return Qs(wg,i)?wg[i](!1,e):new RegExp(h$(i))}function h$(i){return Vh(i.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(e,r,t,n,l)=>r||t||n||l))}function Vh(i){return i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Uy={};function an(i,e){let r=Xr(i)?[i]:i,t=e;if(Pu(e)&&(t=function(n,l,C){return l[e]=bi(n),C}),on(r)&&zh(t)){let n;for(n=0;n<r.length;n++)Uy[r[n]]=t}}function qp(i,e){an(i,function(r,t,n,l){return n._w=n._w||{},e(r,n._w,n,l)})}function c$(i,e,r){return e!=null&&Qs(Uy,i)&&Uy[i](e,r._a,r,i),r}var u$={};function er(i,e){u$[i]=e}function d$(){Qt("D",["DD",2,!1],"Do",function(i,e){return Xp(i,e.isUTC).toString(10)}),Js("date","D"),er("date",9),It("D",ln),It("DD",ln,Gr),It("Do",function(i,e){return e._dayOfMonthOrdinalParse||e._ordinalParse}),an(["D","DD"],ya),an("Do",function(i,e,r){return e[ya]=bi(i.match(ln)[0]),r})}function p$(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Oi(i){return i._pf==null&&(i._pf=p$()),i._pf}function Ay(i,e){return e.locale.getFullYear?e.locale.getFullYear(i,e.isUTC).toString():es(i,e.isUTC).toString()}function f$(){Qt("Y",null,null,function(i,e){let r=es(i,e.isUTC);return r<=9999?r.toString(10):`+${r}`}),Qt(null,["YY",2,!1],null,function(i,e){return(es(i,e.isUTC)%100).toString(10)}),Qt(null,["YYYY",4,!1],null,Ay),Qt(null,["YYYYY",5,!1],null,Ay),Qt(null,["YYYYYY",6,!0],null,Ay),Js("year","y"),er("year",1),It("Y",_g),It("YY",ln,Gr),It("YYYY",Yy,Wy),It("YYYYY",Cg,xg),It("YYYYYY",Cg,xg),an(["YYYYY","YYYYYY"],Jo),an("YYYY",function(i,e,r){return e[Jo]=i.length===2?Gy(i):bi(i),r}),an("YY",function(i,e,r){return e[Jo]=Gy(i),r}),an("Y",function(i,e,r){return e[Jo]=parseInt(i,10),r})}function Gy(i){return bi(i)+(bi(i)>68?1900:2e3)}function Up(i){return AT(i)?366:365}function AT(i){return i%4===0&&i%100!==0||i%400===0}function Jy(i,e){if(isNaN(i)||isNaN(e))return NaN;let r=Kz(e,12),t=i+(e-r)/12;return r===1?AT(t)?29:28:31-r%7%2}function m$(){Qt("M",["MM",2,!1],"Mo",function(i,e){return(Mi(i,e.isUTC)+1).toString(10)}),Qt("MMM",null,null,function(i,e){return e.locale.monthsShort(i,e.format,e.isUTC)}),Qt("MMMM",null,null,function(i,e){return e.locale.months(i,e.format,e.isUTC)}),Js("month","M"),er("month",8),It("M",ln),It("MM",ln,Gr),It("MMM",function(i,e){return e.monthsShortRegex(i)}),It("MMMM",function(i,e){return e.monthsRegex(i)}),an(["M","MM"],function(i,e,r){return e[Ua]=bi(i)-1,r}),an(["MMM","MMMM"],function(i,e,r,t){let n=r._locale.monthsParse(i,t,r._strict);return n!=null?e[Ua]=n:Oi(r).invalidMonth=!!i,r})}var g$={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function ps(i,e){let r=Object.assign({},g$,e),t=i.getFullYear()+(r.year||0),n=i.getMonth()+(r.month||0),l=i.getDate()+(r.day||0);return r.month&&!r.day&&(l=Math.min(l,Jy(t,n))),Tg(t,n,l,i.getHours()+(r.hour||0),i.getMinutes()+(r.minute||0),i.getSeconds()+(r.seconds||0))}function DT(i,e){return Tg(bu(i.getFullYear(),e.year),bu(i.getMonth(),e.month),1,bu(i.getHours(),e.hour),bu(i.getMinutes(),e.minute),bu(i.getSeconds(),e.seconds),bu(i.getMilliseconds(),e.milliseconds))}function bu(i,e){return Pu(e)?e:i}function Xy(i,e,r){let t=Math.min(Xp(i),Jy(es(i),e));return r?i.setUTCMonth(e,t):i.setMonth(e,t),i}function E$(i,e,r){return r?i.setUTCHours(e):i.setHours(e),i}function b$(i,e,r){return r?i.setUTCMinutes(e):i.setMinutes(e),i}function y$(i,e,r){return r?i.setUTCSeconds(e):i.setSeconds(e),i}function v$(i,e,r){return r?i.setUTCMilliseconds(e):i.setMilliseconds(e),i}function LT(i,e,r){return r?i.setUTCDate(e):i.setDate(e),i}function x$(i,e){return i.setTime(e),i}function Yh(i){return new Date(i.getTime())}function va(i,e,r){let t=Yh(i);switch(e){case"year":Xy(t,0,r);case"quarter":case"month":LT(t,1,r);case"week":case"isoWeek":case"day":case"date":E$(t,0,r);case"hours":b$(t,0,r);case"minutes":y$(t,0,r);case"seconds":v$(t,0,r)}return e==="week"&&WW(t,0,{isUTC:r}),e==="isoWeek"&&UW(t,1),e==="quarter"&&Xy(t,Math.floor(Mi(t,r)/3)*3,r),t}function Qp(i,e,r){let t=e;t==="date"&&(t="day");let n=va(i,t,r),l=Zp(n,1,t==="isoWeek"?"week":t,r);return FW(l,1,"milliseconds",r)}function C$(){Qt("DDD",["DDDD",3,!1],"DDDo",function(i){return PT(i).toString(10)}),Js("dayOfYear","DDD"),er("dayOfYear",4),It("DDD",Eg),It("DDDD",kT),an(["DDD","DDDD"],function(i,e,r){return r._dayOfYear=bi(i),r})}function PT(i,e){let r=+va(i,"day",e),t=+va(i,"year",e),n=r-t,l=1e3*60*60*24;return Math.round(n/l)+1}function Sg(i,e,r){let t=e-r+7;return-((Qy(i,0,t).getUTCDay()-e+7)%7)+t-1}function _$(i,e,r,t,n){let l=(7+r-t)%7,C=Sg(i,t,n),B=1+7*(e-1)+l+C,$,K;return B<=0?($=i-1,K=Up($)+B):B>Up(i)?($=i+1,K=B-Up(i)):($=i,K=B),{year:$,dayOfYear:K}}function Du(i,e,r,t){let n=Sg(es(i,t),e,r),l=Math.floor((PT(i,t)-n-1)/7)+1,C,B;return l<1?(B=es(i,t)-1,C=l+bg(B,e,r)):l>bg(es(i,t),e,r)?(C=l-bg(es(i,t),e,r),B=es(i,t)+1):(B=es(i,t),C=l),{week:C,year:B}}function bg(i,e,r){let t=Sg(i,e,r),n=Sg(i+1,e,r);return(Up(i)-t+n)/7}var GM=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,w$="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),OT="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),S$="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),IT="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),M$="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),RT={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},T$="%d",k$=/\d{1,2}/,A$=Yp,D$=Yp,qy=class{constructor(e){e&&this.set(e)}set(e){let r;for(r in e){if(!e.hasOwnProperty(r))continue;let t=e[r],n=zh(t)?r:`_${r}`;this[n]=t}this._config=e}calendar(e,r,t){let n=this._calendar[e]||this._calendar.sameElse;return zh(n)?n.call(null,r,t):n}longDateFormat(e){let r=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return r||!t?r:(this._longDateFormat[e]=t.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[e])}get invalidDate(){return this._invalidDate}set invalidDate(e){this._invalidDate=e}ordinal(e,r){return this._ordinal.replace("%d",e.toString(10))}preparse(e,r){return e}getFullYear(e,r=!1){return es(e,r)}postformat(e){return e}relativeTime(e,r,t,n){let l=this._relativeTime[t];return zh(l)?l(e,r,t,n):l.replace(/%d/i,e.toString(10))}pastFuture(e,r){let t=this._relativeTime[e>0?"future":"past"];return zh(t)?t(r):t.replace(/%s/i,r)}months(e,r,t=!1){if(!e)return on(this._months)?this._months:this._months.standalone;if(on(this._months))return this._months[Mi(e,t)];let n=(this._months.isFormat||GM).test(r)?"format":"standalone";return this._months[n][Mi(e,t)]}monthsShort(e,r,t=!1){if(!e)return on(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(on(this._monthsShort))return this._monthsShort[Mi(e,t)];let n=GM.test(r)?"format":"standalone";return this._monthsShort[n][Mi(e,t)]}monthsParse(e,r,t){let n,l;if(this._monthsParseExact)return this.handleMonthStrictParse(e,r,t);this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]);let C;for(C=0;C<12;C++){if(n=new Date(Date.UTC(2e3,C)),t&&!this._longMonthsParse[C]){let B=this.months(n,"",!0).replace(".",""),$=this.monthsShort(n,"",!0).replace(".","");this._longMonthsParse[C]=new RegExp(`^${B}$`,"i"),this._shortMonthsParse[C]=new RegExp(`^${$}$`,"i")}if(!t&&!this._monthsParse[C]&&(l=`^${this.months(n,"",!0)}|^${this.monthsShort(n,"",!0)}`,this._monthsParse[C]=new RegExp(l.replace(".",""),"i")),t&&r==="MMMM"&&this._longMonthsParse[C].test(e)||t&&r==="MMM"&&this._shortMonthsParse[C].test(e)||!t&&this._monthsParse[C].test(e))return C}}monthsRegex(e){return this._monthsParseExact?(Qs(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(Qs(this,"_monthsRegex")||(this._monthsRegex=D$),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(e){return this._monthsParseExact?(Qs(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Qs(this,"_monthsShortRegex")||(this._monthsShortRegex=A$),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}week(e,r){return Du(e,this._week.dow,this._week.doy,r).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(e,r,t){if(!e)return on(this._weekdays)?this._weekdays:this._weekdays.standalone;if(on(this._weekdays))return this._weekdays[ta(e,t)];let n=this._weekdays.isFormat.test(r)?"format":"standalone";return this._weekdays[n][ta(e,t)]}weekdaysMin(e,r,t){return e?this._weekdaysMin[ta(e,t)]:this._weekdaysMin}weekdaysShort(e,r,t){return e?this._weekdaysShort[ta(e,t)]:this._weekdaysShort}weekdaysParse(e,r,t){let n,l;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,r,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){let C=yg(new Date(Date.UTC(2e3,1)),n,null,!0);if(t&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp(`^${this.weekdays(C,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[n]=new RegExp(`^${this.weekdaysShort(C,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[n]=new RegExp(`^${this.weekdaysMin(C,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[n]||(l=`^${this.weekdays(C,"",!0)}|^${this.weekdaysShort(C,"",!0)}|^${this.weekdaysMin(C,"",!0)}`,this._weekdaysParse[n]=new RegExp(l.replace(".",""),"i")),!on(this._fullWeekdaysParse)||!on(this._shortWeekdaysParse)||!on(this._minWeekdaysParse)||!on(this._weekdaysParse))return;if(t&&r==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(t&&r==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(t&&r==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!t&&this._weekdaysParse[n].test(e))return n}}weekdaysRegex(e){return this._weekdaysParseExact?(Qs(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Qs(this,"_weekdaysRegex")||(this._weekdaysRegex=Yp),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(e){return this._weekdaysParseExact?(Qs(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Qs(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yp),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(e){return this._weekdaysParseExact?(Qs(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Qs(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yp),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(e){return e.toLowerCase().charAt(0)==="p"}meridiem(e,r,t){return e>11?t?"pm":"PM":t?"am":"AM"}formatLongDate(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:RT;let r=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return r||!t?r:(this._longDateFormat[e]=t.replace(/MMMM|MM|DD|dddd/g,n=>n.slice(1)),this._longDateFormat[e])}handleMonthStrictParse(e,r,t){let n=e.toLocaleLowerCase(),l,C,B;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],l=0;l<12;++l)B=new Date(2e3,l),this._shortMonthsParse[l]=this.monthsShort(B,"").toLocaleLowerCase(),this._longMonthsParse[l]=this.months(B,"").toLocaleLowerCase();return t?r==="MMM"?(C=this._shortMonthsParse.indexOf(n),C!==-1?C:null):(C=this._longMonthsParse.indexOf(n),C!==-1?C:null):r==="MMM"?(C=this._shortMonthsParse.indexOf(n),C!==-1?C:(C=this._longMonthsParse.indexOf(n),C!==-1?C:null)):(C=this._longMonthsParse.indexOf(n),C!==-1?C:(C=this._shortMonthsParse.indexOf(n),C!==-1?C:null))}handleWeekStrictParse(e,r,t){let n,l=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];let C;for(C=0;C<7;++C){let B=yg(new Date(Date.UTC(2e3,1)),C,null,!0);this._minWeekdaysParse[C]=this.weekdaysMin(B).toLocaleLowerCase(),this._shortWeekdaysParse[C]=this.weekdaysShort(B).toLocaleLowerCase(),this._weekdaysParse[C]=this.weekdays(B,"").toLocaleLowerCase()}}if(!(!on(this._weekdaysParse)||!on(this._shortWeekdaysParse)||!on(this._minWeekdaysParse)))return t?r==="dddd"?(n=this._weekdaysParse.indexOf(l),n!==-1?n:null):r==="ddd"?(n=this._shortWeekdaysParse.indexOf(l),n!==-1?n:null):(n=this._minWeekdaysParse.indexOf(l),n!==-1?n:null):r==="dddd"?(n=this._weekdaysParse.indexOf(l),n!==-1||(n=this._shortWeekdaysParse.indexOf(l),n!==-1)?n:(n=this._minWeekdaysParse.indexOf(l),n!==-1?n:null)):r==="ddd"?(n=this._shortWeekdaysParse.indexOf(l),n!==-1||(n=this._weekdaysParse.indexOf(l),n!==-1)?n:(n=this._minWeekdaysParse.indexOf(l),n!==-1?n:null)):(n=this._minWeekdaysParse.indexOf(l),n!==-1||(n=this._weekdaysParse.indexOf(l),n!==-1)?n:(n=this._shortWeekdaysParse.indexOf(l),n!==-1?n:null))}computeMonthsParse(){let e=[],r=[],t=[],n,l;for(l=0;l<12;l++)n=new Date(2e3,l),e.push(this.monthsShort(n,"")),r.push(this.months(n,"")),t.push(this.months(n,"")),t.push(this.monthsShort(n,""));
296for(e.sort(Rh),r.sort(Rh),t.sort(Rh),l=0;l<12;l++)e[l]=Vh(e[l]),r[l]=Vh(r[l]);for(l=0;l<24;l++)t[l]=Vh(t[l]);this._monthsRegex=new RegExp(`^(${t.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${r.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}computeWeekdaysParse(){let e=[],r=[],t=[],n=[],l;for(l=0;l<7;l++){let C=yg(new Date(Date.UTC(2e3,1)),l,null,!0),B=this.weekdaysMin(C),$=this.weekdaysShort(C),K=this.weekdays(C);e.push(B),r.push($),t.push(K),n.push(B),n.push($),n.push(K)}for(e.sort(Rh),r.sort(Rh),t.sort(Rh),n.sort(Rh),l=0;l<7;l++)r[l]=Vh(r[l]),t[l]=Vh(t[l]),n[l]=Vh(n[l]);this._weekdaysRegex=new RegExp(`^(${n.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${t.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${r.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${e.join("|")})`,"i")}};function Rh(i,e){return e.length-i.length}var L$={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},P$="Invalid date",O$={dow:0,doy:6},I$=/[ap]\.?m?\.?/i,R$={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},B$={calendar:L$,longDateFormat:RT,invalidDate:P$,ordinal:T$,dayOfMonthOrdinalParse:k$,relativeTime:R$,months:w$,monthsShort:OT,week:O$,weekdays:S$,weekdaysMin:M$,weekdaysShort:IT,meridiemParse:I$};function N$(i,e,r){let t=Math.min(i.length,e.length),n=Math.abs(i.length-e.length),l=0,C;for(C=0;C<t;C++)(r&&i[C]!==e[C]||!r&&bi(i[C])!==bi(e[C]))&&l++;return l+n}function j$(){Qt("w",["ww",2,!1],"wo",function(i,e){return zp(i,e.locale).toString(10)}),Qt("W",["WW",2,!1],"Wo",function(i){return H$(i).toString(10)}),Js("week","w"),Js("isoWeek","W"),er("week",5),er("isoWeek",5),It("w",ln),It("ww",ln,Gr),It("W",ln),It("WW",ln,Gr),qp(["w","ww","W","WW"],function(i,e,r,t){return e[t.substr(0,1)]=bi(i),r})}function zp(i,e=js(),r){return e.week(i,r)}function H$(i,e){return Du(i,1,4,e).week}function F$(){Qt(null,["gg",2,!1],null,function(i,e){return(BT(i,e.locale)%100).toString()}),Qt(null,["GG",2,!1],null,function(i){return(NT(i)%100).toString()}),mg("gggg",XM),mg("ggggg",XM),mg("GGGG",qM),mg("GGGGG",qM),Js("weekYear","gg"),Js("isoWeekYear","GG"),er("weekYear",1),er("isoWeekYear",1),It("G",_g),It("g",_g),It("GG",ln,Gr),It("gg",ln,Gr),It("GGGG",Yy,Wy),It("gggg",Yy,Wy),It("GGGGG",Cg,xg),It("ggggg",Cg,xg),qp(["gggg","ggggg","GGGG","GGGGG"],function(i,e,r,t){return e[t.substr(0,2)]=bi(i),r}),qp(["gg","GG"],function(i,e,r,t){return e[t]=Gy(i),r})}function mg(i,e){Qt(null,[i,i.length,!1],null,e)}function XM(i,e){return BT(i,e.locale).toString()}function qM(i){return NT(i).toString()}function BT(i,e=js(),r){return Du(i,e.firstDayOfWeek(),e.firstDayOfYear(),r).year}function NT(i,e){return Du(i,1,4,e).year}function V$(){Qt("z",null,null,function(i,e){return e.isUTC?"UTC":""}),Qt("zz",null,null,function(i,e){return e.isUTC?"Coordinated Universal Time":""})}function z$(){Qt("X",null,null,function(i){return r$(i).toString(10)}),Qt("x",null,null,function(i){return i.valueOf().toString(10)}),It("x",_g),It("X",a$),an("X",function(i,e,r){return r._d=new Date(parseFloat(i)*1e3),r}),an("x",function(i,e,r){return r._d=new Date(bi(i)),r})}function $$(){Qt("s",["ss",2,!1],null,function(i,e){return $y(i,e.isUTC).toString(10)}),Js("second","s"),er("second",15),It("s",ln),It("ss",ln,Gr),an(["s","ss"],Ga)}function W$(){Qt("Q",null,"Qo",function(i,e){return Y$(i,e.isUTC).toString(10)}),Js("quarter","Q"),er("quarter",7),It("Q",TT),an("Q",function(i,e,r){return e[Ua]=(bi(i)-1)*3,r})}function Y$(i,e=!1){return Math.ceil((Mi(i,e)+1)/3)}function ZM(i,e){Qt(i,null,null,function(r,t){let n=K$(r,{_isUTC:t.isUTC,_offset:t.offset}),l="+";return n<0&&(n=-n,l="-"),l+Ya(~~(n/60),2)+e+Ya(~~n%60,2)})}function U$(){ZM("Z",":"),ZM("ZZ",""),It("Z",ky),It("ZZ",ky),an(["Z","ZZ"],function(i,e,r){return r._useUTC=!0,r._tzm=X$(ky,i),r})}var G$=/([\+\-]|\d\d)/gi;
296function X$(i,e){let r=(e||"").match(i);if(r===null)return null;let n=r[r.length-1].match(G$)||["-","0","0"],l=parseInt(n[1],10)*60+bi(n[2]),C=n[0]==="+"?l:-l;return l===0?0:C}function q$(i,e,r={}){if(!r._isUTC)return i;let t=Yh(e),n=(r._offset||0)*6e4,l=i.valueOf()-t.valueOf()+n;return t.setTime(t.valueOf()+l),t}function Z$(i){return-Math.round(i.getTimezoneOffset()/15)*15}function K$(i,e={}){let r=e._offset||0;return e._isUTC?r:Z$(i)}function Q$(){Qt("m",["mm",2,!1],null,function(i,e){return Mu(i,e.isUTC).toString(10)}),Js("minute","m"),er("minute",14),It("m",ln),It("mm",ln,Gr),an(["m","mm"],ea)}function J$(){Qt("S",null,null,function(r,t){return(~~(Wa(r,t.isUTC)/100)).toString(10)}),Qt(null,["SS",2,!1],null,function(r,t){return(~~(Wa(r,t.isUTC)/10)).toString(10)}),Qt(null,["SSS",3,!1],null,function(r,t){return Wa(r,t.isUTC).toString(10)}),Qt(null,["SSSS",4,!1],null,function(r,t){return(Wa(r,t.isUTC)*10).toString(10)}),Qt(null,["SSSSS",5,!1],null,function(r,t){return(Wa(r,t.isUTC)*100).toString(10)}),Qt(null,["SSSSSS",6,!1],null,function(r,t){return(Wa(r,t.isUTC)*1e3).toString(10)}),Qt(null,["SSSSSSS",7,!1],null,function(r,t){return(Wa(r,t.isUTC)*1e4).toString(10)}),Qt(null,["SSSSSSSS",8,!1],null,function(r,t){return(Wa(r,t.isUTC)*1e5).toString(10)}),Qt(null,["SSSSSSSSS",9,!1],null,function(r,t){return(Wa(r,t.isUTC)*1e6).toString(10)}),Js("millisecond","ms"),er("millisecond",16),It("S",Eg,TT),It("SS",Eg,Gr),It("SSS",Eg,kT);let i;for(i="SSSS";i.length<=9;i+="S")It(i,o$);function e(r,t,n){return t[$h]=bi(parseFloat(`0.${r}`)*1e3),n}for(i="S";i.length<=9;i+="S")an(i,e)}function eW(){function i(n,l){return yi(n,l)%12||12}function e(n,l){return yi(n,l)||24}Qt("H",["HH",2,!1],null,function(n,l){return yi(n,l.isUTC).toString(10)}),Qt("h",["hh",2,!1],null,function(n,l){return i(n,l.isUTC).toString(10)}),Qt("k",["kk",2,!1],null,function(n,l){return e(n,l.isUTC).toString(10)}),Qt("hmm",null,null,function(n,l){let C=i(n,l.isUTC),B=Ya(Mu(n,l.isUTC),2);return`${C}${B}`}),Qt("hmmss",null,null,function(n,l){let C=i(n,l.isUTC),B=Ya(Mu(n,l.isUTC),2),$=Ya($y(n,l.isUTC),2);return`${C}${B}${$}`}),Qt("Hmm",null,null,function(n,l){let C=yi(n,l.isUTC),B=Ya(Mu(n,l.isUTC),2);return`${C}${B}`}),Qt("Hmmss",null,null,function(n,l){let C=yi(n,l.isUTC),B=Ya(Mu(n,l.isUTC),2),$=Ya($y(n,l.isUTC),2);return`${C}${B}${$}`});
296function r(n,l){Qt(n,null,null,function(C,B){return B.locale.meridiem(yi(C,B.isUTC),Mu(C,B.isUTC),l)})}r("a",!0),r("A",!1),Js("hour","h"),er("hour",13);function t(n,l){return l._meridiemParse}It("a",t),It("A",t),It("H",ln),It("h",ln),It("k",ln),It("HH",ln,Gr),It("hh",ln,Gr),It("kk",ln,Gr),It("hmm",YM),It("hmmss",UM),It("Hmm",YM),It("Hmmss",UM),an(["H","HH"],us),an(["k","kk"],function(n,l,C){let B=bi(n);return l[us]=B===24?0:B,C}),an(["a","A"],function(n,l,C){return C._isPm=C._locale.isPM(n),C._meridiem=n,C}),an(["h","hh"],function(n,l,C){return l[us]=bi(n),Oi(C).bigHour=!0,C}),an("hmm",function(n,l,C){let B=n.length-2;return l[us]=bi(n.substr(0,B)),l[ea]=bi(n.substr(B)),Oi(C).bigHour=!0,C}),an("hmmss",function(n,l,C){let B=n.length-4,$=n.length-2;return l[us]=bi(n.substr(0,B)),l[ea]=bi(n.substr(B,2)),l[Ga]=bi(n.substr($)),Oi(C).bigHour=!0,C}),an("Hmm",function(n,l,C){let B=n.length-2;return l[us]=bi(n.substr(0,B)),l[ea]=bi(n.substr(B)),C}),an("Hmmss",function(n,l,C){let B=n.length-4,$=n.length-2;return l[us]=bi(n.substr(0,B)),l[ea]=bi(n.substr(B,2)),l[Ga]=bi(n.substr($)),C})}var Ol={},Fp={},Gp;function KM(i){return i&&i.toLowerCase().replace("_","-")}function tW(i){let e,r,t=0;for(;t<i.length;){let n=KM(i[t]).split("-"),l=n.length;for(e=KM(i[t+1]),e=e?e.split("-"):null;l>0;){if(r=nW(n.slice(0,l).join("-")),r)return r;if(e&&e.length>=l&&N$(n,e,!0)>=l-1)break;l--}t++}return null}function iW(i,e){let r=Object.assign({},i);for(let t in e)Qs(e,t)&&(Wh(i[t])&&Wh(e[t])?(r[t]={},Object.assign(r[t],i[t]),Object.assign(r[t],e[t])):e[t]!=null?r[t]=e[t]:delete r[t]);for(let t in i)Qs(i,t)&&!Qs(e,t)&&Wh(i[t])&&(r[t]=Object.assign({},r[t]));return r}function nW(i){return Ol[i]||console.error(`Khronos locale error: please load locale "${i}" before using it`),Ol[i]}function jT(i,e){let r;return i&&(CT(e)?r=js(i):Xr(i)&&(r=HT(i,e)),r&&(Gp=r)),Gp&&Gp._abbr}function HT(i,e){if(e===null)return delete Ol[i],Gp=js("en"),null;if(!e)return;let r=B$;if(e.abbr=i,e.parentLocale!=null)if(Ol[e.parentLocale]!=null)r=Ol[e.parentLocale]._config;else return Fp[e.parentLocale]||(Fp[e.parentLocale]=[]),Fp[e.parentLocale].push({name:i,config:e}),null;
296return Ol[i]=new qy(iW(r,e)),Fp[i]&&Fp[i].forEach(function(t){HT(t.name,t.config)}),jT(i),Ol[i]}function js(i){if(sW(),!i)return Gp;let e=on(i)?i:[i];return tW(e)}function sW(){Ol.en||(jT("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(i){let e=i%10,r=bi(i%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return i+r}}),j$(),F$(),f$(),V$(),z$(),$$(),W$(),U$(),m$(),Q$(),J$(),eW(),C$(),VW(),d$())}var $p=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],rW=$p.reduce((i,e)=>(i[e]=!0,i),{});function oW(i){if(Object.keys(i).some(t=>t in rW&&i[t]===null||isNaN(i[t])))return!1;let r=!1;for(let t=0;t<$p.length;++t)if(i[$p[t]]){if(r)return!1;i[$p[t]]!==bi(i[$p[t]])&&(r=!0)}return!0}function QM(i){return i<0?Math.floor(i):Math.ceil(i)}function aW(i){let e=i._milliseconds,r=i._days,t=i._months,n=i._data;e>=0&&r>=0&&t>=0||e<=0&&r<=0&&t<=0||(e+=QM(Zy(t)+r)*864e5,r=0,t=0),n.milliseconds=e%1e3;let l=Fh(e/1e3);n.seconds=l%60;let C=Fh(l/60);n.minutes=C%60;let B=Fh(C/60);n.hours=B%24,r+=Fh(B/24);let $=Fh(FT(r));t+=$,r-=QM(Zy($));let K=Fh(t/12);return t%=12,n.day=r,n.month=t,n.year=K,i}function FT(i){return i*4800/146097}function Zy(i){return i*146097/4800}var yu=Math.round,vu={ss:44,s:45,m:45,h:22,d:26,M:11};function lW(i,e,r,t,n){return n.relativeTime(e||1,!!r,i,t)}function hW(i,e,r){let t=sv(i).abs(),n=yu(t.as("s")),l=yu(t.as("m")),C=yu(t.as("h")),B=yu(t.as("d")),$=yu(t.as("M")),K=yu(t.as("y")),G=n<=vu.ss&&["s",n]||n<vu.s&&["ss",n]||l<=1&&["m"]||l<vu.m&&["mm",l]||C<=1&&["h"]||C<vu.h&&["hh",C]||B<=1&&["d"]||B<vu.d&&["dd",B]||$<=1&&["M"]||$<vu.M&&["MM",$]||K<=1&&["y"]||["yy",K],q=[G[0],G[1],e,+i>0,r];return lW.apply(null,q)}var Mg=class{constructor(e,r={}){this._data={},this._locale=js(),this._locale=r&&r._locale||js();let t=e,n=t.year||0,l=t.quarter||0,C=t.month||0,B=t.week||0,$=t.day||0,K=t.hours||0,G=t.minutes||0,q=t.seconds||0,Z=t.milliseconds||0;return this._isValid=oW(t),this._milliseconds=+Z+q*1e3+G*60*1e3+K*1e3*60*60,this._days=+$+B*7,this._months=+C+l*3+n*12,aW(this)}isValid(){return this._isValid}humanize(e){if(!this.isValid())return this.localeData().invalidDate;let r=this.localeData(),t=hW(this,!e,r);return e&&(t=r.pastFuture(+this,t)),r.postformat(t)}localeData(){return this._locale}locale(e){return e?(this._locale=js(e)||this._locale,this):this._locale._abbr}abs(){let e=Math.abs,r=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),r.milliseconds=e(r.milliseconds),r.seconds=e(r.seconds),r.minutes=e(r.minutes),r.hours=e(r.hours),r.month=e(r.month),r.year=e(r.year),this}as(e){if(!this.isValid())return NaN;let r,t,n=this._milliseconds,l=_T(e);if(l==="month"||l==="year")return r=this._days+n/864e5,t=this._months+FT(r),l==="month"?t:t/12;switch(r=this._days+Math.round(Zy(this._months)),l){case"week":return r/7+n/6048e5;case"day":return r+n/864e5;case"hours":return r*24+n/36e5;case"minutes":return r*1440+n/6e4;case"seconds":return r*86400+n/1e3;case"milliseconds":return Math.floor(r*864e5)+n;default:throw new Error(`Unknown unit ${l}`)}}valueOf(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+bi(this._months/12)*31536e6:NaN}};function cW(i){return i instanceof Mg}function ev(i){if(i._isValid==null){let e=Oi(i),r=Array.prototype.some.call(e.parsedDateParts,function(n){return n!=null}),t=!isNaN(i._d&&i._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(i._strict&&(t=t&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(i))i._isValid=t;else return t}return i._isValid}function kg(i,e){return i._d=new Date(NaN),Object.assign(Oi(i),e||{userInvalidated:!0}),i}function uW(i){return i._isValid=!1,i}var dW=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pW=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fW=/Z|[+-]\d\d(?::?\d\d)?/,gg=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],Dy=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mW=/^\/?Date\((\-?\d+)/i,gW={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60},EW=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function VT(i){if(!Xr(i._i))return i;let e=i._i,r=dW.exec(e)||pW.exec(e),t,n,l,C;if(!r)return i._isValid=!1,i;let B,$;for(B=0,$=gg.length;B<$;B++)if(gg[B][1].exec(r[1])){n=gg[B][0],t=gg[B][2]!==!1;break}if(n==null)return i._isValid=!1,i;if(r[3]){for(B=0,$=Dy.length;B<$;B++)if(Dy[B][1].exec(r[3])){l=(r[2]||" ")+Dy[B][0];break}if(l==null)return i._isValid=!1,i}if(!t&&l!=null)return i._isValid=!1,i;if(r[4])if(fW.exec(r[4]))C="Z";else return i._isValid=!1,i;return i._f=n+(l||"")+(C||""),iv(i)}function bW(i,e,r,t,n,l){let C=[yW(i),OT.indexOf(e),parseInt(r,10),parseInt(t,10),parseInt(n,10)];return l&&C.push(parseInt(l,10)),C}function yW(i){let e=parseInt(i,10);return e<=49?e+2e3:e}function vW(i){return i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function xW(i,e,r){if(i){let t=IT.indexOf(i),n=new Date(e[0],e[1],e[2]).getDay();if(t!==n)return Oi(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function CW(i,e,r){if(i)return gW[i];if(e)return 0;{let t=parseInt(r,10),n=t%100;return(t-n)/100*60+n}}function zT(i){if(!Xr(i._i))return i;
296let e=EW.exec(vW(i._i));if(!e)return uW(i);let r=bW(e[4],e[3],e[2],e[5],e[6],e[7]);return xW(e[1],r,i)&&(i._a=r,i._tzm=CW(e[8],e[9],e[10]),i._d=Qy.apply(null,i._a),i._d.setUTCMinutes(i._d.getUTCMinutes()-i._tzm),Oi(i).rfc2822=!0),i}function _W(i){if(!Xr(i._i))return i;let e=mW.exec(i._i);if(e!==null)return i._d=new Date(+e[1]),i;if(VT(i),i._isValid===!1)delete i._isValid;else return i;if(zT(i),i._isValid===!1)delete i._isValid;else return i;return kg(i)}function qr(i,e,r,t,n=0){let l=js(r||"en");if(!l)throw new Error(`Locale "${r}" is not defined, please add it with "defineLocale(...)"`);let B=wW(i,e||(t?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),l,t,n);return B&&l.postformat(B)}function wW(i,e,r,t,n=0){if(!Xa(i))return r.invalidDate;let l=$T(e,r);return Ty[l]=Ty[l]||i$(l),Ty[l](i,r,t,n)}function $T(i,e){let r=i,t=5,n=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,l=C=>e.formatLongDate(C)||C;for(n.lastIndex=0;t>=0&&n.test(r);)r=r.replace(n,l),n.lastIndex=0,t-=1;return r}function Tu(i,e,r){return i??e??r}function SW(i){let e=new Date;return i._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function tv(i){let e=[],r,t,n;if(i._d)return i;let l=SW(i);for(i._w&&i._a[ya]==null&&i._a[Ua]==null&&MW(i),i._dayOfYear!=null&&(n=Tu(i._a[Jo],l[Jo]),(i._dayOfYear>Up(n)||i._dayOfYear===0)&&(Oi(i)._overflowDayOfYear=!0),t=new Date(Date.UTC(n,0,i._dayOfYear)),i._a[Ua]=t.getUTCMonth(),i._a[ya]=t.getUTCDate()),r=0;r<3&&i._a[r]==null;++r)i._a[r]=e[r]=l[r];for(;r<7;r++)i._a[r]=e[r]=i._a[r]==null?r===2?1:0:i._a[r];i._a[us]===24&&i._a[ea]===0&&i._a[Ga]===0&&i._a[$h]===0&&(i._nextDay=!0,i._a[us]=0),i._d=(i._useUTC?Qy:Tg).apply(null,e);let C=i._useUTC?i._d.getUTCDay():i._d.getDay();return i._tzm!=null&&i._d.setUTCMinutes(i._d.getUTCMinutes()-i._tzm),i._nextDay&&(i._a[us]=24),i._w&&typeof i._w.d<"u"&&i._w.d!==C&&(Oi(i).weekdayMismatch=!0),i}function MW(i){let e,r,t,n,l,C,B,$=i._w;if($.GG!=null||$.W!=null||$.E!=null)n=1,l=4,e=Tu($.GG,i._a[Jo],Du(new Date,1,4).year),r=Tu($.W,1),t=Tu($.E,1),(t<1||t>7)&&(B=!0);else{n=i._locale._week.dow,l=i._locale._week.doy;let K=Du(new Date,n,l);e=Tu($.gg,i._a[Jo],K.year),r=Tu($.w,K.week),$.d!=null?(t=$.d,(t<0||t>6)&&(B=!0)):$.e!=null?(t=$.e+n,($.e<0||$.e>6)&&(B=!0)):t=n}return r<1||r>bg(e,n,l)?Oi(i)._overflowWeeks=!0:B!=null?Oi(i)._overflowWeekday=!0:(C=_$(e,r,t,n,l),i._a[Jo]=C.year,i._dayOfYear=C.dayOfYear),i}function WT(i){let e,r=i._a;return r&&Oi(i).overflow===-2&&(e=r[Ua]<0||r[Ua]>11?Ua:r[ya]<1||r[ya]>Jy(r[Jo],r[Ua])?ya:r[us]<0||r[us]>24||r[us]===24&&(r[ea]!==0||r[Ga]!==0||r[$h]!==0)?us:r[ea]<0||r[ea]>59?ea:r[Ga]<0||r[Ga]>59?Ga:r[$h]<0||r[$h]>999?$h:-1,Oi(i)._overflowDayOfYear&&(e<Jo||e>ya)&&(e=ya),Oi(i)._overflowWeeks&&e===-1&&(e=e$),Oi(i)._overflowWeekday&&e===-1&&(e=t$),Oi(i).overflow=e),i}var TW="ISO_8601",kW="RFC_2822";function iv(i){if(i._f===TW)return VT(i);if(i._f===kW)return zT(i);if(i._a=[],Oi(i).empty=!0,on(i._f)||!i._i&&i._i!==0)return i;let e=i._i.toString(),r=0,t=e.length,n=$T(i._f,i._locale).match(wT)||[],l,C,B,$;for(l=0;l<n.length;l++)C=n[l],B=(e.match(l$(C,i._locale))||[])[0],B&&($=e.substr(0,e.indexOf(B)),$.length>0&&Oi(i).unusedInput.push($),e=e.slice(e.indexOf(B)+B.length),r+=B.length),Au[C]?(B?Oi(i).empty=!1:Oi(i).unusedTokens.push(C),c$(C,B,i)):i._strict&&!B&&Oi(i).unusedTokens.push(C);return Oi(i).charsLeftOver=t-r,e.length>0&&Oi(i).unusedInput.push(e),i._a[us]<=12&&Oi(i).bigHour===!0&&i._a[us]>0&&(Oi(i).bigHour=void 0),Oi(i).parsedDateParts=i._a.slice(0),Oi(i).meridiem=i._meridiem,i._a[us]=AW(i._locale,i._a[us],i._meridiem),tv(i),WT(i)}function AW(i,e,r){let t=e;if(r==null)return t;if(i.meridiemHour!=null)return i.meridiemHour(t,r);if(i.isPM==null)return t;let n=i.isPM(r);return n&&t<12&&(t+=12),!n&&t===12&&(t=0),t}function DW(i){let e,r,t,n;if(!i._f||i._f.length===0)return Oi(i).invalidFormat=!0,kg(i);let l;for(l=0;l<i._f.length;l++)n=0,e=Object.assign({},i),i._useUTC!=null&&(e._useUTC=i._useUTC),e._f=i._f[l],iv(e),ev(e)&&(n+=Oi(e).charsLeftOver,n+=Oi(e).unusedTokens.length*10,Oi(e).score=n,(t==null||n<t)&&(t=n,r=e));return Object.assign(i,r||e)}function LW(i){if(i._d)return i;let e=i._i;if(Wh(e)){let r=Jz(e);i._a=[r.year,r.month,r.day,r.hours,r.minutes,r.seconds,r.milliseconds].map(t=>Xr(t)?parseInt(t,10):t)}return tv(i)}function PW(i){let e=WT(OW(i));return e._d=new Date(e._d!=null?e._d.getTime():NaN),ev(Object.assign({},e,{_isValid:null}))||(e._d=new Date(NaN)),e}function OW(i){let e=i._i,r=i._f;return i._locale=i._locale||js(i._l),e===null||r===void 0&&e===""?kg(i,{nullInput:!0}):(Xr(e)&&(i._i=e=i._locale.preparse(e,r)),Kp(e)?(i._d=Yh(e),i):(on(r)?DW(i):r?iv(i):IW(i),ev(i)||(i._d=null),i))}function IW(i){let e=i._i;if(CT(e))i._d=new Date;else if(Kp(e))i._d=Yh(e);else if(Xr(e))_W(i);else if(on(e)&&e.length){let r=e.slice(0);i._a=r.map(t=>Xr(t)?parseInt(t,10):t),tv(i)}else if(Wh(e))LW(i);else if(Pu(e))i._d=new Date(e);else return kg(i);return i}function RW(i,e,r,t,n){let l={},C=i;return(Wh(C)&&Qz(C)||on(C)&&C.length===0)&&(C=void 0),l._useUTC=l._isUTC=n,l._l=r,l._i=C,l._f=e,l._strict=t,PW(l)}function Lu(i,e,r,t,n){return Kp(i)?i:RW(i,e,r,t,n)._d}function nv(i){return i instanceof Date?new Date(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()):null}function Ky(i){return i<0?Math.round(i*-1)*-1:Math.round(i)}function Za(i,e,r="milliseconds"){return!i||!e?!1:r==="milliseconds"?i.valueOf()>e.valueOf():e.valueOf()<va(i,r).valueOf()}function Rl(i,e,r="milliseconds"){return!i||!e?!1:r==="milliseconds"?i.valueOf()<e.valueOf():Qp(i,r).valueOf()<e.valueOf()}function YT(i,e){return typeof e>"u"||!e||!e.length?!1:e.some(r=>r===i.getDay())}function Jp(i,e,r="milliseconds"){if(!i||!e)return!1;if(r==="milliseconds")return i.valueOf()===e.valueOf();let t=e.valueOf();return va(i,r).valueOf()<=t&&t<=Qp(i,r).valueOf()}var BW=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,NW=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function sv(i,e,r={}){let t=jW(i,e);return new Mg(t,r)}function jW(i,e){if(i==null)return{};if(cW(i))return{milliseconds:i._milliseconds,day:i._days,month:i._months};if(Pu(i))return e?{[e]:i}:{milliseconds:i};if(Xr(i)){let r=BW.exec(i);if(r){let t=r[1]==="-"?-1:1;return{year:0,day:bi(r[ya])*t,hours:bi(r[us])*t,minutes:bi(r[ea])*t,seconds:bi(r[Ga])*t,milliseconds:bi(Ky(bi(r[$h])*1e3))*t}}
296if(r=NW.exec(i),r){let t=r[1]==="-"?-1:(r[1]==="+",1);return{year:Bh(r[2],t),month:Bh(r[3],t),week:Bh(r[4],t),day:Bh(r[5],t),hours:Bh(r[6],t),minutes:Bh(r[7],t),seconds:Bh(r[8],t)}}}if(Wh(i)&&("from"in i||"to"in i)){let r=HW(Lu(i.from),Lu(i.to));return{milliseconds:r.milliseconds,month:r.months}}return i}function Bh(i,e){let r=i&&parseFloat(i.replace(",","."));return(isNaN(r)?0:r)*e}function JM(i,e){let r={milliseconds:0,months:0};r.months=Mi(e)-Mi(i)+(es(e)-es(i))*12;let t=Zp(Yh(i),r.months,"month");return Za(t,e)&&--r.months,r.milliseconds=+e-+Zp(Yh(i),r.months,"month"),r}function HW(i,e){if(!(Xa(i)&&Xa(e)))return{milliseconds:0,months:0};let r,t=q$(e,i,{_offset:i.getTimezoneOffset()});return Rl(i,t)?r=JM(i,t):(r=JM(t,i),r.milliseconds=-r.milliseconds,r.months=-r.months),r}function Zp(i,e,r,t){let n=sv(e,r);return UT(i,n,1,t)}function FW(i,e,r,t){let n=sv(e,r);return UT(i,n,-1,t)}function UT(i,e,r,t){let n=e._milliseconds,l=Ky(e._days),C=Ky(e._months);return C&&Xy(i,Mi(i,t)+C*r,t),l&<(i,Xp(i,t)+l*r,t),n&&x$(i,s$(i)+n*r),Yh(i)}function VW(){Qt("d",null,"do",function(i,e){return ta(i,e.isUTC).toString(10)}),Qt("dd",null,null,function(i,e){return e.locale.weekdaysMin(i,e.format,e.isUTC)}),Qt("ddd",null,null,function(i,e){return e.locale.weekdaysShort(i,e.format,e.isUTC)}),Qt("dddd",null,null,function(i,e){return e.locale.weekdays(i,e.format,e.isUTC)}),Qt("e",null,null,function(i,e){return GT(i,e.locale,e.isUTC).toString(10)}),Qt("E",null,null,function(i,e){return YW(i,e.isUTC).toString(10)}),Js("day","d"),Js("weekday","e"),Js("isoWeekday","E"),er("day",11),er("weekday",11),er("isoWeekday",11),It("d",ln),It("e",ln),It("E",ln),It("dd",function(i,e){return e.weekdaysMinRegex(i)}),It("ddd",function(i,e){return e.weekdaysShortRegex(i)}),It("dddd",function(i,e){return e.weekdaysRegex(i)}),qp(["dd","ddd","dddd"],function(i,e,r,t){let n=r._locale.weekdaysParse(i,t,r._strict);return n!=null?e.d=n:Oi(r).invalidWeekday=!!i,r}),qp(["d","e","E"],function(i,e,r,t){return e[t]=bi(i),r})}function zW(i,e){if(!Xr(i))return i;let r=parseInt(i,10);if(!isNaN(r))return r;let t=e.weekdaysParse(i);return Pu(t)?t:null}function $W(i,e=js()){return Xr(i)?e.weekdaysParse(i)%7||7:Pu(i)&&isNaN(i)?null:i}function yg(i,e,r=js(),t){let n=ta(i,t),l=zW(e,r);return Zp(i,l-n,"day")}function ds(i,e){return ta(i,e)}function GT(i,e=js(),r){return(ta(i,r)+7-e.firstDayOfWeek())%7}function WW(i,e,r={}){let t=GT(i,r.locale,r.isUTC);return Zp(i,e-t,"day")}function YW(i,e){return ta(i,e)||7}function UW(i,e,r={}){let t=$W(e,r.locale);return yg(i,ds(i)%7?t:t-7)}var GW={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},XW={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},eT=function(i){return i===0?0:i===1?1:i===2?2:i%100>=3&&i%100<=10?3:i%100>=11?4:5},qW={s:["\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u0629","\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",["\u062B\u0627\u0646\u064A\u062A\u0627\u0646","\u062B\u0627\u0646\u064A\u062A\u064A\u0646"],"%d \u062B\u0648\u0627\u0646","%d \u062B\u0627\u0646\u064A\u0629","%d \u062B\u0627\u0646\u064A\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u0629","\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",["\u062F\u0642\u064A\u0642\u062A\u0627\u0646","\u062F\u0642\u064A\u0642\u062A\u064A\u0646"],"%d \u062F\u0642\u0627\u0626\u0642","%d \u062F\u0642\u064A\u0642\u0629","%d \u062F\u0642\u064A\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",["\u0633\u0627\u0639\u062A\u0627\u0646","\u0633\u0627\u0639\u062A\u064A\u0646"],"%d \u0633\u0627\u0639\u0627\u062A","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064A\u0648\u0645","\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",["\u064A\u0648\u0645\u0627\u0646","\u064A\u0648\u0645\u064A\u0646"],"%d \u0623\u064A\u0627\u0645","%d \u064A\u0648\u0645\u064B\u0627","%d \u064A\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064A\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062D\u062F",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064A\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064B\u0627","%d \u0639\u0627\u0645"]},vo=function(i){return function(e,r){let t=eT(e),n=qW[i][eT(e)];return t===2&&(n=n[r?0:1]),n.replace(/%d/i,e.toString())}},tT=["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],mEe={abbr:"ar",months:tT,monthsShort:tT,weekdays:"\u0627\u0644\u0623\u062D\u062F_\u0627\u0644\u0625\u062B\u0646\u064A\u0646_\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062E\u0645\u064A\u0633_\u0627\u0644\u062C\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062A".split("_"),weekdaysShort:"\u0623\u062D\u062F_\u0625\u062B\u0646\u064A\u0646_\u062B\u0644\u0627\u062B\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062E\u0645\u064A\u0633_\u062C\u0645\u0639\u0629_\u0633\u0628\u062A".split("_"),weekdaysMin:"\u062D_\u0646_\u062B_\u0631_\u062E_\u062C_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200FM/\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM(i){return i==="\u0645"},meridiem(i,e,r){return i<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064A\u0648\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063A\u062F\u064B\u0627 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062F %s",past:"\u0645\u0646\u0630 %s",s:vo("s"),ss:vo("s"),m:vo("m"),mm:vo("m"),h:vo("h"),hh:vo("h"),d:vo("d"),dd:vo("d"),M:vo("M"),MM:vo("M"),y:vo("y"),yy:vo("y")},preparse(i){return i.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return XW[e]}).replace(/Ø/g,",")},postformat(i){return i.replace(/\d/g,function(e){return GW[e]}).replace(/,/g,"\u060C")},week:{dow:6,doy:12}};var gEe={abbr:"bg",months:"\u044F\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),monthsShort:"\u044F\u043D\u0440_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekdays:"\u043D\u0435\u0434\u0435\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u044F\u0434\u0430_\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A_\u043F\u0435\u0442\u044A\u043A_\u0441\u044A\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u044F_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u044A\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043D\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(i){switch(i){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043C\u0438\u043D\u0430\u043B\u0438\u044F] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043B\u0435\u0434 %s",past:"\u043F\u0440\u0435\u0434\u0438 %s",s:"\u043D\u044F\u043A\u043E\u043B\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434\u0438",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u043D\u0438",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/,ordinal:function(i){let e=Number(i),r=e%10,t=e%100;return e===0?e+"-\u0435\u0432":t===0?e+"-\u0435\u043D":t>10&&t<20?e+"-\u0442\u0438":r===1?e+"-\u0432\u0438":r===2?e+"-\u0440\u0438":r===7||r===8?e+"-\u043C\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}};var iT="gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),ZW="ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),Ly=[/^gen/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^oct/i,/^nov/i,/^des/i],nT=/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre|gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,EEe={abbr:"ca",months:"gener_febrer_mar\xE7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?ZW[Mi(i,r)]:iT[Mi(i,r)]:iT},monthsRegex:nT,monthsShortRegex:nT,monthsStrictRegex:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,monthsShortStrictRegex:/^(gen\.?|feb\.?|mar\.?|abr\.?|mai\.?|jun\.?|jul\.?|ago\.?|set\.?|oct\.?|nov\.?|des\.?)/i,monthsParse:Ly,longMonthsParse:Ly,shortMonthsParse:Ly,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"diu._dil._dim._dix._dij._div._dis.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(i){return"[avui a "+("la"+(yi(i)!==1)?"les":"")+"] LT"},nextDay(i){return"[dema a "+("la"+(yi(i)!==1)?"les":"")+"] LT"},nextWeek(i){return"dddd [a "+("la"+(yi(i)!==1)?"les":"")+"] LT"},lastDay(i){return"[ahir a "+("la"+(yi(i)!==1)?"les":"")+"] LT"},lastWeek(i){return"[el] dddd ["+("passada la "+(yi(i)!==1)?"passades les":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
296d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(er|on|er|rt|é)/,ordinal(i){let e=Number(i),r=e>4?"\xE9":e===1||e===3?"r":e===2?"n":e===4?"t":"\xE9";return e+r},week:{dow:1,doy:4}};var Py="leden_\xFAnor_b\u0159ezen_duben_kv\u011Bten_\u010Derven_\u010Dervenec_srpen_z\xE1\u0159\xED_\u0159\xEDjen_listopad_prosinec".split("_"),Oy="led_\xFAno_b\u0159e_dub_kv\u011B_\u010Dvn_\u010Dvc_srp_z\xE1\u0159_\u0159\xEDj_lis_pro".split("_");function xu(i){return i>1&&i<5&&~~(i/10)!==1}function xo(i,e,r,t){let n=i+" ";switch(r){case"s":return e||t?"p\xE1r sekund":"p\xE1r sekundami";case"ss":return e||t?n+(xu(i)?"sekundy":"sekund"):n+"sekundami";case"m":return e?"minuta":t?"minutu":"minutou";case"mm":return e||t?n+(xu(i)?"minuty":"minut"):n+"minutami";case"h":return e?"hodina":t?"hodinu":"hodinou";case"hh":return e||t?n+(xu(i)?"hodiny":"hodin"):n+"hodinami";case"d":return e||t?"den":"dnem";case"dd":return e||t?n+(xu(i)?"dny":"dn\xED"):n+"dny";case"M":return e||t?"m\u011Bs\xEDc":"m\u011Bs\xEDcem";case"MM":return e||t?n+(xu(i)?"m\u011Bs\xEDce":"m\u011Bs\xEDc\u016F"):n+"m\u011Bs\xEDci";case"y":return e||t?"rok":"rokem";case"yy":return e||t?n+(xu(i)?"roky":"let"):n+"lety"}}var bEe={abbr:"cs",months:Py,monthsShort:Oy,monthsParse:function(i,e){let r,t=[];for(r=0;r<12;r++)t[r]=new RegExp("^"+i[r]+"$|^"+e[r]+"$","i");return t}(Py,Oy),shortMonthsParse:function(i){let e,r=[];for(e=0;e<12;e++)r[e]=new RegExp("^"+i[e]+"$","i");return r}(Oy),longMonthsParse:function(i){let e,r=[];for(e=0;e<12;e++)r[e]=new RegExp("^"+i[e]+"$","i");return r}(Py),weekdays:"ned\u011Ble_pond\u011Bl\xED_\xFAter\xFD_st\u0159eda_\u010Dtvrtek_p\xE1tek_sobota".split("_"),weekdaysShort:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),weekdaysMin:"ne_po_\xFAt_st_\u010Dt_p\xE1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xEDtra v] LT",nextWeek(i){switch(ds(i)){case 0:return"[v ned\u011Bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010Dtvrtek v] LT";case 5:return"[v p\xE1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010Dera v] LT",lastWeek(i){switch(ds(i)){case 0:return"[minulou ned\u011Bli v] LT";case 1:case 2:return"[minul\xE9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xFD] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:xo,ss:xo,m:xo,mm:xo,h:xo,hh:xo,d:xo,dd:xo,M:xo,MM:xo,y:xo,yy:xo},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var yEe={abbr:"da",months:"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"S\xF8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xF8rdag".split("_"),weekdaysShort:"S\xF8n_Man_Tir_Ons_Tor_Fre_L\xF8r".split("_"),weekdaysMin:"S\xF8_Ma_Ti_On_To_Fr_L\x
296F8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xE5 dddd [kl.] LT",lastDay:"[i g\xE5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xE5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"et \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function Pl(i,e,r,t){let n={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[i+" Tage",i+" Tagen"],M:["ein Monat","einem Monat"],MM:[i+" Monate",i+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[i+" Jahre",i+" Jahren"]};return e?n[r][0]:n[r][1]}var vEe={abbr:"de",months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xE4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:Pl,mm:"%d Minuten",h:Pl,hh:"%d Stunden",d:Pl,dd:Pl,M:Pl,MM:Pl,y:Pl,yy:Pl},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var xEe={abbr:"en-gb",months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(i){let e=Number(i),r=e%10,t=~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th";return e+t},week:{dow:1,doy:4}};var sT="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),KW="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Iy=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],rT=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,CEe={abbr:"es-do",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?KW[Mi(i,r)]:sT[Mi(i,r)]:sT},monthsRegex:rT,monthsShortRegex:rT,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Iy,longMonthsParse:Iy,shortMonthsParse:Iy,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
296S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay(i){return"[hoy a la"+(yi(i)!==1?"s":"")+"] LT"},nextDay(i){return"[ma\xF1ana a la"+(yi(i)!==1?"s":"")+"] LT"},nextWeek(i){return"dddd [a la"+(yi(i)!==1?"s":"")+"] LT"},lastDay(i){return"[ayer a la"+(yi(i)!==1?"s":"")+"] LT"},lastWeek(i){return"[el] dddd [pasado a la"+(yi(i)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var oT="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),QW="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),Ry=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],aT=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,_Ee={abbr:"es",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?QW[Mi(i,r)]:oT[Mi(i,r)]:oT},monthsRegex:aT,monthsShortRegex:aT,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:Ry,longMonthsParse:Ry,shortMonthsParse:Ry,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(i){return"[hoy a la"+(yi(i)!==1?"s":"")+"] LT"},nextDay(i){return"[ma\xF1ana a la"+(yi(i)!==1?"s":"")+"] LT"},nextWeek(i){return"dddd [a la"+(yi(i)!==1?"s":"")+"] LT"},lastDay(i){return"[ayer a la"+(yi(i)!==1?"s":"")+"] LT"},lastWeek(i){return"[el] dddd [pasado a la"+(yi(i)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var lT="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),JW="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),wEe={abbr:"es-pr",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?JW[Mi(i,r)]:lT[Mi(i,r)]:lT},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay(i){return"[hoy a la"+(yi(i)!==1?"s":"")+"] LT"},nextDay(i){return"[ma\xF1ana a la"+(yi(i)!==1?"s":"")+"] LT"},nextWeek(i){return"dddd [a la"+(yi(i)!==1?"s":"")+"] LT"},lastDay(i){return"[ayer a la"+(yi(i)!==1?"s":"")+"] LT"},lastWeek(i){return"[el] dddd [pasado a la"+(yi(i)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:0,doy:6}};var hT="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),eY="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),SEe={abbr:"es-us",months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?eY[Mi(i,r)]:hT[Mi(i,r)]:hT},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
296S:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay(i){return"[hoy a la"+(yi(i)!==1?"s":"")+"] LT"},nextDay(i){return"[ma\xF1ana a la"+(yi(i)!==1?"s":"")+"] LT"},nextWeek(i){return"dddd [a la"+(yi(i)!==1?"s":"")+"] LT"},lastDay(i){return"[ayer a la"+(yi(i)!==1?"s":"")+"] LT"},lastWeek(i){return"[el] dddd [pasado a la"+(yi(i)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:0,doy:6}};var Qo=function(i,e,r,t){let n={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit"],ss:[i+"sekundi",i+"sekundit"],m:["\xFChe minuti","\xFCks minut"],mm:[i+" minuti",i+" minutit"],h:["\xFChe tunni","tund aega","\xFCks tund"],hh:[i+" tunni",i+" tundi"],d:["\xFChe p\xE4eva","\xFCks p\xE4ev"],M:["kuu aja","kuu aega","\xFCks kuu"],MM:[i+" kuu",i+" kuud"],y:["\xFChe aasta","aasta","\xFCks aasta"],yy:[i+" aasta",i+" aastat"]};return e?n[r][2]?n[r][2]:n[r][1]:t?n[r][0]:n[r][1]},MEe={abbr:"et",months:"jaanuar_veebruar_m\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xFChap\xE4ev_esmasp\xE4ev_teisip\xE4ev_kolmap\xE4ev_neljap\xE4ev_reede_laup\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xE4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xE4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xE4rast",past:"%s tagasi",s:Qo,ss:Qo,m:Qo,mm:Qo,h:Qo,hh:Qo,d:Qo,dd:"%d p\xE4eva",M:Qo,MM:Qo,y:Qo,yy:Qo},dayOfMonthOrdinalParse:/\d{1,2}./,ordinal:"%d.",week:{dow:1,doy:4}};var vg="nolla yksi kaksi kolme nelj\xE4 viisi kuusi seitsem\xE4n kahdeksan yhdeks\xE4n".split(" "),tY=["nolla","yhden","kahden","kolmen","nelj\xE4n","viiden","kuuden",vg[7],vg[8],vg[9]];function Co(i,e,r,t){var n="";switch(r){case"s":return t?"muutaman sekunnin":"muutama sekunti";case"ss":return t?"sekunnin":"sekuntia";case"m":return t?"minuutin":"minuutti";case"mm":n=t?"minuutin":"minuuttia";break;case"h":return t?"tunnin":"tunti";case"hh":n=t?"tunnin":"tuntia";break;case"d":return t?"p\xE4iv\xE4n":"p\xE4iv\xE4";case"dd":n=t?"p\xE4iv\xE4n":"p\xE4iv\xE4\xE4";break;case"M":return t?"kuukauden":"kuukausi";case"MM":n=t?"kuukauden":"kuukautta";break;case"y":return t?"vuoden":"vuosi";case"yy":n=t?"vuoden":"vuotta";break}return n=iY(i,t)+" "+n,n}function iY(i,e){return i<10?e?tY[i]:vg[i]:i}var TEe={abbr:"fi",months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xE4kuu_hein\xE4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xE4_hein\xE4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xE4n\xE4\xE4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xE4\xE4st\xE4",past:"%s sitten",s:Co,ss:Co,m:Co,mm:Co,h:Co,hh:Co,d:Co,dd:Co,M:Co,MM:Co,y:Co,yy:Co},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var kEe={abbr:"fr",months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xE0] LT",nextDay:"[Demain \xE0] LT",nextWeek:"dddd [\xE0] LT",lastDay:"[Hier \xE0] LT",lastWeek:"dddd [dernier \xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal(i,e){let r=Number(i);switch(e){case"D":return r+(r===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return r+(r===1?"er":"e");case"w":case"W":return r+(r===1?"re":"e")}},week:{dow:1,doy:4}};var AEe={abbr:"fr-ca",months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xE0] LT",nextDay:"[Demain \xE0] LT",nextWeek:"dddd [\xE0] LT",lastDay:"[Hier \xE0] LT",lastWeek:"dddd [dernier \xE0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e|)/,ordinal(i,e){let r=Number(i);switch(e){case"D":return r+(r===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return r+(r===1?"er":"e");case"w":case"W":return r+(r===1?"re":"e")}},week:{dow:1,doy:4}};var cT="xan._feb._mar._abr._mai._xu\xF1._xul._ago._set._out._nov._dec.".split("_"),nY="xan_feb_mar_abr_mai_xu\xF1_xul_ago_set_out_nov_dec".split("_"),By=[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xuñ/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i],uT=/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro|xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xuñ\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,DEe={abbr:"gl",months:"xaneiro_febreiro_marzo_abril_maio_xu\xF1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?nY[Mi(i,r)]:cT[Mi(i,r)]:cT},monthsRegex:uT,monthsShortRegex:uT,monthsStrictRegex:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i,monthsShortStrictRegex:/^(xan\.?|feb\.?|mar\.?|abr\.?|mai\.?|xuñ\.?|xul\.?|ago\.?|set\.?|out\.?|nov\.?|dec\.?)/i,monthsParse:By,longMonthsParse:By,shortMonthsParse:By,weekdays:"domingo_luns_martes_m\xE9rcores_xoves_venres_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xE9r._xov._ven._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_m\xE9_xo_ve_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay(i){return"[hoxe \xE1"+(yi(i)!==1?"s":"")+"] LT"},nextDay(i){return"[ma\xF1an \xE1"+(yi(i)!==1?"s":"")+"] LT"},nextWeek(i){return"dddd [\xE1"+(yi(i)!==1?"s":"")+"] LT"},lastDay(i){return"[onte \xE1"+(yi(i)!==1?"s":"")+"] LT"},lastWeek(i){return"[o] dddd [pasado \xE1"+(yi(i)!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%
296d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var LEe={abbr:"he",months:"\u05D9\u05E0\u05D5\u05D0\u05E8_\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8_\u05DE\u05E8\u05E5_\u05D0\u05E4\u05E8\u05D9\u05DC_\u05DE\u05D0\u05D9_\u05D9\u05D5\u05E0\u05D9_\u05D9\u05D5\u05DC\u05D9_\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8_\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8_\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8_\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8_\u05D3\u05E6\u05DE\u05D1\u05E8".split("_"),monthsShort:"\u05D9\u05E0\u05D5\u05F3_\u05E4\u05D1\u05E8\u05F3_\u05DE\u05E8\u05E5_\u05D0\u05E4\u05E8\u05F3_\u05DE\u05D0\u05D9_\u05D9\u05D5\u05E0\u05D9_\u05D9\u05D5\u05DC\u05D9_\u05D0\u05D5\u05D2\u05F3_\u05E1\u05E4\u05D8\u05F3_\u05D0\u05D5\u05E7\u05F3_\u05E0\u05D5\u05D1\u05F3_\u05D3\u05E6\u05DE\u05F3".split("_"),weekdays:"\u05E8\u05D0\u05E9\u05D5\u05DF_\u05E9\u05E0\u05D9_\u05E9\u05DC\u05D9\u05E9\u05D9_\u05E8\u05D1\u05D9\u05E2\u05D9_\u05D7\u05DE\u05D9\u05E9\u05D9_\u05E9\u05D9\u05E9\u05D9_\u05E9\u05D1\u05EA".split("_"),weekdaysShort:"\u05D0\u05F3_\u05D1\u05F3_\u05D2\u05F3_\u05D3\u05F3_\u05D4\u05F3_\u05D5\u05F3_\u05E9\u05F3".split("_"),weekdaysMin:"\u05D0_\u05D1_\u05D2_\u05D3_\u05D4_\u05D5_\u05E9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05D1]MMMM YYYY",LLL:"D [\u05D1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05D1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05D4\u05D9\u05D5\u05DD \u05D1\u05BE]LT",nextDay:"[\u05DE\u05D7\u05E8 \u05D1\u05BE]LT",nextWeek:"dddd [\u05D1\u05E9\u05E2\u05D4] LT",lastDay:"[\u05D0\u05EA\u05DE\u05D5\u05DC \u05D1\u05BE]LT",lastWeek:"[\u05D1\u05D9\u05D5\u05DD] dddd [\u05D4\u05D0\u05D7\u05E8\u05D5\u05DF \u05D1\u05E9\u05E2\u05D4] LT",sameElse:"L"},relativeTime:{future:"\u05D1\u05E2\u05D5\u05D3 %s",past:"\u05DC\u05E4\u05E0\u05D9 %s",s:"\u05DE\u05E1\u05E4\u05E8 \u05E9\u05E0\u05D9\u05D5\u05EA",ss:"%d \u05E9\u05E0\u05D9\u05D5\u05EA",m:"\u05D3\u05E7\u05D4",mm:"%d \u05D3\u05E7\u05D5\u05EA",h:"\u05E9\u05E2\u05D4",hh(i){return i===2?"\u05E9\u05E2\u05EA\u05D9\u05D9\u05DD":i+" \u05E9\u05E2\u05D5\u05EA"},d:"\u05D9\u05D5\u05DD",dd(i){return i===2?"\u05D9\u05D5\u05DE\u05D9\u05D9\u05DD":i+" \u05D9\u05DE\u05D9\u05DD"},M:"\u05D7\u05D5\u05D3\u05E9",MM(i){return i===2?"\u05D7\u05D5\u05D3\u05E9\u05D9\u05D9\u05DD":i+" \u05D7\u05D5\u05D3\u05E9\u05D9\u05DD"},y:"\u05E9\u05E0\u05D4",yy(i){return i===2?"\u05E9\u05E0\u05EA\u05D9\u05D9\u05DD":i%10===0&&i!==10?i+" \u05E9\u05E0\u05D4":i+" \u05E9\u05E0\u05D9\u05DD"}},meridiemParse:/×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i,isPM(i){return/^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(i)},meridiem(i,e,r){return i<5?"\u05DC\u05E4\u05E0\u05D5\u05EA \u05D1\u05D5\u05E7\u05E8":i<10?"\u05D1\u05D1\u05D5\u05E7\u05E8":i<12?r?'\u05DC\u05E4\u05E0\u05D4"\u05E6':"\u05DC\u05E4\u05E0\u05D9 \u05D4\u05E6\u05D4\u05E8\u05D9\u05D9\u05DD":i<18?r?'\u05D0\u05D7\u05D4"\u05E6':"\u05D0\u05D7\u05E8\u05D9 \u05D4\u05E6\u05D4\u05E8\u05D9\u05D9\u05DD":"\u05D1\u05E2\u05E8\u05D1"}};var sY={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096A",5:"\u096B",6:"\u096C",7:"\u096D",8:"\u096E",9:"\u096F",0:"\u0966"},rY={"\u0967":"1","\u0968":"2","\u0969":"3","\u096A":"4","\u096B":"5","\u096C":"6","\u096D":"7","\u096E":"8","\u096F":"9","\u0966":"0"},PEe={abbr:"hi",months:"\u091C\u0928\u0935\u0930\u0940_\u092B\u093C\u0930\u0935\u0930\u0940_\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948\u0932_\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932\u093E\u0908_\u0905\u0917\u0938\u094D\u0924_\u0938\u093F\u0924\u092E\u094D\u092C\u0930_\u0905\u0915\u094D\u091F\u0942\u092C\u0930_\u0928\u0935\u092E\u094D\u092C\u0930_\u0926\u093F\u0938\u092E\u094D\u092C\u0930".split("_"),monthsShort:"\u091C\u0928._\u092B\u093C\u0930._\u092E\u093E\u0930\u094D\u091A_\u0905\u092A\u094D\u0930\u0948._\u092E\u0908_\u091C\u0942\u0928_\u091C\u0941\u0932._\u0905\u0917._\u0938\u093F\u0924._\u0905\u0915\u094D\u091F\u0942._\u0928\u0935._\u0926\u093F\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093F\u0935\u093E\u0930_\u0938\u094B\u092E\u0935\u093E\u0930_\u092E\u0902\u0917\u0932\u0935\u093E\u0930_\u092C\u0941\u0927\u0935\u093E\u0930_\u0917\u0941\u0930\u0942\u0935\u093E\u0930_\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930_\u0936\u0928\u093F\u0935\u093E\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093F_\u0938\u094B\u092E_\u092E\u0902\u0917\u0932_\u092C\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094D\u0930_\u0936\u0928\u093F".split("_"),weekdaysMin:"\u0930_\u0938\u094B_\u092E\u0902_\u092C\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092C\u091C\u0947",LTS:"A h:mm:ss \u092C\u091C\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092C\u091C\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092C\u091C\u0947"},calendar:{sameDay:"[\u0906\u091C] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092A\u093F\u091B\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092E\u0947\u0902",past:"%s \u092A\u0939\u0932\u0947",s:"\u0915\u0941\u091B \u0939\u0940 \u0915\u094D\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090F\u0915 \u092E\u093F\u0928\u091F",mm:"%d \u092E\u093F\u0928\u091F",h:"\u090F\u0915 \u0918\u0902\u091F\u093E",hh:"%d \u0918\u0902\u091F\u0947",d:"\u090F\u0915 \u0926\u093F\u0928",dd:"%d \u0926\u093F\u0928",M:"\u090F\u0915 \u092E\u0939\u0940\u0928\u0947",MM:"%d \u092E\u0939\u0940\u0928\u0947",y:"\u090F\u0915 \u0935\u0930\u094D\u0937",yy:"%d \u0935\u0930\u094D\u0937"},preparse(i){return i.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g,function(e){return rY[e]})},postformat(i){return i.replace(/\d/g,function(e){return sY[e]})},meridiemParse:/रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/,meridiemHour(i,e){if(i===12&&(i=0),e==="\u0930\u093E\u0924")return i<4?i:i+12;if(e==="\u0938\u0941\u092C\u0939")return i;if(e==="\u0926\u094B\u092A\u0939\u0930")return i>=10?i:i+12;if(e==="\u0936\u093E\u092E")return i+12},meridiem(i,e,r){return i<4?"\u0930\u093E\u0924":i<10?"\u0938\u0941\u092C\u0939":i<17?"\u0926\u094B\u092A\u0939\u0930":i<20?"\u093
2966\u093E\u092E":"\u0930\u093E\u0924"},week:{dow:0,doy:6}};var oY="vas\xE1rnap h\xE9tf\u0151n kedden szerd\xE1n cs\xFCt\xF6rt\xF6k\xF6n p\xE9nteken szombaton".split(" ");function _o(i,e,r,t){switch(r){case"s":return t||e?"n\xE9h\xE1ny m\xE1sodperc":"n\xE9h\xE1ny m\xE1sodperce";case"ss":return i+(t||e?" m\xE1sodperc":" m\xE1sodperce");case"m":return"egy"+(t||e?" perc":" perce");case"mm":return i+(t||e?" perc":" perce");case"h":return"egy"+(t||e?" \xF3ra":" \xF3r\xE1ja");case"hh":return i+(t||e?" \xF3ra":" \xF3r\xE1ja");case"d":return"egy"+(t||e?" nap":" napja");case"dd":return i+(t||e?" nap":" napja");case"M":return"egy"+(t||e?" h\xF3nap":" h\xF3napja");case"MM":return i+(t||e?" h\xF3nap":" h\xF3napja");case"y":return"egy"+(t||e?" \xE9v":" \xE9ve");case"yy":return i+(t||e?" \xE9v":" \xE9ve")}return""}function dT(i,e){return(e?"":"[m\xFAlt] ")+"["+oY[ds(i)]+"] LT[-kor]"}var OEe={abbr:"hu",months:"janu\xE1r_febru\xE1r_m\xE1rcius_\xE1prilis_m\xE1jus_j\xFAnius_j\xFAlius_augusztus_szeptember_okt\xF3ber_november_december".split("_"),monthsShort:"jan_feb_m\xE1rc_\xE1pr_m\xE1j_j\xFAn_j\xFAl_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xE1rnap_h\xE9tf\u0151_kedd_szerda_cs\xFCt\xF6rt\xF6k_p\xE9ntek_szombat".split("_"),weekdaysShort:"vas_h\xE9t_kedd_sze_cs\xFCt_p\xE9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM(i){return i.charAt(1).toLowerCase()==="u"},meridiem(i,e,r){return i<12?r===!0?"de":"DE":r===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek(i){return dT(i,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek(i){return dT(i,!1)},sameElse:"L"},relativeTime:{future:"%s m\xFAlva",past:"%s",s:_o,ss:_o,m:_o,mm:_o,h:_o,hh:_o,d:_o,dd:_o,M:_o,MM:_o,y:_o,yy:_o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var IEe={abbr:"hr",months:"Sije\u010Danj_Velja\u010Da_O\u017Eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),monthsShort:"Sij_Velj_O\u017Eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),weekdays:"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010Cetvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned_Pon_Uto_Sri_\u010Cet_Pet_Sub".split("_"),weekdaysMin:"Ne_Po_Ut_Sr_\u010Ce_Pe_Su".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Danas u] LT",nextDay:"[Sutra u] LT",nextWeek:"dddd [u] LT",lastDay:"[Ju\u010Der u] LT",lastWeek:"[Zadnji] dddd [u] LT",sameElse:"L"},invalidDate:"Neispravan datum",relativeTime:{future:"za %s",past:"%s prije",s:"nekoliko sekundi",ss:"%d sekundi",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godina"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal(i){let e=Number(i),r=e%10,t=(~~(e%100/10)===1,".");return e+t},week:{dow:1,doy:4}};var REe={abbr:"id",months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour(i,e){if(i===12&&(i=0),e==="pagi")return i;if(e==="siang")return i>=11?i:i+12;if(e==="sore"||e==="malam")return i+12},meridiem(i,e,r){return i<11?"pagi":i<15?"siang":i<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}};var BEe={abbr:"it",months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xEC_marted\xEC_mercoled\xEC_gioved\xEC_venerd\xEC_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek(i){switch(ds(i)){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future(i){return(/^[0-9].+$/.test(i.toString(10))?"tra":"in")+" "+i},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
296d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4}};var NEe={abbr:"ja",months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65E5\u66DC\u65E5_\u6708\u66DC\u65E5_\u706B\u66DC\u65E5_\u6C34\u66DC\u65E5_\u6728\u66DC\u65E5_\u91D1\u66DC\u65E5_\u571F\u66DC\u65E5".split("_"),weekdaysShort:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),weekdaysMin:"\u65E5_\u6708_\u706B_\u6C34_\u6728_\u91D1_\u571F".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5 HH:mm dddd"},meridiemParse:/åå|åå¾/i,isPM(i){return i==="\u5348\u5F8C"},meridiem(i,e,r){return i<12?"\u5348\u524D":"\u5348\u5F8C"},calendar:{sameDay:"[\u4ECA\u65E5] LT",nextDay:"[\u660E\u65E5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65E5] LT",lastWeek:"[\u524D\u9031]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}æ¥/,ordinal(i,e){switch(e){case"d":case"D":case"DDD":return i+"\u65E5";default:return i.toString(10)}},relativeTime:{future:"%s\u5F8C",past:"%s\u524D",s:"\u6570\u79D2",ss:"%d\u79D2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65E5",dd:"%d\u65E5",M:"1\u30F6\u6708",MM:"%d\u30F6\u6708",y:"1\u5E74",yy:"%d\u5E74"}};var jEe={abbr:"ka",months:{format:"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10E1_\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10E1_\u10DB\u10D0\u10E0\u10E2\u10E1_\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8\u10E1_\u10DB\u10D0\u10D8\u10E1\u10E1_\u10D8\u10D5\u10DC\u10D8\u10E1\u10E1_\u10D8\u10D5\u10DA\u10D8\u10E1\u10E1_\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10E1_\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1_\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10E1_\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1_\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10E1".split("_"),standalone:"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8_\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8_\u10DB\u10D0\u10E0\u10E2\u10D8_\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8_\u10DB\u10D0\u10D8\u10E1\u10D8_\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8_\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8_\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD_\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8_\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8_\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8_\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8".split("_")},monthsShort:"\u10D8\u10D0\u10DC_\u10D7\u10D4\u10D1_\u10DB\u10D0\u10E0_\u10D0\u10DE\u10E0_\u10DB\u10D0\u10D8_\u10D8\u10D5\u10DC_\u10D8\u10D5\u10DA_\u10D0\u10D2\u10D5_\u10E1\u10D4\u10E5_\u10DD\u10E5\u10E2_\u10DC\u10DD\u10D4_\u10D3\u10D4\u10D9".split("_"),weekdays:{standalone:"\u10D9\u10D5\u10D8\u10E0\u10D0_\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8_\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8_\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8".split("_"),format:"\u10D9\u10D5\u10D8\u10E0\u10D0\u10E1_\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1_\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10E1_\u10E8\u10D0\u10D1\u10D0\u10D7\u10E1".split("_"),isFormat:/(á¬ááá|á¨ááááá)/},weekdaysShort:"\u10D9\u10D5\u10D8_\u10DD\u10E0\u10E8_\u10E1\u10D0\u10DB_\u10DD\u10D7\u10EE_\u10EE\u10E3\u10D7_\u10DE\u10D0\u10E0_\u10E8\u10D0\u10D1".split("_"),weekdaysMin:"\u10D9\u10D5_\u10DD\u10E0_\u10E1\u10D0_\u10DD\u10D7_\u10EE\u10E3_\u10DE\u10D0_\u10E8\u10D0".split("_"),longDateFormat:{LT:"h:mm A",LT
296S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10D3\u10E6\u10D4\u10E1] LT[-\u10D6\u10D4]",nextDay:"[\u10EE\u10D5\u10D0\u10DA] LT[-\u10D6\u10D4]",lastDay:"[\u10D2\u10E3\u10E8\u10D8\u10DC] LT[-\u10D6\u10D4]",nextWeek:"[\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2] dddd LT[-\u10D6\u10D4]",lastWeek:"[\u10EC\u10D8\u10DC\u10D0] dddd LT-\u10D6\u10D4",sameElse:"L"},relativeTime:{future(i){var e=i.toString();return/(á¬ááá|á¬á£áá|á¡áááá|á¬ááá)/.test(e)?e.replace(/á$/,"\u10E8\u10D8"):e+"\u10E8\u10D8"},past(i){var e=i.toString();if(/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/.test(e))return e.replace(/(á|á)$/,"\u10D8\u10E1 \u10EC\u10D8\u10DC");if(/á¬ááá/.test(e))return e.replace(/á¬ááá$/,"\u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC")},s:"\u10E0\u10D0\u10DB\u10D3\u10D4\u10DC\u10D8\u10DB\u10D4 \u10EC\u10D0\u10DB\u10D8",ss:"%d \u10EC\u10D0\u10DB\u10D8",m:"\u10EC\u10E3\u10D7\u10D8",mm:"%d \u10EC\u10E3\u10D7\u10D8",h:"\u10E1\u10D0\u10D0\u10D7\u10D8",hh:"%d \u10E1\u10D0\u10D0\u10D7\u10D8",d:"\u10D3\u10E6\u10D4",dd:"%d \u10D3\u10E6\u10D4",M:"\u10D7\u10D5\u10D4",MM:"%d \u10D7\u10D5\u10D4",y:"\u10EC\u10D4\u10DA\u10D8",yy:"%d \u10EC\u10D4\u10DA\u10D8"},dayOfMonthOrdinalParse:/0|1-áá|áá-\d{1,2}|\d{1,2}-á/,ordinal(i,e){let r=Number(i);return r===0?r.toString():r===1?r+"-\u10DA\u10D8":r<20||r<=100&&r%20===0||r%100===0?"\u10DB\u10D4-"+r:r+"-\u10D4"},week:{dow:1,doy:4}},Ny={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044B",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044B",10:"-\u0448\u044B",20:"-\u0448\u044B",30:"-\u0448\u044B",40:"-\u0448\u044B",50:"-\u0448\u0456",60:"-\u0448\u044B",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044B",100:"-\u0448\u0456"},HEe={abbr:"kk",months:"\u049B\u0430\u04A3\u0442\u0430\u0440_\u0430\u049B\u043F\u0430\u043D_\u043D\u0430\u0443\u0440\u044B\u0437_\u0441\u04D9\u0443\u0456\u0440_\u043C\u0430\u043C\u044B\u0440_\u043C\u0430\u0443\u0441\u044B\u043C_\u0448\u0456\u043B\u0434\u0435_\u0442\u0430\u043C\u044B\u0437_\u049B\u044B\u0440\u043A\u04AF\u0439\u0435\u043A_\u049B\u0430\u0437\u0430\u043D_\u049B\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043B\u0442\u043E\u049B\u0441\u0430\u043D".split("_"),monthsShort:"\u049B\u0430\u04A3_\u0430\u049B\u043F_\u043D\u0430\u0443_\u0441\u04D9\u0443_\u043C\u0430\u043C_\u043C\u0430\u0443_\u0448\u0456\u043B_\u0442\u0430\u043C_\u049B\u044B\u0440_\u049B\u0430\u0437_\u049B\u0430\u0440_\u0436\u0435\u043B".split("_"),weekdays:"\u0436\u0435\u043A\u0441\u0435\u043D\u0431\u0456_\u0434\u04AF\u0439\u0441\u0435\u043D\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043D\u0431\u0456_\u0441\u04D9\u0440\u0441\u0435\u043D\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043D\u0431\u0456_\u0436\u04B1\u043C\u0430_\u0441\u0435\u043D\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043A_\u0434\u04AF\u0439_\u0441\u0435\u0439_\u0441\u04D9\u0440_\u0431\u0435\u0439_\u0436\u04B1\u043C_\u0441\u0435\u043D".split("_"),weekdaysMin:"\u0436\u043A_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043C_\u0441\u043D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04AF\u0433\u0456\u043D \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04A3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041A\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04E8\u0442\u043A\u0435\u043D \u0430\u043F\u0442\u0430\u043D\u044B\u04A3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043D\u0434\u0435",past:"%s \u0431\u04B1\u0440\u044B\u043D",s:"\u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434",ss:"%d \u0441\u0435\u043A\u0443\u043D\u0434",m:"\u0431\u0456\u0440 \u043C\u0438\u043D\u0443\u0442",mm:"%d \u043C\u0438\u043D\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043A\u04AF\u043D",dd:"%d \u043A\u04AF\u043D",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044B\u043B",yy:"%d \u0436\u044B\u043B"},dayOfMonthOrdinalParse:/\d{1,2}-(ÑÑ|ÑÑ)/,ordinal(i){let e=i%10,r=i>=100?100:null;return i+(Ny[i]||Ny[e]||Ny[r])},week:{dow:1,doy:7}};var FEe={abbr:"ko",months:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),monthsShort:"1\uC6D4_2\uC6D4_3\uC6D4_4\uC6D4_5\uC6D4_6\uC6D4_7\uC6D4_8\uC6D4_9\uC6D4_10\uC6D4_11\uC6D4_12\uC6D4".split("_"),weekdays:"\uC77C\uC694\uC77C_\uC6D4\uC694\uC77C_\uD654\uC694\uC77C_\uC218\uC694\uC77C_\uBAA9\uC694\uC77C_\uAE08\uC694\uC77C_\uD1A0\uC694\uC77C".split("_"),weekdaysShort:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),weekdaysMin:"\uC77C_\uC6D4_\uD654_\uC218_\uBAA9_\uAE08_\uD1A0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY\uB144 MMMM D\uC77C",LLL:"YYYY\uB144 MMMM D\uC77C A h:mm",LLLL:"YYYY\uB144 MMMM D\uC77C dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY\uB144 MMMM D\uC77C",lll:"YYYY\uB144 MMMM D\uC77C A h:mm",llll:"YYYY\uB144 MMMM D\uC77C dddd A h:mm"},calendar:{sameDay:"\uC624\uB298 LT",nextDay:"\uB0B4\uC77C LT",nextWeek:"dddd LT",lastDay:"\uC5B4\uC81C LT",lastWeek:"\uC9C0\uB09C\uC8FC dddd LT",sameElse:"L"},relativeTime:{future:"%s \uD6C4",past:"%s \uC804",s:"\uBA87 \uCD08",ss:"%d\uCD08",m:"1\uBD84",mm:"%d\uBD84",h:"\uD55C \uC2DC\uAC04",hh:"%d\uC2DC\uAC04",d:"\uD558\uB8E8",dd:"%d\uC77C",M:"\uD55C \uB2EC",MM:"%d\uB2EC",y:"\uC77C \uB144",yy:"%d\uB144"},dayOfMonthOrdinalParse:/\d{1,2}(ì¼|ì|주)/,ordinal:function(i,e){switch(e){case"d":case"D":case"DDD":return i+"\uC77C";case"M":return i+"\uC6D4";case"w":case"W":return i+"\uC8FC";default:return i.toString(10)}},meridiemParse:/ì¤ì |ì¤í/,isPM:function(i){return i==="\uC624\uD6C4"},meridiem:function(i,e,r){return i<12?"\uC624\uC804":"\uC624\uD6C4"}};var aY={ss:"sekund\u0117_sekund\u017Ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010Di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_die
296n\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012F",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function lY(i,e,r,t){return e?"kelios sekund\u0117s":t?"keli\u0173 sekund\u017Ei\u0173":"kelias sekundes"}function ku(i,e,r,t){return e?Il(r)[0]:t?Il(r)[1]:Il(r)[2]}function pT(i){return i%10===0||i>10&&i<20}function Il(i){return aY[i].split("_")}function Cu(i,e,r,t){let n=i+" ";return i===1?n+ku(i,e,r[0],t):e?n+(pT(i)?Il(r)[1]:Il(r)[0]):t?n+Il(r)[1]:n+(pT(i)?Il(r)[1]:Il(r)[2])}var VEe={abbr:"lt",months:{format:"sausio_vasario_kovo_baland\u017Eio_gegu\u017E\u0117s_bir\u017Eelio_liepos_rugpj\u016B\u010Dio_rugs\u0117jo_spalio_lapkri\u010Dio_gruod\u017Eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017E\u0117_bir\u017Eelis_liepa_rugpj\u016Btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012F_pirmadien\u012F_antradien\u012F_tre\u010Diadien\u012F_ketvirtadien\u012F_penktadien\u012F_\u0161e\u0161tadien\u012F".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010Diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012F] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:lY,ss:Cu,m:ku,mm:Cu,h:ku,hh:Cu,d:ku,dd:Cu,M:ku,MM:Cu,y:ku,yy:Cu},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal(i){return i+"-oji"},week:{dow:1,doy:4}};var zEe={abbr:"lv",months:"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012Blis_Maijs_J\u016Bnijs_J\u016Blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mai_J\u016Bn_J\u016Bl_Aug_Sep_Okt_Nov_Dec".split("_"),weekdays:"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),weekdaysShort:"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),weekdaysMin:"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:"da\u017E\u0101m sekund\u0113m",ss:"%d sekund\u0113m",m:"min\u016Btes",mm:"%d min\u016Bt\u0113m",h:"stundas",hh:"%d stund\u0101m",d:"dienas",dd:"%d dien\u0101m",M:"m\u0113ne\u0161a",MM:"%d m\u0113ne\u0161iem",y:"gada",yy:"%d gadiem"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal(i){return i+"."},week:{dow:1,doy:4}};function wo(i,e,r,t){switch(r){case"s":return e?"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434":"\u0445\u044D\u0434\u0445\u044D\u043D \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D";case"ss":return i+(e?" \u0441\u0435\u043A\u0443\u043D\u0434":" \u0441\u0435\u043A\u0443\u043D\u0434\u044B\u043D");case"m":case"mm":return i+(e?" \u043C\u0438\u043D\u0443\u0442":" \u043C\u0438\u043D\u0443\u0442\u044B\u043D");case"h":case"hh":return i+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043D");case"d":case"dd":return i+(e?" \u04E9\u0434\u04E9\u0440":" \u04E9\u0434\u0440\u0438\u0439\u043D");case"M":case"MM":return i+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044B\u043D");case"y":case"yy":return i+(e?" \u0436\u0438\u043B":" \u0436\u0438\u043B\u0438\u0439\u043D");default:return i.toString(10)}}var $Ee={abbr:"mn",months:"\u041D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0425\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04E9\u0440\u04E9\u0432\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043E\u043B\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041D\u0430\u0439\u043C\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043D \u043D\u044D\u0433\u0434\u04AF\u0433\u044D\u044D\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043D \u0445\u043E\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041D\u044F\u043C_\u0414\u0430\u0432\u0430\u0430_\u041C\u044F\u0433\u043C\u0430\u0440_\u041B\u0445\u0430\u0433\u0432\u0430_\u041F\u04AF\u0440\u044D\u0432_\u0411\u0430\u0430\u0441\u0430\u043D_\u0411\u044F\u043C\u0431\u0430".split("_"),weekdaysShort:"\u041D\u044F\u043C_\u0414\u0430\u0432_\u041C\u044F\u0433_\u041B\u0445\u0430_\u041F\u04AF\u0440_\u0411\u0430\u0430_\u0411\u044F\u043C".split("_"),weekdaysMin:"\u041D\u044F_\u0414\u0430_\u041C\u044F_\u041B\u0445_\u041F\u04AF_\u0411\u0430_\u0411\u044F".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043E\u043D\u044B MMMM\u044B\u043D D",LLL:"YYYY \u043E\u043D\u044B MMMM\u044B\u043D D HH:mm",LLLL:"dddd, YYYY \u043E\u043D\u044B MMMM\u044B\u043D D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(i){return i==="\u04AE\u0425"},meridiem:function(i,e,r){return i<12?"\u04AE\u04E8":"\u04AE\u0425"},calendar:{sameDay:"[\u04E8\u043D\u04E9\u04E9\u0434\u04E9\u0440] LT",nextDay:"[\u041C\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044D\u0445] dddd LT",lastDay:"[\u04E8\u0447\u0438\u0433\u0434\u04E9\u0440] LT",lastWeek:"[\u04E8\u043D\u0433\u04E9\u0440\u0441\u04E9\u043D] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04E9\u043C\u043D\u04E9",s:wo,ss:wo,m:wo,mm:wo,h:wo,h
296h:wo,d:wo,dd:wo,M:wo,MM:wo,y:wo,yy:wo},dayOfMonthOrdinalParse:/\d{1,2} өдөÑ/,ordinal:function(i,e){switch(e){case"d":case"D":case"DDD":return i+" \u04E9\u0434\u04E9\u0440";default:return i.toString(10)}}};var WEe={abbr:"nb",months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xF8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xF8rdag".split("_"),weekdaysShort:"s\xF8._ma._ti._on._to._fr._l\xF8.".split("_"),weekdaysMin:"s\xF8_ma_ti_on_to_fr_l\xF8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xE5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xE5ned",MM:"%d m\xE5neder",y:"ett \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var fT="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),hY="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),jy=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],mT=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,YEe={abbr:"nl-be",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?hY[Mi(i,r)]:fT[Mi(i,r)]:fT},monthsRegex:mT,monthsShortRegex:mT,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:jy,longMonthsParse:jy,shortMonthsParse:jy,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xE9\xE9n minuut",mm:"%d minuten",h:"\xE9\xE9n uur",hh:"%d uur",d:"\xE9\xE9n dag",dd:"%d dagen",M:"\xE9\xE9n maand",MM:"%d maanden",y:"\xE9\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(i){let e=Number(i);return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}};var gT="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),cY="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),Hy=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],ET=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,UEe={abbr:"nl",months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort(i,e,r){return i?/-MMM-/.test(e)?cY[Mi(i,r)]:gT[Mi(i,r)]:gT},monthsRegex:ET,monthsShortRegex:ET,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:Hy,longMonthsParse:Hy,shortMonthsParse:Hy,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xE9\xE9n minuut",mm:"%d minuten",h:"\xE9\xE9n uur",hh:"%d uur",d:"\xE9\xE9n dag",dd:"%d dagen",M:"\xE9\xE9n maand",MM:"%d maanden",y:"\xE9\xE9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal(i){let e=Number(i);return e+(e===1||e===8||e>=20?"ste":"de")},week:{dow:1,doy:4}};var Fy="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017Adziernik_listopad_grudzie\u0144".split("_"),bT="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015Bnia_pa\u017Adziernika_listopada_grudnia".split("_");function Vp(i){return i%10<5&&i%10>1&&~~(i/10)%10!==1}function Nh(i,e,r){let t=i+" ";switch(r){case"ss":return t+(Vp(i)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return t+(Vp(i)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return t+(Vp(i)?"godziny":"godzin");case"MM":return t+(Vp(i)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return t+(Vp(i)?"lata":"lat")}}var GEe={abbr:"pl",months(i,e,r){return i?e===""?"("+bT[Mi(i,r)]+"|"+Fy[Mi(i,r)]+")":/D MMMM/.test(e)?bT[Mi(i,r)]:Fy[Mi(i,r)]:Fy},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017A_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015Broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015Br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015Ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}
296,calendar:{sameDay:"[Dzi\u015B o] LT",nextDay:"[Jutro o] LT",nextWeek(i){switch(ds(i)){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015Brod\u0119 o] LT";case 5:return"[W pi\u0105tek o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek(i){switch(ds(i)){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015Brod\u0119 o] LT";case 4:return"[W zesz\u0142\u0105 czwartek o] LT";case 5:return"[W zesz\u0142\u0105 pi\u0105tek o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:Nh,m:Nh,mm:Nh,h:Nh,hh:Nh,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:Nh,y:"rok",yy:Nh},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var XEe={abbr:"pt-br",months:"Janeiro_Fevereiro_Mar\xE7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xE7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xE1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xE1b".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_S\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},calendar:{sameDay:"[Hoje \xE0s] LT",nextDay:"[Amanh\xE3 \xE0s] LT",nextWeek:"dddd [\xE0s] LT",lastDay:"[Ontem \xE0s] LT",lastWeek(i){return ds(i)===0||ds(i)===6?"[\xDAltimo] dddd [\xE0s] LT":"[\xDAltima] dddd [\xE0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xE1s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA"};function _u(i,e,r){let t={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},n=" ";return(i%100>=20||i>=100&&i%100===0)&&(n=" de "),i+n+t[r]}var qEe={abbr:"ro",months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021Bi_miercuri_joi_vineri_s\xE2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xE2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xE2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xE2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xEEn urm\u0103",s:"c\xE2teva secunde",ss:_u,m:"un minut",mm:_u,h:"o or\u0103",hh:_u,d:"o zi",dd:_u,M:"o lun\u0103",MM:_u,y:"un an",yy:_u},week:{dow:1,doy:7}};function uY(i,e){let r=i.split("_");return e%10===1&&e%100!==11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function jh(i,e,r){let t={ss:e?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434",mm:e?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return r==="m"?e?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":i+" "+uY(t[r],+i)}var Vy=[/^Ñнв/i,/^Ñев/i,/^маÑ/i,/^апÑ/i,/^ма[йÑ]/i,/^иÑн/i,/^иÑл/i,/^авг/i,/^Ñен/i,/^окÑ/i,/^ноÑ/i,/^дек/i],ZEe={abbr:"ru",months:{format:"\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),standalone:"\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_")},monthsShort:{format:"\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),standalone:"\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_")},weekdays:{standalone:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),format:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"),isFormat:/\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),monthsParse:Vy,longMonthsParse:Vy,shortMonthsParse:Vy,monthsRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsShortRegex:/^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i,monthsStrictRegex:/^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i,monthsShortStrictRegex:/^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|ок
296Ñ\.|ноÑб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek(i,e){if(zp(e)!==zp(i))switch(ds(i)){case 0:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd [\u0432] LT"}else return ds(i)===2?"[\u0412\u043E] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},lastWeek(i,e){if(zp(e)!==zp(i))switch(ds(i)){case 0:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd [\u0432] LT"}else return ds(i)===2?"[\u0412\u043E] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",ss:jh,m:jh,mm:jh,h:"\u0447\u0430\u0441",hh:jh,d:"\u0434\u0435\u043D\u044C",dd:jh,M:"\u043C\u0435\u0441\u044F\u0446",MM:jh,y:"\u0433\u043E\u0434",yy:jh},meridiemParse:/ноÑи|ÑÑÑа|днÑ|веÑеÑа/i,isPM(i){return/^(днÑ|веÑеÑа)$/.test(i)},meridiem(i,e,r){return i<4?"\u043D\u043E\u0447\u0438":i<12?"\u0443\u0442\u0440\u0430":i<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|Ñ)/,ordinal(i,e){let r=Number(i);switch(e){case"M":case"d":case"DDD":return r+"-\u0439";case"D":return r+"-\u0433\u043E";case"w":case"W":return r+"-\u044F";default:return r.toString(10)}},week:{dow:1,doy:4}};var dY="janu\xE1r_febru\xE1r_marec_apr\xEDl_m\xE1j_j\xFAn_j\xFAl_august_september_okt\xF3ber_november_december".split("_"),pY="jan_feb_mar_apr_m\xE1j_j\xFAn_j\xFAl_aug_sep_okt_nov_dec".split("_");function wu(i){return i>1&&i<5&&~~(i/10)!==1}function So(i,e,r,t){let n=i+" ";switch(r){case"s":return e||t?"p\xE1r sek\xFAnd":"p\xE1r sekundami";case"ss":return e||t?n+(wu(i)?"sekundy":"sek\xFAnd"):n+"sekundami";case"m":return e?"min\xFAta":t?"min\xFAtu":"min\xFAtou";case"mm":return e||t?n+(wu(i)?"min\xFAty":"min\xFAt"):n+"min\xFAtami";case"h":return e?"hodina":t?"hodinu":"hodinou";case"hh":return e||t?n+(wu(i)?"hodiny":"hod\xEDn"):n+"hodinami";case"d":return e||t?"de\u0148":"d\u0148om";case"dd":return e||t?n+(wu(i)?"dni":"dn\xED"):n+"d\u0148ami";case"M":return e||t?"mesiac":"mesiacom";case"MM":return e||t?n+(wu(i)?"mesiace":"mesiacov"):n+"mesiacmi";case"y":return e||t?"rok":"rokom";case"yy":return e||t?n+(wu(i)?"roky":"rokov"):n+"rokmi"}}var KEe={abbr:"sk",months:dY,monthsShort:pY,weekdays:"nede\u013Ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek(i){switch(ds(i)){case 0:return"[v nede\u013Eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010Dera o] LT",lastWeek(i){switch(ds(i)){case 0:return"[minul\xFA nede\u013Eu o] LT";case 1:case 2:return"[minul\xFD] dddd [o] LT";case 3:return"[minul\xFA stredu o] LT";case 4:case 5:return"[minul\xFD] dddd [o] LT";case 6:return"[minul\xFA sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"o %s",past:"pred %s",s:So,ss:So,m:So,mm:So,h:So,hh:So,d:So,dd:So,M:So,MM:So,y:So,yy:So},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};function Mo(i,e,r,t){var n=i+" ";switch(r){case"s":return e||t?"nekaj sekund":"nekaj sekundami";case"ss":return i===1?n+=e?"sekundo":"sekundi":i===2?n+=e||t?"sekundi":"sekundah":i<5?n+=e||t?"sekunde":"sekundah":n+="sekund",n;case"m":return e?"ena minuta":"eno minuto";case"mm":return i===1?n+=e?"minuta":"minuto":i===2?n+=e||t?"minuti":"minutama":i<5?n+=e||t?"minute":"minutami":n+=e||t?"minut":"minutami",n;case"h":return e?"ena ura":"eno uro";case"hh":return i===1?n+=e?"ura":"uro":i===2?n+=e||t?"uri":"urama":i<5?n+=e||t?"ure":"urami":n+=e||t?"ur":"urami",n;case"d":return e||t?"en dan":"enim dnem";case"dd":return i===1?n+=e||t?"dan":"dnem":i===2?n+=e||t?"dni":"dnevoma":n+=e||t?"dni":"dnevi",n;case"M":return e||t?"en mesec":"enim mesecem";case"MM":return i===1?n+=e||t?"mesec":"mesecem":i===2?n+=e||t?"meseca":"mesecema":i<5?n+=e||t?"mesece":"meseci":n+=e||t?"mesecev":"meseci",
296n;case"y":return e||t?"eno leto":"enim letom";case"yy":return i===1?n+=e||t?"leto":"letom":i===2?n+=e||t?"leti":"letoma":i<5?n+=e||t?"leta":"leti":n+=e||t?"let":"leti",n}}var QEe={abbr:"sl",months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010Detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010Det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010De_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek(i){switch(ds(i)){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010Deraj ob] LT",lastWeek(i){switch(ds(i)){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010Dez %s",past:"pred %s",s:Mo,ss:Mo,m:Mo,mm:Mo,h:Mo,hh:Mo,d:Mo,dd:Mo,M:Mo,MM:Mo,y:Mo,yy:Mo},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}};var JEe={abbr:"sq",months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xEBntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xEBn_Dhj".split("_"),weekdays:"E Diel\xEB_E H\xEBn\xEB_E Mart\xEB_E M\xEBrkur\xEB_E Enjte_E Premte_E Shtun\xEB".split("_"),weekdaysShort:"Die_H\xEBn_Mar_M\xEBr_Enj_Pre_Sht".split("_"),weekdaysMin:"Di_He_Ma_Me_En_Pr_Sh".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xEB] LT",nextDay:"[Nes\xEBr n\xEB] LT",nextWeek:"dddd [n\xEB] LT",lastDay:"[Dje n\xEB] LT",lastWeek:"dddd [e kaluar n\xEB] LT",sameElse:"L"},relativeTime:{future:"n\xEB %s",past:"para %sve",s:"disa sekonda",ss:"%d sekonda",m:"nj\xEB minut",mm:"%d minuta",h:"nj\xEB or\xEB",hh:"%d or\xEB",d:"nj\xEB dit\xEB",dd:"%d dit\xEB",M:"nj\xEB muaj",MM:"%d muaj",y:"nj\xEB vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}};var e2e={abbr:"sv",months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xF6ndag_m\xE5ndag_tisdag_onsdag_torsdag_fredag_l\xF6rdag".split("_"),weekdaysShort:"s\xF6n_m\xE5n_tis_ons_tor_fre_l\xF6r".split("_"),weekdaysMin:"s\xF6_m\xE5_ti_on_to_fr_l\xF6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xE5r] LT",nextWeek:"[P\xE5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xF6r %s sedan",s:"n\xE5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xE5nad",MM:"%d m\xE5nader",y:"ett \xE5r",yy:"%d \xE5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal(i){let e=Number(i),r=e%10,t=~~(e%100/10)===1?"e":r===1||r===2?"a":"e";return e+t},week:{dow:1,doy:4}},t2e={abbr:"th",months:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21_\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C_\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21_\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19_\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21_\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19_\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21_\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21_\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19_\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21_\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19_\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21".split("_"),monthsShort:"\u0E21.\u0E04._\u0E01.\u0E1E._\u0E21\u0E35.\u0E04._\u0E40\u0E21.\u0E22._\u0E1E.\u0E04._\u0E21\u0E34.\u0E22._\u0E01.\u0E04._\u0E2A.\u0E04._\u0E01.\u0E22._\u0E15.\u0E04._\u0E1E.\u0E22._\u0E18.\u0E04.".split("_"),monthsParseExact:!0,weekdays:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysShort:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysMin:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm",LLLL:"\u0E27\u0E31\u0E19dddd\u0E17\u0E35\u0E48 D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM(i){return i==="\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},meridiem(i,e,r){return i<12?"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},calendar:{sameDay:"[\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextDay:"[\u0E1E\u0E23\u0E38\u0E48\u0E07\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextWeek:"dddd[\u0E2B\u0E19\u0E49\u0E32 \u0E40\u0E27\u0E25\u0E32] LT",lastDay:"[\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E27\u0E32\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",lastWeek:"[\u0E27\u0E31\u0E19]dddd[\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E40\u0E27\u0E25\u0E32] LT",sameElse:"L"},relativeTime:{future:"\u0E2D\u0E35\u0E01 %s",past:"%s\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27",s:"\u0E44\u0E21\u0E48\u0E01\u0E35\u0E48\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",ss:"%d \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",m:"1 \u0E19\u0E32\u0E17\u0E35",mm:"%d \u0E19\u0E32\u0E17\u0E35",h:"1 \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hh:"%d \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",d:"1 \u0E27\u0E31\u0E19",dd:"%d \u0E27\u0E31\u0E19",M:"1 \u0E40\u0E14\u0E37\u0E2D\u0E19",MM:"%d \u0E40\u0E14\u0E37\u0E2D\u0E19",y:"1 \u0E1B\u0E35",yy:"%d \u0E1B\u0E35"}},yT={abbr:"th-be",months:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21_\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C_\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21_\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19_\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21_\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19_\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21_\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21_\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19_\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21_\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19_\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21".split("_"),monthsShort:"\u0E21.\u0E04._\u0E01.\u0E1E._\u0E21\u0E35.\u0E04._\u0E40\u0E21.\u0E22._\u0E1E.\u0E04._\u0E21\u0E34.\u0E22._\u0E01.\u0E04._\u0E2A.\u0E04._\u0E01.\u0E22._\u0E15.\u0E04._\u0E1E.\u0E22._\u0E18.\u0E04.".split("_"),monthsParseExact:!0,weekdays:"\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C_\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C_\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23_\u0E1E\u0E38\u0E18_\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35_\u0E28\u0E38\u0E01\u0E23\u0E4C_\u0E40\u0E2A\u0E32\u0E23\u0E4C".split("_"),weekdaysShort:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysMin:"\u0E2D\u0E32._\u0E08._\u0E2D._\u0E1E._\u0E1E\u0E24._\u0E28._\u0E2A.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm",LLLL:"\u0E27\u0E31\u0E19dddd\u0E17\u0E35\u0E48 D MMMM YYYY \u0E40\u0E27\u0E25\u0E32 H:mm"},meridiemParse:/à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/,isPM(i){return i==="\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},meridiem(i,e,r){return i<12?"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07"},calendar:{sameDay:"[\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextDay:"[\u0E1E\u0E23\u0E38\u0E48\u0E07\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",nextWeek:"dddd[\u0E2B\u0E19\u0E49\u0E32 \u0E40\u0E27\u0E25\u0E32] LT",lastDay:"[\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E27\u0E32\u0E19\u0E19\u0E35\u0E49 \u0E40\u0E27\u0E25\u0E32] LT",lastWeek:"[\u0E27\u0E31\u0E19]dddd[\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E40\u0E27\u0E25\u0E32] LT",sameElse:"L"},relativeTime:{future:"\u0E2D\u0E35\u0E01 %s",past:"%s\u0E17\u0E35\u0E48\u0E41\u0E25\u0E49\u0E27",s:"\u0E44\u0E21\u0E48\u0E01\u0E35\u0E48\u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",ss:"%d \u0E27\u0E34\u0E19\u0E32\u0E17\u0E35",m:"1 \u0E19\u0E32\u0E17\u0E35",mm:"%d \u0E19\u0E32\u0E17\u0E35",h:"1 \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",hh:"%d \u0E0A\u0E31\u0E48\u0E27\u0E42\u0E21\u0E07",d:"1 \u0E27\u0E31\u0E19",dd:"%d \u0E27\u0E31\u0E19",M:"1 \u0E40\u0E14\u0E37\u0E2D\u0E19",MM:"%d \u0E40\u0E14\u0E37\u0E2D\u0E19",y:"1 \u0E1B\u0E35",yy:"%d \u0E1B\u0E35"},preparse(i,e){let r=yT.longDateFormat[e]?yT.longDateFormat[e]:e;if(r.indexOf("YYYY",r.length-4)!==-1){let t=i.substr(0,i.length-4),n=parseInt(i.substr(i.length-4),10)-543;return t+n}return i},getFullYear(i,e=!1){return 543+(e?i.getUTCFullYear():i.getFullYear())}};var zy={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xFCnc\xFC",4:"'\xFCnc\xFC",100:"'\xFCnc\xFC",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"},i2e={abbr:"tr",months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xFCn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xFCn] LT",lastWeek:"[ge\xE7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal(i){let e=Number(i);if(e===0)return e+"'\u0131nc\u0131";let r=e%10,t=e%100-r,n=e>=100?100:null;return e+(zy[r]||zy[t]||zy[n])},week:{dow:1,doy:7}};function fY(i,e){let r=i.split("_");return e%10===1&&e%100!==11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function Hh(i,e,r){let t={ss:e?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434",mm:e?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D",hh:e?"\u0433\u043E\u0434\u0438\u043D\u0430_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D":"\u0433\u043E\u0434\u0438\u043D\u0443_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u0456_\u0434\u043D\u0456\u0432",MM:"\u043C\u0456\u0441\u044F\u0446\u044C_\u043C\u0456\u0441\u044F\u0446\u0456_\u043C\u0456\u0441\u044F\u0446\u0456\u0432",yy:"\u0440\u0456\u043A_\u0440\u043E\u043A\u0438_\u0440\u043E\u043A\u0456\u0432"};return r==="m"?e?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443":r==="h"?e?"\u0433\u043E\u0434\u0438\u043D\u0430":"\u0433\u043E\u0434\u0438\u043D\u0443":i+" "+fY(t[r],+i)}function mY(i,e,r){let t={nominative:"\u043D\u0435\u0434\u0456\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F_\u0441\u0443\u0431\u043E\u0442\u0430".split("_"),accusative:"\u043D\u0435\u0434\u0456\u043B\u044E_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E_\u0441\u0443\u0431\u043E\u0442\u0443".split("_"),genitive:"\u043D\u0435\u0434\u0456\u043B\u0456_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043A\u0430_\u0432\u0456\u0432\u0442\u043E\u0440\u043A\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u0456_\u0441\u0443\u0431\u043E\u0442\u0438".split("_")};if(!i)return t.nominative;let n=/(\[[ÐвУÑ]\]) ?dddd/.test(e)?"accusative":/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/.test(e)?"genitive":"nominative";return t[n][ds(i,r)]}function Su(i){return function(e){return i+"\u043E"+(yi(e)===11?"\u0431":"")+"] LT"}}var n2e={abbr:"uk",months:{format:"\u0441\u0456\u0447\u043D\u044F_\u043B\u044E\u0442\u043E\u0433\u043E_\u0431\u0435\u0440\u0435\u0437\u043D\u044F_\u043A\u0432\u0456\u0442\u043D\u044F_\u0442\u0440\u0430\u0432\u043D\u044F_\u0447\u0435\u0440\u0432\u043D\u044F_\u043B\u0438\u043F\u043D\u044F_\u0441\u0435\u0440\u043F\u043D\u044F_\u0432\u0435\u0440\u0435\u0441\u043D\u044F_\u0436\u043E\u0432\u0442\u043D\u044F_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043D\u044F".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043D\u044C_\u043B\u044E\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C_\u043A\u0432\u0456\u0442\u0435\u043D\u044C_\u0442\u0440\u0430\u0432\u0435\u043D\u044C_\u0447\u0435\u0440\u0432\u0435\u043D\u044C_\u043B\u0438\u043F\u0435\u043D\u044C_\u0441\u0435\u0440\u043F\u0435\u043D\u044C_\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C_\u0436\u043E\u0432\u0442\u0435\u043D\u044C_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043D\u044C".split("_")},monthsShort:"\u0441\u0456\u0447_\u043B\u044E\u0442_\u0431\u0435\u0440_\u043A\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043B\u0438\u043F_\u0441\u0435\u0440\u043F_\u0432\u0435\u0440_\u0436\u043E\u0432\u0442_\u043B\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:mY,weekdaysShort:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:Su("[\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456 "),nextDay:Su("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:Su("[\u0412\u0447\u043E\u0440\u0430 "),nextWeek:Su("[\u0423] dddd ["),lastWeek(i){switch(ds(i)){case 0:case 3:case 5:case
2966:return Su("[\u041C\u0438\u043D\u0443\u043B\u043E\u0457] dddd [")(i);case 1:case 2:case 4:return Su("[\u041C\u0438\u043D\u0443\u043B\u043E\u0433\u043E] dddd [")(i)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043E\u043C\u0443",s:"\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430 \u0441\u0435\u043A\u0443\u043D\u0434",ss:Hh,m:Hh,mm:Hh,h:"\u0433\u043E\u0434\u0438\u043D\u0443",hh:Hh,d:"\u0434\u0435\u043D\u044C",dd:Hh,M:"\u043C\u0456\u0441\u044F\u0446\u044C",MM:Hh,y:"\u0440\u0456\u043A",yy:Hh},meridiemParse:/ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/,isPM(i){return/^(днÑ|веÑоÑа)$/.test(i)},meridiem(i,e,r){return i<4?"\u043D\u043E\u0447\u0456":i<12?"\u0440\u0430\u043D\u043A\u0443":i<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u043E\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal(i,e){let r=Number(i);switch(e){case"M":case"d":case"DDD":case"w":case"W":return r+"-\u0439";case"D":return r+"-\u0433\u043E";default:return r.toString()}},week:{dow:1,doy:7}};var s2e={abbr:"vi",months:"th\xE1ng 1_th\xE1ng 2_th\xE1ng 3_th\xE1ng 4_th\xE1ng 5_th\xE1ng 6_th\xE1ng 7_th\xE1ng 8_th\xE1ng 9_th\xE1ng 10_th\xE1ng 11_th\xE1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1EE7 nh\u1EADt_th\u1EE9 hai_th\u1EE9 ba_th\u1EE9 t\u01B0_th\u1EE9 n\u0103m_th\u1EE9 s\xE1u_th\u1EE9 b\u1EA3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM(i){return/^ch$/i.test(i)},meridiem(i,e,r){return i<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xF4m nay l\xFAc] LT",nextDay:"[Ng\xE0y mai l\xFAc] LT",nextWeek:"dddd [tu\u1EA7n t\u1EDBi l\xFAc] LT",lastDay:"[H\xF4m qua l\xFAc] LT",lastWeek:"dddd [tu\u1EA7n tr\u01B0\u1EDBc l\xFAc] LT",sameElse:"L"},relativeTime:{future:"%s t\u1EDBi",past:"%s tr\u01B0\u1EDBc",s:"v\xE0i gi\xE2y",ss:"%d gi\xE2y",m:"m\u1ED9t ph\xFAt",mm:"%d ph\xFAt",h:"m\u1ED9t gi\u1EDD",hh:"%d gi\u1EDD",d:"m\u1ED9t ng\xE0y",dd:"%d ng\xE0y",M:"m\u1ED9t th\xE1ng",MM:"%d th\xE1ng",y:"m\u1ED9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal(i){return""+i},week:{dow:1,doy:4}};var r2e={abbr:"zh-cn",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/,meridiemHour(i,e){return i===12&&(i=0),e==="\u51CC\u6668"||e==="\u65E9\u4E0A"||e==="\u4E0A\u5348"?i:e==="\u4E0B\u5348"||e==="\u665A\u4E0A"?i+12:i>=11?i:i+12},meridiem(i,e,r){let t=i*100+e;return t<600?"\u51CC\u6668":t<900?"\u65E9\u4E0A":t<1130?"\u4E0A\u5348":t<1230?"\u4E2D\u5348":t<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:"[\u4E0B]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4E0A]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(æ¥|æ|å¨)/,ordinal(i,e){let r=Number(i);switch(e){case"d":case"D":case"DDD":return r+"\u65E5";case"M":return r+"\u6708";case"w":case"W":return r+"\u5468";default:return r.toString()}},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%
296d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}};var gY={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},EY={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},vT=function(i){return i===0?0:i===1?1:i===2?2:i%100>=3&&i%100<=10?3:i%100>=11?4:5},bY={s:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647","\u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647",["\u062F\u0648 \u062B\u0627\u0646\u06CC\u0647","\u062F\u0648 \u062B\u0627\u0646\u06CC\u0647"],"%d \u062B\u0627\u0646\u06CC\u0647","%d \u062B\u0627\u0646\u06CC\u0647","%d \u062B\u0627\u0646\u06CC\u0647"],m:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647","\u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647",["\u062F\u0648 \u062F\u0642\u06CC\u0642\u0647","\u062F\u0648 \u062F\u0642\u06CC\u0642\u0647"],"%d \u062F\u0642\u06CC\u0642\u0647","%d \u062F\u0642\u06CC\u0642\u0647","%d \u062F\u0642\u06CC\u0642\u0647"],h:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0633\u0627\u0639\u062A","\u06CC\u06A9 \u0633\u0627\u0639\u062A",["\u062F\u0648 \u0633\u0627\u0639\u062A","\u062F\u0648 \u0633\u0627\u0639\u062A"],"%d \u0633\u0627\u0639\u062A","%d \u0633\u0627\u0639\u062A","%d \u0633\u0627\u0639\u062A"],d:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0631\u0648\u0632","\u06CC\u06A9 \u0631\u0648\u0632",["\u062F\u0648 \u0631\u0648\u0632","\u062F\u0648 \u0631\u0648\u0632"],"%d \u0631\u0648\u0632","%d \u0631\u0648\u0632","%d \u0631\u0648\u0632"],M:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0645\u0627\u0647","\u06CC\u06A9 \u0645\u0627\u0647",["\u062F\u0648 \u0645\u0627\u0647","\u062F\u0648 \u0645\u0627\u0647"],"%d \u0645\u0627\u0647","%d \u0645\u0627\u0647","%d \u0645\u0627\u0647"],y:["\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u0633\u0627\u0644","\u06CC\u06A9 \u0633\u0627\u0644",["\u062F\u0648 \u0633\u0627\u0644","\u062F\u0648 \u0633\u0627\u0644"],"%d \u0633\u0627\u0644","%d \u0633\u0627\u0644","%d \u0633\u0627\u0644"]},To=function(i){return function(e,r){let t=vT(e),n=bY[i][vT(e)];return t===2&&(n=n[r?0:1]),n.replace(/%d/i,e.toString())}},xT=["\u0698\u0627\u0646\u0648\u06CC\u0647","\u0641\u0648\u0631\u06CC\u0647","\u0645\u0627\u0631\u0633","\u0622\u0648\u0631\u06CC\u0644","\u0645\u06CC","\u0698\u0648\u0626\u0646","\u062C\u0648\u0644\u0627\u06CC","\u0622\u06AF\u0648\u0633\u062A","\u0633\u067E\u062A\u0627\u0645\u0628\u0631","\u0627\u06A9\u062A\u0628\u0631","\u0646\u0648\u0627\u0645\u0628\u0631","\u062F\u0633\u0627\u0645\u0628\u0631"],o2e={abbr:"fa",months:xT,monthsShort:xT,weekdays:"\u06CC\u06A9\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647 \u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C \u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06CC\u06A9\u0634\u0646\u0628\u0647_\u062F\u0648\u200C\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u200C\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06CC_\u062F_\u0633_\u0686_\u067E_\u062C_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200FM/\u200FYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM(i){return i==="\u0645"},meridiem(i,e,r){return i<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",nextDay:"[\u0641\u0631\u062F\u0627 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",nextWeek:"dddd [\u062F\u0631 \u0633\u0627\u0639\u062A] LT",lastDay:"[\u062F\u06CC\u0631\u0648\u0632 \u062F\u0631 \u0633\u0627\u0639\u062A] LT",lastWeek:"dddd [\u062F\u0631 \u0633\u0627\u0639\u062A] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062F %s",past:"\u067E\u06CC\u0634 %s",s:To("s"),ss:To("s"),m:To("m"),mm:To("m"),h:To("h"),hh:To("h"),d:To("d"),dd:To("d"),M:To("M"),MM:To("M"),y:To("y"),yy:To("y")},preparse(i){return i.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return EY[e]}).replace(/Ø/g,",")},postformat(i){return i.replace(/\d/g,function(e){return gY[e]}).replace(/,/g,"\u060C")},week:{dow:6,doy:80}};var rv=class{constructor(e,r){this.open=e,this.close=r||e}isManual(){return this.open==="manual"||this.close==="manual"}},yY={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function ov(i,e=yY){let r=(i||"").trim();if(r.length===0)return[];let t=r.split(/\s+/).map(l=>
296l.split(":")).map(l=>{let C=e[l[0]]||l;return new rv(C[0],C[1])}),n=t.filter(l=>l.isManual());if(n.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(n.length===1&&t.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return t}function qT(i,e){let r=ov(e.triggers),t=e.target;if(r.length===1&&r[0].isManual())return Function.prototype;let n=[],l=[],C=()=>{l.forEach(B=>n.push(B())),l.length=0};return r.forEach(B=>{let $=B.open===B.close,K=$?e.toggle:e.show;if(!$&&B.close&&e.hide){let G=B.close,q=e.hide,Z=()=>i.listen(t,G,q);l.push(Z)}K&&n.push(i.listen(t,B.open,()=>K(C)))}),()=>{n.forEach(B=>B())}}function ZT(i,e){return e.outsideClick?i.listen("document","click",r=>{e.target&&e.target.contains(r.target)||e.targets&&e.targets.some(t=>t.contains(r.target))||e.hide&&e.hide()}):Function.prototype}function KT(i,e){return e.outsideEsc?i.listen("document","keyup.esc",r=>{e.target&&e.target.contains(r.target)||e.targets&&e.targets.some(t=>t.contains(r.target))||e.hide&&e.hide()}):Function.prototype}var ks=typeof window<"u"&&window||{},h2e=ks.document,c2e=ks.location,u2e=ks.gc?()=>ks.gc():()=>null,d2e=ks.performance?ks.performance:null,p2e=ks.Event,f2e=ks.MouseEvent,m2e=ks.KeyboardEvent,g2e=ks.EventTarget,E2e=ks.History,b2e=ks.Location,y2e=ks.EventListener;var Bl;function QT(){let i=ks.document.createElement("span");i.innerText="testing bs version",i.classList.add("d-none"),i.classList.add("pl-1"),ks.document.head.appendChild(i);let e=ks.getComputedStyle(i).paddingLeft;return e&&parseFloat(e)?(ks.document.head.removeChild(i),"bs4"):(ks.document.head.removeChild(i),"bs5")}function vY(){return Bl||(Bl=QT()),Bl==="bs4"}function xY(){return Bl||(Bl=QT()),Bl==="bs5"}function Xh(){return{isBs4:vY(),isBs5:xY()}}function JT(){let i="Change";return function(r,t){let n=` __${t}Value`;Object.defineProperty(r,t,{get(){return this[n]},set(l){let C=this[n];this[n]=l,C!==l&&this[t+i]&&this[t+i].emit(l)}})}}var XT={},CY=typeof console>"u"||!("warn"in console);function Mr(i){!n4()||CY||i in XT||(XT[i]=!0,console.warn(i))}var rk=function(i){return i.top="top",i.bottom="bottom",i.left="left",i.right="right",i.auto="auto",i.end="right",i.start="left",i["top left"]="top left",i["top right"]="top right",i["right top"]="right top",i["right bottom"]="right bottom",i["bottom right"]="bottom right",i["bottom left"]="bottom left",i["left bottom"]="left bottom",i["left top"]="left top",i["top start"]="top left",i["top end"]="top right",i["end top"]="right top",i["end bottom"]="right bottom",i["bottom end"]="bottom right",i["bottom start"]="bottom left",i["start bottom"]="start bottom",i["start top"]="left top",i}(rk||{}),e0=function(i){return i.top="top",i.bottom="bottom",i.left="start",i.right="end",i.auto="auto",i.end="end",i.start="start",i["top left"]="top start",i["top right"]="top end",i["right top"]="end top",i["right bottom"]="end bottom",i["bottom right"]="bottom end",i["bottom left"]="bottom start",i["left bottom"]="start bottom",i["left top"]="start top",
296i["top start"]="top start",i["top end"]="top end",i["end top"]="end top",i["end bottom"]="end bottom",i["bottom end"]="bottom end",i["bottom start"]="bottom start",i["start bottom"]="start bottom",i["start top"]="start top",i}(e0||{});function qh(i,e){if(i.nodeType!==1)return[];let r=i.ownerDocument.defaultView,t=r==null?void 0:r.getComputedStyle(i,null);return e?t&&t[e]:t}function cv(i){if(!i)return document.documentElement;let e=null,r=i==null?void 0:i.offsetParent,t;for(;r===e&&i.nextElementSibling&&t!==i.nextElementSibling;)t=i.nextElementSibling,r=t.offsetParent;let n=r&&r.nodeName;return!n||n==="BODY"||n==="HTML"?t?t.ownerDocument.documentElement:document.documentElement:r&&["TH","TD","TABLE"].indexOf(r.nodeName)!==-1&&qh(r,"position")==="static"?cv(r):r}function _Y(i){let{nodeName:e}=i;return e==="BODY"?!1:e==="HTML"||cv(i.firstElementChild)===i}function av(i){return i.parentNode!==null?av(i.parentNode):i}function Pg(i,e){if(!i||!i.nodeType||!e||!e.nodeType)return document.documentElement;let r=i.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,t=r?i:e,n=r?e:i,l=document.createRange();l.setStart(t,0),l.setEnd(n,0);let C=l.commonAncestorContainer;if(i!==C&&e!==C||t.contains(n))return _Y(C)?C:cv(C);let B=av(i);return B.host?Pg(B.host,e):Pg(i,av(e).host)}function ok(i){if(!i||!i.parentElement)return document.documentElement;let e=i.parentElement;for(;e!=null&&e.parentElement&&qh(e,"transform")==="none";)e=e.parentElement;return e||document.documentElement}function ek(i,e){let r=e==="x"?"Left":"Top",t=r==="Left"?"Right":"Bottom";return parseFloat(i[`border${r}Width`])+parseFloat(i[`border${t}Width`])}function tk(i,e,r){let t=e,n=r;return Math.max(t[`offset${i}`],t[`scroll${i}`],n[`client${i}`],n[`offset${i}`],n[`scroll${i}`],0)}function ak(i){let e=i.body,r=i.documentElement;return{height:tk("Height",e,r),width:tk("Width",e,r)}}function t0(i){return xt(ze({},i),{right:(i.left||0)+i.width,bottom:(i.top||0)+i.height})}function wY(i){return i!==""&&!isNaN(parseFloat(i))&&isFinite(Number(i))}function En(i){return typeof i=="number"||Object.prototype.toString.call(i)==="[object Number]"}function ik(i){let e=i.getBoundingClientRect();if(!(e&&En(e.top)&&En(e.left)&&En(e.bottom)&&En(e.right)))return e;let r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},t=i.nodeName==="HTML"?ak(i.ownerDocument):void 0,n=(t==null?void 0:t.width)||i.clientWidth||En(e.right)&&En(r.left)&&e.right-r.left||0,l=(t==null?void 0:t.height)||i.clientHeight||En(e.bottom)&&En(r.top)&&e.bottom-r.top||0,C=i.offsetWidth-n,B=i.offsetHeight-l;if(C||B){let $=qh(i);C-=ek($,"x"),B-=ek($,"y"),r.width-=C,r.height-=B}return t0(r)}function uv(i,e,r=!1){let t=e.nodeName==="HTML",n=ik(i),l=ik(e),C=qh(e),B=parseFloat(C.borderTopWidth),$=parseFloat(C.borderLeftWidth);r&&t&&(l.top=Math.max(l.top??0,0),l.left=Math.max(l.left??0,0));let K=t0({top:(n.top??0)-(l.top??0)-B,left:(n.left??0)-(l.left??0)-$,width:n.width,height:n.height});if(K.marginTop=0,K.marginLeft=0,t){let G=parseFloat(C.marginTop),q=parseFloat(C.marginLeft);En(K.top)&&(K.top-=B-G),En(K.bottom)&&(K.bottom-=B-G),En(K.left)&&(K.left-=$-q),En(K.right)&&(K.right-=$-q),K.marginTop=G,K.marginLeft=q}return K}function dv(i){return i.nodeName==="HTML"?i:i.parentNode||i.host}function lk(i){if(!i)return document.body;switch(i.nodeName){case"HTML":case"BODY":return i.ownerDocument.body;case"#document":return i.body;default:}let{overflow:e,overflowX:r,overflowY:t}=qh(i);return/(auto|scroll|overlay)/.test(String(e)+String(t)+String(r))?i:lk(dv(i))}function nk(i,e="top"){let r=e==="top"?"scrollTop":"scrollLeft",t=i.nodeName;if(t==="BODY"||t==="HTML"){let n=i.ownerDocument.documentElement;return(i.ownerDocument.scrollingElement||n)[r]}return i[r]}function SY(i,e=!1){let r=i.ownerDocument.documentElement,t=uv(i,r),n=Math.max(r.clientWidth,window.innerWidth||0),l=Math.max(r.clientHeight,window.innerHeight||0),C=e?0:nk(r),B=e?0:nk(r,"left"),$={top:C-Number(t==null?void 0:t.top)+Number(t==null?void 0:t.marginTop),left:B-Number(t==null?void 0:t.left)+Number(t==null?void 0:t.marginLeft),width:n,height:l};return t0($)}function hk(i){let e=i.nodeName;return e==="BODY"||e==="HTML"?!1:qh(i,"position")==="fixed"?!0:hk(dv(i))}function pv(i,e,r=0,t,n=!1){let l={top:0,left:0},C=n?ok(i):Pg(i,e);if(t==="viewport")l=SY(C,n);else{let B;t==="scrollParent"?(B=lk(dv(e)),B.nodeName==="BODY"&&(B=i.ownerDocument.documentElement)):t==="window"?B=i.ownerDocument.documentElement:B=t;let $=uv(B,C,n);if($&&B.nodeName==="HTML"&&!hk(C)){let{height:K,width:G}=ak(i.ownerDocument);
296En(l.top)&&En($.top)&&En($.marginTop)&&(l.top+=$.top-$.marginTop),En(l.top)&&(l.bottom=Number(K)+Number($.top)),En(l.left)&&En($.left)&&En($.marginLeft)&&(l.left+=$.left-$.marginLeft),En(l.top)&&(l.right=Number(G)+Number($.left))}else $&&(l=$)}return En(l.left)&&(l.left+=r),En(l.top)&&(l.top+=r),En(l.right)&&(l.right-=r),En(l.bottom)&&(l.bottom-=r),l}function MY({width:i,height:e}){return i*e}function ck(i,e,r,t,n=["top","bottom","right","left"],l="viewport",C=0){if(i.indexOf("auto")===-1)return i;let B=pv(r,t,C,l),$={top:{width:(B==null?void 0:B.width)??0,height:((e==null?void 0:e.top)??0)-((B==null?void 0:B.top)??0)},right:{width:((B==null?void 0:B.right)??0)-((e==null?void 0:e.right)??0),height:(B==null?void 0:B.height)??0},bottom:{width:(B==null?void 0:B.width)??0,height:((B==null?void 0:B.bottom)??0)-((e==null?void 0:e.bottom)??0)},left:{width:(e.left??0)-((B==null?void 0:B.left)??0),height:(B==null?void 0:B.height)??0}},K=Object.keys($).map(R=>xt(ze({position:R},$[R]),{area:MY($[R])})).sort((R,Y)=>Y.area-R.area),G=K.filter(({width:R,height:Y})=>R>=r.clientWidth&&Y>=r.clientHeight);G=G.filter(({position:R})=>n.some(Y=>Y===R));let q=G.length>0?G[0].position:K[0].position,Z=i.split(" ")[1];return r.className=r.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${Xh().isBs5?e0[q]:q}`),q+(Z?`-${Z}`:"")}function TY(i){return{width:i.offsets.target.width,height:i.offsets.target.height,left:Math.floor(i.offsets.target.left??0),top:Math.round(i.offsets.target.top??0),bottom:Math.round(i.offsets.target.bottom??0),right:Math.floor(i.offsets.target.right??0)}}function kY(i){let e={left:"right",right:"left",bottom:"top",top:"bottom"};return i.replace(/left|right|bottom|top/g,r=>e[r])}function AY(i){return i==="right"?"left":i==="left"?"right":i}var Ag=(i,e=0)=>i?parseFloat(i):e;function uk(i){let e=i.ownerDocument.defaultView,r=e==null?void 0:e.getComputedStyle(i),t=Ag(r==null?void 0:r.marginTop)+Ag(r==null?void 0:r.marginBottom),n=Ag(r==null?void 0:r.marginLeft)+Ag(r==null?void 0:r.marginRight);return{width:Number(i.offsetWidth)+n,height:Number(i.offsetHeight)+t}}function dk(i,e,r){let t=r?ok(i):Pg(i,e);return uv(e,t,r)}function lv(i,e,r){let t=r.split(" ")[0],n=uk(i),l={width:n.width,height:n.height},C=["right","left"].indexOf(t)!==-1,B=C?"top":"left",$=C?"left":"top",K=C?"height":"width",G=C?"width":"height";return l[B]=(e[B]??0)+e[K]/2-n[K]/2,l[$]=t===$?(e[$]??0)-n[G]:e[kY($)]??0,l}function pk(i,e){var r;return!!((r=i.modifiers[e])!=null&&r.enabled)}var DY={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Dg(i,e){return Xh().isBs5?DY[e].includes(i):!1}function LY(i){return Xh().isBs5?Dg(i,"end")?"ms-2":Dg(i,"start")?"me-2":Dg(i,"top")?"mb-2":Dg(i,"bottom")?"mt-2":"":""}function PY(i,e){let r=i.instance.target,t=r.className,n=Xh().isBs5?e0[i.placement]:i.placement;if(i.placementAuto&&(t=t.replace(/bs-popover-auto/g,`bs-popover-${n}`),t=t.replace(/ms-2|me-2|mb-2|mt-2/g,""),t=t.replace(/bs-tooltip-auto/g,`bs-tooltip-${n}`),t=t.replace(/\sauto/g,` ${n}`),t.indexOf("popover")!==-1&&(t=t+" "+LY(n)),t.indexOf("popover")!==-1&&t.indexOf("popover-auto")===-1&&(t+=" popover-auto"),t.indexOf("tooltip")!==-1&&t.indexOf("tooltip-auto")===-1&&(t+=" tooltip-auto")),t=t.replace(/left|right|top|bottom|end|start/g,`${n.split(" ")[0]}`),e){e.setAttribute(r,"class",t);return}r.className=t}function sk(i,e,r){!i||!e||Object.keys(e).forEach(t=>{let n="";if(["width","height","top","right","bottom","left"].indexOf(t)!==-1&&wY(e[t])&&(n="px"),r){r.setStyle(i,t,`${String(e[t])}${n}`);return}i.style[t]=String(e[t])+n})}function OY(i){let e=i.offsets.target,r=i.instance.target.querySelector(".arrow");if(!r)return i;let t=["left","right"].indexOf(i.placement.split(" ")[0])!==-1,n=t?"height":"width",l=t?"Top":"Left",C=l.toLowerCase(),B=t?"left":"top",$=t?"bottom":"right",K=uk(r)[n],G=i.placement.split(" ")[1];(i.offsets.host[$]??0)-K<(e[C]??0)&&(e[C]-=(e[C]??0)-((i.offsets.host[$]??0)-K)),Number(i.offsets.host[C])+Number(K)>(e[$]??0)&&(e[C]+=Number(i.offsets.host[C])+Number(K)-Number(e[$])),e=t0(e);let q=qh(i.instance.target),Z=parseFloat(q[`margin${l}`])||0,R=parseFloat(q[`border${l}Width`])||0,Y;if(!G)Y=Number(i.offsets.host[C])+Number(i.offsets.host[n]/2-K/2);else{let H=parseFloat(q.borderRadius)||0,T=Number(Z+R+H);Y=C===G?Number(i.offsets.host[C])+T:Number(i.offsets.host[C])+Number(i.offsets.host[n]-T)}let V=Y-(e[C]??0)-Z-R;return V=Math.max(Math.min(e[n]-(K+5),V),0),i.offsets.arrow={[C]:Math.round(V),[B]:""},i.instance.arrow=r,i}function IY(i){if(i.offsets.target=t0(i.offsets.target),!pk(i.options,"flip"))return i.offsets.target=ze(ze({},i.offsets.target),lv(i.instance.target,i.offsets.host,i.placement)),i;let e=pv(i.instance.target,i.instance.host,0,"viewport",!1),r=i.placement.split(" ")[0],t=i.placement.split(" ")[1]||"",n=i.offsets.host,l=i.instance.target,C=i.instance.host,B=ck("auto",n,l,C,i.options.allowedPositions),$=[r,B];return $.forEach((K,G)=>{if(r!==K||$.length===G+1)return;r=i.placement.split(" ")[0];let q=r==="left"&&Math.floor(i.offsets.target.right??0)>Math.floor(i.offsets.host.left??0)||r==="right"&&Math.floor(i.offsets.target.left??0)<Math.floor(i.offsets.host.right??0)||r==="top"&&Math.floor(i.offsets.target.bottom??0)>Math.floor(i.offsets.host.top??0)||r==="bottom"&&Math.floor(i.offsets.target.top??0)<Math.floor(i.offsets.host.bottom??0),Z=Math.floor(i.offsets.target.left??0)<Math.floor(e.left??0),R=Math.floor(i.offsets.target.right??0)>Math.floor(e.right??0),Y=Math.floor(i.offsets.target.top??0)<Math.floor(e.top??0),V=Math.floor(i.offsets.target.bottom??0)>Math.floor(e.bottom??0),H=r==="left"&&Z||r==="right"&&R||r==="top"&&Y||r==="bottom"&&V,T=["top","bottom"].indexOf(r)!==-1,L=T&&t==="left"&&Z||T&&t==="right"&&R||!T&&t==="left"&&Y||!T&&t==="right"&&V;(q||H||L)&&((q||H)&&(r=$[G+1]),L&&(t=AY(t)),i.placement=r+(t?` ${t}`:""),i.offsets.target=ze(ze({},i.offsets.target),lv(i.instance.target,i.offsets.host,i.placement)))}),i}function RY(i,e,r,t){if(!i||!e)return;let n=dk(i,e);!r.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!r.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(r="auto");let l=!!r.match(/auto/g),C=r.match(/auto\s(left|right|top|bottom|start|end)/)?r.split(" ")[1]||"auto":r,B=C.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);B&&(C=B[1]+(B[2]?` ${B[2]}`:"")),["left right","right left","top bottom","bottom top"].indexOf(C)!==-1&&(C="auto"),C=ck(C,n,i,e,t?t.allowedPositions:void 0);let $=lv(i,n,C);return{options:t||{modifiers:{}},instance:{target:i,host:e,arrow:void 0},offsets:{target:$,host:n,arrow:void 0},positionFixed:!1,placement:C,placementAuto:l}}function BY(i){var K;if(!pk(i.options,"preventOverflow"))return i;let e="transform",r=i.instance.target.style,{top:t,left:n,[e]:l}=r;r.top="",r.left="",r[e]="";let C=pv(i.instance.target,i.instance.host,0,((K=i.options.modifiers.preventOverflow)==null?void 0:K.boundariesElement)||"scrollParent",!1);r.top=t,r.left=n,r[e]=l;let B=["left","right","top","bottom"],$={primary(G){let q=i.offsets.target[G];return(i.offsets.target[G]??0)<(C[G]??0)&&(q=Math.max(i.offsets.target[G]??0,C[G]??0)),{[G]:q}}
296,secondary(G){let q=G==="right",Z=q?"left":"top",R=q?"width":"height",Y=i.offsets.target[Z];return(i.offsets.target[G]??0)>(C[G]??0)&&(Y=Math.min(i.offsets.target[Z]??0,(C[G]??0)-i.offsets.target[R])),{[Z]:Y}}};return B.forEach(G=>{let q=["left","top","start"].indexOf(G)!==-1?$.primary:$.secondary;i.offsets.target=ze(ze({},i.offsets.target),q(G))}),i}function NY(i){let e=i.placement,r=e.split(" ")[0],t=e.split(" ")[1];if(t){let{host:n,target:l}=i.offsets,C=["bottom","top"].indexOf(r)!==-1,B=C?"left":"top",$=C?"width":"height",K={start:{[B]:n[B]},end:{[B]:(n[B]??0)+n[$]-l[$]}};i.offsets.target=xt(ze({},l),{[B]:B===t?K.start[B]:K.end[B]})}return i}var hv=class{position(e,r){return this.offset(e,r)}offset(e,r){return dk(r,e)}positionElements(e,r,t,n,l){let C=[IY,NY,BY,OY],B=rk[t],$=RY(r,e,B,l);if($)return C.reduce((K,G)=>G(K),$)}},jY=new hv;function HY(i,e,r,t,n,l){let C=jY.positionElements(i,e,r,t,n);if(!C)return;let B=TY(C);sk(e,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${B.left}px, ${B.top}px, 0px)`},l),C.instance.arrow&&sk(C.instance.arrow,C.offsets.arrow,l),PY(C,l)}var tr=(()=>{let e=class e{constructor(t,n,l){this.update$$=new pt,this.positionElements=new Map,this.isDisabled=!1,vf(l)&&t.runOutsideAngular(()=>{this.triggerEvent$=hd(jr(window,"scroll",{passive:!0}),jr(window,"resize",{passive:!0}),lr(0,gc),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(C=>{HY(Lg(C.target),Lg(C.element),C.attachment,C.appendToBody,this.options,n.createRenderer(null,null))})})})}position(t){this.addPositionElement(t)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(t){this.positionElements.set(Lg(t.element),t)}calcPosition(){this.update$$.next(null)}deletePositionElement(t){this.positionElements.delete(Lg(t))}setOptions(t){this.options=t}};e.\u0275fac=function(n){return new(n||e)(qe(wi),qe(Ef),qe(mf))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Lg(i){return typeof i=="string"?document.querySelector(i):i instanceof Bt?i.nativeElement:i??null}var Ou=class extends ar{constructor(e,r,t){super(e),r.pipe(BC(IC)).pipe(FC((C,B)=>B?t(C,B):C,e)).subscribe(C=>this.next(C))}},Iu=class i extends Ds{constructor(e,r,t){super(),this._dispatcher=e,this._reducer=r,this.source=t}select(e){var t;return(((t=this.source)==null?void 0:t.pipe(Gi(e)))||new Ds().pipe(Gi(e))).pipe(eh())}lift(e){let r=new i(this._dispatcher,this._reducer,this);return r.operator=e,r}dispatch(e){this._dispatcher.next(e)}next(e){this._dispatcher.next(e)}error(e){this._dispatcher.error(e)}complete(){}};function FY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0\xA0\xA0"),Ae())}function VY(i,e){if(i&1){let r=et();ke(0,"td")(1,"a",1),We("click",function(){Ne(r);let n=Te();return je(n.changeMinutes(n.minuteStep))}),Ke(2,"span",2),Ae()()}if(i&2){let r=Te();we(),ht("disabled",!r.canIncrementMinutes||!r.isEditable)}}function zY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0"),Ae())}function $Y(i,e){if(i&1){let r=et();ke(0,"td")(1,"a",1),We("click",function(){Ne(r);let n=Te();return je(n.changeSeconds(n.secondsStep))}),Ke(2,"span",2),Ae()()}if(i&2){let r=Te();we(),ht("disabled",!r.canIncrementSeconds||!r.isEditable)}}function WY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0\xA0\xA0"),Ae())}function YY(i,e){i&1&&Ke(0,"td")}function UY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0:\xA0"),Ae())}function GY(i,e){if(i&1){let r=et();ke(0,"td",4)(1,"input",5),We("wheel",function(n){Ne(r);let l=Te();return l.prevDef(n),je(l.changeMinutes(l.minuteStep*l.wheelSign(n),"wheel"))})("keydown.ArrowUp",function(){Ne(r);let n=Te();return je(n.changeMinutes(n.minuteStep,"key"))})("keydown.ArrowDown",function(){Ne(r);let n=Te();return je(n.changeMinutes(-n.minuteStep,"key"))})("change",function(n){Ne(r);let l=Te();return je(l.updateMinutes(n.target))}),Ae()()}if(i&2){let r=Te();ht("has-error",r.invalidMinutes),we(),ht("is-invalid",r.invalidMinutes),_e("placeholder",r.minutesPlaceholder)("readonly",r.readonlyInput)("disabled",r.disabled)("value",r.minutes),$i("aria-label",r.labelMinutes)}}function XY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0:\xA0"),Ae())}function qY(i,e){if(i&1){let r=et();ke(0,"td",4)(1,"input",5),We("wheel",function(n){Ne(r);let l=Te();return l.prevDef(n),je(l.changeSeconds(l.secondsStep*l.wheelSign(n),"wheel"))})("keydown.ArrowUp",function(){Ne(r);let n=Te();return je(n.changeSeconds(n.secondsStep,"key"))})("keydown.ArrowDown",function(){Ne(r);let n=Te();return je(n.changeSeconds(-n.secondsStep,"key"))})("change",function(n){Ne(r);let l=Te();return je(l.updateSeconds(n.target))}),Ae()()}if(i&2){let r=Te();ht("has-error",r.invalidSeconds),we(),ht("is-invalid",r.invalidSeconds),_e("placeholder",r.secondsPlaceholder)("readonly",r.readonlyInput)("disabled",r.disabled)("value",r.seconds),$i("aria-label",r.labelSeconds)}}function ZY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0\xA0\xA0"),Ae())}function KY(i,e){if(i&1){let r=et();ke(0,"td")(1,"button",8),We("click",function(){Ne(r);let n=Te();return je(n.toggleMeridian())}),Ge(2),Ae()()}if(i&2){let r=Te();we(),ht("disabled",!r.isEditable||!r.canToggleMeridian),_e("disabled",!r.isEditable||!r.canToggleMeridian),we(),oi("",r.meridian," ")}}function QY(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0\xA0\xA0"),Ae())}function JY(i,e){if(i&1){let r=et();ke(0,"td")(1,"a",1),We("click",function(){Ne(r);let n=Te();return je(n.changeMinutes(-n.minuteStep))}),Ke(2,"span",7),Ae()()}if(i&2){let r=Te();we(),ht("disabled",!r.canDecrementMinutes||!r.isEditable)}}function eU(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0"),Ae())}function tU(i,e){if(i&1){let r=et();ke(0,"td")(1,"a",1),We("click",function(){Ne(r);let n=Te();return je(n.changeSeconds(-n.secondsStep))}),Ke(2,"span",7),Ae()()}if(i&2){let r=Te();we(),ht("disabled",!r.canDecrementSeconds||!r.isEditable)}}function iU(i,e){i&1&&(ke(0,"td"),Ge(1,"\xA0\xA0\xA0"),Ae())}function nU(i,e){i&1&&Ke(0,"td")}var Nl=(()=>{let e=class e{writeValue(t){return{type:e.WRITE_VALUE,payload:t}}changeHours(t){return{type:e.CHANGE_HOURS,payload:t}}changeMinutes(t){return{type:e.CHANGE_MINUTES,payload:t}}changeSeconds(t){return{type:e.CHANGE_SECONDS,payload:t}}setTime(t){return{type:e.SET_TIME_UNIT,payload:t}}updateControls(t){return{type:e.UPDATE_CONTROLS,payload:t}}};e.WRITE_VALUE="[timepicker] write value from ng model",e.CHANGE_HOURS="[timepicker] change hours",e.CHANGE_MINUTES="[timepicker] change minutes",e.CHANGE_SECONDS="[timepicker] change seconds",e.SET_TIME_UNIT="[timepicker] set time unit",e.UPDATE_CONTROLS="[timepicker] update controls",e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),sU=10,rU=24,yk=12,oU=60,aU=60;function Ev(i){return!i||i instanceof Date&&isNaN(i.getHours())?!1:typeof i=="string"?Ev(new Date(i)):!0}function mv(i,e){return!(i.min&&e<i.min||i.max&&e>i.max)}function Ru(i){return typeof i>"u"?NaN:typeof i=="number"?i:parseInt(i,sU)}function vk(i,e=!1){let r=Ru(i);return isNaN(r)||r<0||r>(e?yk:rU)?NaN:r}function xk(i){let e=Ru(i);return isNaN(e)||e<0||e>oU?NaN:e}function Ck(i){let e=Ru(i);return isNaN(e)||e<0||e>aU?NaN:e}function fk(i){return typeof i=="string"?new Date(i):i}function ko(i,e){if(!i)return ko(Ig(new Date,0,0,0),e);if(!e)return i;let r=i.getHours(),t=i.getMinutes(),n=i.getSeconds();return e.hour&&(r=r+Ru(e.hour)),e.minute&&(t=t+Ru(e.minute)),e.seconds&&(n=n+Ru(e.seconds)),Ig(i,r,t,n)}function _k(i,e){let r=vk(e.hour),t=xk(e.minute),n=Ck(e.seconds)||0;return e.isPM&&r!==12&&(r+=yk),i?isNaN(r)||isNaN(t)?i:Ig(i,r,t,n):!isNaN(r)&&!isNaN(t)?Ig(new Date,r,t,n):i}function Ig(i,e,r,t){let n=new Date(i.getFullYear(),i.getMonth(),i.getDate(),e,r,t,i.getMilliseconds());return n.setFullYear(i.getFullYear()),n.setMonth(i.getMonth()),n.setDate(i.getDate()),n}
296function gv(i){let e=i.toString();return e.length>1?e:`0${e}`}function wk(i,e){return!isNaN(vk(i,e))}function Sk(i){return!isNaN(xk(i))}function Mk(i){return!isNaN(Ck(i))}function lU(i,e,r){let t=_k(new Date,i);return!(!t||e&&t>e||r&&t<r)}function hU(i,e,r){return i.length===0||e.length===0||r.length===0}function mk(i,e="0",r="0",t){return wk(i,t)&&Sk(e)&&Mk(r)}function Og(i,e){return!(i.readonlyInput||i.disabled||e&&(e.source==="wheel"&&!i.mousewheel||e.source==="key"&&!i.arrowkeys))}function cU(i,e){return!(!i.step||i.step>0&&!e.canIncrementHours||i.step<0&&!e.canDecrementHours)}function uU(i,e){return!(!i.step||i.step>0&&!e.canIncrementMinutes||i.step<0&&!e.canDecrementMinutes)}function dU(i,e){return!(!i.step||i.step>0&&!e.canIncrementSeconds||i.step<0&&!e.canDecrementSeconds)}function gk(i){let{hourStep:e,minuteStep:r,secondsStep:t,readonlyInput:n,disabled:l,mousewheel:C,arrowkeys:B,showSpinners:$,showMeridian:K,showSeconds:G,meridians:q,min:Z,max:R}=i;return{hourStep:e,minuteStep:r,secondsStep:t,readonlyInput:n,disabled:l,mousewheel:C,arrowkeys:B,showSpinners:$,showMeridian:K,showSeconds:G,meridians:q,min:Z,max:R}}function pU(i,e){let{min:n,max:l,hourStep:C,minuteStep:B,secondsStep:$,showSeconds:K}=e,G={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!i)return G;if(l){let q=ko(i,{hour:C});if(G.canIncrementHours=l>q&&i.getHours()+C<24,!G.canIncrementHours){let Z=ko(i,{minute:B});G.canIncrementMinutes=K?l>Z:l>=Z}if(!G.canIncrementMinutes){let Z=ko(i,{seconds:$});G.canIncrementSeconds=l>=Z}i.getHours()<12&&(G.canToggleMeridian=ko(i,{hour:12})<l)}if(n){let q=ko(i,{hour:-C});if(G.canDecrementHours=n<q,!G.canDecrementHours){let Z=ko(i,{minute:-B});G.canDecrementMinutes=K?n<Z:n<=Z}if(!G.canDecrementMinutes){let Z=ko(i,{seconds:-$});G.canDecrementSeconds=n<=Z}i.getHours()>=12&&(G.canToggleMeridian=ko(i,{hour:-12})>n)}return G}var Tk=(()=>{let e=class e{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.allowEmptyTime=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),kk={value:void 0,config:new Tk,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function Ek(i=kk,e){switch(e.type){case Nl.WRITE_VALUE:return Object.assign({},i,{value:e.payload});case Nl.CHANGE_HOURS:{if(!Og(i.config,e.payload)||!cU(e.payload,i.controls))return i;let r=ko(i.value,{hour:e.payload.step});return(i.config.max||i.config.min)&&!mv(i.config,r)?i:Object.assign({},i,{value:r})}case Nl.CHANGE_MINUTES:{if(!Og(i.config,e.payload)||!uU(e.payload,i.controls))return i;let r=ko(i.value,{minute:e.payload.step});return(i.config.max||i.config.min)&&!mv(i.config,r)?i:Object.assign({},i,{value:r})}case Nl.CHANGE_SECONDS:{if(!Og(i.config,e.payload)||!dU(e.payload,i.controls))return i;let r=ko(i.value,{seconds:e.payload.step});return(i.config.max||i.config.min)&&!mv(i.config,r)?i:Object.assign({},i,{value:r})}case Nl.SET_TIME_UNIT:{if(!Og(i.config))return i;let r=_k(i.value,e.payload);return Object.assign({},i,{value:r})}case Nl.UPDATE_CONTROLS:{let r=pU(i.value,e.payload),t={value:i.value,config:e.payload,controls:r};return i.config.showMeridian!==t.config.showMeridian&&i.value&&(t.value=new Date(i.value)),Object.assign({},i,t)}default:return i}}var bk=(()=>{let e=class e extends Iu{constructor(){let t=new ar({type:"[mini-ngrx] dispatcher init"}),n=new Ou(kk,t,Ek);super(t,Ek,n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),fU={provide:Si,useExisting:$t(()=>Bu),multi:!0},Bu=(()=>{let e=class e{constructor(t,n,l,C){this._cd=n,this._store=l,this._timepickerActions=C,this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showMeridian=!0,this.showMinutes=!0,this.showSeconds=!1,this.meridians=["AM","PM"],this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.isValid=new Qe,this.meridianChange=new Qe,this.hours="",this.minutes="",this.seconds="",this.meridian="",this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.labelHours="hours",this.labelMinutes="minutes",this.labelSeconds="seconds",this.canIncrementHours=!0,this.canIncrementMinutes=!0,this.canIncrementSeconds=!0,this.canDecrementHours=!0,this.canDecrementMinutes=!0,this.canDecrementSeconds=!0,this.canToggleMeridian=!0,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.config=t,Object.assign(this,this.config),this.timepickerSub=l.select(B=>B.value).subscribe(B=>{this._renderTime(B),this.onChange(B),this._store.dispatch(this._timepickerActions.updateControls(gk(this)))}),l.select(B=>B.controls).subscribe(B=>{let $=mk(this.hours,this.minutes,this.seconds,this.isPM()),K=this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||$;this.isValid.emit(K),Object.assign(this,B),n.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(t){t.preventDefault()}wheelSign(t){return Math.sign(t.deltaY||0)*-1}ngOnChanges(){this._store.dispatch(this._timepickerActions.updateControls(gk(this)))}changeHours(t,n=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:t,source:n}))}changeMinutes(t,n=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:t,source:n}))}changeSeconds(t,n=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:t,source:n}))}updateHours(t){this.resetValidation(),this.hours=t.value;let n=wk(this.hours,this.isPM())&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||n)){this.invalidHours=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}updateMinutes(t){this.resetValidation(),this.minutes=t.value;let n=Sk(this.minutes)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||n)){this.invalidMinutes=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}updateSeconds(t){this.resetValidation(),this.seconds=t.value;let n=Mk(this.seconds)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||n)){this.invalidSeconds=!0,this.isValid.emit(!1),this.onChange(null);return}this._updateTime()}isValidLimit(){return lU({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}isOneOfDatesIsEmpty(){return hU(this.hours,this.minutes,this.seconds)}_updateTime(){let t=this.showSeconds?this.seconds:void 0,n=this.showMinutes?this.minutes:void 0,l=mk(this.hours,n,t,this.isPM());if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||l)){this.isValid.emit(!1),this.onChange(null);return}this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){if(!this.showMeridian||!this.isEditable)return;this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(t){Ev(t)?(this.resetValidation(),this._store.dispatch(this._timepickerActions.writeValue(fk(t)))):t==null&&this._store.dispatch(this._timepickerActions.writeValue())}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._cd.markForCheck()}ngOnDestroy(){var t;(t=this.timepickerSub)==null||t.unsubscribe()}_renderTime(t){if(!t||!Ev(t)){this.hours="",this.minutes="",this.seconds="",this.meridian=this.meridians[0],this.meridianChange.emit(this.meridian);return}let n=fk(t);if(!n)return;let l=12,C=n.getHours();this.showMeridian&&(this.meridian=this.meridians[C>=l?1:0],this.meridianChange.emit(this.meridian),C=C%l,C===0&&(C=l)),this.hours=gv(C),this.minutes=gv(n.getMinutes()),this.seconds=gv(n.getUTCSeconds())}};e.\u0275fac=function(n){return new(n||e)(Ie(Tk),Ie(ti),Ie(bk),Ie(Nl))},e.\u0275cmp=st({type:e,selectors:[["timepicker"]],inputs:{hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",disabled:"disabled",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meri
296dians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid",meridianChange:"meridianChange"},standalone:!0,features:[Ot([fU,bk,Nl]),ki,Ki],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],["href","javascript:void(0);",1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[4,"ngIf"],[1,"form-group","mb-3"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"wheel","keydown.ArrowUp","keydown.ArrowDown","change","placeholder","readonly","disabled","value"],["class","form-group mb-3",3,"has-error",4,"ngIf"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"click","disabled"]],template:function(n,l){n&1&&(ke(0,"table")(1,"tbody")(2,"tr",0)(3,"td")(4,"a",1),We("click",function(){return l.changeHours(l.hourStep)}),Ke(5,"span",2),Ae()(),$e(6,FY,2,0,"td",3)(7,VY,3,2,"td",3)(8,zY,2,0,"td",3)(9,$Y,3,2,"td",3)(10,WY,2,0,"td",3)(11,YY,1,0,"td",3),Ae(),ke(12,"tr")(13,"td",4)(14,"input",5),We("wheel",function(B){return l.prevDef(B),l.changeHours(l.hourStep*l.wheelSign(B),"wheel")})("keydown.ArrowUp",function(){return l.changeHours(l.hourStep,"key")})("keydown.ArrowDown",function(){return l.changeHours(-l.hourStep,"key")})("change",function(B){return l.updateHours(B.target)}),Ae()(),$e(15,UY,2,0,"td",3)(16,GY,2,9,"td",6)(17,XY,2,0,"td",3)(18,qY,2,9,"td",6)(19,ZY,2,0,"td",3)(20,KY,3,4,"td",3),Ae(),ke(21,"tr",0)(22,"td")(23,"a",1),We("click",function(){return l.changeHours(-l.hourStep)}),Ke(24,"span",7),Ae()(),$e(25,QY,2,0,"td",3)(26,JY,3,2,"td",3)(27,eU,2,0,"td",3)(28,tU,3,2,"td",3)(29,iU,2,0,"td",3)(30,nU,1,0,"td",3),Ae()()()),n&2&&(we(2),_e("hidden",!l.showSpinners),we(2),ht("disabled",!l.canIncrementHours||!l.isEditable),we(2),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showMeridian),we(),_e("ngIf",l.showMeridian),we(2),ht("has-error",l.invalidHours),we(),ht("is-invalid",l.invalidHours),_e("placeholder",l.hoursPlaceholder)("readonly",l.readonlyInput)("disabled",l.disabled)("value",l.hours),$i("aria-label",l.labelHours),we(),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showMeridian),we(),_e("ngIf",l.showMeridian),we(),_e("hidden",!l.showSpinners),we(2),ht("disabled",!l.canDecrementHours||!l.isEditable),we(2),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showMinutes),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showSeconds),we(),_e("ngIf",l.showMeridian),we(),_e("ngIf",l.showMeridian))},dependencies:[wt],styles:[`.bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{-webkit-transform:rotate(45deg);transform:rotate(45deg);top:2px}.bs-chevron-down{-webkit-transform:rotate(-135deg);transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem} 297`],encapsulation:2,changeDetection:0});let i=e;return i})(),Nu=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({});let i=e;return i})();var Zh=class{constructor(e,r,t){this.nodes=e,this.viewRef=r,this.componentRef=t}},bv=class{constructor(e,r,t,n,l,C,B,$,K){this._viewContainerRef=e,this._renderer=r,this._elementRef=t,this._injector=n,this._componentFactoryResolver=l,this._ngZone=C,this._applicationRef=B,this._posService=$,this._document=K,this.onBeforeShow=new Qe,this.onShown=new Qe,this.onBeforeHide=new Qe,this.onHidden=new Qe,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return this._isHiding?!1:!!this._componentRef}attach(e){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(e),this}to(e){return this.container=e||this.container,this}position(e){return e?(this.attachment=e.attachment||this.attachment,this._elementRef=e.target||this._elementRef,this):this}provide(e){return this._providers.push(e),this}show(e={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(e.content,e.context,e.initialState);let r=Ls.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(r,this._contentRef.n
297odes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,e),this.container instanceof Bt&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),typeof this.container=="string"&&typeof this._document<"u"){let t=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!t)return;t.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(e.id?{id:e.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(e){var t,n,l,C,B,$,K;if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);let r=this._componentRef.location.nativeElement;return(t=r.parentNode)==null||t.removeChild(r),(l=(n=this._contentRef)==null?void 0:n.componentRef)==null||l.destroy(),this._viewContainerRef&&((C=this._contentRef)!=null&&C.viewRef)&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),($=(B=this._contentRef)==null?void 0:B.viewRef)==null||$.destroy(),(K=this._componentRef)==null||K.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(e?{id:e}:null),this}toggle(){if(this.isShown){this.hide();return}this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(e){var l;this.triggers=e.triggers||this.triggers,this._listenOpts.outsideClick=e.outsideClick,this._listenOpts.outsideEsc=e.outsideEsc,e.target=e.target||((l=this._elementRef)==null?void 0:l.nativeElement);let r=this._listenOpts.hide=()=>e.hide?e.hide():void this.hide(),t=this._listenOpts.show=C=>{e.show?e.show(C):this.show(C),C()},n=C=>{this.isShown?r():t(C)};return this._renderer&&(this._unregisterListenersFn=qT(this._renderer,{target:e.target,triggers:e.triggers,show:t,hide:r,toggle:n})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(e,r){return e&&r&&(this._inlineViewRef=e.createEmbeddedView(r)),this}_registerOutsideClick(){if(!this._componentRef||!this._componentRef.location)return;let e=Function.prototype,r=Function.prototype;if(this._listenOpts.outsideClick){let t=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(e=ZT(this._renderer,{targets:[t,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}if(this._listenOpts.outsideEsc&&this._renderer&&this._elementRef){let t=this._componentRef.location.nativeElement;r=KT(this._renderer,{targets:[t,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()})}this._globalListener=()=>{e(),r()}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{var e;this._posService.position({element:(e=this._componentRef)==null?void 0:e.location,target:this._elementRef,attachment:this.attachment,appendToBody:this.container==="body"})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(e,r,t){if(!e)return new Zh([]);if(e instanceof Xi){if(this._viewContainerRef){let C=this._viewContainerRef.createEmbeddedView(e,r);return C.markForCheck(),new Zh([C.rootNodes],C)}let l=e.createEmbeddedView({});return this._applicationRef.attachView(l),new Zh([l.rootNodes],l)}if(typeof e=="function"){let l=this._componentFactoryResolver.resolve
297ComponentFactory(e),C=Ls.create({providers:this._providers,parent:this._injector}),B=l.create(C);return Object.assign(B.instance,t),this._applicationRef.attachView(B.hostView),new Zh([[B.location.nativeElement]],B.hostView,B)}let n=this._renderer?[this._renderer.createText(`${e}`)]:[];return new Zh([n])}},xa=(()=>{let e=class e{constructor(t,n,l,C,B,$){this._componentFactoryResolver=t,this._ngZone=n,this._injector=l,this._posService=C,this._applicationRef=B,this._document=$}createLoader(t,n,l){return new bv(n,l,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}};e.\u0275fac=function(n){return new(n||e)(qe(gf),qe(wi),qe(Ls),qe(tr),qe(fl),qe(ls))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var gU=["*"],yv=(()=>{let e=class e{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),EU=(()=>{let e=class e{get _bsVersions(){return Xh()}constructor(t){Object.assign(this,t)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=e0[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}};e.\u0275fac=function(n){return new(n||e)(Ie(yv))},e.\u0275cmp=st({type:e,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(n,l){n&2&&($i("id",l.id),xi("show tooltip in tooltip-"+l.placement+" bs-tooltip-"+l.placement+" "+l.placement+" "+l.containerClass))},standalone:!0,features:[Ki],ngContentSelectors:gU,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(n,l){n&1&&(wn(),Ke(0,"div",0),ke(1,"div",1),tn(2),Ae())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0});let i=e;return i})(),bU=0,Dk=(()=>{let e=class e{get isOpen(){return this._tooltip.isShown}set isOpen(t){t?this.show():this.hide()}set htmlContent(t){Mr("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=t}set _placement(t){Mr("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=t}set _isOpen(t){Mr("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=t}get _isOpen(){return Mr("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(t){Mr("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!t}get _enable(){return Mr("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(t){Mr('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=t?"body":this.container}get _appendToBody(){return Mr('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container==="body"}set _popupClass(t){Mr("tooltipClass deprecated")}set _tooltipContext(t){Mr("tooltipContext deprecated")}set _tooltipPopupDelay(t){Mr("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=t}get _tooltipTrigger(){return Mr("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(t){Mr("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(t||"").toString()}constructor(t,n,l,C,B,$){this._elementRef=C,this._renderer=B,this._positionService=$,this.tooltipId=bU++,this.adaptivePosition=!0,this.tooltipChange=new Qe,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new Qe,this._tooltip=n.createLoader(this._elementRef,t,this._renderer).provide({provide:yv,useValue:l}),Object.assign(this,l),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(t=>{t||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;let t=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(EU).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},n=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=Ec(this.delay).subscribe(()=>{t(),n()}
297),this.triggers&&ov(this.triggers).forEach(l=>{l.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,l.close,()=>{var C;(C=this._delaySubscription)==null||C.unsubscribe(),n()}))})):t()}hide(){var t;this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&((t=this._tooltip.instance)!=null&&t.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(Ie(Gs),Ie(xa),Ie(yv),Ie(Bt),Ie(pn),Ie(tr))},e.\u0275dir=ft({type:e,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:[0,"tooltipHtml","htmlContent"],_placement:[0,"tooltipPlacement","_placement"],_isOpen:[0,"tooltipIsOpen","_isOpen"],_enable:[0,"tooltipEnable","_enable"],_appendToBody:[0,"tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:[0,"tooltipClass","_popupClass"],_tooltipContext:[0,"tooltipContext","_tooltipContext"],_tooltipPopupDelay:[0,"tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:[0,"tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"],standalone:!0,features:[Ot([xa,tr])]});let i=e;return cf([JT(),RC("design:type",Object)],i.prototype,"tooltip",void 0),i})(),vv=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn]});let i=e;return i})();function vU(i,e){if(i&1){let r=et();ke(0,"button",2),We("click",function(){let n=Ne(r).$implicit,l=Te();return je(l.selectFromRanges(n))}),Ge(1),Ae()}if(i&2){let r=e.$implicit,t=Te();ht("selected",t.compareRanges(r)),we(),oi(" ",r.label," ")}}function xU(i,e){if(i&1){let r=et();Wn(0),Ge(1," \u200B "),ke(2,"button",2),We("click",function(){Ne(r);let n=Te();return je(n.view("month"))}),ke(3,"span"),Ge(4),Ae()(),Yn()}if(i&2){let r=Te();we(2),_e("disabled",r.isDisabled),we(2),qt(r.calendar.monthTitle)}}var CU=[[["bs-datepicker-navigation-view"]],"*"],_U=["bs-datepicker-navigation-view","*"];function wU(i,e){i&1&&Ke(0,"bs-current-date",4)}function SU(i,e){i&1&&Ke(0,"bs-timepicker")}function MU(i,e){if(i&1){let r=et();ke(0,"td",4),We("click",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.viewYear(n))})("mouseenter",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.hoverYear(n,!0))})("mouseleave",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.hoverYear(n,!1))}),ke(1,"span"),Ge(2),Ae()()}if(i&2){let r=e.$implicit;ht("disabled",r.isDisabled)("is-highlighted",r.isHovered),we(),ht("selected",r.isSelected),we(),qt(r.label)}}function TU(i,e){if(i&1&&(ke(0,"tr"),$e(1,MU,3,7,"td",3),Ae()),i&2){let r=e.$implicit;we(),_e("ngForOf",r)}}function kU(i,e){if(i&1){let r=et();ke(0,"td",4),We("click",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.viewMonth(n))})("mouseenter",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.hoverMonth(n,!0))})("mouseleave",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.hoverMonth(n,!1))}),ke(1,"span"),Ge(2),Ae()()}if(i&2){let r=e.$implicit;ht("disabled",r.isDisabled)("is-highlighted",r.isHovered),we(),ht("selected",r.isSelected),we(),qt(r.label)}}function AU(i,e){if(i&1&&(ke(0,"tr"),$e(1,kU,3,7,"td",3),Ae()),i&2){let r=e.$implicit;we(),_e("ngForOf",r)}}var DU=["bsDatepickerDayDecorator",""];function LU(i,e){i&1&&Ke(0,"th")}function PU(i,e){if(i&1&&(ke(0,"th",5),Ge(1),Ae()),i&2){let r=e.index,t=Te();we(),oi("",t.calendar.weekdays[r]," ")}}function OU(i,e){if(i&1){let r=et();ke(0,"span",11),We("click",function(){Ne(r);let n=Te(2).$implicit,l=Te();return je(l.selectWeek(n))}),Ge(1),Ae()}if(i&2){let r=Te(2).index,t=Te();we(),qt(t.calendar.weekNumbers[r])}}function IU(i,e){if(i&1){let r=et();ke(0,"span",12),We("click",function(){Ne(r);let n=Te(2).$implicit,l=Te();return je(l.selectWeek(n))})("mouseenter",function(){Ne(r);let n=Te(2).$implicit,l=Te();return je(l.weekHoverHandler(n,!0))})("mouseleave",function(){Ne(r);let n=Te(2).$implicit,l=Te();return je(l.weekHoverHandler(n,!1))}),Ge(1),Ae()}if(i&2){let r=Te(2).index,t=Te();we(),qt(t.calendar.weekNumbers[r])}}function RU(i,e){if(i&1&&(ke(0,"td",8),$e(1,OU,2,1,"span",9)(2,IU,2,1,"span",10),Ae()),i&2){let r=Te(2);ht("active-week",r.isWeekHovered),we(),_e("ngIf",r.isiOS),we(),_e("ngIf",!r.isiOS)}}function BU(i,e){if(i&1){let r=et();ke(0,"span",17),We("click",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.selectDay(n))})("mouseenter",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.hoverDay(n,!0))})("mouseleave",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.hoverDay(n,!1))}),Ge(1),Ae()}if(i&2){let r=Te().$implicit;as("tooltip",r.tooltipText),_e("day",r),we(),oi("",r.label," 3")}}function NU(i,e){if(i&1){let r=et();ke(0,"span",18),We("click",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.selectDay(n))})("mouseenter",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.hoverDay(n,!0))})("mouseleave",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.hoverDay(n,!1))}),Ge(1),Ae()}if(i&2){let r=Te().$implicit;_e("day",r),we(),oi("",r.label," 2")}}function jU(i,e){if(i&1){let r=et();ke(0,"span",19),We("click",function(){Ne(r);let n=Te().$implicit,l=Te(2);return je(l.selectDay(n))}),Ge(1),Ae()}if(i&2){let r=Te().$implicit;_e("day",r),we(),oi("",r.label," 1")}}function HU(i,e){if(i&1&&(ke(0,"td",13),$e(1,BU,2,3,"span",14)(2,NU,2,2,"span",15)(3,jU,2,2,"span",16),Ae()),i&2){let r=Te(2);we(),_e("ngIf",!r.isiOS&&r.isShowTooltip),we(),_e("ngIf",!r.isiOS&&!r.isShowTooltip),we(),_e("ngIf",r.isiOS)}}function FU(i,e){if(i&1&&(ke(0,"tr"),$e(1,RU,3,4,"td",6)(2,HU,4,3,"td",7),Ae()),i&2){let r=e.$implicit,t=Te();we(),_e("ngIf",t.options&&t.options.showWeekNumbers),we(),_e("ngForOf",r.days)}}var Bk=["startTP"];function VU(i,e){if(i&1){let r=et();ke(0,"bs-days-calendar-view",13),St(1,"async"),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);
vendor: 12,923 bytes, line 297
297return je(l.dayHoverHandler(n))})("onHoverWeek",function(n){Ne(r);let l=Te(3);return je(l.weekHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.daySelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)("isDisabled",t.isDatePickerDisabled)("options",Tt(1,5,t.options$))}}function zU(i,e){if(i&1&&Ke(0,"timepicker",15,1),i&2){let r=Te(4);_e("disabled",r.isDatePickerDisabled)}}function $U(i,e){if(i&1&&(ke(0,"div",14),Ke(1,"timepicker",15,0),$e(3,zU,2,1,"timepicker",16),Ae()),i&2){let r=Te(3);we(),_e("disabled",r.isDatePickerDisabled),we(2),_e("ngIf",r.isRangePicker)}}function WU(i,e){if(i&1&&(Wn(0),ke(1,"div",10),$e(2,VU,2,7,"bs-days-calendar-view",11),St(3,"async"),Ae(),$e(4,$U,4,2,"div",12),Yn()),i&2){let r=Te(2);we(2),_e("ngForOf",Tt(3,2,r.daysCalendar$)),we(2),_e("ngIf",r.withTimepicker)}}function YU(i,e){if(i&1){let r=et();ke(0,"bs-month-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.monthHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.monthSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function UU(i,e){if(i&1&&(ke(0,"div",10),$e(1,YU,1,3,"bs-month-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.monthsCalendar))}}function GU(i,e){if(i&1){let r=et();ke(0,"bs-years-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.yearHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.yearSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function XU(i,e){if(i&1&&(ke(0,"div",10),$e(1,GU,1,3,"bs-years-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.yearsCalendar))}}function qU(i,e){i&1&&(ke(0,"div",19)(1,"button",20),Ge(2,"Apply"),Ae(),ke(3,"button",21),Ge(4,"Cancel"),Ae()())}function ZU(i,e){if(i&1){let r=et();ke(0,"div",24)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.setToday())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("today-left",r.todayPos==="left")("today-right",r.todayPos==="right")("today-center",r.todayPos==="center"),we(2),qt(r.todayBtnLbl)}}function KU(i,e){if(i&1){let r=et();ke(0,"div",26)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.clearDate())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("clear-left",r.clearPos==="left")("clear-right",r.clearPos==="right")("clear-center",r.clearPos==="center"),we(2),qt(r.clearBtnLbl)}}function QU(i,e){if(i&1&&(ke(0,"div",19),$e(1,ZU,3,7,"div",22)(2,KU,3,7,"div",23),Ae()),i&2){let r=Te(2);we(),_e("ngIf",r.showTodayBtn),we(),_e("ngIf",r.showClearBtn)}}function JU(i,e){if(i&1){let r=et();ke(0,"div",27)(1,"bs-custom-date-view",28),We("onSelect",function(n){Ne(r);let l=Te(2);return je(l.setRangeOnCalendar(n))}),Ae()()}if(i&2){let r=Te(2);we(),_e("selectedRange",r.chosenRange)("ranges",r.customRanges)("customRangeLabel",r.customRangeBtnLbl)}}function eG(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),We("@datepickerAnimation.done",function(){Ne(r);let n=Te();return je(n.positionServiceEnable())}),ke(2,"div",5),St(3,"async"),$e(4,WU,5,4,"ng-container",6)(5,UU,3,3,"div",7)(6,XU,3,3,"div",7),Ae(),$e(7,qU,5,0,"div",8)(8,QU,3,2,"div",8),Ae(),$e(9,JU,2,3,"div",9),Ae()}if(i&2){let r=Te();_e("ngClass",r.containerClass),we(),_e("@datepickerAnimation",r.animationState),we(),_e("ngSwitch",Tt(3,9,r.viewMode)),we(2),_e("ngSwitchCase","day"),we(),_e("ngSwitchCase","month"),we(),_e("ngSwitchCase","year"),we(),_e("ngIf",!1),we(),_e("ngIf",r.showTodayBtn||r.showClearBtn),we(),_e("ngIf",r.customRanges&&r.customRanges.length>0)}}function tG(i,e){if(i&1){let r=et();ke(0,"bs-days-calendar-view",13),St(1,"async"),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.dayHoverHandler(n))})("onHoverWeek",function(n){Ne(r);let l=Te(3);return je(l.weekHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.daySelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)("isDisabled",t.isDatePickerDisabled)("options",Tt(1,5,t.options$))}}function iG(i,e){if(i&1&&Ke(0,"timepicker",15,1),i&2){let r=Te(4);_e("disabled",r.isDatePickerDisabled)}}function nG(i,e){if(i&1&&(ke(0,"div",14),Ke(1,"timepicker",15,0),$e(3,iG,2,1,"timepicker",16),Ae()),i&2){let r=Te(3);we(),_e("disabled",r.isDatePickerDisabled),we(2),_e("ngIf",r.isRangePicker)}}function sG(i,e){if(i&1&&(Wn(0),ke(1,"div",10),$e(2,tG,2,7,"bs-days-calendar-view",11),St(3,"async"),Ae(),$e(4,nG,4,2,"div",12),Yn()),i&2){let r=Te(2);we(2),_e("ngForOf",Tt(3,2,r.daysCalendar$)),we(2),_e("ngIf",r.withTimepicker)}}function rG(i,e){if(i&1){let r=et();ke(0,"bs-month-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.monthHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.monthSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function oG(i,e){if(i&1&&(ke(0,"div",10),$e(1,rG,1,3,"bs-month-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.monthsCalendar))}}function aG(i,e){if(i&1){let r=et();ke(0,"bs-years-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.yearHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.yearSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function lG(i,e){if(i&1&&(ke(0,"div",10),$e(1,aG,1,3,"bs-years-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.yearsCalendar))}}function hG(i,e){i&1&&(ke(0,"div",19)(1,"button",20),Ge(2,"Apply"),Ae(),ke(3,"button",21),Ge(4,"Cancel"),Ae()())}function cG(i,e){if(i&1){let r=et();ke(0,"div",24)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.setToday())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("today-left",r.todayPos==="left")("today-right",r.todayPos==="right")("today-center",r.todayPos==="center"),we(2),qt(r.todayBtnLbl)}}function uG(i,e){if(i&1){let r=et();ke(0,"div",26)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.clearDate())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("clear-left",r.clearPos==="left")("clear-right",r.clearPos==="right")("clear-center",r.clearPos==="center"),we(2),qt(r.clearBtnLbl)}}function dG(i,e){if(i&1&&(ke(0,"div",19),$e(1,cG,3,7,"div",22)(2,uG,3,7,"div",23),Ae()),i&2){let r=Te(2);we(),_e("ngIf",r.showTodayBtn),we(),_e("ngIf",r.showClearBtn)}}function pG(i,e){if(i&1){let r=et();ke(0,"div",27)(1,"bs-custom-date-view",28),We("onSelect",function(n){Ne(r);let l=Te(2);return je(l.setRangeOnCalendar(n))}),Ae()()}if(i&2){let r=Te(2);we(),_e("selectedRange",r.chosenRange)("ranges",r.customRanges)("customRangeLabel",r.customRangeBtnLbl)}}function fG(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),We("@datepickerAnimation.done",function(){Ne(r);let n=Te();return je(n.positionServiceEnable())}),ke(2,"div",5),St(3,"async"),$e(4,sG,5,4,"ng-container",6)(5,oG,3,3,"div",7)(6,lG,3,3,"div",7),Ae(),$e(7,hG,5,0,"div",8)(8,dG,3,2,"div",8),Ae(),$e(9,pG,2,3,"div",9),Ae()}if(i&2){let r=Te();_e("ngClass",r.containerClass),we(),_e("@datepickerAnimation",r.animationState),we(),_e("ngSwitch",Tt(3,9,r.viewMode)),we(2),_e("ngSwitchCase","day"),we(),_e("ngSwitchCase","month"),we(),_e("ngSwitchCase","year"),we(),_e("ngIf",!1),we(),_e("ngIf",r.showTodayBtn||r.showClearBtn),we(),_e("ngIf",r.customRanges&&r.customRanges.length>0)}}var mG=["endTP"];function gG(i,e){if(i&1){let r=et();ke(0,"bs-days-calendar-view",13),St(1,"async"),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.dayHoverHandler(n))})("onHoverWeek",function(n){Ne(r);let l=Te(3);return je(l.weekHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.daySelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)("isDisabled",t.isDatePickerDisabled)("options",Tt(1,5,t.options$))}}function EG(i,e){if(i&1&&Ke(0,"timepicker",15,1),i&2){let r=Te(4);_e("disabled",r.isDatePickerDisabled)}}function bG(i,e){if(i&1&&(ke(0,"div",14),Ke(1,"timepicker",15,0),$e(3,EG,2,1,"timepicker",16),Ae()),i&2){let r=Te(3);we(),_e("disabled",r.isDatePickerDisabled),we(2),_e("ngIf",r.isRangePicker)}}function yG(i,e){if(i&1&&(Wn(0),ke(1,"div",10),$e(2,gG,2,7,"bs-days-calendar-view",11),St(3,"async"),Ae(),$e(4,bG,4,2,"div",12),Yn()),i&2){let r=Te(2);we(2),_e("ngForOf",Tt(3,2,r.daysCalendar$)),we(2),_e("ngIf",r.withTimepicker)}}function vG(i,e){if(i&1){let r=et();ke(0,"bs-month-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.monthHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.monthSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function xG(i,e){if(i&1&&(ke(0,"div",10),$e(1,vG,1,3,"bs-month-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.monthsCalendar))}}function CG(i,e){if(i&1){let r=et();ke(0,"bs-years-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.yearHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.yearSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function _G(i,e){if(i&1&&(ke(0,"div",10),$e(1,CG,1,3,"bs-years-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.yearsCalendar))}}function wG(i,e){i&1&&(ke(0,"div",19)(1,"button",20),Ge(2,"Apply"),Ae(),ke(3,"button",21),Ge(4,"Cancel"),Ae()())}function SG(i,e){if(i&1){let r=et();ke(0,"div",24)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.setToday())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("today-left",r.todayPos==="left")("today-right",r.todayPos==="right")("today-center",r.todayPos==="center"),we(2),qt(r.todayBtnLbl)}}function MG(i,e){if(i&1){let r=et();ke(0,"div",26)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.clearDate())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("clear-left",r.clearPos==="left")("clear-right",r.clearPos==="right")("clear-center",r.clearPos==="center"),we(2),qt(r.clearBtnLbl)}}function TG(i,e){if(i&1&&(ke(0,"div",19),$e(1,SG,3,7,"div",22)(2,MG,3,7,"div",23),Ae()),i&2){let r=Te(2);we(),_e("ngIf",r.showTodayBtn),we(),_e("ngIf",r.showClearBtn)}}function kG(i,e){if(i&1){let r=et();ke(0,"div",27)(1,"bs-custom-date-view",28),We("onSelect",function(n){Ne(r);let l=Te(2);return je(l.setRangeOnCalendar(n))}),Ae()()}if(i&2){let r=Te(2);we(),_e("selectedRange",r.chosenRange)("ranges",r.customRanges)("customRangeLabel",r.customRangeBtnLbl)}}function AG(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),We("@datepickerAnimation.done",function(){Ne(r);let n=Te();return je(n.positionServiceEnable())}),ke(2,"div",5),St(3,"async"),$e(4,yG,5,4,"ng-container",6)(5,xG,3,3,"div",7)(6,_G,3,3,"div",7),Ae(),$e(7,wG,5,0,"div",8)(8,TG,3,2,"div",8),Ae(),$e(9,kG,2,3,"div",9),Ae()}if(i&2){let r=Te();_e("ngClass",r.containerClass),we(),_e("@datepickerAnimation",r.animationState),we(),_e("ngSwitch",Tt(3,9,r.viewMode)),we(2),_e("ngSwitchCase","day"),we(),_e("ngSwitchCase","month"),we(),_e("ngSwitchCase","year"),we(),_e("ngIf",!1),we(),_e("ngIf",r.showTodayBtn||r.showClearBtn),we(),_e("ngIf",r.customRanges&&r.customRanges.length>0)}}function DG(i,e){if(i&1){let r=et();ke(0,"bs-days-calendar-view",13),St(1,"async"),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);
297return je(l.dayHoverHandler(n))})("onHoverWeek",function(n){Ne(r);let l=Te(3);return je(l.weekHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.daySelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)("isDisabled",t.isDatePickerDisabled)("options",Tt(1,5,t.options$))}}function LG(i,e){if(i&1&&Ke(0,"timepicker",15,1),i&2){let r=Te(4);_e("disabled",r.isDatePickerDisabled)}}function PG(i,e){if(i&1&&(ke(0,"div",14),Ke(1,"timepicker",15,0),$e(3,LG,2,1,"timepicker",16),Ae()),i&2){let r=Te(3);we(),_e("disabled",r.isDatePickerDisabled),we(2),_e("ngIf",r.isRangePicker)}}function OG(i,e){if(i&1&&(Wn(0),ke(1,"div",10),$e(2,DG,2,7,"bs-days-calendar-view",11),St(3,"async"),Ae(),$e(4,PG,4,2,"div",12),Yn()),i&2){let r=Te(2);we(2),_e("ngForOf",Tt(3,2,r.daysCalendar$)),we(2),_e("ngIf",r.withTimepicker)}}function IG(i,e){if(i&1){let r=et();ke(0,"bs-month-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.monthHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.monthSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function RG(i,e){if(i&1&&(ke(0,"div",10),$e(1,IG,1,3,"bs-month-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.monthsCalendar))}}function BG(i,e){if(i&1){let r=et();ke(0,"bs-years-calendar-view",18),We("onNavigate",function(n){Ne(r);let l=Te(3);return je(l.navigateTo(n))})("onViewMode",function(n){Ne(r);let l=Te(3);return je(l.setViewMode(n))})("onHover",function(n){Ne(r);let l=Te(3);return je(l.yearHoverHandler(n))})("onSelect",function(n){Ne(r);let l=Te(3);return je(l.yearSelectHandler(n))}),Ae()}if(i&2){let r=e.$implicit,t=Te(3);ht("bs-datepicker-multiple",t.multipleCalendars),_e("calendar",r)}}function NG(i,e){if(i&1&&(ke(0,"div",10),$e(1,BG,1,3,"bs-years-calendar-view",17),St(2,"async"),Ae()),i&2){let r=Te(2);we(),_e("ngForOf",Tt(2,1,r.yearsCalendar))}}function jG(i,e){i&1&&(ke(0,"div",19)(1,"button",20),Ge(2,"Apply"),Ae(),ke(3,"button",21),Ge(4,"Cancel"),Ae()())}function HG(i,e){if(i&1){let r=et();ke(0,"div",24)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.setToday())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("today-left",r.todayPos==="left")("today-right",r.todayPos==="right")("today-center",r.todayPos==="center"),we(2),qt(r.todayBtnLbl)}}function FG(i,e){if(i&1){let r=et();ke(0,"div",26)(1,"button",25),We("click",function(){Ne(r);let n=Te(3);return je(n.clearDate())}),Ge(2),Ae()()}if(i&2){let r=Te(3);ht("clear-left",r.clearPos==="left")("clear-right",r.clearPos==="right")("clear-center",r.clearPos==="center"),we(2),qt(r.clearBtnLbl)}}function VG(i,e){if(i&1&&(ke(0,"div",19),$e(1,HG,3,7,"div",22)(2,FG,3,7,"div",23),Ae()),i&2){let r=Te(2);we(),_e("ngIf",r.showTodayBtn),we(),_e("ngIf",r.showClearBtn)}}function zG(i,e){if(i&1){let r=et();ke(0,"div",27)(1,"bs-custom-date-view",28),We("onSelect",function(n){Ne(r);let l=Te(2);return je(l.setRangeOnCalendar(n))}),Ae()()}if(i&2){let r=Te(2);we(),_e("selectedRange",r.chosenRange)("ranges",r.customRanges)("customRangeLabel",r.customRangeBtnLbl)}}function $G(i,e){if(i&1){let r=et();ke(0,"div",3)(1,"div",4),We("@datepickerAnimation.done",function(){Ne(r);let n=Te();return je(n.positionServiceEnable())}),ke(2,"div",5),St(3,"async"),$e(4,OG,5,4,"ng-container",6)(5,RG,3,3,"div",7)(6,NG,3,3,"div",7),Ae(),$e(7,jG,5,0,"div",8)(8,VG,3,2,"div",8),Ae(),$e(9,zG,2,3,"div",9),Ae()}if(i&2){let r=Te();_e("ngClass",r.containerClass),we(),_e("@datepickerAnimation",r.animationState),we(),_e("ngSwitch",Tt(3,9,r.viewMode)),we(2),_e("ngSwitchCase","day"),we(),_e("ngSwitchCase","month"),we(),_e("ngSwitchCase","year"),we(),_e("ngIf",!1),we(),_e("ngIf",r.showTodayBtn||r.showClearBtn),we(),_e("ngIf",r.customRanges&&r.customRanges.length>0)}}var Tr=(()=>{let e=class e{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lk="220ms cubic-bezier(0, 0, 0.2, 1)",Bg=Zs("datepickerAnimation",[nn("animated-down",di({height:"*",overflow:"hidden"})),sn("* => animated-down",[di({height:0,overflow:"hidden"}),Qi(Lk)]),nn("animated-up",di({height:"*",overflow:"hidden"})),sn("* => animated-up",[di({height:"*",overflow:"hidden"}),Qi(Lk)]),sn("* => unanimated",Qi("0s"))]),Rg=class{constructor(){this.containerClass="",this.customRanges=[],this.chosen
297Range=[],this._daysCalendarSub=new vs,this.selectedTimeSub=new vs}set minDate(e){var r;(r=this._effects)==null||r.setMinDate(e)}set maxDate(e){var r;(r=this._effects)==null||r.setMaxDate(e)}set daysDisabled(e){var r;(r=this._effects)==null||r.setDaysDisabled(e)}set datesDisabled(e){var r;(r=this._effects)==null||r.setDatesDisabled(e)}set datesEnabled(e){var r;(r=this._effects)==null||r.setDatesEnabled(e)}set isDisabled(e){var r;(r=this._effects)==null||r.setDisabled(e)}set dateCustomClasses(e){var r;(r=this._effects)==null||r.setDateCustomClasses(e)}set dateTooltipTexts(e){var r;(r=this._effects)==null||r.setDateTooltipTexts(e)}set daysCalendar$(e){this._daysCalendar$=e,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(r=>{this.multipleCalendars=!!r&&r.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(e){}navigateTo(e){}dayHoverHandler(e){}weekHoverHandler(e){}monthHoverHandler(e){}yearHoverHandler(e){}timeSelectHandler(e,r){}daySelectHandler(e){}monthSelectHandler(e){}yearSelectHandler(e){}setRangeOnCalendar(e){}setToday(){}clearDate(){}_stopPropagation(e){e.stopPropagation()}},bn=(()=>{let e=class e{calculate(){return{type:e.CALCULATE}}format(){return{type:e.FORMAT}}flag(){return{type:e.FLAG}}select(t){return{type:e.SELECT,payload:t}}selectTime(t,n){return{type:e.SELECT_TIME,payload:{date:t,index:n}}}changeViewMode(t){return{type:e.CHANGE_VIEWMODE,payload:t}}navigateTo(t){return{type:e.NAVIGATE_TO,payload:t}}navigateStep(t){return{type:e.NAVIGATE_OFFSET,payload:t}}setOptions(t){return{type:e.SET_OPTIONS,payload:t}}selectRange(t){return{type:e.SELECT_RANGE,payload:t}}hoverDay(t){return{type:e.HOVER,payload:t.isHovered?t.cell.date:null}}minDate(t){return{type:e.SET_MIN_DATE,payload:t}}maxDate(t){return{type:e.SET_MAX_DATE,payload:t}}daysDisabled(t){return{type:e.SET_DAYSDISABLED,payload:t}}datesDisabled(t){return{type:e.SET_DATESDISABLED,payload:t}}datesEnabled(t){return{type:e.SET_DATESENABLED,payload:t}}isDisabled(t){return{type:e.SET_IS_DISABLED,payload:t}}setDateCustomClasses(t){return{type:e.SET_DATE_CUSTOM_CLASSES,payload:t}}setDateTooltipTexts(t){return{type:e.SET_DATE_TOOLTIP_TEXTS,payload:t}}setLocale(t){return{type:e.SET_LOCALE,payload:t}}};e.CALCULATE="[datepicker] calculate dates matrix",e.FORMAT="[datepicker] format datepicker values",e.FLAG="[datepicker] set flags",e.SELECT="[datepicker] select date",e.NAVIGATE_OFFSET="[datepicker] shift view date",e.NAVIGATE_TO="[datepicker] change view date",e.SET_OPTIONS="[datepicker] update render options",e.HOVER="[datepicker] hover date",e.CHANGE_VIEWMODE="[datepicker] switch view mode",e.SET_MIN_DATE="[datepicker] set min date",e.SET_MAX_DATE="[datepicker] set max date",e.SET_DAYSDISABLED="[datepicker] set days disabled",e.SET_DATESDISABLED="[datepicker] set dates disabled",e.SET_DATESENABLED="[datepicker] set dates enabled",e.SET_IS_DISABLED="[datepicker] set is disabled",e.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes",e.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts",e.SET_LOCALE="[datepicker] set datepicker locale",e.SELECT_TIME="[datepicker] select time",e.SELECT_RANGE="[daterangepicker] select dates range",e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),Sv=(()=>{let e=class e{constructor(){this._defaultLocale="en",this._locale=new ar(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(t){t!==this.currentLocale&&this._locale.next(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),jl=(()=>{let e=class e{constructor(t,n){this._actions=t,this._localeService=n,this._subs=[]}init(t){return this._store=t,this}setValue(t){var n;(n=this._store)==null||n.dispatch(this._actions.select(t))}setRangeValue(t){var n;(n=this._store)==null||n.dispatch(this._actions.selectRange(t))}setMinDate(t){var n;return(n=this._store)==null||n.dispatch(this._actions.minDate(t)),this}setMaxDate(t){var n;return(n=this._store)==null||n.dispatch(this._actions.maxDate(t)),this}setDaysDisabled(t){var n;return(n=this._store)==null||n.dispatch(this._actions.daysDisabled(t)),this}setDatesDisabled(t){var n;return(n=this._store)==null||n.dispatch(this._actions.datesDisabled(t)),this}setDatesEnabled(t){var n;return(n=this._store)==null||n.dispatch(this._actions.datesEnabled(t)),this}setDisabled(t){var n;return(n=this._store)==null||n.dispatch(this._actions.isDisabled(t)),this}setDateCustomClasses(t){var n;return(n=this._store)==null||n.dispatch(this._actions.setDateCustomClasses(t)),this}setDateTooltipTexts(t){var n;return(n=this._store)==null||n.dispatch(this._actions.setDateTooltipTexts(t)),this}setOptions(t){var l;let n=Object.assign({locale:this._localeService.currentLocale},t);return(l=this._store)==null||l.dispatch(this._actions.setOptions(n)),this}setBindings(t){return this._store?(t.selectedTime=this._store.select(n=>n.selectedTime).pipe(Cn(n=>!!n)),t.daysCalendar$=this._store.select(n=>n.flaggedMonths).pipe(Cn(n=>!!n)),t.monthsCalendar=this._store.select(n=>n.flaggedMonthsCalendar).pipe(Cn(n=>!!n)),t.yearsCalendar=this._store.select(n=>n.yearsCalendarFlagged).pipe(Cn(n=>!!n)),t.viewMode=this._store.select(n=>{var l;return(l=n.view)==null?void 0:l.mode}),t.options$=df([this._store.select(n=>n.showWeekNumbers),this._store.select(n=>n.displayMonths)]).pipe(Gi(n=>({showWeekNumbers:n[0],displayMonths:n[1]}))),this):this}setEventHandlers(t){return t.setViewMode=n=>{var l;(l=this._store)==null||l.dispatch(this._actions.changeViewMode(n))},t.navigateTo=n=>{var l;(l=this._store)==null||l.dispatch(this._actions.navigateStep(n.step))},t.dayHoverHandler=n=>{var C;let l=n.cell;l.isOtherMonth||l.isDisabled||((C=this._store)==null||C.dispatch(this._actions.hoverDay(n)),l.isH
297overed=n.isHovered)},t.monthHoverHandler=n=>{n.cell.isHovered=n.isHovered},t.yearHoverHandler=n=>{n.cell.isHovered=n.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(t=>t.view).subscribe(()=>{var t;(t=this._store)==null||t.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(t=>t.monthsModel).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.format())})),this._subs.push(this._store.select(t=>t.formattedMonths).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.selectedDate).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.selectedRange).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.monthsCalendar).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.yearsCalendarModel).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.hoveredDate).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.dateCustomClasses).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._store.select(t=>t.dateTooltipTexts).pipe(Cn(t=>!!t)).subscribe(()=>{var t;return(t=this._store)==null?void 0:t.dispatch(this._actions.flag())})),this._subs.push(this._localeService.localeChange.subscribe(t=>{var n;return(n=this._store)==null?void 0:n.dispatch(this._actions.setLocale(t))})),this):this}destroy(){for(let t of this._subs)t.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(qe(bn),qe(Sv))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),WG={width:7,height:6},YG=24*60*60*1e3;var UG={date:new Date,mode:"day"},Nk=Object.assign(new Tr,{locale:"en",view:UG,selectedRange:[],selectedTime:[],monthViewOptions:WG});function GG(i,e){if(MT(i,e.firstDayOfWeek))return i;let r=ta(i),t=XG(r,e.firstDayOfWeek);return ps(i,{day:-t})}function XG(i,e){let r=Number(e);if(isNaN(r))return 0;if(r===0)return i;let t=i-r%7;return t<0?t+7:t}function _v(i,e,r){let t=e&&Rl(Qp(i,"month"),e,"day"),n=r&&Za(va(i,"month"),r,"day");return t||n||!1}function i0(i,e,r){let t=e&&Rl(Qp(i,"year"),e,"day"),n=r&&Za(va(i,"year"),r,"day");return t||n||!1}function Mv(i,e,r){return!e||!on(e)||!e.length?!1:r&&r==="year"&&!e[0].getDate()?e.some(t=>Jp(i,t,"year")):e.some(t=>Jp(i,t,"date"))}function Tv(i,e,r){return!e||!on(e)||!e.length?!1:!e.some(t=>Jp(i,t,r||"date"))}function jk(i,e=0){let r=i&&i.yearsCalendarModel&&i.yearsCalendarModel[e];return(r==null?void 0:r.years[0])&&r.years[0][0]&&r.years[0][0].date}function qG(i,e){return!i||!e||!i.length&&!i[0].value||i.forEach(r=>(!r||!r.value||r.value instanceof Date||!(r.value instanceof Array&&r.value.length)||(r.value=Fk(r.value,e)),i)),i}function Hk(i,e){return!i||!e||i instanceof Array&&!i.length||i instanceof Date?i:Fk(i,e)}function Fk(i,e){return i instanceof Array?i.map(t=>t&&(Za(t,e,"date")&&(t=e),t)):i}function Pk(i){return i&&Vk(i)}function Ok(i){return i!=null&&i.length&&i.map(e=>e&&Vk(e)),i}function Vk(i){let e=new Date;return i.setMilliseconds(e.getMilliseconds()),i.setSeconds(e.getSeconds()),i.setMinutes(e.getMinutes()),i.setHours(e.getHours()),i}function kv(i,e){let r=i.initialDate,t=new Array(i.height);for(let n=0;n<i.height;n++){t[n]=new Array(i.width);for(let l=0;l<i.width;l++)t[n][l]=e(r),r=ps(r,i.shift)}return t}function xv(i,e){let r=ST(i),t=GG(r,e),n={width:e.width||0,height:e.height||0,initialDate:t,shift:{day:1}};return{daysMatrix:kv(n,C=>C),month:r}}function ZG(i,e,r){return{month:i.month,monthTitle:qr(i.month,e.monthTitle,e.locale),yearTitle:qr(i.month,e.yearTitle,e.locale),weekNumbers:KG(i.daysMatrix,e.weekNumbers,e.locale),weekdays:QG(e.locale),weeks:i.daysMatrix.map((t,n)=>({days:t.map((l,C)=>({date:l,label:qr(l,e.dayLabel,e.locale),monthIndex:r,weekIndex:n,dayIndex:C}))}
297)),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function KG(i,e,r){return i.map(t=>t[0]?qr(t[0],e,r):"")}function QG(i){let e=js(i),r=e.weekdaysShort(),t=e.firstDayOfWeek();return[...r.slice(t),...r.slice(0,t)]}function JG(i,e){return i.weeks.forEach(r=>{r.days.forEach((t,n)=>{let l=!Uh(t.date,i.month),C=!l&&qa(t.date,e.hoveredDate),B=!l&&e.selectedRange&&qa(t.date,e.selectedRange[0]),$=!l&&e.selectedRange&&qa(t.date,e.selectedRange[1]),K=!l&&qa(t.date,e.selectedDate)||B||$,G=!l&&e.selectedRange&&eX(t.date,e.selectedRange,e.hoveredDate),q=e.isDisabled||Rl(t.date,e.minDate,"day")||Za(t.date,e.maxDate,"day")||YT(t.date,e.daysDisabled)||Mv(t.date,e.datesDisabled)||Tv(t.date,e.datesEnabled),Z=new Date,R=!l&&qa(t.date,Z),Y=e.dateCustomClasses&&e.dateCustomClasses.map(T=>qa(t.date,T.date)?T.classes:[]).reduce((T,L)=>T.concat(L),[]).join(" ")||"",V=e.dateTooltipTexts&&e.dateTooltipTexts.map(T=>qa(t.date,T.date)?T.tooltipText:"").reduce((T,L)=>(T.push(L),T),[]).join(" ")||"",H=Object.assign({},t,{isOtherMonth:l,isHovered:C,isSelected:K,isSelectionStart:B,isSelectionEnd:$,isInRange:G,isDisabled:q,isToday:R,customClasses:Y,tooltipText:V});(t.isOtherMonth!==H.isOtherMonth||t.isHovered!==H.isHovered||t.isSelected!==H.isSelected||t.isSelectionStart!==H.isSelectionStart||t.isSelectionEnd!==H.isSelectionEnd||t.isDisabled!==H.isDisabled||t.isInRange!==H.isInRange||t.customClasses!==H.customClasses||t.tooltipText!==H.tooltipText)&&(r.days[n]=H)})}),i.hideLeftArrow=e.isDisabled||!!e.monthIndex&&e.monthIndex>0&&e.monthIndex!==e.displayMonths,i.hideRightArrow=e.isDisabled||(!!e.monthIndex||e.monthIndex===0)&&!!e.displayMonths&&e.monthIndex<e.displayMonths&&e.monthIndex+1!==e.displayMonths,i.disableLeftArrow=_v(ps(i.month,{month:-1}),e.minDate,e.maxDate),i.disableRightArrow=_v(ps(i.month,{month:1}),e.minDate,e.maxDate),i}function eX(i,e,r){return!i||!e||!e[0]?!1:e[1]?i>e[0]&&i<=e[1]:r?i>e[0]&&i<=r:!1}function Ik(i,e){return e?i>=e:!0}var tX=4,iX=3,nX={month:1};function zk(i,e){let r=va(i,"year");return{months:kv({width:iX,height:tX,initialDate:r,shift:nX},l=>({date:l,label:qr(l,e.monthLabel,e.locale)})),monthTitle:"",yearTitle:qr(i,e.yearTitle,e.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}function sX(i,e){return i.months.forEach((r,t)=>{r.forEach((n,l)=>{let C,B=Uh(n.date,e.hoveredMonth),$=e.isDisabled||Mv(n.date,e.datesDisabled)||Tv(n.date,e.datesEnabled,"month")||_v(n.date,e.minDate,e.maxDate);!e.selectedDate&&e.selectedRange?(C=Uh(n.date,e.selectedRange[0]),C||(C=Uh(n.date,e.selectedRange[1]))):C=Uh(n.date,e.selectedDate);let K=Object.assign(n,{isHovered:B,isDisabled:$,isSelected:C});(n.isHovered!==K.isHovered||n.isDisabled!==K.isDisabled||n.isSelected!==K.isSelected)&&(i.months[t][l]=K)})}),i.hideLeftArrow=!!e.monthIndex&&e.monthIndex>0&&e.monthIndex!==e.displayMonths,i.hideRightArrow=(!!e.monthIndex||e.monthIndex===0)&&(!!e.displayMonths||e.displayMonths===0)&&e.monthIndex<e.displayMonths&&e.monthIndex+1!==e.displayMonths,i.disableLeftArrow=i0(ps(i.months[0][0].date,{year:-1}),e.minDate,e.maxDate),i.disableRightArrow=i0(ps(i.months[0][0].date,{year:1}),e.minDate,e.maxDate),i}var Av=4,Dv=4,Ng=Av*Dv,$k=(Math.floor(Ng/2)-1)*-1,rX={year:1};function Wk(i,e,r){let t=oX(i,r),l=kv({width:Dv,height:Av,initialDate:t,shift:rX},B=>({date:B,label:qr(B,e.yearLabel,e.locale)})),C=aX(l,e);return{years:l,monthTitle:"",yearTitle:C,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function oX(i,e){return e&&i.getFullYear()>=e.getFullYear()&&i.getFullYear()<e.getFullYear()+Ng?e:ps(i,{year:$k})}function aX(i,e){let r=qr(i[0][0].date,e.yearTitle,e.locale),t=qr(i[Av-1][Dv-1].date,e.yearTitle,e.locale);return`${r} - ${t}`}function lX(i,e){i.years.forEach((n,l)=>{n.forEach((C,B)=>{let $,K=Gh(C.date,e.hoveredYear),G=e.isDisabled||Mv(C.date,e.datesDisabled,"year")||Tv(C.date,e.datesEnabled,"year")||i0(C.date,e.minDate,e.maxDate);!e.selectedDate&&e.selectedRange?($=Gh(C.date,e.selectedRange[0]),$||($=Gh(C.date,e.selectedRange[1]))):$=Gh(C.date,e.selectedDate);let q=Object.assign(C,{isHovered:K,isDisabled:G,isSelected:$});(C.isHovered!==q.isHovered||C.isDisabled!==q.isDisabled||C.isSelected!==q.isSelected)&&(i.years[l][B]=q)})}),i.hideLeftArrow=!!e.yearIndex&&e.yearIndex>0&&e.yearIndex!==e.displayMonths,i.hideRightArrow=!!e.yearIndex&&!!e.displayMonths&&e.yearIndex<e.displayMonths&&e.yearIndex+1!==e.displayMonths,i.disableLeftArrow=i0(ps(i.years[0][0].date,{year:-1}),e.minDate,e.maxDate);let r=i.years.length-1,t=i.years[r].length-1;return i.disableRightArrow=i0(ps(i.years[r][t].date,{year:1}),e.minDate,e.maxDate),i}function wv(i,e){!i||!isNaN(i.getTime())||(i.setHours(e.getHours()),i.setMinutes(e.getMinutes()),i.setSeconds(e.getSeconds()),i.setMilliseconds(e.getMilliseconds()))}function Rk(i=Nk,e){var r;switch(e.type){case bn.CALCULATE:return hX(i);case bn.FORMAT:return cX(i);case bn.FLAG:return uX(i);case bn.NAVIGATE_OFFSET:return dX(i,e);case bn.NAVIGATE_TO:{let t=e.payload;if(!i.view||!t.unit)return i;let n=DT(i.view.date,t.unit),l,C;return Ik(t.viewMode,i.minMode)?(C=t.viewMode,l={view:{date:n,mode:C}}):(C=i.view.mode,l={selectedDate:n,view:{date:n,mode:C}}),Object.assign({},i,l)}case bn.CHANGE_VIEWMODE:{if(!Ik(e.payload,i.minMode)||!i.view)return i;let t=i.view.date,n=e.payload;return Object.assign({},i,{view:{date:t,mode:n}})}case bn.HOVER:return Object.assign({},i,{hoveredDate:e.payload});case bn.SELECT:{if(!i.view)return i;let t={selectedDate:e.payload,view:i.view};if(Array.isArray(i.selectedTime)){let B=i.selectedTime[0];
297t.selectedDate&&B&&wv(t.selectedDate,B)}let n=i.view.mode,l=e.payload||i.view.date,C=Cv(l,i.minDate,i.maxDate);return t.view={mode:n,date:C},Object.assign({},i,t)}case bn.SELECT_TIME:{let{date:t,index:n}=e.payload,l=i.selectedTime?[...i.selectedTime]:[];return l[n]=t,Object.assign({},i,{selectedTime:l})}case bn.SET_OPTIONS:{if(!i.view)return i;let t=e.payload,n=t.minMode?t.minMode:i.view.mode,l=Xa(t.value)&&t.value||on(t.value)&&Xa(t.value[0])&&t.value[0]||i.view.date,C=Cv(l,t.minDate,t.maxDate);return t.view={mode:n,date:C},t.value&&(on(t.value)&&(t.selectedRange=t.value,t.selectedTime=t.value.map(B=>B)),t.value instanceof Date&&(t.selectedDate=t.value,t.selectedTime=[t.value])),Object.assign({},i,t)}case bn.SELECT_RANGE:{if(!i.view)return i;let t={selectedRange:e.payload,view:i.view};(r=t.selectedRange)==null||r.forEach((B,$)=>{if(Array.isArray(i.selectedTime)){let K=i.selectedTime[$];K&&wv(B,K)}});let n=i.view.mode,l=e.payload&&e.payload[0]||i.view.date,C=Cv(l,i.minDate,i.maxDate);return t.view={mode:n,date:C},Object.assign({},i,t)}case bn.SET_MIN_DATE:return Object.assign({},i,{minDate:e.payload});case bn.SET_MAX_DATE:return Object.assign({},i,{maxDate:e.payload});case bn.SET_IS_DISABLED:return Object.assign({},i,{isDisabled:e.payload});case bn.SET_DATE_CUSTOM_CLASSES:return Object.assign({},i,{dateCustomClasses:e.payload});case bn.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},i,{dateTooltipTexts:e.payload});default:return i}}function hX(i){if(!i.view)return i;let e;i.displayOneMonthRange&&Yk(i.view.date,i.minDate,i.maxDate)?e=1:e=i.displayMonths||1;let r=i.view.date;if(i.view.mode==="day"&&i.monthViewOptions){i.showPreviousMonth&&i.selectedRange&&i.selectedRange.length===0&&(r=ps(r,{month:-1})),i.monthViewOptions.firstDayOfWeek=js(i.locale).firstDayOfWeek();let t=new Array(e);for(let n=0;n<e;n++)t[n]=xv(r,i.monthViewOptions),r=ps(r,{month:1});if(i.preventChangeToNextMonth&&i.flaggedMonths&&i.hoveredDate){let n=xv(i.view.date,i.monthViewOptions);i.flaggedMonths.length&&i.flaggedMonths[1].month.getMonth()===n.month.getMonth()&&(t=i.flaggedMonths.map(l=>i.monthViewOptions?xv(l.month,i.monthViewOptions):null).filter(l=>l!==null))}return Object.assign({},i,{monthsModel:t})}if(i.view.mode==="month"){let t=new Array(e);for(let n=0;n<e;n++)t[n]=zk(r,n0(i)),r=ps(r,{year:1});return Object.assign({},i,{monthsCalendar:t})}if(i.view.mode==="year"){let t=new Array(e);for(let n=0;n<e;n++)t[n]=Wk(r,n0(i),i.minMode==="year"?jk(i,n):void 0),r=ps(r,{year:Ng});return Object.assign({},i,{yearsCalendarModel:t})}return i}function cX(i){if(!i.view)return i;if(i.view.mode==="day"&&i.monthsModel){let t=i.monthsModel.map((n,l)=>ZG(n,n0(i),l));return Object.assign({},i,{formattedMonths:t})}let e=i.displayMonths||1,r=i.view.date;if(i.view.mode==="month"){let t=new Array(e);for(let n=0;n<e;n++)t[n]=zk(r,n0(i)),r=ps(r,{year:1});return Object.assign({},i,{monthsCalendar:t})}if(i.view.mode==="year"){let t=new Array(e);for(let n=0;n<e;n++)t[n]=Wk(r,n0(i)),r=ps(r,{year:16});return Object.assign({},i,{yearsCalendarModel:t})}return i}function uX(i){if(!i.view)return i;let e=Yk(i.view.date,i.minDate,i.maxDate)?1:i.displayMonths;if(i.formattedMonths&&i.view.mode==="day"){let r=i.formattedMonths.map((t,n)=>JG(t,{isDisabled:i.isDisabled,minDate:i.minDate,maxDate:i.maxDate,daysDisabled:i.daysDisabled,datesDisabled:i.datesDisabled,datesEnabled:i.datesEnabled,hoveredDate:i.hoveredDate,selectedDate:i.selectedDate,selectedRange:i.selectedRange,displayMonths:e,dateCustomClasses:i.dateCustomClasses,dateTooltipTexts:i.dateTooltipTexts,monthIndex:n}));return Object.assign({},i,{flaggedMonths:r})}if(i.view.mode==="month"&&i.monthsCalendar){let r=i.monthsCalendar.map((t,n)=>sX(t,{isDisabled:i.isDisabled,minDate:i.minDate,maxDate:i.maxDate,hoveredMonth:i.hoveredMonth,selectedDate:i.selectedDate,datesDisabled:i.datesDisabled,datesEnabled:i.datesEnabled,selectedRange:i.selectedRange,displayMonths:e,monthIndex:n}));return Object.assign({},i,{flaggedMonthsCalendar:r})}if(i.view.mode==="year"&&i.yearsCalendarModel){let r=i.yearsCalendarModel.map((t,n)=>lX(t,{isDisabled:i.isDisabled,minDate:i.minDate,maxDate:i.maxDate,hoveredYear:i.hoveredYear,selectedDate:i.selectedDate,datesDisabled:i.datesDisabled,datesEnabled:i.datesEnabled,selectedRange:i.selectedRange,displayMonths:e,yearIndex:n}));return Object.assign({},i,{yearsCalendarFlagged:r})}return i}function dX(i,e){if(!i.view)return i;let r=pX(i,e);if(!r)return i;let t={view:{mode:i.view.mode,date:r}};return Object.assign({},i,t)}function pX(i,e){if(i.view){if(i.view.mode==="year"&&i.minMode==="year"){let r=jk(i,0);if(r){let t=ps(r,{year:-$k});return ps(t,e.payload)}}return ps(va(i.view.date,"month"),e.payload)}}function n0(i){return{locale:i.locale,monthTitle:i.monthTitle,yearTitle:i.yearTitle,dayLabel:i.dayLabel,monthLabel:i.monthLabel,yearLabel:i.yearLabel,weekNumbers:i.weekNumbers}}function Cv(i,e,r){let t=Array.isArray(i)?i[0]:i;return e&&Za(e,t,"day")?e:r&&Rl(r,t,"day")?r:t}function Yk(i,e,r){return r&&Jp(r,i,"day")?!0:e&&r&&e.getMonth()===r.getMonth()}var Hl=(()=>{let e=class e extends Iu{constructor(){let t=new ar({type:"[datepicker] dispatcher init"}),n=new Ou(Nk,t,Rk);super(t,Rk,n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"});let i=e;return i})(),jg=(()=>{let e=class e{constructor(){this.onSelect=new Qe}selectFromRanges(t){this.onSelect.emit(t)}compareRanges(t){return JSON.stringify(t==null?void 0:t.value)===JSON.stringify(this.selectedRange)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},standalone:!0,features:[Ki],decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(n,l){n&1&&(ke(0,"div",0),$e(1,vU,2,3,"button",1),Ae()),n&2&&(we(),_e("ngForOf",l.ranges))},dependencies:[si],encapsulation:2,changeDetection:0});let i=e;return i})(),ju=function(i){return i[i.UP=0]="UP",i[i.DOWN=1]="DOWN",i}(ju||{}),Lv=(()=>{let e=class e{constructor(){this.isDisabled=!1,this.onNavigate=new Qe,this.onViewMode=new Qe}navTo(t){this.onNavigate.emit(t?ju.DOWN:ju.UP)}view(t){this.isDisabled||this.onViewMode.emit(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},standalone:!0,features:[Ki],decls:12,vars:9,consts:[["type","button",1,"previous",3,"click","disabled"],[4,"ngIf"],["type","button",1,"current",3,"click","disabled"],["type","button",1,"next",3,"click","disabled"]],template:function(n,l){n&1&&(ke(0,"button",0),We("click",function(){return l.navTo(!0)}),ke(1,"span"),Ge(2,"\u2039"),Ae()(),$e(3,xU,5,2,"ng-container",1),Ge(4," \u200B "),ke(5,"button",2),We("click",function(){return l.view("year")}),ke(6,"span"),Ge(7),Ae()(),Ge(8," \u200B "),ke(9,"button",3),We("click",function(){return l.navTo(!1)}),ke(10,"span"),Ge(11,"\u203A"),Ae()()),n&2&&(Ti("visibility",l.calendar.hideLeftArrow?"hidden":"visible"),_e("disabled",l.calendar.disableLeftArrow),we(3),_e("ngIf",l.calendar&&l.calendar.monthTitle),we(2),_e("disabled",l.isDisabled),we(2),qt(l.calendar.yearTitle),we(2),Ti("visibility",l.calendar.hideRightArrow?"hidden":"visible"),_e("disabled",l.calendar.disableRightArrow))},dependencies:[wt],encapsulation:2,changeDetection:0});let i=e;return i})(),fX=(()=>{let e=class e{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-timepicker"]],standalone:!0,features:[Ki],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-control
297s"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"button",2),Ge(3,"-"),Ae(),Ke(4,"input",3),ke(5,"button",4),Ge(6,"+"),Ae()(),ke(7,"div",1)(8,"button",2),Ge(9,"-"),Ae(),Ke(10,"input",3),ke(11,"button",4),Ge(12,"+"),Ae()(),ke(13,"button",5),Ge(14),Ke(15,"img",6),Ae()()),n&2&&(we(4),_e("value",l.hours),we(6),_e("value",l.minutes),we(4),oi("",l.ampm," "))},encapsulation:2});let i=e;return i})(),mX=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-current-date"]],inputs:{title:"title"},standalone:!0,features:[Ki],decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"span"),Ge(2),Ae()()),n&2&&(we(2),qt(l.title))},encapsulation:2});let i=e;return i})(),Pv=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-calendar-layout"]],standalone:!0,features:[Ki],ngContentSelectors:_U,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(n,l){n&1&&(wn(CU),$e(0,wU,1,0,"bs-current-date",0),ke(1,"div",1),tn(2),Ae(),ke(3,"div",2),tn(4,1),Ae(),$e(5,SU,1,0,"bs-timepicker",3)),n&2&&(_e("ngIf",!1),we(5),_e("ngIf",!1))},dependencies:[wt,mX,fX],encapsulation:2});let i=e;return i})(),Hg=(()=>{let e=class e{constructor(){this.onNavigate=new Qe,this.onViewMode=new Qe,this.onSelect=new Qe,this.onHover=new Qe}navigateTo(t){let n=ju.DOWN===t?-1:1;this.onNavigate.emit({step:{year:n*Ng}})}viewYear(t){this.onSelect.emit(t)}hoverYear(t,n){this.onHover.emit({cell:t,isHovered:n})}changeViewMode(t){this.onViewMode.emit(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[Ki],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(n,l){n&1&&(ke(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),We("onNavigate",function(B){return l.navigateTo(B)})("onViewMode",function(B){return l.changeViewMode(B)}),Ae(),ke(2,"table",1)(3,"tbody"),$e(4,TU,2,1,"tr",2),Ae()()()),n&2&&(we(),_e("calendar",l.calendar),we(3),_e("ngForOf",l.calendar==null?null:l.calendar.years))},dependencies:[Pv,Lv,si],encapsulation:2});let i=e;return i})(),Fg=(()=>{let e=class e{constructor(){this.onNavigate=new Qe,this.onViewMode=new Qe,this.onSelect=new Qe,this.onHover=new Qe}navigateTo(t){let n=ju.DOWN===t?-1:1;this.onNavigate.emit({step:{year:n}})}viewMonth(t){this.onSelect.emit(t)}hoverMonth(t,n){this.onHover.emit({cell:t,isHovered:n})}changeViewMode(t){this.onViewMode.emit(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},standalone:!0,features:[Ki],decls:5,vars:2,consts:[[3,"onNavigate","onViewMode","calendar"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(n,l){n&1&&(ke(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),We("onNavigate",function(B){return l.navigateTo(B)})("onViewMode",function(B){return l.changeViewMode(B)}),Ae(),ke(2,"table",1)(3,"tbody"),$e(4,AU,2,1,"tr",2),Ae()()()),n&2&&(we(),_e("calendar",l.calendar),we(3),_e("ngForOf",l.calendar==null?null:l.calendar.months))},dependencies:[Pv,Lv,si],encapsulation:2});let i=e;return i})(),gX=(()=>{let e=class e{constructor(t,n,l){this._config=t,this._elRef=n,this._renderer=l,this.day={date:new Date,label:""}}
297ngOnInit(){var t,n,l;(t=this.day)!=null&&t.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),typeof((n=this.day)==null?void 0:n.customClasses)=="string"&&((l=this.day)==null||l.customClasses.split(" ").filter(C=>C).forEach(C=>{this._renderer.addClass(this._elRef.nativeElement,C)}))}};e.\u0275fac=function(n){return new(n||e)(Ie(Tr),Ie(Bt),Ie(pn))},e.\u0275cmp=st({type:e,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(n,l){n&2&&ht("disabled",l.day.isDisabled)("is-highlighted",l.day.isHovered)("is-other-month",l.day.isOtherMonth)("is-active-other-month",l.day.isOtherMonthHovered)("in-range",l.day.isInRange)("select-start",l.day.isSelectionStart)("select-end",l.day.isSelectionEnd)("selected",l.day.isSelected)},inputs:{day:"day"},standalone:!0,features:[Ki],attrs:DU,decls:1,vars:1,template:function(n,l){n&1&&Ge(0),n&2&&qt(l.day&&l.day.label||"")},encapsulation:2,changeDetection:0});let i=e;return i})(),s0=(()=>{let e=class e{constructor(t){this._config=t,this.onNavigate=new Qe,this.onViewMode=new Qe,this.onSelect=new Qe,this.onHover=new Qe,this.onHoverWeek=new Qe,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(t){let n=ju.DOWN===t?-1:1;this.onNavigate.emit({step:{month:n}})}changeViewMode(t){this.onViewMode.emit(t)}selectDay(t){this.onSelect.emit(t)}selectWeek(t){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||t.days.length===0)return;if(this._config.selectWeek&&t.days[0]&&!t.days[0].isDisabled&&this._config.selectFromOtherMonth){this.onSelect.emit(t.days[0]);return}let n=t.days.find(l=>(this._config.selectFromOtherMonth||!l.isOtherMonth)&&!l.isDisabled);if(this.onSelect.emit(n),this._config.selectWeekDateRange){let C=t.days.slice(0).reverse().find(B=>(this._config.selectFromOtherMonth||!B.isOtherMonth)&&!B.isDisabled);this.onSelect.emit(C)}}weekHoverHandler(t,n){if(!this._config.selectWeek&&!this._config.selectWeekDateRange)return;t.days.find(C=>(this._config.selectFromOtherMonth||!C.isOtherMonth)&&!C.isDisabled)&&(t.isHovered=n,this.isWeekHovered=n,this.onHoverWeek.emit(t))}hoverDay(t,n){this._config.selectFromOtherMonth&&t.isOtherMonth&&(t.isOtherMonthHovered=n),this._config.dateTooltipTexts&&(t.tooltipText="",this._config.dateTooltipTexts.forEach(l=>{if(qa(l.date,t.date)){t.tooltipText=l.tooltipText;return}})),this.onHover.emit({cell:t,isHovered:n})}};e.\u0275fac=function(n){return new(n||e)(Ie(Tr))},e.\u0275cmp=st({type:e,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},standalone:!0,features:[Ki],decls:9,vars:5,consts:[[3,"onNavigate","onViewMode","calendar","isDisabled"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day","tooltip"],["bsDatepickerDayDecorator","",3,"click","mouseenter","mouseleave","day"],["bsDatepickerDayDecorator","",3,"click","day"]],template:function(n,l){n&1&&(ke(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),We("onNavigate",function(B){return l.navigateTo(B)})("onViewMode",function(B){return l.changeViewMode(B)}),Ae(),ke(2,"table",1)(3,"thead")(4,"tr"),$e(5,LU,1,0,"th",2)(6,PU,2,1,"th",3),Ae()(),
297ke(7,"tbody"),$e(8,FU,3,2,"tr",4),Ae()()()),n&2&&(we(),_e("calendar",l.calendar)("isDisabled",!!l.isDisabled),we(4),_e("ngIf",l.options&&l.options.showWeekNumbers),we(),_e("ngForOf",l.calendar.weekdays),we(2),_e("ngForOf",l.calendar.weeks))},dependencies:[Pv,Lv,wt,si,gX,vv,Dk],encapsulation:2});let i=e;return i})(),Ov=(()=>{let e=class e extends Rg{set value(t){var n;(n=this._effects)==null||n.setValue(t)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(t,n,l,C,B,$,K){super(),this._config=n,this._store=l,this._element=C,this._actions=B,this._positionService=K,this.valueChange=new Qe,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=$,t.setStyle(C.nativeElement,"display","block"),t.setStyle(C.nativeElement,"position","absolute")}ngOnInit(){var n,l;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),(n=this._positionService.event$)==null||n.pipe(Jl(1)).subscribe(()=>{if(this._positionService.disable(),this._config.isAnimated){this.animationState=this.isTopPosition?"animated-up":"animated-down";return}this.animationState="unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,(l=this._effects)==null||l.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects();let t;this._subs.push(this._store.select(C=>C.selectedDate).subscribe(C=>{t=C,this.valueChange.emit(C)})),this._subs.push(this._store.select(C=>C.selectedTime).subscribe(C=>{!C||!C[0]||!(C[0]instanceof Date)||C[0]===t||this.valueChange.emit(C[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){var t,n;this.selectedTimeSub.add((t=this.selectedTime)==null?void 0:t.subscribe(l=>{var C;Array.isArray(l)&&l.length>=1&&((C=this.startTimepicker)==null||C.writeValue(l[0]))})),(n=this.startTimepicker)==null||n.registerOnChange(l=>{this.timeSelectHandler(l,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(t,n){this._store.dispatch(this._actions.selectTime(t,n))}daySelectHandler(t){!t||(this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||this._store.dispatch(this._actions.select(t.date))}monthSelectHandler(t){!t||t.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:Mi(t.date),year:es(t.date)},viewMode:"day"}))}yearSelectHandler(t){!t||t.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:es(t.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){var t;for(let n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),(t=this._effects)==null||t.destroy()}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Tr),Ie(Hl),Ie(Bt),Ie(bn),Ie(jl),Ie(tr))},e.\u0275cmp=st({type:e,selectors:[["bs-datepicker-container"]],viewQuery:function(n,l){if(n&1&&Xt(Bk,5),n&2){let C;kt(C=At())&&(l.startTimepicker=C.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(n,l){n&1&&We("click",function(B){return l._stopPropagation(B)}),n&2&&$i("disabled",l.isDatepickerDisabled)("readonly",l.isDatepickerReadonly)},standalone:!0,features:[Ot([Hl,jl,bn,tr]),Nt,Ki],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(n,l){n&1&&($e(0,eG,10,11,"div",2),St(1,"async")),n&2&&_e("ngIf",Tt(1,1,l.viewMode))},dependencies:[wt,jo,sh,rh,si,s0,Nu,Bu,Fg,Hg,jg,ah],encapsulation:2,data:{animation:[Bg]}});let i=e;return i})(),Ao,Iv=(()=>{let e=class e{get readonlyValue(){return this.isDisabled?"":null}constructor(t,n,l,C,B){this._config=t,this._elementRef=n,this._renderer=l,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new pt,this.isDisabled=!1,this.bsValueChange=new Qe,this._subs=[],this._dateInputFormat$=new pt,Object.assign(this,this._config),this._datepicker=B.createLoader(n,C,l),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ar(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(t){this.isOpen$.next(t)}set bsValue(t){var n;this._bsValue&&t&&this._bsValue.getTime()===t.getTime()||(!this._bsValue&&t&&!this._config.withTimepicker&&wv(t,new Date),t&&((n=this.bsConfig)!=null&&n.initCurrentTime)&&(t=Pk(t)),this.initPreviousValue(),this._bsValue=t,this.bsValueChange.emit(t))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){Ao=this._bsValue}ngOnChanges(t){var n,l,C;t.bsConfig&&((n=t.bsConfig.currentValue)!=null&&n.initCurrentTime&&((l=t.bsConfig.currentValue)==null?void 0:l.initCurrentTime)!==((C=t.bsConfig.previousValue)==null?void 0:C.initCurrentTime)&&this._bsValue&&(this.initPreviousValue(),this._bsValue=Pk(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),!(!this._datepickerRef||!this._datepickerRef.instance)&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),t.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(t=>{this._datepickerRef&&(this._datepickerRef.instance.value=t)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(t=>{this.initPreviousValue(),this.bsValue=t,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){var t;return!Ao||!((t=this.bsConfig)!=null&&t.keepDatepickerOpened)||!this._config.withTimepicker?!1:this.isDateSame()}isDateSame(){var t,n,l;return Ao instanceof Date&&((t=this._bsValue)==null?void 0:t.getDate())===(Ao==null?void 0:Ao.getDate())&&
297((n=this._bsValue)==null?void 0:n.getMonth())===(Ao==null?void 0:Ao.getMonth())&&((l=this._bsValue)==null?void 0:l.getFullYear())===(Ao==null?void 0:Ao.getFullYear())}ngAfterViewInit(){this.isOpen$.pipe(Cn(t=>t!==this.isOpen),un(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Tr,useValue:this._config}).attach(Ov).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();for(let t of this._subs)t.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){var t,n,l;this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:Hk(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:(t=this.bsConfig)==null?void 0:t.initCurrentTime,keepDatepickerOpened:(n=this.bsConfig)==null?void 0:n.keepDatepickerOpened,keepDatesOutOfRules:(l=this.bsConfig)==null?void 0:l.keepDatesOutOfRules})}unsubscribeSubscriptions(){var t;(t=this._subs)!=null&&t.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}};e.\u0275fac=function(n){return new(n||e)(Ie(Tr),Ie(Bt),Ie(pn),Ie(Gs),Ie(xa))},e.\u0275dir=ft({type:e,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(n,l){n&2&&$i("readonly",l.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",ignoreMinMaxErrors:"ignoreMinMaxErrors",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],standalone:!0,features:[Ot([xa]),ki]});let i=e;return i})();var EX=(()=>{let e=class e extends Ov{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(t,n,l,C,B,$,K){super(t,n,l,C,B,$,K),t.setStyle(C.nativeElement,"display","inline-block"),t.setStyle(C.nativeElement,"position","static")}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Tr),Ie(Hl),Ie(Bt),Ie(bn),Ie(jl),Ie(tr))},e.\u0275cmp=st({type:e,selectors:[["bs-datepicker-inline-container"]],hostVars:2,hostBindings:function(n,l){n&1&&We("click",function(B){return l._stopPropagation(B)}),n&2&&$i("disabled",l.disabledValue)("readonly",l.readonlyValue)},standalone:!0,features:[Ot([Hl,jl,tr]),Nt,Ki],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(n,l){n&1&&($e(0,fG,10,11,"div",2),St(1,"async")),n&2&&_e("ngIf",Tt(1,1,l.viewMode))},dependencies:[wt,jo,sh,rh,si,s0,Nu,Bu,Fg,Hg,jg,ah],encapsulation:2,data:{animation:[Bg]}});let i=e;return i})();var Rv=(()=>{let e=class e extends Rg{set value(t){var n;(n=this._effects)==null||n.setRangeValue(t)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(t,n,l,C,B,$,K){super(),this._config=n,this._store=l,this._element=C,this._actions=B,this._positionService=K,this.valueChange=new Qe,this.animationState="void",this._rangeStack=[],this.chosen
297Range=[],this._subs=[],this.isRangePicker=!0,this._effects=$,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,t.setStyle(C.nativeElement,"display","block"),t.setStyle(C.nativeElement,"position","absolute")}ngOnInit(){var n,l;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),(n=this._positionService.event$)==null||n.pipe(Jl(1)).subscribe(()=>{if(this._positionService.disable(),this._config.isAnimated){this.animationState=this.isTopPosition?"animated-up":"animated-down";return}this.animationState="unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,(l=this._effects)==null||l.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects();let t;this._subs.push(this._store.select(C=>C.selectedRange).subscribe(C=>{t=C,this.valueChange.emit(C),this.chosenRange=C||[]})),this._subs.push(this._store.select(C=>C.selectedTime).subscribe(C=>{!C||!C[0]||!C[1]||!(C[0]instanceof Date)||!(C[1]instanceof Date)||t&&C[0]===t[0]&&C[1]===t[1]||(this.valueChange.emit(C),this.chosenRange=C||[])}))}ngAfterViewInit(){var t,n,l;this.selectedTimeSub.add((t=this.selectedTime)==null?void 0:t.subscribe(C=>{var B,$;Array.isArray(C)&&C.length>=2&&((B=this.startTimepicker)==null||B.writeValue(C[0]),($=this.endTimepicker)==null||$.writeValue(C[1]))})),(n=this.startTimepicker)==null||n.registerOnChange(C=>{this.timeSelectHandler(C,0)}),(l=this.endTimepicker)==null||l.registerOnChange(C=>{this.timeSelectHandler(C,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(t,n){this._store.dispatch(this._actions.selectTime(t,n))}daySelectHandler(t){!t||(this.isOtherMonthsActive?t.isDisabled:t.isOtherMonth||t.isDisabled)||this.rangesProcessing(t)}monthSelectHandler(t){if(!(!t||t.isDisabled)){if(t.isSelected=!0,this._config.minMode!=="month"){if(t.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{month:Mi(t.date),year:es(t.date)},viewMode:"day"}));return}this.rangesProcessing(t)}}yearSelectHandler(t){if(!(!t||t.isDisabled)){if(t.isSelected=!0,this._config.minMode!=="year"){if(t.isDisabled)return;this._store.dispatch(this._actions.navigateTo({unit:{year:es(t.date)},viewMode:"month"}));return}this.rangesProcessing(t)}}rangesProcessing(t){this._rangeStack.length===1&&(this._rangeStack=t.date>=this._rangeStack[0]?[this._rangeStack[0],t.date]:[t.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(t.date),this._rangeStack.length===0&&(this._rangeStack=[t.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(t.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),this._rangeStack.length===2&&(this._rangeStack=[])}ngOnDestroy(){var t;for(let n of this._subs)n.unsubscribe();this.selectedTimeSub.unsubscribe(),(t=this._effects)==null||t.destroy()}setRangeOnCalendar(t){t&&(this._rangeStack=t.value instanceof Date?[t.value]:t.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(t){var l;let n=new Date(t);if(this._config.maxDate){let C=this._config.maxDate.getTime(),B=t.getTime()+(this._config.maxDateRange||0)*YG;n=B>C?new Date(this._config.maxDate):new Date(B)}else n.setDate(t.getDate()+(this._config.maxDateRange||0));(l=this._effects)==null||l.setMaxDate(n)}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Tr),Ie(Hl),Ie(Bt),Ie(bn),Ie(jl),Ie(tr))},e.\u0275cmp=st({type:e,selectors:[["bs-daterangepicker-container"]],viewQuery:function(n,l){if(n&1&&(Xt(Bk,5),Xt(mG,5)),n&2){let C;kt(C=At())&&(l.startTimepicker=C.first),kt(C=At())&&(l.endTimepicker=C.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(n,l){n&1&&We("click",function(B){return l._stopPropagation(B)}),n&2&&$i("disabled",l.isDatepickerDisabled)("readonly",l.isDatepickerReadonly)},standalone:!0,features:[Ot([Hl,jl,bn,tr]),Nt,Ki],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(n,l){n&1&&($e(0,AG,10,11,"div",2),St(1,"async")),n&2&&_e("ngIf",Tt(1,1,l.viewMode))},dependencies:[wt,jo,sh,rh,si,s0,Nu,Bu,Fg,Hg,jg,ah],encapsulation:2,data:{animation:[Bg]}});let i=e;return i})(),bX=(()=>{let e=class e extends Rv{get disabledValue(){return this.isDatePickerDisabled?"":null}get readonlyValue(){return this.isDatePickerDisabled?"":null}constructor(t,n,l,C,B,$,K){super(t,n,l,C,B,$,K),t.setStyle(C.nativeElement,"display","inline-block"),t.setStyle(C.nativeElement,"position","static")}};e.\u0275fac=function(n){return new(n||e)(Ie(pn),Ie(Tr),Ie(Hl),Ie(Bt),Ie(bn),Ie(jl),Ie(tr))},e.\u0275cmp=st({type:e,selectors:[["bs-daterangepicker-inline-container"]],hostVars:2,hostBindings:function(n,l){n&1&&We("click",function(B){return l._stopPropagation(B)}),n&2&&$i("disabled",l.disabledValue)("readonly",l.readonlyValue)},standalone:!0,features:[Ot([Hl,jl,bn,tr]),Nt,Ki],decls:2,vars:3,consts:[["startTP",""],["endTP",""],["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"onNavigate","onViewMode","onHover","onHoverWeek","onSelect","calendar","isDisabled","options"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],[3,"disabled",4,"ngIf"],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"onNavigate","onViewMode","onHover","onSelect","calendar"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"onSelect","selectedRange","ranges","customRangeLabel"]],template:function(n,l){n&1&&($e(0,$G,10,11,"div",2),St(1,"async")),n&2&&_e("ngIf",Tt(1,1,l.viewMode))},dependencies:[wt,jo,sh,rh,si,s0,Nu,Bu,Fg,Hg,jg,ah],encapsulation:2,data:{animation:[Bg]}});let i=e;return i})();var yX={provide:Si,useExisting:$t(()=>Vg),multi:!0},vX={provide:Is,useExisting:$t(()=>Vg),multi:!0},Vg=(()=>{let e=class e{constructor(t,n,l,C,B){this._picker=t,this._localeService=n,this._renderer=l,this._elRef=C,this.changeDetection=B,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
297idatorChange=Function.prototype,this._subs=new vs}onChange(t){this.writeValue(t.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}ngOnInit(){let t=n=>{this._setInputValue(n),this._value!==n&&(this._value=n,this._onChange(n),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&t(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(t)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe(eh()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}_setInputValue(t){let n=t?qr(t,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",n)}validate(t){let n=t.value;if(n==null||n==="")return null;if(Kp(n)){if(!Xa(n))return{bsDate:{invalid:n}};if(this._picker&&this._picker.minDate&&Rl(n,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&Za(n,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),this._picker.ignoreMinMaxErrors?null:{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(t){this._validatorChange=t}writeValue(t){if(!t)this._value=void 0;else{let n=this._localeService.currentLocale;if(!js(n))throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);if(this._value=Lu(t,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc){let C=nv(this._value);this._value=C===null?void 0:C}}this._picker.bsValue=this._value}setDisabledState(t){if(this._picker.isDisabled=t,t){this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled");return}this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}};e.\u0275fac=function(n){return new(n||e)(Ie(Iv,1),Ie(Sv),Ie(pn),Ie(Bt),Ie(ti))},e.\u0275dir=ft({type:e,selectors:[["input","bsDatepicker",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onChange(B)})("blur",function(){return l.onBlur()})("keyup.esc",function(){return l.hide()})("keydown.enter",function(){return l.hide()})},standalone:!0,features:[Ot([yX,vX])]});let i=e;return i})(),zg=(()=>{let e=class e extends Tr{constructor(){super(...arguments),this.displayMonths=2}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ts,Bv=(()=>{let e=class e{get isOpen(){return this._datepicker.isShown}set isOpen(t){this.isOpen$.next(t)}set bsValue(t){var n;this._bsValue!==t&&(t&&((n=this.bsConfig)!=null&&n.initCurrentTime)&&(t=Ok(t)),this.initPreviousValue(),this._bsValue=t,this.bsValueChange.emit(t))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(t,n,l,C,B){this._config=t,this._elementRef=n,this._renderer=l,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new pt,this.isDisabled=!1,this.bsValueChange=new Qe,this._subs=[],this._rangeInputFormat$=new pt,this._datepicker=B.createLoader(n,C,l),Object.assign(this,t),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new ar(this.isOpen)}ngOnInit(){this.isDestroy$=new pt,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(t){var n,l,C;t.bsConfig&&((n=t.bsConfig.currentValue)!=null&&n.initCurrentTime&&((l=t.bsConfig.currentValue)==null?void 0:l.initCurrentTime)!==((C=t.bsConfig.previousValue)==null?void 0:C.initCurrentTime)&&this._bsValue&&(this.initPreviousValue(),this._bsValue=Ok(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(t.bsConfig.currentValue&&t.bsConfig.currentValue.rangeInputFormat)),!(!this._datepickerRef||!this._datepickerRef.instance)&&(t.minDate&&(this._datepickerRef.instance.minDate=this.minDate),t.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),t.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),t.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),t.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),t.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),t.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe(Cn(t=>t!==this.isOpen),un(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Tr,useValue:this._config}).attach(Rv).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(t=>{this._datepickerRef&&(this._datepickerRef.instance.value=t)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe(Cn(t=>t&&t[0]&&!!t[1])).subscribe(t=>{this.initPreviousValue(),this.bsValue=t,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){ts=this._bsValue}keepDatepickerModalOpened(){var t;return!ts||!((t=this.bsConfig)!=null&&t.keepDatepickerOpened)||!this._config.withTimepicker?!1:this.isDateSame()}isDateSame(){var t,n,l,C,B,$,K,G,q,Z,R,Y,V,H,T,L,j,s;return((n=(t=this._bsValue)==null?void 0:t[0])==null?void 0:n.getDate())===((l=ts==null?void 0:ts[0])==null?void 0:l.getDate())&&
297((B=(C=this._bsValue)==null?void 0:C[0])==null?void 0:B.getMonth())===(($=ts==null?void 0:ts[0])==null?void 0:$.getMonth())&&((G=(K=this._bsValue)==null?void 0:K[0])==null?void 0:G.getFullYear())===((q=ts==null?void 0:ts[0])==null?void 0:q.getFullYear())&&((R=(Z=this._bsValue)==null?void 0:Z[1])==null?void 0:R.getDate())===((Y=ts==null?void 0:ts[1])==null?void 0:Y.getDate())&&((H=(V=this._bsValue)==null?void 0:V[1])==null?void 0:H.getMonth())===((T=ts==null?void 0:ts[1])==null?void 0:T.getMonth())&&((j=(L=this._bsValue)==null?void 0:L[1])==null?void 0:j.getFullYear())===((s=ts==null?void 0:ts[1])==null?void 0:s.getFullYear())}setConfig(){var t,n,l,C;this._config=Object.assign({},this._config,this.bsConfig,{value:(t=this.bsConfig)!=null&&t.keepDatesOutOfRules?this._bsValue:Hk(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:qG(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:(n=this.bsConfig)==null?void 0:n.initCurrentTime,keepDatepickerOpened:(l=this.bsConfig)==null?void 0:l.keepDatepickerOpened,keepDatesOutOfRules:(C=this.bsConfig)==null?void 0:C.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();for(let t of this._subs)t.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){var t;(t=this._subs)!=null&&t.length&&(this._subs.map(n=>n.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}};e.\u0275fac=function(n){return new(n||e)(Ie(zg),Ie(Bt),Ie(pn),Ie(Gs),Ie(xa))},e.\u0275dir=ft({type:e,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(n,l){n&2&&$i("readonly",l.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],standalone:!0,features:[Ot([xa]),ki]});let i=e;return i})(),xX={provide:Si,useExisting:$t(()=>$g),multi:!0},CX={provide:Is,useExisting:$t(()=>$g),multi:!0},$g=(()=>{let e=class e{constructor(t,n,l,C,B){this._picker=t,this._localeService=n,this._renderer=l,this._elRef=C,this.changeDetection=B,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new vs}ngOnInit(){let t=n=>{this._setInputValue(n),this._value!==n&&(this._value=n,this._onChange(n),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&t(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(n=>{this._setInputValue(n),this._value!==n&&(this._value=n,this._onChange(n),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe(eh()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(t){(t.keyCode===13||t.code==="Enter")&&this.hide()}_setInputValue(t){let n="";if(t){let l=t[0]?qr(t[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",C=t[1]?qr(t[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";n=l&&C?l+this._picker._config.rangeSeparator+C:""}this._renderer.setProperty(this._elRef.nativeElement,"value",n)}onChange(t){this.writeValue(t.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(t){let n=t.value,l=[];if(n==null||!on(n))return null;n=n.slice().sort(($,K)=>$.getTime()-K.getTime());let C=Xa(n[0]),B=Xa(n[1]);return C?B?(this._picker&&this._picker.minDate&&Rl(n[0],this._picker.minDate,"date")&&(n[0]=this._picker.minDate,l.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&Za(n[1],this._picker.maxDate,"date")&&(n[1]=this._picker.maxDate,l.push({bsDate:{maxDate:this._picker.maxDate}})),l.length>
2970?(this.writeValue(n),l):null):{bsDate:{invalid:n[1]}}:{bsDate:{invalid:n[0]}}}registerOnValidatorChange(t){this._validatorChange=t}writeValue(t){if(!t)this._value=void 0;else{let n=this._localeService.currentLocale;if(!js(n))throw new Error(`Locale "${n}" is not defined, please add it with "defineLocale(...)"`);let C=[];if(typeof t=="string"){let B=this._picker._config.rangeSeparator.trim();t.replace(/[^-]/g,"").length>1?C=t.split(this._picker._config.rangeSeparator):C=t.split(B.length>0?B:this._picker._config.rangeSeparator).map($=>$.trim())}Array.isArray(t)&&(C=t),this._value=C.map(B=>this._picker._config.useUtc?nv(Lu(B,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):Lu(B,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(B=>isNaN(B.valueOf())?void 0:B)}this._picker.bsValue=this._value}setDisabledState(t){if(this._picker.isDisabled=t,t){this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled");return}this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bv,1),Ie(Sv),Ie(pn),Ie(Bt),Ie(ti))},e.\u0275dir=ft({type:e,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(n,l){n&1&&We("change",function(B){return l.onChange(B)})("keyup.esc",function(){return l.hide()})("keydown",function(B){return l.onKeydownEvent(B)})("blur",function(){return l.onBlur()})},standalone:!0,features:[Ot([xX,CX])]});let i=e;return i})(),Wg=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,vv,Nu,s0,Ov,EX,Rv,bX]});let i=e;return i})();function _X(i,e){if(i&1){let r=et();ke(0,"span",4),We("click",function(){Ne(r);let n=Te();return je(n.onClear())}),Ke(1,"i",5),Ae()}}var Gk=(()=>{let e=class e{set format(t){this.bsConfig.dateInputFormat=t}constructor(t){this.cdr=t,this.hostClass="base-control",this.isStartOfDay=!0,this.isEndOfDay=!1,this.placeholder="",this.closed=new Qe,this.opened=new Qe,this.disabled=!1,this.bsConfig={},this.onChange=n=>{},this.onTouched=n=>{}}ngOnInit(){}onOpenCalendar(t){this.monthOnly&&(t.monthSelectHandler=n=>{t._store.dispatch(t._actions.select(n.date))},t.setViewMode("month")),this.opened.emit()}onValueChange(t){if(t){let n=t;this.isStartOfDay&&n.setHours(0,0,0),this.isEndOfDay&&n.setHours(23,59,59),this.date=n,this.onChange(n)}}onClear(){this.date=void 0,this.onChange(void 0)}writeValue(t){this.date=t,this.cdr.markForCheck()}onBlur(t){this.onTouched(t),this.closed.emit(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.cdr.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-date-picker"]],hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{format:"format",controlClass:"controlClass",min:"min",max:"max",isStartOfDay:"isStartOfDay",isEndOfDay:"isEndOfDay",placeholder:"placeholder",monthOnly:"monthOnly"},outputs:{closed:"closed",opened:"opened"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}])],decls:4,vars:10,consts:[[1,"is-flex","is-align-center","_daterange-container"],[1,"control","has-icons-right","is-fullwidth"],["bsDatepicker","","type","text","readonly","",3,"ngModelChange","onHidden","onShown","bsConfig","minDate","maxDate","ngModel","placeholder","disabled"],["class","icon is-small is-right is-clickable text-size-xsmall",3,"click",4,"ngIf"],[1,"icon","is-small","is-right","is-clickable","text-size-xsmall",3,"click"],[1,"ic","ic-close"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"input",2),We("ngModelChange",function(B){return l.onValueChange(B)})("onHidden",function(B){return l.onBlur(B)})("onShown",function(B){return l.onOpenCalendar(B)}),Ae(),$e(3,_X,2,0,"span",3),Ae()()),n&2&&(we(2),xs("input is-fullwidth ",l.controlClass,""),_e("bsConfig",l.bsConfig)("minDate",l.min)("maxDate",l.max)("ngModel",l.date)("placeholder",l.placeholder)("disabled",l.disabled),we(),_e("ngIf",l.date&&!l.disabled))},dependencies:[wt,mn,Ri,Pi,Iv,Vg],styles:[".control.has-icons-right[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{padding-right:2.8rem}.control.has-icons-right[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:2.8rem;pointer-events:auto}"],changeDetection:0});let i=e;return i})();function SX(i,e){if(i&1&&(ke(0,"option",5),Ge(1),Ae()),i&2){let r=e.$implicit;_e("ngValue",r),we(),qt((r+"").padStart(2,"0"))}}function MX(i,e){i&1&&(ke(0,"div"),Ge(1,":"),Ae())}function TX(i,e){if(i&1&&(ke(0,"option",5),Ge(1),Ae()),i&2){let r=e.$implicit;_e("ngValue",r),we(),qt((r+"").padStart(2,"0"))}}var Ube=(()=>{let e=class e{set min(t){t?this._minDate=t:this._minDate=void 0,window.setTimeout(()=>{this.onChange(this.value)})}set max(t){t?this._maxDate=t:this._maxDate=void 0,window.setTimeout(()=>{this.onChange(this.value)})}constructor(t){this.cdr=t,this.hostClass="ng-select",this.minuteStep=1,this.onChange=n=>{},this.onTouched=n=>{}}ngOnInit(){this.hourOptions=rn.range(24),this.minuteOptions=rn.range(0,60,this.minuteStep)}validate(t){return t.value===void 0||t.value===null||t.value===""?null:this._minDate&&t.value<this._minDate?{date:!0}:this._maxDate&&t.value>this._maxDate?{date:!0}:null}hourChange(){this.value&&(this.value=Rt.fromJSDate(this.value).set({hour:this.hour,second:0,millisecond:0}).toJSDate()),this.onChange(this.value)}minuteChange(){this.value&&(this.value=Rt.fromJSDate(this.value).set({minute:this.minute,second:0,millisecond:0}).toJSDate(),this.onChange(this.value))}writeValue(t){this.value=t,this.value?this.hour===void 0?(this.hour=Rt.fromJSDate(this.value).get("hour"),this.minute=Rt.fromJSDate(this.value).get("minute")):this.value=Rt.fromJSDate(this.value).set({hour:this.hour,minute:this.minute}).toJSDate():(this.hour=void 0,this.minute=void 0),this.cdr.markForCheck()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.cdr.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-time-picker"]],hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{minuteStep:"minuteStep",required:"required",min:"min",max:"max"},features:[Ot([{provide:Si,useExisting:$t(()=>e),multi:!0},{provide:Is,useExisting:$t(()=>e),multi:!0}])],decls:8,vars:13,consts:[[1,"is-horizontal","ng-select-container","_wrapper"],[1,"select","is-fullwidth"],[3,"ngModelChange","change","blur","ngModel","disabled","required"],[3,"ngValue",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngValue"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"select",2),Li("ngModelChange",function(B){return Di(l.hour,B)||(l.hour=B),B}),We("change",function(){return l.hourChange()})("blur",function(B){return l.onBlur(B)}),$e(3,SX,2,2,"option",3),Ae()(),$e(4,MX,2,0,"div",4),ke(5,"div",1)(6,"select",2),Li("ngModelChange",function(B){return Di(l.minute,B)||(l.minute=B),B}),We("change",function(){return l.minuteChange()})("blur",function(B){return l.onBlur(B)}),$e(7,TX,2,2,"option",3),Ae()()()),n&2&&(ht("bg-bg",l.disabled)("bg-white",!l.disabled),we(2),Ai("ngModel",l.hour),_e("disabled",l.disabled)("required",l.required),we(),_e("ngForOf",l.hourOptions),we(),_e("ngIf",!l.disabled||l.value),we(2),Ai("ngModel",l.minute),_e("disabled",l.disabled)("required",l.required),we(),_e("ngForOf",l.minuteOptions))},dependencies:[si,wt,Wc,Kf,xl,Ri,V2,Pi,Em],styles:["._wrapper[_ngcontent-%COMP%]{border:1px solid #d9d9d9;border-radius:4px}.select[_ngcontent-%COMP%]{height:3.4rem}.select[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{border-style:none;height:3.4rem}"],changeDetection:0});let i=e;return i})();var kX=["input"],Kh=(()=>{let e=class e{constructor(t){this.cdr=t,this.hostClass="base-control",this.placeholder="",this.disabled=!1,this.onChange=n=>{},this.onTouched=n=>{}}ngAfterViewInit(){this.input&&(this.autofocus||this.autofocus==="")&&this.input.nativeElement.focus()}onValueChange(t){this.value=t,this.onChange(this.value)}writeValue(t){this.value=t,this.cdr&&this.cdr.markForCheck()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.cdr&&this.cdr.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275dir=ft({type:e,viewQuery:function(n,l){if(n&1&&Xt(kX,5),n&2){let C;kt(C=At())&&(l.input=C.first)}},hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{controlClass:"controlClass",placeholder:"placeholder",maxlength:"maxlength",autofocus:"autofocus"}});let i=e;return i})();var Yg=(()=>{let e=class e extends Kh{constructor(t){super(t),this.cdr=t,this.hostClass="base-control",this.decimal=0,this.negative=!0}ngOnInit(){let t=this.decimal?`(\\.[0-9]{0,${this.decimal}})?`:"",n=this.negative?"\\-?":"";this.regex=Ns.ReEx(`^${n}[0-9]*${t}$`),this.decimalAtLeast==null&&(this.decimalAtLeast=this.decimal)}writeValue(t){t!=null&&(t=this.format(t)),super.writeValue(t)}onBlur(t){this.value!=null?this.value=this.format(this.value):this.input.nativeElement.value="",super.onBlur(t)}format(t){if(this.decimal&&this.decimal>this.decimalAtLeast){let n=Ns.ReEx(`\\.?0{0,${this.decimal-this.decimalAtLeast}}$`);return(+t).toFixed(this.decimal).replace(n,"")}return(+t).toFixed(this.decimal)}onInput(t){if(t===""){super.onValueChange(null);return}if(this.negative&&t==="-"||this.decimal&&t==="."){super.onValueChange(null),window.setTimeout(()=>{this.input.nativeElement.value=t});return}if(this.decimal&&t){let n=this.negative?"\\-?":"";if(Ns.ReEx(`^${n}[0-9]*\\.$`).test(t)){super.onValueChange(+t),window.setTimeout(()=>{this.input.nativeElement.value=t});return}}if(t==="00"){this.input.nativeElement.value=0;return}if(t&&!this.regex.test(t)){this.value===void 0?this.input.nativeElement.value="":this.input.nativeElement.value=this.value;return}super.onValueChange(+t),this.value=t}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-number-input"]],hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{decimal:"decimal",decimalAtLeast:"decimalAtLeast",negative:"negative"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}]),Nt],decls:2,vars:6,consts:[["input",""],["type","text",3,"input","blur","ngModel","placeholder","disabled"]],template:function(n,l){if(n&1){let C=et();ke(0,"input",1,0),We("input",function(){Ne(C);let $=On(1);return je(l.onInput($.value))})("blur",function($){return Ne(C),je(l.onBlur($))}),Ae()}n&2&&(xs("input ",l.controlClass,""),_e("ngModel",l.value)("placeholder",l.placeholder)("disabled",l.disabled))},dependencies:[mn,Ri,Pi],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0});let i=e;return i})();var qk=(()=>{let e=class e{constructor(){this.onChange=()=>{}}ngOnChanges(){this.onChange()}validate(t){if(t.value===void 0||t.value===null||t.value===""||this.vMin==null&&this.vMax==null)return null;if(this.vMin!=null&&this.vMax!=null){if(t.value>=this.vMin&&t.value<=this.vMax)return null}else if(this.vMin!=null){if(t.value>=this.vMin)return null}else if(t.value<=this.vMax)return null;return{vMinMax:{min:this.vMin,max:this.vMax}}}registerOnValidatorChange(t){this.onChange=t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=ft({type:e,selectors:[["","vMin","","ngModel",""],["","vMax","","ngModel",""]],inputs:{vMin:"vMin",vMax:"vMax"},features:[Ot([{provide:Is,useExisting:$t(()=>e),multi:!0}]),ki]});let i=e;return i})();var Zk=ys(Dl());var DX=["editorElement"],yye=(()=>{let e=class e{constructor(t,n,l,C){this.zone=t,this.popupService=n,this.sanitizer=l,this.filesService=C,this.minHeight=36,this.disabled=!1,this.onChange=B=>{},this.onTouched=B=>{}}ngOnInit(){}ngAfterViewInit(){this.createEditor()}ngOnDestroy(){this.editorInitialized&&(this.editor.destroy(),this.editorInitialized=!1)}writeValue(t){this.value=t,this.editorInitialized&&this.setHtml()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.editorInitialized&&(t?this.editor.edit.off():this.editor.edit.on())}
297insert(t){this.editor.html.insert(this.sanitizer.sanitize(hr.HTML,t)||"")}createEditor(){let t={moreText:{buttons:["bold","underline","italic","subscript","superscript","textColor","clearFormatting"],align:"left",buttonsVisible:2},moreRich:{buttons:[],align:"left",buttonsVisible:0}};this.filesService.apiFilesUploadFilePost$&&t.moreRich.buttons.push("insertFile"),this.filesService.apiFilesUploadImagePost$&&t.moreRich.buttons.push("insertImage"),this.filesService.apiFilesUploadVideoFilePost$&&t.moreRich.buttons.push("insertVideo"),this.filesService.apiFilesUploadAudioFilePost$&&t.moreRich.buttons.push("insertAudio"),t.moreRich.buttons.push("insertTable","insertMath"),t.moreRich.buttonsVisible=t.moreRich.buttons.length,this.zone.runOutsideAngular(()=>{this.editor=new Zk.default(this.editorElement.nativeElement,{heightMin:this.minHeight,toolbarButtons:t,placeholderText:"",htmlAllowedTags:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","br","button","canvas","caption","cite","code","col","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meter","nav","noscript","object","ol","optgroup","option","output","p","param","pre","progress","queue","rp","rt","ruby","s","samp","style","section","select","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","big"],fileAllowedTypes:fr.file.map(n=>`.${n}`),imageAllowedTypes:fr.image,videoAllowedTypes:fr.video,audioAllowedTypes:fr.audio,videoInsertButtons:["videoUpload","videoByURL"],audioInsertButtons:["audioUpload"],videoAllowedProviders:Eu,events:{initialized:()=>{this.editorInitialized=!0,this.setDisabledState(this.disabled),this.editor.toolbar.hide(),this.value&&this.setHtml()},focus:n=>{this.editor.toolbar.show()},blur:n=>{this.editor.toolbar.hide(),this.zone.run(()=>{this.onBlur(n)})},contentChanged:()=>{this.zone.run(()=>{this.onChange(this.editor.html.get())})},"file.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.file*1024*1024)return this.editor.popups.hide("file.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.file}MB.`,"danger")}),!1;let l=this.editor.popups.get("file.insert");l.find(".fr-file-upload-layer").removeClass("fr-active"),l.find(".fr-file-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadFilePost$(n[0]).pipe(lo(C=>C.status===400?Nr(()=>"-"):Nr(()=>C)),Cr(()=>{this.editor.popups.hide("file.insert"),l.find(".fr-file-upload-layer").addClass("fr-active"),l.find(".fr-file-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{if(C.link){let B=C.link.split("/"),$=B[B.length-1].split("?")[0];this.editor.file.insert(C.link,decodeURIComponent($))}})}return!1},"image.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.image*1024*1024)return this.editor.popups.hide("image.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.image}MB.`,"danger")}),!1;let l=this.editor.popups.get("image.insert");l.find(".fr-image-upload-layer").removeClass("fr-active"),l.find(".fr-image-progress-bar-layer").addClass("fr-active"),n[0].name||(n[0]=new File([n[0]],`${new Date().getTime()}.png`)),this.filesService.apiFilesUploadImagePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("image.insert"),l.find(".fr-image-upload-layer").addClass("fr-active"),l.find(".fr-image-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{this.editor.$el.find("img[data-fr-image-pasted]")&&this.editor.$el.find("img[data-fr-image-pasted]").remove(),this.editor.image.insert(C.link)})}return!1},"video.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.video*1024*1024)return this.editor.popups.hide("video.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.video}MB.`,"danger")}),!1;let l=this.editor.popups.get("video.insert");l.find(".fr-video-upload-layer").removeClass("fr-active"),l.find(".fr-video-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadVideoFilePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("video.insert"),l.find(".fr-video-upload-layer").addClass("fr-active"),l.find(".fr-video-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C}
297)=>{this.editor.video.insert(`<video src="${hg(C.link)}" style="width: 600px;" controls="" class="fr-draggable" controlslist="nodownload">Your browser does not support HTML5 video.</video>`)})}return!1},"audio.beforeUpload":n=>{if(n&&n[0]){if(n[0].size>An.audio*1024*1024)return this.editor.popups.hide("audio.insert"),this.zone.run(()=>{this.popupService.toast(`File size is too large. Maximum file size is ${An.audio}MB.`,"danger")}),!1;let l=this.editor.popups.get("audio.insert");l.find(".fr-audio-upload-layer").removeClass("fr-active"),l.find(".fr-audio-progress-bar-layer").addClass("fr-active"),this.filesService.apiFilesUploadAudioFilePost$(n[0]).pipe(Cr(()=>{this.editor.popups.hide("audio.insert"),l.find(".fr-audio-upload-layer").addClass("fr-active"),l.find(".fr-audio-progress-bar-layer").removeClass("fr-active")})).subscribe(({data:C})=>{this.editor.audio.insertByURL(C.link)})}return!1},"video.inserted":n=>{n.find("video").attr("controlsList","nodownload")},"video.replaced":n=>{n.find("video").attr("controlsList","nodownload")},"math.edited":()=>{this.zone.run(()=>{this.onChange(this.editor.html.get().replace(/fr-active|mq-focused/g,""))})},"codeView.update":()=>{this.editor.html.set(this.sanitizer.sanitize(hr.HTML,this.editor.html.get()))}}})})}setHtml(){this.editor.html.set(this.sanitizer.sanitize(hr.HTML,this.value||"")||""),this.value=void 0,this.editor.events.trigger("html.set.custom")}};e.\u0275fac=function(n){return new(n||e)(Ie(wi),Ie(Vr),Ie($a),Ie(qm))},e.\u0275cmp=st({type:e,selectors:[["lib-editor-input"]],viewQuery:function(n,l){if(n&1&&Xt(DX,5),n&2){let C;kt(C=At())&&(l.editorElement=C.first)}},inputs:{minHeight:"minHeight"},features:[Ot([{provide:Si,useExisting:$t(()=>e),multi:!0}])],decls:2,vars:0,consts:[["editorElement",""]],template:function(n,l){n&1&&Ke(0,"div",null,0)}});let i=e;return i})();var Ug=(()=>{let e=class e extends Kh{set uploadSub(t){this.loadingSub=t}constructor(t,n){super(t),this.cdr=t,this.popupService=n,this.placeholder="Choose File"}fileChange(t,n){this.onBlur({}),n?(this.popupService.clear(),this.onValueChange(t)):this.popupService.toast(`File must be less than ${this.maxSize} MB`,"danger")}};e.\u0275fac=function(n){return new(n||e)(Ie(ti),Ie(Vr))},e.\u0275cmp=st({type:e,selectors:[["lib-file-input"]],inputs:{accept:"accept",maxSize:"maxSize",uploadSub:"uploadSub"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}]),Nt],decls:9,vars:11,consts:[["fileInput","ngModel"],[1,"file","has-name","is-right","is-fullwidth"],[1,"file-label"],["type","file","softFileModel","",1,"file-input",3,"ngModelChange","accept","autoClear","ngModel","maxSize","disabled"],[1,"file-cta"],[1,"file-label",3,"softLoading"],[1,"file-name"]],template:function(n,l){if(n&1){let C=et();ke(0,"div",1)(1,"label",2)(2,"input",3,0),We("ngModelChange",function($){Ne(C);let K=On(3);return je(l.fileChange($,K.valid))}),Ae(),ke(4,"span",4)(5,"span",5),Ge(6," Browse "),Ae()(),ke(7,"span",6),Ge(8),Ae()()()}n&2&&(ht("is-disabled",l.disabled),we(2),as("accept",l.accept),_e("autoClear",!0)("ngModel",l.value)("maxSize",l.maxSize)("disabled",l.disabled),we(3),_e("softLoading",l.loadingSub),we(2),ht("_placeholder",!l.value),we(),oi(" ",l.value?l.value.name:l.placeholder?l.placeholder:""," "))},dependencies:[mn,Ri,Pi,pm,eu],styles:[".file-name[_ngcontent-%COMP%]{line-height:2}.file-name._placeholder[_ngcontent-%COMP%]{color:#999}"],changeDetection:0});let i=e;return i})();var LX=["*"],Iye=(()=>{let e=class e extends Ug{};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275cmp=st({type:e,selectors:[["lib-file-upload-button"]],inputs:{buttonClass:"buttonClass"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}]),Nt],ngContentSelectors:LX,decls:6,vars:8,consts:[["fileInput","ngModel"],[1,"file"],[1,"file-label"],["type","file","softFileModel","",1,"file-input",3,"ngModelChange","accept","autoClear","ngModel","maxSize"],[3,"softLoading"]],template:function(n,l){if(n&1){let C=et();wn(),ke(0,"div",1)(1,"label",2)(2,"input",3,0),We("ngModelChange",function($){Ne(C);let K=On(3);return je(l.fileChange($,K.valid))}),Ae(),ke(4,"div",4),tn(5),Ae()()()}n&2&&(we(2),as("accept",l.accept),_e("autoClear",!0)("ngModel",l.value)("maxSize",l.maxSize),we(2),xs("button ",l.buttonClass,""),_e("softLoading",l.loadingSub))},dependencies:[mn,Ri,Pi,pm,eu],changeDetection:0});let i=e;return i})();var PX=["*"],Vye=(()=>{let e=class e extends Ug{};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275cmp=st({type:e,selectors:[["lib-file-upload-wrapper"]],features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}]),Nt],ngContentSelectors:PX,decls:6,vars:4,consts:[["fileInput","ngModel"],[1,"file","is-justify-center"],[1,"file-label"],["type","file","softFileModel","",1,"file-input","is-clickable",3,"ngModelChange","accept","autoClear","ngModel","maxSize"],[1,"is-clickable"]],template:function(n,l){if(n&1){let C=et();wn(),ke(0,"div",1)(1,"label",2)(2,"input",3,0),We("ngModelChange",function($){Ne(C);let K=On(3);return je(l.fileChange($,K.valid))}),Ae(),ke(4,"div",4),tn(5),Ae()()()}n&2&&(we(2),as("accept",l.accept),_e("autoClear",!0)("ngModel",l.value)("maxSize",l.maxSize))},dependencies:[mn,Ri,Pi,eu],changeDetection:0});let i=e;return i})();var Gg=ys(Kk());var OX=["*"],Xye=(()=>{let e=class e{constructor(){this.download=new Qe}onDownload(){if(this.file)if(this.file.url){let t=this.file;(0,Gg.saveAs)(t.url,this.filename||`${t.name}${t.ext}`)}else if(typeof this.file=="string"){let t=this.filename||this.file.replace(/^.*[\\\/]/,"");(0,Gg.saveAs)(this.file,t)}else(0,Gg.saveAs)(this.file,this.filename);this.download.emit()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-file-download-button"]],inputs:{buttonClass:"buttonClass",file:"file",filename:"filename",actionSub:"actionSub"},outputs:{download:"download"}
297,ngContentSelectors:OX,decls:2,vars:4,consts:[[3,"click","softLoadingBtn"]],template:function(n,l){n&1&&(wn(),ke(0,"button",0),We("click",function(){return l.onDownload()}),tn(1),Ae()),n&2&&(xs("button ",l.buttonClass,""),_e("softLoadingBtn",l.actionSub))},dependencies:[Q5],changeDetection:0});let i=e;return i})();var IX=["contentTemplate"],RX=["template"],BX=["*"],NX=(i,e)=>({"datatable-icon-down":i,"datatable-icon-up":e}),jX=i=>({$implicit:i});function HX(i,e){if(i&1&&(ke(0,"div",8)(1,"span",4)(2,"span",5),Ge(3),Ae()()()),i&2){let r=Te().column;Ti("margin-right",r.groupHeader.isLast?0:-1,"px"),we(2),Ti("text-align",r.groupHeader.align),we(),qt(r.groupHeader.name)}}function FX(i,e){if(i&1){let r=et();ke(0,"div",1),$e(1,HX,4,5,"div",2),ke(2,"div",3),We("click",function(){let n=Ne(r).sortFn;return je(n())}),ke(3,"span",4)(4,"span",5),Ge(5),Ae()(),Ke(6,"span",6),Ae(),ud(7,7),tn(8),Ae()}if(i&2){let r=e.column,t=e.sortDir,n=Te();we(),_e("ngIf",r.groupHeader),we(4),qt(r.name),we(),_e("ngClass",cr(5,NX,t=="desc",t=="asc")),we(),_e("ngTemplateOutlet",n.contentTemplate)("ngTemplateOutletContext",ih(8,jX,r))}}var Qk=(()=>{let e=class e{constructor(){}ngOnInit(){}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-grid-header-wrapper"]],contentQueries:function(n,l,C){if(n&1&&Xs(C,IX,7),n&2){let B;kt(B=At())&&(l.contentTemplate=B.first)}},viewQuery:function(n,l){if(n&1&&Xt(RX,7),n&2){let C;kt(C=At())&&(l.template=C.first)}},ngContentSelectors:BX,decls:2,vars:0,consts:[["template",""],[1,"datatable-header-cell-template-wrap-custom"],["class","group-header-cell-template datatable-header-cell-template-wrap-custom-head is-align-center",3,"margin-right",4,"ngIf"],[1,"datatable-header-cell-template-wrap-custom-head","is-align-center",3,"click"],[1,"datatable-header-cell-wrapper"],[1,"datatable-header-cell-label"],[1,"sort-btn",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"group-header-cell-template","datatable-header-cell-template-wrap-custom-head","is-align-center"]],template:function(n,l){n&1&&(wn(),$e(0,FX,9,10,"ng-template",null,0,Wi))},dependencies:[jo,wt,Ra]});let i=e;return i})();function Qa(){return(Qa=Object.assign||function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=r[t])}return i}).apply(this,arguments)}function Ka(i){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(i)}var Ja=Ka(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),E0=Ka(/Edge/i),Jk=Ka(/firefox/i),i1=Ka(/safari/i)&&!Ka(/chrome/i)&&!Ka(/android/i),uA=Ka(/iP(ad|od|hone)/i),zX=Ka(/chrome/i)&&Ka(/android/i),dA={capture:!1,passive:!1};function Bi(i,e,r){i.addEventListener(e,r,!Ja&&dA)}function fi(i,e,r){i.removeEventListener(e,r,!Ja&&dA)}function o1(i,e){if(e){if(e[0]===">"&&(e=e.substring(1)),i)try{if(i.matches)return i.matches(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e)}catch{return!1}return!1}}function $X(i){return i.host&&i!==document&&i.host.nodeType?i.host:i.parentNode}function sa(i,e,r,t){if(i){r=r||document;do{if(e!=null&&(e[0]===">"?i.parentNode===r&&o1(i,e):o1(i,e))||t&&i===r)return i;if(i===r)break}while(i=$X(i))}return null}var f0,eA=/\s+/g;function Ln(i,e,r){if(i&&e)if(i.classList)i.classList[r?"add":"remove"](e);else{var t=(" "+i.className+" ").replace(eA," ").replace(" "+e+" "," ");i.className=(t+(r?" "+e:"")).replace(eA," ")}}function Dt(i,e,r){var t=i&&i.style;if(t){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(i,""):i.currentStyle&&(r=i.currentStyle),e===void 0?r:r[e];e in t||e.indexOf("webkit")!==-1||(e="-webkit-"+e),t[e]=r+(typeof r=="string"?"":"px")}}function ec(i,e){var r="";if(typeof i=="string")r=i;else do{var t=Dt(i,"transform");t&&t!=="none"&&(r=t+" "+r)}while(!e&&(i=i.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(r)}function tA(i,e,r){if(i){var t=i.getElementsByTagName(e),n=0,l=t.length;if(r)for(;n<l;n++)r(t[n],n);return t}return[]}function Ca(){return document.scrollingElement||document.documentElement}function Hn(i,e,r,t,n){if(i.getBoundingClientRect||i===window){var l,C,B,$,K,G,q;if(i!==window&&i!==Ca()?(C=(l=i.getBoundingClientRect()).top,B=l.left,$=l.bottom,K=l.right,G=l.height,q=l.width):(C=0,B=0,$=window.innerHeight,K=window.innerWidth,G=window.innerHeight,q=window.innerWidth),(e||r)&&i!==window&&(n=n||i.parentNode,!Ja))do if(n&&n.getBoundingClientRect&&(Dt(n,"transform")!=="none"||r&&Dt(n,"position")!=="static")){var Z=n.getBoundingClientRect();C-=Z.top+parseInt(Dt(n,"border-top-width")),B-=Z.left+parseInt(Dt(n,"border-left-width")),$=C+l.height,K=B+l.width;break}while(n=n.parentNode);
297if(t&&i!==window){var R=ec(n||i),Y=R&&R.a,V=R&&R.d;R&&($=(C/=V)+(G/=V),K=(B/=Y)+(q/=Y))}return{top:C,left:B,bottom:$,right:K,width:q,height:G}}}function iA(i,e,r){for(var t=zl(i,!0),n=Hn(i)[e];t;){var l=Hn(t)[r];if(!(r==="top"||r==="left"?n>=l:n<=l))return t;if(t===Ca())break;t=zl(t,!1)}return!1}function a1(i,e,r){for(var t=0,n=0,l=i.children;n<l.length;){if(l[n].style.display!=="none"&&l[n]!==Ut.ghost&&l[n]!==Ut.dragged&&sa(l[n],r.draggable,i,!1)){if(t===e)return l[n];t++}n++}return null}function Kv(i,e){for(var r=i.lastElementChild;r&&(r===Ut.ghost||Dt(r,"display")==="none"||e&&!o1(r,e));)r=r.previousElementSibling;return r||null}function jn(i,e){var r=0;if(!i||!i.parentNode)return-1;for(;i=i.previousElementSibling;)i.nodeName.toUpperCase()==="TEMPLATE"||i===Ut.clone||e&&!o1(i,e)||r++;return r}function nA(i){var e=0,r=0,t=Ca();if(i)do{var n=ec(i);e+=i.scrollLeft*n.a,r+=i.scrollTop*n.d}while(i!==t&&(i=i.parentNode));return[e,r]}function zl(i,e){if(!i||!i.getBoundingClientRect)return Ca();var r=i,t=!1;do if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var n=Dt(r);if(r.clientWidth<r.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||r.clientHeight<r.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!r.getBoundingClientRect||r===document.body)return Ca();if(t||e)return r;t=!0}}while(r=r.parentNode);return Ca()}function Hv(i,e){return Math.round(i.top)===Math.round(e.top)&&Math.round(i.left)===Math.round(e.left)&&Math.round(i.height)===Math.round(e.height)&&Math.round(i.width)===Math.round(e.width)}function pA(i,e){return function(){if(!f0){var r=arguments,t=this;r.length===1?i.call(t,r[0]):i.apply(t,r),f0=setTimeout(function(){f0=void 0},e)}}}function fA(i,e,r){i.scrollLeft+=e,i.scrollTop+=r}function Qv(i){var e=window.Polymer,r=window.jQuery||window.Zepto;return e&&e.dom?e.dom(i).cloneNode(!0):r?r(i).clone(!0)[0]:i.cloneNode(!0)}function sA(i,e){Dt(i,"position","absolute"),Dt(i,"top",e.top),Dt(i,"left",e.left),Dt(i,"width",e.width),Dt(i,"height",e.height)}function Fv(i){Dt(i,"position",""),Dt(i,"top",""),Dt(i,"left",""),Dt(i,"width",""),Dt(i,"height","")}var nr="Sortable"+new Date().getTime(),r0=[],Vv={initializeByDefault:!0},g0={mount:function(i){for(var e in Vv)Vv.hasOwnProperty(e)&&!(e in i)&&(i[e]=Vv[e]);r0.push(i)},pluginEvent:function(i,e,r){var t=this;this.eventCanceled=!1,r.cancel=function(){t.eventCanceled=!0};var n=i+"Global";r0.forEach(function(l){e[l.pluginName]&&(e[l.pluginName][n]&&e[l.pluginName][n](Qa({sortable:e},r)),e.options[l.pluginName]&&e[l.pluginName][i]&&e[l.pluginName][i](Qa({sortable:e},r)))})},initializePlugins:function(i,e,r,t){for(var n in r0.forEach(function(C){var B=C.pluginName;if(i.options[B]||C.initializeByDefault){var $=new C(i,e,i.options);$.sortable=i,$.options=i.options,i[B]=$,Object.assign(r,$.defaults)}}),i.options)if(i.options.hasOwnProperty(n)){var l=this.modifyOption(i,n,i.options[n]);l!==void 0&&(i.options[n]=l)}},getEventProperties:function(i,e){var r={};return r0.forEach(function(t){typeof t.eventProperties=="function"&&Object.assign(r,t.eventProperties.call(e[t.pluginName],i))}),r},modifyOption:function(i,e,r){var t;return r0.forEach(function(n){i[n.pluginName]&&n.optionListeners&&typeof n.optionListeners[e]=="function"&&(t=n.optionListeners[e].call(i[n.pluginName],r))}),t}};function u0(i){var e=i.sortable,r=i.rootEl,t=i.name,n=i.targetEl,l=i.cloneEl,C=i.toEl,B=i.fromEl,$=i.oldIndex,K=i.newIndex,G=i.oldDraggableIndex,q=i.newDraggableIndex,Z=i.originalEvent,R=i.putSortable,Y=i.extraEventProperties;if(e=e||r&&r[nr]){var V,H=e.options,T="on"+t.charAt(0).toUpperCase()+t.substr(1);!window.CustomEvent||Ja||E0?(V=document.createEvent("Event")).initEvent(t,!0,!0):V=new CustomEvent(t,{bubbles:!0,cancelable:!0}),V.to=C||r,V.from=B||r,V.item=n||r,V.clone=l,V.oldIndex=$,V.newIndex=K,V.oldDraggableIndex=G,V.newDraggableIndex=q,V.originalEvent=Z,V.pullMode=R?R.lastPutMode:void 0;var L=Qa({},Y,g0.getEventProperties(t,e));for(var j in L)V[j]=L[j];r&&r.dispatchEvent(V),H[T]&&H[T].call(e,V)}}var kr=function(i,e,r){var t=r===void 0?{}:r,n=t.evt,l=function(C,B){if(C==null)return{};var $,K,G={},q=Object.keys(C);for(K=0;K<q.length;K++)B.indexOf($=q[K])>=0||(G[$]=C[$]);return G}(t,["evt"]);g0.pluginEvent.bind(Ut)(i,e,Qa({dragEl:gt,parentEl:is,ghostEl:ai,rootEl:Dn,nextEl:Jh,lastDownEl:n1,cloneEl:Xn,cloneHidden:Vl,dragStarted:d0,putS
297ortable:Hs,activeSortable:Ut.active,originalEvent:n,oldIndex:$u,oldDraggableIndex:m0,newIndex:Qr,newDraggableIndex:Fl,hideGhostForTarget:bA,unhideGhostForTarget:yA,cloneNowHidden:function(){Vl=!0},cloneNowShown:function(){Vl=!1},dispatchSortableEvent:function(C){Er({sortable:e,name:C,originalEvent:n})}},l))};function Er(i){u0(Qa({putSortable:Hs,cloneEl:Xn,targetEl:gt,rootEl:Dn,oldIndex:$u,oldDraggableIndex:m0,newIndex:Qr,newDraggableIndex:Fl},i))}var gt,is,ai,Dn,Jh,n1,Xn,Vl,$u,Qr,m0,Fl,Xg,Hs,Hu,ia,zv,$v,rA,oA,d0,Fu,o0,qg,ir,Vu=!1,l1=!1,h1=[],a0=!1,Zg=!1,Wv=[],Jv=!1,Kg=[],u1=typeof document<"u",Qg=uA,aA=E0||Ja?"cssFloat":"float",WX=u1&&!zX&&!uA&&"draggable"in document.createElement("div"),mA=function(){if(u1){if(Ja)return!1;var i=document.createElement("x");return i.style.cssText="pointer-events:auto",i.style.pointerEvents==="auto"}}(),gA=function(i,e){var r=Dt(i),t=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),n=a1(i,0,e),l=a1(i,1,e),C=n&&Dt(n),B=l&&Dt(l),$=C&&parseInt(C.marginLeft)+parseInt(C.marginRight)+Hn(n).width,K=B&&parseInt(B.marginLeft)+parseInt(B.marginRight)+Hn(l).width;return r.display==="flex"?r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal":r.display==="grid"?r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":n&&C.float&&C.float!=="none"?!l||B.clear!=="both"&&B.clear!==(C.float==="left"?"left":"right")?"horizontal":"vertical":n&&(C.display==="block"||C.display==="flex"||C.display==="table"||C.display==="grid"||$>=t&&r[aA]==="none"||l&&r[aA]==="none"&&$+K>t)?"vertical":"horizontal"},EA=function(i){function e(n,l){return function(C,B,$,K){if(n==null&&(l||C.options.group.name&&B.options.group.name&&C.options.group.name===B.options.group.name))return!0;if(n==null||n===!1)return!1;if(l&&n==="clone")return n;if(typeof n=="function")return e(n(C,B,$,K),l)(C,B,$,K);var G=(l?C:B).options.group.name;return n===!0||typeof n=="string"&&n===G||n.join&&n.indexOf(G)>-1}}var r={},t=i.group;t&&typeof t=="object"||(t={name:t}),r.name=t.name,r.checkPull=e(t.pull,!0),r.checkPut=e(t.put),r.revertClone=t.revertClone,i.group=r},bA=function(){!mA&&ai&&Dt(ai,"display","none")},yA=function(){!mA&&ai&&Dt(ai,"display","")};u1&&document.addEventListener("click",function(i){if(l1)return i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.stopImmediatePropagation&&i.stopImmediatePropagation(),l1=!1,!1},!0);var Do,Qh=function(i){if(gt){var e=(n=(i=i.touches?i.touches[0]:i).clientX,l=i.clientY,h1.some(function(B){if(!Kv(B)){var $=Hn(B),K=B[nr].options.emptyInsertThreshold;return K&&n>=$.left-K&&n<=$.right+K&&l>=$.top-K&&l<=$.bottom+K?C=B:void 0}}),C);if(e){var r={};for(var t in i)i.hasOwnProperty(t)&&(r[t]=i[t]);r.target=r.rootEl=e,r.preventDefault=void 0,r.stopPropagation=void 0,e[nr]._onDragOver(r)}}var n,l,C},YX=function(i){gt&>.parentNode[nr]._isOutsideThisEl(i.target)};function Ut(i,e){if(!i||!i.nodeType||i.nodeType!==1)throw"Sortable: `el` must be an HTMLElement, not "+{}.toString.call(i);this.el=i,this.options=e=Object.assign({},e),i[nr]=this;var r,t,n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(i.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return gA(i,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(B,$){B.setData("Text",$.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ut.supportPointer!==!1&&"PointerEvent"in window,emptyInsertThreshold:5};for(var l in g0.initializePlugins(this,i,n),n)!(l in e)&&(e[l]=n[l]);for(var C in EA(e),this)C.charAt(0)==="_"&&typeof this[C]=="function"&&(this[C]=this[C].bind(this));this.nativeDraggable=!e.forceFallback&&WX,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Bi(i,"pointerdown",this._onTapStart):(Bi(i,"mousedown",this._onTapStart),Bi(i,"touchstart",this._onTapStart)),this.nativeDraggable&&(Bi(i,"dragover",this),Bi(i,"dragenter",this)),h1.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Object.assign(this,(t=[],{captureAnimationState:function(){t=[],this.options.animation&&[].slice.call(this.el.children).forEac
vendor: 17,901 bytes, line 297
297h(function(B){if(Dt(B,"display")!=="none"&&B!==void 0){t.push({target:B,rect:Hn(B)});var $=Qa({},t[t.length-1].rect);if(B.thisAnimationDuration){var K=ec(B,!0);K&&($.top-=K.f,$.left-=K.e)}B.fromRect=$}})},addAnimationState:function(B){t.push(B)},removeAnimationState:function(B){t.splice(function($,K){for(var G in $)if($.hasOwnProperty(G)){for(var q in K)if(K.hasOwnProperty(q)&&K[q]===$[G][q])return Number(G)}return-1}(t,{target:B}),1)},animateAll:function(B){var $=this;if(!this.options.animation)return clearTimeout(r),void(typeof B=="function"&&B());var K=!1,G=0;t.forEach(function(q){var Z=0,R=q.target,Y=R.fromRect,V=Hn(R),H=R.prevFromRect,T=R.prevToRect,L=q.rect,j=ec(R,!0);j&&(V.top-=j.f,V.left-=j.e),R.toRect=V,R.thisAnimationDuration&&Hv(H,V)&&!Hv(Y,V)&&(L.top-V.top)/(L.left-V.left)==(Y.top-V.top)/(Y.left-V.left)&&(Z=function(s,c,x,N){return Math.sqrt(Math.pow(c.top-s.top,2)+Math.pow(c.left-s.left,2))/Math.sqrt(Math.pow(c.top-x.top,2)+Math.pow(c.left-x.left,2))*N.animation}(L,H,T,$.options)),Hv(V,Y)||(R.prevFromRect=Y,R.prevToRect=V,Z||(Z=$.options.animation),$.animate(R,L,V,Z)),Z&&(K=!0,G=Math.max(G,Z),clearTimeout(R.animationResetTimer),R.animationResetTimer=setTimeout(function(){R.animationTime=0,R.prevFromRect=null,R.fromRect=null,R.prevToRect=null,R.thisAnimationDuration=null},Z),R.thisAnimationDuration=Z)}),clearTimeout(r),K?r=setTimeout(function(){typeof B=="function"&&B()},G):typeof B=="function"&&B(),t=[]},animate:function(B,$,K,G){if(G){Dt(B,"transition",""),Dt(B,"transform","");var q=ec(this.el),Z=($.left-K.left)/(q&&q.a||1),R=($.top-K.top)/(q&&q.d||1);B.animatingX=!!Z,B.animatingY=!!R,Dt(B,"transform","translate3d("+Z+"px,"+R+"px,0)"),this.forRepaintDummy=function(Y){return Y.offsetWidth}(B),Dt(B,"transition","transform "+G+"ms"+(this.options.easing?" "+this.options.easing:"")),Dt(B,"transform","translate3d(0,0,0)"),typeof B.animated=="number"&&clearTimeout(B.animated),B.animated=setTimeout(function(){Dt(B,"transition",""),Dt(B,"transform",""),B.animated=!1,B.animatingX=!1,B.animatingY=!1},G)}}}))}function Yv(i,e,r,t,n,l,C,B){var $,K,G=i[nr],q=G.options.onMove;return!window.CustomEvent||Ja||E0?($=document.createEvent("Event")).initEvent("move",!0,!0):$=new CustomEvent("move",{bubbles:!0,cancelable:!0}),$.to=e,$.from=i,$.dragged=r,$.draggedRect=t,$.related=n||e,$.relatedRect=l||Hn(e),$.willInsertAfter=B,$.originalEvent=C,i.dispatchEvent($),q&&(K=q.call(G,$,C)),K}function Uv(i){i.draggable=!1}function UX(){Jv=!1}function GX(i){for(var e=i.tagName+i.className+i.src+i.href+i.textContent,r=e.length,t=0;r--;)t+=e.charCodeAt(r);return t.toString(36)}function Jg(i){return setTimeout(i,0)}function Gv(i){return clearTimeout(i)}Ut.prototype={constructor:Ut,_isOutsideThisEl:function(i){this.el.contains(i)||i===this.el||(Fu=null)},_getDirection:function(i,e){return typeof this.options.direction=="function"?this.options.direction.call(this,i,e,gt):this.options.direction},_onTapStart:function(i){if(i.cancelable){var e=this,r=this.el,t=this.options,n=t.preventOnFilter,l=i.type,C=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,B=(C||i).target,$=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||B,K=t.filter;if(function(G){Kg.length=0;for(var q=G.getElementsByTagName("input"),Z=q.length;Z--;){var R=q[Z];R.checked&&Kg.push(R)}}(r),!gt&&!(/mousedown|pointerdown/.test(l)&&i.button!==0||t.disabled)&&!$.isContentEditable&&(this.nativeDraggable||!i1||!B||B.tagName.toUpperCase()!=="SELECT")&&!((B=sa(B,t.draggable,r,!1))&&B.animated||n1===B)){if($u=jn(B),m0=jn(B,t.draggable),typeof K=="function"){if(K.call(this,i,B,this))return Er({sortable:e,rootEl:$,name:"filter",targetEl:B,toEl:r,fromEl:r}),kr("filter",e,{evt:i}),void(n&&i.cancelable&&i.preventDefault())}else if(K&&(K=K.split(",").some(function(G){if(G=sa($,G.trim(),r,!1))return Er({sortable:e,rootEl:G,name:"filter",targetEl:B,fromEl:r,toEl:r}),kr("filter",e,{evt:i}),!0})))return void(n&&i.cancelable&&i.preventDefault());t.handle&&!sa($,t.handle,r,!1)||this._prepareDragStart(i,C,B)}}},_prepareDragStart:function(i,e,r){var t,n=this,l=n.el,C=n.options,B=l.ownerDocument;if(r&&!gt&&r.parentNode===l){var $=Hn(r);if(Dn=l,is=(gt=r).parentNode,Jh=gt.nextSibling,n1=r,Xg=C.group,Ut.dragged=gt,rA=(Hu={target:gt,clientX:(e||i).clientX,clientY:(e||i).clientY}).clientX-$.left,oA=Hu.clientY-$.top,this._lastX=(e||i).clientX,this._lastY=(e||i).clientY,gt.style["will-change"]="all",t=function(){kr("delayEnded",n,{evt:i}),Ut.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!Jk&&n.nativeDraggable&&(gt.draggable=!0),n._triggerDragStart(i,e),Er({sortable:n,name:"choose",originalEvent:i}),Ln(gt,C.chosenClass,!0))},C.ignore.split(",").forEach(function(K){tA(gt,K.trim(),Uv)}),Bi(B,"dragover",Qh),Bi(B,"mousemove",Qh),Bi(B,"touchmove",Qh),Bi(B,"mouseup",n._onDrop),Bi(B,"touchend",n._onDrop),Bi(B,"touchcancel",n._onDrop),Jk&&this.nativeDraggable&&(this.options.touchStartThreshold=4,gt.draggable=!0),kr("delayStart",this,{evt:i}),!C.delay||C.delayOnTouchOnly&&!e||this.nativeDraggable&&(E0||Ja))t();else{if(Ut.eventCanceled)return void this._onDrop();Bi(B,"mouseup",n._disableDelayedDrag),Bi(B,"touchend",n._disableDelayedDrag),Bi(B,"touchcancel",n._disableDelayedDrag),Bi(B,"mousemove",n._delayedDragTouchMoveHandler),Bi(B,"touchmove",n._delayedDragTouchMoveHandler),C.supportPointer&&Bi(B,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(t,C.delay)}}},_delayedDragTouchMoveHandler:function(i){var e=i.touches?i.touches[0]:i;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){gt&&Uv(gt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;fi(i,"mouseup",this._disableDelayedDrag),fi(i,"touchend",this._disableDelayedDrag),fi(i,"touchcancel",this._disableDelayedDrag),fi(i,"mousemove",this._delayedDragTouchMoveHandler),fi(i,"touchmove",this._delayedDragTouchMoveHandler),fi(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,e){e=e||i.pointerType=="touch"&&i,!this.nativeDraggable||e?Bi(document,this.options.supportPointer?"pointermove":e?"touchmove":"mousemove",this._onTouchMove):(Bi(gt,"dragend",this),Bi(Dn,"dragstart",this._onDragStart));try{document.selection?Jg(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,e){if(Vu=!1,Dn&>){kr("dragStarted",this,{evt:e}),this.nativeDraggable&&Bi(document,"dragover",YX);var r=this.options;!i&&Ln(gt,r.dragClass,!1),Ln(gt,r.ghostClass,!0),Ut.active=this,i&&this._appendGhost(),Er({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ia){this._lastX=ia.clientX,this._lastY=ia.clientY,bA();for(var i=document.elementFromPoint(ia.clientX,ia.clientY),e=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(ia.clientX,ia.clientY))!==e;)e=i;if(gt.parentNode[nr]._isOutsideThisEl(i),e)do{if(e[nr]&&e[nr]._onDragOver({clientX:ia.clientX,clientY:ia.clientY,target:i,rootEl:e})&&!this.options.dragoverBubble)break;i=e}while(e=e.parentNode);yA()}},_onTouchMove:function(i){if(Hu){var e=this.options,r=e.fallbackTolerance,t=e.fallbackOffset,n=i.touches?i.touches[0]:i,l=ai&&ec(ai,!0),C=ai&&l&&l.a,B=ai&&l&&l.d,$=Qg&&ir&&nA(ir),K=(n.clientX-Hu.clientX+t.x)/(C||1)+($?$[0]-Wv[0]:0)/(C||1),G=(n.clientY-Hu.clientY+t.y)/(B||1)+($?$[1]-Wv[1]:0)/(B||1);if(!Ut.active&&!Vu){if(r&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<r)return;this._onDragStart(i,!0)}if(ai){l?(l.e+=K-(zv||0),l.f+=G-($v||0)):l={a:1,b:0,c:0,d:1,e:K,f:G};var q="matrix("+l.a+","+l.b+","+l.c+","+l.d+","+l.e+","+l.f+")";Dt(ai,"webkitTransform",q),Dt(ai,"mozTransform",q),Dt(ai,"msTransform",q),Dt(ai,"transform",q),zv=K,$v=G,ia=n}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!ai){var i=this.options.fallbackOnBody?document.body:Dn,e=Hn(gt,!0,Qg,!0,i),r=this.options;if(Qg){for(ir=i;Dt(ir,"position")==="static"&&Dt(ir,"transform")==="none"&&ir!==document;)ir=ir.parentNode;ir!==document.body&&ir!==document.documentElement?(ir===document&&(ir=Ca()),e.top+=ir.scrollTop,e.left+=ir.scrollLeft):ir=Ca(),Wv=nA(ir)}Ln(ai=gt.cloneNode(!0),r.ghostClass,!1),Ln(ai,r.fallbackClass,!0),Ln(ai,r.dragClass,!0),Dt(ai,"transition",""),Dt(ai,"transform",""),Dt(ai,"box-sizing","border-box"),Dt(ai,"margin",0),Dt(ai,"top",e.top),Dt(ai,"left",e.left),Dt(ai,"width",e.width),Dt(ai,"height",e.height),Dt(ai,"opacity","0.8"),Dt(ai,"position",Qg?"absolute":"fixed"),Dt(ai,"zIndex","100000"),Dt(ai,"pointerEvents","none"),Ut.ghost=ai,i.appendChild(ai),Dt(ai,"transform-origin",rA/parseInt(ai.style.width)*100+"% "+oA/parseInt(ai.style.height)*100+"%")}},_onDragStart:function(i,e){var r=this,t=i.dataTransfer,n=r.options;kr("dragStart",this,{evt:i}),Ut.eventCanceled?this._onDrop():(kr("setupClone",this),Ut.eventCanceled||((Xn=Qv(gt)).draggable=!1,Xn.style["will-change"]="",this._hideClone(),Ln(Xn,this.options.chosenClass,!1),Ut.clone=Xn),r.cloneId=Jg(function(){kr("clone",r),Ut.eventCanceled||(r.options.removeCloneOnHide||Dn.insertBefore(Xn,gt),r._hideClone(),Er({sortable:r,name:"clone"}))}),!e&&Ln(gt,n.dragClass,!0),e?(l1=!0,r._loopId=setInterval(r._emulateDragOver,50)):(fi(document,"mouseup",r._onDrop),fi(document,"touchend",r._onDrop),fi(document,"touchcancel",r._onDrop),t&&(t.effectAllowed="move",n.setData&&n.setData.call(r,t,gt)),Bi(document,"drop",r),Dt(gt,"transform","translateZ(0)")),Vu=!0,r._dragStartId=Jg(r._dragStarted.bind(r,e,i)),Bi(document,"selectstart",r),d0=!0,i1&&Dt(document.body,"user-select","none"))},_onDragOver:function(i){var e,r,t,n,l=this.el,C=i.target,B=this.options,$=B.group,K=Ut.active,G=Xg===$,q=B.sort,Z=Hs||K,R=this,Y=!1;if(!Jv){if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),C=sa(C,B.draggable,l,!0),p("dragOver"),Ut.eventCanceled)return Y;if(gt.contains(i.target)||C.animated&&C.animatingX&&C.animatingY||R._ignoreWhileAnimating===C)return o(!1);if(l1=!1,K&&!B.disabled&&(G?q||(t=!Dn.contains(gt)):Hs===this||(this.lastPutMode=Xg.checkPull(this,K,gt,i))&&$.checkPut(this,K,gt,i))){if(n=this._getDirection(i,C)==="vertical",e=Hn(gt),p("dragOverValid"),Ut.eventCanceled)return Y;if(t)return is=Dn,a(),this._hideClone(),p("revert"),Ut.eventCanceled||(Jh?Dn.insertBefore(gt,Jh):Dn.appendChild(gt)),o(!0);var V=Kv(l,B.draggable);if(!V||function(d,h,m){var f=Hn(Kv(m.el,m.options.draggable));return h?d.clientX>f.right+10||d.clientX<=f.right&&d.clientY>f.bottom&&d.clientX>=f.left:d.clientX>f.right&&d.clientY>f.top||d.clientX<=f.right&&d.clientY>f.bottom+10}(i,n,this)&&!V.animated){if(V===gt)return o(!1);if(V&&l===i.target&&(C=V),C&&(r=Hn(C)),Yv(Dn,l,gt,e,C,r,i,!!C)!==!1)return a(),l.appendChild(gt),is=l,u(),o(!0)}else if(C.parentNode===l){r=Hn(C);var H,T,L,j=gt.parentNode!==l,s=!function(d,h,m){var f=m?d.left:d.top,y=m?h.left:h.top;return f===y||(m?d.right:d.bottom)===(m?h.right:h.bottom)||f+(m?d.width:d.height)/2===y+(m?h.width:h.height)/2}(gt.animated&>.toRect||e,C.animated&&C.toRect||r,n),c=n?"top":"left",x=iA(C,"top","top")||iA(gt,"top","top"),N=x?x.scrollTop:void 0;if(Fu!==C&&(T=r[c],a0=!1,Zg=!s&&B.invertSwap||j),(H=function(d,h,m,f,y,I,E,M){var D=f?d.clientY:d.clientX,F=f?m.height:m.width,X=f?m.top:m.left,_=f?m.bottom:m.right,w=!1;if(!E){if(M&&qg<F*y){if(!a0&&(o0===1?D>X+F*I/2:D<_-F*I/2)&&(a0=!0),a0)w=!0;else if(o0===1?D<X+qg:D>_-qg)return-o0}else if(D>X+F*(1-y)/2&&D<_-F*(1-y)/2)return function(A){return jn(gt)<jn(A)?1:-1}(h)}return(w=w||E)&&(D<X+F*I/2||D>_-F*I/2)?D>X+F/2?1:-1:0}(i,C,r,n,s?1:B.swapThreshold,B.invertedSwapThreshold==null?B.swapThreshold:B.invertedSwapThreshold,Zg,Fu===C))!==0){var P=jn(gt);do L=is.children[P-=H];while(L&&(Dt(L,"display")==="none"||L===ai))}if(H===0||L===C)return o(!1);Fu=C,o0=H;var S=C.nextElementSibling,g=!1,v=Yv(Dn,l,gt,e,C,r,i,g=H===1);if(v!==!1)return v!==1&&v!==-1||(g=v===1),Jv=!0,setTimeout(UX,30),a(),g&&!S?l.appendChild(gt):C.parentNode.insertBefore(gt,g?S:C),x&&fA(x,0,N-x.scrollTop),is=gt.parentNode,T===void 0||Zg||(qg=Math.abs(T-Hn(C)[c])),u(),o(!0)}if(l.contains(gt))return o(!1)}return!1}function p(d,h){kr(d,R,Qa({evt:i,isOwner:G,axis:n?"vertical":"horizontal",revert:t,dragRect:e,targetRect:r,canSort:q,fromSortable:Z,target:C,completed:o,onMove:function(m,f){return Yv(Dn,l,gt,e,m,Hn(m),i,f)},changed:u},h))}function a(){p("dragOverAnimationCapture"),R.captureAnimationState(),R!==Z&&Z.captureAnimationState()}function o(d){return p("dragOverCompleted",{insertion:d}),d&&(G?K._hideClone():K._showClone(R),R!==Z&&(Ln(gt,Hs?Hs.options.ghostClass:K.options.ghostClass,!1),Ln(gt,B.ghostClass,!0)),Hs!==R&&R!==Ut.active?Hs=R:R===Ut.active&&Hs&&(Hs=null),Z===R&&(R._ignoreWhileAnimating=C),R.animateAll(function(){p("dragOverAnimationComplete"),R._ignoreWhileAnimating=null}),R!==Z&&(Z.animateAll(),Z._ignoreWhileAnimating=null)),(C===gt&&!gt.animated||C===l&&!C.animated)&&(Fu=null),B.dragoverBubble||i.rootEl||C===document||(gt.parentNode[nr]._isOutsideThisEl(i.target),!d&&Qh(i)),!B.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),Y=!0}function u(){Qr=jn(gt),Fl=jn(gt,B.draggable),Er({sortable:R,name:"change",toEl:l,newIndex:Qr,newDraggableIndex:Fl,originalEvent:i})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){fi(document,"mousemove",this._onTouchMove),fi(document,"touchmove",this._onTouchMove),fi(document,"pointermove",this._onTouchMove),fi(document,"dragover",Qh),fi(document,"mousemove",Qh),fi(document,"touchmove",Qh)},_offUpEvents:function(){var i=this.el.ownerDocument;fi(i,"mouseup",this._onDrop),fi(i,"touchend",this._onDrop),fi(i,"pointerup",this._onDrop),fi(i,"touchcancel",this._onDrop),fi(document,"selectstart",this)},_onDrop:function(i){var e=this.el,r=this.options;Qr=jn(gt),Fl=jn(gt,r.draggable),kr("drop",this,{evt:i}),is=gt&>.parentNode,Qr=jn(gt),Fl=jn(gt,r.draggable),Ut.eventCanceled||(Vu=!1,Zg=!1,a0=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Gv(this.cloneId),Gv(this._dragStartId),this.nativeDraggable&&(fi(document,"drop",this),fi(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),i1&&Dt(document.body,"user-select",""),Dt(gt,"transform",""),i&&(d0&&(i.cancelable&&i.preventDefault(),!r.dropBubble&&i.stopPropagation()),ai&&ai.parentNode&&ai.parentNode.removeChild(ai),(Dn===is||Hs&&Hs.lastPutMode!=="clone")&&Xn&&Xn.parentNode&&Xn.parentNode.removeChild(Xn),gt&&(this.nativeDraggable&&fi(gt,"dragend",this),Uv(gt),gt.style["will-change"]="",d0&&!Vu&&Ln(gt,Hs?Hs.options.ghostClass:this.options.ghostClass,!1),Ln(gt,this.options.chosenClass,!1),Er({sortable:this,name:"unchoose",toEl:is,newIndex:null,newDraggableIndex:null,originalEvent:i}),Dn!==is?(Qr>=0&&(Er({rootEl:is,name:"add",toEl:is,fromEl:Dn,originalEvent:i}),Er({sortable:this,name:"remove",toEl:is,originalEvent:i}),Er({rootEl:is,name:"sort",toEl:is,fromEl:Dn,originalEvent:i}),Er({sortable:this,name:"sort",toEl:is,originalEvent:i})),Hs&&Hs.save()):Qr!==$u&&Qr>=0&&(Er({sortable:this,name:"update",toEl:is,originalEvent:i}),Er({sortable:this,name:"sort",toEl:is,originalEvent:i})),Ut.active&&(Qr!=null&&Qr!==-1||(Qr=$u,Fl=m0),Er({sortable:this,name:"end",toEl:is,originalEvent:i}),this.save())))),this._nulling()},_nulling:function(){kr("nulling",this),Dn=gt=is=ai=Jh=Xn=n1=Vl=Hu=ia=d0=Qr=Fl=$u=m0=Fu=o0=Hs=Xg=Ut.dragged=Ut.ghost=Ut.clone=Ut.active=null,Kg.forEach(function(i){i.checked=!0}),Kg.length=zv=$v=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":gt&&(this._onDragOver(i),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(i));break;case"selectstart":i.preventDefault()}},toArray:function(){for(var i,e=[],r=this.el.children,t=0,n=r.length,l=this.options;t<n;t++)sa(i=r[t],l.draggable,this.el,!1)&&e.push(i.getAttribute(l.dataIdAttr)||GX(i));return e},sort:function(i){var e={},r=this.el;this.toArray().forEach(function(t,n){var l=r.children[n];sa(l,this.options.draggable,r,!1)&&(e[t]=l)},this),i.forEach(function(t){e[t]&&(r.removeChild(e[t]),r.appendChild(e[t]))})},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,e){return sa(i,e||this.options.draggable,this.el,!1)},option:function(i,e){var r=this.options;if(e===void 0)return r[i];var t=g0.modifyOption(this,i,e);r[i]=t!==void 0?t:e,i==="group"&&EA(r)},destroy:function(){kr("destroy",this);var i=this.el;i[nr]=null,fi(i,"mousedown",this._onTapStart),fi(i,"touchstart",this._onTapStart),fi(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(fi(i,"dragover",this),fi(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),h1.splice(h1.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!Vl){if(kr("hideClone",this),Ut.eventCanceled)return;Dt(Xn,"display","none"),this.options.removeCloneOnHide&&Xn.parentNode&&Xn.parentNode.removeChild(Xn),Vl=!0}},_showClone:function(i){if(i.lastPutMode==="clone"){if(Vl){if(kr("showClone",this),Ut.eventCanceled)return;gt.parentNode!=Dn||this.options.group.revertClone?Jh?Dn.insertBefore(Xn,Jh):Dn.appendChild(Xn):Dn.insertBefore(Xn,gt),this.options.group.revertClone&&this.animate(gt,Xn),Dt(Xn,"display",""),Vl=!1}}else this._hideClone()}},u1&&Bi(document,"touchmove",function(i){(Ut.active||Vu)&&i.cancelable&&i.preventDefault()}),Ut.utils={on:Bi,off:fi,css:Dt,find:tA,is:function(i,e){return!!sa(i,e,i,!1)},extend:function(i,e){if(i&&e)for(var r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i},throttle:pA,closest:sa,toggleClass:Ln,clone:Qv,index:jn,nextTick:Jg,cancelNextTick:Gv,detectDirection:gA,getChild:a1},Ut.get=function(i){return i[nr]},Ut.mount=function(){var i=[].slice.call(arguments);
297i[0].constructor===Array&&(i=i[0]),i.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not "+{}.toString.call(e);e.utils&&(Ut.utils=Qa({},Ut.utils,e.utils)),g0.mount(e)})},Ut.create=function(i,e){return new Ut(i,e)},Ut.version="1.12.0";var l0,na,Ji,h0,e1,ii=[],Kr=[],c0=!1,Zr=!1,zu=!1;function lA(i,e){Kr.forEach(function(r,t){var n=e.children[r.sortableIndex+(i?Number(t):0)];n?e.insertBefore(r,n):e.appendChild(r)})}function t1(){ii.forEach(function(i){i!==Ji&&i.parentNode&&i.parentNode.removeChild(i)})}var hA=function(i){var e=i.originalEvent,r=i.putSortable,t=i.dragEl,n=i.dispatchSortableEvent,l=i.unhideGhostForTarget;if(e){var C=r||i.activeSortable;(0,i.hideGhostForTarget)();var B=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,$=document.elementFromPoint(B.clientX,B.clientY);l(),C&&!C.el.contains($)&&(n("spill"),this.onSpill({dragEl:t,putSortable:r}))}};function ex(){}function tx(){}ex.prototype={startIndex:null,dragStart:function(i){this.startIndex=i.oldDraggableIndex},onSpill:function(i){var e=i.dragEl,r=i.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var t=a1(this.sortable.el,this.startIndex,this.options);t?this.sortable.el.insertBefore(e,t):this.sortable.el.appendChild(e),this.sortable.animateAll(),r&&r.animateAll()},drop:hA},Object.assign(ex,{pluginName:"revertOnSpill"}),tx.prototype={onSpill:function(i){var e=i.dragEl,r=i.putSortable||this.sortable;r.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),r.animateAll()},drop:hA},Object.assign(tx,{pluginName:"removeOnSpill"});var s1,ix,Xv,qv,c1,p0,ns=[],nx=!1;function r1(){ns.forEach(function(i){clearInterval(i.pid)}),ns=[]}function cA(){clearInterval(p0)}var Zv=pA(function(i,e,r,t){if(e.scroll){var n,l=(i.touches?i.touches[0]:i).clientX,C=(i.touches?i.touches[0]:i).clientY,B=e.scrollSensitivity,$=e.scrollSpeed,K=Ca(),G=!1;ix!==r&&(ix=r,r1(),n=e.scrollFn,(s1=e.scroll)===!0&&(s1=zl(r,!0)));var q=0,Z=s1;do{var R=Z,Y=Hn(R),V=Y.top,H=Y.bottom,T=Y.left,L=Y.right,j=Y.width,s=Y.height,c=void 0,x=void 0,N=R.scrollWidth,P=R.scrollHeight,S=Dt(R),g=R.scrollLeft,v=R.scrollTop;R===K?(c=j<N&&(S.overflowX==="auto"||S.overflowX==="scroll"||S.overflowX==="visible"),x=s<P&&(S.overflowY==="auto"||S.overflowY==="scroll"||S.overflowY==="visible")):(c=j<N&&(S.overflowX==="auto"||S.overflowX==="scroll"),x=s<P&&(S.overflowY==="auto"||S.overflowY==="scroll"));var p=c&&(Math.abs(L-l)<=B&&g+j<N)-(Math.abs(T-l)<=B&&!!g),a=x&&(Math.abs(H-C)<=B&&v+s<P)-(Math.abs(V-C)<=B&&!!v);if(!ns[q])for(var o=0;o<=q;o++)ns[o]||(ns[o]={});ns[q].vx==p&&ns[q].vy==a&&ns[q].el===R||(ns[q].el=R,ns[q].vx=p,ns[q].vy=a,clearInterval(ns[q].pid),p==0&&a==0||(G=!0,ns[q].pid=setInterval((function(){t&&this.layer===0&&Ut.active._onTouchMove(c1);var u=ns[this.layer].vy?ns[this.layer].vy*$:0,d=ns[this.layer].vx?ns[this.layer].vx*$:0;typeof n=="function"&&n.call(Ut.dragged.parentNode[nr],d,u,i,c1,ns[this.layer].el)!=="continue"||fA(ns[this.layer].el,d,u)}).bind({layer:q}),24))),q++}while(e.bubbleScroll&&Z!==K&&(Z=zl(Z,!1)));nx=G}},30);Ut.mount(new function(){function i(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return i.prototype={dragStarted:function(e){var r=e.originalEvent;this.sortable.nativeDraggable?Bi(document,"dragover",this._handleAutoScroll):Bi(document,this.options.supportPointer?"pointermove":r.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var r=e.originalEvent;this.options.dragOverBubble||r.rootEl||this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?fi(document,"dragover",this._handleAutoScroll):(fi(document,"pointermove",this._handleFallbackAutoScroll),fi(document,"touchmove",this._handleFallbackAutoScroll),fi(document,"mousemove",this._handleFallbackAutoScroll)),cA(),r1(),clearTimeout(f0),f0=void 0},nulling:function(){c1=ix=s1=nx=p0=Xv=qv=null,ns.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,r){var t=this,n=(e.touches?e.touches[0]:e).clientX,l=(e.touches?e.touches[0]:e).clientY,C=document.elementFromPoint(n,l);if(c1=e,r||E0||Ja||i1){Zv(e,this.options,C,r);var B=zl(C,!0);!nx||p0&&n===Xv&&l===qv||(p0&&cA(),p0=setInterval(function(){var $=zl(document.elementFromPoint(n,l),!0);$!==B&&(B=$,r1()),Zv(e,t.options,$,r)},10),Xv=n,qv=l)}else{if(!this.options.bubbleScroll||zl(C,!0)===Ca())return void r1();Zv(e,this.options,zl(C,!1),!1)}}},Object.assign(i,{pluginName:"scroll",initializeByDefault:!0})}),Ut.mount(tx,ex),Ut.mount(new function(){function i(){this.defaults={swapClass:"sortable-swap-highlight"}}return i.prototype={dragStart:function(e){Do=e.dragEl},dragOverValid:function(e){var r=e.completed,t=e.target,n=e.changed,l=e.cancel;
vendor: 4,558 bytes, line 297
297if(e.activeSortable.options.swap){var C=this.options;if(t&&t!==this.sortable.el){var B=Do;(0,e.onMove)(t)!==!1?(Ln(t,C.swapClass,!0),Do=t):Do=null,B&&B!==Do&&Ln(B,C.swapClass,!1)}n(),r(!0),l()}},drop:function(e){var r,t,n,l,C,B,$=e.activeSortable,K=e.putSortable,G=e.dragEl,q=K||this.sortable,Z=this.options;Do&&Ln(Do,Z.swapClass,!1),Do&&(Z.swap||K&&K.options.swap)&&G!==Do&&(q.captureAnimationState(),q!==$&&$.captureAnimationState(),B=(t=Do).parentNode,(C=(r=G).parentNode)&&B&&!C.isEqualNode(t)&&!B.isEqualNode(r)&&(n=jn(r),l=jn(t),C.isEqualNode(B)&&n<l&&l++,C.insertBefore(t,C.children[n]),B.insertBefore(r,B.children[l])),q.animateAll(),q!==$&&$.animateAll())},nulling:function(){Do=null}},Object.assign(i,{pluginName:"swap",eventProperties:function(){return{swapItem:Do}}})}),Ut.mount(new function(){function i(e){for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));e.options.supportPointer?Bi(document,"pointerup",this._deselectMultiDrag):(Bi(document,"mouseup",this._deselectMultiDrag),Bi(document,"touchend",this._deselectMultiDrag)),Bi(document,"keydown",this._checkKeyDown),Bi(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var l="";ii.length&&na===e?ii.forEach(function(C,B){l+=(B?", ":"")+C.textContent}):l=n.textContent,t.setData("Text",l)}}}return i.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){Ji=e.dragEl},delayEnded:function(){this.isMultiDrag=~ii.indexOf(Ji)},setupClone:function(e){var r=e.sortable,t=e.cancel;if(this.isMultiDrag){for(var n=0;n<ii.length;n++)Kr.push(Qv(ii[n])),Kr[n].sortableIndex=ii[n].sortableIndex,Kr[n].draggable=!1,Kr[n].style["will-change"]="",Ln(Kr[n],this.options.selectedClass,!1),ii[n]===Ji&&Ln(Kr[n],this.options.chosenClass,!1);r._hideClone(),t()}},clone:function(e){var r=e.dispatchSortableEvent,t=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ii.length&&na===e.sortable&&(lA(!0,e.rootEl),r("clone"),t()))},showClone:function(e){var r=e.cloneNowShown,t=e.cancel;this.isMultiDrag&&(lA(!1,e.rootEl),Kr.forEach(function(n){Dt(n,"display","")}),r(),e1=!1,t())},hideClone:function(e){var r=this,t=e.cloneNowHidden,n=e.cancel;this.isMultiDrag&&(Kr.forEach(function(l){Dt(l,"display","none"),r.options.removeCloneOnHide&&l.parentNode&&l.parentNode.removeChild(l)}),t(),e1=!0,n())},dragStartGlobal:function(e){!this.isMultiDrag&&na&&na.multiDrag._deselectMultiDrag(),ii.forEach(function(r){r.sortableIndex=jn(r)}),ii=ii.sort(function(r,t){return r.sortableIndex-t.sortableIndex}),zu=!0},dragStarted:function(e){var r=this,t=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(t.captureAnimationState(),this.options.animation)){ii.forEach(function(l){l!==Ji&&Dt(l,"position","absolute")});var n=Hn(Ji,!1,!0,!0);ii.forEach(function(l){l!==Ji&&sA(l,n)}),Zr=!0,c0=!0}t.animateAll(function(){Zr=!1,c0=!1,r.options.animation&&ii.forEach(function(l){Fv(l)}),r.options.sort&&t1()})}},dragOver:function(e){var r=e.completed,t=e.cancel;Zr&&~ii.indexOf(e.target)&&(r(!1),t())},revert:function(e){var r=e.fromSortable,t=e.rootEl,n=e.sortable,l=e.dragRect;ii.length>1&&(ii.forEach(function(C){n.addAnimationState({target:C,rect:Zr?Hn(C):l}),Fv(C),C.fromRect=l,r.removeAnimationState(C)}),Zr=!1,function(C,B){ii.forEach(function($,K){var G=B.children[$.sortableIndex+(C?Number(K):0)];G?B.insertBefore($,G):B.appendChild($)})}(!this.options.removeCloneOnHide,t))},dragOverCompleted:function(e){var r=e.sortable,t=e.isOwner,n=e.activeSortable,l=e.parentEl,C=e.putSortable,B=this.options;if(e.insertion){if(t&&n._hideClone(),c0=!1,B.animation&&ii.length>1&&(Zr||!t&&!n.options.sort&&!C)){var $=Hn(Ji,!1,!0,!0);ii.forEach(function(G){G!==Ji&&(sA(G,$),l.appendChild(G))}),Zr=!0}if(!t)if(Zr||t1(),ii.length>1){var K=e1;n._showClone(r),n.options.animation&&!e1&&K&&Kr.forEach(function(G){n.addAnimationState({target:G,rect:h0}),G.fromRect=h0,G.thisAnimationDuration=null})}else n._showClone(r)}},dragOverAnimationCapture:function(e){var r=e.dragRect,t=e.isOwner,n=e.activeSortable;if(ii.forEach(function(C){C.thisAnimationDuration=null}),n.options.animation&&!t&&n.multiDrag.isMultiDrag){h0=Object.assign({},r);var l=ec(Ji,!0);h0.top-=l.f,h0.left-=l.e}},dragOverAnimationComplete:function(){Zr&&(Zr=!1,t1())},drop:function(e){var r=e.originalEvent,t=e.rootEl,n=e.parentEl,l=e.sortable,C=e.dispatchSortableEvent,B=e.oldIndex,$=e.putSortable,K=$||this.sortable;if(r){var G=this.options,q=n.children;if(!zu)if(G.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(
297),Ln(Ji,G.selectedClass,!~ii.indexOf(Ji)),~ii.indexOf(Ji))ii.splice(ii.indexOf(Ji),1),l0=null,u0({sortable:l,rootEl:t,name:"deselect",targetEl:Ji,originalEvt:r});else{if(ii.push(Ji),u0({sortable:l,rootEl:t,name:"select",targetEl:Ji,originalEvt:r}),r.shiftKey&&l0&&l.el.contains(l0)){var Z,R,Y=jn(l0),V=jn(Ji);if(~Y&&~V&&Y!==V)for(V>Y?(R=Y,Z=V):(R=V,Z=Y+1);R<Z;R++)~ii.indexOf(q[R])||(Ln(q[R],G.selectedClass,!0),ii.push(q[R]),u0({sortable:l,rootEl:t,name:"select",targetEl:q[R],originalEvt:r}))}else l0=Ji;na=K}if(zu&&this.isMultiDrag){if((n[nr].options.sort||n!==t)&&ii.length>1){var H=Hn(Ji),T=jn(Ji,":not(."+this.options.selectedClass+")");if(!c0&&G.animation&&(Ji.thisAnimationDuration=null),K.captureAnimationState(),!c0&&(G.animation&&(Ji.fromRect=H,ii.forEach(function(j){if(j.thisAnimationDuration=null,j!==Ji){var s=Zr?Hn(j):H;j.fromRect=s,K.addAnimationState({target:j,rect:s})}})),t1(),ii.forEach(function(j){q[T]?n.insertBefore(j,q[T]):n.appendChild(j),T++}),B===jn(Ji))){var L=!1;ii.forEach(function(j){j.sortableIndex===jn(j)||(L=!0)}),L&&C("update")}ii.forEach(function(j){Fv(j)}),K.animateAll()}na=K}(t===n||$&&$.lastPutMode!=="clone")&&Kr.forEach(function(j){j.parentNode&&j.parentNode.removeChild(j)})}},nullingGlobal:function(){this.isMultiDrag=zu=!1,Kr.length=0},destroyGlobal:function(){this._deselectMultiDrag(),fi(document,"pointerup",this._deselectMultiDrag),fi(document,"mouseup",this._deselectMultiDrag),fi(document,"touchend",this._deselectMultiDrag),fi(document,"keydown",this._checkKeyDown),fi(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(zu!==void 0&&zu||na!==this.sortable||e&&sa(e.target,this.options.draggable,this.sortable.el,!1)||e&&e.button!==0))for(;ii.length;){var r=ii[0];Ln(r,this.options.selectedClass,!1),ii.shift(),u0({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Object.assign(i,{pluginName:"multiDrag",utils:{select:function(e){var r=e.parentNode[nr];r&&r.options.multiDrag&&!~ii.indexOf(e)&&(na&&na!==r&&(na.multiDrag._deselectMultiDrag(),na=r),Ln(e,r.options.selectedClass,!0),ii.push(e))},deselect:function(e){var r=e.parentNode[nr],t=ii.indexOf(e);r&&r.options.multiDrag&&~t&&(Ln(e,r.options.selectedClass,!1),ii.splice(t,1))}},eventProperties:function(){var e=this,r=[],t=[];return ii.forEach(function(n){var l;r.push({multiDragElement:n,index:n.sortableIndex}),l=Zr&&n!==Ji?-1:Zr?jn(n,":not(."+e.options.selectedClass+")"):jn(n),t.push({multiDragElement:n,index:l})}),{items:[].concat(ii),clones:[].concat(Kr),oldIndicies:r,newIndicies:t}},optionListeners:{multiDragKey:function(e){return(e=e.toLowerCase())==="ctrl"?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})});var vA=Ut;var sx=300,Qye=Zs("routeAnimations",[sn("* => *",[di({position:"relative"}),bh(":enter, :leave",[di({position:"absolute",top:0,left:0,width:"100%","z-index":999999999})],{optional:!0}),bh(":enter",[di({opacity:0})],{optional:!0}),bh(":leave",Y2(),{optional:!0}),J_([bh(":enter",[Qi(`${sx}ms ease-in`,di({opacity:1}))],{optional:!0}),bh(":leave",[Qi("200ms ease-out",di({opacity:0}))],{optional:!0})]),bh(":enter",Y2(),{optional:!0})])]);var XX=["dateInput"];function qX(i,e){if(i&1){let r=et();ke(0,"span",5),We("click",function(){Ne(r);let n=Te();return je(n.onClear())}),Ke(1,"i",6),Ae()}}var xA=(()=>{let e=class e{set format(t){this.bsConfig.rangeInputFormat=t}constructor(t){this.cdr=t,this.hostClass="base-control",this.autoTime=!0,this.placeholder="",this.bsConfig={},this.onChange=n=>{},this.onTouched=n=>{}}ngOnInit(){}onOpenCalendar(t){this.monthOnly&&(t.monthSelectHandler=n=>{t._store.dispatch(t._actions.select(n.date))},t.setViewMode("month"))}onValueChange(t){if(t&&t.length===2){let n=t;this.autoTime&&(n[0]&&n[0].setHours(0,0,0),n[1]&&n[1].setHours(23,59,59)),this.dateRange=n,this.onChange(n)}}onClear(){this.dateRange=void 0,this.onChange(void 0)}writeValue(t){if(this.dateRange=t,t&&!t[0]!=!t[1]){let n=this.bsConfig.rangeInputFormat||"DD/MM/YYYY";if(!t[0])window.setTimeout(()=>{this.dateInput.nativeElement.value=`... - ${Rt.fromJSDate(t[1]).toFormat(n)}`});else{let l=new Date;l.setFullYear(5e3),t[1]=l,window.setTimeout(()=>{this.dateInput.nativeElement.value=`${Rt.fromJSDate(t[0]).toFormat(n)} - ...`})}}this.cdr.markForCheck()}onBlur(t){this.onTouched(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.cdr.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-date-range-picker"]],viewQuery:function(n,l){if(n&1&&Xt(XX,5),n&2){let C;kt(C=At())&&(l.dateInput=C.first)}},hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{format:"format",min:"min",max:"max",autoTime:"autoTime",placeholder:"placeholder",monthOnly:"monthOnly"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}])],decls:5,vars:7,consts:[["dateInput",""],[1,"is-flex","is-align-center","_daterange-container"],[1,"control","has-icons-right","is-fullwidth"],["bsDaterangepicker","","type","text","readonly","",1,"input","is-fullwidth",3,"ngModelChange","onHidden","onShown","bsConfig","minDate","maxDate","ngModel","placeholder","disabled"],["class","icon is-right is-cl
297ickable",3,"click",4,"ngIf"],[1,"icon","is-right","is-clickable",3,"click"],[1,"delete"]],template:function(n,l){if(n&1){let C=et();ke(0,"div",1)(1,"div",2)(2,"input",3,0),We("ngModelChange",function($){return Ne(C),je(l.onValueChange($))})("onHidden",function($){return Ne(C),je(l.onBlur($))})("onShown",function($){return Ne(C),je(l.onOpenCalendar($))}),Ae(),$e(4,qX,2,0,"span",4),Ae()()}n&2&&(we(2),_e("bsConfig",l.bsConfig)("minDate",l.min)("maxDate",l.max)("ngModel",l.dateRange)("placeholder",l.placeholder)("disabled",l.disabled),we(2),_e("ngIf",l.dateRange&&!l.disabled))},dependencies:[wt,mn,Ri,Pi,Bv,$g],styles:[".control.has-icons-right[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{pointer-events:auto}"],changeDetection:0});let i=e;return i})();var KX=["tooltip"];function QX(i,e){if(i&1){let r=et();ke(0,"span",7),We("click",function(){Ne(r);let n=Te();return je(n.onClear())}),Ke(1,"i",8),Ae()}}function JX(i,e){if(i&1){let r=et();ke(0,"form",9,2),We("ngSubmit",function(){Ne(r);let n=On(1),l=Te();return je(l.onSubmit(n))}),ke(2,"div",10)(3,"div",11)(4,"lib-number-input",12),Li("ngModelChange",function(n){Ne(r);let l=Te();return Di(l.preValue[0],n)||(l.preValue[0]=n),je(n)}),Ae()(),ke(5,"div",11)(6,"div",13),Ge(7,"-"),Ae()(),ke(8,"div",11)(9,"lib-number-input",14),Li("ngModelChange",function(n){Ne(r);let l=Te();return Di(l.preValue[1],n)||(l.preValue[1]=n),je(n)}),Ae()(),ke(10,"div",11)(11,"button",15),Ge(12,"OK"),Ae()()()()}if(i&2){let r=On(1),t=Te();ht("submitted",r.submitted),we(4),Ai("ngModel",t.preValue[0]),_e("decimal",t.decimal)("negative",t.negative)("vMax",t.preValue[1]),we(5),Ai("ngModel",t.preValue[1]),_e("decimal",t.decimal)("negative",t.negative)("vMin",t.preValue[0])}}var CA=(()=>{let e=class e extends Kh{constructor(t){super(t),this.cdr=t,this.hostClass="base-control",this.decimal=0,this.negative=!0}onClear(){this.preValue=[],this.displayValue="",this.onValueChange([])}writeValue(t){t?(t[0]&&(t[0]=+t[0].toFixed(this.decimal)),t[1]&&(t[1]=+t[1].toFixed(this.decimal))):t=[],this.preValue=[...t],super.writeValue(t),this.setDisplayValue()}hide(){this.preValue=[...this.value]}onSubmit(t){if(t.invalid)return;let n=[];this.preValue[0]!==void 0&&(n[0]=this.preValue[0]),this.preValue[1]!==void 0&&(n[1]=this.preValue[1]),this.tooltip.hide(),this.onValueChange(n),this.setDisplayValue()}setDisplayValue(){if(!this.value||!this.value[0]&&!this.value[1]){this.displayValue="";return}this.value[0]?this.displayValue=this.value[0].toLocaleString():this.displayValue="...",this.displayValue+=" - ",this.value[1]?this.displayValue+=this.value[1].toLocaleString():this.displayValue+="..."}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-number-range-popover"]],viewQuery:function(n,l){if(n&1&&Xt(KX,5),n&2){let C;kt(C=At())&&(l.tooltip=C.first)}},hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{decimal:"decimal",negative:"negative"},features:[Ot([{provide:Si,multi:!0,useExisting:$t(()=>e)}]),Nt],decls:7,vars:7,consts:[["tooltip","softTooltip"],["popContent",""],["form","ngForm"],[1,"is-flex","is-align-center","_input-number-range"],[1,"control","has-icons-right"],["type","text","readonly","",1,"input",3,"softTooltipHidden","softTooltip","trigger","theme","ngModel","placeholder","disabled"],["class","icon is-right is-clickable",3,"click",4,"ngIf"],[1,"icon","is-right","is-clickable",3,"click"],[1,"delete"],[1,"_number-range-popover",3,"ngSubmit"],[1,"field","is-grouped"],[1,"control"],["autofocus","","name","fromNumber",3,"ngModelChange","ngModel","decimal","negative","vMax"],[1,"is-control-height-centered"],["name","toNumber",3,"ngModelChange","ngModel","decimal","negative","vMin"],[1,"button"]],template:function(n,l){if(n&1){let C=et();ke(0,"div",3)(1,"div",4)(2,"input",5,0),We("softTooltipHidden",function(){return Ne(C),je(l.hide())}),Ae(),$e(4,QX,2,0,"span",6),Ae()(),$e(5,JX,13,10,"ng-template",null,1,Wi)}if(n&2){let C=On(6);we(2),_e("softTooltip",C)("trigger","click")("theme","is-bordered")("ngModel",l.displayValue)("placeholder",l.placeholder)("disabled",l.disabled),we(2),_e("ngIf",l.value&&l.value.length&&!l.disabled)}},dependencies:[wt,X_,mn,Ri,z_,Pi,F2,rw,Yg,qk],styles:[`._number-range-popover{padding:5px 9px}._number-range-popover .input{width:100px;border:none}._number-range-popover .button{width:77px;border:none}._number-range-popover:not(.submitted) .ng-touched.ng-invalid.base-control .input{border:none}._number-range-popover:not(.submitted) .ng-touched.ng-invalid:hover~.error-message-tooltip{display:none}._number-range-popover:not(.submitted) .ng-touched.ng-invalid~.error-message-control{display:none}._input-number-range .control.has-icons-right .icon{pointer-events:auto} 298`],encapsulation:2,changeDetection:0});let i=e;return i})();var tq=["dataTable"],iq=["headerWrapper"],nq=["noFilterHeaderWrapper"],sq=["searchableHeaderWrapper"],rq=["startDatePickerHeaderWrapper"],oq=["endDatePickerHeaderWrapper"],aq=["dateRangePickerHeaderWrapper"],lq=["monthPickerHeaderWrapper"],hq=["booleanHeaderWrapper"],cq=["inputNumberHeaderWrapper"],uq=["inputNumberRangeHeaderWrapper"],dq=["actionTpl"],pq=["enumTpl"],fq=["dateTpl"],mq=["dateTimeTpl"],gq=["timeTpl"],Eq=["integerTpl"],bq=["decimalTpl"],yq=["reOrderTpl"],vq=["checkMarkTpl"],xq=i=>["material striped",i],Cq=(i,e,r)=>
298({group:i,expanded:e,groupHeader:r}),_q=(i,e)=>({row:i,expanded:e});function wq(i,e){if(i&1&&ud(0,29),i&2){let r=Te(),t=r.group,n=r.expanded;Te(2);let l=On(1),C=Te();_e("ngTemplateOutlet",C.groupRowsTemplate)("ngTemplateOutletContext",JC(2,Cq,t,n,l.groupHeader))}}function Sq(i,e){if(i&1&&(ke(0,"div",30)(1,"b"),Ge(2),Ae()()),i&2){let r=Te().group;we(2),qt(r.key)}}function Mq(i,e){if(i&1&&$e(0,wq,1,6,"ng-container",28)(1,Sq,3,1,"ng-template",null,21,Wi),i&2){let r=On(2),t=Te(3);_e("ngIf",t.groupRowsTemplate)("ngIfElse",r)}}function Tq(i,e){i&1&&(ke(0,"ngx-datatable-group-header"),$e(1,Mq,3,2,"ng-template",27),Ae())}function kq(i,e){if(i&1&&ud(0,29),i&2){let r=e.row,t=e.expanded,n=Te(3);_e("ngTemplateOutlet",n.rowDetailTemplate)("ngTemplateOutletContext",cr(2,_q,r,t))}}function Aq(i,e){i&1&&(ke(0,"ngx-datatable-row-detail",31),$e(1,kq,1,5,"ng-template",32),Ae()),i&2&&_e("rowHeight","auto")}function Dq(i,e){if(i&1&&(ke(0,"option",40),Ge(1),Ae()),i&2){let r=e.$implicit;_e("value",r),we(),oi(" ",r," per page ")}}function Lq(i,e){if(i&1){let r=et();ke(0,"div",37)(1,"select",38),Li("ngModelChange",function(n){Ne(r);let l=Te(3);return Di(l.page.perPage,n)||(l.page.perPage=n),je(n)}),We("ngModelChange",function(){Ne(r);let n=Te(3);return je(n.setPerPage())}),$e(2,Dq,2,2,"option",39),Ae()()}if(i&2){let r=Te(3);we(),Ai("ngModel",r.page.perPage),we(),_e("ngForOf",r.perPageOptions)}}function Pq(i,e){if(i&1){let r=et();ke(0,"div",33)(1,"div",34),Ge(2),Ae(),$e(3,Lq,3,2,"div",35),Ae(),ke(4,"datatable-pager",36),We("change",function(n){Ne(r),Te();let l=On(1);return je(l.onFooterPage(n))}),Ae()}if(i&2){let r=e.rowCount,t=e.pageSize,n=e.curPage,l=Te(2);we(2),oi(" ",r==null?null:r.toLocaleString()," total "),we(),_e("ngIf",l.page),we(),_e("pagerLeftArrowIcon","datatable-icon-left")("pagerRightArrowIcon","datatable-icon-right")("pagerPreviousIcon","datatable-icon-prev")("pagerNextIcon","datatable-icon-skip")("page",n)("size",t)("count",r)("hidden",!(r/t>1))}}function Oq(i,e){if(i&1){let r=et();ke(0,"ngx-datatable",23,20),We("select",function(n){Ne(r);let l=Te();return je(l.onSelect(n))})("page",function(n){Ne(r);let l=Te();return je(l.setPage(n))})("sort",function(n){Ne(r);let l=Te();return je(l.onSort(n))}),$e(2,Tq,2,0,"ngx-datatable-group-header",24)(3,Aq,2,1,"ngx-datatable-row-detail",25),ke(4,"ngx-datatable-footer"),$e(5,Pq,5,10,"ng-template",26),Ae()()}if(i&2){let r=Te();_e("loadingIndicator",r.loading)("ngClass",ih(30,xq,r.gridClass))("columnMode","force")("scrollbarV",r.scrollbarV)("scrollbarH",!0)("rows",r.filteredRows)("columns",r.gridTableColumns)("headerHeight",r.headerHeight)("footerHeight",r.footerHeight)("summaryRow",r.enableSummary)("summaryHeight",r.summaryHeight)("summaryPosition",r.summaryPosition)("rowHeight",r.rowHeight)("rowClass",r.rowClass)("reorderable",!1)("rowIdentity",r.rowIdentity)("groupRowsBy",r.groupRowsBy)("groupExpansionDefault",r.groupExpansionDefault)("selected",r.selected)("selectionType",r.selectionType)("selectCheck",r.selectCheck)("displayCheck",r.displayCheck)("externalPaging",r.externalPaging)("count",r.count())("offset",r.offset())("limit",r.limit())("externalSorting",r.externalSorting)("sorts",r.sorts()),we(2),_e("ngIf",r.groupRowsBy),we(),_e("ngIf",r.rowDetailTemplate)}}function Iq(i,e){}function Rq(i,e){i&1&&Ke(0,"div",41)}function Bq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"input",42),We("input",function(n){let l=Ne(r).$implicit,C=Te();return je(C.onSearch(l,n))})("select",function(n){return Ne(r),je(n.stopPropagation())}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),as("placeholder",r.placeholder),_e("ngModel",t.filter[r.prop])}}function Nq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-date-picker",38),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),Ai("ngModel",t.filter[r.prop])}}function jq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-date-picker",43),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),Ai("ngModel",t.filter[r.prop]),_e("isEndOfDay",!0)}}function Hq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-date-range-picker",38),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),Ai("ngModel",t.filter[r.prop])}}function Fq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-date-picker",44),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),_e("monthOnly",!0)("format","YYYY MMMM"),Ai("ngModel",t.filter[r.prop])}}function Vq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-number-input",38),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),Ai("ngModel",t.filter[r.prop])}}function zq(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"lib-number-range-popover",38),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("ngModelChange",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),Ae()()}if(i&2){let r=e.$implicit,t=Te();we(),Ai("ngModel",t.filter[r.prop])}}function $q(i,e){if(i&1){let r=et();ke(0,"div",41)(1,"div",45)(2,"select",46),Li("ngModelChange",function(n){let l=Ne(r).$implicit,C=Te();return Di(C.filter[l.prop],n)||(C.filter[l.prop]=n),je(n)}),We("change",function(){let n=Ne(r).$implicit,l=Te();return je(l.onFilter(n))}),ke(3,"option",47),Ge(4),Ae(),ke(5,"option",47),Ge(6),Ae(),ke(7,"option",47),Ge(8),Ae()()()()}if(i&2){let r=e.$implicit,t=Te();we(2),Ai("ngModel",t.filter[r.prop]),we(),_e("ngValue",void 0),we(),qt(r.headerBooleanFilterTexts[0]),we(),_e("ngValue",!0),we(),qt(r.headerBooleanFilterTexts[1]),we(),_e("ngValue",!1),we(),qt(r.headerBooleanFilterTexts[2])}}function Wq(i,e){if(i&1&&Ge(0),i&2){let r=e.column,t=e.value;oi(" ",r.cellEnumText[t],` 299`)}}function Yq(i,e){if(i&1&&(Ge(0),St(1,"aDate")),i&2){let r=e.value;oi(" ",Tt(1,1,r),` 300`)}}function Uq(i,e){if(i&1&&(Ge(0),St(1,"aDateTime")),i&2){let r=e.value;oi(" ",Tt(1,1,r),` 301`)}}function Gq(i,e){if(i&1&&(Ge(0),St(1,"aTime")),i&2){let r=e.value;oi(" ",Tt(1,1,r),` 302`)}}function Xq(i,e){if(i&1&&(ke(0,"div",48),Ge(1),St(2,"anInteger"),Ae()),i&2){let r=e.value;we(),oi(" ",Tt(2,1,r)," ")}}function qq(i,e){if(i&1&&(ke(0,"div",48),Ge(1),St(2,"aDecimal"),Ae()),i&2){let r=e.value;we(),oi(" ",t4(2,1,r,"0","2")," ")}}function Zq(i,e){i&1&&(ke(0,"div",49)(1,"span",50),Ke(2,"span")(3,"span")(4,"span"),Ae()())}function Kq(i,e){if(i&1&&(ke(0,"div",51),Ge(1),Ae()),i&2){let r=e.value;we(),oi(" ",r?"\u2713":""," ")}}function Qq(i,e){if(i&1){let r=et();ke(0,"a",54),We("click",function(){Ne(r);let n=Te().row,l=Te();return je(l.edit.emit(n))}),Ke(1,"i",55),Ae()}}function Jq(i,e){if(i&1){let r=et();ke(0,"a",54),We("click",function(){Ne(r);let n=Te().row,l=Te();return je(l.delete.emit(n))}),Ke(1,"i",56),Ae()}}function eZ(i,e){if(i&1&&(ke(0,"div",52),$e(1,Qq,2,0,"a",53)(2,Jq,2,0,"a",53),Ae()),i&2){let r=e.row,t=e.column;we(),_e("ngIf",t.canEdit(r)),we(),_e("ngIf",t.canDelete(r))}}var Mve=(()=>{let e=class e{set dataSub(t){if(this.loadingSub=t,t){let n=window.setTimeout(()=>{this.loading=!0},300);new Promise(l=>{t.add(l)}).then(()=>{window.clearTimeout(n),this.loading=!1}
302).catch(()=>{window.clearTimeout(n),this.loading=!1})}}set rows(t){t&&(this.groupRowsBy?this.dataTable.bodyComponent.rowExpansions=[]:this.rowDetailTemplate&&this.isExpandAllRows&&window.setTimeout(()=>{this.dataTable.rowDetail.expandAllRows()}),this.filteredRows=t,this.originalRows=[...t],this.rowReOrdering&&this.setRowReOrderable())}set columns(t){if(t){for(let n of t){if(n.resizeable===void 0&&(n.resizeable=!1),(this.rowReOrdering||!this.sort)&&(n.sortable=!1),n.headerTemplate?n.headerTemplate===this.booleanHeaderWrapper.template&&!n.headerBooleanFilterTexts&&(n.headerBooleanFilterTexts=["All","True","False"]):this.filter?n.headerTemplate=this.noFilterHeaderWrapper.template:n.headerTemplate=this.headerWrapper.template,n.cellTemplate===this.actionTpl){if(n.canEdit===void 0)n.canEdit=l=>!0;else if(typeof n.canEdit=="boolean"){let l=n.canEdit;n.canEdit=C=>l}if(n.canDelete===void 0)n.canDelete=l=>!0;else if(typeof n.canDelete=="boolean"){let l=n.canDelete;n.canDelete=C=>l}}n.prop==="_action"&&n.sortable===void 0&&(n.sortable=!1),(n.summaryFunc||n.summaryTemplate)&&(this.enableSummary=!0)}this.gridTableColumns=t.filter(n=>n.can!==!1)}}constructor(){this.gridClass="",this.scrollbarV=!1,this.rowHeight="auto",this.headerHeight="auto",this.footerHeight="auto",this.summaryPosition="bottom",this.externalPaging=!1,this.perPageOptions=[10,25,50,100],this.externalSorting=!1,this.rowReOrdering=!1,this.isExpandAllRows=!1,this.selected=[],this.rowsChange=new Qe,this.pageChange=new Qe,this.sortChange=new Qe,this.filterChange=new Qe,this.edit=new Qe,this.delete=new Qe,this.visible=new Qe,this.selectedChange=new Qe,this.rowReOrderChange=new Qe,this.searchTerm$=new pt,this.pageChange$=new pt,this.sortChange$=new pt,this.destroy$=new pt,this.lazyInitReady=!1,this.rowIdentity=t=>this.groupRowsBy?t.key:this.rowId?t[this.rowId]:t,this.selectCheck=(t,n,l)=>!0}ngOnInit(){window.setTimeout(()=>{this.lazyInitReady=!0}),this.groupRowsBy&&this.groupExpansionDefault===void 0&&(this.groupExpansionDefault=!0),this.searchTerm$.pipe(Gi(t=>(t.data&&t.data.trim()?this.filter[t.prop]=t.data:this.filter[t.prop]=void 0,this.filter)),bc(400),un(this.destroy$)).subscribe(t=>this.filterChange.emit(t)),this.pageChange$.pipe(bc(400),un(this.destroy$)).subscribe(t=>this.pageChange.emit(t)),this.sortChange$.pipe(bc(400),un(this.destroy$)).subscribe(t=>this.sortChange.emit(t))}count(){return this.page?this.page.totalCount:0}offset(){return this.page?this.page.page-1:0}limit(){if(this.page)return this.page.perPage}setPage(t){let n={page:t.offset+1,perPage:t.limit,totalCount:t.count};this.pageChange$.next(n)}setPerPage(){this.pageChange$.next(this.page)}sorts(){if(this.sort)return[{prop:this.sort.prop,dir:this.sort.asc?"asc":"desc"}]}onSort(t){if(!t.sorts)return;let n={prop:t.sorts[0].prop,sortBy:t.column.sortBy||t.sorts[0].prop,asc:t.sorts[0].dir==="asc"};this.sort=n,this.sortChange$.next(n)}onSearch(t,n){this.searchTerm$.next({prop:t.prop,data:n.target.value,type:"search"})}onFilter(t){this.filterChange.emit(this.filter)}onSelect({selected:t}){t&&(this.selected.splice(0,this.selected.length),this.displayCheck?this.selected.push(...t.filter(n=>this.displayCheck(n))):this.selected.push(...t),this.selectedChange.emit(this.selected))}internalFilter(t,n){let l=this.originalRows,C=Object.keys(n);for(let B of C)l=l.filter($=>{if(n[B]==="search")return $[B]?$[B].toLowerCase().indexOf(t[B])!==-1||!t[B]:!1;if(n[B]==="equal")return $[B]===t[B]||!t[B];if(typeof n[B]=="function")return n[B]($,B)});this.filteredRows=l}setRowReOrderable(){window.setTimeout(()=>{let t=document.getElementsByTagName("datatable-scroller")[0];t&&(this.sortablejs&&this.sortablejs.destroy(),this.sortablejs=new vA(t,{draggable:".datatable-row-wrapper",handle:".reorder-handle",onEnd:n=>{let l=n.item;n.oldIndex>n.newIndex?l.parentElement.insertBefore(l,n.target.children[n.oldIndex].nextElementSibling):l.parentElement.insertBefore(l,n.target.children[n.oldIndex]);let C=this.filteredRows.splice(n.oldIndex,1)[0];this.filteredRows.splice(n.newIndex,0,C),this.filteredRows=[...this.filteredRows],this.rowReOrderChange.emit({row:C,oldIndex:n.oldIndex,newIndex:n.newIndex}),this.rowsChange.emit(this.filteredRows)}}))},sx)}reCalculate(){this.dataTable.recalculate()}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-grid"]],viewQuery:function(n,l){if(n&1&&(Xt(tq,5),Xt(iq,7),Xt(nq,7),Xt(sq,7),Xt(rq,7),Xt(oq,7),Xt(aq,7),Xt(lq,7),Xt(hq,7),Xt(cq,7),Xt(uq,7),Xt(dq,7),Xt(pq,7),Xt(fq,7),Xt(mq,7),Xt(gq,7),Xt(Eq,7),Xt(bq,7),Xt(yq,7),Xt(vq,7)),n&2){let C;kt(C=At())&&(l.dataTable=C.first),kt(C=At())&&(l.headerWrapper=C.first),kt(C=At())&&(l.noFilterHeaderWrapper=C.first),kt(C=At())&&(l.searchableHeaderWrapper=C.first),kt(C=At())&&(l.startDatePickerHeaderWrapper=C.first),kt(C=At())&&(l.endDatePickerHeaderWrapper=C.first),kt(C=At())&&(l.dateRangePickerHeaderWrapper=C.first),kt(C=At())&&(l.monthPickerHeaderWrapper=C.first),kt(C=At())&&(l.booleanHeaderWrapper=C.first),kt(C=At())&&(l.inputNumberHeaderWrapper=C.first),kt(C=At())&&(l.inputNumberRangeHeaderWrapper=C.first),kt(C=At())&&(l.actionTpl=C.first),kt(C=At())&&(l.enumTpl=C.first),kt(C=At())&&(l.dateTpl=C.first),kt(C=At())&&(l.dateTimeTpl=C.first),kt(C=At())&&(l.timeTpl=C.first),kt(C=At())&&(l.integerTpl=C.first),kt(C=At())&&(l.decimalTpl=C.first),kt(C=At())&&(l.reOrderTpl=C.first),kt(C=At())&&(l.checkMarkTpl=C.first)}},inputs:{gridClass:"gridClass",dataSub:"dataSub",rows:"rows",columns:"columns",scrollbarV:"scrollbarV",rowHeight:"rowHeight",headerHeight:"headerHeight",footerHeight:"footerHeight",summaryHeight:"summaryHeight",summaryPosition:"summaryPosition",externalPaging:"externalPaging",page:"page",filter:"filter",externalSorting:"externalSorting",sort:"sort",rowReOrdering:"rowReOrdering",rowId:"rowId",rowClass:"rowClass",rowDetailTemplate:"rowDetailTemplate",isExpandAllRows:"isExpandAllRows",groupRowsBy:"groupRowsBy",groupExpansionDefault:"groupExpansionDefault",groupRowsTemplate:"groupRowsTemplate",selectionType:"selectionType",selected:"selected",displayCheck:"displayCheck"},outputs:{rowsChange:"rowsChange",pageChange:"pageChange",sortChange:"sortChange",filterChange:"filterChange",edit:"edit",delete:"delete",visible:"visible",selectedChange:"selectedChange",rowReOrderChange:"rowReOrderChange"},decls:59,vars:1,consts:[["headerWrapper",""],["contentTemplate",""],["noFilterHeaderWrapper",""],["searchableHeaderWrapper",""],["startDatePickerHeaderWrapper",""],["endDatePickerHeaderWrapper",""],["dateRangePickerHeaderWrapper",""],["monthPickerHeaderWrapper",""],["inputNumberHeaderWrapper",""],["inputNumberRangeHeaderWrapper",""],["booleanHeaderWrapper",""],["enumTpl",""],["dateTpl",""],["dateTimeTpl",""],["t
302imeTpl",""],["integerTpl",""],["decimalTpl",""],["reOrderTpl",""],["checkMarkTpl",""],["actionTpl",""],["dataTable",""],["groupRowsDefaultTemplate",""],[3,"loadingIndicator","ngClass","columnMode","scrollbarV","scrollbarH","rows","columns","headerHeight","footerHeight","summaryRow","summaryHeight","summaryPosition","rowHeight","rowClass","reorderable","rowIdentity","groupRowsBy","groupExpansionDefault","selected","selectionType","selectCheck","displayCheck","externalPaging","count","offset","limit","externalSorting","sorts","select","page","sort",4,"ngIf"],[3,"select","page","sort","loadingIndicator","ngClass","columnMode","scrollbarV","scrollbarH","rows","columns","headerHeight","footerHeight","summaryRow","summaryHeight","summaryPosition","rowHeight","rowClass","reorderable","rowIdentity","groupRowsBy","groupExpansionDefault","selected","selectionType","selectCheck","displayCheck","externalPaging","count","offset","limit","externalSorting","sorts"],[4,"ngIf"],[3,"rowHeight",4,"ngIf"],["ngx-datatable-footer-template",""],["ngx-datatable-group-header-template",""],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"_group-rows-default-template"],[3,"rowHeight"],["ngx-datatable-row-detail-template",""],[1,"page-count"],[1,"is-inline-block","push-right-2"],["class","select is-vertical-baseline",4,"ngIf"],[3,"change","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden"],[1,"select","is-vertical-baseline"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"control"],["type","text",1,"input",3,"input","select","placeholder","ngModel"],[3,"ngModelChange","ngModel","isEndOfDay"],[3,"ngModelChange","monthOnly","format","ngModel"],[1,"select","is-fullwidth"],[3,"ngModelChange","change","ngModel"],[3,"ngValue"],[1,"text-right"],[1,"is-flex","is-justify-center",2,"line-height","1.5"],[1,"reorder-handle","text-strong"],[1,"text-center"],[1,"is-flex","is-justify-around"],["class","icon is-inline-block",3,"click",4,"ngIf"],[1,"icon","is-inline-block",3,"click"],[1,"ic","ic-pencil"],[1,"ic","ic-trash"]],template:function(n,l){n&1&&($e(0,Oq,6,32,"ngx-datatable",22),ke(1,"lib-grid-header-wrapper",null,0),$e(3,Iq,0,0,"ng-template",null,1,Wi),Ae(),ke(5,"lib-grid-header-wrapper",null,2),$e(7,Rq,1,0,"ng-template",null,1,Wi),Ae(),ke(9,"lib-grid-header-wrapper",null,3),$e(11,Bq,2,2,"ng-template",null,1,Wi),Ae(),ke(13,"lib-grid-header-wrapper",null,4),$e(15,Nq,2,1,"ng-template",null,1,Wi),Ae(),ke(17,"lib-grid-header-wrapper",null,5),$e(19,jq,2,2,"ng-template",null,1,Wi),Ae(),ke(21,"lib-grid-header-wrapper",null,6),$e(23,Hq,2,1,"ng-template",null,1,Wi),Ae(),ke(25,"lib-grid-header-wrapper",null,7),$e(27,Fq,2,3,"ng-template",null,1,Wi),Ae(),ke(29,"lib-grid-header-wrapper",null,8),$e(31,Vq,2,1,"ng-template",null,1,Wi),Ae(),ke(33,"lib-grid-header-wrapper",null,9),$e(35,zq,2,1,"ng-template",null,1,Wi),Ae(),ke(37,"lib-grid-header-wrapper",null,10),$e(39,$q,9,7,"ng-template",null,1,Wi),Ae(),$e(41,Wq,1,1,"ng-template",null,11,Wi)(43,Yq,2,3,"ng-template",null,12,Wi)(45,Uq,2,3,"ng-template",null,13,Wi)(47,Gq,2,3,"ng-template",null,14,Wi)(49,Xq,3,3,"ng-template",null,15,Wi)(51,qq,3,5,"ng-template",null,16,Wi)(53,Zq,5,0,"ng-template",null,17,Wi)(55,Kq,2,1,"ng-template",null,18,Wi)(57,eZ,3,2,"ng-template",null,19,Wi)),n&2&&_e("ngIf",l.lazyInitReady)},dependencies:[jo,si,wt,Ra,Wc,Kf,mn,xl,Ri,Pi,Em,qS,ny,Jb,iy,Kb,sy,ry,Qb,Gk,xA,Yg,CA,Qk,cu,vm,xm,Cm,_m],styles:["._group-rows-default-template[_ngcontent-%COMP%]{padding:.5rem 0;margin-left:1rem}"]});let i=e;return i})();var _A=(i,e)=>({value:i,params:e}),tZ=[Zs("backdrop",[nn("void",di({opacity:"{{ voidOpacity }}"}),{params:{voidOpacity:0}}),nn("open",di({opacity:"{{ openOpacity }}"}),{params:{openOpacity:1}}),nn("closed",di({opacity:"{{ closedOpacity }}"}),{params:{closedOpacity:0}}),sn("void => open",Qi("{{ openAnimate }}"),{params:{openAnimate:"150ms linear"}}),sn("open => closed",Qi("{{ closedAnimate }}"),{params:{closedAnimate:"150ms linear"}})]),Zs("card",[nn("void",di({opacity:"{{ voidOpacity }}",transform:"{{ voidTransform }}"}),{params:{voidOpacity:0,voidTransform:"scale(0.5)"}}),nn("open",di({opacity:"{{ openOpacity }}",transform:"{{ openTransform }}"}),{params:{openOpacity:1,openTransform:"scale(1)"}}),nn("closed",di({opacity:"{{ closedOpacity }}",transform:"{{ closedTransform }}"}),{params:{closedOpacity:0,closedTransform:"scale(0.5)"}}),sn("void => open",Qi("{{ openAnimate }}"),{params:{openAnimate:"200ms ease-out"}}),sn("open => closed",Qi("{{ closedAnimate }}"),{params:{closedAnimate:"150ms ease-in-out"}})])],Dve=(()=>{let e=class e extends kh{ngAfterViewInit(){if(this.data.customElement){let t=document.querySelector(".modal-content");t==null||t.appendChild(this.data.customElement)}}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275cmp=st({type:e,selectors:[["image-viewer-popup"]],features:[Nt],decls:5,vars:15,consts:[[1,"modal","modal
302-auto","is-active",3,"id"],[1,"modal-background",3,"click"],[1,"modal-content"],[3,"src"],["type","button","aria-label","close",1,"modal-close","is-large",3,"click"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1),We("@backdrop.done",function(B){return l.onBackdropAnimationDone(B)})("click",function(){return l.onDismiss()}),Ae(),ke(2,"div",2),We("@card.done",function(B){return l.onCardAnimationdropDone(B)}),Ke(3,"img",3),Ae(),ke(4,"button",4),We("click",function(){return l.onDismiss()}),Ae()()),n&2&&(as("id",l.modalId),_e("@.disabled",!l.isAnimated),we(),_e("@backdrop",cr(9,_A,l.animationState,l.backdropAnimations)),we(),_e("@card",cr(12,_A,l.animationState,l.cardAnimations)),we(),Ti("max-height",l.data.maxHeight,"px"),ht("_is-scale-to-large",l.data.scaleToLarge),_e("src",l.data.imageUrl,No))},styles:[".modal-close[_ngcontent-%COMP%]{background:#fff;opacity:.5}img._is-scale-to-large[_ngcontent-%COMP%]{width:90vw;height:90vh;object-fit:contain;background-color:#fff}"],data:{animation:tZ}});let i=e;return i})();function iZ(i,e){if(i&1&&(ke(0,"a",7),Ge(1),Ae()),i&2){let r=Te().$implicit,t=Te(2);ht("is-current",t.page===r.value),we(),qt(r.label)}}function nZ(i,e){i&1&&(ke(0,"span",8),Ge(1,"\u2026"),Ae())}function sZ(i,e){if(i&1){let r=et();ke(0,"li",4),We("click",function(){let n=Ne(r).$implicit,l=Te(2);return je(l.setPage(n))}),$e(1,iZ,2,3,"a",5)(2,nZ,2,0,"span",6),Ae()}if(i&2){let r=e.$implicit;we(),_e("ngIf",r.label!=="..."),we(),_e("ngIf",r.label==="...")}}function rZ(i,e){if(i&1&&(ke(0,"nav",1)(1,"ul",2),$e(2,sZ,3,2,"li",3),Ae()()),i&2){let r=Te();we(2),_e("ngForOf",r.pages)}}var Bve=(()=>{let e=class e{constructor(){this.page=1,this.perPage=10,this.totalCount=0,this.pageChange=new Qe,this.pageCount=1,this.pages=[],this.maxSize=7}ngOnInit(){}ngOnChanges(t){this.pageCount=Math.ceil(this.totalCount/this.perPage),this.pages=this.createPageArray(this.page,this.pageCount,this.maxSize)}setPage(t){t.label!=="..."&&(this.pageChange.emit(t.value),window.setTimeout(()=>{this.pages=this.createPageArray(t.value,this.pageCount,this.maxSize)},400))}createPageArray(t,n,l){l=+l;let C=[],B=Math.ceil(l/2),$=t<=B,K=n-B<t,G=!$&&!K,q=l<n,Z=1;for(;Z<=n&&Z<=l;){let R,Y=this.calculatePageNumber(Z,t,l,n),V=Z===2&&(G||K),H=Z===l-1&&(G||$);q&&(V||H)?R="...":R=Y,C.push({label:R,value:Y}),Z++}return C}calculatePageNumber(t,n,l,C){let B=Math.ceil(l/2);return t===l?C:t===1?t:l<C?C-B<n?C-l+t:B<n?n-B+t:t:t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-pagination"]],inputs:{page:"page",perPage:"perPage",totalCount:"totalCount"},outputs:{pageChange:"pageChange"},features:[ki],decls:1,vars:1,consts:[["class","pagination","role","navigation","aria-label","pagination",4,"ngIf"],["role","navigation","aria-label","pagination",1,"pagination"],[1,"pagination-list"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],["class","pagination-link",3,"is-current",4,"ngIf"],["class","pagination-ellipsis",4,"ngIf"],[1,"pagination-link"],[1,"pagination-ellipsis"]],template:function(n,l){n&1&&$e(0,rZ,3,1,"nav",0),n&2&&_e("ngIf",l.pages.length>1)},dependencies:[si,wt]});let i=e;return i})();function oZ(i,e){if(i&1&&(ke(0,"span",4),Ke(1,"i"),Ae()),i&2){let r=Te().$implicit;we(),xs("ic ",r.icon,"")}}function aZ(i,e){if(i&1){let r=et();ke(0,"li",2),We("click",function(){let n=Ne(r).$implicit,l=Te();return je(l.changeTab(n))}),ke(1,"a"),$e(2,oZ,2,3,"span",3),ke(3,"span"),Ge(4),Ae()()()}if(i&2){let r=e.$implicit,t=Te();ht("is-active",t.activeTabId===r.id)("is-disabled",r.disabled),we(2),_e("ngIf",r.icon),we(2),qt(r.name)}}var $ve=(()=>{let e=class e{constructor(t,n){this.router=t,this.cdr=n,this.isInsideModal=!1,this.replaceUrl=!1,this.tabClass="",this.activeTabIdChange=new Qe}ngOnChanges(t){t.tabs&&(this.tabs=this.tabs.filter(n=>n.can||n.can===void 0),this.cdr.markForCheck())}changeTab(t){var n;this.activeTab??(this.activeTab=this.tabs.find(l=>l.id===this.activeTabId)),!((n=this.activeTab)!=null&&n.canDeactivate&&!this.activeTab.canDeactivate())&&(this.activeTab=t,this.activeTabId=t.id,this.isInsideModal||this.router.navigate([],{replaceUrl:this.replaceUrl,fragment:t.id}
302),this.activeTabIdChange.emit(t.id))}};e.\u0275fac=function(n){return new(n||e)(Ie(ml),Ie(ti))},e.\u0275cmp=st({type:e,selectors:[["lib-tab"]],inputs:{tabs:"tabs",activeTabId:"activeTabId",isInsideModal:"isInsideModal",replaceUrl:"replaceUrl",tabClass:"tabClass"},outputs:{activeTabIdChange:"activeTabIdChange"},features:[ki],decls:4,vars:4,consts:[[1,"container","is-fullwidth"],["class","is-clickable",3,"is-active","is-disabled","click",4,"ngFor","ngForOf"],[1,"is-clickable",3,"click"],["class","icon",4,"ngIf"],[1,"icon"]],template:function(n,l){n&1&&(ke(0,"div")(1,"div",0)(2,"ul"),$e(3,aZ,5,6,"li",1),Ae()()()),n&2&&(xs("tabs ",l.tabClass,""),we(3),_e("ngForOf",l.tabs))},dependencies:[si,wt],styles:[".tabs[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{border-bottom:none}.tabs[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.is-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#50bde6;background-color:#f2f2f2;font-weight:500}.tabs[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-child) a[_ngcontent-%COMP%]{border-right:none}.tabs[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border:1px solid #f2f2f2;font-size:1.8rem;font-weight:300;color:#3d515c;margin-bottom:0}"],changeDetection:0});let i=e;return i})();var lZ=["*"];function hZ(i,e){if(i&1&&(ke(0,"div",9)(1,"span"),KC(2,0),Ae(),ke(3,"span"),Ge(4),Ae()()),i&2){let r=Te();we(4),dd("",r.question.order," / ",r.totalQuestion,"")}}function cZ(i,e){if(i&1&&Ke(0,"div",10),i&2){let r=Te();_e("innerHTML",r.question.desc,hi)}}var Yve=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-exam-item-preview"]],inputs:{partName:"partName",totalQuestion:"totalQuestion",question:"question"},ngContentSelectors:lZ,decls:10,vars:3,consts:()=>{let t;return t=$localize`:@@questionâ022ac6fca849a6f3a81a61113cb8aa77375c143fâ6643224572814645270:à¸à¸³à¸à¸²à¸¡`,[t,[1,"_g-exam-container"],[1,"_g-exam-layout"],[1,"_g-question-side"],[1,"_g-part-info"],[1,"_g-part-name"],["class","is-horizontal is-spacing",4,"ngIf"],[1,"_g-exam-item-component"],["class","_g-html-side fr-view",3,"innerHTML",4,"ngIf"],[1,"is-horizontal","is-spacing"],[1,"_g-html-side","fr-view",3,"innerHTML"]]},template:function(n,l){n&1&&(wn(),ke(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),Ge(5),Ae(),$e(6,hZ,5,2,"div",6),Ae(),ke(7,"div",7),tn(8),Ae()(),$e(9,cZ,1,1,"div",8),Ae()()),n&2&&(we(5),oi(" ",l.partName," "),we(),_e("ngIf",l.totalQuestion),we(3),_e("ngIf",l.question.desc))},dependencies:[wt],styles:["[_nghost-%COMP%]{display:block;height:100%}"]});let i=e;return i})();var Kve=(()=>{let e=class e{constructor(){this.onChange=()=>{}}ngOnChanges(){this.onChange()}validate(t){return t.value===void 0||t.value===null||t.value===""||this.vEqualTo===t.value?null:{vEqualTo:{targetValue:this.vEqualTo,targetName:this.targetName}}}registerOnValidatorChange(t){this.onChange=t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=ft({type:e,selectors:[["","vEqualTo","","ngModel",""]],inputs:{vEqualTo:"vEqualTo",targetName:"targetName"},features:[Ot([{provide:Is,useExisting:$t(()=>e),multi:!0}]),ki]});let i=e;return i})();var OA=ys(SA(),1);var IA=ys(TA(),1),RA=ys(AA(),1),BA=ys(LA(),1);var g1=new Ht("HighchartsModules"),PA=(()=>{let e=class e{constructor(t){this.chartModules=t}initModules(){this.chartModules.forEach(t=>{[OA,RA,IA,BA].forEach(t)})}};e.\u0275fac=function(n){return new(n||e)(qe(g1))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var NA=(()=>{let e=class e{constructor(t){this.cs=t,this.cs.initModules()}};e.\u0275fac=function(n){return new(n||e)(qe(PA))},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[{provide:g1,useValue:[]},PA]});let i=e;return i})();var uZ=ys(jA());var ox=(()=>{let e=class e{set showAll(t){this._showAll=!!t,this._showAll&&typeof t=="string"&&(this.showAllText=t),this.showPlaceHolder=!this._showAll||this._showAll&&this.showAllValue!==void 0}constructor(t){this.cdr=t,this.hostClass="base-control",this.isPrimitive=!1,this.autoReset=!1,this.showAllValue=void 0,this.loaded=new Qe,this.isOptionListPrimitive=!1,this.idAttr="id",this.textAttr="name",this.showAllText="All",this.showPlaceHolder=!0,this.inputChanges=[],this.compareFn=(n,l)=>n&&l?n[this.idAttr]===l[this.idAttr]:n===l,this.compareFnBothPrimitive=(n,l)=>n===l,this.onChange=n=>{},this.onTouched=n=>{}}ngOnChanges(t){this.inputChanges.some(n=>t[n]&&!t[n].firstChange)&&(this.autoReset&&this.reset(),this.getOptionList())}ngOnInit(){this.setDefaultCompareWith(),this.getOptionList()}ngOnDestroy(){this.getOptionListSub&&this.getOptionListSub.unsubscribe()}displayOption(t){return this.isOptionListPrimitive?t:t[this.textAttr]}trackByIdAttr(t,n){return this.isOptionListPrimitive?n:n[this.idAttr]}onSelect(){this.isOptionListPrimitive===this.isPrimitive?this.onChange(this.value):this.isPrimitive?this.onChange(this.value?this.value[this.idAttr]:this.value):this.onChange({[this.idAttr]:this.value})}onBlur(t){this.onTouched(t)}reset(){this._showAll?this.value=this.showAllValue:this.value=void 0,window.setTimeout(()=>{this.onSelect()})}writeValue(t){t==null?this.value=t:this.isOptionListPrimitive===this.isPrimitive?this.value=t:this.isPrimitive?this.value={[this.idAttr]:t}:this.value=t[this.idAttr],this.cdr.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this.cdr&&this.cdr.markForCheck()}setDefaultCompareWith(){this.compareWith||(this.isOptionListPrimitive&&this.isPrimitive?this.compareWith=this.compareFnBothPrimitive:this.compareWith=this.compareFn)}apiOptionListGet$(){return lr({data:[]})}getOptionList(){this.loading=!0,this.getOptionListSub=this.apiOptionListGet$().pipe(Cr(()=>{this.loading=!1,this.cdr.markForCheck()})).subscribe(({data:t})=>{this.optionList=t,this.loaded.emit(this.optionList)})}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275dir=ft({type:e,hostVars:2,hostBindings:function(n,l){n&2&&xi(l.hostClass)},inputs:{controlClass:"controlClass",placeholder:"placeholder",compareWith:"compareWith",isPrimitive:"isPrimitive",autoReset:"autoReset",showAll:"showAll",showAllValue:"showAllValue"},outputs:{loaded:"loaded"}
302,features:[ki]});let i=e;return i})();var HA=(()=>{let e=class e extends ox{constructor(t){super(t),this.cdr=t,this.termSubject=new pt,this.minTermLength=0,this.page=1,this.pageSize=5,this.hideSelected=!1}ngOnInit(){this.optionList=[],this.termSubject.pipe(bc(300),yc(t=>{this.optionList=[],this.page=1,this.term=t,this.getOptionList()})).subscribe(),super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy(),this.termSubject.unsubscribe()}searchFn(t,n){return!0}search({term:t}){this.termSubject.next(t)}more(){this.loading||(this.page+=1,this.getOptionList(!0))}getOptionList(t=!1){if(this.minTermLength&&(!this.term||this.term.length<this.minTermLength)){this.hasMore=!1,this.cdr.markForCheck();return}this.loading=!0,this.getOptionListSub&&this.getOptionListSub.unsubscribe(),this.getOptionListSub=this.apiOptionListGet$().pipe(Cr(()=>{this.loading=!1,this.cdr.markForCheck()})).subscribe(({data:n,headers:l})=>{t?this.optionList=[...this.optionList,...n]:(this.optionList=n,this.loaded.emit(this.optionList));let{totalCount:C}=rn.getPageHeaders(l);C!=null&&(this.hasMore=this.optionList.length<C)})}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275dir=ft({type:e,features:[Nt]});let i=e;return i})();var Zxe=(()=>{let e=class e extends HA{constructor(t){super(t),this.cdr=t,this.addable=!1,this.hideSelected=!0,this.addTagFn=n=>this.isOptionListPrimitive?n:{[this.textAttr]:n}}onSelect(){this.isOptionListPrimitive===this.isPrimitive?this.onChange(this.values):this.isPrimitive?this.onChange(this.values?this.values.map(t=>t[this.idAttr]):this.values):this.onChange(this.values?this.values.map(t=>({[this.idAttr]:t})):this.values)}reset(){this.values=[],window.setTimeout(()=>{this.onSelect()})}writeValue(t){t==null?this.values=t:this.isOptionListPrimitive===this.isPrimitive?this.values=t:this.isPrimitive?this.values=t&&t.map(n=>({[this.idAttr]:n})):this.values=t?t.map(n=>n[this.idAttr]):this.values,this.cdr.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(Ie(ti))},e.\u0275dir=ft({type:e,inputs:{addable:"addable"},features:[Nt]});let i=e;return i})();var tc=(()=>{let e=class e{constructor(t){this.libCookieConsentService=t,this.CookieLocaleEnum=ru}setLocale(t){this.libCookieConsentService.setLocale(t)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs))},e.\u0275cmp=st({type:e,selectors:[["lib-cookie-locale-switch"]],decls:8,vars:4,consts:[[1,"is-clickable",3,"click"]],template:function(n,l){n&1&&(ke(0,"span"),Ge(1," ["),ke(2,"span",0),We("click",function(){return l.setLocale(l.CookieLocaleEnum.th)}),Ge(3,"\u0E44\u0E17\u0E22"),Ae(),Ge(4," | "),ke(5,"span",0),We("click",function(){return l.setLocale(l.CookieLocaleEnum.en)}),Ge(6,"EN"),Ae(),Ge(7,"] "),Ae()),n&2&&(we(2),ht("text-primary",l.libCookieConsentService.activeLocale===l.CookieLocaleEnum.th),we(3),ht("text-primary",l.libCookieConsentService.activeLocale===l.CookieLocaleEnum.en))},encapsulation:2});let i=e;return i})();function dZ(i,e){if(i&1&&(ke(0,"a",0),Ge(1),Ae()),i&2){let r=Te();_e("href",r.cookieConsentConfig.cookiePolicyLink,No),we(),qt(r.text[r.libCookieConsentService.activeLocale].cookiePolicy)}}function pZ(i,e){if(i&1){let r=et();ke(0,"a",2),We("click",function(){Ne(r);let n=Te();return je(n.clickInternalLink())}),Ge(1),Ae()}if(i&2){let r=Te();we(),qt(r.text[r.libCookieConsentService.activeLocale].cookiePolicy)}}var b1=(()=>{let e=class e{constructor(t,n){this.libCookieConsentService=t,this.router=n,this.text={th:{continueReading:"\u0E28\u0E36\u0E01\u0E29\u0E32\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21\u0E44\u0E14\u0E49\u0E17\u0E35\u0E48",cookiePolicy:"\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49"},en:{continueReading:"You can read more detail by clicking",cookiePolicy:"Cookies Policy"}},this.cookieConsentConfig=t.getConfig()}isString(t){return typeof t=="string"}clickInternalLink(){this.cookieConsentConfig.cookiePolicyLink&&(this.libCookieConsentService.modalSetting.isOpen&&this.libCookieConsentService.modalSetting.close(),this.router.navigate(this.cookieConsentConfig.cookiePolicyLink))}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs),Ie(ml))},e.\u0275cmp=st({type:e,selectors:[["lib-cookie-policy-link"]],decls:5,vars:4,consts:[["target","_blank","rel","noopener",1,"text-link",3,"href"],[1,"text-link"],[1,"text-link",3,"click"]],template:function(n,l){n&1&&(ke(0,"span")(1,"span"),Ge(2),Ae(),$e(3,dZ,2,2,"a",0)(4,pZ,2,1,"a",1),Ae()),n&2&&(we(),ht("push-right-1",!l.libCookieConsentService.isThai),we(),qt(l.text[l.libCookieConsentService.activeLocale].continueReading),we(),cd(l.isString(l.cookieConsentConfig.cookiePolicyLink)?3:4))},encapsulation:2});let i=e;return i})();function fZ(i,e){i&1&&(Wn(0),Ke(1,"lib-cookie-locale-switch"),Yn())}function mZ(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E40\u0E23\u0E32\u0E43\u0E0A\u0E49\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1E\u0E31\u0E12\u0E19\u0E32\u0E1B\u0E23\u0E30\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E20\u0E32\u0E1E \u0E41\u0E25\u0E30\u0E1B\u0E23\u0E30\u0E2A\u0E1A\u0E01\u0E32\u0E23\u0E13\u0E4C\u0E17\u0E35\u0E48\u0E14\u0E35\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13"),Ae())}function gZ(i,e){i&1&&(ke(0,"span"),Ge(1," We use cookies to improve your online experience. "),Ae())}function EZ(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49"),Ae())}function bZ(i,e){i&1&&(ke(0,"span"),Ge(1,"Cookies Setting"),Ae())}function yZ(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E22\u0E2D\u0E21\u0E23\u0E31\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14"),Ae())}function vZ(i,e){i&1&&(ke(0,"span"),Ge(1,"Accept all"),Ae())}var VA=(()=>{let e=class e{constructor(t){this.libCookieConsentService=t,this.cookieConsentConfig=t.getConfig()}cookieSetting(){this.libCookieConsentService.openSetting()}acceptAll(){this.libCookieConsentService.acceptAll()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs))},e.\u0275cmp=st({type:e,selectors:[["lib-cookie-notice"]],decls:17,vars:7,consts:[[1,"container"],[1,"level"],[1,"level-left","is-percent-58-tablet","is-percent-70-desktop"],[1,"level-item","is-flex-1"],[4,"ngIf"],[1,"level-right"],[1,"level-item"],[1,"button","push-right-1",3,"click"],[1,"button","is-primary",3,"click"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span"),$e(5,fZ,2,0,"ng-container",4)(6,mZ,2,0,"span",4)(7,gZ,2,0,"span",4),Ke(8,"lib-cookie-policy-link"),Ae()()(),ke(9,"div",5)(10,"div",6)(11,"button",7),We("click",function(){return l.cookieSetting()}),$e(12,EZ,2,0,"span",4)(13,bZ,2,0,"span",4),Ae(),ke(14,"button",8),We("click",function(){return l.acceptAll()}),$e(15,yZ,2,0,"span",4)(16,vZ,2,0,"span",4),Ae()()()()()),n&2&&(we(5),_e("ngIf",!l.cookieConsentConfig.isSingleLocale),we(),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai),we(5),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai),we(2),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai))},dependencies:[wt,tc,b1],styles:["[_nghost-%COMP%]{position:fixed;bottom:0;left:0;right:0;background-color:#fff;padding:1em;box-shadow:0 2px 2px #0000001a,0 2px 4px #0000001a,0 4px 8px #0000001a,0 8px 16px #0000001a,0 16px 32px #0000001a;z-index:999}"]});let i=e;return i})();
302var CZ=["modalSetting"];function _Z(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49"),Ae())}function wZ(i,e){i&1&&(ke(0,"span"),Ge(1,"Cookies Setting"),Ae())}function SZ(i,e){i&1&&(Wn(0),Ke(1,"lib-cookie-locale-switch"),Yn())}function MZ(i,e){if(i&1){let r=et();ke(0,"div",11)(1,"header",12),We("click",function(){let n=Ne(r).$implicit;return je(n.isCollapsed=!n.isCollapsed)}),ke(2,"button",13)(3,"span",14),Ke(4,"div",15),Ae()(),ke(5,"div",16)(6,"p"),Ge(7),Ae(),ke(8,"label",17),We("click",function(n){return Ne(r),je(n.stopPropagation())}),ke(9,"input",18),Li("ngModelChange",function(n){let l=Ne(r).$implicit;return Di(l.isActive,n)||(l.isActive=n),je(n)}),Ae(),Ke(10,"span"),Ae()()(),ke(11,"div",19)(12,"div",20),Ge(13),Ae()()()}if(i&2){let r=e.$implicit,t=Te();we(4),ht("_collapsed",r.isCollapsed),we(3),qt(r[t.libCookieConsentService.activeLocale].title),we(2),Ai("ngModel",r.isActive),_e("disabled",r.isRequired),we(2),ht("_collapsed",r.isCollapsed),we(2),oi(" ",r[t.libCookieConsentService.activeLocale].content," ")}}function TZ(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E25\u0E30\u0E22\u0E2D\u0E21\u0E23\u0E31\u0E1A"),Ae())}function kZ(i,e){i&1&&(ke(0,"span"),Ge(1,"Save & Accept"),Ae())}function AZ(i,e){i&1&&(ke(0,"span"),Ge(1,"\u0E22\u0E2D\u0E21\u0E23\u0E31\u0E1A\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14"),Ae())}function DZ(i,e){i&1&&(ke(0,"span"),Ge(1,"Accept all"),Ae())}var zA=(()=>{let e=class e{constructor(t){this.libCookieConsentService=t,this.cookieConsentConfig=t.getConfig()}ngOnInit(){this.libCookieConsentService.setModalSetting(this.modalSetting)}saveSetting(){this.libCookieConsentService.saveSetting()}acceptAll(){this.libCookieConsentService.acceptAll()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs))},e.\u0275cmp=st({type:e,selectors:[["lib-cookie-setting"]],viewQuery:function(n,l){if(n&1&&Xt(CZ,7),n&2){let C;kt(C=At())&&(l.modalSetting=C.first)}},decls:20,vars:8,consts:[["modalSetting",""],[4,"ngIf"],[1,"text-size-medium","text-weight-normal","_locale-wrapper"],[1,"_content-wrapper"],[1,"push-bottom-2"],["class","card",4,"ngFor","ngForOf"],[1,"is-relative"],[1,"push-bottom-1"],[1,"buttons","is-justify-end"],[1,"button",3,"click"],[1,"button","is-primary",3,"click"],[1,"card"],[1,"card-header","is-clickable",3,"click"],["aria-label","more options",1,"card-header-icon"],[1,"icon"],[1,"triangle-right"],[1,"card-header-title","is-justify-between"],[3,"click"],["type","checkbox",1,"switch","is-rounded",3,"ngModelChange","ngModel","disabled"],[1,"card-content"],[1,"content"]],template:function(n,l){if(n&1){let C=et();ke(0,"soft-modal",null,0)(2,"modal-title"),$e(3,_Z,2,0,"span",1)(4,wZ,2,0,"span",1),Ae(),ke(5,"div",2),$e(6,SZ,2,0,"ng-container",1),Ae(),ke(7,"div",3)(8,"div",4),$e(9,MZ,14,8,"div",5),Ae(),ke(10,"div",6)(11,"div",7),Ke(12,"lib-cookie-policy-link"),Ae(),ke(13,"div",8)(14,"button",9),We("click",function(){return Ne(C),je(l.saveSetting())}),$e(15,TZ,2,0,"span",1)(16,kZ,2,0,"span",1),Ae(),ke(17,"button",10),We("click",function(){return Ne(C),je(l.acceptAll())}),$e(18,AZ,2,0,"span",1)(19,DZ,2,0,"span",1),Ae()()()()()}n&2&&(we(3),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai),we(2),_e("ngIf",!l.cookieConsentConfig.isSingleLocale),we(3),_e("ngForOf",l.libCookieConsentService.mCookieSetting),we(6),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai),we(2),_e("ngIf",l.libCookieConsentService.isThai),we(),_e("ngIf",!l.libCookieConsentService.isThai))},dependencies:[si,wt,mh,Ri,Pi,nw,sw,tc,b1],styles:["._locale-wrapper[_ngcontent-%COMP%]{position:absolute;top:19px}._content-wrapper[_ngcontent-%COMP%]{margin-top:-15px}.switch[type=checkbox][_ngcontent-%COMP%] + span[_ngcontent-%COMP%]:after{top:.3rem;width:1.8rem;height:1.8rem}.switch[type=checkbox][_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%]:after{left:2.7rem}.card-header-icon[_ngcontent-%COMP%]{background:0 0;border:none}.card-content[_ngcontent-%COMP%]{transition:max-height .3s,padding .3s;max-height:200px;overflow:hidden}.card-content._collapsed[_ngcontent-%COMP%]{max-height:0px;padding-top:0;padding-bottom:0}.triangle-right[_ngcontent-%COMP%]{transition:transform .3s;transform:rotate(90deg)}.triangle-right._collapsed[_ngcontent-%COMP%]{transform:rotate(0)}.button[_ngcontent-%COMP%]{margin-bottom:0}"]});let i=e;return i})();function PZ(i,e){i&1&&Ke(0,"lib-cookie-notice"),i&2&&_e("@slideInOut",void 0)}function OZ(i,e){if(i&1&&(Wn(0),$e(1,PZ,1,1,"lib-cookie-notice",0),Ke(2,"lib-cookie-sett
302ing"),Yn()),i&2){let r=Te();we(),_e("ngIf",!r.isAcceptedCookie)}}var $A=300,p3e=(()=>{let e=class e{constructor(t){this.libCookieConsentService=t,this.isAcceptedCookie=!0,t.isAcceptCookie$.subscribe(n=>{this.isAcceptedCookie=n}),this.cookieConsentConfig=t.getConfig()}cookieSetting(){this.libCookieConsentService.openSetting()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs))},e.\u0275cmp=st({type:e,selectors:[["lib-cookie-consent"]],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(n,l){n&1&&$e(0,OZ,3,1,"ng-container",0),n&2&&_e("ngIf",!l.cookieConsentConfig.disabled)},dependencies:[wt,VA,zA],encapsulation:2,data:{animation:[Zs("slideInOut",[sn(":enter",[di({transform:"translate(0, 100%)"}),Qi(`${$A}ms ease-in`,di({transform:"translate(0, 0%)"}))]),sn(":leave",[di({transform:"translate(0, 0%)"}),Qi(`${$A}ms ease-out`,di({transform:"translate(0, 100%)"}))])])]}});let i=e;return i})();function IZ(i,e){if(i&1&&(ke(0,"a",2),Ge(1,"Terms and Conditions"),Ae()),i&2){let r=Te(2);_e("href",r.cookieConsentConfig.termsConditionsLink,No)}}function RZ(i,e){if(i&1&&(ke(0,"a",3),Ge(1,"Terms and Conditions"),Ae()),i&2){let r=Te(2);_e("routerLink",r.cookieConsentConfig.termsConditionsLink)}}function BZ(i,e){if(i&1&&(ke(0,"a",2),Ge(1,"Privacy Policy"),Ae()),i&2){let r=Te(2);_e("href",r.cookieConsentConfig.privacyPolicyLink,No)}}function NZ(i,e){if(i&1&&(ke(0,"a",3),Ge(1,"Privacy Policy"),Ae()),i&2){let r=Te(2);_e("routerLink",r.cookieConsentConfig.privacyPolicyLink)}}function jZ(i,e){if(i&1){let r=et();ke(0,"a",5),We("click",function(){Ne(r);let n=Te(2);return je(n.cookieSetting())}),Ge(1,"Cookies Setting"),Ae()}}function HZ(i,e){if(i&1&&(Wn(0),ke(1,"a",1),Ge(2,"Home"),Ae(),$e(3,IZ,2,1,"a",2)(4,RZ,2,1,"a",3)(5,BZ,2,1,"a",2)(6,NZ,2,1,"a",3)(7,jZ,2,0,"a",4),Yn()),i&2){let r=Te();we(),_e("href","/",No),we(2),cd(r.isString(r.cookieConsentConfig.termsConditionsLink)?3:4),we(2),cd(r.isString(r.cookieConsentConfig.privacyPolicyLink)?5:6),we(2),_e("ngIf",r.isWeb)}}var g3e=(()=>{let e=class e{constructor(t){this.libCookieConsentService=t,this.isInvertColor=!1,this.isWeb=!rn.isDesktopApp()&&!rn.isMobileApp(),this.cookieConsentConfig=t.getConfig()}isString(t){return typeof t=="string"}cookieSetting(){this.libCookieConsentService.openSetting()}};e.\u0275fac=function(n){return new(n||e)(Ie(Bs))},e.\u0275cmp=st({type:e,selectors:[["lib-policy-menu"]],inputs:{isInvertColor:"isInvertColor"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"text-link","push-right-2",3,"href"],["target","_blank","rel","noopener",1,"text-link","push-right-2",3,"href"],[1,"text-link","push-right-2",3,"routerLink"],["class","text-link",3,"click",4,"ngIf"],[1,"text-link",3,"click"]],template:function(n,l){n&1&&$e(0,HZ,8,4,"ng-container",0),n&2&&_e("ngIf",!l.cookieConsentConfig.disabled)},dependencies:[wt,u4],encapsulation:2,changeDetection:0});let i=e;return i})();var y0=(()=>{let e=class e{static forRoot(t){return{ngModule:e,providers:[{provide:ou,useValue:t},Bs]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,Eh,fd,fp,_b]});let i=e;return i})();var KZ=ys(WA()),QZ=ys(YA()),JZ=ys(UA());var Lo=ys(Dl()),G3e=ys(XA());function FZ(){return{key:`${Ab("Rl90xUd3lPBnUDPGUG")}-${Ab("J1RnkD03DKju2p7kNvjwE3MDxmCgYStztAxKrvguExwqgwhYMY")}==`}}Lo.default.DEFAULTS=xt(ze(ze({},Lo.default.DEFAULTS),FZ()),{language:"en_gb",enter:Lo.default.ENTER_BR,attribution:!1,toolbarSticky:!1,htmlAllowedAttrs:[...Lo.default.DEFAULTS.htmlAllowedAttrs,"controlsList"]});Lo.default.LANGUAGE.en_gb.translation["Paste in a video URL"]=`Paste ${Eu.join(", ")} URL`;Lo.default.LANGUAGE.en_gb.translation["Paste in an audio URL"]="Paste audio URL";Lo.default.LANGUAGE.en_gb.translation["Drop file"]=`File types: ${fr.file.join(", ")}<br>Max size: ${An.file}MB`;Lo.default.LANGUAGE.en_gb.translation["Drop image"]=`File types: ${fr.image.join(", ")}<br>Max size: ${An.image}MB`;Lo.default.LANGUAGE.en_gb.translation["Drop video"]=`File types: ${fr.video.join(", ")}<br>Max size: ${An.video}MB`;Lo.default.LANGUAGE.en_gb.translation["Drop audio"]=`File type: ${fr.audio.join(", ")}<br>Max size: ${An.audio}MB`;Lo.default.LANGUAGE.en_gb.translation["or click"]="Drop file here or click";var VZ=ys(qA()),ZA=ys(Dl());function C1(i,e,r){return e in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}(function(i,e,r){i.POPUP_TEMPLATES=Object.assign(i.POPUP_TEMPLATES,{"audio.insert":"[_BUTTONS_][_UPLOAD_LAYER_][_PROGRESS_BAR_]","audio.edit":"[_BUTTONS_]"}),i.DEFAULTS=Object.assign(i.DEFAULTS,{audioAllowedTypes:["mp3","mpeg","x-m4a"],audioEditButtons:["audioReplace","audioRemove","|","audioAutoplay","audioAlign"],audioInsertButtons:["audioBack","|","audioUpload"],audioMove:!0,audioSplitHTML:!1,audioUpload:!0,audioUploadMethod:"POST",audioUploadParam:"file",audioUploadParams:{},audioUploadURL:"https://i.froala.com/upload"}),i.SVG=Object.assign(i.SVG,{insertAudio:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}),i.PLUGINS.audio=function(t){var n,l=1,C=2,B=4,$=8,K=(n={},C1(n,l,"No link in upload response."),C1(n,C,"Error during file upload."),C1(n,B,"Parsing response failed."),C1(n,$,"Unsupported file type - please provide an audio file."),n),G=null,q=function(v){v||(v=t.$el.find(".fr-audio")),v.length&&(t.toolbar.enable(),v.removeClass("fr-active"),G=null)},Z=function(v){t.events.$on(v,"dragover dragenter",".fr-audio-upload-layer",function(){return e(this).addClass("fr-drop"),!1},!0),t.events.$on(v,"dragleave dragend",".fr-audio-upload-layer",function(){return e(this).removeClass("fr-drop"),!1},!0),t.events.$on(v,"drop",".fr-audio-upload-layer",function(p){p.preventDefault(),p.stopPropagation(),e(this).removeClass("fr-drop");var a=p.originalEvent.dataTransfer;if(a&&a.files){var o=v.data("instance")||t;o.events.disableBlur(),o.audio.upload(a.files),o.events.enableBlur()}},!0),t.helpers.isIOS()&&t.events.$on(v,"touchstart",'.fr-audio-upload-layer input[type="file"]',function(){e(this).trigger("click")},!0),t.events.$on(v,"change",'.fr-audio-upload-layer input[type="file"]',function(){if(this.files){var p=v.data("instance")||t;p.events.disableBlur(),v.find("input:focus").blur(),p.events.enableBlur(),p.audio.upload(this.files)}e(this).val("")},!0)},R=function(){var v=e(t.popups.get("audio.insert")),p=v.find("input, button");p.prop("disabled",!1).val("").trigger("change")},Y=function(){t.popups.onRefresh("audio.insert",R),t.popups.onHide("audio.insert",t.audio.hideProgressBar);var v=t.opts.audioInsertButtons;
302t.opts.audioUpload||(v=r.omit(v,"audioUpload"));var p=v.length<2?"":`<div class="fr-buttons"> 303 `.concat(t.button.buildList(v),` 304 </div>`),a=t.opts.audioAllowedTypes.map(function(h){return"audio/"+h}).join(","),o='<div class="fr-audio-upload-layer fr-file-upload-layer fr-layer" id="fr-audio-upload-layer-'.concat(t.id,`"> 305 <strong>`).concat(t.language.translate("Drop audio"),"</strong><br />(").concat(t.language.translate("or click"),`) 306 <div class="fr-form"> 307 <input type="file" accept="`).concat(a,'" tabIndex="-1" aria-labelledby="fr-audio-upload-layer-').concat(t.id,`" role="button" /> 308 </div> 309 </div>`),u=`<div class="fr-audio-progress-bar-layer fr-layer"> 310 <h3 tabIndex="-1" class="fr-message">`.concat(t.language.translate("Uploading"),`</h3> 311 <div class="fr-loader"> 312 <span class="fr-progress"></span> 313 </div> 314 <div class="fr-action-buttons"> 315 <button type="button" class="fr-command fr-dismiss" data-cmd="audioDismissError" tabIndex="2" role="button"> 316 `).concat(t.language.translate("OK"),` 317 </button> 318 </div> 319 </div>`),d=t.popups.create("audio.insert",{buttons:p,upload_layer:o,progress_bar:u});return Z(d),d},V=function(){var v=t.opts.audioEditButtons,p=v.length<1?"":`<div class="fr-buttons"> 320 `.concat(t.button.buildList(v),` 321 </div>`);return t.popups.create("audio.edit",{buttons:p})},H=function(v){var p=t.popups.get("audio.insert")||Y();p.find(".fr-layer.fr-active").removeClass("fr-active").addClass("fr-pactive"),p.find(".fr-audio-progress-bar-layer").addClass("fr-active"),p.find(".fr-buttons").hide(),v&&j(v,0)},T=function(v){H();var p=t.popups.get("audio.insert"),a=p.find(".fr-audio-progress-bar-layer");a.addClass("fr-error");var o=a.find("h3");o.text(t.language.translate(v)),t.events.disableBlur(),o.focus()},L=function(v,p){t.edit.on(),T(K[v]),t.events.trigger("audio.error",[{code:v,message:K[v]},p])},j=function(v,p){var a=t.popups.get("audio.insert");if(a){var o=a.find(".fr-audio-progress-bar-layer");o.find("h3").text(t.language.translate(v)+(p?" "+p+"%":"")),o.removeClass("fr-error"),p?(o.find("div").removeClass("fr-indeterminate"),o.find("div > span").css("width",p+"%")):o.find("div").addClass("fr-indeterminate")}},s=function(v){if(t.events.trigger("audio.uploaded",[v],!0)===!1)return t.edit.on(),!1;if(!v)return!1;var p=JSON.parse(v);return p.link?p:(L(l,v),!1)},c=function(v,p){var a=s(p)||{},o=e('<span contenteditable="false" draggable="true" class="fr-audio fr-uploading"><audio controls="controls" controlsList="nodownload"></audio></span>');o.toggleClass("fr-draggable",t.opts.audioMove),t.events.focus(!0),t.selection.restore(),t.undo.saveStep(),t.opts.audioSplitHTML?t.markers.split():t.markers.insert(),t.html.wrap();var u=t.$el.find(".fr-marker");t.node.isLastSibling(u)&&u.parent().hasClass("fr-deletable")&&u.insertAfter(u.parent()),u.replaceWith(o),t.selection.clear();var d=o.find("audio");return d.text(t.language.translate("Your browser does not support HTML5 audio.")).on("canplaythrough loadeddata",function(){t.popups.hide("audio.insert"),o.removeClass("fr-uploading"),t.events.trigger("audio.loaded",[o])}).on("error",function(h){t.popups.hide("audio.insert"),o.addClass("fr-error").removeClass("fr-uploading"),t.events.trigger("audio.error",[o,h])}).attr(r.mapKeys(a,function(h,m){return"data-"+r.kebabCase(m)})).attr({src:v}),o},x=function(v,p){var a=v.find("audio");return a.attr("src")===p&&a.attr({src:""}),v.addClass("fr-uploading"),a.off("canplaythrough loadeddata").off("error").on("canplaythrough loadeddata",function(){t.popups.hide("audio.insert"),v.removeClass("fr-uploading"),t.events.trigger("audio.loaded",[v]),q(v)}).on("error",function(o){v.addClass("fr-error").removeClass("fr-uploading"),t.audio.showEditPopup(v),t.events.trigger("audio.error",[v,o])}).attr({src:p}),v},N=function(v,p){t.edit.on(),j("Loading audio"),H("Loading audio");var a=!!G,o=a?x(G,v):c(v,p);t.undo.saveStep(),t.events.trigger(a?"audio.replaced":"audio.inserted",[o,p])},P=!1,S=function(v){var p=e(this);if(P&&v&&v.type==="touchend")return!0;
321if(t.edit.isDisabled())return v&&(v.stopPropagation(),v.preventDefault()),!1;t.toolbar.disable(),t.helpers.isMobile()&&(t.events.disableBlur(),t.$el.blur(),t.events.enableBlur()),G&&G.removeClass("fr-active"),G=p,p.addClass("fr-active"),t.opts.iframe&&t.size.syncIframe(),t.audio.showEditPopup(p),t.selection.clear();var a=t.doc.createRange();return a.selectNode(p[0]),t.selection.get().addRange(a),t.button.bulkRefresh(),!0};return{_init:function(){t.helpers.isMobile()&&(t.events.$on(t.$el,"touchstart","span.fr-audio",function(){P=!1}),t.events.$on(t.$el,"touchmove",function(){P=!0})),t.events.$on(t.$el,"mousedown","span.fr-audio",function(v){v.stopPropagation()}),t.events.$on(t.$el,"click touchend","span.fr-audio",S),t.events.on("mouseup window.mouseup",function(){return q()}),t.events.on("commands.mousedown",function(v){v.parents(".fr-toolbar").length&&q()})},showInsertPopup:function(){t.popups.get("audio.insert")||Y(),t.opts.audioInsertButtons.some(function(v){return v==="audioUpload"?(t.audio.showLayer("audio-upload"),!0):!1})},showEditPopup:function(v){var p="audio.edit";t.popups.get(p)||V(),t.popups.setContainer(p,t.$sc),t.popups.refresh(p);var a=v.find("audio"),o=a.offset(),u=o.left,d=o.top,h=a.outerHeight();t.popups.show(p,u+a.outerWidth()/2,d+h,h)},refreshUploadButton:function(v){var p=t.popups.get("audio.insert");p.find(".fr-audio-upload-layer").hasClass("fr-active")&&v.addClass("fr-active").attr("aria-pressed",!0)},autoplay:function(){if(!G)return!1;var v=G.find("audio"),p=v.prop("autoplay");v.prop({autoplay:!p})},align:function(v){if(!G)return!1;v==="center"&&(v=""),G.css({textAlign:v}),t.audio.showEditPopup(G)},refreshAutoplayButton:function(v){if(!G)return!1;var p=G.find("audio").prop("autoplay");v.toggleClass("fr-active",p).attr("aria-pressed",p)},refreshAlignButton:function(v){if(!G)return!1;var p=G.css("textAlign")||"center";v.children().first().replaceWith(t.icon.create("audioAlign"+r.capitalize(p)))},refreshAlignDropdown:function(v,p){if(G){var a=G.css("textAlign")||"center";p.find('.fr-command[data-param1="'.concat(a,'"]')).addClass("fr-active").attr("aria-selected",!0)}},back:function(){G?t.audio.showEditPopup(G):(t.events.disableBlur(),t.selection.restore(),t.events.enableBlur(),t.popups.hide("audio.insert"),t.toolbar.showInline())},refreshBackButton:function(v){var p=G||t.opts.toolbarInline;v.toggleClass("fr-hidden",!p),v.next(".fr-separator").toggleClass("fr-hidden",!p)},showLayer:function(v){var p=t.popups.get("audio.insert");t.popups.setContainer("audio.insert",G?t.$sc:t.$tb);var a,o,u=0;if(G){var d=G.find("audio");u=d.outerHeight();var h=d.offset();a=h.left+d.width()/2,o=h.top+u}else if(t.opts.toolbarInline)o=p.offset().top-t.helpers.getPX(p.css("margin-top")),p.hasClass("fr-above")&&(o+=p.outerHeight());else{var m=t.$tb.find('.fr-command[data-cmd="insertAudio"]'),f=m.offset();a=f.left+m.outerWidth()/2,o=f.top+(t.opts.toolbarBottom?10:m.outerHeight()-10)}p.find(".fr-layer").removeClass("fr-active"),p.find(".fr-"+v+"-layer").addClass("fr-active"),t.popups.show("audio.insert",a,o,u),t.accessibility.focusPopup(p),t.popups.refresh("audio.insert")},hideProgressBar:function(v){var p=t.popups.get("audio.insert");if(p){p.find(".fr-layer.fr-pactive").addClass("fr-active").removeClass("fr-pactive"),p.find(".fr-audio-progress-bar-layer").removeClass("fr-active"),p.find(".fr-buttons").show();var a=t.$el.find("audio.fr-error");(v||a.length)&&(t.events.focus(),a.length&&(a.parent().remove(),t.undo.saveStep(),t.undo.run(),t.undo.dropRedo()),t.popups.hide("audio.insert"))}},upload:function(v){if(!(v&&v.length)||t.events.trigger("audio.beforeUpload",[v])===!1)return!1;var p=v[0];if(!r.includes(t.opts.audioAllowedTypes,p.type.replace(/audio\//g,"")))return L($),!1;if(!t.drag_support.formdata)return!1;var a=new FormData;r.each(t.opts.audioUploadParams,function(h,m){return a.append(h,m)}),a.append(t.opts.audioUploadParam,p);var o=t.opts.audioUploadURL,u=t.core.getXHR(o,t.opts.audioUploadMethod);u.onload=function(){j("Loading audio");var h=this.status,m=this.response,f=this.responseText;if(h===415){L($,JSON.parse(f));return}if(h<200||h>=300){L(C,m||f);return}try{var y=s(m);y&&N(y.link,f)}catch{L(B,m||f)}},u.onerror=function(){L(B,this.response||this.responseText||this.responseXML)},u.upload.onprogress=function(h){h.lengthComputable&&j("Uploading",h.loaded/h.total*100|0)},u.onabort=function(){t.edit.on(),t.audio.hideProgressBar(!0)},H(),t.events.disableBlur(),t.edit.off(),t.events.enableBlur();var d=e(t.popups.get("audio.insert"));return d&&d.off("abortUpload").on("abortUpload",function(){u.readyState!==4&&u.abort()}),u.send(a),!0},replace:function(){G&&t.audio.showInsertPopup()},remove:function(){if(G){var v=G;if(t.events.trigger("audio.beforeRemove",[v])!==!1){t.popups.hideAll();var p=v[0];t.selection.setBefore(p)||t.selection.setAfter(p),v.remove(),t.selection.restore(
321),t.html.fillEmptyBlocks(),t.events.trigger("audio.removed",[v]),q(v)}}}}},i.DefineIcon("insertAudio",{NAME:"volume-up",FA5NAME:"volume-up",SVG_KEY:"insertAudio"}),i.RegisterCommand("insertAudio",{title:"Insert Audio",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){return this.popups.isVisible("audio.insert")?(this.$el.find(".fr-marker").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide("audio.insert")):this.audio.showInsertPopup()},plugin:"audio"}),i.DefineIcon("audioUpload",{NAME:"upload",SVG_KEY:"upload"}),i.RegisterCommand("audioUpload",{title:"Upload Audio",undo:!1,focus:!1,toggle:!0,callback:function(){this.audio.showLayer("audio-upload")},refresh:function(n){this.audio.refreshUploadButton(n)}}),i.RegisterCommand("audioDismissError",{title:"OK",undo:!1,callback:function(){this.audio.hideProgressBar(!0)}}),i.DefineIcon("audioAlignLeft",{NAME:"align-left",SVG_KEY:"alignLeft"}),i.DefineIcon("audioAlignRight",{NAME:"align-right",SVG_KEY:"alignRight"}),i.DefineIcon("audioAlignCenter",{NAME:"align-justify",SVG_KEY:"alignJustify"}),i.DefineIcon("audioAlign",{NAME:"align-center",SVG_KEY:"alignCenter"}),i.RegisterCommand("audioAlign",{type:"dropdown",title:"Align",options:{left:"Align Left",center:"None",right:"Align Right"},html:function(){var n=this,l=function(B,$){return`<li role="presentation"> 322 <a class="fr-command fr-title" tabIndex="-1" role="option" data-cmd="audioAlign" 323 data-param1="`.concat($,'" title="').concat(n.language.translate(B),`"> 324 `).concat(n.icon.create("audioAlign"+r.capitalize($)),` 325 <span class="fr-sr-only">`).concat(n.language.translate(B),`</span> 326 </a> 327 </li>`)};return`<ul class="fr-dropdown-list" role="presentation"> 328 `.concat(r.map(i.COMMANDS.audioAlign.options,l).join(` 329`),` 330 </ul>`)},callback:function(n,l){this.audio.align(l)},refresh:function(n){this.audio.refreshAlignButton(n)},refreshOnShow:function(n,l){this.audio.refreshAlignDropdown(n,l)}}),i.DefineIcon("audioAutoplay",{NAME:"play-circle",SVG_KEY:"autoplay"}),i.RegisterCommand("audioAutoplay",{title:"Autoplay",toggle:!0,callback:function(){this.audio.autoplay()},refresh:function(n){this.audio.refreshAutoplayButton(n)}}),i.DefineIcon("audioReplace",{NAME:"exchange",FA5NAME:"exchange-alt",SVG_KEY:"replaceImage"}),i.RegisterCommand("audioReplace",{title:"Replace",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.audio.replace()}}),i.DefineIcon("audioRemove",{NAME:"trash",SVG_KEY:"remove"}),i.RegisterCommand("audioRemove",{title:"Remove",callback:function(){this.audio.remove()}}),i.DefineIcon("audioBack",{NAME:"arrow-left",SVG_KEY:"back"}),i.RegisterCommand("audioBack",{title:"Back",undo:!1,focus:!1,back:!0,callback:function(){this.audio.back()},refresh:function(n){this.audio.refreshBackButton(n)}})})(ZA.default||window.jQuery.FE,window.jQuery,VZ);var QA=ys(Dl());var zZ=[{value:"+ ",text:"+"},{value:"- ",text:"-"},{value:"\\pm ",text:"\\pm"},{value:"\\mp ",text:"\\mp"},{value:"\\times ",text:"\\times"},{value:"\\div ",text:"\\div"},{value:"= ",text:"="},{value:"\\neq ",text:"\\neq"},{value:"\\cdot ",text:"\\cdot"},{value:"\\ast ",text:"\\ast"},{value:"\\left|\\right| ",text:"\\left|\\square\\right|"},{value:"\\left\\{\\right\\} ",text:"\\left\\{\\square\\right\\}"},{value:"\\left[\\right] ",text:"\\left[\\square\\right]"},{value:"\\left(\\right) ",text:"\\left(\\square\\right)"},{value:"\\sqrt{} ",text:"\\sqrt{\\square}"},{value:"\\sqrt[]{} ",text:"\\sqrt[\\square]{\\square}"},{value:"\\frac{}{} ",text:"\\frac{\\square}{\\square}"},{value:"{}^{} ",text:"\\square^{\\square}"},{value:"{}_{} ",text:"\\square_{\\square}"},{value:"{}^{}_{} ",text:"\\square^{\\square}_{\\square}"}],$Z=[{value:"\\lt ",text:"\\lt "},{value:"\\gt ",text:"\\gt "},{value:"\\le ",text:"\\le "},{value:"\\ge ",text:"\\ge "},{value:"\\ll ",text:"\\ll "},{value:"\\gg ",text:"\\gg "},{value:"\\simeq ",text:"\\simeq"},{value:"\\approx ",text:"\\approx"},{value:"\\asymp ",text:"\\asymp"},{value:"\\doteq ",text:"\\doteq"},{value:"\\equiv ",text:"\\equiv"},{value:"\\cong ",text:"\\cong"},{value:"\\subset ",text:"\\subset"},{value:"\\supset ",text:"\\supset"},{value:"\\subseteq ",text:"\\subseteq"},{value:"\\supseteq ",text:"\\supseteq"},{value:"\\sqsubset ",text:"\\sqsubset"},{value:"\\sqsupset ",text:"\\sqsupset"},{value:"\\sqsubseteq ",text:"\\sqsubseteq"},{value:"\\sqsupseteq ",text:"\\sqsupseteq"},{value:"\\smile ",text:"\\smile"},{value:"\\frown ",text:"\\frown"},{value:"\\prec ",text:"\\prec"},{value:"\\preceq ",text:"\\preceq"},{value:"\\succ ",text:"\\succ"},{value:"\\succeq ",text:"\\succeq"},{value:"\\vdash ",text:"\\vdash"},{value:"\\dashv ",text:"\\dashv"},{value:"\\perp ",text:"\\perp"},{value:"\\propto ",text:"\\propto"},{value:"\\bowtie ",text:"\\bowtie"},{value:"\\models ",text:"\\models"},{value:"\\mid ",text:"\\mid"},{value:"\\parallel ",text:"\\parallel"}],WZ=[{value:"\\emptyset ",text:"\\emptyset"},{value:"\\cap ",text:"\\cap"},{value:"\\cup ",text:"\\cup"},{value:"\\setminus ",text:"\\setminus"},{value:"\\uplus ",text:"\\uplus"},{value:"\\forall ",text:"\\forall"},{value:"\\exists ",text:"\\exists"},{value:"\\in ",text:"\\in"},{value:"\\notin ",text:"\\notin"},{value:"\\ni ",text:"\\ni"},{value:"\\sqcap ",text:"\\sqcap"},{value:"\\sqcup ",text:"\\sqcup"},{value:"\\amalg ",text:"\\amalg"}],YZ=[{value:"\\Rightarrow ",text:"\\Rightarrow"},{value:"\\Leftarrow ",text:"\\Leftarrow"},{value:"\\Leftrightarrow ",text:"\\Leftrightarrow"},{value:"\\Longrightarrow ",text:"\\Longrightarrow"},{value:"\\Longleftarrow ",text:"\\Longleftarrow"},{value:"\\Longleftrightarrow ",text:"\\Longleftrightarrow"},{value:"\\Uparrow ",text:"\\Uparrow"},{value:"\\Downarrow ",text:"\\Downarrow"},{value:"\\Updownarrow ",text:"\\Updownarrow"},{value:"\\rightarrow ",text:"\\rightarrow"},{value:"\\leftarrow ",text:"\\leftarrow"},{value:"\\leftrightarrow ",text:"\\leftrightarrow"},{value:"\\longrightarrow ",text:"\\longrightarrow"},{value:"\\longleftarrow ",text:"\\longleftarrow "},{value:"\\longleftrightarrow ",text:"\\longleftrightarrow"},{value:"\\uparrow ",text:"\\uparrow"},{value:"\\downarrow ",text:"\\downarrow"},{value:"\\updownarrow ",text:"\\updownarrow"},{value:"\\nwarrow ",text:"\\nwarrow"},{value:"\\nearrow ",text:"\\nearrow"},{value:"\\searrow ",text:"\\searrow"},{value:"\\swarrow ",text:"\\swarrow"},{value:"\\hookrightarrow ",text:"\\hookrightarrow"},{value:"\\hookleftarrow ",text:"\\hookleftarrow"},{value:"\\rightharpoonup ",text:"\\rightharpoonup"},{value:"\\leftharpoonup ",text:"\\leftharpoonup"},{value:"\\rightharpoondown ",text:"\\rightharpoondown"},{value:"\\leftharpoondown ",text:"\\leftharpoondown"},{value:"\\mapsto ",text:"\\mapsto"},{value:"\\vec{} ",text:"\\vec{\\square}"},{value:"\\overline{} ",text:"\\overline{\\square}"}],UZ=[{value:"\\int{} ",text:"\\int{}"},{value:"\\int_{}",text:"\\int_{\\square}"},{value:"\\int^{}",text:"\\int^{\\square}"},{value:"\\int_{}^{}",text:"\\int_{\\square}^{\\square}"},{value:"\\oint{} ",text:"\\oint{}"},{value:"\\oint_{}",text:"\\oint_{\\square}"},{value:"\\oint^{}",text:"\\oint^{\\square}"},{value:"\\oint_{}^{}",text:"\\oint_{\\square}^{\\square}"},{value:"\\sin ",text:"\\sin"},{value:"\\cos ",text:"\\cos"},{value:"\\tan ",text:"\\tan"},{value:"\\sin^{} ",text:"\\sin^{\\square}"},{value:"\\cos^{} ",text:"\\cos^{\\square}"},{value:"\\tan^{} ",text:"\\tan^{\\square}"},{value:"\\cot ",text:"\\cot"},{value:"\\log ",text:"\\log"},{value:"\\log_{} ",text:"\\log_{\\square}"},{value:"\\ln ",text:"\\ln"},{value:"\\lg ",text:"\\lg"},{value:"\\lim ",text:"\\lim"}],GZ=[{value:"\\alpha ",text:"\\alpha"},{value:"\\beta ",text:"\\beta"},{value:"\\gamma ",text:"\\gamma"},{value:"\\delta ",text:"\\delta"},{value:"\\epsilon ",text:"\\epsilon"},{value:"\\zeta ",text:"\\zeta"},{value:"\\eta ",text:"\\eta"},{value:"\\theta ",text:"\\theta"},{value:"\\iota ",text:"\\iota"},{value:"\\kappa ",text:"\\kappa"},{value:"\\lambda ",text:"\\lambda"},{value:"\\mu ",text:"\\mu"},{value:"\\nu ",text:"\\nu"},{value:"\\xi ",text:"\\xi"},{value:"\\pi ",text:"\\pi"},{value:"\\rho ",text:"\\rho"},{value:"\\sigma ",text:"\\sigma"},{value:"\\tau ",text:"\\tau"},{value:"\\upsilon ",text:"\\upsilon"},{value:"\\phi ",text:"\\phi"},{value:"\\chi ",text:"\\chi"},{value:"\\psi ",text:"\\psi"},{value:"\\omega ",text:"\\omega"},{value:"\\Gamma ",text:"\\Gamma"},{value:"\\Delta ",text:"\\Delta"},{value:"\\Theta ",text:"\\Theta"},{value:"\\Lambda ",text:"\\Lambda"},{value:"\\Xi ",text:"\\Xi"},{value:"\\Pi ",text:"\\Pi"},{value:"\\Sigma ",text:"\\Sigma"},{value:"\\Upsilon ",text:"\\Upsilon"},{value:"\\Phi ",text:"\\Phi"},{value:"\\Psi ",text:"\\Psi"},{value:"\\Omega ",text:"\\Omega"},{value:"\\digamma ",text:"\\digamma"},{value:"\\varepsilon ",text:"\\varepsilon"},{value:"\\vartheta ",text:"\\vartheta"},{value:"\\varkappa ",text:"\\varkappa"},{value:"\\varpi ",text:"\\varpi"},{value:"\\varrho ",text:"\\varrho"},{value:"\\varsigma ",text:"\\varsigma"},{value:"\\varphi ",text:"\\varphi"}],XZ=[{value:"\\sum ",text:"\\sum_{\\ }^{\\ }"},{value:"\\prod ",text:"\\prod_{\\ }^{\\ }"},{value:"\\coprod ",text:"\\coprod_{\\ }^{\\ }"}],qZ=[{value:"\\partial ",text:"\\partial"},{value:"\\infty ",text:"\\infty"},{value:"\\oplus ",text:"\\oplus"},{value:"\\ominus ",text:"\\ominus"},{value:"\\otimes ",text:"\\otimes"},{value:"\\oslash ",text:"\\oslash"},{value:"\\odot ",text:"\\odot"},{value:"\\bigcirc ",text:"\\bigcirc"},{value:"\\square ",text:"\\square"}
330,{value:"\\circ ",text:"\\circ"},{value:"\\bullet ",text:"\\bullet"},{value:"\\diamond ",text:"\\diamond"},{value:"\\bigtriangleup ",text:"\\bigtriangleup"},{value:"\\bigtriangledown ",text:"\\bigtriangledown"},{value:"\\wr ",text:"\\wr"},{value:"\\dagger ",text:"\\dagger"},{value:"\\ddagger ",text:"\\ddagger"},{value:"\\angle ",text:"\\angle"},{value:"\\aleph ",text:"\\aleph"},{value:"\\Re ",text:"\\Re"},{value:"\\hbar ",text:"\\hbar"},{value:"\\ell ",text:"\\ell"},{value:"\\wp ",text:"\\wp"},{value:"\\prime ",text:"\\prime"},{value:"\\nabla ",text:"\\nabla"},{value:"\\surd ",text:"\\surd"},{value:"\\backslash ",text:"\\backslash"},{value:"\\neg ",text:"\\neg"}],KA=[{tab:"basic",cmdSet:zZ},{tab:"relation",cmdSet:$Z},{tab:"set",cmdSet:WZ},{tab:"arrow",cmdSet:YZ},{tab:"calculus",cmdSet:UZ},{tab:"greek",cmdSet:GZ},{tab:"big sign",cmdSet:XZ},{tab:"misc.",cmdSet:qZ}];(i=>{i.PLUGINS.math=function(e){let r,t=null,n,l=MathQuill.getInterface(2);function C(){e.events.on("html.set.custom",function(V){window.setTimeout(()=>{e.el.querySelectorAll(".mq-editable-field").forEach(H=>{H.innerHTML=wy(H.dataset.latex??""),B(H),R(H)})})}),e.events.on("destroy",function(V){t=null,n=void 0,r&&q().remove()})}function B(V){let H=l(V);return H||(H=l.MathField(V,{handlers:{edit(T){let L=T.latex();(!V.dataset||!V.dataset.latex)&&!L?K():(V.dataset.latex=L,e.edit.on(),e.events.trigger("math.edited"),e.edit.off())}}}),H.el().querySelector("textarea").addEventListener("focusin",()=>{$(V,H)})),H}function $(V,H){e.edit.off(),t&&t.classList.remove("fr-active"),V?(t=V,n=H):(t=G(),n=B(t),n.focus()),t.classList.add("fr-active"),(e.el.closest(".modal")||e.el.closest(".fr-box")).append(q())}function K(){var V,H,T,L,j,s;t&&e.selection.setAfter(t),n.latex()?(t==null||t.classList.remove("fr-active"),n.blur()):((H=(V=t==null?void 0:t.previousSibling)==null?void 0:V.nodeValue)!=null&&H.trim()||(T=t==null?void 0:t.previousSibling)==null||T.remove(),(j=(L=t==null?void 0:t.nextSibling)==null?void 0:L.nodeValue)!=null&&j.trim()||(s=t==null?void 0:t.nextSibling)==null||s.remove(),t==null||t.remove()),t=null,n=void 0,q().remove(),e.edit.on(),e.selection.restore(),e.events.trigger("math.edited")}function G(){let V=document.createElement("span");V.className="fr-deletable",V.setAttribute("contenteditable","false"),V.setAttribute("draggable","false"),e.markers.insert();let H=e.el.querySelector(".fr-marker");return e.node.isLastSibling(H)&&H.parentElement&&H.parentElement.classList.contains("fr-deletable")&&H.parentNode.insertBefore(H,H.nextSibling),H.replaceWith(V),V.insertAdjacentHTML("beforebegin"," "),V.insertAdjacentHTML("afterend"," "),V}function q(){return r||(r=Z(),r)}function Z(){let V=document.createElement("div");V.className="fr-math-popup has-shadow";let H=document.createElement("div");H.className="fr-math-popup-header",H.innerText="Math";let T=document.createElement("div");T.className="delete push-left-auto",T.onclick=()=>{K()},H.append(T),V.append(H);let L=document.createElement("div");L.className="fr-math-popup-body",V.append(L);let j=document.createElement("div");j.className="tabs";let s=document.createElement("ul");j.append(s),L.append(j);let c,x;for(let N of KA){let P=document.createElement("div");P.className="tab-content";let S=document.createElement("li");N.tab==="basic"?(c=S,c.className="is-active",x=P):P.style.display="none",S.onclick=()=>{c.className="",c=S,c.className="is-active",x.style.display="none",x=P,x.style.display="block"};let g=document.createElement("a");g.innerText=N.tab,g.className="is-single-line",S.append(g),s.append(S);for(let v of N.cmdSet){let p=document.createElement("button");p.className="button",p.type="button",p.innerText=v.text,l.StaticMath(p),p.onclick=()=>{n.write(v.value),n.focus(),R(t)},P.append(p),L.append(P)}}return Y(V,H),V}function R(V){let H=V==null?void 0:V.querySelectorAll('span[style="display:inline-block;width:0"]');H&&H.forEach(T=>{T.innerHTML=" "})}function Y(V,H){let T=0,L=0,j=0,s=0;H?H.onmousedown=c:V.onmousedown=c;function c(P){P=P||window.event,P.preventDefault(),j=P.clientX,s=P.clientY,document.onmouseup=N,document.onmousemove=x}
330function x(P){P=P||window.event,P.preventDefault(),T=j-P.clientX,L=s-P.clientY,j=P.clientX,s=P.clientY;let S=0,g=0,v=document.documentElement.clientWidth-V.offsetWidth,p=document.documentElement.clientHeight-V.offsetHeight,a=V.offsetLeft,o=V.offsetTop;o-L<g?V.style.top=g+"px":o-L>p?V.style.top=p+"px":V.style.top=o-L+"px",a-T<S?V.style.left=S+"px":a-T>v?V.style.left=v+"px":V.style.left=a-T+"px",V.style.bottom="auto",V.style.right="auto"}function N(){document.onmouseup=null,document.onmousemove=null}}return{_init:C,showPopup:$,hidePopup:K}},i.DefineIcon("insertMath",{PATH:"M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z",template:"svg"}),i.RegisterCommand("insertMath",{title:"Insert Math",undo:!0,focus:!0,refreshAfterCallback:!1,popup:!1,plugin:"math",callback:function(){return this.math.showPopup()}})})(QA.default);var Jr=ys(Dl());Jr.default.DefineIcon(Ss.shortAnswerText,{NAME:`[${zr[Jn.Text]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerText,{title:zr[Jn.Text],focus:!0,undo:!0,refreshAfterCallback:!0});Jr.default.DefineIcon(Ss.shortAnswerReason,{NAME:`[${zr[Jn.Reason]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerReason,{title:zr[Jn.Reason],focus:!0,undo:!0,refreshAfterCallback:!0});Jr.default.DefineIcon(Ss.shortAnswerNumber,{NAME:`[${zr[Jn.Number]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerNumber,{title:zr[Jn.Number],focus:!0,undo:!0,refreshAfterCallback:!0});Jr.default.DefineIcon(Ss.shortAnswerEquation,{NAME:`[${zr[Jn.Equation]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerEquation,{title:zr[Jn.Equation],focus:!0,undo:!0,refreshAfterCallback:!0});Jr.default.DefineIcon(Ss.shortAnswerEquationReason,{NAME:`[${zr[Jn.EquationReason]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerEquationReason,{title:zr[Jn.EquationReason],focus:!0,undo:!0,refreshAfterCallback:!0});Jr.default.DefineIcon(Ss.shortAnswerDropdown,{NAME:`[${zr[Jn.Dropdown]}]`,template:"text"});Jr.default.RegisterCommand(Ss.shortAnswerDropdown,{title:zr[Jn.Dropdown],focus:!0,undo:!0,refreshAfterCallback:!0});var ZZ=(()=>{let e=class e{constructor(t){this.stroageService=t}getTranslation(t){return Et(this,null,function*(){return console.log("getTranslation",t),yield this.stroageService.setItemPersistent("locale",t),console.log("setItemPersistent locale",t),k2(t)})}};e.\u0275fac=function(n){return new(n||e)(qe(Jc))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),JA=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({providers:[SS({config:{availableLangs:["en","th"],defaultLang:"",reRenderOnLangChange:!0,prodMode:!0},loader:ZZ})],imports:[Sp]});let i=e;return i})();var eD=(()=>{let e=class e extends Cc{constructor(){super("en-US")}transform(t,n,l){if(!t)return"";let C="";return C=super.transform(t,"1.0-0"),C&&+t<0&&(C=`(${C.substring(1)})`),C}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"anAbs",type:e,pure:!0});let i=e;return i})();var lx=(()=>{let e=class e{constructor(t,n,l,C){this.dialogService=t,this.popupService=n,this.translocoService=l,this.zone=C,this.maxHeight=720,this.quality=.5,this.width=0,this.height=0,this.constraints={video:!0,audio:!1},this.setScreenSize=()=>{var K,G,q,Z,R,Y,V;(K=this.video)==null||K.removeEventListener("canplay",this.setScreenSize);let B=(G=this.video)==null?void 0:G.videoWidth,$=(q=this.video)==null?void 0:q.videoHeight;$>this.maxHeight?(this.height=this.maxHeight,this.width=B/($/this.height)):(this.width=B,this.height=$),(Z=this.video)==null||Z.setAttribute("width",`${this.width}`),(R=this.video)==null||R.setAttribute("height",`${this.height}`),(Y=this.canvas)==null||Y.setAttribute("width",`${this.width}`),(V=this.canvas)==null||V.setAttribute("height",`${this.height}`)}}ngOnDestroy(){this.stop()}hasCamera(){var t;return(t=navigator.mediaDevices)!=null&&t.enumerateDevices?navigator.mediaDevices.enumerateDevices().then(n=>n.some(l=>l.kind==="videoinput")):Promise.resolve(!1)}checkPermission(t){return Et(this,null,function*(){var l,C;this.dialogService.clear(),(C=(l=this.permission)==null?void 0:l.removeAllListeners)==null||C.call(l,"change");try{this.permission=yield navigator.permissions.query({name:"camera"})}catch{this.permission={state:"prompt"}}let n=!1;return this.permission.state==="prompt"&&(rn.browser()==="firefox"?yield ul(this.popupService.alert(this.translocoService.translate("pleaseAllowToAccessCamera"),this.translocoService.translate("tickRememberThisDecision"))):yield ul(this.popupService.alert(this.translocoService.translate("pleaseAllowToAccessCamera"))),n=yield this.requestPermission()),this.zone.runOutsideAngular(()=>{var B,$;($=(B=this.permission).addEventListener)==null||$.call(B,"change",()=>{this.zone.run(()=>{this.checkPermission(t).then(K=>{t&&t(K)})})})}),n||this.permission.state==="granted"?!0:(this.popupService.custom(_1,{message:this.translocoService.translate("pleaseAllowToAccessCamera")}),!1)})}requestPermission(){return Et(this,null,function*(){try{return(yield navigator.mediaDevices.getUserMedia(this.constraints)).getTracks().forEac
330h(n=>n.stop()),!0}catch(t){return window.alert(t),!1}})}getSources(){var t;return(t=navigator.mediaDevices)!=null&&t.enumerateDevices?navigator.mediaDevices.enumerateDevices().then(n=>{let l=1,C=[];return n.forEach(B=>{B.kind==="videoinput"&&B.deviceId&&C.push({label:B.label||`Camera ${l++}`,deviceId:B.deviceId,active:this.activeDeviceId===B.deviceId})}),C}):Promise.resolve([])}getVideo(){return this.video}restart({onEnded:t}){var n;((n=this.track)==null?void 0:n.readyState)==="ended"&&this.start({onEnded:t})}start({onEnded:t}){var l;if(!((l=navigator.mediaDevices)!=null&&l.getUserMedia))return Promise.resolve(!1);this.stop(),this.video=document.createElement("video"),this.video.style.transform="scaleX(-1)",this.canvas=document.createElement("canvas");let n={video:!0,audio:!1};return this.activeDeviceId&&(n.video={deviceId:{exact:this.activeDeviceId}}),navigator.mediaDevices.getUserMedia(n).then(C=>(this.mediaStream=C,this.track=C.getVideoTracks()[0],this.track?(this.activeDeviceId=this.track.getSettings().deviceId,this.zone.runOutsideAngular(()=>{this.video.addEventListener("canplay",this.setScreenSize),this.track.addEventListener("ended",()=>{this.zone.run(()=>{this.video.srcObject=null,t()})})}),this.video.srcObject=C,this.video.play(),!0):(console.log("camera not found"),!1))).catch(C=>(C instanceof DOMException&&(C.name==="NotFoundError"?this.popupService.alert(this.translocoService.translate("cannotAcivateCamera"),this.translocoService.translate("cameraNotFound")):C.name==="NotAllowedError"?this.popupService.alert(this.translocoService.translate("cannotAcivateCamera"),this.translocoService.translate("pleaseAllowToAccessCamera")):this.popupService.alert(this.translocoService.translate("cannotAcivateCamera"),this.translocoService.translate("pleaseCheckCamera"))),!1))}stop(){var t,n;this.mediaStream&&this.mediaStream.getTracks().forEach(l=>{l.stop()}),(n=(t=this.permission)==null?void 0:t.removeAllListeners)==null||n.call(t,"change"),this.video=void 0,this.canvas=void 0,this.mediaStream=void 0,this.track=void 0}captureCamera(t){return Et(this,null,function*(){if(!this.track||this.track.readyState==="ended"||!this.canvas||!this.video||!this.width||!this.height)return null;let n=this.canvas.getContext("2d");return this.canvas.width=this.width,this.canvas.height=this.height,n==null||n.drawImage(this.video,0,0,this.width,this.height),t==="dataURL"?this.canvas.toDataURL("image/jpeg",this.quality):new Promise(l=>{this.canvas.toBlob(function(C){if(!C){l(null);return}l(new File([C],"camera.jpg",{type:"image/jpeg"}))},"image/jpeg",this.quality)})})}};e.\u0275fac=function(n){return new(n||e)(qe(tu),qe(Vr),qe(qo),qe(wi))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var tD=(()=>{let e=class e{reload(){window.location.reload()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=st({type:e,selectors:[["lib-new-version-notice"]],decls:4,vars:0,consts:[[1,"_new-version"],[3,"click"]],template:function(n,l){n&1&&(ke(0,"div",0),Ge(1,"A new version is available. "),ke(2,"span",1),We("click",function(){return l.reload()}),Ge(3,"REFRESH"),Ae()())},styles:["._new-version[_ngcontent-%COMP%]{position:fixed;left:2rem;bottom:2rem;background-color:#404040;padding:2rem;font-size:1.6rem;color:#fff;z-index:999999999}._new-version[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#a1c2fa;text-decoration:underline;cursor:pointer}"],changeDetection:0});let i=e;return i})();var iD=(()=>{let e=class e{constructor(t,n){this.router=t,this.zone=n,this.timeToCheckNewVersionAgain=0}observe(t){this.viewContainerRef=t,window.appVersion!=="{BUILD_VERSION}"&&(this.handleChunkLoadError(),this.checkNewVersionInterval())}handleChunkLoadError(){this.router.events.subscribe(t=>{if(t instanceof c4&&t.error&&t.error.name==="ChunkLoadError"&&t.error.type==="error"){let n=document.getElementsByTagName("base")[0].getAttribute("href"),l="";t.url&&(l=t.url.slice(1));let C=n+l;this.checkNewVersion$().subscribe(B=>{B?window.location.href=C:new Ds($=>{let K={"cache-control":"no-cache,no-store,must-revalidate",pragma:"no-cache",expires:"0"};Ns.request(t.error.request,{headers:K}).then(G=>{G.status===404?$.error():($.next(),$.complete())}).catch(()=>$.error())}).pipe(dl({delay:500})).subscribe(()=>{window.location.href=C})})}})}checkNewVersionInterval(){this.checkNewVersion$().pipe(dl({delay:10*60*1e3}),jC(()=>Ec(this.timeToCheckNewVersionAgain*60*1e3))).subscribe(({isNewer:t,isMaintenance:n})=>{window.isMaintenance=n,t?this.zone.run(()=>{this.createNotice()}):this.checkNewVersionInterval()})}createNotice(){this.viewContainerRef.createComponent(tD)}checkNewVersion$(){return new Ds(t=>{let n={"cache-control":"no-cache,no-store,must-revalidate",pragma:"no-cache",expires:"0"};Ns.request("./version.json",{headers:n}).then(l=>{if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);return l.json()}).then(l=>{l.v!==window.appVersion?(this.timeToCheckNewVersionAgain=0,t.next({isNewer:!0,isMaintenance:l.m==="yes"})):(this.timeToCheckNewVersionAgain=l.t,t.next({isNewer:!1,isMaintenance:l.m==="yes"})),t.complete()}).catch(l=>{console.error("Error checking version:",l),t.error(l),t.complete()})})}};e.\u0275fac=function(n){return new(n||e)(qe(ml),qe(wi))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();var nD=(()=>{let e=class e{constructor(t,n,l,C){this.dialogService=t,this.popupService=n,this.translocoService=l,this.zone=C,this.lastLocation=null,this.updateInterval=5*60*1e3}ngOnDestroy(){this.stopUpdateLocation()}checkPermission(t,n=!0){return Et(this,null,function*(){var C,B;this.dialogService.clear(),(B=(C=this.permission)==null?void 0:C.removeAllListeners)==null||B.call(C,"change");try{this.permission=yield navigator.permissions.query({name:"geolocation"})}catch{this.permission={state:"prompt"}}let l=!1;return this.permission.state==="prompt"&&(n&&(rn.browser()==="firefox"?yield ul(this.popupService.alert(this.translocoService.translate("pleaseAllowToAccessLocation"),this.translocoService.translate("tickRememberThisDecision"))):yield ul(this.popupService.alert(this.translocoService.translate("pleaseAllowToAccessLocation")))),l=yield this.requestPermission()),this.zone.runOutsideAngular(()=>{var $,K;(K=($=this.permission).addEventListener)==null||K.call($,"change",()=>{this.zone.run(()=>{this.checkPermission(t).then(G=>{t&&t(G)})})})}),l||this.permission.state==="granted"?!0:(this.popupService.custom(_1,{message:this.translocoService.translate("pleaseAllowToAccessLocation")}),!1)})}requestPermission(){return Et(this,null,function*(){return new Promise(t=>{navigator.geolocation.getCurrentPosition(n=>{this.lastLocation=n,t(!0)},n=>{n.code===n.PERMISSION_DENIED?t(!1):t(!0),console.warn(`ERROR(${n.code}): ${n.message}`)},{enableHighAccuracy:!0,timeout:60*1e3})})})}getCurrentPosition(){return Et(this,null,function*(){return new Promise(t=>{navigator.geolocation.getCurrentPosition(n=>t(this.positionCallback(n)),n=>t(this.positionErrorCallback(n)),{enableHighAccuracy:!0,timeout:60*1e3})})})}
330startUpdateLocation(){this.startUpdateLocationInterval=window.setInterval(()=>{navigator.geolocation.getCurrentPosition(t=>this.positionCallback(t),t=>{},{enableHighAccuracy:!0,timeout:3*60*1e3})},this.updateInterval)}stopUpdateLocation(){var t,n;this.startUpdateLocationInterval&&clearInterval(this.startUpdateLocationInterval),(n=(t=this.permission)==null?void 0:t.removeAllListeners)==null||n.call(t,"change")}getCachedLocation(){if(this.lastLocation){let t=this.lastLocation.coords;return{lat:t.latitude,lng:t.longitude}}return{lat:0,lng:0}}positionCallback(t){this.lastLocation=t;let n=t.coords;return{lat:n.latitude,lng:n.longitude}}positionErrorCallback(t){return this.getCachedLocation()}};e.\u0275fac=function(n){return new(n||e)(qe(tu),qe(Vr),qe(qo),qe(wi))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var sD=(()=>{let e=class e{constructor(t){this.config=t}getItem(t){return window.localStorage.getItem(`${this.config.storagePrefix}${t}`)}setItem(t,n){return Ns.persistKeep(`${this.config.storagePrefix}${t}`,n)}removeItem(t){return window.localStorage.removeItem(`${this.config.storagePrefix}${t}`)}key(t){return window.localStorage.key(t)}clear(){return window.localStorage.clear()}};e.\u0275fac=function(n){return new(n||e)(qe(Qc))},e.\u0275prov=it({token:e,factory:e.\u0275fac});let i=e;return i})();function eK(){return{dateRequestFormatter:RS,dateResponseReviver:Gm}}function tK(){return{tokenUrl:Ho.config.tokenUrl,isOAuth:!1,isFormData:!1,isJWT:!0}}function iK(){return{storagePrefix:Ho.config.storagePrefix}}var nK={username:"username",password:"password"},sK={access_token:"access_token"},rK=Object.assign(new Tr,{adaptivePosition:!0,containerClass:"theme-default",dateInputFormat:"DD/MM/YYYY",showWeekNumbers:!1}),oK=Object.assign(new zg,{adaptivePosition:!0,containerClass:"theme-default",dateInputFormat:"DD/MM/YYYY",rangeInputFormat:"DD/MM/YYYY",showWeekNumbers:!1}),aK={appName:"Testimate"},l4e=(()=>{let e=class e{constructor(t){lK(t,"LibCoreModule")}static forRoot(){return{ngModule:e,providers:[{provide:Tr,useValue:rK},{provide:zg,useValue:oK},{provide:VE,useClass:ew,multi:!0},{provide:VE,useClass:X5,multi:!0},{provide:um,useFactory:eK},{provide:fm,useFactory:tK},{provide:mm,useValue:nK},{provide:gm,useValue:sK},{provide:Qc,useFactory:iK},{provide:ou,useValue:aK},{provide:qC,useExisting:$a},eD,cu,vm,xm,Cm,_m,MS,TS,lx,kS,nD,sD,NS,AS,iD,$a,{provide:g1,useFactory:()=>[KZ,QZ,JZ]}]}}};e.\u0275fac=function(n){return new(n||e)(qe(e,12))},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[mp.forRoot(),JA,Wg.forRoot(),Cp.forRoot(),y0.forRoot()]});let i=e;return i})();function lK(i,e){if(i)throw new Error(`${e} has already been loaded. Import Core modules in the AppModule only.`)}var rD=(i,e)=>({value:i,params:e});function hK(i,e){if(i&1&&(ke(0,"div",7),Ke(1,"img",8),Ae()),i&2){let r=Te();we(),_e("src",r.imagePath,No)}}function cK(i,e){if(i&1&&(ke(0,"div",7),Ke(1,"img",8),Ae()),i&2){let r=Te();we(),_e("src",r.imagePath2,No)}}function uK(i,e){i&1&&(ke(0,"div",9),Ge(1),St(2,"transloco"),Ae()),i&2&&(we(),oi(" ",Tt(2,1,"pleaseReloadThePageAfterUpdatingPermission")," "))}var _1=(()=>{let e=class e extends kh{constructor(){super(...arguments),this.imageBasePath="static/image/web-permission-",this.imagePath="",this.imagePath2="",this.needReload=!1}ngOnInit(){switch(rn.browser()){case"chrome":this.imagePath=this.imageBasePath+"chrome.png";break;case"edge":this.imagePath=this.imageBasePath+"edge.png";break;case"firefox":this.imagePath=this.imageBasePath+"firefox.png",this.needReload=!0;break;case"safari":this.imagePath=this.imageBasePath+"safari-1.png",this.imagePath2=this.imageBasePath+"safari-2.png",this.needReload=!0;break;default:this.imagePath=this.imageBasePath+"chrome.png";break}}};e.\u0275fac=(()=>{let t;return function(l){return(t||(t=_i(e)))(l||e)}})(),e.\u0275cmp=st({type:e,selectors:[["web-permission-popup"]],features:[Nt],decls:9,vars:14,consts:[[1,"modal","modal-auto","is-active",3,"id"],[1,"modal-background"],[1,"modal-content"],[1,"box","text-center"],[1,"block","text-size-large"],["class","block",4,"ngIf"],["class","block text-size-medium text-danger",4,"ngIf"],[1,"block"],[3,"src"],[1,"block","text-size-medium","text-danger"]],template:function(n,l){n&1&&(ke(0,"div",0)(1,"div",1),We("@backdrop.done",function(B){return l.onBackdropAnimationDone(B)}),Ae(),ke(2,"div",2),We("@card.done",function(B){return l.onCardA
330nimationdropDone(B)}),ke(3,"div",3)(4,"div",4),Ge(5),Ae(),$e(6,hK,2,1,"div",5)(7,cK,2,1,"div",5)(8,uK,3,3,"div",6),Ae()()()),n&2&&(as("id",l.modalId),_e("@.disabled",!l.isAnimated),we(),_e("@backdrop",cr(8,rD,l.animationState,l.backdropAnimations)),we(),_e("@card",cr(11,rD,l.animationState,l.cardAnimations)),we(3),oi(" ",l.data.message," "),we(),_e("ngIf",l.imagePath),we(),_e("ngIf",l.imagePath2),we(),_e("ngIf",l.needReload))},dependencies:[wt,wS]});let i=e;return i})();var a_e=(()=>{let e=class e{constructor(t){this.elementRef=t,this.libClickOutside=new Qe}onClick(t){this.elementRef.nativeElement.contains(t.target)||this.libClickOutside.emit(t)}};e.\u0275fac=function(n){return new(n||e)(Ie(Bt))},e.\u0275dir=ft({type:e,selectors:[["","libClickOutside",""]],hostBindings:function(n,l){n&1&&We("click",function(B){return l.onClick(B)},!1,XC)},outputs:{libClickOutside:"libClickOutside"}});let i=e;return i})();var m_e=(()=>{let e=class e{transform(t,n){let l=Rt.fromJSDate(n).diff(Rt.fromJSDate(t)).shiftTo("hours","minutes","seconds");return l.hours>0?l.toFormat("h'h' m'm' s's'"):l.minutes>0?l.toFormat("m'm' s's'"):l.toFormat("s's'")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=_n({name:"aDuration",type:e,pure:!0});let i=e;return i})();var Kwe=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Yt({type:e}),e.\u0275inj=Wt({imports:[Sn,Eh,fd,mp,Wg,ZS,Cp,fy,Sp,y0,Sn,Eh,fd,mp,NA,Cp,fy,Sp,y0]});let i=e;return i})();export{da as a,Fee as b,Qi as c,GR as d,di as e,XR as f,K_ as g,Q_ as h,Vee as i,Si as j,mh as k,mn as l,Fc as m,Ri as n,z_ as o,F2 as p,Pi as q,X_ as r,DR as s,gh as t,xl as u,Wc as v,Kf as w,FR as x,V2 as y,$R as z,YR as A,Eh as B,G5 as C,Mre as D,Tre as E,pm as F,Q5 as G,kre as H,yb as I,fm as J,J5 as K,mm as L,gm as M,FN as N,Jc as O,Are as P,kh as Q,nw as R,sw as S,Em as T,eu as U,tu as V,Vr as W,rw as X,Be as Y,yw as Z,ow as _,aw as $,lw as aa,hw as ba,cw as ca,uw as da,dw as ea,pw as fa,fw as ga,mw as ha,gw as ia,kw as ja,Ew as ka,bw as la,Sce as ma,Ah as na,gp as oa,yue as pa,xp as qa,hS as ra,Dl as sa,In as ta,vl as ua,Rt as va,rn as wa,Jn as xa,zr as ya,Ss as za,ou as Aa,su as Ba,p3e as Ca,g3e as Da,PI as Ea,cu as Fa,vm as Ga,xm as Ha,Cm as Ia,_m as Ja,MS as Ka,TS as La,kS as Ma,AS as Na,Ns as Oa,iD as Pa,EH as Qa,BS as Ra,qm as Sa,NS as Ta,sD as Ua,l4e as Va,Eo as Wa,fee as Xa,qI as Ya,mee as Za,gee as _a,Kfe as $a,Ts as ab,fg as bb,pEe as cb,Gk as db,ox as eb,HA as fb,Zxe as gb,Ube as hb,Yg as ib,qk as jb,yye as kb,Iye as lb,Vye as mb,Xye as nb,Qye as ob,Qk as pb,Mve as qb,Dve as rb,Bve as sb,$ve as tb,Yve as ub,a_e as vb,m_e as wb,Kve as xb,Kwe as yb};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.