Newer
Older
!function(){"use strict";var n,r={},e={};function t(n){var o=e[n];if(void 0!==o)return o.exports;var u=e[n]={exports:{}};return r[n].call(u.exports,u,u.exports,t),u.exports}t.m=r,n=[],t.O=function(r,e,o,u){if(!e){var f=1/0;for(a=0;a<n.length;a++){e=n[a][0],o=n[a][1],u=n[a][2];for(var i=!0,c=0;c<e.length;c++)(!1&u||f>=u)&&Object.keys(t.O).every(function(n){return t.O[n](e[c])})?e.splice(c--,1):(i=!1,u<f&&(f=u));i&&(n.splice(a--,1),r=o())}return r}u=u||0;for(var a=n.length;a>0&&n[a-1][2]>u;a--)n[a]=n[a-1];n[a]=[e,o,u]},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,{a:r}),r},t.d=function(n,r){for(var e in r)t.o(r,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})},t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},function(){var n={666:0};t.O.j=function(r){return 0===n[r]};var r=function(r,e){var o,u,f=e[0],i=e[1],c=e[2],a=0;for(o in i)t.o(i,o)&&(t.m[o]=i[o]);if(c)var l=c(t);for(r&&r(e);a<f.length;a++)t.o(n,u=f[a])&&n[u]&&n[u][0](),n[f[a]]=0;return t.O(l)},e=self.webpackChunknetex=self.webpackChunknetex||[];e.forEach(r.bind(null,0)),e.push=r.bind(null,e.push.bind(e))}()}();
!function(){function t(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}(self.webpackChunknetex=self.webpackChunknetex||[]).push([[698,429],{2975:function(t,e,n){"use strict";n(4791),n(7037),n(477),n(9213),n(2368),n(6179),n(905),n(2472),n(8272),n(3080),n(1979),n(6152),n(2953),n(410),n(530),n(6270),n(420),n(3259),n(8902),n(3482),n(5704),n(3958),n(7598),n(1519),n(8294),n(8974),n(9394),n(6388),n(5842),n(1180),n(4469),n(3047),n(1097),n(4690),n(8004),n(5443),n(7328),n(7678),n(5319),n(7921),n(4984),n(7400),n(7347),n(6244),n(4626),n(6485),n(6837),n(4049),n(4991),n(3311),n(6477),n(7163),n(7176),n(3744),n(6261),n(706),n(3358),n(1),n(5139),n(9139),n(2786),n(4260),n(890),n(8147),n(6475),n(9305),n(7285),n(6771),n(1323),n(7371),n(352),n(912),n(6954),n(6262),n(2426),n(5374),n(1581),n(4104),n(9719),n(6446),n(9134),n(4378),n(4119),n(7741),n(8854),n(3438),n(3014),n(4098),n(2603),n(4541),n(4932),n(5579),n(9465)},5022:function(){!function(t,e){"use strict";function n(){var t=S.splice(0,S.length);for(Kt=0;t.length;)t.shift().call(null,t.shift())}function r(t,e){for(var n=0,r=t.length;n<r;n++)v(t[n],e)}function o(t){return function(e){Dt(e)&&(v(e,t),it.length&&r(e.querySelectorAll(it),t))}}function i(t){var e=Ut.call(t,"is"),n=t.nodeName.toUpperCase(),r=ct.call(rt,e?tt+e.toUpperCase():Q+n);return e&&-1<r&&!a(n,e)?-1:r}function a(t,e){return-1<it.indexOf(t+'[is="'+e+'"]')}function c(t){var e=t.currentTarget,n=t.attrChange,r=t.attrName,o=t.target,i=t[X]||2,a=t[$]||3;!re||o&&o!==e||!e[U]||"style"===r||t.prevValue===t.newValue&&(""!==t.newValue||n!==i&&n!==a)||e[U](r,n===i?null:t.prevValue,n===a?null:t.newValue)}function u(t){var e=o(t);return function(t){S.push(e,t.target),Kt&&clearTimeout(Kt),Kt=setTimeout(n,1)}}function s(t){ne&&(ne=!1,t.currentTarget.removeEventListener(K,s)),it.length&&r((t.target||k).querySelectorAll(it),t.detail===F?F:H),At&&function(){for(var t,e=0,n=Rt.length;e<n;e++)at.contains(t=Rt[e])||(n--,Rt.splice(e--,1),v(t,F))}()}function l(t,e){var n=this;Vt.call(n,t,e),x.call(n,{target:n})}function f(t,e,n){var r=e.apply(t,n),o=i(r);return-1<o&&I(r,ot[o]),n.pop()&&it.length&&function(t){for(var e,n=0,r=t.length;n<r;n++)I(e=t[n],ot[i(e)])}(r.querySelectorAll(it)),r}function p(t,e){jt(t,e),L?L.observe(t,$t):(ee&&(t.setAttribute=l,t[D]=M(t),t[R](J,x)),t[R](Y,c)),t[B]&&re&&(t.created=!0,t[B](),t.created=!1)}function h(t){throw new Error("A "+t+" type is already registered")}function v(t,e){var n,r,o=i(t);-1<o&&!Ft.call(t,"TEMPLATE")&&(P(t,ot[o]),o=0,e!==H||t[H]?e!==F||t[F]||(t[H]=!1,t[F]=!0,r="disconnected",o=1):(t[F]=!1,t[H]=!0,r="connected",o=1,At&&ct.call(Rt,t)<0&&Rt.push(t)),o&&(n=t[e+Z]||t[r+Z])&&n.call(t))}function d(){}function g(t,e,n){var r=n&&n[z]||"",o=e.prototype,i=Lt(o),a=e.observedAttributes||pt,c={prototype:i};Nt(i,B,{value:function(){if(wt)wt=!1;else if(!this[mt]){this[mt]=!0,new e(this),o[B]&&o[B].call(this);var t=St[Ot.get(e)];(!Et||t.create.length>1)&&b(this)}}}),Nt(i,U,{value:function(t){-1<ct.call(a,t)&&o[U]&&o[U].apply(this,arguments)}}),o[W]&&Nt(i,G,{value:o[W]}),o[V]&&Nt(i,q,{value:o[V]}),r&&(c[z]=r),t=t.toUpperCase(),St[t]={constructor:e,create:r?[r,Mt(t)]:[t]},Ot.set(e,t),k[A](t.toLowerCase(),c),E(t),xt[t].r()}function y(t){var e=St[t.toUpperCase()];return e&&e.constructor}function m(t){return"string"==typeof t?t:t&&t.is||""}function b(t){for(var e,n=t[U],r=n?t.attributes:pt,o=r.length;o--;)n.call(t,(e=r[o]).name||e.nodeName,null,e.value||e.nodeValue)}function E(t){return(t=t.toUpperCase())in xt||(xt[t]={},xt[t].p=new _t(function(e){xt[t].r=e})),xt[t].p}function T(){bt&&delete t.customElements,ft(t,"customElements",{configurable:!0,value:new d}),ft(t,"CustomElementRegistry",{configurable:!0,value:d});for(var e=w.get(/^HTML[A-Z]*[a-z]/),n=e.length;n--;function(e){var n=t[e];if(n){t[e]=function(t){var e,r;return t||(t=this),t[mt]||(wt=!0,e=St[Ot.get(t.constructor)],(t=(r=Et&&1===e.create.length)?Reflect.construct(n,pt,e.constructor):k.createElement.apply(k,e.create))[mt]=!0,wt=!1,r||b(t)),t},t[e].prototype=n.prototype;try{n.prototype.constructor=t[e]}catch(r){ft(n,mt,{value:t[e]})}}}(e[n]));k.createElement=function(t,e){var n=m(e);return n?Xt.call(this,t,Mt(n)):Xt.call(this,t)},Jt||(te=!0,k[A](""))}var k=t.document,_=t.Object,w=function(t){var e,n,r,o,i=/^[A-Z]+[a-z]/,a=function(t,e){(e=e.toLowerCase())in c||(c[t]=(c[t]||[]).concat(e),c[e]=c[e.toUpperCase()]=t)},c=(_.create||_)(null),u={};for(n in t)for(o in t[n])for(c[o]=r=t[n][o],e=0;e<r.length;e++)c[r[e].toLowerCase()]=c[r[e].toUpperCase()]=o;return u.get=function(t){return"string"==typeof t?c[t]||(i.test(t)?[]:""):function(t){var e,n=[];for(e in c)t.test(e)&&n.push(e);return n}(t)},u.set=function(t,e){return i.test(t)?a(t,e):a(e,t),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof e&&(e={type:e||"auto"});var S,x,O,M,L,j,P,I,C,A="registerElement",N=1e5*t.Math.random()>>0,D="__"+A+N,R="addEventListener",H="attached",Z="Callback",F="detached",z="extends",U="attributeChanged"+Z,G=H+Z,W="connected"+Z,V="disconnected"+Z,B="created"+Z,q=F+Z,X="ADDITION",$="REMOVAL",Y="DOMAttrModified",K="DOMContentLoaded",J="DOMSubtreeModified",Q="<",tt="=",et=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,nt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],rt=[],ot=[],it="",at=k.documentElement,ct=rt.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},ut=_.prototype,st=ut.hasOwnProperty,lt=ut.isPrototypeOf,ft=_.defineProperty,pt=[],ht=_.getOwnPropertyDescriptor,vt=_.getOwnPropertyNames,dt=_.getPrototypeOf,gt=_.setPrototypeOf,yt=!!_.__proto__,mt="__dreCEv1",bt=t.customElements,Et=!/^force/.test(e.type)&&!!(bt&&bt.define&&bt.get&&bt.whenDefined),Tt=_.create||_,kt=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[ct.call(e,t)]},set:function(r,o){(t=ct.call(e,r))<0?n[e.push(r)-1]=o:n[t]=o}}},_t=t.Promise||function(t){function e(t){for(r=!0;n.length;)n.shift()(t)}var n=[],r=!1,o={catch:function(){return o},then:function(t){return n.push(t),r&&setTimeout(e,1),o}};return t(e),o},wt=!1,St=Tt(null),xt=Tt(null),Ot=new kt,Mt=function(t){return t.toLowerCase()},Lt=_.create||function t(e){return e?(t.prototype=e,new t):this},jt=gt||(yt?function(t,e){return t.__proto__=e,t}:vt&&ht?function(){function t(t,e){for(var n,r=vt(e),o=0,i=r.length;o<i;o++)st.call(t,n=r[o])||ft(t,n,ht(e,n))}return function(e,n){do{t(e,n)}while((n=dt(n))&&!lt.call(n,e));return e}}():function(t,e){for(var n in e)t[n]=e[n];return t}),Pt=t.MutationObserver||t.WebKitMutationObserver,It=t.HTMLAnchorElement,Ct=(t.HTMLElement||t.Element||t.Node).prototype,At=!lt.call(Ct,at),Nt=At?function(t,e,n){return t[e]=n.value,t}:ft,Dt=At?function(t){return 1===t.nodeType}:function(t){return lt.call(Ct,t)},Rt=At&&[],Ht=Ct.attachShadow,Zt=Ct.cloneNode,Ft=Ct.closest||function(t){for(var e=this;e&&e.nodeName!==t;)e=e.parentNode;return e},zt=Ct.dispatchEvent,Ut=Ct.getAttribute,Gt=Ct.hasAttribute,Wt=Ct.removeAttribute,Vt=Ct.setAttribute,Bt=k.createElement,qt=k.importNode,Xt=Bt,$t=Pt&&{attributes:!0,characterData:!0,attributeOldValue:!0},Yt=Pt||function(t){ee=!1,at.removeEventListener(Y,Yt)},Kt=0,Jt=A in k&&!/^force-all/.test(e.type),Qt=!0,te=!1,ee=!0,ne=!0,re=!0;if(Pt&&((C=k.createElement("div")).innerHTML="<div><div></div></div>",new Pt(function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(C=ht(Ct,"innerHTML"))&&C.set;n&&ft(Ct,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),C=null}).observe(C,{childList:!0,subtree:!0}),C.innerHTML=""),Jt||(gt||yt?(P=function(t,e){lt.call(e,t)||p(t,e)},I=p):I=P=function(t,e){t[D]||(t[D]=_(!0),p(t,e))},At?(ee=!1,function(){var t=ht(Ct,R),e=t.value,n=function(t){var e=new CustomEvent(Y,{bubbles:!0});e.attrName=t,e.prevValue=Ut.call(this,t),e.newValue=null,e[$]=e.attrChange=2,Wt.call(this,t),zt.call(this,e)},r=function(t,e){var n=Gt.call(this,t),r=n&&Ut.call(this,t),o=new CustomEvent(Y,{bubbles:!0});Vt.call(this,t,e),o.attrName=t,o.prevValue=n?r:null,o.newValue=e,n?o.MODIFICATION=o.attrChange=1:o[X]=o.attrChange=0,zt.call(this,o)},o=function(t){var e,n=t.currentTarget,r=n[D],o=t.propertyName;r.hasOwnProperty(o)&&(r=r[o],(e=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[o]||null,null==e.prevValue?e[X]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,zt.call(n,e))};t.value=function(t,i,a){t===Y&&this[U]&&this.setAttribute!==r&&(this[D]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",o)),e.call(this,t,i,a)},ft(Ct,R,t)}()):Pt||(at[R](Y,Yt),at.setAttribute(D,1),at.removeAttribute(D),ee&&(x=function(t){var e,n,r,o=this;if(o===t.target){for(r in e=o[D],o[D]=n=M(o),n){if(!(r in e))return O(0,o,r,e[r],n[r],X);if(n[r]!==e[r])return O(1,o,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return O(2,o,r,e[r],n[r],$)}},O=function(t,e,n,r,o,i){var a={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:o};a[i]=t,c(a)},M=function(t){for(var e,n,r={},o=t.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(e=o[i]).name)&&(r[n]=e.value);return r})),k[A]=function(t,e){if(n=t.toUpperCase(),Qt&&(Qt=!1,Pt?(L=function(t,e){function n(t,e){for(var n=0,r=t.length;n<r;e(t[n++]));}return new Pt(function(r){for(var o,i,a,c=0,u=r.length;c<u;c++)"childList"===(o=r[c]).type?(n(o.addedNodes,t),n(o.removedNodes,e)):(i=o.target,re&&i[U]&&"style"!==o.attributeName&&(a=Ut.call(i,o.attributeName))!==o.oldValue&&i[U](o.attributeName,o.oldValue,a))})}(o(H),o(F)),(j=function(t){return L.observe(t,{childList:!0,subtree:!0}),t})(k),Ht&&(Ct.attachShadow=function(){return j(Ht.apply(this,arguments))})):(S=[],k[R]("DOMNodeInserted",u(H)),k[R]("DOMNodeRemoved",u(F))),k[R](K,s),k[R]("readystatechange",s),k.importNode=function(t,e){switch(t.nodeType){case 1:return f(k,qt,[t,!!e]);case 11:for(var n=k.createDocumentFragment(),r=t.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(k.importNode(r[i],!!e));return n;default:return Zt.call(t,!!e)}},Ct.cloneNode=function(t){return f(this,Zt,[!!t])}),te)return te=!1;if(-2<ct.call(rt,tt+n)+ct.call(rt,Q+n)&&h(t),!et.test(n)||-1<ct.call(nt,n))throw new Error("The type "+t+" is invalid");var n,i,a=function(){return l?k.createElement(p,n):k.createElement(p)},c=e||ut,l=st.call(c,z),p=l?e[z].toUpperCase():n;return l&&-1<ct.call(rt,Q+p)&&h(p),i=rt.push((l?tt:Q)+n)-1,it=it.concat(it.length?",":"",l?p+'[is="'+t.toLowerCase()+'"]':p),a.prototype=ot[i]=st.call(c,"prototype")?c.prototype:Lt(Ct),it.length&&r(k.querySelectorAll(it),H),a},k.createElement=Xt=function(t,e){var n=m(e),r=n?Bt.call(k,t,Mt(n)):Bt.call(k,t),o=""+t,i=ct.call(rt,(n?tt:Q)+(n||o).toUpperCase()),c=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),c&&(c=a(o.toUpperCase(),n))),re=!k.createElement.innerHTMLHelper,c&&I(r,ot[i]),r}),addEventListener("beforeunload",function(){delete k.createElement,delete k.importNode,delete k[A]},!1),d.prototype={constructor:d,define:Et?function(t,e,n){if(n)g(t,e,n);else{var r=t.toUpperCase();St[r]={constructor:e,create:[r]},Ot.set(e,r),bt.define(t,e)}}:g,get:Et?function(t){return bt.get(t)||y(t)}:y,whenDefined:Et?function(t){return _t.race([bt.whenDefined(t),E(t)])}:E},!bt||/^force/.test(e.type))T();else if(!e.noBuiltIn)try{!function(e,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[z]="a",(e.prototype=Lt(It.prototype)).constructor=e,t.customElements.define(r,e,n),!o.test(k.createElement("a",{is:r}).outerHTML)||!o.test((new e).outerHTML))throw n}(function t(){return Reflect.construct(It,[],t)},{},"document-register-element-a"+N)}catch(oe){T()}if(!e.noBuiltIn)try{if(Bt.call(k,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ie){Mt=function(t){return{is:t.toLowerCase()}}}}(window)},5579:function(t){var e=function(t){"use strict";var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(x){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=Object.create((e&&e.prototype instanceof f?e:f).prototype),i=new _(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=E(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,i),o}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(x){return{type:"throw",arg:x}}}t.wrap=u;var l={};function f(){}function p(){}function h(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,g=d&&d(d(w([])));g&&g!==e&&n.call(g,o)&&(v=g);var y=h.prototype=f.prototype=Object.create(v);function m(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function b(t,e){function r(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(f).then(function(t){l.value=t,a(l)},function(t){return r("throw",t,a,c)})}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e(function(e,o){r(t,n,e,o)})}return o=o?o.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function w(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=y.constructor=h,h.constructor=p,p.displayName=c(h,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,a,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},m(b.prototype),b.prototype[i]=function(){return this},t.AsyncIterator=b,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new b(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},m(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=w,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:w(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=e}catch(n){Function("r","regeneratorRuntime = r")(e)}},9465:function(){"use strict";var t,e,n,r,o,i;function a(){t=Zone.__symbol__,e=Object[t("defineProperty")]=Object.defineProperty,n=Object[t("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=t("unconfigurables"),Object.defineProperty=function(t,e,n){if(u(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=s(t,e,n)),l(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach(function(n){Object.defineProperty(t,n,e[n])}),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach(function(n){e[n]=s(t,n,e[n])}),r(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var r=n(t,e);return r&&u(t,e)&&(r.configurable=!1),r}}function c(t,e,n){var r=n.configurable;return l(t,e,n=s(t,e,n),r)}function u(t,e){return t&&t[o]&&t[o][e]}function s(t,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(t[o]||Object.isFrozen(t)||e(t,o,{writable:!0,value:{}}),t[o]&&(t[o][n]=!0)),r}function l(t,n,r,o){try{return e(t,n,r)}catch(c){if(!r.configurable)throw c;void 0===o?delete r.configurable:r.configurable=o;try{return e(t,n,r)}catch(c){var i=!1;if("createdCallback"!==n&&"attachedCallback"!==n&&"detachedCallback"!==n&&"attributeChangedCallback"!==n||(i=!0),!i)throw c;var a=null;try{a=JSON.stringify(r)}catch(c){a=r.toString()}console.log("Attempting to configure '".concat(n,"' with descriptor '").concat(a,"' on object '").concat(t,"' and got error, giving up: ").concat(c))}}}function f(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),l=[],f=t.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");f?l=p.map(function(t){return"HTML"+t+"Element"}).concat(s):t.EventTarget?l.push("EventTarget"):l=s;for(var h=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,d=e.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},m=0;m<r.length;m++){var b=r[m],E=u+(b+c),T=u+(b+a);i[b]={},i[b][c]=E,i[b][a]=T}for(var k=0;k<p.length;k++)for(var _=p[k],w=o[_]={},S=0;S<r.length;S++){var x=r[S];w[x]=_+".addEventListener:"+x}for(var O=[],M=0;M<l.length;M++){var L=t[l[M]];O.push(L&&L.prototype)}return e.patchEventTarget(t,O,{vh:function(t,e,n,r){if(!h&&d)if(v)try{var o=e.toString();if("[object FunctionWrapper]"===o||o==g)return t.apply(n,r),!1}catch(a){return t.apply(n,r),!1}else{var i=e.toString();if("[object FunctionWrapper]"===i||i==g)return t.apply(n,r),!1}else if(v)try{e.toString()}catch(a){return t.apply(n,r),!1}return!0},transferEventName:function(t){return y[t]||t}}),Zone[e.symbol("patchEventTarget")]=!!t.EventTarget,!0}function p(t,e){var n=t.getGlobalObjects(),r=n.isNode,o=n.isMix;if((!r||o)&&!function(t,e){var n=t.getGlobalObjects(),r=n.isBrowser,o=n.isMix;if((r||o)&&!t.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var i=t.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(i&&!i.configurable)return!1;if(i){t.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var a=!!document.createElement("div").onclick;return t.ObjectDefineProperty(Element.prototype,"onclick",i),a}}var c=e.XMLHttpRequest;if(!c)return!1;var u=c.prototype,s=t.ObjectGetOwnPropertyDescriptor(u,"onreadystatechange");if(s){t.ObjectDefineProperty(u,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var l=!!(new c).onreadystatechange;return t.ObjectDefineProperty(u,"onreadystatechange",s||{}),l}var f=t.symbol("fake");t.ObjectDefineProperty(u,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[f]},set:function(t){this[f]=t}});var p=new c,h=function(){};p.onreadystatechange=h;var v=p[f]===h;return p.onreadystatechange=null,v}(t,e)){var i="undefined"!=typeof WebSocket;!function(t){for(var e=t.getGlobalObjects().eventNames,n=t.symbol("unbound"),r=function(r){var o=e[r],i="on"+o;self.addEventListener(o,function(e){var r,o,a=e.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=t.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement},!0)},o=0;o<e.length;o++)r(o)}(t),t.patchClass("XMLHttpRequest"),i&&function(t,e){var n=t.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=e.WebSocket;e.EventTarget||t.patchEventTarget(e,[i.prototype]),e.WebSocket=function(e,n){var a,c,u=arguments.length>1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach(function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}})):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=i.Zone;t.__load_patch("defineProperty",function(t,e,n){n._redefineProperty=c,a()}),t.__load_patch("registerElement",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)}),t.__load_patch("EventTargetLegacy",function(t,e,n){f(t,n),p(n,t)})}},2167:function(){"use strict";!function(t){var e=t.performance;function r(t){e&&e.mark&&e.mark(t)}function i(t,n){e&&e.measure&&e.measure(t,n)}r("Zone");var a=t.__Zone_symbol_prefix||"__zone_symbol__";function c(t){return a+t}var u=!0===t[c("forceDuplicateZoneCheck")];if(t.Zone){if(u||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var s=function(){function e(t,r){n(this,e),this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,r)}return o(e,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]}},{key:"getZoneWith",value:function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}},{key:"fork",value:function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}},{key:"wrap",value:function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}},{key:"run",value:function(t,e,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{C=C.parent}}},{key:"runGuarded",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}}},{key:"runTask",value:function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||T).name+"; Execution: "+this.name+")");if(t.state!==k||t.type!==j&&t.type!==L){var r=t.state!=S;r&&t._transitionTo(S,w),t.runCount++;var o=A;A=t,C={parent:C,zone:this};try{t.type==L&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==k&&t.state!==O&&(t.type==j||t.data&&t.data.isPeriodic?r&&t._transitionTo(w,S):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,S,k))),C=C.parent,A=o}}}},{key:"scheduleTask",value:function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));e=e.parent}t._transitionTo(_,k);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(O,_,k),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==_&&t._transitionTo(w,_),t}},{key:"scheduleMicroTask",value:function(t,e,n,r){return this.scheduleTask(new h(M,t,e,n,r,void 0))}},{key:"scheduleMacroTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(L,t,e,n,r,o))}},{key:"scheduleEventTask",value:function(t,e,n,r,o){return this.scheduleTask(new h(j,t,e,n,r,o))}},{key:"cancelTask",value:function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||T).name+"; Execution: "+this.name+")");t._transitionTo(x,w,S);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(O,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,x),t.runCount=0,t}},{key:"_updateTaskCount",value:function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}],[{key:"assertZonePatched",value:function(){if(t.Promise!==P.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var t=e.current;t.parent;)t=t.parent;return t}},{key:"current",get:function(){return C.zone}},{key:"currentTask",get:function(){return A}},{key:"__load_patch",value:function(n,o){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(P.hasOwnProperty(n)){if(!a&&u)throw Error("Already loaded patch: "+n)}else if(!t["__Zone_disable_"+n]){var c="Zone:"+n;r(c),P[n]=o(t,e,I),i(c,c)}}}]),e}();s.__symbol__=c;var l,f={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},p=function(){function t(e,r,o){n(this,t),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=r,this._forkZS=o&&(o&&o.onFork?o:r._forkZS),this._forkDlgt=o&&(o.onFork?r:r._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:r._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:r._interceptZS),this._interceptDlgt=o&&(o.onIntercept?r:r._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:r._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:r._invokeZS),this._invokeDlgt=o&&(o.onInvoke?r:r._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:r._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:r._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?r:r._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:r._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:r._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?r:r._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:r._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:r._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?r:r._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:r._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:r._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?r:r._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:r._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=o&&o.onHasTask;(i||r&&r._hasTaskZS)&&(this._hasTaskZS=i?o:f,this._hasTaskDlgt=r,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,o.onScheduleTask||(this._scheduleTaskZS=f,this._scheduleTaskDlgt=r,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=f,this._invokeTaskDlgt=r,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=f,this._cancelTaskDlgt=r,this._cancelTaskCurrZone=this.zone))}return o(t,[{key:"fork",value:function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}},{key:"intercept",value:function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}},{key:"invoke",value:function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}},{key:"handleError",value:function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}},{key:"scheduleTask",value:function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=M)throw new Error("Task is missing scheduleFn.");b(e)}return n}},{key:"invokeTask",value:function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}},{key:"cancelTask",value:function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}},{key:"hasTask",value:function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}},{key:"_updateTaskCount",value:function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}]),t}(),h=function(){function e(r,o,i,a,c,u){if(n(this,e),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=r,this.source=o,this.data=a,this.scheduleFn=c,this.cancelFn=u,!i)throw new Error("callback is not defined");this.callback=i;var s=this;this.invoke=r===j&&a&&a.useG?e.invokeTask:function(){return e.invokeTask.call(t,s,this,arguments)}}return o(e,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(k,_)}},{key:"_transitionTo",value:function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(e,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=t,t==k&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&E(),N--}}}]),e}(),v=c("setTimeout"),d=c("Promise"),g=c("then"),y=[],m=!1;function b(e){if(0===N&&0===y.length)if(l||t[d]&&(l=t[d].resolve(0)),l){var n=l[g];n||(n=l.then),n.call(l,E)}else t[v](E,0);e&&y.push(e)}function E(){if(!m){for(m=!0;y.length;){var t=y;y=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(r){I.onUnhandledError(r)}}}I.microtaskDrainDone(),m=!1}}var T={name:"NO ZONE"},k="notScheduled",_="scheduling",w="scheduled",S="running",x="canceling",O="unknown",M="microTask",L="macroTask",j="eventTask",P={},I={symbol:c,currentZoneFrame:function(){return C},onUnhandledError:D,microtaskDrainDone:D,scheduleMicroTask:b,showUncaughtError:function(){return!s[c("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:D,patchMethod:function(){return D},bindArguments:function(){return[]},patchThen:function(){return D},patchMacroTask:function(){return D},patchEventPrototype:function(){return D},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return D},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return D},wrapWithCurrentZone:function(){return D},filterProperties:function(){return[]},attachOriginToPatched:function(){return D},_redefineProperty:function(){return D},patchCallbacks:function(){return D}},C={parent:null,zone:new s(null,null)},A=null,N=0;function D(){}i("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=Object.getPrototypeOf,a=Object.create,c=Array.prototype.slice,u=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),l=Zone.__symbol__("");function f(t,e){return Zone.current.wrap(t,e)}function p(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var h=Zone.__symbol__,v="undefined"!=typeof window,d=v?window:void 0,g=v&&d||"object"==typeof self&&self||global,y=[null];function m(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=f(t[n],e+"_"+n));return t}function b(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,T=!("nw"in g)&&void 0!==g.process&&"[object process]"==={}.toString.call(g.process),k=!T&&!E&&!(!v||!d.HTMLElement),_=void 0!==g.process&&"[object process]"==={}.toString.call(g.process)&&!E&&!(!v||!d.HTMLElement),w={},S=function(t){if(t=t||g.event){var e=w[t.type];e||(e=w[t.type]=h("ON_PROPERTY"+t.type));var n,r=this||t.target||g,o=r[e];if(k&&r===d&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function x(t,n,o){var i=e(t,n);if(!i&&o&&e(o,n)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=h("on"+n+"patched");if(!t.hasOwnProperty(a)||!t[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=n.substr(2),l=w[s];l||(l=w[s]=h("ON_PROPERTY"+s)),i.set=function(e){var n=this;n||t!==g||(n=g),n&&(n[l]&&n.removeEventListener(s,S),u&&u.apply(n,y),"function"==typeof e?(n[l]=e,n.addEventListener(s,S,!1)):n[l]=null)},i.get=function(){var e=this;if(e||t!==g||(e=g),!e)return null;var r=e[l];if(r)return r;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof e.removeAttribute&&e.removeAttribute(n),o}return null},r(t,n,i),t[a]=!0}}}function O(t,e,n){if(e)for(var r=0;r<e.length;r++)x(t,"on"+e[r],n);else{var o=[];for(var i in t)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)x(t,o[a],n)}}var M=h("originalInstance");function L(t){var e=g[t];if(e){g[h(t)]=e,g[t]=function(){var n=m(arguments,t);switch(n.length){case 0:this[M]=new e;break;case 1:this[M]=new e(n[0]);break;case 2:this[M]=new e(n[0],n[1]);break;case 3:this[M]=new e(n[0],n[1],n[2]);break;case 4:this[M]=new e(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},I(g[t],e);var n,o=new e(function(){});for(n in o)"XMLHttpRequest"===t&&"responseBlob"===n||function(e){"function"==typeof o[e]?g[t].prototype[e]=function(){return this[M][e].apply(this[M],arguments)}:r(g[t].prototype,e,{set:function(n){"function"==typeof n?(this[M][e]=f(n,t+"."+e),I(this[M][e],n)):this[M][e]=n},get:function(){return this[M][e]}})}(n);for(n in e)"prototype"!==n&&e.hasOwnProperty(n)&&(g[t][n]=e[n])}}function j(t,n,r){for(var o=t;o&&!o.hasOwnProperty(n);)o=i(o);!o&&t[n]&&(o=t);var a=h(n),c=null;if(o&&(!(c=o[a])||!o.hasOwnProperty(a))&&(c=o[a]=o[n],b(o&&e(o,n)))){var u=r(c,a,n);o[n]=function(){return u(this,arguments)},I(o[n],c)}return c}function P(t,e,n){var r=null;function o(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=j(t,e,function(t){return function(e,r){var i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?p(i.name,r[i.cbIdx],i,o):t.apply(e,r)}})}function I(t,e){t[h("OriginalDelegate")]=e}var C=!1,A=!1;function N(){if(C)return A;C=!0;try{var t=d.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(A=!0)}catch(e){}return A}Zone.__load_patch("ZoneAwarePromise",function(e,r,i){var a=Object.getOwnPropertyDescriptor,c=Object.defineProperty,u=i.symbol,s=[],l=!0===e[u("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],f=u("Promise"),p=u("then");i.onUnhandledError=function(t){if(i.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},i.microtaskDrainDone=function(){for(var t=function(){var t=s.shift();try{t.zone.runGuarded(function(){if(t.throwOriginal)throw t.rejection;throw t})}catch(e){!function(t){i.onUnhandledError(t);try{var e=r[h];"function"==typeof e&&e.call(this,t)}catch(n){}}(e)}};s.length;)t()};var h=u("unhandledPromiseRejectionHandler");function v(t){return t&&t.then}function d(t){return t}function g(t){return L.reject(t)}var y=u("state"),m=u("value"),b=u("finally"),E=u("parentPromiseValue"),T=u("parentPromiseState");function k(t,e){return function(n){try{w(t,e,n)}catch(r){w(t,!1,r)}}}var _=u("currentTaskTrace");function w(t,e,n){var o,a,u=(o=!1,function(t){return function(){o||(o=!0,t.apply(null,arguments))}});if(t===n)throw new TypeError("Promise resolved with itself");if(null===t[y]){var f=null;try{"object"!=typeof n&&"function"!=typeof n||(f=n&&n.then)}catch(g){return u(function(){w(t,!1,g)})(),t}if(!1!==e&&n instanceof L&&n.hasOwnProperty(y)&&n.hasOwnProperty(m)&&null!==n[y])x(n),w(t,n[y],n[m]);else if(!1!==e&&"function"==typeof f)try{f.call(n,u(k(t,e)),u(k(t,!1)))}catch(g){u(function(){w(t,!1,g)})()}else{t[y]=e;var p=t[m];if(t[m]=n,t[b]===b&&!0===e&&(t[y]=t[T],t[m]=t[E]),!1===e&&n instanceof Error){var h=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;h&&c(n,_,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var v=0;v<p.length;)O(t,p[v++],p[v++],p[v++],p[v++]);if(0==p.length&&0==e){t[y]=0;var d=n;try{throw new Error("Uncaught (in promise): "+((a=n)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(n&&n.stack?"\n"+n.stack:""))}catch(g){d=g}l&&(d.throwOriginal=!0),d.rejection=n,d.promise=t,d.zone=r.current,d.task=r.currentTask,s.push(d),i.scheduleMicroTask()}}}return t}var S=u("rejectionHandledHandler");function x(t){if(0===t[y]){try{var e=r[S];e&&"function"==typeof e&&e.call(this,{rejection:t[m],promise:t})}catch(o){}t[y]=!1;for(var n=0;n<s.length;n++)t===s[n].promise&&s.splice(n,1)}}function O(t,e,n,r,o){x(t);var i=t[y],a=i?"function"==typeof r?r:d:"function"==typeof o?o:g;e.scheduleMicroTask("Promise.then",function(){try{var r=t[m],o=!!n&&b===n[b];o&&(n[E]=r,n[T]=i);var c=e.run(a,void 0,o&&a!==g&&a!==d?[]:[r]);w(n,!0,c)}catch(u){w(n,!1,u)}},n)}var M=function(){},L=function(){function e(t){n(this,e);var r=this;if(!(r instanceof e))throw new Error("Must be an instanceof Promise.");r[y]=null,r[m]=[];try{t&&t(k(r,!0),k(r,!1))}catch(o){w(r,!1,o)}}return o(e,[{key:Symbol.toStringTag,get:function(){return"Promise"}},{key:Symbol.species,get:function(){return e}},{key:"then",value:function(t,n){var o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||e);var i=new o(M),a=r.current;return null==this[y]?this[m].push(a,i,t,n):O(this,a,i,t,n),i}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){var n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=e);var o=new n(M);o[b]=b;var i=r.current;return null==this[y]?this[m].push(i,o,t,t):O(this,i,o,t,t),o}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(t){return w(new this(null),!0,t)}},{key:"reject",value:function(t){return w(new this(null),!1,t)}},{key:"race",value:function(e){var n,r,o=new this(function(t,e){n=t,r=e});function i(t){n(t)}function a(t){r(t)}var c,u=t(e);try{for(u.s();!(c=u.n()).done;){var s=c.value;v(s)||(s=this.resolve(s)),s.then(i,a)}}catch(l){u.e(l)}finally{u.f()}return o}},{key:"all",value:function(t){return e.allWithCallback(t)}},{key:"allSettled",value:function(t){return(this&&this.prototype instanceof e?this:e).allWithCallback(t,{thenCallback:function(t){return{status:"fulfilled",value:t}},errorCallback:function(t){return{status:"rejected",reason:t}}})}},{key:"allWithCallback",value:function(e,n){var r,o,i,a=this,c=new this(function(t,e){r=t,o=e}),u=2,s=0,l=[],f=t(e);try{var p=function(){var t=i.value;v(t)||(t=a.resolve(t));var e=s;try{t.then(function(t){l[e]=n?n.thenCallback(t):t,0===--u&&r(l)},function(t){n?(l[e]=n.errorCallback(t),0===--u&&r(l)):o(t)})}catch(c){o(c)}u++,s++};for(f.s();!(i=f.n()).done;)p()}catch(h){f.e(h)}finally{f.f()}return 0===(u-=2)&&r(l),c}}]),e}();L.resolve=L.resolve,L.reject=L.reject,L.race=L.race,L.all=L.all;var P=e[f]=e.Promise;e.Promise=L;var I=u("thenPatched");function C(t){var e=t.prototype,n=a(e,"then");if(!n||!1!==n.writable&&n.configurable){var r=e.then;e[p]=r,t.prototype.then=function(t,e){var n=this;return new L(function(t,e){r.call(n,t,e)}).then(t,e)},t[I]=!0}}return i.patchThen=C,P&&(C(P),j(e,"fetch",function(t){return e=t,function(t,n){var r=e.apply(t,n);if(r instanceof L)return r;var o=r.constructor;return o[I]||C(o),r};var e})),Promise[r.__symbol__("uncaughtPromiseErrors")]=s,L}),Zone.__load_patch("toString",function(t){var e=Function.prototype.toString,n=h("OriginalDelegate"),r=h("Promise"),o=h("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});var D=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(lt){D=!1}var H={useG:!0},Z={},F={},z=new RegExp("^"+l+"(\\w+)(true|false)$"),U=h("propagationStopped");function G(t,e){var n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=l+n,i=l+r;Z[t]={},Z[t].false=o,Z[t].true=i}function W(t,e,n){var r=n&&n.add||"addEventListener",o=n&&n.rm||"removeEventListener",a=n&&n.listeners||"eventListeners",c=n&&n.rmAll||"removeAllListeners",u=h(r),s="."+r+":",f=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var i=t.options;i&&"object"==typeof i&&i.once&&e[o].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,i)}},p=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[Z[e.type].false];if(r)if(1===r.length)f(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[U]);i++)f(o[i],n,e)}},v=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[Z[e.type].true];if(r)if(1===r.length)f(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[U]);i++)f(o[i],n,e)}};function d(e,n){if(!e)return!1;var f=!0;n&&void 0!==n.useG&&(f=n.useG);var d=n&&n.vh,g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);var y=!1;n&&void 0!==n.rt&&(y=n.rt);for(var m=e;m&&!m.hasOwnProperty(r);)m=i(m);if(!m&&e[r]&&(m=e),!m)return!1;if(m[u])return!1;var b,E=n&&n.eventNameToString,k={},_=m[u]=m[r],w=m[h(o)]=m[o],S=m[h(a)]=m[a],x=m[h(c)]=m[c];function O(t,e){return!D&&"object"==typeof t&&t?!!t.capture:D&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}n&&n.prepend&&(b=m[h(n.prepend)]=m[n.prepend]);var M=f?function(t){if(!k.isExisting)return _.call(k.target,k.eventName,k.capture?v:p,k.options)}:function(t){return _.call(k.target,k.eventName,t.invoke,k.options)},L=f?function(t){if(!t.isRemoved){var e,n=Z[t.eventName];n&&(e=n[t.capture?"true":"false"]);var r=e&&t.target[e];if(r)for(var o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[e]=null);break}}if(t.allRemoved)return w.call(t.target,t.eventName,t.capture?v:p,t.options)}:function(t){return w.call(t.target,t.eventName,t.invoke,t.options)},j=n&&n.diff?n.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},P=Zone[h("UNPATCHED_EVENTS")],C=t[h("PASSIVE_EVENTS")],A=function(e,r,o,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var u=this||t,s=arguments[0];n&&n.transferEventName&&(s=n.transferEventName(s));var l=arguments[1];if(!l)return e.apply(this,arguments);if(T&&"uncaughtException"===s)return e.apply(this,arguments);var p=!1;if("function"!=typeof l){if(!l.handleEvent)return e.apply(this,arguments);p=!0}if(!d||d(e,l,u,arguments)){var h=D&&!!C&&-1!==C.indexOf(s),v=O(arguments[2],h);if(P)for(var y=0;y<P.length;y++)if(s===P[y])return h?e.call(u,s,l,v):e.apply(this,arguments);var m=!!v&&("boolean"==typeof v||v.capture),b=!(!v||"object"!=typeof v)&&v.once,_=Zone.current,w=Z[s];w||(G(s,E),w=Z[s]);var S,x=w[m?"true":"false"],M=u[x],L=!1;if(M){if(L=!0,g)for(var I=0;I<M.length;I++)if(j(M[I],l))return}else M=u[x]=[];var A=u.constructor.name,N=F[A];N&&(S=N[s]),S||(S=A+r+(E?E(s):s)),k.options=v,b&&(k.options.once=!1),k.target=u,k.capture=m,k.eventName=s,k.isExisting=L;var R=f?H:void 0;R&&(R.taskData=k);var z=_.scheduleEventTask(S,l,R,o,i);return k.target=null,R&&(R.taskData=null),b&&(v.once=!0),(D||"boolean"!=typeof z.options)&&(z.options=v),z.target=u,z.capture=m,z.eventName=s,p&&(z.originalDelegate=l),c?M.unshift(z):M.push(z),a?u:void 0}}};return m[r]=A(_,s,M,L,y),b&&(m.prependListener=A(b,".prependListener:",function(t){return b.call(k.target,k.eventName,t.invoke,k.options)},L,y,!0)),m[o]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));var o=arguments[2],i=!!o&&("boolean"==typeof o||o.capture),a=arguments[1];if(!a)return w.apply(this,arguments);if(!d||d(w,a,e,arguments)){var c,u=Z[r];u&&(c=u[i?"true":"false"]);var s=c&&e[c];if(s)for(var f=0;f<s.length;f++){var p=s[f];if(j(p,a))return s.splice(f,1),p.isRemoved=!0,0===s.length&&(p.allRemoved=!0,e[c]=null,"string"==typeof r)&&(e[l+"ON_PROPERTY"+r]=null),p.zone.cancelTask(p),y?e:void 0}return w.apply(this,arguments)}},m[a]=function(){var e=this||t,r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));for(var o=[],i=V(e,E?E(r):r),a=0;a<i.length;a++){var c=i[a];o.push(c.originalDelegate?c.originalDelegate:c.callback)}return o},m[c]=function(){var e=this||t,r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));var i=Z[r];if(i){var a=e[i.false],u=e[i.true];if(a)for(var s=a.slice(),l=0;l<s.length;l++){var f=s[l];this[o].call(this,r,f.originalDelegate?f.originalDelegate:f.callback,f.options)}if(u)for(var p=u.slice(),h=0;h<p.length;h++){var v=p[h];this[o].call(this,r,v.originalDelegate?v.originalDelegate:v.callback,v.options)}}}else{for(var d=Object.keys(e),g=0;g<d.length;g++){var m=z.exec(d[g]),b=m&&m[1];b&&"removeListener"!==b&&this[c].call(this,b)}this[c].call(this,"removeListener")}if(y)return this},I(m[r],_),I(m[o],w),x&&I(m[c],x),S&&I(m[a],S),!0}for(var g=[],y=0;y<e.length;y++)g[y]=d(e[y],n);return g}function V(t,e){if(!e){var n=[];for(var r in t){var o=z.exec(r),i=o&&o[1];if(i&&(!e||i===e)){var a=t[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}var u=Z[e];u||(G(e),u=Z[e]);var s=t[u.false],l=t[u.true];return s?l?s.concat(l):s.slice():l?l.slice():[]}function B(t,e){var n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",function(t){return function(e,n){e[U]=!0,t&&t.apply(e,n)}})}function q(t,e,n,r,o){var i=Zone.__symbol__(r);if(!e[i]){var a=e[i]=e[r];e[r]=function(i,c,u){return c&&c.prototype&&o.forEach(function(e){var o="".concat(n,".").concat(r,"::")+e,i=c.prototype;if(i.hasOwnProperty(e)){var a=t.ObjectGetOwnPropertyDescriptor(i,e);a&&a.value?(a.value=t.wrapWithCurrentZone(a.value,o),t._redefineProperty(c.prototype,e,a)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}),a.call(e,i,c,u)},t.attachOriginToPatched(e[r],a)}}var X=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],$=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Y=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],J=["bounce","finish","start"],Q=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],tt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],et=["close","error","open","message"],nt=["error","message"],rt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],X,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(t,e,n){if(!n||0===n.length)return e;var r=n.filter(function(e){return e.target===t});if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter(function(t){return-1===o.indexOf(t)})}function it(t,e,n,r){t&&O(t,ot(t,e,n),r)}function at(t,e){if((!T||_)&&!Zone[t.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,r=e.__Zone_ignore_on_properties;if(k){var o=window,a=function(){try{var t=d.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:o,ignoreProperties:["error"]}]:[];it(o,rt.concat(["messageerror"]),r?r.concat(a):r,i(o)),it(Document.prototype,rt,r),void 0!==o.SVGElement&&it(o.SVGElement.prototype,rt,r),it(Element.prototype,rt,r),it(HTMLElement.prototype,rt,r),it(HTMLMediaElement.prototype,$,r),it(HTMLFrameSetElement.prototype,X.concat(K),r),it(HTMLBodyElement.prototype,X.concat(K),r),it(HTMLFrameElement.prototype,Y,r),it(HTMLIFrameElement.prototype,Y,r);var c=o.HTMLMarqueeElement;c&&it(c.prototype,J,r);var u=o.Worker;u&&it(u.prototype,nt,r)}var s=e.XMLHttpRequest;s&&it(s.prototype,Q,r);var l=e.XMLHttpRequestEventTarget;l&&it(l&&l.prototype,Q,r),"undefined"!=typeof IDBIndex&&(it(IDBIndex.prototype,tt,r),it(IDBRequest.prototype,tt,r),it(IDBOpenDBRequest.prototype,tt,r),it(IDBDatabase.prototype,tt,r),it(IDBTransaction.prototype,tt,r),it(IDBCursor.prototype,tt,r)),n&&it(WebSocket.prototype,et,r)}}Zone.__load_patch("util",function(t,n,o){o.patchOnProperties=O,o.patchMethod=j,o.bindArguments=m,o.patchMacroTask=P;var i=n.__symbol__("BLACK_LISTED_EVENTS"),u=n.__symbol__("UNPATCHED_EVENTS");t[u]&&(t[i]=t[u]),t[i]&&(n[i]=n[u]=t[i]),o.patchEventPrototype=B,o.patchEventTarget=W,o.isIEOrEdge=N,o.ObjectDefineProperty=r,o.ObjectGetOwnPropertyDescriptor=e,o.ObjectCreate=a,o.ArraySlice=c,o.patchClass=L,o.wrapWithCurrentZone=f,o.filterProperties=ot,o.attachOriginToPatched=I,o._redefineProperty=Object.defineProperty,o.patchCallbacks=q,o.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:Z,eventNames:rt,isBrowser:k,isMix:_,isNode:T,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:l,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var ct=h("zoneTask");function ut(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){return e.invoke.apply(this,arguments)},n.handleId=o.apply(t,n.args),e}function u(e){return i.call(t,e.data.handleId)}o=j(t,e+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},l=i[0];i[0]=function(){try{return l.apply(this,arguments)}finally{s.isPeriodic||("number"==typeof s.handleId?delete a[s.handleId]:s.handleId&&(s.handleId[ct]=null))}};var f=p(e,i[0],s,c,u);if(!f)return f;var h=f.data.handleId;return"number"==typeof h?a[h]=f:h&&(h[ct]=f),h&&h.ref&&h.unref&&"function"==typeof h.ref&&"function"==typeof h.unref&&(f.ref=h.ref.bind(h),f.unref=h.unref.bind(h)),"number"==typeof h||h?h:f}return n.apply(t,i)}}),i=j(t,n,function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[ct])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[ct]=null),o.zone.cancelTask(o)):e.apply(t,r)}})}function st(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var s=r[u],l=c+(s+a),f=c+(s+i);o[s]={},o[s][a]=l,o[s][i]=f}var p=t.EventTarget;return p&&p.prototype?(e.patchEventTarget(t,[p&&p.prototype]),!0):void 0}}Zone.__load_patch("legacy",function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("queueMicrotask",function(t,e,n){n.patchMethod(t,"queueMicrotask",function(t){return function(t,n){e.current.scheduleMicroTask("queueMicrotask",n[0])}})}),Zone.__load_patch("timers",function(t){ut(t,"set","clear","Timeout"),ut(t,"set","clear","Interval"),ut(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){ut(t,"request","cancel","AnimationFrame"),ut(t,"mozRequest","mozCancel","AnimationFrame"),ut(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)j(t,n[r],function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}})}),Zone.__load_patch("EventTarget",function(t,e,n){!function(t,e){e.patchEventPrototype(t,e)}(t,n),st(t,n);var r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype])}),Zone.__load_patch("MutationObserver",function(t,e,n){L("MutationObserver"),L("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(t,e,n){L("IntersectionObserver")}),Zone.__load_patch("FileReader",function(t,e,n){L("FileReader")}),Zone.__load_patch("on_property",function(t,e,n){at(n,t)}),Zone.__load_patch("customElements",function(t,e,n){!function(t,e){var n=e.getGlobalObjects(),r=n.isBrowser,o=n.isMix;(r||o)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",function(t,e){!function(t){var l=t.XMLHttpRequest;if(l){var f=l.prototype,v=f[u],d=f[s];if(!v){var g=t.XMLHttpRequestEventTarget;if(g){var y=g.prototype;v=y[u],d=y[s]}}var m=j(f,"open",function(){return function(t,e){return t[r]=0==e[2],t[a]=e[1],m.apply(t,e)}}),b=h("fetchTaskAborting"),E=h("fetchTaskScheduling"),T=j(f,"send",function(){return function(t,n){if(!0===e.current[E])return T.apply(t,n);if(t[r])return T.apply(t,n);var o={target:t,url:t[a],isPeriodic:!1,args:n,aborted:!1},i=p("XMLHttpRequest.send",w,o,_,S);t&&!0===t[c]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}}),k=j(f,"abort",function(){return function(t,r){var o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[b])return k.apply(t,r)}})}function _(t){var r=t.data,a=r.target;a[i]=!1,a[c]=!1;var l=a[o];v||(v=a[u],d=a[s]),l&&d.call(a,"readystatechange",l);var f=a[o]=function(){if(a.readyState===a.DONE)if(!r.aborted&&a[i]&&"scheduled"===t.state){var n=a[e.__symbol__("loadfalse")];if(0!==a.status&&n&&n.length>0){var o=t.invoke;t.invoke=function(){for(var n=a[e.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===t&&n.splice(i,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==a[i]||(a[c]=!0)};return v.call(a,"readystatechange",f),a[n]||(a[n]=t),T.apply(a,r.args),a[i]=!0,t}function w(){}function S(t){var e=t.data;return e.aborted=!0,k.apply(e.target,e.args)}}(t);var n=h("xhrTask"),r=h("xhrSync"),o=h("xhrListener"),i=h("xhrScheduled"),a=h("xhrURL"),c=h("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,o=function(o){var i=n[o],a=t[i];if(a){if(!b(e(t,i)))return"continue";t[i]=function(t){var e=function(){return t.apply(this,m(arguments,r+"."+i))};return I(e,t),e}(a)}},i=0;i<n.length;i++)o(i)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(t,e){function n(e){return function(n){V(t,e).forEach(function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}t.PromiseRejectionEvent&&(e[h("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[h("rejectionHandledHandler")]=n("rejectionhandled"))})},2723:function(t,e,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis,o="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,a="undefined"!=typeof global&&global;function c(t,e){return":"===e.charAt(0)?t.substring(function(t,e){for(var n=1,r=1;n<t.length;n++,r++)if("\\"===e[r])r++;else if(":"===t[n])return n;throw new Error('Unterminated $localize metadata block in "'.concat(e,'".'))}(t,e)+1):t}(r||a||o||i).$localize=function t(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(t.translate){var i=t.translate(e,r);e=i[0],r=i[1]}for(var a=c(e[0],e.raw[0]),u=1;u<e.length;u++)a+=r[u-1]+c(e[u],e.raw[u]);return a},n(2167),n(5022)},9134:function(t,e,n){n(4636),n(5982),n(7585),n(6251),n(3073);var r=n(6950);t.exports=r.Date},6446:function(t,e,n){n(2203),n(6440),n(9244),n(3129),n(4161),n(298),n(5817),n(4523),n(2325),n(3042),n(8937),n(1209),n(5133),n(110),n(51),n(5189),n(663),n(3862);var r=n(6950);t.exports=r.Math},9719:function(t,e,n){n(6455),n(7298),n(7135),n(707),n(938),n(7530),n(2527),n(270),n(9101),n(5803),n(2583),n(6544);var r=n(6950);t.exports=r.Number},4791:function(t,e,n){n(8974),n(5704),n(5619),n(2502),n(1005),n(2372),n(5126),n(505),n(838),n(963),n(7624),n(1548),n(4702),n(9169),n(4759),n(6142),n(5745),n(4932),n(663),n(4144);var r=n(6950);t.exports=r.Symbol},7625:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},5143:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},4094:function(t,e,n){var r=n(4563),o=n(8724),i=n(3202),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},3274:function(t,e,n){"use strict";var r=n(4487).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},6063:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},1099:function(t,e,n){var r=n(726);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4514:function(t,e,n){"use strict";var r=n(6174),o=n(222),i=n(5902),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?c:o(l,c))-s,c-u),p=1;for(s<u&&u<s+f&&(p=-1,s+=f-1,u+=f-1);f-- >0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},5378:function(t,e,n){"use strict";var r=n(6174),o=n(222),i=n(5902);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},7462:function(t,e,n){"use strict";var r=n(4115).forEach,o=n(7051)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},4362:function(t,e,n){"use strict";var r=n(9727),o=n(6174),i=n(7651),a=n(1643),c=n(5902),u=n(5347),s=n(3076);t.exports=function(t){var e,n,l,f,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),E=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>E;E++)h=m?y(v[E],E):v[E],u(n,E,h);else for(p=(f=b.call(v)).next,n=new d;!(l=p.call(f)).done;E++)h=m?i(f,y,[l.value,E],!0):l.value,u(n,E,h);return n.length=E,n}},452:function(t,e,n){var r=n(8643),o=n(5902),i=n(222),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),l=i(a,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4115:function(t,e,n){var r=n(9727),o=n(6169),i=n(6174),a=n(5902),c=n(2889),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,l=4==t,f=6==t,p=7==t,h=5==t||f;return function(v,d,g,y){for(var m,b,E=i(v),T=o(E),k=r(d,g,3),_=a(T.length),w=0,S=y||c,x=e?S(v,_):n||p?S(v,0):void 0;_>w;w++)if((h||w in T)&&(b=k(m=T[w],w,E),t))if(e)x[w]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:u.call(x,m)}else switch(t){case 4:return!1;case 7:u.call(x,m)}return f?-1:s||l?l:x}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},1275:function(t,e,n){"use strict";var r=n(8643),o=n(9463),i=n(5902),a=n(7051),c=Math.min,u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=s||!l?function(t){if(s)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=c(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},7394:function(t,e,n){var r=n(8597),o=n(4563),i=n(7189),a=o("species");t.exports=function(t){return i>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},7051:function(t,e,n){"use strict";var r=n(8597);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){throw 1},1)})}},4716:function(t,e,n){var r=n(7625),o=n(6174),i=n(6169),a=n(5902),c=function(t){return function(e,n,c,u){r(n);var s=o(e),l=i(s),f=a(s.length),p=t?f-1:0,h=t?-1:1;if(c<2)for(;;){if(p in l){u=l[p],p+=h;break}if(p+=h,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=h)p in l&&(u=n(u,l[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},2889:function(t,e,n){var r=n(726),o=n(7883),i=n(4563)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},7651:function(t,e,n){var r=n(1099),o=n(8456);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){throw o(t),a}}},6297:function(t,e,n){var r=n(4563)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},6644:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9420:function(t,e,n){var r=n(2900),o=n(6644),i=n(4563)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},5692:function(t,e,n){"use strict";var r=n(3202).f,o=n(8724),i=n(8715),a=n(9727),c=n(6063),u=n(3284),s=n(6038),l=n(7374),f=n(7012),p=n(4238).fastKey,h=n(2493),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var l=t(function(t,r){c(t,l,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),f?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(l.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),l(e)}}},6491:function(t,e,n){"use strict";var r=n(8715),o=n(4238).getWeakData,i=n(1099),a=n(726),c=n(6063),u=n(3284),s=n(4115),l=n(7791),f=n(2493),p=f.set,h=f.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){c(t,f,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],{that:t,AS_ENTRIES:n})}),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&l(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&l(n,e.id)}}),r(f.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),f}}},1603:function(t,e,n){"use strict";var r=n(1163),o=n(1864),i=n(7215),a=n(7763),c=n(4238),u=n(3284),s=n(6063),l=n(726),f=n(8597),p=n(6297),h=n(8242),v=n(8267);t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",m=o[t],b=m&&m.prototype,E=m,T={},k=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||b.forEach&&!f(function(){(new m).entries().next()}))))E=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var _=new E,w=_[y](g?{}:-0,1)!=_,S=f(function(){_.has(1)}),x=p(function(t){new m(t)}),O=!g&&f(function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)});x||((E=e(function(e,n){s(e,E,t);var r=v(new m,e,E);return null!=n&&u(n,r[y],{that:r,AS_ENTRIES:d}),r})).prototype=b,b.constructor=E),(S||O)&&(k("delete"),k("has"),d&&k("get")),(O||w)&&k(y),g&&b.clear&&delete b.clear}return T[t]=E,r({global:!0,forced:E!=m},T),h(E,t),g||n.setStrong(E,t,d),E}},9:function(t,e,n){var r=n(7791),o=n(9376),i=n(3099),a=n(3202);t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s<n.length;s++){var l=n[s];r(t,l)||c(t,l,u(e,l))}}},363:function(t,e,n){var r=n(4563)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},1335:function(t,e,n){var r=n(8597);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2769:function(t,e,n){var r=n(5025),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,""")+'"'),c+">"+a+"</"+e+">"}},7453:function(t,e,n){"use strict";var r=n(2053).IteratorPrototype,o=n(8724),i=n(3203),a=n(8242),c=n(2339),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},815:function(t,e,n){var r=n(7012),o=n(3202),i=n(3203);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},3203:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5347:function(t,e,n){"use strict";var r=n(8495),o=n(3202),i=n(3203);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},6194:function(t,e,n){"use strict";var r=n(8597),o=n(4164).start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!r(function(){u.call(new Date(NaN))})?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},4256:function(t,e,n){"use strict";var r=n(1099),o=n(8495);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},6038:function(t,e,n){"use strict";var r=n(1163),o=n(7453),i=n(3963),a=n(1464),c=n(8242),u=n(815),s=n(7763),l=n(4563),f=n(7515),p=n(2339),h=n(2053),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};t.exports=function(t,e,n,l,h,m,b){o(n,e,l);var E,T,k,_=function(t){if(t===h&&M)return M;if(!d&&t in x)return x[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},w=e+" Iterator",S=!1,x=t.prototype,O=x[g]||x["@@iterator"]||h&&x[h],M=!d&&O||_(h),L="Array"==e&&x.entries||O;if(L&&(E=i(L.call(new t)),v!==Object.prototype&&E.next&&(f||i(E)===v||(a?a(E,v):"function"!=typeof E[g]&&u(E,g,y)),c(E,w,!0,!0),f&&(p[w]=y))),"values"==h&&O&&"values"!==O.name&&(S=!0,M=function(){return O.call(this)}),f&&!b||x[g]===M||u(x,g,M),p[e]=M,h)if(T={values:_("values"),keys:m?M:_("keys"),entries:_("entries")},b)for(k in T)(d||S||!(k in x))&&s(x,k,T[k]);else r({target:e,proto:!0,forced:d||S},T);return T}},7007:function(t,e,n){var r=n(6950),o=n(7791),i=n(3589),a=n(3202).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},7012:function(t,e,n){var r=n(8597);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},5815:function(t,e,n){var r=n(1864),o=n(726),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},6877:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2846:function(t){t.exports="object"==typeof window},586:function(t,e,n){var r=n(3792);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},2002:function(t,e,n){var r=n(6644),o=n(1864);t.exports="process"==r(o.process)},6607:function(t,e,n){var r=n(3792);t.exports=/web0s(?!.*chrome)/i.test(r)},3792:function(t,e,n){var r=n(3626);t.exports=r("navigator","userAgent")||""},7189:function(t,e,n){var r,o,i=n(1864),a=n(3792),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},1001:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1163:function(t,e,n){var r=n(1864),o=n(3099).f,i=n(815),a=n(7763),c=n(2341),u=n(9),s=n(7215);t.exports=function(t,e){var n,l,f,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(h=o(n,l))&&h.value:n[l],!s(d?l:v+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,t)}}},8597:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},9357:function(t,e,n){"use strict";n(9665);var r=n(7763),o=n(8597),i=n(4563),a=n(815),c=i("species"),u=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),s="$0"==="a".replace(/./,"$0"),l=i("replace"),f=!!/./[l]&&""===/./[l]("a","$0"),p=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});t.exports=function(t,e,n,l){var h=i(t),v=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),d=v&&!o(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e});if(!v||!d||"replace"===t&&(!u||!s||f)||"split"===t&&!p){var g=/./[h],y=n(h,""[t],function(t,e,n,r,o){return e.exec===RegExp.prototype.exec?v&&!o?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}},{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),m=y[1];r(String.prototype,t,y[0]),r(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}l&&a(RegExp.prototype[h],"sham",!0)}},6507:function(t,e,n){"use strict";var r=n(7883),o=n(5902),i=n(9727);t.exports=function t(e,n,a,c,u,s,l,f){for(var p,h=u,v=0,d=!!l&&i(l,f,3);v<c;){if(v in a){if(p=d?d(a[v],v,n):a[v],s>0&&r(p))h=t(e,n,p,o(p.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[h]=p}h++}v++}return h}},9352:function(t,e,n){var r=n(8597);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},9727:function(t,e,n){var r=n(7625);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},2702:function(t,e,n){"use strict";var r=n(7625),o=n(726),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function r(){var o=n.concat(i.call(arguments));return this instanceof r?c(e,o.length,o):e.apply(t,o)};return o(e.prototype)&&(a.prototype=e.prototype),a}},3626:function(t,e,n){var r=n(6950),o=n(1864),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},3076:function(t,e,n){var r=n(9420),o=n(2339),i=n(4563)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},6162:function(t,e,n){var r=n(6174),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,u,s,l){var f=n+t.length,p=u.length,h=c;return void 0!==s&&(s=r(s),h=a),i.call(l,h,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>p){var l=o(c/10);return 0===l?r:l<=p?void 0===u[l-1]?i.charAt(1):u[l-1]+i.charAt(1):r}a=u[c-1]}return void 0===a?"":a})}},1864:function(t){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof global&&global)||function(){return this}()||Function("return this")()},7791:function(t,e,n){var r=n(6174),o={}.hasOwnProperty;t.exports=function(t,e){return o.call(r(t),e)}},3536:function(t){t.exports={}},9989:function(t,e,n){var r=n(1864);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},7538:function(t,e,n){var r=n(3626);t.exports=r("document","documentElement")},7091:function(t,e,n){var r=n(7012),o=n(8597),i=n(5815);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},6169:function(t,e,n){var r=n(8597),o=n(6644),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},8267:function(t,e,n){var r=n(726),o=n(1464);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},7720:function(t,e,n){var r=n(9941),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},4238:function(t,e,n){var r=n(3536),o=n(726),i=n(7791),a=n(3202).f,c=n(4295),u=n(9352),s=c("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++l,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&f(t)&&!i(t,s)&&p(t),t}};r[s]=!0},2493:function(t,e,n){var r,o,i,a=n(1635),c=n(1864),u=n(726),s=n(815),l=n(7791),f=n(9941),p=n(2650),h=n(3536);if(a){var v=f.state||(f.state=new(0,c.WeakMap)),d=v.get,g=v.has,y=v.set;r=function(t,e){if(g.call(v,t))throw new TypeError("Object already initialized");return e.facade=t,y.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=p("state");h[m]=!0,r=function(t,e){if(l(t,m))throw new TypeError("Object already initialized");return e.facade=t,s(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},1643:function(t,e,n){var r=n(4563),o=n(2339),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},7883:function(t,e,n){var r=n(6644);t.exports=Array.isArray||function(t){return"Array"==r(t)}},7215:function(t,e,n){var r=n(8597),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},9829:function(t,e,n){var r=n(726),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},726:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},7515:function(t){t.exports=!1},9482:function(t,e,n){var r=n(726),o=n(6644),i=n(4563)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},3284:function(t,e,n){var r=n(1099),o=n(1643),i=n(5902),a=n(9727),c=n(3076),u=n(8456),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,f,p,h,v,d,g,y=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),E=a(e,n&&n.that,1+y+b),T=function(t){return l&&u(l),new s(!0,t)},k=function(t){return y?(r(t),b?E(t[0],t[1],T):E(t[0],t[1])):b?E(t,T):E(t)};if(m)l=t;else{if("function"!=typeof(f=c(t)))throw TypeError("Target is not iterable");if(o(f)){for(p=0,h=i(t.length);h>p;p++)if((v=k(t[p]))&&v instanceof s)return v;return new s(!1)}l=f.call(t)}for(d=l.next;!(g=d.call(l)).done;){try{v=k(g.value)}catch(_){throw u(l),_}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},8456:function(t,e,n){var r=n(1099);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},2053:function(t,e,n){"use strict";var r,o,i,a=n(8597),c=n(3963),u=n(815),s=n(7791),l=n(4563),f=n(7515),p=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0);var v=null==r||a(function(){var t={};return r[p].call(t)!==t});v&&(r={}),f&&!v||s(r,p)||u(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},2339:function(t){t.exports={}},2914:function(t){var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:e},5262:function(t,e,n){var r=n(2595),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),l=r(t);return i<s?l*(i/s/c+1/a-1/a)*s*c:(n=(e=(1+c/a)*i)-(e-i))>u||n!=n?l*(1/0):l*n}},6872:function(t){var e=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:e(1+t)}},2595:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},1463:function(t,e,n){var r,o,i,a,c,u,s,l,f=n(1864),p=n(3099).f,h=n(2040).set,v=n(586),d=n(6607),g=n(2002),y=f.MutationObserver||f.WebKitMutationObserver,m=f.document,b=f.process,E=f.Promise,T=p(f,"queueMicrotask"),k=T&&T.value;k||(r=function(){var t,e;for(g&&(t=b.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},v||g||d||!y||!m?E&&E.resolve?((s=E.resolve(void 0)).constructor=E,l=s.then,a=function(){l.call(s,r)}):a=g?function(){b.nextTick(r)}:function(){h.call(f,r)}:(c=!0,u=m.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),t.exports=k||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},6866:function(t,e,n){var r=n(1864);t.exports=r.Promise},7040:function(t,e,n){var r=n(7189),o=n(8597);t.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())||!Symbol.sham&&r&&r<41})},1635:function(t,e,n){var r=n(1864),o=n(7720),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},9723:function(t,e,n){"use strict";var r=n(7625),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},3270:function(t,e,n){var r=n(9482);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},87:function(t,e,n){var r=n(1864).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},8884:function(t,e,n){var r=n(1864),o=n(1664).trim,i=n(2781),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},3656:function(t,e,n){var r=n(1864),o=n(1664).trim,i=n(2781),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},1746:function(t,e,n){"use strict";var r=n(7012),o=n(8597),i=n(8032),a=n(7593),c=n(5600),u=n(6174),s=n(6169),l=Object.assign,f=Object.defineProperty;t.exports=!l||o(function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")})?function(t,e){for(var n=u(t),o=arguments.length,l=1,f=a.f,p=c.f;o>l;)for(var h,v=s(arguments[l++]),d=f?i(v).concat(f(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:l},8724:function(t,e,n){var r,o=n(1099),i=n(988),a=n(1001),c=n(3536),u=n(7538),s=n(5815),l=n(2650)("IE_PROTO"),f=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=o(t),n=new f,f.prototype=null,n[l]=t):n=h(),void 0===e?n:i(n,e)}},988:function(t,e,n){var r=n(7012),o=n(3202),i=n(1099),a=n(8032);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},3202:function(t,e,n){var r=n(7012),o=n(7091),i=n(1099),a=n(8495),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},3099:function(t,e,n){var r=n(7012),o=n(5600),i=n(3203),a=n(8643),c=n(8495),u=n(7791),s=n(7091),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=c(e,!0),s)try{return l(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},7388:function(t,e,n){var r=n(8643),o=n(4564).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},4564:function(t,e,n){var r=n(7759),o=n(1001).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},7593:function(t,e){e.f=Object.getOwnPropertySymbols},3963:function(t,e,n){var r=n(7791),o=n(6174),i=n(2650),a=n(1335),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},7759:function(t,e,n){var r=n(7791),o=n(8643),i=n(452).indexOf,a=n(3536);t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},8032:function(t,e,n){var r=n(7759),o=n(1001);t.exports=Object.keys||function(t){return r(t,o)}},5600:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},1464:function(t,e,n){var r=n(1099),o=n(5143);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},3871:function(t,e,n){var r=n(7012),o=n(8032),i=n(8643),a=n(5600).f,c=function(t){return function(e){for(var n,c=i(e),u=o(c),s=u.length,l=0,f=[];s>l;)n=u[l++],r&&!a.call(c,n)||f.push(t?[n,c[n]]:c[n]);return f}};t.exports={entries:c(!0),values:c(!1)}},3119:function(t,e,n){"use strict";var r=n(2900),o=n(9420);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},9376:function(t,e,n){var r=n(3626),o=n(4564),i=n(7593),a=n(1099);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},6950:function(t,e,n){var r=n(1864);t.exports=r},4113:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},6223:function(t,e,n){var r=n(1099),o=n(726),i=n(9723);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},8715:function(t,e,n){var r=n(7763);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},7763:function(t,e,n){var r=n(1864),o=n(815),i=n(7791),a=n(2341),c=n(7720),u=n(2493),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(u=l(n)).source||(u.source=f.join("string"==typeof e?e:""))),t!==r?(s?!h&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||c(this)})},3793:function(t,e,n){var r=n(6644),o=n(3084);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},3084:function(t,e,n){"use strict";var r,o,i=n(1891),a=n(9895),c=n(7719),u=RegExp.prototype.exec,s=c("native-string-replace",String.prototype.replace),l=u,f=(o=/b*/g,u.call(r=/a/,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||p)&&(l=function(t){var e,n,r,o,a=this,c=p&&a.sticky,l=i.call(a),v=a.source,d=0,g=t;return c&&(-1===(l=l.replace("y","")).indexOf("g")&&(l+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",l)),h&&(n=new RegExp("^"+v+"$(?!\\s)",l)),f&&(e=a.lastIndex),r=u.call(c?n:a,g),c?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),h&&r&&r.length>1&&s.call(r[0],n,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r}),t.exports=l},1891:function(t,e,n){"use strict";var r=n(1099);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},9895:function(t,e,n){"use strict";var r=n(8597);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r(function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=r(function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},5025:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2778:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},2341:function(t,e,n){var r=n(1864),o=n(815);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},7374:function(t,e,n){"use strict";var r=n(3626),o=n(3202),i=n(4563),a=n(7012),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},8242:function(t,e,n){var r=n(3202).f,o=n(7791),i=n(4563)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},2650:function(t,e,n){var r=n(7719),o=n(4295),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},9941:function(t,e,n){var r=n(1864),o=n(2341),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},7719:function(t,e,n){var r=n(7515),o=n(9941);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.0",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},7211:function(t,e,n){var r=n(1099),o=n(7625),i=n(4563)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},2469:function(t,e,n){var r=n(8597);t.exports=function(t){return r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},4487:function(t,e,n){var r=n(9463),o=n(5025),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},4164:function(t,e,n){var r=n(5902),o=n(3380),i=n(5025),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,l=String(i(e)),f=l.length,p=void 0===c?" ":String(c),h=r(n);return h<=f||""==p?l:((s=o.call(p,a((u=h-f)/p.length))).length>u&&(s=s.slice(0,u)),t?l+s:s+l)}};t.exports={start:c(!1),end:c(!0)}},3380:function(t,e,n){"use strict";var r=n(9463),o=n(5025);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},5637:function(t,e,n){var r=n(8597),o=n(2781);t.exports=function(t){return r(function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t})}},1664:function(t,e,n){var r=n(5025),o="["+n(2781)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},2040:function(t,e,n){var r,o,i,a=n(1864),c=n(8597),u=n(9727),s=n(7538),l=n(5815),f=n(586),p=n(2002),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,E={},T=function(t){if(E.hasOwnProperty(t)){var e=E[t];delete E[t],e()}},k=function(t){return function(){T(t)}},_=function(t){T(t.data)},w=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return E[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete E[t]},p?r=function(t){g.nextTick(k(t))}:m&&m.now?r=function(t){m.now(k(t))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=_,r=u(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&h&&"file:"!==h.protocol&&!c(w)?(r=w,a.addEventListener("message",_,!1)):r="onreadystatechange"in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),T(t)}}:function(t){setTimeout(k(t),0)}),t.exports={set:v,clear:d}},8924:function(t,e,n){var r=n(6644);t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},222:function(t,e,n){var r=n(9463),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},8643:function(t,e,n){var r=n(6169),o=n(5025);t.exports=function(t){return r(o(t))}},9463:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},5902:function(t,e,n){var r=n(9463),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},6174:function(t,e,n){var r=n(5025);t.exports=function(t){return Object(r(t))}},8495:function(t,e,n){var r=n(726);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},2900:function(t,e,n){var r={};r[n(4563)("toStringTag")]="z",t.exports="[object z]"===String(r)},4295:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},4431:function(t,e,n){var r=n(7040);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3589:function(t,e,n){var r=n(4563);e.f=r},4563:function(t,e,n){var r=n(1864),o=n(7719),i=n(7791),a=n(4295),c=n(7040),u=n(4431),s=o("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return i(s,t)&&(c||"string"==typeof s[t])||(s[t]=c&&i(l,t)?l[t]:f("Symbol."+t)),s[t]}},2781:function(t){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},8974:function(t,e,n){"use strict";var r=n(1163),o=n(8597),i=n(7883),a=n(726),c=n(6174),u=n(5902),s=n(5347),l=n(2889),f=n(7394),p=n(4563),h=n(7189),v=p("isConcatSpreadable"),d=h>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),g=f("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),f=l(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(f,p++,i)}return f.length=p,f}})},7347:function(t,e,n){var r=n(1163),o=n(4514),i=n(4094);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},7678:function(t,e,n){"use strict";var r=n(1163),o=n(4115).every;r({target:"Array",proto:!0,forced:!n(7051)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},6244:function(t,e,n){var r=n(1163),o=n(5378),i=n(4094);r({target:"Array",proto:!0},{fill:o}),i("fill")},5443:function(t,e,n){"use strict";var r=n(1163),o=n(4115).filter;r({target:"Array",proto:!0,forced:!n(7394)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},6485:function(t,e,n){"use strict";var r=n(1163),o=n(4115).findIndex,i=n(4094),a=!0;"findIndex"in[]&&Array(1).findIndex(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},4626:function(t,e,n){"use strict";var r=n(1163),o=n(4115).find,i=n(4094),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},3311:function(t,e,n){"use strict";var r=n(1163),o=n(6507),i=n(6174),a=n(5902),c=n(7625),u=n(2889);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return c(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},4991:function(t,e,n){"use strict";var r=n(1163),o=n(6507),i=n(6174),a=n(5902),c=n(9463),u=n(2889);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:c(t)),r}})},4690:function(t,e,n){"use strict";var r=n(1163),o=n(7462);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},6388:function(t,e,n){var r=n(1163),o=n(4362);r({target:"Array",stat:!0,forced:!n(6297)(function(t){Array.from(t)})},{from:o})},4049:function(t,e,n){"use strict";var r=n(1163),o=n(452).includes,i=n(4094);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},4984:function(t,e,n){"use strict";var r=n(1163),o=n(452).indexOf,i=n(7051),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:c||!u},{indexOf:function(t){return c?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},9394:function(t,e,n){n(1163)({target:"Array",stat:!0},{isArray:n(7883)})},6837:function(t,e,n){"use strict";var r=n(8643),o=n(4094),i=n(2339),a=n(2493),c=n(6038),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1180:function(t,e,n){"use strict";var r=n(1163),o=n(6169),i=n(8643),a=n(7051),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},7400:function(t,e,n){var r=n(1163),o=n(1275);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},8004:function(t,e,n){"use strict";var r=n(1163),o=n(4115).map;r({target:"Array",proto:!0,forced:!n(7394)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5842:function(t,e,n){"use strict";var r=n(1163),o=n(8597),i=n(5347);r({target:"Array",stat:!0,forced:o(function(){function t(){}return!(Array.of.call(t)instanceof t)})},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},7921:function(t,e,n){"use strict";var r=n(1163),o=n(4716).right,i=n(7051),a=n(7189),c=n(2002);r({target:"Array",proto:!0,forced:!i("reduceRight")||!c&&a>79&&a<83},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},5319:function(t,e,n){"use strict";var r=n(1163),o=n(4716).left,i=n(7051),a=n(7189),c=n(2002);r({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},4469:function(t,e,n){"use strict";var r=n(1163),o=n(726),i=n(7883),a=n(222),c=n(5902),u=n(8643),s=n(5347),l=n(4563),f=n(7394)("slice"),p=l("species"),h=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!f},{slice:function(t,e){var n,r,l,f=u(this),d=c(f.length),g=a(t,d),y=a(void 0===e?d:e,d);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(f,g,y);for(r=new(void 0===n?Array:n)(v(y-g,0)),l=0;g<y;g++,l++)g in f&&s(r,l,f[g]);return r.length=l,r}})},7328:function(t,e,n){"use strict";var r=n(1163),o=n(4115).some;r({target:"Array",proto:!0,forced:!n(7051)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},1097:function(t,e,n){"use strict";var r=n(1163),o=n(7625),i=n(6174),a=n(8597),c=n(7051),u=[],s=u.sort,l=a(function(){u.sort(void 0)}),f=a(function(){u.sort(null)}),p=c("sort");r({target:"Array",proto:!0,forced:l||!f||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},3047:function(t,e,n){"use strict";var r=n(1163),o=n(222),i=n(9463),a=n(5902),c=n(6174),u=n(2889),s=n(5347),l=n(7394)("splice"),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l},{splice:function(t,e){var n,r,l,h,v,d,g=c(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(g,r),h=0;h<r;h++)(v=m+h)in g&&s(l,h,g[v]);if(l.length=r,n<r){for(h=m;h<y-r;h++)d=h+n,(v=h+r)in g?g[d]=g[v]:delete g[d];for(h=y;h>y-r+n;h--)delete g[h-1]}else if(n>r)for(h=y-r;h>m;h--)d=h+n-1,(v=h+r-1)in g?g[d]=g[v]:delete g[d];for(h=0;h<n;h++)g[h+m]=arguments[h+2];return g.length=y-r+n,l}})},4636:function(t,e,n){n(1163)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},7585:function(t,e,n){var r=n(1163),o=n(6194);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},5982:function(t,e,n){"use strict";var r=n(1163),o=n(8597),i=n(6174),a=n(8495);r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},3073:function(t,e,n){var r=n(815),o=n(4256),i=n(4563)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},6251:function(t,e,n){var r=n(7763),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"})},7037:function(t,e,n){n(1163)({target:"Function",proto:!0},{bind:n(2702)})},9213:function(t,e,n){"use strict";var r=n(726),o=n(3202),i=n(3963),a=n(4563)("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},477:function(t,e,n){var r=n(7012),o=n(3202).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},4932:function(t,e,n){var r=n(1864);n(8242)(r.JSON,"JSON",!0)},8854:function(t,e,n){"use strict";var r=n(1603),o=n(5692);t.exports=r("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},2203:function(t,e,n){var r=n(1163),o=n(6872),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},6440:function(t,e,n){var r=n(1163),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},9244:function(t,e,n){var r=n(1163),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},3129:function(t,e,n){var r=n(1163),o=n(2595),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},4161:function(t,e,n){var r=n(1163),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},298:function(t,e,n){var r=n(1163),o=n(2914),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},5817:function(t,e,n){var r=n(1163),o=n(2914);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},4523:function(t,e,n){n(1163)({target:"Math",stat:!0},{fround:n(5262)})},2325:function(t,e,n){var r=n(1163),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c<u;)s<(n=i(arguments[c++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},3042:function(t,e,n){var r=n(1163),o=n(8597),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},8937:function(t,e,n){var r=n(1163),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},1209:function(t,e,n){n(1163)({target:"Math",stat:!0},{log1p:n(6872)})},5133:function(t,e,n){var r=n(1163),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},110:function(t,e,n){n(1163)({target:"Math",stat:!0},{sign:n(2595)})},51:function(t,e,n){var r=n(1163),o=n(8597),i=n(2914),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},5189:function(t,e,n){var r=n(1163),o=n(2914),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},663:function(t,e,n){n(8242)(Math,"Math",!0)},3862:function(t,e,n){var r=n(1163),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},6455:function(t,e,n){"use strict";var r=n(7012),o=n(1864),i=n(7215),a=n(7763),c=n(7791),u=n(6644),s=n(8267),l=n(8495),f=n(8597),p=n(8724),h=n(4564).f,v=n(3099).f,d=n(3202).f,g=n(1664).trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),E=function(t){var e,n,r,o,i,a,c,u,s=l(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var T,k=function t(e){var n=arguments.length<1?0:e,r=this;return r instanceof t&&(b?f(function(){m.valueOf.call(r)}):"Number"!=u(r))?s(new y(E(n)),r,t):E(n)},_=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),w=0;_.length>w;w++)c(y,T=_[w])&&!c(k,T)&&d(k,T,v(y,T));k.prototype=m,m.constructor=k,a(o,"Number",k)}},7298:function(t,e,n){n(1163)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},7135:function(t,e,n){n(1163)({target:"Number",stat:!0},{isFinite:n(87)})},707:function(t,e,n){n(1163)({target:"Number",stat:!0},{isInteger:n(9829)})},938:function(t,e,n){n(1163)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},7530:function(t,e,n){var r=n(1163),o=n(9829),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},2527:function(t,e,n){n(1163)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},270:function(t,e,n){n(1163)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},9101:function(t,e,n){var r=n(1163),o=n(8884);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},5803:function(t,e,n){var r=n(1163),o=n(3656);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},2583:function(t,e,n){"use strict";var r=n(1163),o=n(9463),i=n(8924),a=n(3380),c=n(8597),u=1..toFixed,s=Math.floor,l=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)},f=function(t,e,n){for(var r=-1,o=n;++r<6;)t[r]=(o+=e*t[r])%1e7,o=s(o/1e7)},p=function(t,e){for(var n=6,r=0;--n>=0;)t[n]=s((r+=t[n])/e),r=r%e*1e7},h=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=String(t[e]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c(function(){u.call({})})},{toFixed:function(t){var e,n,r,c,u=i(this),s=o(t),v=[0,0,0,0,0,0],d="",g="0";if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*l(2,69,1))-69)<0?u*l(2,-e,1):u/l(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(v,0,n),r=s;r>=7;)f(v,1e7,0),r-=7;for(f(v,l(10,r,1),0),r=e-1;r>=23;)p(v,1<<23),r-=23;p(v,1<<r),f(v,1,1),p(v,2),g=h(v)}else f(v,0,n),f(v,1<<-e,0),g=h(v)+a.call("0",s);return s>0?d+((c=g.length)<=s?"0."+a.call("0",s-c)+g:g.slice(0,c-s)+"."+g.slice(c-s)):d+g}})},6544:function(t,e,n){"use strict";var r=n(1163),o=n(8597),i=n(8924),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},3259:function(t,e,n){var r=n(1163),o=n(1746);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},2368:function(t,e,n){n(1163)({target:"Object",stat:!0,sham:!n(7012)},{create:n(8724)})},905:function(t,e,n){var r=n(1163),o=n(7012);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(988)})},6179:function(t,e,n){var r=n(1163),o=n(7012);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(3202).f})},3958:function(t,e,n){var r=n(1163),o=n(3871).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},6152:function(t,e,n){var r=n(1163),o=n(9352),i=n(8597),a=n(726),c=n(4238).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){u(1)}),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},8294:function(t,e,n){var r=n(1163),o=n(3284),i=n(5347);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,function(t,n){i(e,t,n)},{AS_ENTRIES:!0}),e}})},2472:function(t,e,n){var r=n(1163),o=n(8597),i=n(8643),a=n(3099).f,c=n(7012),u=o(function(){a(1)});r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},1519:function(t,e,n){var r=n(1163),o=n(7012),i=n(9376),a=n(8643),c=n(3099),u=n(5347);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=c.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,e=s[f++]))&&u(l,e,n);return l}})},1979:function(t,e,n){var r=n(1163),o=n(8597),i=n(7388).f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},8272:function(t,e,n){var r=n(1163),o=n(8597),i=n(6174),a=n(3963),c=n(1335);r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},420:function(t,e,n){var r=n(1163),o=n(8597),i=n(726),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},530:function(t,e,n){var r=n(1163),o=n(8597),i=n(726),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},6270:function(t,e,n){var r=n(1163),o=n(8597),i=n(726),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},8902:function(t,e,n){n(1163)({target:"Object",stat:!0},{is:n(2778)})},3080:function(t,e,n){var r=n(1163),o=n(6174),i=n(8032);r({target:"Object",stat:!0,forced:n(8597)(function(){i(1)})},{keys:function(t){return i(o(t))}})},410:function(t,e,n){var r=n(1163),o=n(726),i=n(4238).onFreeze,a=n(9352),c=n(8597),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},2953:function(t,e,n){var r=n(1163),o=n(726),i=n(4238).onFreeze,a=n(9352),c=n(8597),u=Object.seal;r({target:"Object",stat:!0,forced:c(function(){u(1)}),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},3482:function(t,e,n){n(1163)({target:"Object",stat:!0},{setPrototypeOf:n(1464)})},5704:function(t,e,n){var r=n(2900),o=n(7763),i=n(3119);r||o(Object.prototype,"toString",i,{unsafe:!0})},7598:function(t,e,n){var r=n(1163),o=n(3871).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},4104:function(t,e,n){var r=n(1163),o=n(8884);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},1581:function(t,e,n){var r=n(1163),o=n(3656);r({global:!0,forced:parseInt!=o},{parseInt:o})},4541:function(t,e,n){"use strict";var r,o,i,a,c=n(1163),u=n(7515),s=n(1864),l=n(3626),f=n(6866),p=n(7763),h=n(8715),v=n(1464),d=n(8242),g=n(7374),y=n(726),m=n(7625),b=n(6063),E=n(7720),T=n(3284),k=n(6297),_=n(7211),w=n(2040).set,S=n(1463),x=n(6223),O=n(9989),M=n(9723),L=n(4113),j=n(2493),P=n(7215),I=n(4563),C=n(2846),A=n(2002),N=n(7189),D=I("species"),R="Promise",H=j.get,Z=j.set,F=j.getterFor(R),z=f&&f.prototype,U=f,G=z,W=s.TypeError,V=s.document,B=s.process,q=M.f,X=q,$=!!(V&&V.createEvent&&s.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,K=!1,J=P(R,function(){var t=E(U)!==String(U);if(!t&&66===N)return!0;if(u&&!G.finally)return!0;if(N>=51&&/native code/.test(U))return!1;var e=new U(function(t){t(1)}),n=function(t){t(function(){},function(){})};return(e.constructor={})[D]=n,!(K=e.then(function(){})instanceof n)||!t&&C&&!Y}),Q=J||!k(function(t){U.all(t).catch(function(){})}),tt=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},et=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;S(function(){for(var r=t.value,o=1==t.state,i=0;n.length>i;){var a,c,u,s=n[i++],l=o?s.ok:s.fail,f=s.resolve,p=s.reject,h=s.domain;try{l?(o||(2===t.rejection&&it(t),t.rejection=1),!0===l?a=r:(h&&h.enter(),a=l(r),h&&(h.exit(),u=!0)),a===s.promise?p(W("Promise-chain cycle")):(c=tt(a))?c.call(a,f,p):f(a)):p(r)}catch(v){h&&!u&&h.exit(),p(v)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&rt(t)})}},nt=function(t,e,n){var r,o;$?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!Y&&(o=s["on"+t])?o(r):"unhandledrejection"===t&&O("Unhandled promise rejection",n)},rt=function(t){w.call(s,function(){var e,n=t.facade,r=t.value;if(ot(t)&&(e=L(function(){A?B.emit("unhandledRejection",r,n):nt("unhandledrejection",n,r)}),t.rejection=A||ot(t)?2:1,e.error))throw e.value})},ot=function(t){return 1!==t.rejection&&!t.parent},it=function(t){w.call(s,function(){var e=t.facade;A?B.emit("rejectionHandled",e):nt("rejectionhandled",e,t.value)})},at=function(t,e,n){return function(r){t(e,r,n)}},ct=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,et(t,!0))},ut=function t(e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===n)throw W("Promise can't be resolved itself");var o=tt(n);o?S(function(){var r={done:!1};try{o.call(n,at(t,r,e),at(ct,r,e))}catch(i){ct(r,i,e)}}):(e.value=n,e.state=1,et(e,!1))}catch(i){ct({done:!1},i,e)}}};if(J&&(U=function(t){b(this,U,R),m(t),r.call(this);var e=H(this);try{t(at(ut,e),at(ct,e))}catch(n){ct(e,n)}},(r=function(t){Z(this,{type:R,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(G=U.prototype,{then:function(t,e){var n=F(this),r=q(_(this,U));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=A?B.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&et(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=H(t);this.promise=t,this.resolve=at(ut,e),this.reject=at(ct,e)},M.f=q=function(t){return t===U||t===i?new o(t):X(t)},!u&&"function"==typeof f&&z!==Object.prototype)){a=z.then,K||(p(z,"then",function(t,e){var n=this;return new U(function(t,e){a.call(n,t,e)}).then(t,e)},{unsafe:!0}),p(z,"catch",G.catch,{unsafe:!0}));try{delete z.constructor}catch(st){}v&&v(z,G)}c({global:!0,wrap:!0,forced:J},{Promise:U}),d(U,R,!1,!0),g(R),i=l(R),c({target:R,stat:!0,forced:J},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),c({target:R,stat:!0,forced:u||J},{resolve:function(t){return x(u&&this===i?U:this,t)}}),c({target:R,stat:!0,forced:Q},{all:function(t){var e=this,n=q(e),r=n.resolve,o=n.reject,i=L(function(){var n=m(e.resolve),i=[],a=0,c=1;T(t,function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then(function(t){s||(s=!0,i[u]=t,--c||r(i))},o)}),--c||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=q(e),r=n.reject,o=L(function(){var o=m(e.resolve);T(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},4144:function(t,e,n){var r=n(1163),o=n(1864),i=n(8242);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},4378:function(t,e,n){var r=n(7012),o=n(1864),i=n(7215),a=n(8267),c=n(3202).f,u=n(4564).f,s=n(9482),l=n(1891),f=n(9895),p=n(7763),h=n(8597),v=n(2493).enforce,d=n(7374),g=n(4563)("match"),y=o.RegExp,m=y.prototype,b=/a/g,E=/a/g,T=new y(b)!==b,k=f.UNSUPPORTED_Y;if(r&&i("RegExp",!T||k||h(function(){return E[g]=!1,y(b)!=b||y(E)==E||"/a/i"!=y(b,"i")}))){for(var _=function t(e,n){var r,o=this instanceof t,i=s(e),c=void 0===n;if(!o&&i&&e.constructor===t&&c)return e;T?i&&!c&&(e=e.source):e instanceof t&&(c&&(n=l.call(e)),e=e.source),k&&(r=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var u=a(T?new y(e,n):y(e,n),o?this:m,t);return k&&r&&(v(u).sticky=!0),u},w=function(t){t in _||c(_,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},S=u(y),x=0;S.length>x;)w(S[x++]);m.constructor=_,_.prototype=m,p(o,"RegExp",_)}d("RegExp")},9665:function(t,e,n){"use strict";var r=n(1163),o=n(3084);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7741:function(t,e,n){var r=n(7012),o=n(3202),i=n(1891),a=n(9895).UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},4119:function(t,e,n){"use strict";var r=n(7763),o=n(1099),i=n(8597),a=n(1891),c=RegExp.prototype,u=c.toString;(i(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})||"toString"!=u.name)&&r(RegExp.prototype,"toString",function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)},{unsafe:!0})},3014:function(t,e,n){"use strict";var r=n(1603),o=n(5692);t.exports=r("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},o)},9139:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},2786:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("big")},{big:function(){return o(this,"big","","")}})},4260:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("blink")},{blink:function(){return o(this,"blink","","")}})},890:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("bold")},{bold:function(){return o(this,"b","","")}})},6261:function(t,e,n){"use strict";var r=n(1163),o=n(4487).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},706:function(t,e,n){"use strict";var r,o=n(1163),i=n(3099).f,a=n(5902),c=n(3270),u=n(5025),s=n(363),l=n(7515),f="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!l&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return f?f.call(e,i,o):e.slice(o-i.length,o)===i}})},8147:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("fixed")},{fixed:function(){return o(this,"tt","","")}})},6475:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},9305:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},6477:function(t,e,n){var r=n(1163),o=n(222),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},3358:function(t,e,n){"use strict";var r=n(1163),o=n(3270),i=n(5025);r({target:"String",proto:!0,forced:!n(363)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},7285:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("italics")},{italics:function(){return o(this,"i","","")}})},3744:function(t,e,n){"use strict";var r=n(4487).charAt,o=n(2493),i=n(6038),a=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},6771:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("link")},{link:function(t){return o(this,"a","href",t)}})},6954:function(t,e,n){"use strict";var r=n(9357),o=n(1099),i=n(5902),a=n(5025),c=n(3274),u=n(3793);r("match",1,function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],h=0;null!==(f=u(a,s));){var v=String(f[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),l)),h++}return 0===h?null:p}]})},7163:function(t,e,n){var r=n(1163),o=n(8643),i=n(5902);r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},1:function(t,e,n){n(1163)({target:"String",proto:!0},{repeat:n(3380)})},6262:function(t,e,n){"use strict";var r=n(9357),o=n(1099),i=n(5902),a=n(9463),c=n(5025),u=n(3274),s=n(6162),l=n(3793),f=Math.max,p=Math.min;r("replace",2,function(t,e,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,d=h?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!h&&v||"string"==typeof r&&-1===r.indexOf(d)){var c=n(e,t,this,r);if(c.done)return c.value}var g=o(t),y=String(this),m="function"==typeof r;m||(r=String(r));var b=g.global;if(b){var E=g.unicode;g.lastIndex=0}for(var T=[];;){var k=l(g,y);if(null===k)break;if(T.push(k),!b)break;""===String(k[0])&&(g.lastIndex=u(y,i(g.lastIndex),E))}for(var _,w="",S=0,x=0;x<T.length;x++){k=T[x];for(var O=String(k[0]),M=f(p(a(k.index),y.length),0),L=[],j=1;j<k.length;j++)L.push(void 0===(_=k[j])?_:String(_));var P=k.groups;if(m){var I=[O].concat(L,M,y);void 0!==P&&I.push(P);var C=String(r.apply(void 0,I))}else C=s(O,y,M,L,P,r);M>=S&&(w+=y.slice(S,M)+C,S=M+O.length)}return w+y.slice(S)}]})},2426:function(t,e,n){"use strict";var r=n(9357),o=n(1099),i=n(5025),a=n(2778),c=n(3793);r("search",1,function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var l=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===l?-1:l.index}]})},1323:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("small")},{small:function(){return o(this,"small","","")}})},5374:function(t,e,n){"use strict";var r=n(9357),o=n(9482),i=n(1099),a=n(5025),c=n(7211),u=n(3274),s=n(5902),l=n(3793),f=n(3084),p=n(9895).UNSUPPORTED_Y,h=[].push,v=Math.min;r("split",2,function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,l=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=f.call(v,r))&&!((u=v.lastIndex)>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(l,c.slice(1)),s=c[0].length,p=u,l.length>=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var f=i(t),h=String(this),d=c(f,RegExp),g=f.unicode,y=new d(p?"^(?:"+f.source+")":f,(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(p?"g":"y")),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===h.length)return null===l(y,h)?[h]:[];for(var b=0,E=0,T=[];E<h.length;){y.lastIndex=p?0:E;var k,_=l(y,p?h.slice(E):h);if(null===_||(k=v(s(y.lastIndex+(p?E:0)),h.length))===b)E=u(h,E,g);else{if(T.push(h.slice(b,E)),T.length===m)return T;for(var w=1;w<=_.length-1;w++)if(T.push(_[w]),T.length===m)return T;E=b=k}}return T.push(h.slice(b)),T}]},p)},5139:function(t,e,n){"use strict";var r,o=n(1163),i=n(3099).f,a=n(5902),c=n(3270),u=n(5025),s=n(363),l=n(7515),f="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!l&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return f?f.call(e,r,n):e.slice(n,n+r.length)===r}})},7371:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("strike")},{strike:function(){return o(this,"strike","","")}})},352:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("sub")},{sub:function(){return o(this,"sub","","")}})},912:function(t,e,n){"use strict";var r=n(1163),o=n(2769);r({target:"String",proto:!0,forced:n(2469)("sup")},{sup:function(){return o(this,"sup","","")}})},7176:function(t,e,n){"use strict";var r=n(1163),o=n(1664).trim;r({target:"String",proto:!0,forced:n(5637)("trim")},{trim:function(){return o(this)}})},2502:function(t,e,n){n(7007)("asyncIterator")},1005:function(t,e,n){"use strict";var r=n(1163),o=n(7012),i=n(1864),a=n(7791),c=n(726),u=n(3202).f,s=n(9),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof t?new l(e):void 0===e?l():l(e);return""===e&&(f[n]=!0),n};s(p,l);var h=p.prototype=l.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(f,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},2372:function(t,e,n){n(7007)("hasInstance")},5126:function(t,e,n){n(7007)("isConcatSpreadable")},505:function(t,e,n){n(7007)("iterator")},5619:function(t,e,n){"use strict";var r=n(1163),o=n(1864),i=n(3626),a=n(7515),c=n(7012),u=n(7040),s=n(4431),l=n(8597),f=n(7791),p=n(7883),h=n(726),v=n(1099),d=n(6174),g=n(8643),y=n(8495),m=n(3203),b=n(8724),E=n(8032),T=n(4564),k=n(7388),_=n(7593),w=n(3099),S=n(3202),x=n(5600),O=n(815),M=n(7763),L=n(7719),j=n(2650),P=n(3536),I=n(4295),C=n(4563),A=n(3589),N=n(7007),D=n(8242),R=n(2493),H=n(4115).forEach,Z=j("hidden"),F=C("toPrimitive"),z=R.set,U=R.getterFor("Symbol"),G=Object.prototype,W=o.Symbol,V=i("JSON","stringify"),B=w.f,q=S.f,X=k.f,$=x.f,Y=L("symbols"),K=L("op-symbols"),J=L("string-to-symbol-registry"),Q=L("symbol-to-string-registry"),tt=L("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&l(function(){return 7!=b(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=B(G,e);r&&delete G[e],q(t,e,n),r&&t!==G&&q(G,e,r)}:q,ot=function(t,e){var n=Y[t]=b(W.prototype);return z(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},at=function t(e,n,r){e===G&&t(K,n,r),v(e);var o=y(n,!0);return v(r),f(Y,o)?(r.enumerable?(f(e,Z)&&e[Z][o]&&(e[Z][o]=!1),r=b(r,{enumerable:m(0,!1)})):(f(e,Z)||q(e,Z,m(1,{})),e[Z][o]=!0),rt(e,o,r)):q(e,o,r)},ct=function(t,e){v(t);var n=g(e),r=E(n).concat(ft(n));return H(r,function(e){c&&!ut.call(n,e)||at(t,e,n[e])}),t},ut=function(t){var e=y(t,!0),n=$.call(this,e);return!(this===G&&f(Y,e)&&!f(K,e))&&(!(n||!f(this,e)||!f(Y,e)||f(this,Z)&&this[Z][e])||n)},st=function(t,e){var n=g(t),r=y(e,!0);if(n!==G||!f(Y,r)||f(K,r)){var o=B(n,r);return!o||!f(Y,r)||f(n,Z)&&n[Z][r]||(o.enumerable=!0),o}},lt=function(t){var e=X(g(t)),n=[];return H(e,function(t){f(Y,t)||f(P,t)||n.push(t)}),n},ft=function(t){var e=t===G,n=X(e?K:g(t)),r=[];return H(n,function(t){!f(Y,t)||e&&!f(G,t)||r.push(Y[t])}),r};u||(M((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),n=function t(n){this===G&&t.call(K,n),f(this,Z)&&f(this[Z],e)&&(this[Z][e]=!1),rt(this,e,m(1,n))};return c&&nt&&rt(G,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",function(){return U(this).tag}),M(W,"withoutSetter",function(t){return ot(I(t),t)}),x.f=ut,S.f=at,w.f=st,T.f=k.f=lt,_.f=ft,A.f=function(t){return ot(C(t),t)},c&&(q(W.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||M(G,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),H(E(tt),function(t){N(t)}),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(J,e))return J[e];var n=W(e);return J[e]=n,Q[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(f(Q,t))return Q[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),r({target:"Object",stat:!0,forced:l(function(){_.f(1)})},{getOwnPropertySymbols:function(t){return _.f(d(t))}}),V&&r({target:"JSON",stat:!0,forced:!u||l(function(){var t=W();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))})},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!it(e))return e}),o[1]=e,V.apply(null,o)}}),W.prototype[F]||O(W.prototype,F,W.prototype.valueOf),D(W,"Symbol"),P[Z]=!0},963:function(t,e,n){n(7007)("matchAll")},838:function(t,e,n){n(7007)("match")},7624:function(t,e,n){n(7007)("replace")},1548:function(t,e,n){n(7007)("search")},4702:function(t,e,n){n(7007)("species")},9169:function(t,e,n){n(7007)("split")},4759:function(t,e,n){n(7007)("toPrimitive")},6142:function(t,e,n){n(7007)("toStringTag")},5745:function(t,e,n){n(7007)("unscopables")},3438:function(t,e,n){"use strict";var r,o=n(1864),i=n(8715),a=n(4238),c=n(1603),u=n(6491),s=n(726),l=n(2493).enforce,f=n(1635),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(f&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,E=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?E.call(this,t,e):n.frozen.set(t,e)}else E.call(this,t,e);return this}})}},4098:function(t,e,n){var r=n(1864),o=n(6877),i=n(7462),a=n(815);for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(l){s.forEach=i}}},2603:function(t,e,n){var r=n(1864),o=n(6877),i=n(6837),a=n(815),c=n(4563),u=c("iterator"),s=c("toStringTag"),l=i.values;for(var f in o){var p=r[f],h=p&&p.prototype;if(h){if(h[u]!==l)try{a(h,u,l)}catch(d){h[u]=l}if(h[s]||a(h,s,f),o[f])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}}},function(t){"use strict";var e=function(e){return t(t.s=e)};e(2975),e(2723)}])}();
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* vis-network
* https://visjs.github.io/vis-network/
*
* A dynamic, browser-based visualization library.
*
* @version 9.0.4
* @date 2021-03-16T05:41:40.818Z
*
* @copyright (c) 2011-2017 Almende B.V, http://almende.com
* @copyright (c) 2017-2019 visjs contributors, https://github.com/visjs
*
* @license
* vis.js is dual licensed under both
*
* 1. The Apache 2.0 License
* http://www.apache.org/licenses/LICENSE-2.0
*
* and
*
* 2. The MIT License
* http://opensource.org/licenses/MIT
*
* vis.js may be distributed under either license.
*/
!function(g,A){"object"==typeof exports&&"undefined"!=typeof module?A(exports):"function"==typeof define&&define.amd?define(["exports"],A):A((g="undefined"!=typeof globalThis?globalThis:g||self).vis=g.vis||{})}(this,(function(g){var A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(g){var A={exports:{}};return g(A,A.exports),A.exports}var e=function(g){return g&&g.Math==Math&&g},C=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof A&&A)||function(){return this}()||Function("return this")(),I=function(g){try{return!!g()}catch(g){return!0}},i=!I((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r={f:n&&!o.call({1:2},1)?function(g){var A=n(this,g);return!!A&&A.enumerable}:o},s=function(g,A){return{enumerable:!(1&g),configurable:!(2&g),writable:!(4&g),value:A}},a={}.toString,d=function(g){return a.call(g).slice(8,-1)},h="".split,l=I((function(){return!Object("z").propertyIsEnumerable(0)}))?function(g){return"String"==d(g)?h.call(g,""):Object(g)}:Object,c=function(g){if(null==g)throw TypeError("Can't call method on "+g);return g},u=function(g){return l(c(g))},p=function(g){return"object"==typeof g?null!==g:"function"==typeof g},f=function(g,A){if(!p(g))return g;var t,e;if(A&&"function"==typeof(t=g.toString)&&!p(e=t.call(g)))return e;if("function"==typeof(t=g.valueOf)&&!p(e=t.call(g)))return e;if(!A&&"function"==typeof(t=g.toString)&&!p(e=t.call(g)))return e;throw TypeError("Can't convert object to primitive value")},v={}.hasOwnProperty,y=function(g,A){return v.call(g,A)},m=C.document,b=p(m)&&p(m.createElement),w=function(g){return b?m.createElement(g):{}},k=!i&&!I((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),x=Object.getOwnPropertyDescriptor,E={f:i?x:function(g,A){if(g=u(g),A=f(A,!0),k)try{return x(g,A)}catch(g){}if(y(g,A))return s(!r.f.call(g,A),g[A])}},O=/#|\.prototype\./,T=function(g,A){var t=N[D(g)];return t==P||t!=R&&("function"==typeof A?I(A):!!A)},D=T.normalize=function(g){return String(g).replace(O,".").toLowerCase()},N=T.data={},R=T.NATIVE="N",P=T.POLYFILL="P",M=T,B={},z=function(g){if("function"!=typeof g)throw TypeError(String(g)+" is not a function");return g},Z=function(g,A,t){if(z(g),void 0===A)return g;switch(t){case 0:return function(){return g.call(A)};case 1:return function(t){return g.call(A,t)};case 2:return function(t,e){return g.call(A,t,e)};case 3:return function(t,e,C){return g.call(A,t,e,C)}}return function(){return g.apply(A,arguments)}},S=function(g){if(!p(g))throw TypeError(String(g)+" is not an object");return g},F=Object.defineProperty,G={f:i?F:function(g,A,t){if(S(g),A=f(A,!0),S(t),k)try{return F(g,A,t)}catch(g){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(g[A]=t.value),g}},L=i?function(g,A,t){return G.f(g,A,s(1,t))}:function(g,A,t){return g[A]=t,g},j=E.f,V=function(g){var A=function(A,t,e){if(this instanceof g){switch(arguments.length){case 0:return new g;case 1:return new g(A);case 2:return new g(A,t)}return new g(A,t,e)}return g.apply(this,arguments)};return A.prototype=g.prototype,A},Y=function(g,A){var t,e,I,i,o,n,r,s,a=g.target,d=g.global,h=g.stat,l=g.proto,c=d?C:h?C[a]:(C[a]||{}).prototype,u=d?B:B[a]||(B[a]={}),p=u.prototype;for(I in A)t=!M(d?I:a+(h?".":"#")+I,g.forced)&&c&&y(c,I),o=u[I],t&&(n=g.noTargetGet?(s=j(c,I))&&s.value:c[I]),i=t&&n?n:A[I],t&&typeof o==typeof i||(r=g.bind&&t?Z(i,C):g.wrap&&t?V(i):l&&"function"==typeof i?Z(Function.call,i):i,(g.sham||i&&i.sham||o&&o.sham)&&L(r,"sham",!0),u[I]=r,l&&(y(B,e=a+"Prototype")||L(B,e,{}),B[e][I]=i,g.real&&p&&!p[I]&&L(p,I,i)))},W=Math.ceil,Q=Math.floor,U=function(g){return isNaN(g=+g)?0:(g>0?Q:W)(g)},_=Math.min,H=function(g){return g>0?_(U(g),9007199254740991):0},K=Math.max,X=Math.min,J=function(g,A){var t=U(g);return t<0?K(t+A,0):X(t,A)},q=function(g){return function(A,t,e){var C,I=u(A),i=H(I.length),o=J(e,i);if(g&&t!=t){for(;i>o;)if((C=I[o++])!=C)return!0}else for(;i>o;o++)if((g||o in I)&&I[o]===t)return g||o||0;return!g&&-1}},$={includes:q(!0),indexOf:q(!1)},gg={},Ag=$.indexOf,tg=function(g,A){var t,e=u(g),C=0,I=[];for(t in e)!y(gg,t)&&y(e,t)&&I.push(t);for(;A.length>C;)y(e,t=A[C++])&&(~Ag(I,t)||I.push(t));return I},eg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cg=Object.keys||function(g){return tg(g,eg)},Ig={f:Object.getOwnPropertySymbols},ig=function(g){return Object(c(g))},og=Object.assign,ng=Object.defineProperty,rg=!og||I((function(){if(i&&1!==og({b:1},og(ng({},"a",{enumerable:!0,get:function(){ng(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var g={},A={},t=Symbol(),e="abcdefghijklmnopqrst";return g[t]=7,e.split("").forEach((function(g){A[g]=g})),7!=og({},g)[t]||Cg(og({},A)).join("")!=e}))?function(g,A){for(var t=ig(g),e=arguments.length,C=1,I=Ig.f,o=r.f;e>C;)for(var n,s=l(arguments[C++]),a=I?Cg(s).concat(I(s)):Cg(s),d=a.length,h=0;d>h;)n=a[h++],i&&!o.call(s,n)||(t[n]=s[n]);return t}:og;Y({target:"Object",stat:!0,forced:Object.assign!==rg},{assign:rg});var sg=B.Object.assign,ag=[].slice,dg={},hg=function(g,A,t){if(!(A in dg)){for(var e=[],C=0;C<A;C++)e[C]="a["+C+"]";dg[A]=Function("C,a","return new C("+e.join(",")+")")}return dg[A](g,t)},lg=Function.bind||function(g){var A=z(this),t=ag.call(arguments,1),e=function(){var C=t.concat(ag.call(arguments));return this instanceof e?hg(A,C.length,C):A.apply(g,C)};return p(A.prototype)&&(e.prototype=A.prototype),e};Y({target:"Function",proto:!0},{bind:lg});var cg=function(g){return B[g+"Prototype"]},ug=cg("Function").bind,pg=Function.prototype,fg=function(g){var A=g.bind;return g===pg||g instanceof Function&&A===pg.bind?ug:A};function vg(g,A,t,e){g.beginPath(),g.arc(A,t,e,0,2*Math.PI,!1),g.closePath()}function yg(g,A,t,e,C,I){var i=Math.PI/180;e-2*I<0&&(I=e/2),C-2*I<0&&(I=C/2),g.beginPath(),g.moveTo(A+I,t),g.lineTo(A+e-I,t),g.arc(A+e-I,t+I,I,270*i,360*i,!1),g.lineTo(A+e,t+C-I),g.arc(A+e-I,t+C-I,I,0,90*i,!1),g.lineTo(A+I,t+C),g.arc(A+I,t+C-I,I,90*i,180*i,!1),g.lineTo(A,t+I),g.arc(A+I,t+I,I,180*i,270*i,!1),g.closePath()}function mg(g,A,t,e,C){var I=.5522848,i=e/2*I,o=C/2*I,n=A+e,r=t+C,s=A+e/2,a=t+C/2;g.beginPath(),g.moveTo(A,a),g.bezierCurveTo(A,a-o,s-i,t,s,t),g.bezierCurveTo(s+i,t,n,a-o,n,a),g.bezierCurveTo(n,a+o,s+i,r,s,r),g.bezierCurveTo(s-i,r,A,a+o,A,a),g.closePath()}function bg(g,A,t,e,C){var I=C*(1/3),i=.5522848,o=e/2*i,n=I/2*i,r=A+e,s=t+I,a=A+e/2,d=t+I/2,h=t+(C-I/2),l=t+C;g.beginPath(),g.moveTo(r,d),g.bezierCurveTo(r,d+n,a+o,s,a,s),g.bezierCurveTo(a-o,s,A,d+n,A,d),g.bezierCurveTo(A,d-n,a-o,t,a,t),g.bezierCurveTo(a+o,t,r,d-n,r,d),g.lineTo(r,h),g.bezierCurveTo(r,h+n,a+o,l,a,l),g.bezierCurveTo(a-o,l,A,h+n,A,h),g.lineTo(A,d)}function wg(g,A,t,e,C,I){g.beginPath(),g.moveTo(A,t);for(var i=I.length,o=e-A,n=C-t,r=n/o,s=Math.sqrt(o*o+n*n),a=0,d=!0,h=0,l=+I[0];s>=.1;)(l=+I[a++%i])>s&&(l=s),h=Math.sqrt(l*l/(1+r*r)),A+=h=o<0?-h:h,t+=r*h,!0===d?g.lineTo(A,t):g.moveTo(A,t),s-=l,d=!d}var kg={circle:vg,dashedLine:wg,database:bg,diamond:function(g,A,t,e){g.beginPath(),g.lineTo(A,t+e),g.lineTo(A+e,t),g.lineTo(A,t-e),g.lineTo(A-e,t),g.closePath()},ellipse:mg,ellipse_vis:mg,hexagon:function(g,A,t,e){g.beginPath();var C=2*Math.PI/6;g.moveTo(A+e,t);for(var I=1;I<6;I++)g.lineTo(A+e*Math.cos(C*I),t+e*Math.sin(C*I));g.closePath()},roundRect:yg,square:function(g,A,t,e){g.beginPath(),g.rect(A-e,t-e,2*e,2*e),g.closePath()},star:function(g,A,t,e){g.beginPath(),t+=.1*(e*=.82);for(var C=0;C<10;C++){var I=C%2==0?1.3*e:.5*e;g.lineTo(A+I*Math.sin(2*C*Math.PI/10),t-I*Math.cos(2*C*Math.PI/10))}g.closePath()},triangle:function(g,A,t,e){g.beginPath(),t+=.275*(e*=1.15);var C=2*e,I=C/2,i=Math.sqrt(3)/6*C,o=Math.sqrt(C*C-I*I);g.moveTo(A,t-(o-i)),g.lineTo(A+I,t+i),g.lineTo(A-I,t+i),g.lineTo(A,t-(o-i)),g.closePath()},triangleDown:function(g,A,t,e){g.beginPath(),t-=.275*(e*=1.15);var C=2*e,I=C/2,i=Math.sqrt(3)/6*C,o=Math.sqrt(C*C-I*I);g.moveTo(A,t+(o-i)),g.lineTo(A+I,t-i),g.lineTo(A-I,t-i),g.lineTo(A,t+(o-i)),g.closePath()}};function xg(g,A){void 0===A&&(A={});var t=A.insertAt;if(g&&"undefined"!=typeof document){var e=document.head||document.getElementsByTagName("head")[0],C=document.createElement("style");C.type="text/css","top"===t&&e.firstChild?e.insertBefore(C,e.firstChild):e.appendChild(C),C.styleSheet?C.styleSheet.cssText=g:C.appendChild(document.createTextNode(g))}}xg(".vis-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10}.vis-active{box-shadow:0 0 10px #86d5f8}");xg(".vis [class*=span]{min-height:0;width:auto}");xg('div.vis-color-picker{position:absolute;top:0;left:30px;margin-top:-140px;margin-left:30px;width:310px;height:444px;z-index:1;padding:10px;border-radius:15px;background-color:#fff;display:none;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}div.vis-color-picker div.vis-arrow{position:absolute;top:147px;left:5px}div.vis-color-picker div.vis-arrow:after,div.vis-color-picker div.vis-arrow:before{right:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}div.vis-color-picker div.vis-arrow:after{border-color:hsla(0,0%,100%,0) #fff hsla(0,0%,100%,0) hsla(0,0%,100%,0);border-width:30px;margin-top:-30px}div.vis-color-picker div.vis-color{position:absolute;width:289px;height:289px;cursor:pointer}div.vis-color-picker div.vis-brightness{position:absolute;top:313px}div.vis-color-picker div.vis-opacity{position:absolute;top:350px}div.vis-color-picker div.vis-selector{position:absolute;top:137px;left:137px;width:15px;height:15px;border-radius:15px;border:1px solid #fff;background:#4c4c4c;background:-moz-linear-gradient(top,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4c4c4c),color-stop(12%,#595959),color-stop(25%,#666),color-stop(39%,#474747),color-stop(50%,#2c2c2c),color-stop(51%,#000),color-stop(60%,#111),color-stop(76%,#2b2b2b),color-stop(91%,#1c1c1c),color-stop(100%,#131313));background:-webkit-linear-gradient(top,#4c4c4c,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313);background:-o-linear-gradient(top,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);background:-ms-linear-gradient(top,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);background:linear-gradient(180deg,#4c4c4c 0,#595959 12%,#666 25%,#474747 39%,#2c2c2c 50%,#000 51%,#111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#4c4c4c",endColorstr="#131313",GradientType=0)}div.vis-color-picker div.vis-new-color{left:159px;text-align:right;padding-right:2px}div.vis-color-picker div.vis-initial-color,div.vis-color-picker div.vis-new-color{position:absolute;width:140px;height:20px;border:1px solid rgba(0,0,0,.1);border-radius:5px;top:380px;font-size:10px;color:rgba(0,0,0,.4);vertical-align:middle;line-height:20px}div.vis-color-picker div.vis-initial-color{left:10px;text-align:left;padding-left:2px}div.vis-color-picker div.vis-label{position:absolute;width:300px;left:10px}div.vis-color-picker div.vis-label.vis-brightness{top:300px}div.vis-color-picker div.vis-label.vis-opacity{top:338px}div.vis-color-picker div.vis-button{position:absolute;width:68px;height:25px;border-radius:10px;vertical-align:middle;text-align:center;line-height:25px;top:410px;border:2px solid #d9d9d9;background-color:#f7f7f7;cursor:pointer}div.vis-color-picker div.vis-button.vis-cancel{left:5px}div.vis-color-picker div.vis-button.vis-load{left:82px}div.vis-color-picker div.vis-button.vis-apply{left:159px}div.vis-color-picker div.vis-button.vis-save{left:236px}div.vis-color-picker input.vis-range{width:290px;height:20px}');xg('div.vis-configuration{position:relative;display:block;float:left;font-size:12px}div.vis-configuration-wrapper{display:block;width:700px}div.vis-configuration-wrapper:after{clear:both;content:"";display:block}div.vis-configuration.vis-config-option-container{display:block;width:495px;background-color:#fff;border:2px solid #f7f8fa;border-radius:4px;margin-top:20px;left:10px;padding-left:5px}div.vis-configuration.vis-config-button{display:block;width:495px;height:25px;vertical-align:middle;line-height:25px;background-color:#f7f8fa;border:2px solid #ceced0;border-radius:4px;margin-top:20px;left:10px;padding-left:5px;cursor:pointer;margin-bottom:30px}div.vis-configuration.vis-config-button.hover{background-color:#4588e6;border:2px solid #214373;color:#fff}div.vis-configuration.vis-config-item{display:block;float:left;width:495px;height:25px;vertical-align:middle;line-height:25px}div.vis-configuration.vis-config-item.vis-config-s2{left:10px;background-color:#f7f8fa;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s3{left:20px;background-color:#e4e9f0;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-item.vis-config-s4{left:30px;background-color:#cfd8e6;padding-left:5px;border-radius:3px}div.vis-configuration.vis-config-header{font-size:18px;font-weight:700}div.vis-configuration.vis-config-label{width:120px;height:25px;line-height:25px}div.vis-configuration.vis-config-label.vis-config-s3{width:110px}div.vis-configuration.vis-config-label.vis-config-s4{width:100px}div.vis-configuration.vis-config-colorBlock{top:1px;width:30px;height:19px;border:1px solid #444;border-radius:2px;padding:0;margin:0;cursor:pointer}input.vis-configuration.vis-config-checkbox{left:-5px}input.vis-configuration.vis-config-rangeinput{position:relative;top:-5px;width:60px;padding:1px;margin:0;pointer-events:none}input.vis-configuration.vis-config-range{-webkit-appearance:none;border:0 solid #fff;background-color:transparent;width:300px;height:20px}input.vis-configuration.vis-config-range::-webkit-slider-runnable-track{width:300px;height:5px;background:#dedede;background:-moz-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dedede),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#dedede,#c8c8c8 99%);background:-o-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-webkit-slider-thumb{-webkit-appearance:none;border:1px solid #14334b;height:17px;width:17px;border-radius:50%;background:#3876c2;background:-moz-linear-gradient(top,#3876c2 0,#385380 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3876c2),color-stop(100%,#385380));background:-webkit-linear-gradient(top,#3876c2,#385380);background:-o-linear-gradient(top,#3876c2 0,#385380 100%);background:-ms-linear-gradient(top,#3876c2 0,#385380 100%);background:linear-gradient(180deg,#3876c2 0,#385380);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#3876c2",endColorstr="#385380",GradientType=0);box-shadow:0 0 1px 0 #111927;margin-top:-7px}input.vis-configuration.vis-config-range:focus{outline:none}input.vis-configuration.vis-config-range:focus::-webkit-slider-runnable-track{background:#9d9d9d;background:-moz-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#9d9d9d),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#9d9d9d,#c8c8c8 99%);background:-o-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#9d9d9d 0,#c8c8c8 99%);background:linear-gradient(180deg,#9d9d9d 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#9d9d9d",endColorstr="#c8c8c8",GradientType=0)}input.vis-configuration.vis-config-range::-moz-range-track{width:300px;height:10px;background:#dedede;background:-moz-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dedede),color-stop(99%,#c8c8c8));background:-webkit-linear-gradient(top,#dedede,#c8c8c8 99%);background:-o-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:-ms-linear-gradient(top,#dedede 0,#c8c8c8 99%);background:linear-gradient(180deg,#dedede 0,#c8c8c8 99%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#dedede",endColorstr="#c8c8c8",GradientType=0);border:1px solid #999;box-shadow:0 0 3px 0 #aaa;border-radius:3px}input.vis-configuration.vis-config-range::-moz-range-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input.vis-configuration.vis-config-range::-ms-track{width:300px;height:5px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input.vis-configuration.vis-config-range::-ms-fill-lower{background:#777;border-radius:10px}input.vis-configuration.vis-config-range::-ms-fill-upper{background:#ddd;border-radius:10px}input.vis-configuration.vis-config-range::-ms-thumb{border:none;height:16px;width:16px;border-radius:50%;background:#385380}input.vis-configuration.vis-config-range:focus::-ms-fill-lower{background:#888}input.vis-configuration.vis-config-range:focus::-ms-fill-upper{background:#ccc}.vis-configuration-popup{position:absolute;background:rgba(57,76,89,.85);border:2px solid #f2faff;line-height:30px;height:30px;width:150px;text-align:center;color:#fff;font-size:14px;border-radius:4px;-webkit-transition:opacity .3s ease-in-out;-moz-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}.vis-configuration-popup:after,.vis-configuration-popup:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.vis-configuration-popup:after{border-color:rgba(136,183,213,0) rgba(136,183,213,0) rgba(136,183,213,0) rgba(57,76,89,.85);border-width:8px;margin-top:-8px}.vis-configuration-popup:before{border-color:rgba(194,225,245,0) rgba(194,225,245,0) rgba(194,225,245,0) #f2faff;border-width:12px;margin-top:-12px}');xg("div.vis-tooltip{position:absolute;visibility:hidden;padding:5px;white-space:nowrap;font-family:verdana;font-size:14px;color:#000;background-color:#f5f4ed;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:1px solid #808074;box-shadow:3px 3px 10px rgba(0,0,0,.2);pointer-events:none;z-index:5}");var Eg=t((function(g){function A(g){if(g)return function(g){for(var t in A.prototype)g[t]=A.prototype[t];return g}(g)}g.exports=A,A.prototype.on=A.prototype.addEventListener=function(g,A){return this._callbacks=this._callbacks||{},(this._callbacks["$"+g]=this._callbacks["$"+g]||[]).push(A),this},A.prototype.once=function(g,A){function t(){this.off(g,t),A.apply(this,arguments)}return t.fn=A,this.on(g,t),this},A.prototype.off=A.prototype.removeListener=A.prototype.removeAllListeners=A.prototype.removeEventListener=function(g,A){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t,e=this._callbacks["$"+g];if(!e)return this;if(1==arguments.length)return delete this._callbacks["$"+g],this;for(var C=0;C<e.length;C++)if((t=e[C])===A||t.fn===A){e.splice(C,1);break}return 0===e.length&&delete this._callbacks["$"+g],this},A.prototype.emit=function(g){this._callbacks=this._callbacks||{};for(var A=new Array(arguments.length-1),t=this._callbacks["$"+g],e=1;e<arguments.length;e++)A[e-1]=arguments[e];if(t){e=0;for(var C=(t=t.slice(0)).length;e<C;++e)t[e].apply(this,A)}return this},A.prototype.listeners=function(g){return this._callbacks=this._callbacks||{},this._callbacks["$"+g]||[]},A.prototype.hasListeners=function(g){return!!this.listeners(g).length}})),Og=function(g){return function(A,t){var e,C,I=String(c(A)),i=U(t),o=I.length;return i<0||i>=o?g?"":void 0:(e=I.charCodeAt(i))<55296||e>56319||i+1===o||(C=I.charCodeAt(i+1))<56320||C>57343?g?I.charAt(i):e:g?I.slice(i,i+2):C-56320+(e-55296<<10)+65536}},Tg={codeAt:Og(!1),charAt:Og(!0)},Dg="__core-js_shared__",Ng=C[Dg]||function(g,A){try{L(C,g,A)}catch(t){C[g]=A}return A}(Dg,{}),Rg=Function.toString;"function"!=typeof Ng.inspectSource&&(Ng.inspectSource=function(g){return Rg.call(g)});var Pg,Mg,Bg,zg=Ng.inspectSource,Zg=C.WeakMap,Sg="function"==typeof Zg&&/native code/.test(zg(Zg)),Fg=t((function(g){(g.exports=function(g,A){return Ng[g]||(Ng[g]=void 0!==A?A:{})})("versions",[]).push({version:"3.9.1",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Gg=0,Lg=Math.random(),jg=function(g){return"Symbol("+String(void 0===g?"":g)+")_"+(++Gg+Lg).toString(36)},Vg=Fg("keys"),Yg=function(g){return Vg[g]||(Vg[g]=jg(g))},Wg=C.WeakMap;if(Sg){var Qg=Ng.state||(Ng.state=new Wg),Ug=Qg.get,_g=Qg.has,Hg=Qg.set;Pg=function(g,A){return A.facade=g,Hg.call(Qg,g,A),A},Mg=function(g){return Ug.call(Qg,g)||{}},Bg=function(g){return _g.call(Qg,g)}}else{var Kg=Yg("state");gg[Kg]=!0,Pg=function(g,A){return A.facade=g,L(g,Kg,A),A},Mg=function(g){return y(g,Kg)?g[Kg]:{}},Bg=function(g){return y(g,Kg)}}var Xg,Jg,qg={set:Pg,get:Mg,has:Bg,enforce:function(g){return Bg(g)?Mg(g):Pg(g,{})},getterFor:function(g){return function(A){var t;if(!p(A)||(t=Mg(A)).type!==g)throw TypeError("Incompatible receiver, "+g+" required");return t}}},$g=!I((function(){function g(){}return g.prototype.constructor=null,Object.getPrototypeOf(new g)!==g.prototype})),gA=Yg("IE_PROTO"),AA=Object.prototype,tA=$g?Object.getPrototypeOf:function(g){return g=ig(g),y(g,gA)?g[gA]:"function"==typeof g.constructor&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?AA:null},eA="process"==d(C.process),CA=function(g){return"function"==typeof g?g:void 0},IA=function(g,A){return arguments.length<2?CA(B[g])||CA(C[g]):B[g]&&B[g][A]||C[g]&&C[g][A]},iA=IA("navigator","userAgent")||"",oA=C.process,nA=oA&&oA.versions,rA=nA&&nA.v8;rA?Jg=(Xg=rA.split("."))[0]+Xg[1]:iA&&(!(Xg=iA.match(/Edge\/(\d+)/))||Xg[1]>=74)&&(Xg=iA.match(/Chrome\/(\d+)/))&&(Jg=Xg[1]);var sA,aA,dA,hA=Jg&&+Jg,lA=!!Object.getOwnPropertySymbols&&!I((function(){return!Symbol.sham&&(eA?38===hA:hA>37&&hA<41)})),cA=lA&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,uA=Fg("wks"),pA=C.Symbol,fA=cA?pA:pA&&pA.withoutSetter||jg,vA=function(g){return y(uA,g)&&(lA||"string"==typeof uA[g])||(lA&&y(pA,g)?uA[g]=pA[g]:uA[g]=fA("Symbol."+g)),uA[g]},yA=vA("iterator"),mA=!1;[].keys&&("next"in(dA=[].keys())?(aA=tA(tA(dA)))!==Object.prototype&&(sA=aA):mA=!0);var bA=null==sA||I((function(){var g={};return sA[yA].call(g)!==g}));bA&&(sA={}),bA&&!y(sA,yA)&&L(sA,yA,(function(){return this}));var wA,kA={IteratorPrototype:sA,BUGGY_SAFARI_ITERATORS:mA},xA=i?Object.defineProperties:function(g,A){S(g);for(var t,e=Cg(A),C=e.length,I=0;C>I;)G.f(g,t=e[I++],A[t]);return g},EA=IA("document","documentElement"),OA=Yg("IE_PROTO"),TA=function(){},DA=function(g){return"<script>"+g+"</"+"script>"},NA=function(){try{wA=document.domain&&new ActiveXObject("htmlfile")}catch(g){}var g,A;NA=wA?function(g){g.write(DA("")),g.close();var A=g.parentWindow.Object;return g=null,A}(wA):((A=w("iframe")).style.display="none",EA.appendChild(A),A.src=String("javascript:"),(g=A.contentWindow.document).open(),g.write(DA("document.F=Object")),g.close(),g.F);for(var t=eg.length;t--;)delete NA.prototype[eg[t]];return NA()};gg[OA]=!0;var RA=Object.create||function(g,A){var t;return null!==g?(TA.prototype=S(g),t=new TA,TA.prototype=null,t[OA]=g):t=NA(),void 0===A?t:xA(t,A)},PA={};PA[vA("toStringTag")]="z";var MA="[object z]"===String(PA),BA=vA("toStringTag"),zA="Arguments"==d(function(){return arguments}()),ZA=MA?d:function(g){var A,t,e;return void 0===g?"Undefined":null===g?"Null":"string"==typeof(t=function(g,A){try{return g[A]}catch(g){}}(A=Object(g),BA))?t:zA?d(A):"Object"==(e=d(A))&&"function"==typeof A.callee?"Arguments":e},SA=MA?{}.toString:function(){return"[object "+ZA(this)+"]"},FA=G.f,GA=vA("toStringTag"),LA=function(g,A,t,e){if(g){var C=t?g:g.prototype;y(C,GA)||FA(C,GA,{configurable:!0,value:A}),e&&!MA&&L(C,"toString",SA)}},jA={},VA=kA.IteratorPrototype,YA=function(){return this},WA=Object.setPrototypeOf||("__proto__"in{}?function(){var g,A=!1,t={};try{(g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),A=t instanceof Array}catch(g){}return function(t,e){return S(t),function(g){if(!p(g)&&null!==g)throw TypeError("Can't set "+String(g)+" as a prototype")}(e),A?g.call(t,e):t.__proto__=e,t}}():void 0),QA=function(g,A,t,e){e&&e.enumerable?g[A]=t:L(g,A,t)},UA=kA.IteratorPrototype,_A=kA.BUGGY_SAFARI_ITERATORS,HA=vA("iterator"),KA="keys",XA="values",JA="entries",qA=function(){return this},$A=function(g,A,t,e,C,I,i){!function(g,A,t){var e=A+" Iterator";g.prototype=RA(VA,{next:s(1,t)}),LA(g,e,!1,!0),jA[e]=YA}(t,A,e);var o,n,r,a=function(g){if(g===C&&u)return u;if(!_A&&g in l)return l[g];switch(g){case KA:case XA:case JA:return function(){return new t(this,g)}}return function(){return new t(this)}},d=A+" Iterator",h=!1,l=g.prototype,c=l[HA]||l["@@iterator"]||C&&l[C],u=!_A&&c||a(C),p="Array"==A&&l.entries||c;if(p&&(o=tA(p.call(new g)),UA!==Object.prototype&&o.next&&(LA(o,d,!0,!0),jA[d]=qA)),C==XA&&c&&c.name!==XA&&(h=!0,u=function(){return c.call(this)}),i&&l[HA]!==u&&L(l,HA,u),jA[A]=u,C)if(n={values:a(XA),keys:I?u:a(KA),entries:a(JA)},i)for(r in n)(_A||h||!(r in l))&&QA(l,r,n[r]);else Y({target:A,proto:!0,forced:_A||h},n);return n},gt=Tg.charAt,At="String Iterator",tt=qg.set,et=qg.getterFor(At);$A(String,"String",(function(g){tt(this,{type:At,string:String(g),index:0})}),(function(){var g,A=et(this),t=A.string,e=A.index;return e>=t.length?{value:void 0,done:!0}:(g=gt(t,e),A.index+=g.length,{value:g,done:!1})}));var Ct=function(g){var A=g.return;if(void 0!==A)return S(A.call(g)).value},It=function(g,A,t,e){try{return e?A(S(t)[0],t[1]):A(t)}catch(A){throw Ct(g),A}},it=vA("iterator"),ot=Array.prototype,nt=function(g){return void 0!==g&&(jA.Array===g||ot[it]===g)},rt=function(g,A,t){var e=f(A);e in g?G.f(g,e,s(0,t)):g[e]=t},st=vA("iterator"),at=function(g){if(null!=g)return g[st]||g["@@iterator"]||jA[ZA(g)]},dt=vA("iterator"),ht=!1;try{var lt=0,ct={next:function(){return{done:!!lt++}},return:function(){ht=!0}};ct[dt]=function(){return this},Array.from(ct,(function(){throw 2}))}catch(g){}var ut=!function(g,A){if(!A&&!ht)return!1;var t=!1;try{var e={};e[dt]=function(){return{next:function(){return{done:t=!0}}}},g(e)}catch(g){}return t}((function(g){Array.from(g)}));Y({target:"Array",stat:!0,forced:ut},{from:function(g){var A,t,e,C,I,i,o=ig(g),n="function"==typeof this?this:Array,r=arguments.length,s=r>1?arguments[1]:void 0,a=void 0!==s,d=at(o),h=0;if(a&&(s=Z(s,r>2?arguments[2]:void 0,2)),null==d||n==Array&&nt(d))for(t=new n(A=H(o.length));A>h;h++)i=a?s(o[h],h):o[h],rt(t,h,i);else for(I=(C=d.call(o)).next,t=new n;!(e=I.call(C)).done;h++)i=a?It(C,s,[e.value,h],!0):e.value,rt(t,h,i);return t.length=h,t}});var pt=B.Array.from,ft=pt,vt="Array Iterator",yt=qg.set,mt=qg.getterFor(vt);$A(Array,"Array",(function(g,A){yt(this,{type:vt,target:u(g),index:0,kind:A})}),(function(){var g=mt(this),A=g.target,t=g.kind,e=g.index++;return!A||e>=A.length?(g.target=void 0,{value:void 0,done:!0}):"keys"==t?{value:e,done:!1}:"values"==t?{value:A[e],done:!1}:{value:[e,A[e]],done:!1}}),"values"),jA.Arguments=jA.Array;var bt=vA("toStringTag");for(var wt in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var kt=C[wt],xt=kt&&kt.prototype;xt&&ZA(xt)!==bt&&L(xt,bt,wt),jA[wt]=jA.Array}var Et=at,Ot=function(g){var A=at(g);if("function"!=typeof A)throw TypeError(String(g)+" is not iterable");return S(A.call(g))},Tt=Array.isArray||function(g){return"Array"==d(g)},Dt=eg.concat("length","prototype"),Nt={f:Object.getOwnPropertyNames||function(g){return tg(g,Dt)}},Rt=Nt.f,Pt={}.toString,Mt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Bt={f:function(g){return Mt&&"[object Window]"==Pt.call(g)?function(g){try{return Rt(g)}catch(g){return Mt.slice()}}(g):Rt(u(g))}},zt={f:vA},Zt=G.f,St=function(g){var A=B.Symbol||(B.Symbol={});y(A,g)||Zt(A,g,{value:zt.f(g)})},Ft=vA("species"),Gt=function(g,A){var t;return Tt(g)&&("function"!=typeof(t=g.constructor)||t!==Array&&!Tt(t.prototype)?p(t)&&null===(t=t[Ft])&&(t=void 0):t=void 0),new(void 0===t?Array:t)(0===A?0:A)},Lt=[].push,jt=function(g){var A=1==g,t=2==g,e=3==g,C=4==g,I=6==g,i=7==g,o=5==g||I;return function(n,r,s,a){for(var d,h,c=ig(n),u=l(c),p=Z(r,s,3),f=H(u.length),v=0,y=a||Gt,m=A?y(n,f):t||i?y(n,0):void 0;f>v;v++)if((o||v in u)&&(h=p(d=u[v],v,c),g))if(A)m[v]=h;else if(h)switch(g){case 3:return!0;case 5:return d;case 6:return v;case 2:Lt.call(m,d)}else switch(g){case 4:return!1;case 7:Lt.call(m,d)}return I?-1:e||C?C:m}},Vt={forEach:jt(0),map:jt(1),filter:jt(2),some:jt(3),every:jt(4),find:jt(5),findIndex:jt(6),filterOut:jt(7)},Yt=Vt.forEach,Wt=Yg("hidden"),Qt="Symbol",Ut=vA("toPrimitive"),_t=qg.set,Ht=qg.getterFor(Qt),Kt=Object.prototype,Xt=C.Symbol,Jt=IA("JSON","stringify"),qt=E.f,$t=G.f,ge=Bt.f,Ae=r.f,te=Fg("symbols"),ee=Fg("op-symbols"),Ce=Fg("string-to-symbol-registry"),Ie=Fg("symbol-to-string-registry"),ie=Fg("wks"),oe=C.QObject,ne=!oe||!oe.prototype||!oe.prototype.findChild,re=i&&I((function(){return 7!=RA($t({},"a",{get:function(){return $t(this,"a",{value:7}).a}})).a}))?function(g,A,t){var e=qt(Kt,A);e&&delete Kt[A],$t(g,A,t),e&&g!==Kt&&$t(Kt,A,e)}:$t,se=function(g,A){var t=te[g]=RA(Xt.prototype);return _t(t,{type:Qt,tag:g,description:A}),i||(t.description=A),t},ae=cA?function(g){return"symbol"==typeof g}:function(g){return Object(g)instanceof Xt},de=function(g,A,t){g===Kt&&de(ee,A,t),S(g);var e=f(A,!0);return S(t),y(te,e)?(t.enumerable?(y(g,Wt)&&g[Wt][e]&&(g[Wt][e]=!1),t=RA(t,{enumerable:s(0,!1)})):(y(g,Wt)||$t(g,Wt,s(1,{})),g[Wt][e]=!0),re(g,e,t)):$t(g,e,t)},he=function(g,A){S(g);var t=u(A),e=Cg(t).concat(pe(t));return Yt(e,(function(A){i&&!le.call(t,A)||de(g,A,t[A])})),g},le=function(g){var A=f(g,!0),t=Ae.call(this,A);return!(this===Kt&&y(te,A)&&!y(ee,A))&&(!(t||!y(this,A)||!y(te,A)||y(this,Wt)&&this[Wt][A])||t)},ce=function(g,A){var t=u(g),e=f(A,!0);if(t!==Kt||!y(te,e)||y(ee,e)){var C=qt(t,e);return!C||!y(te,e)||y(t,Wt)&&t[Wt][e]||(C.enumerable=!0),C}},ue=function(g){var A=ge(u(g)),t=[];return Yt(A,(function(g){y(te,g)||y(gg,g)||t.push(g)})),t},pe=function(g){var A=g===Kt,t=ge(A?ee:u(g)),e=[];return Yt(t,(function(g){!y(te,g)||A&&!y(Kt,g)||e.push(te[g])})),e};if(lA||(QA((Xt=function(){if(this instanceof Xt)throw TypeError("Symbol is not a constructor");var g=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,A=jg(g),t=function(g){this===Kt&&t.call(ee,g),y(this,Wt)&&y(this[Wt],A)&&(this[Wt][A]=!1),re(this,A,s(1,g))};return i&&ne&&re(Kt,A,{configurable:!0,set:t}),se(A,g)}).prototype,"toString",(function(){return Ht(this).tag})),QA(Xt,"withoutSetter",(function(g){return se(jg(g),g)})),r.f=le,G.f=de,E.f=ce,Nt.f=Bt.f=ue,Ig.f=pe,zt.f=function(g){return se(vA(g),g)},i&&$t(Xt.prototype,"description",{configurable:!0,get:function(){return Ht(this).description}})),Y({global:!0,wrap:!0,forced:!lA,sham:!lA},{Symbol:Xt}),Yt(Cg(ie),(function(g){St(g)})),Y({target:Qt,stat:!0,forced:!lA},{for:function(g){var A=String(g);if(y(Ce,A))return Ce[A];var t=Xt(A);return Ce[A]=t,Ie[t]=A,t},keyFor:function(g){if(!ae(g))throw TypeError(g+" is not a symbol");if(y(Ie,g))return Ie[g]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),Y({target:"Object",stat:!0,forced:!lA,sham:!i},{create:function(g,A){return void 0===A?RA(g):he(RA(g),A)},defineProperty:de,defineProperties:he,getOwnPropertyDescriptor:ce}),Y({target:"Object",stat:!0,forced:!lA},{getOwnPropertyNames:ue,getOwnPropertySymbols:pe}),Y({target:"Object",stat:!0,forced:I((function(){Ig.f(1)}))},{getOwnPropertySymbols:function(g){return Ig.f(ig(g))}}),Jt){var fe=!lA||I((function(){var g=Xt();return"[null]"!=Jt([g])||"{}"!=Jt({a:g})||"{}"!=Jt(Object(g))}));Y({target:"JSON",stat:!0,forced:fe},{stringify:function(g,A,t){for(var e,C=[g],I=1;arguments.length>I;)C.push(arguments[I++]);if(e=A,(p(A)||void 0!==g)&&!ae(g))return Tt(A)||(A=function(g,A){if("function"==typeof e&&(A=e.call(this,g,A)),!ae(A))return A}),C[1]=A,Jt.apply(null,C)}})}Xt.prototype[Ut]||L(Xt.prototype,Ut,Xt.prototype.valueOf),LA(Xt,Qt),gg[Wt]=!0;var ve=B.Object.getOwnPropertySymbols,ye=E.f,me=I((function(){ye(1)}));Y({target:"Object",stat:!0,forced:!i||me,sham:!i},{getOwnPropertyDescriptor:function(g,A){return ye(u(g),A)}});var be=t((function(g){var A=B.Object,t=g.exports=function(g,t){return A.getOwnPropertyDescriptor(g,t)};A.getOwnPropertyDescriptor.sham&&(t.sham=!0)})),we=be,ke=IA("Reflect","ownKeys")||function(g){var A=Nt.f(S(g)),t=Ig.f;return t?A.concat(t(g)):A};Y({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(g){for(var A,t,e=u(g),C=E.f,I=ke(e),i={},o=0;I.length>o;)void 0!==(t=C(e,A=I[o++]))&&rt(i,A,t);return i}});var xe=B.Object.getOwnPropertyDescriptors;Y({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:xA});var Ee=t((function(g){var A=B.Object,t=g.exports=function(g,t){return A.defineProperties(g,t)};A.defineProperties.sham&&(t.sham=!0)}));Y({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:G.f});var Oe=t((function(g){var A=B.Object,t=g.exports=function(g,t,e){return A.defineProperty(g,t,e)};A.defineProperty.sham&&(t.sham=!0)})),Te=Oe;function De(g,A){if(!(g instanceof A))throw new TypeError("Cannot call a class as a function")}var Ne=Oe;function Re(g,A){for(var t=0;t<A.length;t++){var e=A[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Ne(g,e.key,e)}}function Pe(g,A,t){return A&&Re(g.prototype,A),t&&Re(g,t),g}function Me(g,A,t){return A in g?Ne(g,A,{value:t,enumerable:!0,configurable:!0,writable:!0}):g[A]=t,g}Y({target:"Array",stat:!0},{isArray:Tt});var Be=B.Array.isArray,ze=Be;var Ze=vA("species"),Se=function(g){return hA>=51||!I((function(){var A=[];return(A.constructor={})[Ze]=function(){return{foo:1}},1!==A[g](Boolean).foo}))},Fe=vA("isConcatSpreadable"),Ge=9007199254740991,Le="Maximum allowed index exceeded",je=hA>=51||!I((function(){var g=[];return g[Fe]=!1,g.concat()[0]!==g})),Ve=Se("concat"),Ye=function(g){if(!p(g))return!1;var A=g[Fe];return void 0!==A?!!A:Tt(g)};Y({target:"Array",proto:!0,forced:!je||!Ve},{concat:function(g){var A,t,e,C,I,i=ig(this),o=Gt(i,0),n=0;for(A=-1,e=arguments.length;A<e;A++)if(Ye(I=-1===A?i:arguments[A])){if(n+(C=H(I.length))>Ge)throw TypeError(Le);for(t=0;t<C;t++,n++)t in I&&rt(o,n,I[t])}else{if(n>=Ge)throw TypeError(Le);rt(o,n++,I)}return o.length=n,o}}),St("asyncIterator"),St("hasInstance"),St("isConcatSpreadable"),St("iterator"),St("match"),St("matchAll"),St("replace"),St("search"),St("species"),St("split"),St("toPrimitive"),St("toStringTag"),St("unscopables"),LA(C.JSON,"JSON",!0);var We=B.Symbol;St("asyncDispose"),St("dispose"),St("observable"),St("patternMatch"),St("replaceAll");var Qe=We,Ue=vA("iterator"),_e=function(g){var A=Object(g);return void 0!==A[Ue]||"@@iterator"in A||jA.hasOwnProperty(ZA(A))};var He=Se("slice"),Ke=vA("species"),Xe=[].slice,Je=Math.max;Y({target:"Array",proto:!0,forced:!He},{slice:function(g,A){var t,e,C,I=u(this),i=H(I.length),o=J(g,i),n=J(void 0===A?i:A,i);if(Tt(I)&&("function"!=typeof(t=I.constructor)||t!==Array&&!Tt(t.prototype)?p(t)&&null===(t=t[Ke])&&(t=void 0):t=void 0,t===Array||void 0===t))return Xe.call(I,o,n);for(e=new(void 0===t?Array:t)(Je(n-o,0)),C=0;o<n;o++,C++)o in I&&rt(e,C,I[o]);return e.length=C,e}});var qe=cg("Array").slice,$e=Array.prototype,gC=function(g){var A=g.slice;return g===$e||g instanceof Array&&A===$e.slice?qe:A},AC=gC,tC=pt;function eC(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}function CC(g,A){var t;if(g){if("string"==typeof g)return eC(g,A);var e=AC(t=Object.prototype.toString.call(g)).call(t,8,-1);return"Object"===e&&g.constructor&&(e=g.constructor.name),"Map"===e||"Set"===e?tC(g):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?eC(g,A):void 0}}function IC(g,A){return function(g){if(ze(g))return g}(g)||function(g,A){if(void 0!==Qe&&_e(Object(g))){var t=[],e=!0,C=!1,I=void 0;try{for(var i,o=Ot(g);!(e=(i=o.next()).done)&&(t.push(i.value),!A||t.length!==A);e=!0);}catch(g){C=!0,I=g}finally{try{e||null==o.return||o.return()}finally{if(C)throw I}}return t}}(g,A)||CC(g,A)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var iC=zt.f("iterator"),oC=iC;function nC(g){return(nC="function"==typeof Qe&&"symbol"==typeof oC?function(g){return typeof g}:function(g){return g&&"function"==typeof Qe&&g.constructor===Qe&&g!==Qe.prototype?"symbol":typeof g})(g)}function rC(g){return function(g){if(ze(g))return eC(g)}(g)||function(g){if(void 0!==Qe&&_e(Object(g)))return tC(g)}(g)||CC(g)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var sC=We,aC=cg("Array").concat,dC=Array.prototype,hC=function(g){var A=g.concat;return g===dC||g instanceof Array&&A===dC.concat?aC:A},lC=gC;Y({target:"Reflect",stat:!0},{ownKeys:ke});var cC=B.Reflect.ownKeys,uC=Be,pC=Vt.map,fC=Se("map");Y({target:"Array",proto:!0,forced:!fC},{map:function(g){return pC(this,g,arguments.length>1?arguments[1]:void 0)}});var vC=cg("Array").map,yC=Array.prototype,mC=function(g){var A=g.map;return g===yC||g instanceof Array&&A===yC.map?vC:A},bC=I((function(){Cg(1)}));Y({target:"Object",stat:!0,forced:bC},{keys:function(g){return Cg(ig(g))}});var wC=B.Object.keys;Y({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}});var kC=B.Date.now,xC=function(g,A){var t=[][g];return!!t&&I((function(){t.call(null,A||function(){throw 1},1)}))},EC=Vt.forEach,OC=xC("forEach")?[].forEach:function(g){return EC(this,g,arguments.length>1?arguments[1]:void 0)};Y({target:"Array",proto:!0,forced:[].forEach!=OC},{forEach:OC});var TC=cg("Array").forEach,DC=Array.prototype,NC={DOMTokenList:!0,NodeList:!0},RC=function(g){var A=g.forEach;return g===DC||g instanceof Array&&A===DC.forEach||NC.hasOwnProperty(ZA(g))?TC:A},PC=[].reverse,MC=[1,2];Y({target:"Array",proto:!0,forced:String(MC)===String(MC.reverse())},{reverse:function(){return Tt(this)&&(this.length=this.length),PC.call(this)}});var BC=cg("Array").reverse,zC=Array.prototype,ZC=function(g){var A=g.reverse;return g===zC||g instanceof Array&&A===zC.reverse?BC:A},SC=Se("splice"),FC=Math.max,GC=Math.min,LC=9007199254740991,jC="Maximum allowed length exceeded";Y({target:"Array",proto:!0,forced:!SC},{splice:function(g,A){var t,e,C,I,i,o,n=ig(this),r=H(n.length),s=J(g,r),a=arguments.length;if(0===a?t=e=0:1===a?(t=0,e=r-s):(t=a-2,e=GC(FC(U(A),0),r-s)),r+t-e>LC)throw TypeError(jC);for(C=Gt(n,e),I=0;I<e;I++)(i=s+I)in n&&rt(C,I,n[i]);if(C.length=e,t<e){for(I=s;I<r-e;I++)o=I+t,(i=I+e)in n?n[o]=n[i]:delete n[o];for(I=r;I>r-e+t;I--)delete n[I-1]}else if(t>e)for(I=r-e;I>s;I--)o=I+t-1,(i=I+e-1)in n?n[o]=n[i]:delete n[o];for(I=0;I<t;I++)n[I+s]=arguments[I+2];return n.length=r-e+t,C}});var VC=cg("Array").splice,YC=Array.prototype,WC=function(g){var A=g.splice;return g===YC||g instanceof Array&&A===YC.splice?VC:A},QC=$.includes;Y({target:"Array",proto:!0},{includes:function(g){return QC(this,g,arguments.length>1?arguments[1]:void 0)}});var UC=cg("Array").includes,_C=vA("match"),HC=function(g){if(function(g){var A;return p(g)&&(void 0!==(A=g[_C])?!!A:"RegExp"==d(g))}(g))throw TypeError("The method doesn't accept regular expressions");return g},KC=vA("match");Y({target:"String",proto:!0,forced:!function(g){var A=/./;try{"/./"[g](A)}catch(t){try{return A[KC]=!1,"/./"[g](A)}catch(g){}}return!1}("includes")},{includes:function(g){return!!~String(c(this)).indexOf(HC(g),arguments.length>1?arguments[1]:void 0)}});var XC=cg("String").includes,JC=Array.prototype,qC=String.prototype,$C=function(g){var A=g.includes;return g===JC||g instanceof Array&&A===JC.includes?UC:"string"==typeof g||g===qC||g instanceof String&&A===qC.includes?XC:A},gI=I((function(){tA(1)}));Y({target:"Object",stat:!0,forced:gI,sham:!$g},{getPrototypeOf:function(g){return tA(ig(g))}});var AI=B.Object.getPrototypeOf,tI=AI,eI=Vt.filter,CI=Se("filter");Y({target:"Array",proto:!0,forced:!CI},{filter:function(g){return eI(this,g,arguments.length>1?arguments[1]:void 0)}});var II=cg("Array").filter,iI=Array.prototype,oI=function(g){var A=g.filter;return g===iI||g instanceof Array&&A===iI.filter?II:A},nI=r.f,rI=function(g){return function(A){for(var t,e=u(A),C=Cg(e),I=C.length,o=0,n=[];I>o;)t=C[o++],i&&!nI.call(e,t)||n.push(g?[t,e[t]]:e[t]);return n}},sI={entries:rI(!0),values:rI(!1)}.values;Y({target:"Object",stat:!0},{values:function(g){return sI(g)}}),B.Object.values;var aI="\t\n\v\f\r \u2028\u2029\ufeff",dI="["+aI+"]",hI=RegExp("^"+dI+dI+"*"),lI=RegExp(dI+dI+"*$"),cI=function(g){return function(A){var t=String(c(A));return 1&g&&(t=t.replace(hI,"")),2&g&&(t=t.replace(lI,"")),t}},uI={start:cI(1),end:cI(2),trim:cI(3)},pI=uI.trim,fI=C.parseInt,vI=/^[+-]?0[Xx]/,yI=8!==fI(aI+"08")||22!==fI(aI+"0x16")?function(g,A){var t=pI(String(g));return fI(t,A>>>0||(vI.test(t)?16:10))}:fI;Y({global:!0,forced:parseInt!=yI},{parseInt:yI});var mI=B.parseInt,bI=$.indexOf,wI=[].indexOf,kI=!!wI&&1/[1].indexOf(1,-0)<0,xI=xC("indexOf");Y({target:"Array",proto:!0,forced:kI||!xI},{indexOf:function(g){return kI?wI.apply(this,arguments)||0:bI(this,g,arguments.length>1?arguments[1]:void 0)}});var EI,OI=cg("Array").indexOf,TI=Array.prototype,DI=function(g){var A=g.indexOf;return g===TI||g instanceof Array&&A===TI.indexOf?OI:A},NI=uI.trim;Y({target:"String",proto:!0,forced:(EI="trim",I((function(){return!!aI[EI]()||"
"!="
"[EI]()||aI[EI].name!==EI})))},{trim:function(){return NI(this)}}),cg("String").trim,Y({target:"Object",stat:!0,sham:!i},{create:RA});var RI=B.Object,PI=function(g,A){return RI.create(g,A)},MI=PI,BI=IA("JSON","stringify"),zI=/[\uD800-\uDFFF]/g,ZI=/^[\uD800-\uDBFF]$/,SI=/^[\uDC00-\uDFFF]$/,FI=function(g,A,t){var e=t.charAt(A-1),C=t.charAt(A+1);return ZI.test(g)&&!SI.test(C)||SI.test(g)&&!ZI.test(e)?"\\u"+g.charCodeAt(0).toString(16):g},GI=I((function(){return'"\\udf06\\ud834"'!==BI("\udf06\ud834")||'"\\udead"'!==BI("\udead")}));BI&&Y({target:"JSON",stat:!0,forced:GI},{stringify:function(g,A,t){var e=BI.apply(null,arguments);return"string"==typeof e?e.replace(zI,FI):e}}),B.JSON||(B.JSON={stringify:JSON.stringify});var LI=function(g,A,t){return B.JSON.stringify.apply(null,arguments)},jI=[].slice,VI=/MSIE .\./.test(iA),YI=function(g){return function(A,t){var e=arguments.length>2,C=e?jI.call(arguments,2):void 0;return g(e?function(){("function"==typeof A?A:Function(A)).apply(this,C)}:A,t)}};Y({global:!0,bind:!0,forced:VI},{setTimeout:YI(C.setTimeout),setInterval:YI(C.setInterval)});var WI=B.setTimeout;Y({target:"Array",proto:!0},{fill:function(g){for(var A=ig(this),t=H(A.length),e=arguments.length,C=J(e>1?arguments[1]:void 0,t),I=e>2?arguments[2]:void 0,i=void 0===I?t:J(I,t);i>C;)A[C++]=g;return A}});var QI=cg("Array").fill,UI=Array.prototype,_I=function(g){var A=g.fill;return g===UI||g instanceof Array&&A===UI.fill?QI:A};
/*! Hammer.JS - v2.0.17-rc - 2019-12-16
* http://naver.github.io/egjs
*
* Forked By Naver egjs
* Copyright (c) hammerjs
* Licensed under the MIT license */
function HI(){return(HI=Object.assign||function(g){for(var A=1;A<arguments.length;A++){var t=arguments[A];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(g[e]=t[e])}return g}).apply(this,arguments)}function KI(g,A){g.prototype=Object.create(A.prototype),g.prototype.constructor=g,g.__proto__=A}function XI(g){if(void 0===g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}var JI,qI="function"!=typeof Object.assign?function(g){if(null==g)throw new TypeError("Cannot convert undefined or null to object");for(var A=Object(g),t=1;t<arguments.length;t++){var e=arguments[t];if(null!=e)for(var C in e)e.hasOwnProperty(C)&&(A[C]=e[C])}return A}:Object.assign,$I=["","webkit","Moz","MS","ms","o"],gi="undefined"==typeof document?{style:{}}:document.createElement("div"),Ai=Math.round,ti=Math.abs,ei=Date.now;function Ci(g,A){for(var t,e,C=A[0].toUpperCase()+A.slice(1),I=0;I<$I.length;){if((e=(t=$I[I])?t+C:A)in g)return e;I++}}JI="undefined"==typeof window?{}:window;var Ii=Ci(gi.style,"touchAction"),ii=void 0!==Ii;var oi="compute",ni="auto",ri="manipulation",si="none",ai="pan-x",di="pan-y",hi=function(){if(!ii)return!1;var g={},A=JI.CSS&&JI.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(t){return g[t]=!A||JI.CSS.supports("touch-action",t)})),g}(),li="ontouchstart"in JI,ci=void 0!==Ci(JI,"PointerEvent"),ui=li&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),pi="touch",fi="mouse",vi=16,yi=24,mi=["x","y"],bi=["clientX","clientY"];function wi(g,A,t){var e;if(g)if(g.forEach)g.forEach(A,t);else if(void 0!==g.length)for(e=0;e<g.length;)A.call(t,g[e],e,g),e++;else for(e in g)g.hasOwnProperty(e)&&A.call(t,g[e],e,g)}function ki(g,A){return"function"==typeof g?g.apply(A&&A[0]||void 0,A):g}function xi(g,A){return g.indexOf(A)>-1}var Ei=function(){function g(g,A){this.manager=g,this.set(A)}var A=g.prototype;return A.set=function(g){g===oi&&(g=this.compute()),ii&&this.manager.element.style&&hi[g]&&(this.manager.element.style[Ii]=g),this.actions=g.toLowerCase().trim()},A.update=function(){this.set(this.manager.options.touchAction)},A.compute=function(){var g=[];return wi(this.manager.recognizers,(function(A){ki(A.options.enable,[A])&&(g=g.concat(A.getTouchAction()))})),function(g){if(xi(g,si))return si;var A=xi(g,ai),t=xi(g,di);return A&&t?si:A||t?A?ai:di:xi(g,ri)?ri:ni}(g.join(" "))},A.preventDefaults=function(g){var A=g.srcEvent,t=g.offsetDirection;if(this.manager.session.prevented)A.preventDefault();else{var e=this.actions,C=xi(e,si)&&!hi.none,I=xi(e,di)&&!hi["pan-y"],i=xi(e,ai)&&!hi["pan-x"];if(C){var o=1===g.pointers.length,n=g.distance<2,r=g.deltaTime<250;if(o&&n&&r)return}if(!i||!I)return C||I&&6&t||i&&t&yi?this.preventSrc(A):void 0}},A.preventSrc=function(g){this.manager.session.prevented=!0,g.preventDefault()},g}();function Oi(g,A){for(;g;){if(g===A)return!0;g=g.parentNode}return!1}function Ti(g){var A=g.length;if(1===A)return{x:Ai(g[0].clientX),y:Ai(g[0].clientY)};for(var t=0,e=0,C=0;C<A;)t+=g[C].clientX,e+=g[C].clientY,C++;return{x:Ai(t/A),y:Ai(e/A)}}function Di(g){for(var A=[],t=0;t<g.pointers.length;)A[t]={clientX:Ai(g.pointers[t].clientX),clientY:Ai(g.pointers[t].clientY)},t++;return{timeStamp:ei(),pointers:A,center:Ti(A),deltaX:g.deltaX,deltaY:g.deltaY}}function Ni(g,A,t){t||(t=mi);var e=A[t[0]]-g[t[0]],C=A[t[1]]-g[t[1]];return Math.sqrt(e*e+C*C)}function Ri(g,A,t){t||(t=mi);var e=A[t[0]]-g[t[0]],C=A[t[1]]-g[t[1]];return 180*Math.atan2(C,e)/Math.PI}function Pi(g,A){return g===A?1:ti(g)>=ti(A)?g<0?2:4:A<0?8:vi}function Mi(g,A,t){return{x:A/g||0,y:t/g||0}}function Bi(g,A){var t=g.session,e=A.pointers,C=e.length;t.firstInput||(t.firstInput=Di(A)),C>1&&!t.firstMultiple?t.firstMultiple=Di(A):1===C&&(t.firstMultiple=!1);var I=t.firstInput,i=t.firstMultiple,o=i?i.center:I.center,n=A.center=Ti(e);A.timeStamp=ei(),A.deltaTime=A.timeStamp-I.timeStamp,A.angle=Ri(o,n),A.distance=Ni(o,n),function(g,A){var t=A.center,e=g.offsetDelta||{},C=g.prevDelta||{},I=g.prevInput||{};1!==A.eventType&&4!==I.eventType||(C=g.prevDelta={x:I.deltaX||0,y:I.deltaY||0},e=g.offsetDelta={x:t.x,y:t.y}),A.deltaX=C.x+(t.x-e.x),A.deltaY=C.y+(t.y-e.y)}(t,A),A.offsetDirection=Pi(A.deltaX,A.deltaY);var r,s,a=Mi(A.deltaTime,A.deltaX,A.deltaY);A.overallVelocityX=a.x,A.overallVelocityY=a.y,A.overallVelocity=ti(a.x)>ti(a.y)?a.x:a.y,A.scale=i?(r=i.pointers,Ni((s=e)[0],s[1],bi)/Ni(r[0],r[1],bi)):1,A.rotation=i?function(g,A){return Ri(A[1],A[0],bi)+Ri(g[1],g[0],bi)}(i.pointers,e):0,A.maxPointers=t.prevInput?A.pointers.length>t.prevInput.maxPointers?A.pointers.length:t.prevInput.maxPointers:A.pointers.length,function(g,A){var t,e,C,I,i=g.lastInterval||A,o=A.timeStamp-i.timeStamp;if(8!==A.eventType&&(o>25||void 0===i.velocity)){var n=A.deltaX-i.deltaX,r=A.deltaY-i.deltaY,s=Mi(o,n,r);e=s.x,C=s.y,t=ti(s.x)>ti(s.y)?s.x:s.y,I=Pi(n,r),g.lastInterval=A}else t=i.velocity,e=i.velocityX,C=i.velocityY,I=i.direction;A.velocity=t,A.velocityX=e,A.velocityY=C,A.direction=I}(t,A);var d,h=g.element,l=A.srcEvent;Oi(d=l.composedPath?l.composedPath()[0]:l.path?l.path[0]:l.target,h)&&(h=d),A.target=h}function zi(g,A,t){var e=t.pointers.length,C=t.changedPointers.length,I=1&A&&e-C==0,i=12&A&&e-C==0;t.isFirst=!!I,t.isFinal=!!i,I&&(g.session={}),t.eventType=A,Bi(g,t),g.emit("hammer.input",t),g.recognize(t),g.session.prevInput=t}function Zi(g){return g.trim().split(/\s+/g)}function Si(g,A,t){wi(Zi(A),(function(A){g.addEventListener(A,t,!1)}))}function Fi(g,A,t){wi(Zi(A),(function(A){g.removeEventListener(A,t,!1)}))}function Gi(g){var A=g.ownerDocument||g;return A.defaultView||A.parentWindow||window}var Li=function(){function g(g,A){var t=this;this.manager=g,this.callback=A,this.element=g.element,this.target=g.options.inputTarget,this.domHandler=function(A){ki(g.options.enable,[g])&&t.handler(A)},this.init()}var A=g.prototype;return A.handler=function(){},A.init=function(){this.evEl&&Si(this.element,this.evEl,this.domHandler),this.evTarget&&Si(this.target,this.evTarget,this.domHandler),this.evWin&&Si(Gi(this.element),this.evWin,this.domHandler)},A.destroy=function(){this.evEl&&Fi(this.element,this.evEl,this.domHandler),this.evTarget&&Fi(this.target,this.evTarget,this.domHandler),this.evWin&&Fi(Gi(this.element),this.evWin,this.domHandler)},g}();function ji(g,A,t){if(g.indexOf&&!t)return g.indexOf(A);for(var e=0;e<g.length;){if(t&&g[e][t]==A||!t&&g[e]===A)return e;e++}return-1}var Vi={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Yi={2:pi,3:"pen",4:fi,5:"kinect"},Wi="pointerdown",Qi="pointermove pointerup pointercancel";JI.MSPointerEvent&&!JI.PointerEvent&&(Wi="MSPointerDown",Qi="MSPointerMove MSPointerUp MSPointerCancel");var Ui=function(g){function A(){var t,e=A.prototype;return e.evEl=Wi,e.evWin=Qi,(t=g.apply(this,arguments)||this).store=t.manager.session.pointerEvents=[],t}return KI(A,g),A.prototype.handler=function(g){var A=this.store,t=!1,e=g.type.toLowerCase().replace("ms",""),C=Vi[e],I=Yi[g.pointerType]||g.pointerType,i=I===pi,o=ji(A,g.pointerId,"pointerId");1&C&&(0===g.button||i)?o<0&&(A.push(g),o=A.length-1):12&C&&(t=!0),o<0||(A[o]=g,this.callback(this.manager,C,{pointers:A,changedPointers:[g],pointerType:I,srcEvent:g}),t&&A.splice(o,1))},A}(Li);function _i(g){return Array.prototype.slice.call(g,0)}function Hi(g,A,t){for(var e=[],C=[],I=0;I<g.length;){var i=A?g[I][A]:g[I];ji(C,i)<0&&e.push(g[I]),C[I]=i,I++}return t&&(e=A?e.sort((function(g,t){return g[A]>t[A]})):e.sort()),e}var Ki={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Xi="touchstart touchmove touchend touchcancel",Ji=function(g){function A(){var t;return A.prototype.evTarget=Xi,(t=g.apply(this,arguments)||this).targetIds={},t}return KI(A,g),A.prototype.handler=function(g){var A=Ki[g.type],t=qi.call(this,g,A);t&&this.callback(this.manager,A,{pointers:t[0],changedPointers:t[1],pointerType:pi,srcEvent:g})},A}(Li);function qi(g,A){var t,e,C=_i(g.touches),I=this.targetIds;if(3&A&&1===C.length)return I[C[0].identifier]=!0,[C,C];var i=_i(g.changedTouches),o=[],n=this.target;if(e=C.filter((function(g){return Oi(g.target,n)})),1===A)for(t=0;t<e.length;)I[e[t].identifier]=!0,t++;for(t=0;t<i.length;)I[i[t].identifier]&&o.push(i[t]),12&A&&delete I[i[t].identifier],t++;return o.length?[Hi(e.concat(o),"identifier",!0),o]:void 0}var $i={mousedown:1,mousemove:2,mouseup:4},go="mousedown",Ao="mousemove mouseup",to=function(g){function A(){var t,e=A.prototype;return e.evEl=go,e.evWin=Ao,(t=g.apply(this,arguments)||this).pressed=!1,t}return KI(A,g),A.prototype.handler=function(g){var A=$i[g.type];1&A&&0===g.button&&(this.pressed=!0),2&A&&1!==g.which&&(A=4),this.pressed&&(4&A&&(this.pressed=!1),this.callback(this.manager,A,{pointers:[g],changedPointers:[g],pointerType:fi,srcEvent:g}))},A}(Li);function eo(g){var A=g.changedPointers[0];if(A.identifier===this.primaryTouch){var t={x:A.clientX,y:A.clientY},e=this.lastTouches;this.lastTouches.push(t);setTimeout((function(){var g=e.indexOf(t);g>-1&&e.splice(g,1)}),2500)}}function Co(g,A){1&g?(this.primaryTouch=A.changedPointers[0].identifier,eo.call(this,A)):12&g&&eo.call(this,A)}function Io(g){for(var A=g.srcEvent.clientX,t=g.srcEvent.clientY,e=0;e<this.lastTouches.length;e++){var C=this.lastTouches[e],I=Math.abs(A-C.x),i=Math.abs(t-C.y);if(I<=25&&i<=25)return!0}return!1}var io=function(){return function(g){function A(A,t){var e;return(e=g.call(this,A,t)||this).handler=function(g,A,t){var C=t.pointerType===pi,I=t.pointerType===fi;if(!(I&&t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents)){if(C)Co.call(XI(XI(e)),A,t);else if(I&&Io.call(XI(XI(e)),t))return;e.callback(g,A,t)}},e.touch=new Ji(e.manager,e.handler),e.mouse=new to(e.manager,e.handler),e.primaryTouch=null,e.lastTouches=[],e}return KI(A,g),A.prototype.destroy=function(){this.touch.destroy(),this.mouse.destroy()},A}(Li)}();function oo(g,A,t){return!!Array.isArray(g)&&(wi(g,t[A],t),!0)}var no=32,ro=1;function so(g,A){var t=A.manager;return t?t.get(g):g}function ao(g){return 16&g?"cancel":8&g?"end":4&g?"move":2&g?"start":""}var ho=function(){function g(g){void 0===g&&(g={}),this.options=HI({enable:!0},g),this.id=ro++,this.manager=null,this.state=1,this.simultaneous={},this.requireFail=[]}var A=g.prototype;return A.set=function(g){return qI(this.options,g),this.manager&&this.manager.touchAction.update(),this},A.recognizeWith=function(g){if(oo(g,"recognizeWith",this))return this;var A=this.simultaneous;return A[(g=so(g,this)).id]||(A[g.id]=g,g.recognizeWith(this)),this},A.dropRecognizeWith=function(g){return oo(g,"dropRecognizeWith",this)||(g=so(g,this),delete this.simultaneous[g.id]),this},A.requireFailure=function(g){if(oo(g,"requireFailure",this))return this;var A=this.requireFail;return-1===ji(A,g=so(g,this))&&(A.push(g),g.requireFailure(this)),this},A.dropRequireFailure=function(g){if(oo(g,"dropRequireFailure",this))return this;g=so(g,this);var A=ji(this.requireFail,g);return A>-1&&this.requireFail.splice(A,1),this},A.hasRequireFailures=function(){return this.requireFail.length>0},A.canRecognizeWith=function(g){return!!this.simultaneous[g.id]},A.emit=function(g){var A=this,t=this.state;function e(t){A.manager.emit(t,g)}t<8&&e(A.options.event+ao(t)),e(A.options.event),g.additionalEvent&&e(g.additionalEvent),t>=8&&e(A.options.event+ao(t))},A.tryEmit=function(g){if(this.canEmit())return this.emit(g);this.state=no},A.canEmit=function(){for(var g=0;g<this.requireFail.length;){if(!(33&this.requireFail[g].state))return!1;g++}return!0},A.recognize=function(g){var A=qI({},g);if(!ki(this.options.enable,[this,A]))return this.reset(),void(this.state=no);56&this.state&&(this.state=1),this.state=this.process(A),30&this.state&&this.tryEmit(A)},A.process=function(g){},A.getTouchAction=function(){},A.reset=function(){},g}(),lo=function(g){function A(A){var t;return void 0===A&&(A={}),(t=g.call(this,HI({event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},A))||this).pTime=!1,t.pCenter=!1,t._timer=null,t._input=null,t.count=0,t}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){return[ri]},t.process=function(g){var A=this,t=this.options,e=g.pointers.length===t.pointers,C=g.distance<t.threshold,I=g.deltaTime<t.time;if(this.reset(),1&g.eventType&&0===this.count)return this.failTimeout();if(C&&I&&e){if(4!==g.eventType)return this.failTimeout();var i=!this.pTime||g.timeStamp-this.pTime<t.interval,o=!this.pCenter||Ni(this.pCenter,g.center)<t.posThreshold;if(this.pTime=g.timeStamp,this.pCenter=g.center,o&&i?this.count+=1:this.count=1,this._input=g,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=setTimeout((function(){A.state=8,A.tryEmit()}),t.interval),2):8}return no},t.failTimeout=function(){var g=this;return this._timer=setTimeout((function(){g.state=no}),this.options.interval),no},t.reset=function(){clearTimeout(this._timer)},t.emit=function(){8===this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))},A}(ho),co=function(g){function A(A){return void 0===A&&(A={}),g.call(this,HI({pointers:1},A))||this}KI(A,g);var t=A.prototype;return t.attrTest=function(g){var A=this.options.pointers;return 0===A||g.pointers.length===A},t.process=function(g){var A=this.state,t=g.eventType,e=6&A,C=this.attrTest(g);return e&&(8&t||!C)?16|A:e||C?4&t?8|A:2&A?4|A:2:no},A}(ho);function uo(g){return g===vi?"down":8===g?"up":2===g?"left":4===g?"right":""}var po=function(g){function A(A){var t;return void 0===A&&(A={}),(t=g.call(this,HI({event:"pan",threshold:10,pointers:1,direction:30},A))||this).pX=null,t.pY=null,t}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){var g=this.options.direction,A=[];return 6&g&&A.push(di),g&yi&&A.push(ai),A},t.directionTest=function(g){var A=this.options,t=!0,e=g.distance,C=g.direction,I=g.deltaX,i=g.deltaY;return C&A.direction||(6&A.direction?(C=0===I?1:I<0?2:4,t=I!==this.pX,e=Math.abs(g.deltaX)):(C=0===i?1:i<0?8:vi,t=i!==this.pY,e=Math.abs(g.deltaY))),g.direction=C,t&&e>A.threshold&&C&A.direction},t.attrTest=function(g){return co.prototype.attrTest.call(this,g)&&(2&this.state||!(2&this.state)&&this.directionTest(g))},t.emit=function(A){this.pX=A.deltaX,this.pY=A.deltaY;var t=uo(A.direction);t&&(A.additionalEvent=this.options.event+t),g.prototype.emit.call(this,A)},A}(co),fo=function(g){function A(A){return void 0===A&&(A={}),g.call(this,HI({event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},A))||this}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){return po.prototype.getTouchAction.call(this)},t.attrTest=function(A){var t,e=this.options.direction;return 30&e?t=A.overallVelocity:6&e?t=A.overallVelocityX:e&yi&&(t=A.overallVelocityY),g.prototype.attrTest.call(this,A)&&e&A.offsetDirection&&A.distance>this.options.threshold&&A.maxPointers===this.options.pointers&&ti(t)>this.options.velocity&&4&A.eventType},t.emit=function(g){var A=uo(g.offsetDirection);A&&this.manager.emit(this.options.event+A,g),this.manager.emit(this.options.event,g)},A}(co),vo=function(g){function A(A){return void 0===A&&(A={}),g.call(this,HI({event:"pinch",threshold:0,pointers:2},A))||this}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){return[si]},t.attrTest=function(A){return g.prototype.attrTest.call(this,A)&&(Math.abs(A.scale-1)>this.options.threshold||2&this.state)},t.emit=function(A){if(1!==A.scale){var t=A.scale<1?"in":"out";A.additionalEvent=this.options.event+t}g.prototype.emit.call(this,A)},A}(co),yo=function(g){function A(A){return void 0===A&&(A={}),g.call(this,HI({event:"rotate",threshold:0,pointers:2},A))||this}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){return[si]},t.attrTest=function(A){return g.prototype.attrTest.call(this,A)&&(Math.abs(A.rotation)>this.options.threshold||2&this.state)},A}(co),mo=function(g){function A(A){var t;return void 0===A&&(A={}),(t=g.call(this,HI({event:"press",pointers:1,time:251,threshold:9},A))||this)._timer=null,t._input=null,t}KI(A,g);var t=A.prototype;return t.getTouchAction=function(){return[ni]},t.process=function(g){var A=this,t=this.options,e=g.pointers.length===t.pointers,C=g.distance<t.threshold,I=g.deltaTime>t.time;if(this._input=g,!C||!e||12&g.eventType&&!I)this.reset();else if(1&g.eventType)this.reset(),this._timer=setTimeout((function(){A.state=8,A.tryEmit()}),t.time);else if(4&g.eventType)return 8;return no},t.reset=function(){clearTimeout(this._timer)},t.emit=function(g){8===this.state&&(g&&4&g.eventType?this.manager.emit(this.options.event+"up",g):(this._input.timeStamp=ei(),this.manager.emit(this.options.event,this._input)))},A}(ho),bo={domEvents:!1,touchAction:oi,enable:!0,inputTarget:null,inputClass:null,cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},wo=[[yo,{enable:!1}],[vo,{enable:!1},["rotate"]],[fo,{direction:6}],[po,{direction:6},["swipe"]],[lo],[lo,{event:"doubletap",taps:2},["tap"]],[mo]];function ko(g,A){var t,e=g.element;e.style&&(wi(g.options.cssProps,(function(C,I){t=Ci(e.style,I),A?(g.oldCssProps[t]=e.style[t],e.style[t]=C):e.style[t]=g.oldCssProps[t]||""})),A||(g.oldCssProps={}))}var xo=function(){function g(g,A){var t,e=this;this.options=qI({},bo,A||{}),this.options.inputTarget=this.options.inputTarget||g,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=g,this.input=new((t=this).options.inputClass||(ci?Ui:ui?Ji:li?io:to))(t,zi),this.touchAction=new Ei(this,this.options.touchAction),ko(this,!0),wi(this.options.recognizers,(function(g){var A=e.add(new g[0](g[1]));g[2]&&A.recognizeWith(g[2]),g[3]&&A.requireFailure(g[3])}),this)}var A=g.prototype;return A.set=function(g){return qI(this.options,g),g.touchAction&&this.touchAction.update(),g.inputTarget&&(this.input.destroy(),this.input.target=g.inputTarget,this.input.init()),this},A.stop=function(g){this.session.stopped=g?2:1},A.recognize=function(g){var A=this.session;if(!A.stopped){var t;this.touchAction.preventDefaults(g);var e=this.recognizers,C=A.curRecognizer;(!C||C&&8&C.state)&&(A.curRecognizer=null,C=null);for(var I=0;I<e.length;)t=e[I],2===A.stopped||C&&t!==C&&!t.canRecognizeWith(C)?t.reset():t.recognize(g),!C&&14&t.state&&(A.curRecognizer=t,C=t),I++}},A.get=function(g){if(g instanceof ho)return g;for(var A=this.recognizers,t=0;t<A.length;t++)if(A[t].options.event===g)return A[t];return null},A.add=function(g){if(oo(g,"add",this))return this;var A=this.get(g.options.event);return A&&this.remove(A),this.recognizers.push(g),g.manager=this,this.touchAction.update(),g},A.remove=function(g){if(oo(g,"remove",this))return this;var A=this.get(g);if(g){var t=this.recognizers,e=ji(t,A);-1!==e&&(t.splice(e,1),this.touchAction.update())}return this},A.on=function(g,A){if(void 0===g||void 0===A)return this;var t=this.handlers;return wi(Zi(g),(function(g){t[g]=t[g]||[],t[g].push(A)})),this},A.off=function(g,A){if(void 0===g)return this;var t=this.handlers;return wi(Zi(g),(function(g){A?t[g]&&t[g].splice(ji(t[g],A),1):delete t[g]})),this},A.emit=function(g,A){this.options.domEvents&&function(g,A){var t=document.createEvent("Event");t.initEvent(g,!0,!0),t.gesture=A,A.target.dispatchEvent(t)}(g,A);var t=this.handlers[g]&&this.handlers[g].slice();if(t&&t.length){A.type=g,A.preventDefault=function(){A.srcEvent.preventDefault()};for(var e=0;e<t.length;)t[e](A),e++}},A.destroy=function(){this.element&&ko(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null},g}(),Eo={touchstart:1,touchmove:2,touchend:4,touchcancel:8},Oo="touchstart",To="touchstart touchmove touchend touchcancel",Do=function(g){function A(){var t,e=A.prototype;return e.evTarget=Oo,e.evWin=To,(t=g.apply(this,arguments)||this).started=!1,t}return KI(A,g),A.prototype.handler=function(g){var A=Eo[g.type];if(1===A&&(this.started=!0),this.started){var t=No.call(this,g,A);12&A&&t[0].length-t[1].length==0&&(this.started=!1),this.callback(this.manager,A,{pointers:t[0],changedPointers:t[1],pointerType:pi,srcEvent:g})}},A}(Li);function No(g,A){var t=_i(g.touches),e=_i(g.changedTouches);return 12&A&&(t=Hi(t.concat(e),"identifier",!0)),[t,e]}function Ro(g,A,t){var e="DEPRECATED METHOD: "+A+"\n"+t+" AT \n";return function(){var A=new Error("get-stack-trace"),t=A&&A.stack?A.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",C=window.console&&(window.console.warn||window.console.log);return C&&C.call(window.console,e,t),g.apply(this,arguments)}}var Po=Ro((function(g,A,t){for(var e=Object.keys(A),C=0;C<e.length;)(!t||t&&void 0===g[e[C]])&&(g[e[C]]=A[e[C]]),C++;return g}),"extend","Use `assign`."),Mo=Ro((function(g,A){return Po(g,A,!0)}),"merge","Use `assign`.");function Bo(g,A,t){var e,C=A.prototype;(e=g.prototype=Object.create(C)).constructor=g,e._super=C,t&&qI(e,t)}function zo(g,A){return function(){return g.apply(A,arguments)}}var Zo=function(){var g=function(g,A){return void 0===A&&(A={}),new xo(g,HI({recognizers:wo.concat()},A))};return g.VERSION="2.0.17-rc",g.DIRECTION_ALL=30,g.DIRECTION_DOWN=vi,g.DIRECTION_LEFT=2,g.DIRECTION_RIGHT=4,g.DIRECTION_UP=8,g.DIRECTION_HORIZONTAL=6,g.DIRECTION_VERTICAL=yi,g.DIRECTION_NONE=1,g.DIRECTION_DOWN=vi,g.INPUT_START=1,g.INPUT_MOVE=2,g.INPUT_END=4,g.INPUT_CANCEL=8,g.STATE_POSSIBLE=1,g.STATE_BEGAN=2,g.STATE_CHANGED=4,g.STATE_ENDED=8,g.STATE_RECOGNIZED=8,g.STATE_CANCELLED=16,g.STATE_FAILED=no,g.Manager=xo,g.Input=Li,g.TouchAction=Ei,g.TouchInput=Ji,g.MouseInput=to,g.PointerEventInput=Ui,g.TouchMouseInput=io,g.SingleTouchInput=Do,g.Recognizer=ho,g.AttrRecognizer=co,g.Tap=lo,g.Pan=po,g.Swipe=fo,g.Pinch=vo,g.Rotate=yo,g.Press=mo,g.on=Si,g.off=Fi,g.each=wi,g.merge=Mo,g.extend=Po,g.bindFn=zo,g.assign=qI,g.inherit=Bo,g.bindFn=zo,g.prefixed=Ci,g.toArray=_i,g.inArray=ji,g.uniqueArray=Hi,g.splitStr=Zi,g.boolOrFn=ki,g.hasParent=Oi,g.addEventListeners=Si,g.removeEventListeners=Fi,g.defaults=qI({},bo,{preset:wo}),g}();function So(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return Fo(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Fo(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function Fo(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}var Go=sC("DELETE");function Lo(){var g=jo.apply(void 0,arguments);return Yo(g),g}function jo(){for(var g=arguments.length,A=new Array(g),t=0;t<g;t++)A[t]=arguments[t];if(A.length<2)return A[0];var e;if(A.length>2)return jo.apply(void 0,hC(e=[Lo(A[0],A[1])]).call(e,rC(lC(A).call(A,2))));var C,I=A[0],i=A[1],o=So(cC(i));try{for(o.s();!(C=o.n()).done;){var n=C.value;Object.prototype.propertyIsEnumerable.call(i,n)&&(i[n]===Go?delete I[n]:null===I[n]||null===i[n]||"object"!==nC(I[n])||"object"!==nC(i[n])||uC(I[n])||uC(i[n])?I[n]=Vo(i[n]):I[n]=jo(I[n],i[n]))}}catch(g){o.e(g)}finally{o.f()}return I}function Vo(g){return uC(g)?mC(g).call(g,(function(g){return Vo(g)})):"object"===nC(g)&&null!==g?jo({},g):g}function Yo(g){for(var A=0,t=wC(g);A<t.length;A++){var e=t[A];g[e]===Go?delete g[e]:"object"===nC(g[e])&&null!==g[e]&&Yo(g[e])}}function Wo(){for(var g=arguments.length,A=new Array(g),t=0;t<g;t++)A[t]=arguments[t];return Qo(A.length?A:[kC()])}function Qo(g){var A=IC(function(){for(var g=Uo(),A=g(" "),t=g(" "),e=g(" "),C=0;C<arguments.length;C++)(A-=g(C<0||arguments.length<=C?void 0:arguments[C]))<0&&(A+=1),(t-=g(C<0||arguments.length<=C?void 0:arguments[C]))<0&&(t+=1),(e-=g(C<0||arguments.length<=C?void 0:arguments[C]))<0&&(e+=1);return[A,t,e]}(g),3),t=A[0],e=A[1],C=A[2],I=1,i=function(){var g=2091639*t+2.3283064365386963e-10*I;return t=e,e=C,C=g-(I=0|g)};return i.uint32=function(){return 4294967296*i()},i.fract53=function(){return i()+11102230246251565e-32*(2097152*i()|0)},i.algorithm="Alea",i.seed=g,i.version="0.9",i}function Uo(){var g=4022871197;return function(A){for(var t=A.toString(),e=0;e<t.length;e++){var C=.02519603282416938*(g+=t.charCodeAt(e));C-=g=C>>>0,g=(C*=g)>>>0,g+=4294967296*(C-=g)}return 2.3283064365386963e-10*(g>>>0)}}var _o="undefined"!=typeof window?window.Hammer||Zo:function(){return{on:g=function(){},off:g,destroy:g,emit:g,get:function(){return{set:g}}};var g};function Ho(g){var A,t=this;this._cleanupQueue=[],this.active=!1,this._dom={container:g,overlay:document.createElement("div")},this._dom.overlay.classList.add("vis-overlay"),this._dom.container.appendChild(this._dom.overlay),this._cleanupQueue.push((function(){t._dom.overlay.parentNode.removeChild(t._dom.overlay)}));var e=_o(this._dom.overlay);e.on("tap",fg(A=this._onTapOverlay).call(A,this)),this._cleanupQueue.push((function(){e.destroy()}));var C=["tap","doubletap","press","pinch","pan","panstart","panmove","panend"];RC(C).call(C,(function(g){e.on(g,(function(g){g.srcEvent.stopPropagation()}))})),document&&document.body&&(this._onClick=function(A){(function(g,A){for(;g;){if(g===A)return!0;g=g.parentNode}return!1})(A.target,g)||t.deactivate()},document.body.addEventListener("click",this._onClick),this._cleanupQueue.push((function(){document.body.removeEventListener("click",t._onClick)}))),this._escListener=function(g){("key"in g?"Escape"===g.key:27===g.keyCode)&&t.deactivate()}}Eg(Ho.prototype),Ho.current=null,Ho.prototype.destroy=function(){var g,A;this.deactivate();var t,e=So(ZC(g=WC(A=this._cleanupQueue).call(A,0)).call(g));try{for(e.s();!(t=e.n()).done;){(0,t.value)()}}catch(g){e.e(g)}finally{e.f()}},Ho.prototype.activate=function(){Ho.current&&Ho.current.deactivate(),Ho.current=this,this.active=!0,this._dom.overlay.style.display="none",this._dom.container.classList.add("vis-active"),this.emit("change"),this.emit("activate"),document.body.addEventListener("keydown",this._escListener)},Ho.prototype.deactivate=function(){this.active=!1,this._dom.overlay.style.display="block",this._dom.container.classList.remove("vis-active"),document.body.removeEventListener("keydown",this._escListener),this.emit("change"),this.emit("deactivate")},Ho.prototype._onTapOverlay=function(g){this.activate(),g.srcEvent.stopPropagation()};var Ko=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Xo=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Jo=/^rgb\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *\)$/i,qo=/^rgba\( *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *(1?\d{1,2}|2[0-4]\d|25[0-5]) *, *([01]|0?\.\d+) *\)$/i;function $o(g){if(g)for(;!0===g.hasChildNodes();){var A=g.firstChild;A&&($o(A),g.removeChild(A))}}function gn(g){return g instanceof String||"string"==typeof g}function An(g){return"object"===nC(g)&&null!==g}function tn(g,A,t,e){var C=!1;!0===e&&(C=null===A[t]&&void 0!==g[t]),C?delete g[t]:g[t]=A[t]}function en(g,A){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var e in g)if(void 0!==A[e])if(null===A[e]||"object"!==nC(A[e]))tn(g,A,e,t);else{var C=g[e],I=A[e];An(C)&&An(I)&&en(C,I,t)}}function Cn(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(uC(t))throw new TypeError("Arrays are not supported by deepExtend");for(var C=0;C<g.length;C++){var I=g[C];if(Object.prototype.hasOwnProperty.call(t,I))if(t[I]&&t[I].constructor===Object)void 0===A[I]&&(A[I]={}),A[I].constructor===Object?on(A[I],t[I],!1,e):tn(A,t,I,e);else{if(uC(t[I]))throw new TypeError("Arrays are not supported by deepExtend");tn(A,t,I,e)}}return A}function In(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(uC(t))throw new TypeError("Arrays are not supported by deepExtend");for(var C in t)if(Object.prototype.hasOwnProperty.call(t,C)&&!$C(g).call(g,C))if(t[C]&&t[C].constructor===Object)void 0===A[C]&&(A[C]={}),A[C].constructor===Object?on(A[C],t[C]):tn(A,t,C,e);else if(uC(t[C])){A[C]=[];for(var I=0;I<t[C].length;I++)A[C].push(t[C][I])}else tn(A,t,C,e);return A}function on(g,A){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var C in A)if(Object.prototype.hasOwnProperty.call(A,C)||!0===t)if("object"===nC(A[C])&&null!==A[C]&&tI(A[C])===Object.prototype)void 0===g[C]?g[C]=on({},A[C],t):"object"===nC(g[C])&&null!==g[C]&&tI(g[C])===Object.prototype?on(g[C],A[C],t):tn(g,A,C,e);else if(uC(A[C])){var I;g[C]=lC(I=A[C]).call(I)}else tn(g,A,C,e);return g}function nn(g,A){var t;return hC(t=[]).call(t,rC(g),[A])}function rn(g){return lC(g).call(g)}function sn(g){return g.getBoundingClientRect().top}function an(g,A){if(uC(g))for(var t=g.length,e=0;e<t;e++)A(g[e],e,g);else for(var C in g)Object.prototype.hasOwnProperty.call(g,C)&&A(g[C],C,g)}function dn(g){var A;switch(g.length){case 3:case 4:return(A=Xo.exec(g))?{r:mI(A[1]+A[1],16),g:mI(A[2]+A[2],16),b:mI(A[3]+A[3],16)}:null;case 6:case 7:return(A=Ko.exec(g))?{r:mI(A[1],16),g:mI(A[2],16),b:mI(A[3],16)}:null;default:return null}}function hn(g,A){if($C(g).call(g,"rgba"))return g;if($C(g).call(g,"rgb")){var t=g.substr(DI(g).call(g,"(")+1).replace(")","").split(",");return"rgba("+t[0]+","+t[1]+","+t[2]+","+A+")"}var e=dn(g);return null==e?g:"rgba("+e.r+","+e.g+","+e.b+","+A+")"}function ln(g,A,t){var e;return"#"+lC(e=((1<<24)+(g<<16)+(A<<8)+t).toString(16)).call(e,1)}function cn(g,A){if(gn(g)){var t=g;if(yn(t)){var e,C=mC(e=t.substr(4).substr(0,t.length-5).split(",")).call(e,(function(g){return mI(g)}));t=ln(C[0],C[1],C[2])}if(!0===vn(t)){var I=function(g){var A=dn(g);if(!A)throw new TypeError("'".concat(g,"' is not a valid color."));return un(A.r,A.g,A.b)}(t),i={h:I.h,s:.8*I.s,v:Math.min(1,1.02*I.v)},o={h:I.h,s:Math.min(1,1.25*I.s),v:.8*I.v},n=fn(o.h,o.s,o.v),r=fn(i.h,i.s,i.v);return{background:t,border:n,highlight:{background:r,border:n},hover:{background:r,border:n}}}return{background:t,border:t,highlight:{background:t,border:t},hover:{background:t,border:t}}}return A?{background:g.background||A.background,border:g.border||A.border,highlight:gn(g.highlight)?{border:g.highlight,background:g.highlight}:{background:g.highlight&&g.highlight.background||A.highlight.background,border:g.highlight&&g.highlight.border||A.highlight.border},hover:gn(g.hover)?{border:g.hover,background:g.hover}:{border:g.hover&&g.hover.border||A.hover.border,background:g.hover&&g.hover.background||A.hover.background}}:{background:g.background||void 0,border:g.border||void 0,highlight:gn(g.highlight)?{border:g.highlight,background:g.highlight}:{background:g.highlight&&g.highlight.background||void 0,border:g.highlight&&g.highlight.border||void 0},hover:gn(g.hover)?{border:g.hover,background:g.hover}:{border:g.hover&&g.hover.border||void 0,background:g.hover&&g.hover.background||void 0}}}function un(g,A,t){g/=255,A/=255,t/=255;var e=Math.min(g,Math.min(A,t)),C=Math.max(g,Math.max(A,t));return e===C?{h:0,s:0,v:e}:{h:60*((g===e?3:t===e?1:5)-(g===e?A-t:t===e?g-A:t-g)/(C-e))/360,s:(C-e)/C,v:C}}function pn(g,A,t){var e,C,I,i=Math.floor(6*g),o=6*g-i,n=t*(1-A),r=t*(1-o*A),s=t*(1-(1-o)*A);switch(i%6){case 0:e=t,C=s,I=n;break;case 1:e=r,C=t,I=n;break;case 2:e=n,C=t,I=s;break;case 3:e=n,C=r,I=t;break;case 4:e=s,C=n,I=t;break;case 5:e=t,C=n,I=r}return{r:Math.floor(255*e),g:Math.floor(255*C),b:Math.floor(255*I)}}function fn(g,A,t){var e=pn(g,A,t);return ln(e.r,e.g,e.b)}function vn(g){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(g)}function yn(g){return Jo.test(g)}function mn(g){return qo.test(g)}function bn(g){if(null===g||"object"!==nC(g))return null;if(g instanceof Element)return g;var A=MI(g);for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&"object"==nC(g[t])&&(A[t]=bn(g[t]));return A}function wn(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},C=function(g){return null!=g},I=function(g){return null!==g&&"object"===nC(g)},i=function(g){for(var A in g)if(Object.prototype.hasOwnProperty.call(g,A))return!1;return!0};if(!I(g))throw new Error("Parameter mergeTarget must be an object");if(!I(A))throw new Error("Parameter options must be an object");if(!C(t))throw new Error("Parameter option must have a value");if(!I(e))throw new Error("Parameter globalOptions must be an object");var o=function(g,A,t){I(g[t])||(g[t]={});var e=A[t],C=g[t];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(C[i]=e[i])},n=A[t],r=I(e)&&!i(e),s=r?e[t]:void 0,a=s?s.enabled:void 0;if(void 0!==n){if("boolean"==typeof n)return I(g[t])||(g[t]={}),void(g[t].enabled=n);if(null===n&&!I(g[t])){if(!C(s))return;g[t]=MI(s)}if(I(n)){var d=!0;void 0!==n.enabled?d=n.enabled:void 0!==a&&(d=s.enabled),o(g,A,t),g[t].enabled=d}}}var kn={linear:function(g){return g},easeInQuad:function(g){return g*g},easeOutQuad:function(g){return g*(2-g)},easeInOutQuad:function(g){return g<.5?2*g*g:(4-2*g)*g-1},easeInCubic:function(g){return g*g*g},easeOutCubic:function(g){return--g*g*g+1},easeInOutCubic:function(g){return g<.5?4*g*g*g:(g-1)*(2*g-2)*(2*g-2)+1},easeInQuart:function(g){return g*g*g*g},easeOutQuart:function(g){return 1- --g*g*g*g},easeInOutQuart:function(g){return g<.5?8*g*g*g*g:1-8*--g*g*g*g},easeInQuint:function(g){return g*g*g*g*g},easeOutQuint:function(g){return 1+--g*g*g*g*g},easeInOutQuint:function(g){return g<.5?16*g*g*g*g*g:1+16*--g*g*g*g*g}};function xn(g,A){var t;uC(A)||(A=[A]);var e,C=So(g);try{for(C.s();!(e=C.n()).done;){var I=e.value;if(I){t=I[A[0]];for(var i=1;i<A.length;i++)t&&(t=t[A[i]]);if(void 0!==t)break}}}catch(g){C.e(g)}finally{C.f()}return t}var En={black:"#000000",navy:"#000080",darkblue:"#00008B",mediumblue:"#0000CD",blue:"#0000FF",darkgreen:"#006400",green:"#008000",teal:"#008080",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",lime:"#00FF00",springgreen:"#00FF7F",aqua:"#00FFFF",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",mediumaquamarine:"#66CDAA",dimgray:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",lightslategray:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",maroon:"#800000",purple:"#800080",olive:"#808000",gray:"#808080",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370D8",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",silver:"#C0C0C0",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgrey:"#D3D3D3",palevioletred:"#D87093",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",red:"#FF0000",fuchsia:"#FF00FF",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",yellow:"#FFFF00",lightyellow:"#FFFFE0",ivory:"#FFFFF0",white:"#FFFFFF"},On=function(){function g(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;De(this,g),this.pixelRatio=A,this.generated=!1,this.centerCoordinates={x:144.5,y:144.5},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=function(){},this.closeCallback=function(){},this._create()}return Pe(g,[{key:"insertTo",value:function(g){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=g,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}},{key:"setUpdateCallback",value:function(g){if("function"!=typeof g)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=g}},{key:"setCloseCallback",value:function(g){if("function"!=typeof g)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=g}},{key:"_isColorString",value:function(g){if("string"==typeof g)return En[g]}},{key:"setColor",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("none"!==g){var t,e=this._isColorString(g);if(void 0!==e&&(g=e),!0===gn(g)){if(!0===yn(g)){var C=g.substr(4).substr(0,g.length-5).split(",");t={r:C[0],g:C[1],b:C[2],a:1}}else if(!0===mn(g)){var I=g.substr(5).substr(0,g.length-6).split(",");t={r:I[0],g:I[1],b:I[2],a:I[3]}}else if(!0===vn(g)){var i=dn(g);t={r:i.r,g:i.g,b:i.b,a:1}}}else if(g instanceof Object&&void 0!==g.r&&void 0!==g.g&&void 0!==g.b){var o=void 0!==g.a?g.a:"1.0";t={r:g.r,g:g.g,b:g.b,a:o}}if(void 0===t)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+LI(g));this._setColor(t,A)}}},{key:"show",value:function(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}},{key:"_hide",value:function(){var g=this,A=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!0===A&&(this.previousColor=sg({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",WI((function(){void 0!==g.closeCallback&&(g.closeCallback(),g.closeCallback=void 0)}),0)}},{key:"_save",value:function(){this.updateCallback(this.color),this.applied=!1,this._hide()}},{key:"_apply",value:function(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}},{key:"_loadLast",value:function(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}},{key:"_setColor",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!0===A&&(this.initialColor=sg({},g)),this.color=g;var t=un(g.r,g.g,g.b),e=2*Math.PI,C=this.r*t.s,I=this.centerCoordinates.x+C*Math.sin(e*t.h),i=this.centerCoordinates.y+C*Math.cos(e*t.h);this.colorPickerSelector.style.left=I-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=i-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(g)}},{key:"_setOpacity",value:function(g){this.color.a=g/100,this._updatePicker(this.color)}},{key:"_setBrightness",value:function(g){var A=un(this.color.r,this.color.g,this.color.b);A.v=g/100;var t=pn(A.h,A.s,A.v);t.a=this.color.a,this.color=t,this._updatePicker()}},{key:"_updatePicker",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.color,A=un(g.r,g.g,g.b),t=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)),t.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var e=this.colorPickerCanvas.clientWidth,C=this.colorPickerCanvas.clientHeight;t.clearRect(0,0,e,C),t.putImageData(this.hueCircle,0,0),t.fillStyle="rgba(0,0,0,"+(1-A.v)+")",t.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),_I(t).call(t),this.brightnessRange.value=100*A.v,this.opacityRange.value=100*g.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}},{key:"_setSize",value:function(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}},{key:"_create",value:function(){var g,A,t,e;if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){var C=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(C.webkitBackingStorePixelRatio||C.mozBackingStorePixelRatio||C.msBackingStorePixelRatio||C.oBackingStorePixelRatio||C.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{var I=document.createElement("DIV");I.style.color="red",I.style.fontWeight="bold",I.style.padding="10px",I.innerText="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(I)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(g){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(g){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var i=this;this.opacityRange.onchange=function(){i._setOpacity(this.value)},this.opacityRange.oninput=function(){i._setOpacity(this.value)},this.brightnessRange.onchange=function(){i._setBrightness(this.value)},this.brightnessRange.oninput=function(){i._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerText="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerText="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerText="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerText="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerText="cancel",this.cancelButton.onclick=fg(g=this._hide).call(g,this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerText="apply",this.applyButton.onclick=fg(A=this._apply).call(A,this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerText="save",this.saveButton.onclick=fg(t=this._save).call(t,this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerText="load last",this.loadButton.onclick=fg(e=this._loadLast).call(e,this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}},{key:"_bindHammer",value:function(){var g=this;this.drag={},this.pinch={},this.hammer=new _o(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.on("hammer.input",(function(A){A.isFirst&&g._moveSelector(A)})),this.hammer.on("tap",(function(A){g._moveSelector(A)})),this.hammer.on("panstart",(function(A){g._moveSelector(A)})),this.hammer.on("panmove",(function(A){g._moveSelector(A)})),this.hammer.on("panend",(function(A){g._moveSelector(A)}))}},{key:"_generateHueCircle",value:function(){if(!1===this.generated){var g=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(g.webkitBackingStorePixelRatio||g.mozBackingStorePixelRatio||g.msBackingStorePixelRatio||g.oBackingStorePixelRatio||g.backingStorePixelRatio||1)),g.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var A,t,e,C,I=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;g.clearRect(0,0,I,i),this.centerCoordinates={x:.5*I,y:.5*i},this.r=.49*I;var o,n=2*Math.PI/360,r=1/this.r;for(e=0;e<360;e++)for(C=0;C<this.r;C++)A=this.centerCoordinates.x+C*Math.sin(n*e),t=this.centerCoordinates.y+C*Math.cos(n*e),o=pn(.002777777777777778*e,C*r,1),g.fillStyle="rgb("+o.r+","+o.g+","+o.b+")",g.fillRect(A-.5,t-.5,2,2);g.strokeStyle="rgba(0,0,0,1)",g.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),g.stroke(),this.hueCircle=g.getImageData(0,0,I,i)}this.generated=!0}},{key:"_moveSelector",value:function(g){var A=this.colorPickerDiv.getBoundingClientRect(),t=g.center.x-A.left,e=g.center.y-A.top,C=.5*this.colorPickerDiv.clientHeight,I=.5*this.colorPickerDiv.clientWidth,i=t-I,o=e-C,n=Math.atan2(i,o),r=.98*Math.min(Math.sqrt(i*i+o*o),I),s=Math.cos(n)*r+C,a=Math.sin(n)*r+I;this.colorPickerSelector.style.top=s-.5*this.colorPickerSelector.clientHeight+"px",this.colorPickerSelector.style.left=a-.5*this.colorPickerSelector.clientWidth+"px";var d=n/(2*Math.PI);d=d<0?d+1:d;var h=r/this.r,l=un(this.color.r,this.color.g,this.color.b);l.h=d,l.s=h;var c=pn(l.h,l.s,l.v);c.a=this.color.a,this.color=c,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}}]),g}();function Tn(){for(var g=arguments.length,A=new Array(g),t=0;t<g;t++)A[t]=arguments[t];if(A.length<1)throw new TypeError("Invalid arguments.");if(1===A.length)return document.createTextNode(A[0]);var e=document.createElement(A[0]);return e.appendChild(Tn.apply(void 0,rC(lC(A).call(A,1)))),e}var Dn,Nn=!1,Rn="background: #FFeeee; color: #dd0000",Pn=Ho,Mn=function(){function g(A,t,e){var C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,I=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return!1};De(this,g),this.parent=A,this.changedOptions=[],this.container=t,this.allowCreation=!1,this.hideOption=I,this.options={},this.initialized=!1,this.popupCounter=0,this.defaultOptions={enabled:!1,filter:!0,container:void 0,showButton:!0},sg(this.options,this.defaultOptions),this.configureOptions=e,this.moduleOptions={},this.domElements=[],this.popupDiv={},this.popupLimit=5,this.popupHistory={},this.colorPicker=new On(C),this.wrapper=void 0}return Pe(g,[{key:"setOptions",value:function(g){if(void 0!==g){this.popupHistory={},this._removePopup();var A=!0;if("string"==typeof g)this.options.filter=g;else if(uC(g))this.options.filter=g.join();else if("object"===nC(g)){if(null==g)throw new TypeError("options cannot be null");void 0!==g.container&&(this.options.container=g.container),void 0!==oI(g)&&(this.options.filter=oI(g)),void 0!==g.showButton&&(this.options.showButton=g.showButton),void 0!==g.enabled&&(A=g.enabled)}else"boolean"==typeof g?(this.options.filter=!0,A=g):"function"==typeof g&&(this.options.filter=g,A=!0);!1===oI(this.options)&&(A=!1),this.options.enabled=A}this._clean()}},{key:"setModuleOptions",value:function(g){this.moduleOptions=g,!0===this.options.enabled&&(this._clean(),void 0!==this.options.container&&(this.container=this.options.container),this._create())}},{key:"_create",value:function(){this._clean(),this.changedOptions=[];var g=oI(this.options),A=0,t=!1;for(var e in this.configureOptions)Object.prototype.hasOwnProperty.call(this.configureOptions,e)&&(this.allowCreation=!1,t=!1,"function"==typeof g?t=(t=g(e,[]))||this._handleObject(this.configureOptions[e],[e],!0):!0!==g&&-1===DI(g).call(g,e)||(t=!0),!1!==t&&(this.allowCreation=!0,A>0&&this._makeItem([]),this._makeHeader(e),this._handleObject(this.configureOptions[e],[e])),A++);this._makeButton(),this._push()}},{key:"_push",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var g=0;g<this.domElements.length;g++)this.wrapper.appendChild(this.domElements[g]);this._showPopupIfNeeded()}},{key:"_clean",value:function(){for(var g=0;g<this.domElements.length;g++)this.wrapper.removeChild(this.domElements[g]);void 0!==this.wrapper&&(this.container.removeChild(this.wrapper),this.wrapper=void 0),this.domElements=[],this._removePopup()}},{key:"_getValue",value:function(g){for(var A=this.moduleOptions,t=0;t<g.length;t++){if(void 0===A[g[t]]){A=void 0;break}A=A[g[t]]}return A}},{key:"_makeItem",value:function(g){if(!0===this.allowCreation){var A=document.createElement("div");A.className="vis-configuration vis-config-item vis-config-s"+g.length;for(var t=arguments.length,e=new Array(t>1?t-1:0),C=1;C<t;C++)e[C-1]=arguments[C];return RC(e).call(e,(function(g){A.appendChild(g)})),this.domElements.push(A),this.domElements.length}return 0}},{key:"_makeHeader",value:function(g){var A=document.createElement("div");A.className="vis-configuration vis-config-header",A.innerText=g,this._makeItem([],A)}},{key:"_makeLabel",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=document.createElement("div");if(e.className="vis-configuration vis-config-label vis-config-s"+A.length,!0===t){for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(Tn("i","b",g))}else e.innerText=g+":";return e}},{key:"_makeDropdown",value:function(g,A,t){var e=document.createElement("select");e.className="vis-configuration vis-config-select";var C=0;void 0!==A&&-1!==DI(g).call(g,A)&&(C=DI(g).call(g,A));for(var I=0;I<g.length;I++){var i=document.createElement("option");i.value=g[I],I===C&&(i.selected="selected"),i.innerText=g[I],e.appendChild(i)}var o=this;e.onchange=function(){o._update(this.value,t)};var n=this._makeLabel(t[t.length-1],t);this._makeItem(t,n,e)}},{key:"_makeRange",value:function(g,A,t){var e=g[0],C=g[1],I=g[2],i=g[3],o=document.createElement("input");o.className="vis-configuration vis-config-range";try{o.type="range",o.min=C,o.max=I}catch(g){}o.step=i;var n="",r=0;if(void 0!==A){var s=1.2;A<0&&A*s<C?(o.min=Math.ceil(A*s),r=o.min,n="range increased"):A/s<C&&(o.min=Math.ceil(A/s),r=o.min,n="range increased"),A*s>I&&1!==I&&(o.max=Math.ceil(A*s),r=o.max,n="range increased"),o.value=A}else o.value=e;var a=document.createElement("input");a.className="vis-configuration vis-config-rangeinput",a.value=o.value;var d=this;o.onchange=function(){a.value=this.value,d._update(Number(this.value),t)},o.oninput=function(){a.value=this.value};var h=this._makeLabel(t[t.length-1],t),l=this._makeItem(t,h,o,a);""!==n&&this.popupHistory[l]!==r&&(this.popupHistory[l]=r,this._setupPopup(n,l))}},{key:"_makeButton",value:function(){var g=this;if(!0===this.options.showButton){var A=document.createElement("div");A.className="vis-configuration vis-config-button",A.innerText="generate options",A.onclick=function(){g._printOptions()},A.onmouseover=function(){A.className="vis-configuration vis-config-button hover"},A.onmouseout=function(){A.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(A)}}},{key:"_setupPopup",value:function(g,A){var t=this;if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter<this.popupLimit){var e=document.createElement("div");e.id="vis-configuration-popup",e.className="vis-configuration-popup",e.innerText=g,e.onclick=function(){t._removePopup()},this.popupCounter+=1,this.popupDiv={html:e,index:A}}}},{key:"_removePopup",value:function(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}},{key:"_showPopupIfNeeded",value:function(){var g=this;if(void 0!==this.popupDiv.html){var A=this.domElements[this.popupDiv.index].getBoundingClientRect();this.popupDiv.html.style.left=A.left+"px",this.popupDiv.html.style.top=A.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=WI((function(){g.popupDiv.html.style.opacity=0}),1500),this.popupDiv.deleteTimeout=WI((function(){g._removePopup()}),1800)}}},{key:"_makeCheckbox",value:function(g,A,t){var e=document.createElement("input");e.type="checkbox",e.className="vis-configuration vis-config-checkbox",e.checked=g,void 0!==A&&(e.checked=A,A!==g&&("object"===nC(g)?A!==g.enabled&&this.changedOptions.push({path:t,value:A}):this.changedOptions.push({path:t,value:A})));var C=this;e.onchange=function(){C._update(this.checked,t)};var I=this._makeLabel(t[t.length-1],t);this._makeItem(t,I,e)}},{key:"_makeTextInput",value:function(g,A,t){var e=document.createElement("input");e.type="text",e.className="vis-configuration vis-config-text",e.value=A,A!==g&&this.changedOptions.push({path:t,value:A});var C=this;e.onchange=function(){C._update(this.value,t)};var I=this._makeLabel(t[t.length-1],t);this._makeItem(t,I,e)}},{key:"_makeColorField",value:function(g,A,t){var e=this,C=g[1],I=document.createElement("div");"none"!==(A=void 0===A?C:A)?(I.className="vis-configuration vis-config-colorBlock",I.style.backgroundColor=A):I.className="vis-configuration vis-config-colorBlock none",A=void 0===A?C:A,I.onclick=function(){e._showColorPicker(A,I,t)};var i=this._makeLabel(t[t.length-1],t);this._makeItem(t,i,I)}},{key:"_showColorPicker",value:function(g,A,t){var e=this;A.onclick=function(){},this.colorPicker.insertTo(A),this.colorPicker.show(),this.colorPicker.setColor(g),this.colorPicker.setUpdateCallback((function(g){var C="rgba("+g.r+","+g.g+","+g.b+","+g.a+")";A.style.backgroundColor=C,e._update(C,t)})),this.colorPicker.setCloseCallback((function(){A.onclick=function(){e._showColorPicker(g,A,t)}}))}},{key:"_handleObject",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=!1,C=oI(this.options),I=!1;for(var i in g)if(Object.prototype.hasOwnProperty.call(g,i)){e=!0;var o=g[i],n=nn(A,i);if("function"==typeof C&&!1===(e=C(i,A))&&!uC(o)&&"string"!=typeof o&&"boolean"!=typeof o&&o instanceof Object&&(this.allowCreation=!1,e=this._handleObject(o,n,!0),this.allowCreation=!1===t),!1!==e){I=!0;var r=this._getValue(n);if(uC(o))this._handleArray(o,r,n);else if("string"==typeof o)this._makeTextInput(o,r,n);else if("boolean"==typeof o)this._makeCheckbox(o,r,n);else if(o instanceof Object){if(!this.hideOption(A,i,this.moduleOptions))if(void 0!==o.enabled){var s=nn(n,"enabled"),a=this._getValue(s);if(!0===a){var d=this._makeLabel(i,n,!0);this._makeItem(n,d),I=this._handleObject(o,n)||I}else this._makeCheckbox(o,a,n)}else{var h=this._makeLabel(i,n,!0);this._makeItem(n,h),I=this._handleObject(o,n)||I}}else console.error("dont know how to handle",o,i,n)}}return I}},{key:"_handleArray",value:function(g,A,t){"string"==typeof g[0]&&"color"===g[0]?(this._makeColorField(g,A,t),g[1]!==A&&this.changedOptions.push({path:t,value:A})):"string"==typeof g[0]?(this._makeDropdown(g,A,t),g[0]!==A&&this.changedOptions.push({path:t,value:A})):"number"==typeof g[0]&&(this._makeRange(g,A,t),g[0]!==A&&this.changedOptions.push({path:t,value:Number(A)}))}},{key:"_update",value:function(g,A){var t=this._constructOptions(g,A);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",t),this.initialized=!0,this.parent.setOptions(t)}},{key:"_constructOptions",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=t;g="false"!==(g="true"===g||g)&&g;for(var C=0;C<A.length;C++)"global"!==A[C]&&(void 0===e[A[C]]&&(e[A[C]]={}),C!==A.length-1?e=e[A[C]]:e[A[C]]=g);return t}},{key:"_printOptions",value:function(){for(var g=this.getOptions();this.optionsContainer.firstChild;)this.optionsContainer.removeChild(this.optionsContainer.firstChild);this.optionsContainer.appendChild(Tn("pre","const options = "+LI(g,null,2)))}},{key:"getOptions",value:function(){for(var g={},A=0;A<this.changedOptions.length;A++)this._constructOptions(this.changedOptions[A].value,this.changedOptions[A].path,g);return g}}]),g}(),Bn=_o,zn=function(){function g(A,t){De(this,g),this.container=A,this.overflowMethod=t||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}return Pe(g,[{key:"setPosition",value:function(g,A){this.x=mI(g),this.y=mI(A)}},{key:"setText",value:function(g){if(g instanceof Element){for(;this.frame.firstChild;)this.frame.removeChild(this.frame.firstChild);this.frame.appendChild(g)}else this.frame.innerText=g}},{key:"show",value:function(g){if(void 0===g&&(g=!0),!0===g){var A=this.frame.clientHeight,t=this.frame.clientWidth,e=this.frame.parentNode.clientHeight,C=this.frame.parentNode.clientWidth,I=0,i=0;if("flip"==this.overflowMethod){var o=!1,n=!0;this.y-A<this.padding&&(n=!1),this.x+t>C-this.padding&&(o=!0),I=o?this.x-t:this.x,i=n?this.y-A:this.y}else(i=this.y-A)+A+this.padding>e&&(i=e-A-this.padding),i<this.padding&&(i=this.padding),(I=this.x)+t+this.padding>C&&(I=C-t-this.padding),I<this.padding&&(I=this.padding);this.frame.style.left=I+"px",this.frame.style.top=i+"px",this.frame.style.visibility="visible",this.hidden=!1}else this.hide()}},{key:"hide",value:function(){this.hidden=!0,this.frame.style.left="0",this.frame.style.top="0",this.frame.style.visibility="hidden"}},{key:"destroy",value:function(){this.frame.parentNode.removeChild(this.frame)}}]),g}(),Zn=Rn,Sn=function(){function g(){De(this,g)}return Pe(g,null,[{key:"validate",value:function(A,t,e){Nn=!1,Dn=t;var C=t;return void 0!==e&&(C=t[e]),g.parse(A,C,[]),Nn}},{key:"parse",value:function(A,t,e){for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&g.check(C,A,t,e)}},{key:"check",value:function(A,t,e,C){if(void 0!==e[A]||void 0!==e.__any__){var I=A,i=!0;void 0===e[A]&&void 0!==e.__any__&&(I="__any__",i="object"===g.getType(t[A]));var o=e[I];i&&void 0!==o.__type__&&(o=o.__type__),g.checkFields(A,t,e,I,o,C)}else g.getSuggestion(A,e,C)}},{key:"checkFields",value:function(A,t,e,C,I,i){var o=function(t){console.error("%c"+t+g.printLocation(i,A),Rn)},n=g.getType(t[A]),r=I[n];void 0!==r?"array"===g.getType(r)&&-1===DI(r).call(r,t[A])?(o('Invalid option detected in "'+A+'". Allowed values are:'+g.print(r)+' not "'+t[A]+'". '),Nn=!0):"object"===n&&"__any__"!==C&&(i=nn(i,A),g.parse(t[A],e[C],i)):void 0===I.any&&(o('Invalid type received for "'+A+'". Expected: '+g.print(wC(I))+". Received ["+n+'] "'+t[A]+'"'),Nn=!0)}},{key:"getType",value:function(g){var A=nC(g);return"object"===A?null===g?"null":g instanceof Boolean?"boolean":g instanceof Number?"number":g instanceof String?"string":uC(g)?"array":g instanceof Date?"date":void 0!==g.nodeType?"dom":!0===g._isAMomentObject?"moment":"object":"number"===A?"number":"boolean"===A?"boolean":"string"===A?"string":void 0===A?"undefined":A}},{key:"getSuggestion",value:function(A,t,e){var C,I=g.findInOptions(A,t,e,!1),i=g.findInOptions(A,Dn,[],!0);C=void 0!==I.indexMatch?" in "+g.printLocation(I.path,A,"")+'Perhaps it was incomplete? Did you mean: "'+I.indexMatch+'"?\n\n':i.distance<=4&&I.distance>i.distance?" in "+g.printLocation(I.path,A,"")+"Perhaps it was misplaced? Matching option found at: "+g.printLocation(i.path,i.closestMatch,""):I.distance<=8?'. Did you mean "'+I.closestMatch+'"?'+g.printLocation(I.path,A):". Did you mean one of these: "+g.print(wC(t))+g.printLocation(e,A),console.error('%cUnknown option detected: "'+A+'"'+C,Rn),Nn=!0}},{key:"findInOptions",value:function(A,t,e){var C=arguments.length>3&&void 0!==arguments[3]&&arguments[3],I=1e9,i="",o=[],n=A.toLowerCase(),r=void 0;for(var s in t){var a=void 0;if(void 0!==t[s].__type__&&!0===C){var d=g.findInOptions(A,t[s],nn(e,s));I>d.distance&&(i=d.closestMatch,o=d.path,I=d.distance,r=d.indexMatch)}else{var h;-1!==DI(h=s.toLowerCase()).call(h,n)&&(r=s),I>(a=g.levenshteinDistance(A,s))&&(i=s,o=rn(e),I=a)}}return{closestMatch:i,path:o,distance:I,indexMatch:r}}},{key:"printLocation",value:function(g,A){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Problem value found at: \n",e="\n\n"+t+"options = {\n",C=0;C<g.length;C++){for(var I=0;I<C+1;I++)e+=" ";e+=g[C]+": {\n"}for(var i=0;i<g.length+1;i++)e+=" ";e+=A+"\n";for(var o=0;o<g.length+1;o++){for(var n=0;n<g.length-o;n++)e+=" ";e+="}\n"}return e+"\n\n"}},{key:"print",value:function(g){return LI(g).replace(/(")|(\[)|(\])|(,"__type__")/g,"").replace(/(,)/g,", ")}},{key:"levenshteinDistance",value:function(g,A){if(0===g.length)return A.length;if(0===A.length)return g.length;var t,e,C=[];for(t=0;t<=A.length;t++)C[t]=[t];for(e=0;e<=g.length;e++)C[0][e]=e;for(t=1;t<=A.length;t++)for(e=1;e<=g.length;e++)A.charAt(t-1)==g.charAt(e-1)?C[t][e]=C[t-1][e-1]:C[t][e]=Math.min(C[t-1][e-1]+1,Math.min(C[t][e-1]+1,C[t-1][e]+1));return C[A.length][g.length]}}]),g}();function Fn(g){return Un=g,function(){var g={};_n=0,void(Hn=Un.charAt(0)),Ir(),"strict"===Kn&&(g.strict=!0,Ir());"graph"!==Kn&&"digraph"!==Kn||(g.type=Kn,Ir());Xn===Yn&&(g.id=Kn,Ir());if("{"!=Kn)throw ar("Angle bracket { expected");if(Ir(),ir(g),"}"!=Kn)throw ar("Angle bracket } expected");if(Ir(),""!==Kn)throw ar("End of file expected");return Ir(),delete g.node,delete g.edge,delete g.graph,g}()}var Gn={fontsize:"font.size",fontcolor:"font.color",labelfontcolor:"font.color",fontname:"font.face",color:["color.border","color.background"],fillcolor:"color.background",tooltip:"title",labeltooltip:"title"},Ln=MI(Gn);Ln.color="color.color",Ln.style="dashes";var jn=0,Vn=1,Yn=2,Wn=3,Qn={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},Un="",_n=0,Hn="",Kn="",Xn=jn;function Jn(){_n++,Hn=Un.charAt(_n)}function qn(){return Un.charAt(_n+1)}function $n(g){var A=g.charCodeAt(0);return A<47?35===A||46===A:A<59?A>47:A<91?A>64:A<96?95===A:A<123&&A>96}function gr(g,A){if(g||(g={}),A)for(var t in A)A.hasOwnProperty(t)&&(g[t]=A[t]);return g}function Ar(g,A,t){for(var e=A.split("."),C=g;e.length;){var I=e.shift();e.length?(C[I]||(C[I]={}),C=C[I]):C[I]=t}}function tr(g,A){for(var t,e,C=null,I=[g],i=g;i.parent;)I.push(i.parent),i=i.parent;if(i.nodes)for(t=0,e=i.nodes.length;t<e;t++)if(A.id===i.nodes[t].id){C=i.nodes[t];break}for(C||(C={id:A.id},g.node&&(C.attr=gr(C.attr,g.node))),t=I.length-1;t>=0;t--){var o,n=I[t];n.nodes||(n.nodes=[]),-1===DI(o=n.nodes).call(o,C)&&n.nodes.push(C)}A.attr&&(C.attr=gr(C.attr,A.attr))}function er(g,A){if(g.edges||(g.edges=[]),g.edges.push(A),g.edge){var t=gr({},g.edge);A.attr=gr(t,A.attr)}}function Cr(g,A,t,e,C){var I={from:A,to:t,type:e};return g.edge&&(I.attr=gr({},g.edge)),I.attr=gr(I.attr||{},C),null!=C&&C.hasOwnProperty("arrows")&&null!=C.arrows&&(I.arrows={to:{enabled:!0,type:C.arrows.type}},C.arrows=null),I}function Ir(){for(Xn=jn,Kn="";" "===Hn||"\t"===Hn||"\n"===Hn||"\r"===Hn;)Jn();do{var g=!1;if("#"===Hn){for(var A=_n-1;" "===Un.charAt(A)||"\t"===Un.charAt(A);)A--;if("\n"===Un.charAt(A)||""===Un.charAt(A)){for(;""!=Hn&&"\n"!=Hn;)Jn();g=!0}}if("/"===Hn&&"/"===qn()){for(;""!=Hn&&"\n"!=Hn;)Jn();g=!0}if("/"===Hn&&"*"===qn()){for(;""!=Hn;){if("*"===Hn&&"/"===qn()){Jn(),Jn();break}Jn()}g=!0}for(;" "===Hn||"\t"===Hn||"\n"===Hn||"\r"===Hn;)Jn()}while(g);if(""!==Hn){var t=Hn+qn();if(Qn[t])return Xn=Vn,Kn=t,Jn(),void Jn();if(Qn[Hn])return Xn=Vn,Kn=Hn,void Jn();if($n(Hn)||"-"===Hn){for(Kn+=Hn,Jn();$n(Hn);)Kn+=Hn,Jn();return"false"===Kn?Kn=!1:"true"===Kn?Kn=!0:isNaN(Number(Kn))||(Kn=Number(Kn)),void(Xn=Yn)}if('"'===Hn){for(Jn();""!=Hn&&('"'!=Hn||'"'===Hn&&'"'===qn());)'"'===Hn?(Kn+=Hn,Jn()):"\\"===Hn&&"n"===qn()?(Kn+="\n",Jn()):Kn+=Hn,Jn();if('"'!=Hn)throw ar('End of string " expected');return Jn(),void(Xn=Yn)}for(Xn=Wn;""!=Hn;)Kn+=Hn,Jn();throw new SyntaxError('Syntax error in part "'+dr(Kn,30)+'"')}Xn=Vn}function ir(g){for(;""!==Kn&&"}"!=Kn;)or(g),";"===Kn&&Ir()}function or(g){var A=nr(g);if(A)rr(g,A);else if(!function(g){if("node"===Kn)return Ir(),g.node=sr(),"node";if("edge"===Kn)return Ir(),g.edge=sr(),"edge";if("graph"===Kn)return Ir(),g.graph=sr(),"graph";return null}(g)){if(Xn!=Yn)throw ar("Identifier expected");var t=Kn;if(Ir(),"="===Kn){if(Ir(),Xn!=Yn)throw ar("Identifier expected");g[t]=Kn,Ir()}else!function(g,A){var t={id:A},e=sr();e&&(t.attr=e);tr(g,t),rr(g,A)}(g,t)}}function nr(g){var A=null;if("subgraph"===Kn&&((A={}).type="subgraph",Ir(),Xn===Yn&&(A.id=Kn,Ir())),"{"===Kn){if(Ir(),A||(A={}),A.parent=g,A.node=g.node,A.edge=g.edge,A.graph=g.graph,ir(A),"}"!=Kn)throw ar("Angle bracket } expected");Ir(),delete A.node,delete A.edge,delete A.graph,delete A.parent,g.subgraphs||(g.subgraphs=[]),g.subgraphs.push(A)}return A}function rr(g,A){for(;"->"===Kn||"--"===Kn;){var t,e=Kn;Ir();var C=nr(g);if(C)t=C;else{if(Xn!=Yn)throw ar("Identifier or subgraph expected");tr(g,{id:t=Kn}),Ir()}er(g,Cr(g,A,t,e,sr())),A=t}}function sr(){for(var g,A,t=null,e={dashed:!0,solid:!1,dotted:[1,5]},C={dot:"circle",box:"box",crow:"crow",curve:"curve",icurve:"inv_curve",normal:"triangle",inv:"inv_triangle",diamond:"diamond",tee:"bar",vee:"vee"},I=new Array,i=new Array;"["===Kn;){for(Ir(),t={};""!==Kn&&"]"!=Kn;){if(Xn!=Yn)throw ar("Attribute name expected");var o=Kn;if(Ir(),"="!=Kn)throw ar("Equal sign = expected");if(Ir(),Xn!=Yn)throw ar("Attribute value expected");var n=Kn;"style"===o&&(n=e[n]),"arrowhead"===o&&(o="arrows",n={to:{enabled:!0,type:C[n]}}),"arrowtail"===o&&(o="arrows",n={from:{enabled:!0,type:C[n]}}),I.push({attr:t,name:o,value:n}),i.push(o),Ir(),","==Kn&&Ir()}if("]"!=Kn)throw ar("Bracket ] expected");Ir()}if($C(i).call(i,"dir")){var r={arrows:{}};for(g=0;g<I.length;g++)if("arrows"===I[g].name)if(null!=I[g].value.to)r.arrows.to=g;else{if(null==I[g].value.from)throw ar("Invalid value of arrows");r.arrows.from=g}else"dir"===I[g].name&&(r.dir=g);var s,a,d=I[r.dir].value;if(!$C(i).call(i,"arrows"))if("both"===d)I.push({attr:I[r.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),r.arrows.to=I.length-1,I.push({attr:I[r.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),r.arrows.from=I.length-1;else if("forward"===d)I.push({attr:I[r.dir].attr,name:"arrows",value:{to:{enabled:!0}}}),r.arrows.to=I.length-1;else if("back"===d)I.push({attr:I[r.dir].attr,name:"arrows",value:{from:{enabled:!0}}}),r.arrows.from=I.length-1;else{if("none"!==d)throw ar('Invalid dir type "'+d+'"');I.push({attr:I[r.dir].attr,name:"arrows",value:""}),r.arrows.to=I.length-1}if("both"===d)r.arrows.to&&r.arrows.from?(a=I[r.arrows.to].value.to.type,s=I[r.arrows.from].value.from.type,I[r.arrows.to]={attr:I[r.arrows.to].attr,name:I[r.arrows.to].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}},WC(I).call(I,r.arrows.from,1)):r.arrows.to?(a=I[r.arrows.to].value.to.type,s="arrow",I[r.arrows.to]={attr:I[r.arrows.to].attr,name:I[r.arrows.to].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}):r.arrows.from&&(a="arrow",s=I[r.arrows.from].value.from.type,I[r.arrows.from]={attr:I[r.arrows.from].attr,name:I[r.arrows.from].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}});else if("back"===d)r.arrows.to&&r.arrows.from?(a="",s=I[r.arrows.from].value.from.type,I[r.arrows.from]={attr:I[r.arrows.from].attr,name:I[r.arrows.from].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}):r.arrows.to?(a="",s="arrow",r.arrows.from=r.arrows.to,I[r.arrows.from]={attr:I[r.arrows.from].attr,name:I[r.arrows.from].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}):r.arrows.from&&(a="",s=I[r.arrows.from].value.from.type,I[r.arrows.to]={attr:I[r.arrows.from].attr,name:I[r.arrows.from].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}),I[r.arrows.from]={attr:I[r.arrows.from].attr,name:I[r.arrows.from].name,value:{from:{enabled:!0,type:I[r.arrows.from].value.from.type}}};else if("none"===d){var h;I[h=r.arrows.to?r.arrows.to:r.arrows.from]={attr:I[h].attr,name:I[h].name,value:""}}else{if("forward"!==d)throw ar('Invalid dir type "'+d+'"');r.arrows.to&&r.arrows.from||r.arrows.to?(a=I[r.arrows.to].value.to.type,s="",I[r.arrows.to]={attr:I[r.arrows.to].attr,name:I[r.arrows.to].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}):r.arrows.from&&(a="arrow",s="",r.arrows.to=r.arrows.from,I[r.arrows.to]={attr:I[r.arrows.to].attr,name:I[r.arrows.to].name,value:{to:{enabled:!0,type:a},from:{enabled:!0,type:s}}}),I[r.arrows.to]={attr:I[r.arrows.to].attr,name:I[r.arrows.to].name,value:{to:{enabled:!0,type:I[r.arrows.to].value.to.type}}}}WC(I).call(I,r.dir,1)}if($C(i).call(i,"penwidth")){var l=[];for(A=I.length,g=0;g<A;g++)"width"!==I[g].name&&("penwidth"===I[g].name&&(I[g].name="width"),l.push(I[g]));I=l}for(A=I.length,g=0;g<A;g++)Ar(I[g].attr,I[g].name,I[g].value);return t}function ar(g){return new SyntaxError(g+', got "'+dr(Kn,30)+'" (char '+_n+")")}function dr(g,A){return g.length<=A?g:g.substr(0,27)+"..."}function hr(g,A,t){for(var e=A.split("."),C=e.pop(),I=g,i=0;i<e.length;i++){var o=e[i];o in I||(I[o]={}),I=I[o]}return I[C]=t,g}function lr(g,A){var t={};for(var e in g)if(g.hasOwnProperty(e)){var C=A[e];uC(C)?RC(C).call(C,(function(A){hr(t,A,g[e])})):hr(t,"string"==typeof C?C:e,g[e])}return t}function cr(g){var A,t=Fn(g),e={nodes:[],edges:[],options:{}};t.nodes&&RC(A=t.nodes).call(A,(function(g){var A={id:g.id,label:String(g.label||g.id)};gr(A,lr(g.attr,Gn)),A.image&&(A.shape="image"),e.nodes.push(A)}));if(t.edges){var C,I=function(g){var A={from:g.from,to:g.to};return gr(A,lr(g.attr,Ln)),null==A.arrows&&"->"===g.type&&(A.arrows="to"),A};RC(C=t.edges).call(C,(function(g){var A,t,C,i,o,n,r;(A=g.from instanceof Object?g.from.nodes:{id:g.from},t=g.to instanceof Object?g.to.nodes:{id:g.to},g.from instanceof Object&&g.from.edges)&&RC(C=g.from.edges).call(C,(function(g){var A=I(g);e.edges.push(A)}));(o=t,n=function(A,t){var C=Cr(e,A.id,t.id,g.type,g.attr),i=I(C);e.edges.push(i)},uC(i=A)?RC(i).call(i,(function(g){uC(o)?RC(o).call(o,(function(A){n(g,A)})):n(g,o)})):uC(o)?RC(o).call(o,(function(g){n(i,g)})):n(i,o),g.to instanceof Object&&g.to.edges)&&RC(r=g.to.edges).call(r,(function(g){var A=I(g);e.edges.push(A)}))}))}return t.attr&&(e.options=t.attr),e}var ur=Object.freeze({__proto__:null,parseDOT:Fn,DOTToGraph:cr});function pr(g,A){var t,e={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};null!=A&&(null!=A.fixed&&(e.nodes.fixed=A.fixed),null!=A.parseColor&&(e.nodes.parseColor=A.parseColor),null!=A.inheritColor&&(e.edges.inheritColor=A.inheritColor));var C=g.edges,I=mC(C).call(C,(function(g){var A={from:g.source,id:g.id,to:g.target};return null!=g.attributes&&(A.attributes=g.attributes),null!=g.label&&(A.label=g.label),null!=g.attributes&&null!=g.attributes.title&&(A.title=g.attributes.title),"Directed"===g.type&&(A.arrows="to"),g.color&&!1===e.edges.inheritColor&&(A.color=g.color),A}));return{nodes:mC(t=g.nodes).call(t,(function(g){var A={id:g.id,fixed:e.nodes.fixed&&null!=g.x&&null!=g.y};return null!=g.attributes&&(A.attributes=g.attributes),null!=g.label&&(A.label=g.label),null!=g.size&&(A.size=g.size),null!=g.attributes&&null!=g.attributes.title&&(A.title=g.attributes.title),null!=g.title&&(A.title=g.title),null!=g.x&&(A.x=g.x),null!=g.y&&(A.y=g.y),null!=g.color&&(!0===e.nodes.parseColor?A.color=g.color:A.color={background:g.color,border:g.color,highlight:{background:g.color,border:g.color},hover:{background:g.color,border:g.color}}),A})),edges:I}}var fr=Object.freeze({__proto__:null,parseGephi:pr}),vr=Object.freeze({__proto__:null,en:{addDescription:"Click in an empty space to place a new node.",addEdge:"Add Edge",addNode:"Add Node",back:"Back",close:"Close",createEdgeError:"Cannot link edges to a cluster.",del:"Delete selected",deleteClusterError:"Clusters cannot be deleted.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",edit:"Edit",editClusterError:"Clusters cannot be edited.",editEdge:"Edit Edge",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",editNode:"Edit Node"},de:{addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",addEdge:"Kante hinzufügen",addNode:"Knoten hinzufügen",back:"Zurück",close:"Schließen",createEdgeError:"Es ist nicht möglich, Kanten mit Clustern zu verbinden.",del:"Lösche Auswahl",deleteClusterError:"Cluster können nicht gelöscht werden.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",edit:"Editieren",editClusterError:"Cluster können nicht editiert werden.",editEdge:"Kante editieren",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",editNode:"Knoten editieren"},es:{addDescription:"Haga clic en un lugar vacío para colocar un nuevo nodo.",addEdge:"Añadir arista",addNode:"Añadir nodo",back:"Atrás",close:"Cerrar",createEdgeError:"No se puede conectar una arista a un grupo.",del:"Eliminar selección",deleteClusterError:"No es posible eliminar grupos.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",edit:"Editar",editClusterError:"No es posible editar grupos.",editEdge:"Editar arista",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",editNode:"Editar nodo"},it:{addDescription:"Clicca per aggiungere un nuovo nodo",addEdge:"Aggiungi un vertice",addNode:"Aggiungi un nodo",back:"Indietro",close:"Chiudere",createEdgeError:"Non si possono collegare vertici ad un cluster",del:"Cancella la selezione",deleteClusterError:"I cluster non possono essere cancellati",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",edit:"Modifica",editClusterError:"I clusters non possono essere modificati.",editEdge:"Modifica il vertice",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",editNode:"Modifica il nodo"},nl:{addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",addEdge:"Link toevoegen",addNode:"Node toevoegen",back:"Terug",close:"Sluiten",createEdgeError:"Kan geen link maken naar een cluster.",del:"Selectie verwijderen",deleteClusterError:"Clusters kunnen niet worden verwijderd.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",edit:"Wijzigen",editClusterError:"Clusters kunnen niet worden aangepast.",editEdge:"Link wijzigen",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",editNode:"Node wijzigen"},pt:{addDescription:"Clique em um espaço em branco para adicionar um novo nó",addEdge:"Adicionar aresta",addNode:"Adicionar nó",back:"Voltar",close:"Fechar",createEdgeError:"Não foi possível linkar arestas a um cluster.",del:"Remover selecionado",deleteClusterError:"Clusters não puderam ser removidos.",edgeDescription:"Clique em um nó e arraste a aresta até outro nó para conectá-los",edit:"Editar",editClusterError:"Clusters não puderam ser editados.",editEdge:"Editar aresta",editEdgeDescription:"Clique nos pontos de controle e os arraste para um nó para conectá-los",editNode:"Editar nó"},ru:{addDescription:"Кликните в свободное место, чтобы добавить новый узел.",addEdge:"Добавить ребро",addNode:"Добавить узел",back:"Назад",close:"Закрывать",createEdgeError:"Невозможно соединить ребра в кластер.",del:"Удалить выбранное",deleteClusterError:"Кластеры не могут быть удалены",edgeDescription:"Кликните на узел и протяните ребро к другому узлу, чтобы соединить их.",edit:"Редактировать",editClusterError:"Кластеры недоступны для редактирования.",editEdge:"Редактировать ребро",editEdgeDescription:"Кликните на контрольные точки и перетащите их в узел, чтобы подключиться к нему.",editNode:"Редактировать узел"},cn:{addDescription:"单击空白处放置新节点。",addEdge:"添加连接线",addNode:"添加节点",back:"返回",close:"關閉",createEdgeError:"无法将连接线连接到群集。",del:"删除选定",deleteClusterError:"无法删除群集。",edgeDescription:"单击某个节点并将该连接线拖动到另一个节点以连接它们。",edit:"编辑",editClusterError:"无法编辑群集。",editEdge:"编辑连接线",editEdgeDescription:"单击控制节点并将它们拖到节点上连接。",editNode:"编辑节点"},uk:{addDescription:"Kлікніть на вільне місце, щоб додати новий вузол.",addEdge:"Додати край",addNode:"Додати вузол",back:"Назад",close:"Закрити",createEdgeError:"Не можливо об'єднати краї в групу.",del:"Видалити обране",deleteClusterError:"Групи не можуть бути видалені.",edgeDescription:"Клікніть на вузол і перетягніть край до іншого вузла, щоб їх з'єднати.",edit:"Редагувати",editClusterError:"Групи недоступні для редагування.",editEdge:"Редагувати край",editEdgeDescription:"Клікніть на контрольні точки і перетягніть їх у вузол, щоб підключитися до нього.",editNode:"Редагувати вузол"},fr:{addDescription:"Cliquez dans un endroit vide pour placer un nœud.",addEdge:"Ajouter un lien",addNode:"Ajouter un nœud",back:"Retour",close:"Fermer",createEdgeError:"Impossible de créer un lien vers un cluster.",del:"Effacer la sélection",deleteClusterError:"Les clusters ne peuvent pas être effacés.",edgeDescription:"Cliquez sur un nœud et glissez le lien vers un autre nœud pour les connecter.",edit:"Éditer",editClusterError:"Les clusters ne peuvent pas être édités.",editEdge:"Éditer le lien",editEdgeDescription:"Cliquez sur les points de contrôle et glissez-les pour connecter un nœud.",editNode:"Éditer le nœud"},cs:{addDescription:"Kluknutím do prázdného prostoru můžete přidat nový vrchol.",addEdge:"Přidat hranu",addNode:"Přidat vrchol",back:"Zpět",close:"Zavřít",createEdgeError:"Nelze připojit hranu ke shluku.",del:"Smazat výběr",deleteClusterError:"Nelze mazat shluky.",edgeDescription:"Přetažením z jednoho vrcholu do druhého můžete spojit tyto vrcholy novou hranou.",edit:"Upravit",editClusterError:"Nelze upravovat shluky.",editEdge:"Upravit hranu",editEdgeDescription:"Přetažením kontrolního vrcholu hrany ji můžete připojit k jinému vrcholu.",editNode:"Upravit vrchol"}});var yr=function(){function g(){De(this,g),this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}return Pe(g,[{key:"init",value:function(){if(!this.initialized()){this.src=this.image.src;var g=this.image.width,A=this.image.height;this.width=g,this.height=A;var t=Math.floor(A/2),e=Math.floor(A/4),C=Math.floor(A/8),I=Math.floor(A/16),i=Math.floor(g/2),o=Math.floor(g/4),n=Math.floor(g/8),r=Math.floor(g/16);this.canvas.width=3*o,this.canvas.height=t,this.coordinates=[[0,0,i,t],[i,0,o,e],[i,e,n,C],[5*n,e,r,I]],this._fillMipMap()}}},{key:"initialized",value:function(){return void 0!==this.coordinates}},{key:"_fillMipMap",value:function(){var g=this.canvas.getContext("2d"),A=this.coordinates[0];g.drawImage(this.image,A[0],A[1],A[2],A[3]);for(var t=1;t<this.NUM_ITERATIONS;t++){var e=this.coordinates[t-1],C=this.coordinates[t];g.drawImage(this.canvas,e[0],e[1],e[2],e[3],C[0],C[1],C[2],C[3])}}},{key:"drawImageAtPosition",value:function(g,A,t,e,C,I){if(this.initialized())if(A>2){A*=.5;for(var i=0;A>2&&i<this.NUM_ITERATIONS;)A*=.5,i+=1;i>=this.NUM_ITERATIONS&&(i=this.NUM_ITERATIONS-1);var o=this.coordinates[i];g.drawImage(this.canvas,o[0],o[1],o[2],o[3],t,e,C,I)}else g.drawImage(this.image,t,e,C,I)}}]),g}(),mr=function(){function g(A){De(this,g),this.images={},this.imageBroken={},this.callback=A}return Pe(g,[{key:"_tryloadBrokenUrl",value:function(g,A,t){void 0!==g&&void 0!==t&&(void 0!==A?(t.image.onerror=function(){console.error("Could not load brokenImage:",A)},t.image.src=A):console.warn("No broken url image defined"))}},{key:"_redrawWithImage",value:function(g){this.callback&&this.callback(g)}},{key:"load",value:function(g,A){var t=this,e=this.images[g];if(e)return e;var C=new yr;return this.images[g]=C,C.image.onload=function(){t._fixImageCoordinates(C.image),C.init(),t._redrawWithImage(C)},C.image.onerror=function(){console.error("Could not load image:",g),t._tryloadBrokenUrl(g,A,C)},C.image.src=g,C}},{key:"_fixImageCoordinates",value:function(g){0===g.width&&(document.body.appendChild(g),g.width=g.offsetWidth,g.height=g.offsetHeight,document.body.removeChild(g))}}]),g}(),br=!I((function(){return Object.isExtensible(Object.preventExtensions({}))})),wr=t((function(g){var A=G.f,t=jg("meta"),e=0,C=Object.isExtensible||function(){return!0},I=function(g){A(g,t,{value:{objectID:"O"+ ++e,weakData:{}}})},i=g.exports={REQUIRED:!1,fastKey:function(g,A){if(!p(g))return"symbol"==typeof g?g:("string"==typeof g?"S":"P")+g;if(!y(g,t)){if(!C(g))return"F";if(!A)return"E";I(g)}return g[t].objectID},getWeakData:function(g,A){if(!y(g,t)){if(!C(g))return!0;if(!A)return!1;I(g)}return g[t].weakData},onFreeze:function(g){return br&&i.REQUIRED&&C(g)&&!y(g,t)&&I(g),g}};gg[t]=!0})),kr=function(g,A){this.stopped=g,this.result=A},xr=function(g,A,t){var e,C,I,i,o,n,r,s=t&&t.that,a=!(!t||!t.AS_ENTRIES),d=!(!t||!t.IS_ITERATOR),h=!(!t||!t.INTERRUPTED),l=Z(A,s,1+a+h),c=function(g){return e&&Ct(e),new kr(!0,g)},u=function(g){return a?(S(g),h?l(g[0],g[1],c):l(g[0],g[1])):h?l(g,c):l(g)};if(d)e=g;else{if("function"!=typeof(C=at(g)))throw TypeError("Target is not iterable");if(nt(C)){for(I=0,i=H(g.length);i>I;I++)if((o=u(g[I]))&&o instanceof kr)return o;return new kr(!1)}e=C.call(g)}for(n=e.next;!(r=n.call(e)).done;){try{o=u(r.value)}catch(g){throw Ct(e),g}if("object"==typeof o&&o&&o instanceof kr)return o}return new kr(!1)},Er=function(g,A,t){if(!(g instanceof A))throw TypeError("Incorrect "+(t?t+" ":"")+"invocation");return g},Or=G.f,Tr=Vt.forEach,Dr=qg.set,Nr=qg.getterFor,Rr=function(g,A,t){var e,o=-1!==g.indexOf("Map"),n=-1!==g.indexOf("Weak"),r=o?"set":"add",s=C[g],a=s&&s.prototype,d={};if(i&&"function"==typeof s&&(n||a.forEach&&!I((function(){(new s).entries().next()})))){e=A((function(A,t){Dr(Er(A,e,g),{type:g,collection:new s}),null!=t&&xr(t,A[r],{that:A,AS_ENTRIES:o})}));var h=Nr(g);Tr(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(g){var A="add"==g||"set"==g;!(g in a)||n&&"clear"==g||L(e.prototype,g,(function(t,e){var C=h(this).collection;if(!A&&n&&!p(t))return"get"==g&&void 0;var I=C[g](0===t?0:t,e);return A?this:I}))})),n||Or(e.prototype,"size",{configurable:!0,get:function(){return h(this).collection.size}})}else e=t.getConstructor(A,g,o,r),wr.REQUIRED=!0;return LA(e,g,!1,!0),d[g]=e,Y({global:!0,forced:!0},d),n||t.setStrong(e,g,o),e},Pr=function(g,A,t){for(var e in A)t&&t.unsafe&&g[e]?g[e]=A[e]:QA(g,e,A[e],t);return g},Mr=vA("species"),Br=G.f,zr=wr.fastKey,Zr=qg.set,Sr=qg.getterFor,Fr={getConstructor:function(g,A,t,e){var C=g((function(g,I){Er(g,C,A),Zr(g,{type:A,index:RA(null),first:void 0,last:void 0,size:0}),i||(g.size=0),null!=I&&xr(I,g[e],{that:g,AS_ENTRIES:t})})),I=Sr(A),o=function(g,A,t){var e,C,o=I(g),r=n(g,A);return r?r.value=t:(o.last=r={index:C=zr(A,!0),key:A,value:t,previous:e=o.last,next:void 0,removed:!1},o.first||(o.first=r),e&&(e.next=r),i?o.size++:g.size++,"F"!==C&&(o.index[C]=r)),g},n=function(g,A){var t,e=I(g),C=zr(A);if("F"!==C)return e.index[C];for(t=e.first;t;t=t.next)if(t.key==A)return t};return Pr(C.prototype,{clear:function(){for(var g=I(this),A=g.index,t=g.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete A[t.index],t=t.next;g.first=g.last=void 0,i?g.size=0:this.size=0},delete:function(g){var A=this,t=I(A),e=n(A,g);if(e){var C=e.next,o=e.previous;delete t.index[e.index],e.removed=!0,o&&(o.next=C),C&&(C.previous=o),t.first==e&&(t.first=C),t.last==e&&(t.last=o),i?t.size--:A.size--}return!!e},forEach:function(g){for(var A,t=I(this),e=Z(g,arguments.length>1?arguments[1]:void 0,3);A=A?A.next:t.first;)for(e(A.value,A.key,this);A&&A.removed;)A=A.previous},has:function(g){return!!n(this,g)}}),Pr(C.prototype,t?{get:function(g){var A=n(this,g);return A&&A.value},set:function(g,A){return o(this,0===g?0:g,A)}}:{add:function(g){return o(this,g=0===g?0:g,g)}}),i&&Br(C.prototype,"size",{get:function(){return I(this).size}}),C},setStrong:function(g,A,t){var e=A+" Iterator",C=Sr(A),I=Sr(e);$A(g,A,(function(g,A){Zr(this,{type:e,target:g,state:C(g),kind:A,last:void 0})}),(function(){for(var g=I(this),A=g.kind,t=g.last;t&&t.removed;)t=t.previous;return g.target&&(g.last=t=t?t.next:g.state.first)?"keys"==A?{value:t.key,done:!1}:"values"==A?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(g.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),function(g){var A=IA(g),t=G.f;i&&A&&!A[Mr]&&t(A,Mr,{configurable:!0,get:function(){return this}})}(A)}};Rr("Map",(function(g){return function(){return g(this,arguments.length?arguments[0]:void 0)}}),Fr);var Gr=B.Map,Lr=function(){function g(){De(this,g),this.clear(),this._defaultIndex=0,this._groupIndex=0,this._defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},sg(this.options,this.defaultOptions)}return Pe(g,[{key:"setOptions",value:function(g){var A=["useDefaultGroups"];if(void 0!==g)for(var t in g)if(Object.prototype.hasOwnProperty.call(g,t)&&-1===DI(A).call(A,t)){var e=g[t];this.add(t,e)}}},{key:"clear",value:function(){this._groups=new Gr,this._groupNames=[]}},{key:"get",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this._groups.get(g);if(void 0===t&&A)if(!1===this.options.useDefaultGroups&&this._groupNames.length>0){var e=this._groupIndex%this._groupNames.length;++this._groupIndex,(t={}).color=this._groups.get(this._groupNames[e]),this._groups.set(g,t)}else{var C=this._defaultIndex%this._defaultGroups.length;this._defaultIndex++,(t={}).color=this._defaultGroups[C],this._groups.set(g,t)}return t}},{key:"add",value:function(g,A){return this._groups.has(g)||this._groupNames.push(g),this._groups.set(g,A),A}}]),g}();Y({target:"Number",stat:!0},{isNaN:function(g){return g!=g}});var jr=B.Number.isNaN,Vr=C.isFinite,Yr=Number.isFinite||function(g){return"number"==typeof g&&Vr(g)};Y({target:"Number",stat:!0},{isFinite:Yr});var Wr=B.Number.isFinite,Qr=Vt.some,Ur=xC("some");Y({target:"Array",proto:!0,forced:!Ur},{some:function(g){return Qr(this,g,arguments.length>1?arguments[1]:void 0)}});var _r=cg("Array").some,Hr=Array.prototype,Kr=function(g){var A=g.some;return g===Hr||g instanceof Array&&A===Hr.some?_r:A},Xr=IA("Reflect","construct"),Jr=I((function(){function g(){}return!(Xr((function(){}),[],g)instanceof g)})),qr=!I((function(){Xr((function(){}))})),$r=Jr||qr;Y({target:"Reflect",stat:!0,forced:$r,sham:$r},{construct:function(g,A){z(g),S(A);var t=arguments.length<3?g:z(arguments[2]);if(qr&&!Jr)return Xr(g,A,t);if(g==t){switch(A.length){case 0:return new g;case 1:return new g(A[0]);case 2:return new g(A[0],A[1]);case 3:return new g(A[0],A[1],A[2]);case 4:return new g(A[0],A[1],A[2],A[3])}var e=[null];return e.push.apply(e,A),new(lg.apply(g,e))}var C=t.prototype,I=RA(p(C)?C:Object.prototype),i=Function.apply.call(g,I,A);return p(i)?i:I}});var gs=B.Reflect.construct;function As(g){if(void 0===g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}var ts=PI;Y({target:"Object",stat:!0},{setPrototypeOf:WA});var es=B.Object.setPrototypeOf;function Cs(g,A){return(Cs=es||function(g,A){return g.__proto__=A,g})(g,A)}function Is(g,A){if("function"!=typeof A&&null!==A)throw new TypeError("Super expression must either be null or a function");g.prototype=ts(A&&A.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),A&&Cs(g,A)}function is(g,A){return!A||"object"!==nC(A)&&"function"!=typeof A?As(g):A}var os=AI;function ns(g){return(ns=es?os:function(g){return g.__proto__||os(g)})(g)}var rs=t((function(g){var A=function(g){var A,t=Object.prototype,e=t.hasOwnProperty,C="function"==typeof Symbol?Symbol:{},I=C.iterator||"@@iterator",i=C.asyncIterator||"@@asyncIterator",o=C.toStringTag||"@@toStringTag";function n(g,A,t){return Object.defineProperty(g,A,{value:t,enumerable:!0,configurable:!0,writable:!0}),g[A]}try{n({},"")}catch(g){n=function(g,A,t){return g[A]=t}}function r(g,A,t,e){var C=A&&A.prototype instanceof u?A:u,I=Object.create(C.prototype),i=new T(e||[]);return I._invoke=function(g,A,t){var e=a;return function(C,I){if(e===h)throw new Error("Generator is already running");if(e===l){if("throw"===C)throw I;return N()}for(t.method=C,t.arg=I;;){var i=t.delegate;if(i){var o=x(i,t);if(o){if(o===c)continue;return o}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(e===a)throw e=l,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);e=h;var n=s(g,A,t);if("normal"===n.type){if(e=t.done?l:d,n.arg===c)continue;return{value:n.arg,done:t.done}}"throw"===n.type&&(e=l,t.method="throw",t.arg=n.arg)}}}(g,t,i),I}function s(g,A,t){try{return{type:"normal",arg:g.call(A,t)}}catch(g){return{type:"throw",arg:g}}}g.wrap=r;var a="suspendedStart",d="suspendedYield",h="executing",l="completed",c={};function u(){}function p(){}function f(){}var v={};v[I]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(D([])));m&&m!==t&&e.call(m,I)&&(v=m);var b=f.prototype=u.prototype=Object.create(v);function w(g){["next","throw","return"].forEach((function(A){n(g,A,(function(g){return this._invoke(A,g)}))}))}function k(g,A){function t(C,I,i,o){var n=s(g[C],g,I);if("throw"!==n.type){var r=n.arg,a=r.value;return a&&"object"==typeof a&&e.call(a,"__await")?A.resolve(a.__await).then((function(g){t("next",g,i,o)}),(function(g){t("throw",g,i,o)})):A.resolve(a).then((function(g){r.value=g,i(r)}),(function(g){return t("throw",g,i,o)}))}o(n.arg)}var C;this._invoke=function(g,e){function I(){return new A((function(A,C){t(g,e,A,C)}))}return C=C?C.then(I,I):I()}}function x(g,t){var e=g.iterator[t.method];if(e===A){if(t.delegate=null,"throw"===t.method){if(g.iterator.return&&(t.method="return",t.arg=A,x(g,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var C=s(e,g.iterator,t.arg);if("throw"===C.type)return t.method="throw",t.arg=C.arg,t.delegate=null,c;var I=C.arg;return I?I.done?(t[g.resultName]=I.value,t.next=g.nextLoc,"return"!==t.method&&(t.method="next",t.arg=A),t.delegate=null,c):I:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function E(g){var A={tryLoc:g[0]};1 in g&&(A.catchLoc=g[1]),2 in g&&(A.finallyLoc=g[2],A.afterLoc=g[3]),this.tryEntries.push(A)}function O(g){var A=g.completion||{};A.type="normal",delete A.arg,g.completion=A}function T(g){this.tryEntries=[{tryLoc:"root"}],g.forEach(E,this),this.reset(!0)}function D(g){if(g){var t=g[I];if(t)return t.call(g);if("function"==typeof g.next)return g;if(!isNaN(g.length)){var C=-1,i=function t(){for(;++C<g.length;)if(e.call(g,C))return t.value=g[C],t.done=!1,t;return t.value=A,t.done=!0,t};return i.next=i}}return{next:N}}function N(){return{value:A,done:!0}}return p.prototype=b.constructor=f,f.constructor=p,p.displayName=n(f,o,"GeneratorFunction"),g.isGeneratorFunction=function(g){var A="function"==typeof g&&g.constructor;return!!A&&(A===p||"GeneratorFunction"===(A.displayName||A.name))},g.mark=function(g){return Object.setPrototypeOf?Object.setPrototypeOf(g,f):(g.__proto__=f,n(g,o,"GeneratorFunction")),g.prototype=Object.create(b),g},g.awrap=function(g){return{__await:g}},w(k.prototype),k.prototype[i]=function(){return this},g.AsyncIterator=k,g.async=function(A,t,e,C,I){void 0===I&&(I=Promise);var i=new k(r(A,t,e,C),I);return g.isGeneratorFunction(t)?i:i.next().then((function(g){return g.done?g.value:i.next()}))},w(b),n(b,o,"Generator"),b[I]=function(){return this},b.toString=function(){return"[object Generator]"},g.keys=function(g){var A=[];for(var t in g)A.push(t);return A.reverse(),function t(){for(;A.length;){var e=A.pop();if(e in g)return t.value=e,t.done=!1,t}return t.done=!0,t}},g.values=D,T.prototype={constructor:T,reset:function(g){if(this.prev=0,this.next=0,this.sent=this._sent=A,this.done=!1,this.delegate=null,this.method="next",this.arg=A,this.tryEntries.forEach(O),!g)for(var t in this)"t"===t.charAt(0)&&e.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=A)},stop:function(){this.done=!0;var g=this.tryEntries[0].completion;if("throw"===g.type)throw g.arg;return this.rval},dispatchException:function(g){if(this.done)throw g;var t=this;function C(e,C){return o.type="throw",o.arg=g,t.next=e,C&&(t.method="next",t.arg=A),!!C}for(var I=this.tryEntries.length-1;I>=0;--I){var i=this.tryEntries[I],o=i.completion;if("root"===i.tryLoc)return C("end");if(i.tryLoc<=this.prev){var n=e.call(i,"catchLoc"),r=e.call(i,"finallyLoc");if(n&&r){if(this.prev<i.catchLoc)return C(i.catchLoc,!0);if(this.prev<i.finallyLoc)return C(i.finallyLoc)}else if(n){if(this.prev<i.catchLoc)return C(i.catchLoc,!0)}else{if(!r)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return C(i.finallyLoc)}}}},abrupt:function(g,A){for(var t=this.tryEntries.length-1;t>=0;--t){var C=this.tryEntries[t];if(C.tryLoc<=this.prev&&e.call(C,"finallyLoc")&&this.prev<C.finallyLoc){var I=C;break}}I&&("break"===g||"continue"===g)&&I.tryLoc<=A&&A<=I.finallyLoc&&(I=null);var i=I?I.completion:{};return i.type=g,i.arg=A,I?(this.method="next",this.next=I.finallyLoc,c):this.complete(i)},complete:function(g,A){if("throw"===g.type)throw g.arg;return"break"===g.type||"continue"===g.type?this.next=g.arg:"return"===g.type?(this.rval=this.arg=g.arg,this.method="return",this.next="end"):"normal"===g.type&&A&&(this.next=A),c},finish:function(g){for(var A=this.tryEntries.length-1;A>=0;--A){var t=this.tryEntries[A];if(t.finallyLoc===g)return this.complete(t.completion,t.afterLoc),O(t),c}},catch:function(g){for(var A=this.tryEntries.length-1;A>=0;--A){var t=this.tryEntries[A];if(t.tryLoc===g){var e=t.completion;if("throw"===e.type){var C=e.arg;O(t)}return C}}throw new Error("illegal catch attempt")},delegateYield:function(g,t,e){return this.delegate={iterator:D(g),resultName:t,nextLoc:e},"next"===this.method&&(this.arg=A),c}},g}(g.exports);try{regeneratorRuntime=A}catch(g){Function("r","regeneratorRuntime = r")(A)}})),ss=function(g){return function(A,t,e,C){z(t);var I=ig(A),i=l(I),o=H(I.length),n=g?o-1:0,r=g?-1:1;if(e<2)for(;;){if(n in i){C=i[n],n+=r;break}if(n+=r,g?n<0:o<=n)throw TypeError("Reduce of empty array with no initial value")}for(;g?n>=0:o>n;n+=r)n in i&&(C=t(C,i[n],n,I));return C}},as={left:ss(!1),right:ss(!0)}.left,ds=xC("reduce");Y({target:"Array",proto:!0,forced:!ds||!eA&&hA>79&&hA<83},{reduce:function(g){return as(this,g,arguments.length,arguments.length>1?arguments[1]:void 0)}});var hs=cg("Array").reduce,ls=Array.prototype,cs=function(g){var A=g.reduce;return g===ls||g instanceof Array&&A===ls.reduce?hs:A},us=function(g,A,t,e,C,I,i,o){for(var n,r=C,s=0,a=!!i&&Z(i,o,3);s<e;){if(s in t){if(n=a?a(t[s],s,A):t[s],I>0&&Tt(n))r=us(g,A,n,H(n.length),r,I-1)-1;else{if(r>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[r]=n}r++}s++}return r},ps=us;Y({target:"Array",proto:!0},{flatMap:function(g){var A,t=ig(this),e=H(t.length);return z(g),(A=Gt(t,0)).length=ps(A,t,t,e,0,1,g,arguments.length>1?arguments[1]:void 0),A}});var fs=cg("Array").flatMap,vs=Array.prototype,ys=function(g){var A=g.flatMap;return g===vs||g instanceof Array&&A===vs.flatMap?fs:A},ms=iC;Rr("Set",(function(g){return function(){return g(this,arguments.length?arguments[0]:void 0)}}),Fr);var bs=B.Set,ws=[],ks=ws.sort,xs=I((function(){ws.sort(void 0)})),Es=I((function(){ws.sort(null)})),Os=xC("sort");Y({target:"Array",proto:!0,forced:xs||!Es||!Os},{sort:function(g){return void 0===g?ks.call(ig(this)):ks.call(ig(this),z(g))}});var Ts,Ds=cg("Array").sort,Ns=Array.prototype,Rs=function(g){var A=g.sort;return g===Ns||g instanceof Array&&A===Ns.sort?Ds:A},Ps=cg("Array").keys,Ms=Array.prototype,Bs={DOMTokenList:!0,NodeList:!0},zs=function(g){var A=g.keys;return g===Ms||g instanceof Array&&A===Ms.keys||Bs.hasOwnProperty(ZA(g))?Ps:A},Zs=cg("Array").values,Ss=Array.prototype,Fs={DOMTokenList:!0,NodeList:!0},Gs=function(g){var A=g.values;return g===Ss||g instanceof Array&&A===Ss.values||Fs.hasOwnProperty(ZA(g))?Zs:A},Ls=cg("Array").entries,js=Array.prototype,Vs={DOMTokenList:!0,NodeList:!0},Ys=function(g){var A=g.entries;return g===js||g instanceof Array&&A===js.entries||Vs.hasOwnProperty(ZA(g))?Ls:A},Ws=new Uint8Array(16);function Qs(){if(!Ts&&!(Ts="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ts(Ws)}var Us=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function _s(g){return"string"==typeof g&&Us.test(g)}for(var Hs=[],Ks=0;Ks<256;++Ks)Hs.push((Ks+256).toString(16).substr(1));function Xs(g,A,t){var e=(g=g||{}).random||(g.rng||Qs)();if(e[6]=15&e[6]|64,e[8]=63&e[8]|128,A){t=t||0;for(var C=0;C<16;++C)A[t+C]=e[C];return A}return function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=(Hs[g[A+0]]+Hs[g[A+1]]+Hs[g[A+2]]+Hs[g[A+3]]+"-"+Hs[g[A+4]]+Hs[g[A+5]]+"-"+Hs[g[A+6]]+Hs[g[A+7]]+"-"+Hs[g[A+8]]+Hs[g[A+9]]+"-"+Hs[g[A+10]]+Hs[g[A+11]]+Hs[g[A+12]]+Hs[g[A+13]]+Hs[g[A+14]]+Hs[g[A+15]]).toLowerCase();if(!_s(t))throw TypeError("Stringified UUID is invalid");return t}(e)}function Js(g,A){var t=wC(g);if(ve){var e=ve(g);A&&(e=oI(e).call(e,(function(A){return we(g,A).enumerable}))),t.push.apply(t,e)}return t}function qs(g){for(var A=1;A<arguments.length;A++){var t,e=null!=arguments[A]?arguments[A]:{};if(A%2)RC(t=Js(Object(e),!0)).call(t,(function(A){Me(g,A,e[A])}));else if(xe)Ee(g,xe(e));else{var C;RC(C=Js(Object(e))).call(C,(function(A){Te(g,A,we(e,A))}))}}return g}function $s(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}function ga(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return Aa(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Aa(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function Aa(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}var ta=function(){function g(A,t,e){var C,I,i;De(this,g),this._source=A,this._transformers=t,this._target=e,this._listeners={add:fg(C=this._add).call(C,this),remove:fg(I=this._remove).call(I,this),update:fg(i=this._update).call(i,this)}}return Pe(g,[{key:"all",value:function(){return this._target.update(this._transformItems(this._source.get())),this}},{key:"start",value:function(){return this._source.on("add",this._listeners.add),this._source.on("remove",this._listeners.remove),this._source.on("update",this._listeners.update),this}},{key:"stop",value:function(){return this._source.off("add",this._listeners.add),this._source.off("remove",this._listeners.remove),this._source.off("update",this._listeners.update),this}},{key:"_transformItems",value:function(g){var A;return cs(A=this._transformers).call(A,(function(g,A){return A(g)}),g)}},{key:"_add",value:function(g,A){null!=A&&this._target.add(this._transformItems(this._source.get(A.items)))}},{key:"_update",value:function(g,A){null!=A&&this._target.update(this._transformItems(this._source.get(A.items)))}},{key:"_remove",value:function(g,A){null!=A&&this._target.remove(this._transformItems(A.oldData))}}]),g}(),ea=function(){function g(A){De(this,g),this._source=A,this._transformers=[]}return Pe(g,[{key:"filter",value:function(g){return this._transformers.push((function(A){return oI(A).call(A,g)})),this}},{key:"map",value:function(g){return this._transformers.push((function(A){return mC(A).call(A,g)})),this}},{key:"flatMap",value:function(g){return this._transformers.push((function(A){return ys(A).call(A,g)})),this}},{key:"to",value:function(g){return new ta(this._source,this._transformers,g)}}]),g}();function Ca(g){return"string"==typeof g||"number"==typeof g}var Ia=function(){function g(A){De(this,g),this._queue=[],this._timeout=null,this._extended=null,this.delay=null,this.max=1/0,this.setOptions(A)}return Pe(g,[{key:"setOptions",value:function(g){g&&void 0!==g.delay&&(this.delay=g.delay),g&&void 0!==g.max&&(this.max=g.max),this._flushIfNeeded()}},{key:"destroy",value:function(){if(this.flush(),this._extended){for(var g=this._extended.object,A=this._extended.methods,t=0;t<A.length;t++){var e=A[t];e.original?g[e.name]=e.original:delete g[e.name]}this._extended=null}}},{key:"replace",value:function(g,A){var t=this,e=g[A];if(!e)throw new Error("Method "+A+" undefined");g[A]=function(){for(var g=arguments.length,A=new Array(g),C=0;C<g;C++)A[C]=arguments[C];t.queue({args:A,fn:e,context:this})}}},{key:"queue",value:function(g){"function"==typeof g?this._queue.push({fn:g}):this._queue.push(g),this._flushIfNeeded()}},{key:"_flushIfNeeded",value:function(){var g=this;this._queue.length>this.max&&this.flush(),null!=this._timeout&&(clearTimeout(this._timeout),this._timeout=null),this.queue.length>0&&"number"==typeof this.delay&&(this._timeout=WI((function(){g.flush()}),this.delay))}},{key:"flush",value:function(){var g,A;RC(g=WC(A=this._queue).call(A,0)).call(g,(function(g){g.fn.apply(g.context||g.fn,g.args||[])}))}}],[{key:"extend",value:function(A,t){var e=new g(t);if(void 0!==A.flush)throw new Error("Target object already has a property flush");A.flush=function(){e.flush()};var C=[{name:"flush",original:void 0}];if(t&&t.replace)for(var I=0;I<t.replace.length;I++){var i=t.replace[I];C.push({name:i,original:A[i]}),e.replace(A,i)}return e._extended={object:A,methods:C},e}}]),g}(),ia=function(){function g(){De(this,g),this._subscribers={"*":[],add:[],remove:[],update:[]},this.subscribe=g.prototype.on,this.unsubscribe=g.prototype.off}return Pe(g,[{key:"_trigger",value:function(g,A,t){var e,C;if("*"===g)throw new Error("Cannot trigger event *");RC(e=hC(C=[]).call(C,rC(this._subscribers[g]),rC(this._subscribers["*"]))).call(e,(function(e){e(g,A,null!=t?t:null)}))}},{key:"on",value:function(g,A){"function"==typeof A&&this._subscribers[g].push(A)}},{key:"off",value:function(g,A){var t;this._subscribers[g]=oI(t=this._subscribers[g]).call(t,(function(g){return g!==A}))}}]),g}(),oa=function(){function g(A){De(this,g),this._pairs=A}return Pe(g,[{key:ms,value:rs.mark((function g(){var A,t,e,C,I;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:A=ga(this._pairs),g.prev=1,A.s();case 3:if((t=A.n()).done){g.next=9;break}return e=IC(t.value,2),C=e[0],I=e[1],g.next=7,[C,I];case 7:g.next=3;break;case 9:g.next=14;break;case 11:g.prev=11,g.t0=g.catch(1),A.e(g.t0);case 14:return g.prev=14,A.f(),g.finish(14);case 17:case"end":return g.stop()}}),g,this,[[1,11,14,17]])}))},{key:"entries",value:rs.mark((function g(){var A,t,e,C,I;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:A=ga(this._pairs),g.prev=1,A.s();case 3:if((t=A.n()).done){g.next=9;break}return e=IC(t.value,2),C=e[0],I=e[1],g.next=7,[C,I];case 7:g.next=3;break;case 9:g.next=14;break;case 11:g.prev=11,g.t0=g.catch(1),A.e(g.t0);case 14:return g.prev=14,A.f(),g.finish(14);case 17:case"end":return g.stop()}}),g,this,[[1,11,14,17]])}))},{key:"keys",value:rs.mark((function g(){var A,t,e,C;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:A=ga(this._pairs),g.prev=1,A.s();case 3:if((t=A.n()).done){g.next=9;break}return e=IC(t.value,1),C=e[0],g.next=7,C;case 7:g.next=3;break;case 9:g.next=14;break;case 11:g.prev=11,g.t0=g.catch(1),A.e(g.t0);case 14:return g.prev=14,A.f(),g.finish(14);case 17:case"end":return g.stop()}}),g,this,[[1,11,14,17]])}))},{key:"values",value:rs.mark((function g(){var A,t,e,C;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:A=ga(this._pairs),g.prev=1,A.s();case 3:if((t=A.n()).done){g.next=9;break}return e=IC(t.value,2),C=e[1],g.next=7,C;case 7:g.next=3;break;case 9:g.next=14;break;case 11:g.prev=11,g.t0=g.catch(1),A.e(g.t0);case 14:return g.prev=14,A.f(),g.finish(14);case 17:case"end":return g.stop()}}),g,this,[[1,11,14,17]])}))},{key:"toIdArray",value:function(){var g;return mC(g=rC(this._pairs)).call(g,(function(g){return g[0]}))}},{key:"toItemArray",value:function(){var g;return mC(g=rC(this._pairs)).call(g,(function(g){return g[1]}))}},{key:"toEntryArray",value:function(){return rC(this._pairs)}},{key:"toObjectMap",value:function(){var g,A=MI(null),t=ga(this._pairs);try{for(t.s();!(g=t.n()).done;){var e=IC(g.value,2),C=e[0],I=e[1];A[C]=I}}catch(g){t.e(g)}finally{t.f()}return A}},{key:"toMap",value:function(){return new Gr(this._pairs)}},{key:"toIdSet",value:function(){return new bs(this.toIdArray())}},{key:"toItemSet",value:function(){return new bs(this.toItemArray())}},{key:"cache",value:function(){return new g(rC(this._pairs))}},{key:"distinct",value:function(g){var A,t=new bs,e=ga(this._pairs);try{for(e.s();!(A=e.n()).done;){var C=IC(A.value,2),I=C[0],i=C[1];t.add(g(i,I))}}catch(g){e.e(g)}finally{e.f()}return t}},{key:"filter",value:function(A){var t=this._pairs;return new g(Me({},ms,rs.mark((function g(){var e,C,I,i,o;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:e=ga(t),g.prev=1,e.s();case 3:if((C=e.n()).done){g.next=10;break}if(I=IC(C.value,2),i=I[0],o=I[1],!A(o,i)){g.next=8;break}return g.next=8,[i,o];case 8:g.next=3;break;case 10:g.next=15;break;case 12:g.prev=12,g.t0=g.catch(1),e.e(g.t0);case 15:return g.prev=15,e.f(),g.finish(15);case 18:case"end":return g.stop()}}),g,null,[[1,12,15,18]])}))))}},{key:"forEach",value:function(g){var A,t=ga(this._pairs);try{for(t.s();!(A=t.n()).done;){var e=IC(A.value,2),C=e[0];g(e[1],C)}}catch(g){t.e(g)}finally{t.f()}}},{key:"map",value:function(A){var t=this._pairs;return new g(Me({},ms,rs.mark((function g(){var e,C,I,i,o;return rs.wrap((function(g){for(;;)switch(g.prev=g.next){case 0:e=ga(t),g.prev=1,e.s();case 3:if((C=e.n()).done){g.next=9;break}return I=IC(C.value,2),i=I[0],o=I[1],g.next=7,[i,A(o,i)];case 7:g.next=3;break;case 9:g.next=14;break;case 11:g.prev=11,g.t0=g.catch(1),e.e(g.t0);case 14:return g.prev=14,e.f(),g.finish(14);case 17:case"end":return g.stop()}}),g,null,[[1,11,14,17]])}))))}},{key:"max",value:function(g){var A=Ot(this._pairs),t=A.next();if(t.done)return null;for(var e=t.value[1],C=g(t.value[1],t.value[0]);!(t=A.next()).done;){var I=IC(t.value,2),i=I[0],o=I[1],n=g(o,i);n>C&&(C=n,e=o)}return e}},{key:"min",value:function(g){var A=Ot(this._pairs),t=A.next();if(t.done)return null;for(var e=t.value[1],C=g(t.value[1],t.value[0]);!(t=A.next()).done;){var I=IC(t.value,2),i=I[0],o=I[1],n=g(o,i);n<C&&(C=n,e=o)}return e}},{key:"reduce",value:function(g,A){var t,e=ga(this._pairs);try{for(e.s();!(t=e.n()).done;){var C=IC(t.value,2),I=C[0];A=g(A,C[1],I)}}catch(g){e.e(g)}finally{e.f()}return A}},{key:"sort",value:function(A){var t=this;return new g(Me({},ms,(function(){var g;return Ot(Rs(g=rC(t._pairs)).call(g,(function(g,t){var e=IC(g,2),C=e[0],I=e[1],i=IC(t,2),o=i[0],n=i[1];return A(I,n,C,o)})))})))}}]),g}();var na=function(g){Is(t,g);var A=$s(t);function t(g,e){var C;return De(this,t),(C=A.call(this))._queue=null,g&&!uC(g)&&(e=g,g=[]),C._options=e||{},C._data=new Gr,C.length=0,C._idProp=C._options.fieldId||"id",g&&g.length&&C.add(g),C.setOptions(e),C}return Pe(t,[{key:"idProp",get:function(){return this._idProp}},{key:"setOptions",value:function(g){g&&void 0!==g.queue&&(!1===g.queue?this._queue&&(this._queue.destroy(),this._queue=null):(this._queue||(this._queue=Ia.extend(this,{replace:["add","update","remove"]})),g.queue&&"object"===nC(g.queue)&&this._queue.setOptions(g.queue)))}},{key:"add",value:function(g,A){var t,e=this,C=[];if(uC(g)){var I=mC(g).call(g,(function(g){return g[e._idProp]}));if(Kr(I).call(I,(function(g){return e._data.has(g)})))throw new Error("A duplicate id was found in the parameter array.");for(var i=0,o=g.length;i<o;i++)t=this._addItem(g[i]),C.push(t)}else{if(!g||"object"!==nC(g))throw new Error("Unknown dataType");t=this._addItem(g),C.push(t)}return C.length&&this._trigger("add",{items:C},A),C}},{key:"update",value:function(g,A){var t=this,e=[],C=[],I=[],i=[],o=this._idProp,n=function(g){var A=g[o];if(null!=A&&t._data.has(A)){var n=g,r=sg({},t._data.get(A)),s=t._updateItem(n);C.push(s),i.push(n),I.push(r)}else{var a=t._addItem(g);e.push(a)}};if(uC(g))for(var r=0,s=g.length;r<s;r++)g[r]&&"object"===nC(g[r])?n(g[r]):console.warn("Ignoring input item, which is not an object at index "+r);else{if(!g||"object"!==nC(g))throw new Error("Unknown dataType");n(g)}if(e.length&&this._trigger("add",{items:e},A),C.length){var a={items:C,oldData:I,data:i};this._trigger("update",a,A)}return hC(e).call(e,C)}},{key:"updateOnly",value:function(g,A){var t,e=this;uC(g)||(g=[g]);var C=mC(t=mC(g).call(g,(function(g){var A=e._data.get(g[e._idProp]);if(null==A)throw new Error("Updating non-existent items is not allowed.");return{oldData:A,update:g}}))).call(t,(function(g){var A=g.oldData,t=g.update,C=A[e._idProp],I=function(g){for(var A,t=arguments.length,e=new Array(t>1?t-1:0),C=1;C<t;C++)e[C-1]=arguments[C];return Lo.apply(void 0,hC(A=[{},g]).call(A,e))}(A,t);return e._data.set(C,I),{id:C,oldData:A,updatedData:I}}));if(C.length){var I={items:mC(C).call(C,(function(g){return g.id})),oldData:mC(C).call(C,(function(g){return g.oldData})),data:mC(C).call(C,(function(g){return g.updatedData}))};return this._trigger("update",I,A),I.items}return[]}},{key:"get",value:function(g,A){var t=void 0,e=void 0,C=void 0;Ca(g)?(t=g,C=A):uC(g)?(e=g,C=A):C=g;var I,i=C&&"Object"===C.returnType?"Object":"Array",o=C&&oI(C),n=[],r=void 0,s=void 0,a=void 0;if(null!=t)(r=this._data.get(t))&&o&&!o(r)&&(r=void 0);else if(null!=e)for(var d=0,h=e.length;d<h;d++)null==(r=this._data.get(e[d]))||o&&!o(r)||n.push(r);else for(var l,c=0,u=(s=rC(zs(l=this._data).call(l))).length;c<u;c++)a=s[c],null==(r=this._data.get(a))||o&&!o(r)||n.push(r);if(C&&C.order&&null==t&&this._sort(n,C.order),C&&C.fields){var p=C.fields;if(null!=t&&null!=r)r=this._filterFields(r,p);else for(var f=0,v=n.length;f<v;f++)n[f]=this._filterFields(n[f],p)}if("Object"==i){for(var y={},m=0,b=n.length;m<b;m++){var w=n[m];y[w[this._idProp]]=w}return y}return null!=t?null!==(I=r)&&void 0!==I?I:null:n}},{key:"getIds",value:function(g){var A=this._data,t=g&&oI(g),e=g&&g.order,C=rC(zs(A).call(A)),I=[];if(t)if(e){for(var i=[],o=0,n=C.length;o<n;o++){var r=C[o],s=this._data.get(r);null!=s&&t(s)&&i.push(s)}this._sort(i,e);for(var a=0,d=i.length;a<d;a++)I.push(i[a][this._idProp])}else for(var h=0,l=C.length;h<l;h++){var c=C[h],u=this._data.get(c);null!=u&&t(u)&&I.push(u[this._idProp])}else if(e){for(var p=[],f=0,v=C.length;f<v;f++){var y=C[f];p.push(A.get(y))}this._sort(p,e);for(var m=0,b=p.length;m<b;m++)I.push(p[m][this._idProp])}else for(var w=0,k=C.length;w<k;w++){var x=C[w],E=A.get(x);null!=E&&I.push(E[this._idProp])}return I}},{key:"getDataSet",value:function(){return this}},{key:"forEach",value:function(g,A){var t=A&&oI(A),e=this._data,C=rC(zs(e).call(e));if(A&&A.order)for(var I=this.get(A),i=0,o=I.length;i<o;i++){var n=I[i];g(n,n[this._idProp])}else for(var r=0,s=C.length;r<s;r++){var a=C[r],d=this._data.get(a);null==d||t&&!t(d)||g(d,a)}}},{key:"map",value:function(g,A){for(var t=A&&oI(A),e=[],C=this._data,I=rC(zs(C).call(C)),i=0,o=I.length;i<o;i++){var n=I[i],r=this._data.get(n);null==r||t&&!t(r)||e.push(g(r,n))}return A&&A.order&&this._sort(e,A.order),e}},{key:"_filterFields",value:function(g,A){var t;return g?cs(t=uC(A)?A:wC(A)).call(t,(function(A,t){return A[t]=g[t],A}),{}):g}},{key:"_sort",value:function(g,A){if("string"==typeof A){var t=A;Rs(g).call(g,(function(g,A){var e=g[t],C=A[t];return e>C?1:e<C?-1:0}))}else{if("function"!=typeof A)throw new TypeError("Order must be a function or a string");Rs(g).call(g,A)}}},{key:"remove",value:function(g,A){for(var t=[],e=[],C=uC(g)?g:[g],I=0,i=C.length;I<i;I++){var o=this._remove(C[I]);if(o){var n=o[this._idProp];null!=n&&(t.push(n),e.push(o))}}return t.length&&this._trigger("remove",{items:t,oldData:e},A),t}},{key:"_remove",value:function(g){var A;if(Ca(g)?A=g:g&&"object"===nC(g)&&(A=g[this._idProp]),null!=A&&this._data.has(A)){var t=this._data.get(A)||null;return this._data.delete(A),--this.length,t}return null}},{key:"clear",value:function(g){for(var A,t=rC(zs(A=this._data).call(A)),e=[],C=0,I=t.length;C<I;C++)e.push(this._data.get(t[C]));return this._data.clear(),this.length=0,this._trigger("remove",{items:t,oldData:e},g),t}},{key:"max",value:function(g){var A,t,e=null,C=null,I=ga(Gs(A=this._data).call(A));try{for(I.s();!(t=I.n()).done;){var i=t.value,o=i[g];"number"==typeof o&&(null==C||o>C)&&(e=i,C=o)}}catch(g){I.e(g)}finally{I.f()}return e||null}},{key:"min",value:function(g){var A,t,e=null,C=null,I=ga(Gs(A=this._data).call(A));try{for(I.s();!(t=I.n()).done;){var i=t.value,o=i[g];"number"==typeof o&&(null==C||o<C)&&(e=i,C=o)}}catch(g){I.e(g)}finally{I.f()}return e||null}},{key:"distinct",value:function(g){for(var A=this._data,t=rC(zs(A).call(A)),e=[],C=0,I=0,i=t.length;I<i;I++){for(var o=t[I],n=A.get(o)[g],r=!1,s=0;s<C;s++)if(e[s]==n){r=!0;break}r||void 0===n||(e[C]=n,C++)}return e}},{key:"_addItem",value:function(g){var A=function(g,A){return null==g[A]&&(g[A]=Xs()),g}(g,this._idProp),t=A[this._idProp];if(this._data.has(t))throw new Error("Cannot add item: item with id "+t+" already exists");return this._data.set(t,A),++this.length,t}},{key:"_updateItem",value:function(g){var A=g[this._idProp];if(null==A)throw new Error("Cannot update item: item has no id (item: "+LI(g)+")");var t=this._data.get(A);if(!t)throw new Error("Cannot update item: no item with id "+A+" found");return this._data.set(A,qs(qs({},t),g)),A}},{key:"stream",value:function(g){if(g){var A=this._data;return new oa(Me({},ms,rs.mark((function t(){var e,C,I,i;return rs.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=ga(g),t.prev=1,e.s();case 3:if((C=e.n()).done){t.next=11;break}if(I=C.value,null==(i=A.get(I))){t.next=9;break}return t.next=9,[I,i];case 9:t.next=3;break;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(1),e.e(t.t0);case 16:return t.prev=16,e.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[1,13,16,19]])}))))}var t;return new oa(Me({},ms,fg(t=Ys(this._data)).call(t,this._data)))}}]),t}(ia),ra=function(g){Is(t,g);var A=$s(t);function t(g,e){var C,I;return De(this,t),(I=A.call(this)).length=0,I._ids=new bs,I._options=e||{},I._listener=fg(C=I._onEvent).call(C,As(I)),I.setData(g),I}return Pe(t,[{key:"idProp",get:function(){return this.getDataSet().idProp}},{key:"setData",value:function(g){if(this._data){this._data.off&&this._data.off("*",this._listener);var A=this._data.getIds({filter:oI(this._options)}),t=this._data.get(A);this._ids.clear(),this.length=0,this._trigger("remove",{items:A,oldData:t})}if(null!=g){this._data=g;for(var e=this._data.getIds({filter:oI(this._options)}),C=0,I=e.length;C<I;C++){var i=e[C];this._ids.add(i)}this.length=e.length,this._trigger("add",{items:e})}else this._data=new na;this._data.on&&this._data.on("*",this._listener)}},{key:"refresh",value:function(){for(var g=this._data.getIds({filter:oI(this._options)}),A=rC(this._ids),t={},e=[],C=[],I=[],i=0,o=g.length;i<o;i++){var n=g[i];t[n]=!0,this._ids.has(n)||(e.push(n),this._ids.add(n))}for(var r=0,s=A.length;r<s;r++){var a=A[r],d=this._data.get(a);null==d?console.error("If you see this, report it please."):t[a]||(C.push(a),I.push(d),this._ids.delete(a))}this.length+=e.length-C.length,e.length&&this._trigger("add",{items:e}),C.length&&this._trigger("remove",{items:C,oldData:I})}},{key:"get",value:function(g,A){if(null==this._data)return null;var t,e=null;Ca(g)||uC(g)?(e=g,t=A):t=g;var C=sg({},this._options,t),I=oI(this._options),i=t&&oI(t);return I&&i&&(C.filter=function(g){return I(g)&&i(g)}),null==e?this._data.get(C):this._data.get(e,C)}},{key:"getIds",value:function(g){if(this._data.length){var A,t=oI(this._options),e=null!=g?oI(g):null;return A=e?t?function(g){return t(g)&&e(g)}:e:t,this._data.getIds({filter:A,order:g&&g.order})}return[]}},{key:"forEach",value:function(g,A){if(this._data){var t,e,C=oI(this._options),I=A&&oI(A);e=I?C?function(g){return C(g)&&I(g)}:I:C,RC(t=this._data).call(t,g,{filter:e,order:A&&A.order})}}},{key:"map",value:function(g,A){if(this._data){var t,e,C=oI(this._options),I=A&&oI(A);return e=I?C?function(g){return C(g)&&I(g)}:I:C,mC(t=this._data).call(t,g,{filter:e,order:A&&A.order})}return[]}},{key:"getDataSet",value:function(){return this._data.getDataSet()}},{key:"stream",value:function(g){var A;return this._data.stream(g||Me({},ms,fg(A=zs(this._ids)).call(A,this._ids)))}},{key:"dispose",value:function(){var g;null!==(g=this._data)&&void 0!==g&&g.off&&this._data.off("*",this._listener);var A,e="This data view has already been disposed of.",C={get:function(){throw new Error(e)},set:function(){throw new Error(e)},configurable:!1},I=ga(cC(t.prototype));try{for(I.s();!(A=I.n()).done;){var i=A.value;Te(this,i,C)}}catch(g){I.e(g)}finally{I.f()}}},{key:"_onEvent",value:function(g,A,t){if(A&&A.items&&this._data){var e=A.items,C=[],I=[],i=[],o=[],n=[],r=[];switch(g){case"add":for(var s=0,a=e.length;s<a;s++){var d=e[s];this.get(d)&&(this._ids.add(d),C.push(d))}break;case"update":for(var h=0,l=e.length;h<l;h++){var c=e[h];this.get(c)?this._ids.has(c)?(I.push(c),n.push(A.data[h]),o.push(A.oldData[h])):(this._ids.add(c),C.push(c)):this._ids.has(c)&&(this._ids.delete(c),i.push(c),r.push(A.oldData[h]))}break;case"remove":for(var u=0,p=e.length;u<p;u++){var f=e[u];this._ids.has(f)&&(this._ids.delete(f),i.push(f),r.push(A.oldData[u]))}}this.length+=C.length-i.length,C.length&&this._trigger("add",{items:C},t),I.length&&this._trigger("update",{items:I,oldData:o,data:n},t),i.length&&this._trigger("remove",{items:i,oldData:r},t)}}}]),t}(ia);function sa(g,A){return"object"===nC(A)&&null!==A&&g===A.idProp&&"function"==typeof A.add&&"function"==typeof A.clear&&"function"==typeof A.distinct&&"function"==typeof RC(A)&&"function"==typeof A.get&&"function"==typeof A.getDataSet&&"function"==typeof A.getIds&&"number"==typeof A.length&&"function"==typeof mC(A)&&"function"==typeof A.max&&"function"==typeof A.min&&"function"==typeof A.off&&"function"==typeof A.on&&"function"==typeof A.remove&&"function"==typeof A.setOptions&&"function"==typeof A.stream&&"function"==typeof A.update&&"function"==typeof A.updateOnly}function aa(g,A){return"object"===nC(A)&&null!==A&&g===A.idProp&&"function"==typeof RC(A)&&"function"==typeof A.get&&"function"==typeof A.getDataSet&&"function"==typeof A.getIds&&"number"==typeof A.length&&"function"==typeof mC(A)&&"function"==typeof A.off&&"function"==typeof A.on&&"function"==typeof A.stream&&sa(g,A.getDataSet())}var da=Object.freeze({__proto__:null,DELETE:Go,DataSet:na,DataStream:oa,DataView:ra,Queue:Ia,createNewDataPipeFrom:function(g){return new ea(g)},isDataSetLike:sa,isDataViewLike:aa}),ha=uI.trim,la=C.parseFloat,ca=1/la(aI+"-0")!=-1/0?function(g){var A=ha(String(g)),t=la(A);return 0===t&&"-"==A.charAt(0)?-0:t}:la;Y({global:!0,forced:parseFloat!=ca},{parseFloat:ca});var ua=B.parseFloat,pa=Bt.f,fa=I((function(){return!Object.getOwnPropertyNames(1)}));Y({target:"Object",stat:!0,forced:fa},{getOwnPropertyNames:pa});var va=B.Object,ya=function(g){return va.getOwnPropertyNames(g)};function ma(g,A){var t=["node","edge","label"],e=!0,C=xn(A,"chosen");if("boolean"==typeof C)e=C;else if("object"===nC(C)){if(-1===DI(t).call(t,g))throw new Error("choosify: subOption '"+g+"' should be one of '"+t.join("', '")+"'");var I=xn(A,["chosen",g]);"boolean"!=typeof I&&"function"!=typeof I||(e=I)}return e}function ba(g,A,t){if(g.width<=0||g.height<=0)return!1;if(void 0!==t){var e={x:A.x-t.x,y:A.y-t.y};if(0!==t.angle){var C=-t.angle;A={x:Math.cos(C)*e.x-Math.sin(C)*e.y,y:Math.sin(C)*e.x+Math.cos(C)*e.y}}else A=e}var I=g.x+g.width,i=g.y+g.width;return g.left<A.x&&I>A.x&&g.top<A.y&&i>A.y}function wa(g){return"string"==typeof g&&""!==g}function ka(g,A,t,e){var C=e.x,I=e.y;if("function"==typeof e.distanceToBorder){var i=e.distanceToBorder(g,A),o=Math.sin(A)*i,n=Math.cos(A)*i;n===i?(C+=i,I=e.y):o===i?(C=e.x,I-=i):(C+=n,I-=o)}else e.shape.width>e.shape.height?(C=e.x+.5*e.shape.width,I=e.y-t):(C=e.x+t,I=e.y-.5*e.shape.height);return{x:C,y:I}}var xa=function(){function g(A){De(this,g),this.measureText=A,this.current=0,this.width=0,this.height=0,this.lines=[]}return Pe(g,[{key:"_add",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";void 0===this.lines[g]&&(this.lines[g]={width:0,height:0,blocks:[]});var e=A;void 0!==A&&""!==A||(e=" ");var C=this.measureText(e,t),I=sg({},Gs(C));I.text=A,I.width=C.width,I.mod=t,void 0!==A&&""!==A||(I.width=0),this.lines[g].blocks.push(I),this.lines[g].width+=I.width}},{key:"curWidth",value:function(){var g=this.lines[this.current];return void 0===g?0:g.width}},{key:"append",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,g,A)}},{key:"newLine",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,g,A),this.current++}},{key:"determineLineHeights",value:function(){for(var g=0;g<this.lines.length;g++){var A=this.lines[g],t=0;if(void 0!==A.blocks)for(var e=0;e<A.blocks.length;e++){var C=A.blocks[e];t<C.height&&(t=C.height)}A.height=t}}},{key:"determineLabelSize",value:function(){for(var g=0,A=0,t=0;t<this.lines.length;t++){var e=this.lines[t];e.width>g&&(g=e.width),A+=e.height}this.width=g,this.height=A}},{key:"removeEmptyBlocks",value:function(){for(var g=[],A=0;A<this.lines.length;A++){var t=this.lines[A];if(0!==t.blocks.length&&(A!==this.lines.length-1||0!==t.width)){var e={};sg(e,t),e.blocks=[];for(var C=void 0,I=[],i=0;i<t.blocks.length;i++){var o=t.blocks[i];0!==o.width?I.push(o):void 0===C&&(C=o)}0===I.length&&void 0!==C&&I.push(C),e.blocks=I,g.push(e)}}return g}},{key:"finalize",value:function(){this.determineLineHeights(),this.determineLabelSize();var g=this.removeEmptyBlocks();return{width:this.width,height:this.height,lines:g}}}]),g}(),Ea={"<b>":/<b>/,"<i>":/<i>/,"<code>":/<code>/,"</b>":/<\/b>/,"</i>":/<\/i>/,"</code>":/<\/code>/,"*":/\*/,_:/_/,"`":/`/,afterBold:/[^*]/,afterItal:/[^_]/,afterMono:/[^`]/},Oa=function(){function g(A){De(this,g),this.text=A,this.bold=!1,this.ital=!1,this.mono=!1,this.spacing=!1,this.position=0,this.buffer="",this.modStack=[],this.blocks=[]}return Pe(g,[{key:"mod",value:function(){return 0===this.modStack.length?"normal":this.modStack[0]}},{key:"modName",value:function(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":this.bold&&this.ital?"boldital":this.bold?"bold":this.ital?"ital":void 0}},{key:"emitBlock",value:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(this.blocks.push({text:this.buffer,mod:this.modName()}),this.buffer="")}},{key:"add",value:function(g){" "===g&&(this.spacing=!0),this.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=g&&(this.buffer+=g)}},{key:"parseWS",value:function(g){return!!/[ \t]/.test(g)&&(this.mono?this.add(g):this.spacing=!0,!0)}},{key:"setTag",value:function(g){this.emitBlock(),this[g]=!0,this.modStack.unshift(g)}},{key:"unsetTag",value:function(g){this.emitBlock(),this[g]=!1,this.modStack.shift()}},{key:"parseStartTag",value:function(g,A){return!(this.mono||this[g]||!this.match(A))&&(this.setTag(g),!0)}},{key:"match",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this.prepareRegExp(g),e=IC(t,2),C=e[0],I=e[1],i=C.test(this.text.substr(this.position,I));return i&&A&&(this.position+=I-1),i}},{key:"parseEndTag",value:function(g,A,t){var e=this.mod()===g;return!(!(e="mono"===g?e&&this.mono:e&&!this.mono)||!this.match(A))&&(void 0!==t?(this.position===this.text.length-1||this.match(t,!1))&&this.unsetTag(g):this.unsetTag(g),!0)}},{key:"replace",value:function(g,A){return!!this.match(g)&&(this.add(A),this.position+=length-1,!0)}},{key:"prepareRegExp",value:function(g){var A,t;if(g instanceof RegExp)t=g,A=1;else{var e=Ea[g];t=void 0!==e?e:new RegExp(g),A=g.length}return[t,A]}}]),g}(),Ta=function(){function g(A,t,e,C){var I=this;De(this,g),this.ctx=A,this.parent=t,this.selected=e,this.hover=C;this.lines=new xa((function(g,t){if(void 0===g)return 0;var i=I.parent.getFormattingValues(A,e,C,t),o=0;""!==g&&(o=I.ctx.measureText(g).width);return{width:o,values:i}}))}return Pe(g,[{key:"process",value:function(g){if(!wa(g))return this.lines.finalize();var A=this.parent.fontOptions;g=(g=g.replace(/\r\n/g,"\n")).replace(/\r/g,"\n");var t=String(g).split("\n"),e=t.length;if(A.multi)for(var C=0;C<e;C++){var I=this.splitBlocks(t[C],A.multi);if(void 0!==I)if(0!==I.length){if(A.maxWdt>0)for(var i=0;i<I.length;i++){var o=I[i].mod,n=I[i].text;this.splitStringIntoLines(n,o,!0)}else for(var r=0;r<I.length;r++){var s=I[r].mod,a=I[r].text;this.lines.append(a,s)}this.lines.newLine()}else this.lines.newLine("")}else if(A.maxWdt>0)for(var d=0;d<e;d++)this.splitStringIntoLines(t[d]);else for(var h=0;h<e;h++)this.lines.newLine(t[h]);return this.lines.finalize()}},{key:"decodeMarkupSystem",value:function(g){var A="none";return"markdown"===g||"md"===g?A="markdown":!0!==g&&"html"!==g||(A="html"),A}},{key:"splitHtmlBlocks",value:function(g){for(var A=new Oa(g),t=function(g){return!!/&/.test(g)&&(A.replace(A.text,"<","<")||A.replace(A.text,"&","&")||A.add("&"),!0)};A.position<A.text.length;){var e=A.text.charAt(A.position);A.parseWS(e)||/</.test(e)&&(A.parseStartTag("bold","<b>")||A.parseStartTag("ital","<i>")||A.parseStartTag("mono","<code>")||A.parseEndTag("bold","</b>")||A.parseEndTag("ital","</i>")||A.parseEndTag("mono","</code>"))||t(e)||A.add(e),A.position++}return A.emitBlock(),A.blocks}},{key:"splitMarkdownBlocks",value:function(g){for(var A=this,t=new Oa(g),e=!0,C=function(g){return!!/\\/.test(g)&&(t.position<A.text.length+1&&(t.position++,g=A.text.charAt(t.position),/ \t/.test(g)?t.spacing=!0:(t.add(g),e=!1)),!0)};t.position<t.text.length;){var I=t.text.charAt(t.position);t.parseWS(I)||C(I)||(e||t.spacing)&&(t.parseStartTag("bold","*")||t.parseStartTag("ital","_")||t.parseStartTag("mono","`"))||t.parseEndTag("bold","*","afterBold")||t.parseEndTag("ital","_","afterItal")||t.parseEndTag("mono","`","afterMono")||(t.add(I),e=!1),t.position++}return t.emitBlock(),t.blocks}},{key:"splitBlocks",value:function(g,A){var t=this.decodeMarkupSystem(A);return"none"===t?[{text:g,mod:"normal"}]:"markdown"===t?this.splitMarkdownBlocks(g):"html"===t?this.splitHtmlBlocks(g):void 0}},{key:"overMaxWidth",value:function(g){var A=this.ctx.measureText(g).width;return this.lines.curWidth()+A>this.parent.fontOptions.maxWdt}},{key:"getLongestFit",value:function(g){for(var A="",t=0;t<g.length;){var e=A+(""===A?"":" ")+g[t];if(this.overMaxWidth(e))break;A=e,t++}return t}},{key:"getLongestFitWord",value:function(g){for(var A=0;A<g.length&&!this.overMaxWidth(lC(g).call(g,0,A));)A++;return A}},{key:"splitStringIntoLines",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parent.getFormattingValues(this.ctx,this.selected,this.hover,A);for(var e=(g=(g=g.replace(/^( +)/g,"$1\r")).replace(/([^\r][^ ]*)( +)/g,"$1\r$2\r")).split("\r");e.length>0;){var C=this.getLongestFit(e);if(0===C){var I=e[0],i=this.getLongestFitWord(I);this.lines.newLine(lC(I).call(I,0,i),A),e[0]=lC(I).call(I,i)}else{var o=C;" "===e[C-1]?C--:" "===e[o]&&o++;var n=lC(e).call(e,0,C).join("");C==e.length&&t?this.lines.append(n,A):this.lines.newLine(n,A),e=lC(e).call(e,o)}}}}]),g}(),Da=["bold","ital","boldital","mono"],Na=function(){function g(A,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];De(this,g),this.body=A,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(t),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=e}return Pe(g,[{key:"setOptions",value:function(g){if(this.elementOptions=g,this.initFontOptions(g.font),wa(g.label)?this.labelDirty=!0:g.label=void 0,void 0!==g.font&&null!==g.font)if("string"==typeof g.font)this.baseSize=this.fontOptions.size;else if("object"===nC(g.font)){var A=g.font.size;void 0!==A&&(this.baseSize=A)}}},{key:"initFontOptions",value:function(A){var t=this;an(Da,(function(g){t.fontOptions[g]={}})),g.parseFontString(this.fontOptions,A)?this.fontOptions.vadjust=0:an(A,(function(g,A){null!=g&&"object"!==nC(g)&&(t.fontOptions[A]=g)}))}},{key:"constrain",value:function(g){var A={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},t=xn(g,"widthConstraint");if("number"==typeof t)A.maxWdt=Number(t),A.minWdt=Number(t);else if("object"===nC(t)){var e=xn(g,["widthConstraint","maximum"]);"number"==typeof e&&(A.maxWdt=Number(e));var C=xn(g,["widthConstraint","minimum"]);"number"==typeof C&&(A.minWdt=Number(C))}var I=xn(g,"heightConstraint");if("number"==typeof I)A.minHgt=Number(I);else if("object"===nC(I)){var i=xn(g,["heightConstraint","minimum"]);"number"==typeof i&&(A.minHgt=Number(i));var o=xn(g,["heightConstraint","valign"]);"string"==typeof o&&("top"!==o&&"bottom"!==o||(A.valign=o))}return A}},{key:"update",value:function(g,A){this.setOptions(g,!0),this.propagateFonts(A),on(this.fontOptions,this.constrain(A)),this.fontOptions.chooser=ma("label",A)}},{key:"adjustSizes",value:function(g){var A=g?g.right+g.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=A,this.fontOptions.minWdt-=A);var t=g?g.top+g.bottom:0;this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=t)}},{key:"addFontOptionsToPile",value:function(g,A){for(var t=0;t<A.length;++t)this.addFontToPile(g,A[t])}},{key:"addFontToPile",value:function(g,A){if(void 0!==A&&void 0!==A.font&&null!==A.font){var t=A.font;g.push(t)}}},{key:"getBasicOptions",value:function(A){for(var t={},e=0;e<A.length;++e){var C=A[e],I={};g.parseFontString(I,C)&&(C=I),an(C,(function(g,A){void 0!==g&&(Object.prototype.hasOwnProperty.call(t,A)||(-1!==DI(Da).call(Da,A)?t[A]={}:t[A]=g))}))}return t}},{key:"getFontOption",value:function(A,t,e){for(var C,I=0;I<A.length;++I){var i=A[I];if(Object.prototype.hasOwnProperty.call(i,t)){if(null==(C=i[t]))continue;var o={};if(g.parseFontString(o,C)&&(C=o),Object.prototype.hasOwnProperty.call(C,e))return C[e]}}if(Object.prototype.hasOwnProperty.call(this.fontOptions,e))return this.fontOptions[e];throw new Error("Did not find value for multi-font for property: '"+e+"'")}},{key:"getFontOptions",value:function(g,A){for(var t={},e=["color","size","face","mod","vadjust"],C=0;C<e.length;++C){var I=e[C];t[I]=this.getFontOption(g,A,I)}return t}},{key:"propagateFonts",value:function(g){var A=this,t=[];this.addFontOptionsToPile(t,g),this.fontOptions=this.getBasicOptions(t);for(var e=function(g){var e=Da[g],C=A.fontOptions[e];an(A.getFontOptions(t,e),(function(g,A){C[A]=g})),C.size=Number(C.size),C.vadjust=Number(C.vadjust)},C=0;C<Da.length;++C)e(C)}},{key:"draw",value:function(g,A,t,e,C){var I=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";if(void 0!==this.elementOptions.label){var i=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&i<this.elementOptions.scaling.label.drawThreshold-1||(i>=this.elementOptions.scaling.label.maxVisible&&(i=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(g,e,C,A,t,I),this._drawBackground(g),this._drawText(g,A,this.size.yLine,I,i))}}},{key:"_drawBackground",value:function(g){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){g.fillStyle=this.fontOptions.background;var A=this.getSize();g.fillRect(A.left,A.top,A.width,A.height)}}},{key:"_drawText",value:function(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"middle",C=arguments.length>4?arguments[4]:void 0,I=this._setAlignment(g,A,t,e),i=IC(I,2);A=i[0],t=i[1],g.textAlign="left",A-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(t-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(t+=(this.size.height-this.size.labelHeight)/2));for(var o=0;o<this.lineCount;o++){var n=this.lines[o];if(n&&n.blocks){var r=0;this.isEdgeLabel||"center"===this.fontOptions.align?r+=(this.size.width-n.width)/2:"right"===this.fontOptions.align&&(r+=this.size.width-n.width);for(var s=0;s<n.blocks.length;s++){var a=n.blocks[s];g.font=a.font;var d=this._getColor(a.color,C,a.strokeColor),h=IC(d,2),l=h[0],c=h[1];a.strokeWidth>0&&(g.lineWidth=a.strokeWidth,g.strokeStyle=c,g.lineJoin="round"),g.fillStyle=l,a.strokeWidth>0&&g.strokeText(a.text,A+r,t+a.vadjust),g.fillText(a.text,A+r,t+a.vadjust),r+=a.width}t+=n.height}}}},{key:"_setAlignment",value:function(g,A,t,e){if(this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf){A=0,t=0;"top"===this.fontOptions.align?(g.textBaseline="alphabetic",t-=4):"bottom"===this.fontOptions.align?(g.textBaseline="hanging",t+=4):g.textBaseline="middle"}else g.textBaseline=e;return[A,t]}},{key:"_getColor",value:function(g,A,t){var e=g||"#000000",C=t||"#ffffff";if(A<=this.elementOptions.scaling.label.drawThreshold){var I=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-A)));e=hn(e,I),C=hn(C,I)}return[e,C]}},{key:"getTextSize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._processLabel(g,A,t),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}},{key:"getSize",value:function(){var g=this.size.left,A=this.size.top-1;if(this.isEdgeLabel){var t=.5*-this.size.width;switch(this.fontOptions.align){case"middle":g=t,A=.5*-this.size.height;break;case"top":g=t,A=-(this.size.height+2);break;case"bottom":g=t,A=2}}return{left:g,top:A,width:this.size.width,height:this.size.height}}},{key:"calculateLabelSize",value:function(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,C=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,I=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";this._processLabel(g,A,t),this.size.left=e-.5*this.size.width,this.size.top=C-.5*this.size.height,this.size.yLine=C+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===I&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}},{key:"getFormattingValues",value:function(g,A,t,e){var C=function(g,A,t){return"normal"===A?"mod"===t?"":g[t]:void 0!==g[A][t]?g[A][t]:g[t]},I={color:C(this.fontOptions,e,"color"),size:C(this.fontOptions,e,"size"),face:C(this.fontOptions,e,"face"),mod:C(this.fontOptions,e,"mod"),vadjust:C(this.fontOptions,e,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(A||t)&&("normal"===e&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?I.mod="bold":"function"==typeof this.fontOptions.chooser&&this.fontOptions.chooser(I,this.elementOptions.id,A,t));var i="";return void 0!==I.mod&&""!==I.mod&&(i+=I.mod+" "),i+=I.size+"px "+I.face,g.font=i.replace(/"/g,""),I.font=g.font,I.height=I.size,I}},{key:"differentState",value:function(g,A){return g!==this.selectedState||A!==this.hoverState}},{key:"_processLabelText",value:function(g,A,t,e){return new Ta(g,this,A,t).process(e)}},{key:"_processLabel",value:function(g,A,t){if(!1!==this.labelDirty||this.differentState(A,t)){var e=this._processLabelText(g,A,t,this.elementOptions.label);this.fontOptions.minWdt>0&&e.width<this.fontOptions.minWdt&&(e.width=this.fontOptions.minWdt),this.size.labelHeight=e.height,this.fontOptions.minHgt>0&&e.height<this.fontOptions.minHgt&&(e.height=this.fontOptions.minHgt),this.lines=e.lines,this.lineCount=e.lines.length,this.size.width=e.width,this.size.height=e.height,this.selectedState=A,this.hoverState=t,this.labelDirty=!1}}},{key:"visible",value:function(){return 0!==this.size.width&&0!==this.size.height&&void 0!==this.elementOptions.label&&!(this.fontOptions.size*this.body.view.scale<this.elementOptions.scaling.label.drawThreshold-1)}}],[{key:"parseFontString",value:function(g,A){if(!A||"string"!=typeof A)return!1;var t=A.split(" ");return g.size=+t[0].replace("px",""),g.face=t[1],g.color=t[2],!0}}]),g}(),Ra=function(){function g(A,t,e){De(this,g),this.body=t,this.labelModule=e,this.setOptions(A),this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.radius=void 0,this.margin=void 0,this.refreshNeeded=!0,this.boundingBox={top:0,left:0,right:0,bottom:0}}return Pe(g,[{key:"setOptions",value:function(g){this.options=g}},{key:"_setMargins",value:function(g){this.margin={},this.options.margin&&("object"==nC(this.options.margin)?(this.margin.top=this.options.margin.top,this.margin.right=this.options.margin.right,this.margin.bottom=this.options.margin.bottom,this.margin.left=this.options.margin.left):(this.margin.top=this.options.margin,this.margin.right=this.options.margin,this.margin.bottom=this.options.margin,this.margin.left=this.options.margin)),g.adjustSizes(this.margin)}},{key:"_distanceToBorder",value:function(g,A){var t=this.options.borderWidth;return g&&this.resize(g),Math.min(Math.abs(this.width/2/Math.cos(A)),Math.abs(this.height/2/Math.sin(A)))+t}},{key:"enableShadow",value:function(g,A){A.shadow&&(g.shadowColor=A.shadowColor,g.shadowBlur=A.shadowSize,g.shadowOffsetX=A.shadowX,g.shadowOffsetY=A.shadowY)}},{key:"disableShadow",value:function(g,A){A.shadow&&(g.shadowColor="rgba(0,0,0,0)",g.shadowBlur=0,g.shadowOffsetX=0,g.shadowOffsetY=0)}},{key:"enableBorderDashes",value:function(g,A){if(!1!==A.borderDashes)if(void 0!==g.setLineDash){var t=A.borderDashes;!0===t&&(t=[5,15]),g.setLineDash(t)}else console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,A.borderDashes=!1}},{key:"disableBorderDashes",value:function(g,A){!1!==A.borderDashes&&(void 0!==g.setLineDash?g.setLineDash([0]):(console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,A.borderDashes=!1))}},{key:"needsRefresh",value:function(g,A){return!0===this.refreshNeeded?(this.refreshNeeded=!1,!0):void 0===this.width||this.labelModule.differentState(g,A)}},{key:"initContextForDraw",value:function(g,A){var t=A.borderWidth/this.body.view.scale;g.lineWidth=Math.min(this.width,t),g.strokeStyle=A.borderColor,g.fillStyle=A.color}},{key:"performStroke",value:function(g,A){var t=A.borderWidth/this.body.view.scale;g.save(),t>0&&(this.enableBorderDashes(g,A),g.stroke(),this.disableBorderDashes(g,A)),g.restore()}},{key:"performFill",value:function(g,A){g.save(),g.fillStyle=A.color,this.enableShadow(g,A),_I(g).call(g),this.disableShadow(g,A),g.restore(),this.performStroke(g,A)}},{key:"_addBoundingBoxMargin",value:function(g){this.boundingBox.left-=g,this.boundingBox.top-=g,this.boundingBox.bottom+=g,this.boundingBox.right+=g}},{key:"_updateBoundingBox",value:function(g,A,t,e,C){void 0!==t&&this.resize(t,e,C),this.left=g-this.width/2,this.top=A-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}},{key:"updateBoundingBox",value:function(g,A,t,e,C){this._updateBoundingBox(g,A,t,e,C)}},{key:"getDimensionsFromLabel",value:function(g,A,t){this.textSize=this.labelModule.getTextSize(g,A,t);var e=this.textSize.width,C=this.textSize.height;return 0===e&&(e=14,C=14),{width:e,height:C}}}]),g}();function Pa(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ma=function(g){Is(t,g);var A=Pa(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._setMargins(C),I}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(A,t)){var e=this.getDimensionsFromLabel(g,A,t);this.width=e.width+this.margin.right+this.margin.left,this.height=e.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}},{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C),this.left=A-this.width/2,this.top=t-this.height/2,this.initContextForDraw(g,I),yg(g,this.left,this.top,this.width,this.height,I.borderRadius),this.performFill(g,I),this.updateBoundingBox(A,t,g,e,C),this.labelModule.draw(g,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,e,C)}},{key:"updateBoundingBox",value:function(g,A,t,e,C){this._updateBoundingBox(g,A,t,e,C);var I=this.options.shapeProperties.borderRadius;this._addBoundingBoxMargin(I)}},{key:"distanceToBorder",value:function(g,A){g&&this.resize(g);var t=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(A)),Math.abs(this.height/2/Math.sin(A)))+t}}]),t}(Ra);function Ba(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var za=function(g){Is(t,g);var A=Ba(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C)).labelOffset=0,I.selected=!1,I}return Pe(t,[{key:"setOptions",value:function(g,A,t){this.options=g,void 0===A&&void 0===t||this.setImages(A,t)}},{key:"setImages",value:function(g,A){A&&this.selected?(this.imageObj=A,this.imageObjAlt=g):(this.imageObj=g,this.imageObjAlt=A)}},{key:"switchImages",value:function(g){var A=g&&!this.selected||!g&&this.selected;if(this.selected=g,void 0!==this.imageObjAlt&&A){var t=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=t}}},{key:"_getImagePadding",value:function(){var g={top:0,right:0,bottom:0,left:0};if(this.options.imagePadding){var A=this.options.imagePadding;"object"==nC(A)?(g.top=A.top,g.right=A.right,g.bottom=A.bottom,g.left=A.left):(g.top=A,g.right=A,g.bottom=A,g.left=A)}return g}},{key:"_resizeImage",value:function(){var g,A;if(!1===this.options.shapeProperties.useImageSize){var t=1,e=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?t=this.imageObj.width/this.imageObj.height:e=this.imageObj.height/this.imageObj.width),g=2*this.options.size*t,A=2*this.options.size*e}else{var C=this._getImagePadding();g=this.imageObj.width+C.left+C.right,A=this.imageObj.height+C.top+C.bottom}this.width=g,this.height=A,this.radius=.5*this.width}},{key:"_drawRawCircle",value:function(g,A,t,e){this.initContextForDraw(g,e),vg(g,A,t,e.size),this.performFill(g,e)}},{key:"_drawImageAtPosition",value:function(g,A){if(0!=this.imageObj.width){g.globalAlpha=void 0!==A.opacity?A.opacity:1,this.enableShadow(g,A);var t=1;!0===this.options.shapeProperties.interpolation&&(t=this.imageObj.width/this.width/this.body.view.scale);var e=this._getImagePadding(),C=this.left+e.left,I=this.top+e.top,i=this.width-e.left-e.right,o=this.height-e.top-e.bottom;this.imageObj.drawImageAtPosition(g,t,C,I,i,o),this.disableShadow(g,A)}}},{key:"_drawImageLabel",value:function(g,A,t,e,C){var I=0;if(void 0!==this.height){I=.5*this.height;var i=this.labelModule.getTextSize(g,e,C);i.lineCount>=1&&(I+=i.height/2)}var o=t+I;this.options.label&&(this.labelOffset=I),this.labelModule.draw(g,A,o,e,C,"hanging")}}]),t}(Ra);function Za(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Sa=function(g){Is(t,g);var A=Za(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._setMargins(C),I}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(A,t)){var e=this.getDimensionsFromLabel(g,A,t),C=Math.max(e.width+this.margin.right+this.margin.left,e.height+this.margin.top+this.margin.bottom);this.options.size=C/2,this.width=C,this.height=C,this.radius=this.width/2}}},{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C),this.left=A-this.width/2,this.top=t-this.height/2,this._drawRawCircle(g,A,t,I),this.updateBoundingBox(A,t),this.labelModule.draw(g,this.left+this.textSize.width/2+this.margin.left,t,e,C)}},{key:"updateBoundingBox",value:function(g,A){this.boundingBox.top=A-this.options.size,this.boundingBox.left=g-this.options.size,this.boundingBox.right=g+this.options.size,this.boundingBox.bottom=A+this.options.size}},{key:"distanceToBorder",value:function(g){return g&&this.resize(g),.5*this.width}}]),t}(za);function Fa(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ga=function(g){Is(t,g);var A=Fa(t);function t(g,e,C,I,i){var o;return De(this,t),(o=A.call(this,g,e,C)).setImages(I,i),o}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,e=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(e){var C=2*this.options.size;return this.width=C,this.height=C,void(this.radius=.5*this.width)}this.needsRefresh(A,t)&&this._resizeImage()}},{key:"draw",value:function(g,A,t,e,C,I){this.switchImages(e),this.resize();var i=A,o=t;"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=A,this.top=t,i+=this.width/2,o+=this.height/2):(this.left=A-this.width/2,this.top=t-this.height/2),this._drawRawCircle(g,i,o,I),g.save(),g.clip(),this._drawImageAtPosition(g,I),g.restore(),this._drawImageLabel(g,i,o,e,C),this.updateBoundingBox(A,t)}},{key:"updateBoundingBox",value:function(g,A){"top-left"===this.options.shapeProperties.coordinateOrigin?(this.boundingBox.top=A,this.boundingBox.left=g,this.boundingBox.right=g+2*this.options.size,this.boundingBox.bottom=A+2*this.options.size):(this.boundingBox.top=A-this.options.size,this.boundingBox.left=g-this.options.size,this.boundingBox.right=g+this.options.size,this.boundingBox.bottom=A+this.options.size),this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}},{key:"distanceToBorder",value:function(g){return g&&this.resize(g),.5*this.width}}]),t}(za);function La(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var ja=function(g){Is(t,g);var A=La(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{size:this.options.size};if(this.needsRefresh(A,t)){var C,I;this.labelModule.getTextSize(g,A,t);var i=2*e.size;this.width=null!==(C=this.customSizeWidth)&&void 0!==C?C:i,this.height=null!==(I=this.customSizeHeight)&&void 0!==I?I:i,this.radius=.5*this.width}}},{key:"_drawShape",value:function(g,A,t,e,C,I,i,o){var n,r=this;return this.resize(g,I,i,o),this.left=e-this.width/2,this.top=C-this.height/2,this.initContextForDraw(g,o),(n=A,Object.prototype.hasOwnProperty.call(kg,n)?kg[n]:function(g){for(var A=arguments.length,t=new Array(A>1?A-1:0),e=1;e<A;e++)t[e-1]=arguments[e];CanvasRenderingContext2D.prototype[n].call(g,t)})(g,e,C,o.size),this.performFill(g,o),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(g.font=(I?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),g.fillStyle=this.options.icon.color||"black",g.textAlign="center",g.textBaseline="middle",g.fillText(this.options.icon.code,e,C)),{drawExternalLabel:function(){if(void 0!==r.options.label){r.labelModule.calculateLabelSize(g,I,i,e,C,"hanging");var A=C+.5*r.height+.5*r.labelModule.size.height;r.labelModule.draw(g,e,A,I,i,"hanging")}r.updateBoundingBox(e,C)}}}},{key:"updateBoundingBox",value:function(g,A){this.boundingBox.top=A-this.options.size,this.boundingBox.left=g-this.options.size,this.boundingBox.right=g+this.options.size,this.boundingBox.bottom=A+this.options.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}]),t}(Ra);function Va(g,A){var t=wC(g);if(ve){var e=ve(g);A&&(e=oI(e).call(e,(function(A){return we(g,A).enumerable}))),t.push.apply(t,e)}return t}function Ya(g){for(var A=1;A<arguments.length;A++){var t,e=null!=arguments[A]?arguments[A]:{};if(A%2)RC(t=Va(Object(e),!0)).call(t,(function(A){Me(g,A,e[A])}));else if(xe)Ee(g,xe(e));else{var C;RC(C=Va(Object(e))).call(C,(function(A){Te(g,A,we(e,A))}))}}return g}function Wa(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Qa=function(g){Is(t,g);var A=Wa(t);function t(g,e,C,I){var i;return De(this,t),(i=A.call(this,g,e,C,I)).ctxRenderer=I,i}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C,I),this.left=A-this.width/2,this.top=t-this.height/2,g.save();var i=this.ctxRenderer({ctx:g,id:this.options.id,x:A,y:t,state:{selected:e,hover:C},style:Ya({},I),label:this.options.label});if(null!=i.drawNode&&i.drawNode(),g.restore(),i.drawExternalLabel){var o=i.drawExternalLabel;i.drawExternalLabel=function(){g.save(),o(),g.restore()}}return i.nodeDimensions&&(this.customSizeWidth=i.nodeDimensions.width,this.customSizeHeight=i.nodeDimensions.height),i}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function Ua(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var _a=function(g){Is(t,g);var A=Ua(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._setMargins(C),I}return Pe(t,[{key:"resize",value:function(g,A,t){if(this.needsRefresh(A,t)){var e=this.getDimensionsFromLabel(g,A,t).width+this.margin.right+this.margin.left;this.width=e,this.height=e,this.radius=this.width/2}}},{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C),this.left=A-this.width/2,this.top=t-this.height/2,this.initContextForDraw(g,I),bg(g,A-this.width/2,t-this.height/2,this.width,this.height),this.performFill(g,I),this.updateBoundingBox(A,t,g,e,C),this.labelModule.draw(g,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,e,C)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(Ra);function Ha(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ka=function(g){Is(t,g);var A=Ha(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"diamond",4,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function Xa(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ja=function(g){Is(t,g);var A=Xa(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"circle",2,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g){return g&&this.resize(g),this.options.size}}]),t}(ja);function qa(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var $a=function(g){Is(t,g);var A=qa(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(A,t)){var e=this.getDimensionsFromLabel(g,A,t);this.height=2*e.height,this.width=e.width+e.height,this.radius=.5*this.width}}},{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C),this.left=A-.5*this.width,this.top=t-.5*this.height,this.initContextForDraw(g,I),mg(g,this.left,this.top,this.width,this.height),this.performFill(g,I),this.updateBoundingBox(A,t,g,e,C),this.labelModule.draw(g,A,t,e,C)}},{key:"distanceToBorder",value:function(g,A){g&&this.resize(g);var t=.5*this.width,e=.5*this.height,C=Math.sin(A)*t,I=Math.cos(A)*e;return t*e/Math.sqrt(C*C+I*I)}}]),t}(Ra);function gd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ad=function(g){Is(t,g);var A=gd(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._setMargins(C),I}return Pe(t,[{key:"resize",value:function(g,A,t){this.needsRefresh(A,t)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(g,A,t,e,C,I){var i=this;return this.resize(g,e,C),this.options.icon.size=this.options.icon.size||50,this.left=A-this.width/2,this.top=t-this.height/2,this._icon(g,A,t,e,C,I),{drawExternalLabel:function(){if(void 0!==i.options.label){i.labelModule.draw(g,i.left+i.iconSize.width/2+i.margin.left,t+i.height/2+5,e)}i.updateBoundingBox(A,t)}}}},{key:"updateBoundingBox",value:function(g,A){if(this.boundingBox.top=A-.5*this.options.icon.size,this.boundingBox.left=g-.5*this.options.icon.size,this.boundingBox.right=g+.5*this.options.icon.size,this.boundingBox.bottom=A+.5*this.options.icon.size,void 0!==this.options.label&&this.labelModule.size.width>0){this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+5)}}},{key:"_icon",value:function(g,A,t,e,C,I){var i=Number(this.options.icon.size);void 0!==this.options.icon.code?(g.font=[null!=this.options.icon.weight?this.options.icon.weight:e?"bold":"",(null!=this.options.icon.weight&&e?5:0)+i+"px",this.options.icon.face].join(" "),g.fillStyle=this.options.icon.color||"black",g.textAlign="center",g.textBaseline="middle",this.enableShadow(g,I),g.fillText(this.options.icon.code,A,t),this.disableShadow(g,I)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(Ra);function td(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var ed=function(g){Is(t,g);var A=td(t);function t(g,e,C,I,i){var o;return De(this,t),(o=A.call(this,g,e,C)).setImages(I,i),o}return Pe(t,[{key:"resize",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,e=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(e){var C=2*this.options.size;return this.width=C,void(this.height=C)}this.needsRefresh(A,t)&&this._resizeImage()}},{key:"draw",value:function(g,A,t,e,C,I){g.save(),this.switchImages(e),this.resize();var i=A,o=t;if("top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=A,this.top=t,i+=this.width/2,o+=this.height/2):(this.left=A-this.width/2,this.top=t-this.height/2),!0===this.options.shapeProperties.useBorderWithImage){var n=this.options.borderWidth,r=this.options.borderWidthSelected||2*this.options.borderWidth,s=(e?r:n)/this.body.view.scale;g.lineWidth=Math.min(this.width,s),g.beginPath();var a=e?this.options.color.highlight.border:C?this.options.color.hover.border:this.options.color.border,d=e?this.options.color.highlight.background:C?this.options.color.hover.background:this.options.color.background;void 0!==I.opacity&&(a=hn(a,I.opacity),d=hn(d,I.opacity)),g.strokeStyle=a,g.fillStyle=d,g.rect(this.left-.5*g.lineWidth,this.top-.5*g.lineWidth,this.width+g.lineWidth,this.height+g.lineWidth),_I(g).call(g),this.performStroke(g,I),g.closePath()}this._drawImageAtPosition(g,I),this._drawImageLabel(g,i,o,e,C),this.updateBoundingBox(A,t),g.restore()}},{key:"updateBoundingBox",value:function(g,A){this.resize(),"top-left"===this.options.shapeProperties.coordinateOrigin?(this.left=g,this.top=A):(this.left=g-this.width/2,this.top=A-this.height/2),this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(za);function Cd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Id=function(g){Is(t,g);var A=Cd(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"square",2,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function id(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var od=function(g){Is(t,g);var A=id(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"hexagon",4,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function nd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var rd=function(g){Is(t,g);var A=nd(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"star",4,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function sd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var ad=function(g){Is(t,g);var A=sd(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._setMargins(C),I}return Pe(t,[{key:"resize",value:function(g,A,t){this.needsRefresh(A,t)&&(this.textSize=this.labelModule.getTextSize(g,A,t),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(g,A,t,e,C,I){this.resize(g,e,C),this.left=A-this.width/2,this.top=t-this.height/2,this.enableShadow(g,I),this.labelModule.draw(g,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,e,C),this.disableShadow(g,I),this.updateBoundingBox(A,t,g,e,C)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(Ra);function dd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var hd=function(g){Is(t,g);var A=dd(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"triangle",3,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function ld(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var cd=function(g){Is(t,g);var A=ld(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"draw",value:function(g,A,t,e,C,I){return this._drawShape(g,"triangleDown",3,A,t,e,C,I)}},{key:"distanceToBorder",value:function(g,A){return this._distanceToBorder(g,A)}}]),t}(ja);function ud(g,A){var t=wC(g);if(ve){var e=ve(g);A&&(e=oI(e).call(e,(function(A){return we(g,A).enumerable}))),t.push.apply(t,e)}return t}function pd(g){for(var A=1;A<arguments.length;A++){var t,e=null!=arguments[A]?arguments[A]:{};if(A%2)RC(t=ud(Object(e),!0)).call(t,(function(A){Me(g,A,e[A])}));else if(xe)Ee(g,xe(e));else{var C;RC(C=ud(Object(e))).call(C,(function(A){Te(g,A,we(e,A))}))}}return g}var fd=function(){function g(A,t,e,C,I,i){De(this,g),this.options=bn(I),this.globalOptions=I,this.defaultOptions=i,this.body=t,this.edges=[],this.id=void 0,this.imagelist=e,this.grouplist=C,this.x=void 0,this.y=void 0,this.baseSize=this.options.size,this.baseFontSize=this.options.font.size,this.predefinedPosition=!1,this.selected=!1,this.hover=!1,this.labelModule=new Na(this.body,this.options,!1),this.setOptions(A)}return Pe(g,[{key:"attachEdge",value:function(g){var A;-1===DI(A=this.edges).call(A,g)&&this.edges.push(g)}},{key:"detachEdge",value:function(g){var A,t,e=DI(A=this.edges).call(A,g);-1!=e&&WC(t=this.edges).call(t,e,1)}},{key:"setOptions",value:function(A){var t=this.options.shape;if(A){if(void 0!==A.color&&(this._localColor=A.color),void 0!==A.id&&(this.id=A.id),void 0===this.id)throw new Error("Node must have an id");g.checkMass(A,this.id),void 0!==A.x&&(null===A.x?(this.x=void 0,this.predefinedPosition=!1):(this.x=mI(A.x),this.predefinedPosition=!0)),void 0!==A.y&&(null===A.y?(this.y=void 0,this.predefinedPosition=!1):(this.y=mI(A.y),this.predefinedPosition=!0)),void 0!==A.size&&(this.baseSize=A.size),void 0!==A.value&&(A.value=ua(A.value)),g.parseOptions(this.options,A,!0,this.globalOptions,this.grouplist);var e=[A,this.options,this.defaultOptions];return this.chooser=ma("node",e),this._load_images(),this.updateLabelModule(A),void 0!==A.opacity&&g.checkOpacity(A.opacity)&&(this.options.opacity=A.opacity),this.updateShape(t),void 0!==A.hidden||void 0!==A.physics}}},{key:"_load_images",value:function(){if(("circularImage"===this.options.shape||"image"===this.options.shape)&&void 0===this.options.image)throw new Error("Option image must be defined for node type '"+this.options.shape+"'");if(void 0!==this.options.image){if(void 0===this.imagelist)throw new Error("Internal Error: No images provided");if("string"==typeof this.options.image)this.imageObj=this.imagelist.load(this.options.image,this.options.brokenImage,this.id);else{if(void 0===this.options.image.unselected)throw new Error("No unselected image provided");this.imageObj=this.imagelist.load(this.options.image.unselected,this.options.brokenImage,this.id),void 0!==this.options.image.selected?this.imageObjAlt=this.imagelist.load(this.options.image.selected,this.options.brokenImage,this.id):this.imageObjAlt=void 0}}}},{key:"getFormattingValues",value:function(){var g={color:this.options.color.background,opacity:this.options.opacity,borderWidth:this.options.borderWidth,borderColor:this.options.color.border,size:this.options.size,borderDashes:this.options.shapeProperties.borderDashes,borderRadius:this.options.shapeProperties.borderRadius,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y};if(this.selected||this.hover?!0===this.chooser?this.selected?(null!=this.options.borderWidthSelected?g.borderWidth=this.options.borderWidthSelected:g.borderWidth*=2,g.color=this.options.color.highlight.background,g.borderColor=this.options.color.highlight.border,g.shadow=this.options.shadow.enabled):this.hover&&(g.color=this.options.color.hover.background,g.borderColor=this.options.color.hover.border,g.shadow=this.options.shadow.enabled):"function"==typeof this.chooser&&(this.chooser(g,this.options.id,this.selected,this.hover),!1===g.shadow&&(g.shadowColor===this.options.shadow.color&&g.shadowSize===this.options.shadow.size&&g.shadowX===this.options.shadow.x&&g.shadowY===this.options.shadow.y||(g.shadow=!0))):g.shadow=this.options.shadow.enabled,void 0!==this.options.opacity){var A=this.options.opacity;g.borderColor=hn(g.borderColor,A),g.color=hn(g.color,A),g.shadowColor=hn(g.shadowColor,A)}return g}},{key:"updateLabelModule",value:function(A){void 0!==this.options.label&&null!==this.options.label||(this.options.label=""),g.updateGroupOptions(this.options,pd(pd({},A),{},{color:A&&A.color||this._localColor||void 0}),this.grouplist);var t=this.grouplist.get(this.options.group,!1),e=[A,this.options,t,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,e),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateShape",value:function(g){if(g===this.options.shape&&this.shape)this.shape.setOptions(this.options,this.imageObj,this.imageObjAlt);else switch(this.options.shape){case"box":this.shape=new Ma(this.options,this.body,this.labelModule);break;case"circle":this.shape=new Sa(this.options,this.body,this.labelModule);break;case"circularImage":this.shape=new Ga(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"custom":this.shape=new Qa(this.options,this.body,this.labelModule,this.options.ctxRenderer);break;case"database":this.shape=new _a(this.options,this.body,this.labelModule);break;case"diamond":this.shape=new Ka(this.options,this.body,this.labelModule);break;case"dot":this.shape=new Ja(this.options,this.body,this.labelModule);break;case"ellipse":this.shape=new $a(this.options,this.body,this.labelModule);break;case"icon":this.shape=new Ad(this.options,this.body,this.labelModule);break;case"image":this.shape=new ed(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"square":this.shape=new Id(this.options,this.body,this.labelModule);break;case"hexagon":this.shape=new od(this.options,this.body,this.labelModule);break;case"star":this.shape=new rd(this.options,this.body,this.labelModule);break;case"text":this.shape=new ad(this.options,this.body,this.labelModule);break;case"triangle":this.shape=new hd(this.options,this.body,this.labelModule);break;case"triangleDown":this.shape=new cd(this.options,this.body,this.labelModule);break;default:this.shape=new $a(this.options,this.body,this.labelModule)}this.needsRefresh()}},{key:"select",value:function(){this.selected=!0,this.needsRefresh()}},{key:"unselect",value:function(){this.selected=!1,this.needsRefresh()}},{key:"needsRefresh",value:function(){this.shape.refreshNeeded=!0}},{key:"getTitle",value:function(){return this.options.title}},{key:"distanceToBorder",value:function(g,A){return this.shape.distanceToBorder(g,A)}},{key:"isFixed",value:function(){return this.options.fixed.x&&this.options.fixed.y}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"getLabelSize",value:function(){return this.labelModule.size()}},{key:"setValueRange",value:function(g,A,t){if(void 0!==this.options.value){var e=this.options.scaling.customScalingFunction(g,A,t,this.options.value),C=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){var I=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+e*I}this.options.size=this.options.scaling.min+e*C}else this.options.size=this.baseSize,this.options.font.size=this.baseFontSize;this.updateLabelModule()}},{key:"draw",value:function(g){var A=this.getFormattingValues();return this.shape.draw(g,this.x,this.y,this.selected,this.hover,A)||{}}},{key:"updateBoundingBox",value:function(g){this.shape.updateBoundingBox(this.x,this.y,g)}},{key:"resize",value:function(g){var A=this.getFormattingValues();this.shape.resize(g,this.selected,this.hover,A)}},{key:"getItemsOnPoint",value:function(g){var A=[];return this.labelModule.visible()&&ba(this.labelModule.getSize(),g)&&A.push({nodeId:this.id,labelId:0}),ba(this.shape.boundingBox,g)&&A.push({nodeId:this.id}),A}},{key:"isOverlappingWith",value:function(g){return this.shape.left<g.right&&this.shape.left+this.shape.width>g.left&&this.shape.top<g.bottom&&this.shape.top+this.shape.height>g.top}},{key:"isBoundingBoxOverlappingWith",value:function(g){return this.shape.boundingBox.left<g.right&&this.shape.boundingBox.right>g.left&&this.shape.boundingBox.top<g.bottom&&this.shape.boundingBox.bottom>g.top}}],[{key:"checkOpacity",value:function(g){return 0<=g&&g<=1}},{key:"checkCoordinateOrigin",value:function(g){return void 0===g||"center"===g||"top-left"===g}},{key:"updateGroupOptions",value:function(A,t,e){var C;if(void 0!==e){var I=A.group;if(void 0!==t&&void 0!==t.group&&I!==t.group)throw new Error("updateGroupOptions: group values in options don't match.");if("number"==typeof I||"string"==typeof I&&""!=I){var i=e.get(I);void 0!==i.opacity&&void 0===t.opacity&&(g.checkOpacity(i.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+i.opacity),i.opacity=void 0));var o=oI(C=ya(t)).call(C,(function(g){return null!=t[g]}));o.push("font"),In(o,A,i),A.color=cn(A.color)}}}},{key:"parseOptions",value:function(A,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],C=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},I=arguments.length>4?arguments[4]:void 0,i=["color","fixed","shadow"];if(In(i,A,t,e),g.checkMass(t),void 0!==A.opacity&&(g.checkOpacity(A.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+A.opacity),A.opacity=void 0)),void 0!==t.opacity&&(g.checkOpacity(t.opacity)||(console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+t.opacity),t.opacity=void 0)),t.shapeProperties&&!g.checkCoordinateOrigin(t.shapeProperties.coordinateOrigin)&&console.error("Invalid option for node coordinateOrigin, found: "+t.shapeProperties.coordinateOrigin),wn(A,t,"shadow",C),void 0!==t.color&&null!==t.color){var o=cn(t.color);en(A.color,o)}else!0===e&&null===t.color&&(A.color=bn(C.color));void 0!==t.fixed&&null!==t.fixed&&("boolean"==typeof t.fixed?(A.fixed.x=t.fixed,A.fixed.y=t.fixed):(void 0!==t.fixed.x&&"boolean"==typeof t.fixed.x&&(A.fixed.x=t.fixed.x),void 0!==t.fixed.y&&"boolean"==typeof t.fixed.y&&(A.fixed.y=t.fixed.y))),!0===e&&null===t.font&&(A.font=bn(C.font)),g.updateGroupOptions(A,t,I),void 0!==t.scaling&&wn(A.scaling,t.scaling,"label",C.scaling)}},{key:"checkMass",value:function(g,A){if(void 0!==g.mass&&g.mass<=0){var t="";void 0!==A&&(t=" in node id: "+A),console.error("%cNegative or zero mass disallowed"+t+", setting mass to 1.",Zn),g.mass=1}}}]),g}();function vd(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return yd(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return yd(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function yd(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}var md=function(){function g(A,t,e,C){var I,i=this;if(De(this,g),this.body=A,this.images=t,this.groups=e,this.layoutEngine=C,this.body.functions.createNode=fg(I=this.create).call(I,this),this.nodesListeners={add:function(g,A){i.add(A.items)},update:function(g,A){i.update(A.items,A.data,A.oldData)},remove:function(g,A){i.remove(A.items)}},this.defaultOptions={borderWidth:1,borderWidthSelected:void 0,brokenImage:void 0,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},opacity:void 0,fixed:{x:!1,y:!1},font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:0,strokeColor:"#ffffff",align:"center",vadjust:0,multi:!1,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"monospace",vadjust:2}},group:void 0,hidden:!1,icon:{face:"FontAwesome",code:void 0,size:50,color:"#2B7CE9"},image:void 0,imagePadding:{top:0,right:0,bottom:0,left:0},label:void 0,labelHighlightBold:!0,level:void 0,margin:{top:5,right:5,bottom:5,left:5},mass:1,physics:!0,scaling:{min:10,max:30,label:{enabled:!1,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(g,A,t,e){if(A===g)return.5;var C=1/(A-g);return Math.max(0,(e-g)*C)}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},shape:"ellipse",shapeProperties:{borderDashes:!1,borderRadius:6,interpolation:!0,useImageSize:!1,useBorderWithImage:!1,coordinateOrigin:"center"},size:25,title:void 0,value:void 0,x:void 0,y:void 0},this.defaultOptions.mass<=0)throw"Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";this.options=bn(this.defaultOptions),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g,A,t=this;this.body.emitter.on("refreshNodes",fg(g=this.refresh).call(g,this)),this.body.emitter.on("refresh",fg(A=this.refresh).call(A,this)),this.body.emitter.on("destroy",(function(){an(t.nodesListeners,(function(g,A){t.body.data.nodes&&t.body.data.nodes.off(A,g)})),delete t.body.functions.createNode,delete t.nodesListeners.add,delete t.nodesListeners.update,delete t.nodesListeners.remove,delete t.nodesListeners}))}},{key:"setOptions",value:function(g){if(void 0!==g){if(fd.parseOptions(this.options,g),void 0!==g.opacity&&(jr(g.opacity)||!Wr(g.opacity)||g.opacity<0||g.opacity>1?console.error("Invalid option for node opacity. Value must be between 0 and 1, found: "+g.opacity):this.options.opacity=g.opacity),void 0!==g.shape)for(var A in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,A)&&this.body.nodes[A].updateShape();if(void 0!==g.font||void 0!==g.widthConstraint||void 0!==g.heightConstraint)for(var t=0,e=wC(this.body.nodes);t<e.length;t++){var C=e[t];this.body.nodes[C].updateLabelModule(),this.body.nodes[C].needsRefresh()}if(void 0!==g.size)for(var I in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,I)&&this.body.nodes[I].needsRefresh();void 0===g.hidden&&void 0===g.physics||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=this.body.data.nodes;if(aa("id",g))this.body.data.nodes=g;else if(uC(g))this.body.data.nodes=new na,this.body.data.nodes.add(g);else{if(g)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new na}if(t&&an(this.nodesListeners,(function(g,A){t.off(A,g)})),this.body.nodes={},this.body.data.nodes){var e=this;an(this.nodesListeners,(function(g,A){e.body.data.nodes.on(A,g)}));var C=this.body.data.nodes.getIds();this.add(C,!0)}!1===A&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(g){for(var A,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=[],C=0;C<g.length;C++){A=g[C];var I=this.body.data.nodes.get(A),i=this.create(I);e.push(i),this.body.nodes[A]=i}this.layoutEngine.positionInitially(e),!1===t&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(g,A,t){for(var e=this.body.nodes,C=!1,I=0;I<g.length;I++){var i=g[I],o=e[i],n=A[I];void 0!==o?o.setOptions(n)&&(C=!0):(C=!0,o=this.create(n),e[i]=o)}C||void 0===t||(C=Kr(A).call(A,(function(g,A){var e=t[A];return e&&e.level!==g.level}))),!0===C?this.body.emitter.emit("_dataChanged"):this.body.emitter.emit("_dataUpdated")}},{key:"remove",value:function(g){for(var A=this.body.nodes,t=0;t<g.length;t++){delete A[g[t]]}this.body.emitter.emit("_dataChanged")}},{key:"create",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fd;return new A(g,this.body,this.images,this.groups,this.options,this.defaultOptions)}},{key:"refresh",value:function(){var g=this,A=arguments.length>0&&void 0!==arguments[0]&&arguments[0];an(this.body.nodes,(function(t,e){var C=g.body.data.nodes.get(e);void 0!==C&&(!0===A&&t.setOptions({x:null,y:null}),t.setOptions({fixed:!1}),t.setOptions(C))}))}},{key:"getPositions",value:function(g){var A={};if(void 0!==g){if(!0===uC(g)){for(var t=0;t<g.length;t++)if(void 0!==this.body.nodes[g[t]]){var e=this.body.nodes[g[t]];A[g[t]]={x:Math.round(e.x),y:Math.round(e.y)}}}else if(void 0!==this.body.nodes[g]){var C=this.body.nodes[g];A[g]={x:Math.round(C.x),y:Math.round(C.y)}}}else for(var I=0;I<this.body.nodeIndices.length;I++){var i=this.body.nodes[this.body.nodeIndices[I]];A[this.body.nodeIndices[I]]={x:Math.round(i.x),y:Math.round(i.y)}}return A}},{key:"getPosition",value:function(g){if(null==g)throw new TypeError("No id was specified for getPosition method.");if(null==this.body.nodes[g])throw new ReferenceError("NodeId provided for getPosition does not exist. Provided: ".concat(g));return{x:Math.round(this.body.nodes[g].x),y:Math.round(this.body.nodes[g].y)}}},{key:"storePositions",value:function(){var g,A=[],t=this.body.data.nodes.getDataSet(),e=vd(t.get());try{for(e.s();!(g=e.n()).done;){var C=g.value,I=C.id,i=this.body.nodes[I],o=Math.round(i.x),n=Math.round(i.y);C.x===o&&C.y===n||A.push({id:I,x:o,y:n})}}catch(g){e.e(g)}finally{e.f()}t.update(A)}},{key:"getBoundingBox",value:function(g){if(void 0!==this.body.nodes[g])return this.body.nodes[g].shape.boundingBox}},{key:"getConnectedNodes",value:function(g,A){var t=[];if(void 0!==this.body.nodes[g])for(var e=this.body.nodes[g],C={},I=0;I<e.edges.length;I++){var i=e.edges[I];"to"!==A&&i.toId==e.id?void 0===C[i.fromId]&&(t.push(i.fromId),C[i.fromId]=!0):"from"!==A&&i.fromId==e.id&&void 0===C[i.toId]&&(t.push(i.toId),C[i.toId]=!0)}return t}},{key:"getConnectedEdges",value:function(g){var A=[];if(void 0!==this.body.nodes[g])for(var t=this.body.nodes[g],e=0;e<t.edges.length;e++)A.push(t.edges[e].id);else console.error("NodeId provided for getConnectedEdges does not exist. Provided: ",g);return A}},{key:"moveNode",value:function(g,A,t){var e=this;void 0!==this.body.nodes[g]?(this.body.nodes[g].x=Number(A),this.body.nodes[g].y=Number(t),WI((function(){e.body.emitter.emit("startSimulation")}),0)):console.error("Node id supplied to moveNode does not exist. Provided: ",g)}}]),g}();Y({target:"Reflect",stat:!0},{get:function g(A,t){var e,C,I=arguments.length<3?A:arguments[2];return S(A)===I?A[t]:(e=E.f(A,t))?y(e,"value")?e.value:void 0===e.get?void 0:e.get.call(I):p(C=tA(A))?g(C,t,I):void 0}});var bd=B.Reflect.get,wd=be;function kd(g,A,t){return(kd="undefined"!=typeof Reflect&&bd?bd:function(g,A,t){var e=function(g,A){for(;!Object.prototype.hasOwnProperty.call(g,A)&&null!==(g=ns(g)););return g}(g,A);if(e){var C=wd(e,A);return C.get?C.get.call(t):C.value}})(g,A,t||g)}var xd=Math.hypot,Ed=Math.abs,Od=Math.sqrt,Td=!!xd&&xd(1/0,NaN)!==1/0;Y({target:"Math",stat:!0,forced:Td},{hypot:function(g,A){for(var t,e,C=0,I=0,i=arguments.length,o=0;I<i;)o<(t=Ed(arguments[I++]))?(C=C*(e=o/t)*e+1,o=t):C+=t>0?(e=t/o)*e:t;return o===1/0?1/0:o*Od(C)}});var Dd=B.Math.hypot;function Nd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Rd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"transform",value:function(g,A){uC(g)||(g=[g]);for(var t=A.point.x,e=A.point.y,C=A.angle,I=A.length,i=0;i<g.length;++i){var o=g[i],n=o.x*Math.cos(C)-o.y*Math.sin(C),r=o.x*Math.sin(C)+o.y*Math.cos(C);o.x=t+I*n,o.y=e+I*r}}},{key:"drawPath",value:function(g,A){g.beginPath(),g.moveTo(A[0].x,A[0].y);for(var t=1;t<A.length;++t)g.lineTo(A[t].x,A[t].y);g.closePath()}}]),g}(),Pd=function(g){Is(t,g);var A=Nd(t);function t(){return De(this,t),A.apply(this,arguments)}return Pe(t,null,[{key:"draw",value:function(g,A){if(A.image){g.save(),g.translate(A.point.x,A.point.y),g.rotate(Math.PI/2+A.angle);var t=null!=A.imageWidth?A.imageWidth:A.image.width,e=null!=A.imageHeight?A.imageHeight:A.image.height;A.image.drawImageAtPosition(g,1,-t/2,0,t,e),g.restore()}return!1}}]),t}(Rd),Md=function(g){Is(t,g);var A=Nd(t);function t(){return De(this,t),A.apply(this,arguments)}return Pe(t,null,[{key:"draw",value:function(g,A){var t=[{x:0,y:0},{x:-1,y:.3},{x:-.9,y:0},{x:-1,y:-.3}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),t}(Rd),Bd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:-1,y:0},{x:0,y:.3},{x:-.4,y:0},{x:0,y:-.3}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),zd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t={x:-.4,y:0};Rd.transform(t,A),g.strokeStyle=g.fillStyle,g.fillStyle="rgba(0, 0, 0, 0)";var e=Math.PI,C=A.angle-e/2,I=A.angle+e/2;return g.beginPath(),g.arc(t.x,t.y,.4*A.length,C,I,!1),g.stroke(),!0}}]),g}(),Zd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t={x:-.3,y:0};Rd.transform(t,A),g.strokeStyle=g.fillStyle,g.fillStyle="rgba(0, 0, 0, 0)";var e=Math.PI,C=A.angle+e/2,I=A.angle+3*e/2;return g.beginPath(),g.arc(t.x,t.y,.4*A.length,C,I,!1),g.stroke(),!0}}]),g}(),Sd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:.02,y:0},{x:-1,y:.3},{x:-1,y:-.3}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),Fd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:0,y:.3},{x:0,y:-.3},{x:-1,y:0}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),Gd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t={x:-.4,y:0};return Rd.transform(t,A),vg(g,t.x,t.y,.4*A.length),!0}}]),g}(),Ld=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:0,y:.5},{x:0,y:-.5},{x:-.15,y:-.5},{x:-.15,y:.5}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),jd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:0,y:.3},{x:0,y:-.3},{x:-.6,y:-.3},{x:-.6,y:.3}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),Vd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:0,y:0},{x:-.5,y:-.3},{x:-1,y:0},{x:-.5,y:.3}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),Yd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t=[{x:-1,y:.3},{x:-.5,y:0},{x:-1,y:-.3},{x:0,y:0}];return Rd.transform(t,A),Rd.drawPath(g,t),!0}}]),g}(),Wd=function(){function g(){De(this,g)}return Pe(g,null,[{key:"draw",value:function(g,A){var t;switch(A.type&&(t=A.type.toLowerCase()),t){case"image":return Pd.draw(g,A);case"circle":return Gd.draw(g,A);case"box":return jd.draw(g,A);case"crow":return Bd.draw(g,A);case"curve":return zd.draw(g,A);case"diamond":return Vd.draw(g,A);case"inv_curve":return Zd.draw(g,A);case"triangle":return Sd.draw(g,A);case"inv_triangle":return Fd.draw(g,A);case"bar":return Ld.draw(g,A);case"vee":return Yd.draw(g,A);case"arrow":default:return Md.draw(g,A)}}}]),g}();function Qd(g,A){var t=wC(g);if(ve){var e=ve(g);A&&(e=oI(e).call(e,(function(A){return we(g,A).enumerable}))),t.push.apply(t,e)}return t}function Ud(g){for(var A=1;A<arguments.length;A++){var t,e=null!=arguments[A]?arguments[A]:{};if(A%2)RC(t=Qd(Object(e),!0)).call(t,(function(A){Me(g,A,e[A])}));else if(xe)Ee(g,xe(e));else{var C;RC(C=Qd(Object(e))).call(C,(function(A){Te(g,A,we(e,A))}))}}return g}var _d=function(){function g(A,t,e){De(this,g),this._body=t,this._labelModule=e,this.color={},this.colorDirty=!0,this.hoverWidth=1.5,this.selectionWidth=2,this.setOptions(A),this.fromPoint=this.from,this.toPoint=this.to}return Pe(g,[{key:"connect",value:function(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to]}},{key:"cleanup",value:function(){return!1}},{key:"setOptions",value:function(g){this.options=g,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.id=this.options.id}},{key:"drawLine",value:function(g,A,t,e){var C=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.getViaNode();g.strokeStyle=this.getColor(g,A),g.lineWidth=A.width,!1!==A.dashes?this._drawDashedLine(g,A,C):this._drawLine(g,A,C)}},{key:"_drawLine",value:function(g,A,t,e,C){if(this.from!=this.to)this._line(g,A,t,e,C);else{var I=IC(this._getCircleData(g),3),i=I[0],o=I[1],n=I[2];this._circle(g,A,i,o,n)}}},{key:"_drawDashedLine",value:function(g,A,t,e,C){g.lineCap="round";var I=uC(A.dashes)?A.dashes:[5,5];if(void 0!==g.setLineDash){if(g.save(),g.setLineDash(I),g.lineDashOffset=0,this.from!=this.to)this._line(g,A,t);else{var i=IC(this._getCircleData(g),3),o=i[0],n=i[1],r=i[2];this._circle(g,A,o,n,r)}g.setLineDash([0]),g.lineDashOffset=0,g.restore()}else{if(this.from!=this.to)wg(g,this.from.x,this.from.y,this.to.x,this.to.y,I);else{var s=IC(this._getCircleData(g),3),a=s[0],d=s[1],h=s[2];this._circle(g,A,a,d,h)}this.enableShadow(g,A),g.stroke(),this.disableShadow(g,A)}}},{key:"findBorderPosition",value:function(g,A,t){return this.from!=this.to?this._findBorderPosition(g,A,t):this._findBorderPositionCircle(g,A,t)}},{key:"findBorderPositions",value:function(g){if(this.from!=this.to)return{from:this._findBorderPosition(this.from,g),to:this._findBorderPosition(this.to,g)};var A,t=IC(lC(A=this._getCircleData(g)).call(A,0,2),2),e=t[0],C=t[1];return{from:this._findBorderPositionCircle(this.from,g,{x:e,y:C,low:.25,high:.6,direction:-1}),to:this._findBorderPositionCircle(this.from,g,{x:e,y:C,low:.6,high:.8,direction:1})}}},{key:"_getCircleData",value:function(g){var A=this.options.selfReference.size;void 0!==g&&void 0===this.from.shape.width&&this.from.shape.resize(g);var t=ka(g,this.options.selfReference.angle,A,this.from);return[t.x,t.y,A]}},{key:"_pointOnCircle",value:function(g,A,t,e){var C=2*e*Math.PI;return{x:g+t*Math.cos(C),y:A-t*Math.sin(C)}}},{key:"_findBorderPositionCircle",value:function(g,A,t){var e,C=t.x,I=t.y,i=t.low,o=t.high,n=t.direction,r=this.options.selfReference.size,s=.5*(i+o),a=0;!0===this.options.arrowStrikethrough&&(-1===n?a=this.options.endPointOffset.from:1===n&&(a=this.options.endPointOffset.to));var d=0;do{s=.5*(i+o),e=this._pointOnCircle(C,I,r,s);var h=Math.atan2(g.y-e.y,g.x-e.x),l=g.distanceToBorder(A,h)+a-Math.sqrt(Math.pow(e.x-g.x,2)+Math.pow(e.y-g.y,2));if(Math.abs(l)<.05)break;l>0?n>0?i=s:o=s:n>0?o=s:i=s,++d}while(i<=o&&d<10);return Ud(Ud({},e),{},{t:s})}},{key:"getLineWidth",value:function(g,A){return!0===g?Math.max(this.selectionWidth,.3/this._body.view.scale):!0===A?Math.max(this.hoverWidth,.3/this._body.view.scale):Math.max(this.options.width,.3/this._body.view.scale)}},{key:"getColor",value:function(g,A){if(!1!==A.inheritsColor){if("both"===A.inheritsColor&&this.from.id!==this.to.id){var t=g.createLinearGradient(this.from.x,this.from.y,this.to.x,this.to.y),e=this.from.options.color.highlight.border,C=this.to.options.color.highlight.border;return!1===this.from.selected&&!1===this.to.selected?(e=hn(this.from.options.color.border,A.opacity),C=hn(this.to.options.color.border,A.opacity)):!0===this.from.selected&&!1===this.to.selected?C=this.to.options.color.border:!1===this.from.selected&&!0===this.to.selected&&(e=this.from.options.color.border),t.addColorStop(0,e),t.addColorStop(1,C),t}return"to"===A.inheritsColor?hn(this.to.options.color.border,A.opacity):hn(this.from.options.color.border,A.opacity)}return hn(A.color,A.opacity)}},{key:"_circle",value:function(g,A,t,e,C){this.enableShadow(g,A);var I=0,i=2*Math.PI;if(!this.options.selfReference.renderBehindTheNode){var o=this.options.selfReference.angle,n=this.options.selfReference.angle+Math.PI,r=this._findBorderPositionCircle(this.from,g,{x:t,y:e,low:o,high:n,direction:-1}),s=this._findBorderPositionCircle(this.from,g,{x:t,y:e,low:o,high:n,direction:1});I=Math.atan2(r.y-e,r.x-t),i=Math.atan2(s.y-e,s.x-t)}g.beginPath(),g.arc(t,e,C,I,i,!1),g.stroke(),this.disableShadow(g,A)}},{key:"getDistanceToEdge",value:function(g,A,t,e,C,I){if(this.from!=this.to)return this._getDistanceToEdge(g,A,t,e,C,I);var i=IC(this._getCircleData(void 0),3),o=i[0],n=i[1],r=i[2],s=o-C,a=n-I;return Math.abs(Math.sqrt(s*s+a*a)-r)}},{key:"_getDistanceToLine",value:function(g,A,t,e,C,I){var i=t-g,o=e-A,n=((C-g)*i+(I-A)*o)/(i*i+o*o);n>1?n=1:n<0&&(n=0);var r=g+n*i-C,s=A+n*o-I;return Math.sqrt(r*r+s*s)}},{key:"getArrowData",value:function(g,A,t,e,C,I){var i,o,n,r,s,a,d,h=I.width;"from"===A?(n=this.from,r=this.to,s=I.fromArrowScale<0,a=Math.abs(I.fromArrowScale),d=I.fromArrowType):"to"===A?(n=this.to,r=this.from,s=I.toArrowScale<0,a=Math.abs(I.toArrowScale),d=I.toArrowType):(n=this.to,r=this.from,s=I.middleArrowScale<0,a=Math.abs(I.middleArrowScale),d=I.middleArrowType);var l=15*a+3*h;if(n!=r){var c=l/Dd(n.x-r.x,n.y-r.y);if("middle"!==A)if(!0===this.options.smooth.enabled){var u=this._findBorderPosition(n,g,{via:t}),p=this.getPoint(u.t+c*("from"===A?1:-1),t);i=Math.atan2(u.y-p.y,u.x-p.x),o=u}else i=Math.atan2(n.y-r.y,n.x-r.x),o=this._findBorderPosition(n,g);else{var f=(s?-c:c)/2,v=this.getPoint(.5+f,t),y=this.getPoint(.5-f,t);i=Math.atan2(v.y-y.y,v.x-y.x),o=this.getPoint(.5,t)}}else{var m=IC(this._getCircleData(g),3),b=m[0],w=m[1],k=m[2];if("from"===A){var x=this.options.selfReference.angle,E=this.options.selfReference.angle+Math.PI,O=this._findBorderPositionCircle(this.from,g,{x:b,y:w,low:x,high:E,direction:-1});i=-2*O.t*Math.PI+1.5*Math.PI+.1*Math.PI,o=O}else if("to"===A){var T=this.options.selfReference.angle,D=this.options.selfReference.angle+Math.PI,N=this._findBorderPositionCircle(this.from,g,{x:b,y:w,low:T,high:D,direction:1});i=-2*N.t*Math.PI+1.5*Math.PI-1.1*Math.PI,o=N}else{var R=this.options.selfReference.angle/(2*Math.PI);o=this._pointOnCircle(b,w,k,R),i=-2*R*Math.PI+1.5*Math.PI+.1*Math.PI}}return{point:o,core:{x:o.x-.9*l*Math.cos(i),y:o.y-.9*l*Math.sin(i)},angle:i,length:l,type:d}}},{key:"drawArrowHead",value:function(g,A,t,e,C){g.strokeStyle=this.getColor(g,A),g.fillStyle=g.strokeStyle,g.lineWidth=A.width,Wd.draw(g,C)&&(this.enableShadow(g,A),_I(g).call(g),this.disableShadow(g,A))}},{key:"enableShadow",value:function(g,A){!0===A.shadow&&(g.shadowColor=A.shadowColor,g.shadowBlur=A.shadowSize,g.shadowOffsetX=A.shadowX,g.shadowOffsetY=A.shadowY)}},{key:"disableShadow",value:function(g,A){!0===A.shadow&&(g.shadowColor="rgba(0,0,0,0)",g.shadowBlur=0,g.shadowOffsetX=0,g.shadowOffsetY=0)}},{key:"drawBackground",value:function(g,A){if(!1!==A.background){var t={strokeStyle:g.strokeStyle,lineWidth:g.lineWidth,dashes:g.dashes};g.strokeStyle=A.backgroundColor,g.lineWidth=A.backgroundSize,this.setStrokeDashed(g,A.backgroundDashes),g.stroke(),g.strokeStyle=t.strokeStyle,g.lineWidth=t.lineWidth,g.dashes=t.dashes,this.setStrokeDashed(g,A.dashes)}}},{key:"setStrokeDashed",value:function(g,A){if(!1!==A)if(void 0!==g.setLineDash){var t=uC(A)?A:[5,5];g.setLineDash(t)}else console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.");else void 0!==g.setLineDash?g.setLineDash([]):console.warn("setLineDash is not supported in this browser. The dashed stroke cannot be used.")}}]),g}();function Hd(g,A){var t=wC(g);if(ve){var e=ve(g);A&&(e=oI(e).call(e,(function(A){return we(g,A).enumerable}))),t.push.apply(t,e)}return t}function Kd(g){for(var A=1;A<arguments.length;A++){var t,e=null!=arguments[A]?arguments[A]:{};if(A%2)RC(t=Hd(Object(e),!0)).call(t,(function(A){Me(g,A,e[A])}));else if(xe)Ee(g,xe(e));else{var C;RC(C=Hd(Object(e))).call(C,(function(A){Te(g,A,we(e,A))}))}}return g}function Xd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Jd=function(g){Is(t,g);var A=Xd(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_findBorderPositionBezier",value:function(g,A){var t,e,C=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._getViaCoordinates(),I=10,i=.2,o=!1,n=1,r=0,s=this.to,a=this.options.endPointOffset?this.options.endPointOffset.to:0;g.id===this.from.id&&(s=this.from,o=!0,a=this.options.endPointOffset?this.options.endPointOffset.from:0),!1===this.options.arrowStrikethrough&&(a=0);var d=0;do{e=.5*(r+n),t=this.getPoint(e,C);var h=Math.atan2(s.y-t.y,s.x-t.x),l=s.distanceToBorder(A,h)+a,c=Math.sqrt(Math.pow(t.x-s.x,2)+Math.pow(t.y-s.y,2)),u=l-c;if(Math.abs(u)<i)break;u<0?!1===o?r=e:n=e:!1===o?n=e:r=e,++d}while(r<=n&&d<I);return Kd(Kd({},t),{},{t:e})}},{key:"_getDistanceToBezierEdge",value:function(g,A,t,e,C,I,i){var o,n,r,s,a,d=1e9,h=g,l=A;for(n=1;n<10;n++)r=.1*n,s=Math.pow(1-r,2)*g+2*r*(1-r)*i.x+Math.pow(r,2)*t,a=Math.pow(1-r,2)*A+2*r*(1-r)*i.y+Math.pow(r,2)*e,n>0&&(d=(o=this._getDistanceToLine(h,l,s,a,C,I))<d?o:d),h=s,l=a;return d}},{key:"_bezierCurve",value:function(g,A,t,e){g.beginPath(),g.moveTo(this.fromPoint.x,this.fromPoint.y),null!=t&&null!=t.x?null!=e&&null!=e.x?g.bezierCurveTo(t.x,t.y,e.x,e.y,this.toPoint.x,this.toPoint.y):g.quadraticCurveTo(t.x,t.y,this.toPoint.x,this.toPoint.y):g.lineTo(this.toPoint.x,this.toPoint.y),this.drawBackground(g,A),this.enableShadow(g,A),g.stroke(),this.disableShadow(g,A)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}}]),t}(_d);function qd(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var $d=function(g){Is(t,g);var A=qd(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C)).via=I.via,I._boundFunction=function(){I.positionBezierNode()},I._body.emitter.on("_repositionBezierNodes",I._boundFunction),I}return Pe(t,[{key:"setOptions",value:function(g){kd(ns(t.prototype),"setOptions",this).call(this,g);var A=!1;this.options.physics!==g.physics&&(A=!0),this.options=g,this.id=this.options.id,this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],this.setupSupportNode(),this.connect(),!0===A&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}},{key:"connect",value:function(){this.from=this._body.nodes[this.options.from],this.to=this._body.nodes[this.options.to],void 0===this.from||void 0===this.to||!1===this.options.physics||this.from.id===this.to.id?this.via.setOptions({physics:!1}):this.via.setOptions({physics:!0})}},{key:"cleanup",value:function(){return this._body.emitter.off("_repositionBezierNodes",this._boundFunction),void 0!==this.via&&(delete this._body.nodes[this.via.id],this.via=void 0,!0)}},{key:"setupSupportNode",value:function(){if(void 0===this.via){var g="edgeId:"+this.id,A=this._body.functions.createNode({id:g,shape:"circle",physics:!0,hidden:!0});this._body.nodes[g]=A,this.via=A,this.via.parentEdgeId=this.id,this.positionBezierNode()}}},{key:"positionBezierNode",value:function(){void 0!==this.via&&void 0!==this.from&&void 0!==this.to?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):void 0!==this.via&&(this.via.x=0,this.via.y=0)}},{key:"_line",value:function(g,A,t){this._bezierCurve(g,A,t)}},{key:"_getViaCoordinates",value:function(){return this.via}},{key:"getViaNode",value:function(){return this.via}},{key:"getPoint",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.via;if(this.from===this.to){var t=this._getCircleData(),e=IC(t,3),C=e[0],I=e[1],i=e[2],o=2*Math.PI*(1-g);return{x:C+i*Math.sin(o),y:I+i-i*(1-Math.cos(o))}}return{x:Math.pow(1-g,2)*this.fromPoint.x+2*g*(1-g)*A.x+Math.pow(g,2)*this.toPoint.x,y:Math.pow(1-g,2)*this.fromPoint.y+2*g*(1-g)*A.y+Math.pow(g,2)*this.toPoint.y}}},{key:"_findBorderPosition",value:function(g,A){return this._findBorderPositionBezier(g,A,this.via)}},{key:"_getDistanceToEdge",value:function(g,A,t,e,C,I){return this._getDistanceToBezierEdge(g,A,t,e,C,I,this.via)}}]),t}(Jd);function gh(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ah=function(g){Is(t,g);var A=gh(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_line",value:function(g,A,t){this._bezierCurve(g,A,t)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_getViaCoordinates",value:function(){var g,A,t=this.options.smooth.roundness,e=this.options.smooth.type,C=Math.abs(this.from.x-this.to.x),I=Math.abs(this.from.y-this.to.y);if("discrete"===e||"diagonalCross"===e){var i,o;i=o=C<=I?t*I:t*C,this.from.x>this.to.x&&(i=-i),this.from.y>=this.to.y&&(o=-o);var n=this.from.x+i,r=this.from.y+o;return"discrete"===e&&(C<=I?n=C<t*I?this.from.x:n:r=I<t*C?this.from.y:r),{x:n,y:r}}if("straightCross"===e){var s=(1-t)*C,a=(1-t)*I;return C<=I?(s=0,this.from.y<this.to.y&&(a=-a)):(this.from.x<this.to.x&&(s=-s),a=0),{x:this.to.x+s,y:this.to.y+a}}if("horizontal"===e){var d=(1-t)*C;return this.from.x<this.to.x&&(d=-d),{x:this.to.x+d,y:this.from.y}}if("vertical"===e){var h=(1-t)*I;return this.from.y<this.to.y&&(h=-h),{x:this.from.x,y:this.to.y+h}}if("curvedCW"===e){C=this.to.x-this.from.x,I=this.from.y-this.to.y;var l=Math.sqrt(C*C+I*I),c=Math.PI,u=(Math.atan2(I,C)+(.5*t+.5)*c)%(2*c);return{x:this.from.x+(.5*t+.5)*l*Math.sin(u),y:this.from.y+(.5*t+.5)*l*Math.cos(u)}}if("curvedCCW"===e){C=this.to.x-this.from.x,I=this.from.y-this.to.y;var p=Math.sqrt(C*C+I*I),f=Math.PI,v=(Math.atan2(I,C)+(.5*-t+.5)*f)%(2*f);return{x:this.from.x+(.5*t+.5)*p*Math.sin(v),y:this.from.y+(.5*t+.5)*p*Math.cos(v)}}g=A=C<=I?t*I:t*C,this.from.x>this.to.x&&(g=-g),this.from.y>=this.to.y&&(A=-A);var y=this.from.x+g,m=this.from.y+A;return C<=I?y=this.from.x<=this.to.x?this.to.x<y?this.to.x:y:this.to.x>y?this.to.x:y:m=this.from.y>=this.to.y?this.to.y>m?this.to.y:m:this.to.y<m?this.to.y:m,{x:y,y:m}}},{key:"_findBorderPosition",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._findBorderPositionBezier(g,A,t.via)}},{key:"_getDistanceToEdge",value:function(g,A,t,e,C,I){var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates();return this._getDistanceToBezierEdge(g,A,t,e,C,I,i)}},{key:"getPoint",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),t=g,e=Math.pow(1-t,2)*this.fromPoint.x+2*t*(1-t)*A.x+Math.pow(t,2)*this.toPoint.x,C=Math.pow(1-t,2)*this.fromPoint.y+2*t*(1-t)*A.y+Math.pow(t,2)*this.toPoint.y;return{x:e,y:C}}}]),t}(Jd);function th(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}function eh(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var Ch=function(g){Is(t,g);var A=eh(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_line",value:function(g,A,t){var e=t[0],C=t[1];this._bezierCurve(g,A,e,C)}},{key:"_getViaCoordinates",value:function(){var g,A,t,e,C=this.from.x-this.to.x,I=this.from.y-this.to.y,i=this.options.smooth.roundness;return(Math.abs(C)>Math.abs(I)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(A=this.from.y,e=this.to.y,g=this.from.x-i*C,t=this.to.x+i*C):(A=this.from.y-i*I,e=this.to.y+i*I,g=this.from.x,t=this.to.x),[{x:g,y:A},{x:t,y:e}]}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_findBorderPosition",value:function(g,A){return this._findBorderPositionBezier(g,A)}},{key:"_getDistanceToEdge",value:function(g,A,t,e,C,I){var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates(),o=IC(i,2),n=o[0],r=o[1];return this._getDistanceToBezierEdge2(g,A,t,e,C,I,n,r)}},{key:"getPoint",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),t=IC(A,2),e=t[0],C=t[1],I=g,i=[Math.pow(1-I,3),3*I*Math.pow(1-I,2),3*Math.pow(I,2)*(1-I),Math.pow(I,3)],o=i[0]*this.fromPoint.x+i[1]*e.x+i[2]*C.x+i[3]*this.toPoint.x,n=i[0]*this.fromPoint.y+i[1]*e.y+i[2]*C.y+i[3]*this.toPoint.y;return{x:o,y:n}}}]),t}(function(g){Is(t,g);var A=th(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_getDistanceToBezierEdge2",value:function(g,A,t,e,C,I,i,o){for(var n=1e9,r=g,s=A,a=[0,0,0,0],d=1;d<10;d++){var h=.1*d;a[0]=Math.pow(1-h,3),a[1]=3*h*Math.pow(1-h,2),a[2]=3*Math.pow(h,2)*(1-h),a[3]=Math.pow(h,3);var l=a[0]*g+a[1]*i.x+a[2]*o.x+a[3]*t,c=a[0]*A+a[1]*i.y+a[2]*o.y+a[3]*e;if(d>0){var u=this._getDistanceToLine(r,s,l,c,C,I);n=u<n?u:n}r=l,s=c}return n}}]),t}(Jd));function Ih(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var ih=function(g){Is(t,g);var A=Ih(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_line",value:function(g,A){g.beginPath(),g.moveTo(this.fromPoint.x,this.fromPoint.y),g.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(g,A),g.stroke(),this.disableShadow(g,A)}},{key:"getViaNode",value:function(){}},{key:"getPoint",value:function(g){return{x:(1-g)*this.fromPoint.x+g*this.toPoint.x,y:(1-g)*this.fromPoint.y+g*this.toPoint.y}}},{key:"_findBorderPosition",value:function(g,A){var t=this.to,e=this.from;g.id===this.from.id&&(t=this.from,e=this.to);var C=Math.atan2(t.y-e.y,t.x-e.x),I=t.x-e.x,i=t.y-e.y,o=Math.sqrt(I*I+i*i),n=(o-g.distanceToBorder(A,C))/o;return{x:(1-n)*e.x+n*t.x,y:(1-n)*e.y+n*t.y,t:0}}},{key:"_getDistanceToEdge",value:function(g,A,t,e,C,I){return this._getDistanceToLine(g,A,t,e,C,I)}}]),t}(_d),oh=function(){function g(A,t,e,C,I){if(De(this,g),void 0===t)throw new Error("No body provided");this.options=bn(C),this.globalOptions=C,this.defaultOptions=I,this.body=t,this.imagelist=e,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new Na(this.body,this.options,!0),this.setOptions(A)}return Pe(g,[{key:"setOptions",value:function(A){if(A){var t=void 0!==A.physics&&this.options.physics!==A.physics||void 0!==A.hidden&&(this.options.hidden||!1)!==(A.hidden||!1)||void 0!==A.from&&this.options.from!==A.from||void 0!==A.to&&this.options.to!==A.to;g.parseOptions(this.options,A,!0,this.globalOptions),void 0!==A.id&&(this.id=A.id),void 0!==A.from&&(this.fromId=A.from),void 0!==A.to&&(this.toId=A.to),void 0!==A.title&&(this.title=A.title),void 0!==A.value&&(A.value=ua(A.value));var e=[A,this.options,this.defaultOptions];return this.chooser=ma("edge",e),this.updateLabelModule(A),t=this.updateEdgeType()||t,this._setInteractionWidths(),this.connect(),t}}},{key:"getFormattingValues",value:function(){var g=!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,A=!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,t=!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,e=this.options.color.inherit,C={toArrow:g,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,toArrowSrc:this.options.arrows.to.src,toArrowImageWidth:this.options.arrows.to.imageWidth,toArrowImageHeight:this.options.arrows.to.imageHeight,middleArrow:t,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,middleArrowSrc:this.options.arrows.middle.src,middleArrowImageWidth:this.options.arrows.middle.imageWidth,middleArrowImageHeight:this.options.arrows.middle.imageHeight,fromArrow:A,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,fromArrowSrc:this.options.arrows.from.src,fromArrowImageWidth:this.options.arrows.from.imageWidth,fromArrowImageHeight:this.options.arrows.from.imageHeight,arrowStrikethrough:this.options.arrowStrikethrough,color:e?void 0:this.options.color.color,inheritsColor:e,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width,background:this.options.background.enabled,backgroundColor:this.options.background.color,backgroundSize:this.options.background.size,backgroundDashes:this.options.background.dashes};if(this.selected||this.hover)if(!0===this.chooser){if(this.selected){var I=this.options.selectionWidth;"function"==typeof I?C.width=I(C.width):"number"==typeof I&&(C.width+=I),C.width=Math.max(C.width,.3/this.body.view.scale),C.color=this.options.color.highlight,C.shadow=this.options.shadow.enabled}else if(this.hover){var i=this.options.hoverWidth;"function"==typeof i?C.width=i(C.width):"number"==typeof i&&(C.width+=i),C.width=Math.max(C.width,.3/this.body.view.scale),C.color=this.options.color.hover,C.shadow=this.options.shadow.enabled}}else"function"==typeof this.chooser&&(this.chooser(C,this.options.id,this.selected,this.hover),void 0!==C.color&&(C.inheritsColor=!1),!1===C.shadow&&(C.shadowColor===this.options.shadow.color&&C.shadowSize===this.options.shadow.size&&C.shadowX===this.options.shadow.x&&C.shadowY===this.options.shadow.y||(C.shadow=!0)));else C.shadow=this.options.shadow.enabled,C.width=Math.max(C.width,.3/this.body.view.scale);return C}},{key:"updateLabelModule",value:function(g){var A=[g,this.options,this.globalOptions,this.defaultOptions];this.labelModule.update(this.options,A),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateEdgeType",value:function(){var g=this.options.smooth,A=!1,t=!0;return void 0!==this.edgeType&&((this.edgeType instanceof $d&&!0===g.enabled&&"dynamic"===g.type||this.edgeType instanceof Ch&&!0===g.enabled&&"cubicBezier"===g.type||this.edgeType instanceof Ah&&!0===g.enabled&&"dynamic"!==g.type&&"cubicBezier"!==g.type||this.edgeType instanceof ih&&!1===g.type.enabled)&&(t=!1),!0===t&&(A=this.cleanup())),!0===t?!0===g.enabled?"dynamic"===g.type?(A=!0,this.edgeType=new $d(this.options,this.body,this.labelModule)):"cubicBezier"===g.type?this.edgeType=new Ch(this.options,this.body,this.labelModule):this.edgeType=new Ah(this.options,this.body,this.labelModule):this.edgeType=new ih(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),A}},{key:"connect",value:function(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=void 0!==this.from&&void 0!==this.to,!0===this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}},{key:"disconnect",value:function(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}},{key:"getTitle",value:function(){return this.title}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"setValueRange",value:function(g,A,t){if(void 0!==this.options.value){var e=this.options.scaling.customScalingFunction(g,A,t,this.options.value),C=this.options.scaling.max-this.options.scaling.min;if(!0===this.options.scaling.label.enabled){var I=this.options.scaling.label.max-this.options.scaling.label.min;this.options.font.size=this.options.scaling.label.min+e*I}this.options.width=this.options.scaling.min+e*C}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}},{key:"_setInteractionWidths",value:function(){"function"==typeof this.options.hoverWidth?this.edgeType.hoverWidth=this.options.hoverWidth(this.options.width):this.edgeType.hoverWidth=this.options.hoverWidth+this.options.width,"function"==typeof this.options.selectionWidth?this.edgeType.selectionWidth=this.options.selectionWidth(this.options.width):this.edgeType.selectionWidth=this.options.selectionWidth+this.options.width}},{key:"draw",value:function(g){var A=this.getFormattingValues();if(!A.hidden){var t=this.edgeType.getViaNode();this.edgeType.drawLine(g,A,this.selected,this.hover,t),this.drawLabel(g,t)}}},{key:"drawArrows",value:function(g){var A=this.getFormattingValues();if(!A.hidden){var t=this.edgeType.getViaNode(),e={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,A.fromArrow&&(e.from=this.edgeType.getArrowData(g,"from",t,this.selected,this.hover,A),!1===A.arrowStrikethrough&&(this.edgeType.fromPoint=e.from.core),A.fromArrowSrc&&(e.from.image=this.imagelist.load(A.fromArrowSrc)),A.fromArrowImageWidth&&(e.from.imageWidth=A.fromArrowImageWidth),A.fromArrowImageHeight&&(e.from.imageHeight=A.fromArrowImageHeight)),A.toArrow&&(e.to=this.edgeType.getArrowData(g,"to",t,this.selected,this.hover,A),!1===A.arrowStrikethrough&&(this.edgeType.toPoint=e.to.core),A.toArrowSrc&&(e.to.image=this.imagelist.load(A.toArrowSrc)),A.toArrowImageWidth&&(e.to.imageWidth=A.toArrowImageWidth),A.toArrowImageHeight&&(e.to.imageHeight=A.toArrowImageHeight)),A.middleArrow&&(e.middle=this.edgeType.getArrowData(g,"middle",t,this.selected,this.hover,A),A.middleArrowSrc&&(e.middle.image=this.imagelist.load(A.middleArrowSrc)),A.middleArrowImageWidth&&(e.middle.imageWidth=A.middleArrowImageWidth),A.middleArrowImageHeight&&(e.middle.imageHeight=A.middleArrowImageHeight)),A.fromArrow&&this.edgeType.drawArrowHead(g,A,this.selected,this.hover,e.from),A.middleArrow&&this.edgeType.drawArrowHead(g,A,this.selected,this.hover,e.middle),A.toArrow&&this.edgeType.drawArrowHead(g,A,this.selected,this.hover,e.to)}}},{key:"drawLabel",value:function(g,A){if(void 0!==this.options.label){var t,e=this.from,C=this.to;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(g,this.selected,this.hover),e.id!=C.id){this.labelModule.pointToSelf=!1,t=this.edgeType.getPoint(.5,A),g.save();var I=this._getRotation(g);0!=I.angle&&(g.translate(I.x,I.y),g.rotate(I.angle)),this.labelModule.draw(g,t.x,t.y,this.selected,this.hover),g.restore()}else{this.labelModule.pointToSelf=!0;var i=ka(g,this.options.selfReference.angle,this.options.selfReference.size,e);t=this._pointOnCircle(i.x,i.y,this.options.selfReference.size,this.options.selfReference.angle),this.labelModule.draw(g,t.x,t.y,this.selected,this.hover)}}}},{key:"getItemsOnPoint",value:function(g){var A=[];if(this.labelModule.visible()){var t=this._getRotation();ba(this.labelModule.getSize(),g,t)&&A.push({edgeId:this.id,labelId:0})}var e={left:g.x,top:g.y};return this.isOverlappingWith(e)&&A.push({edgeId:this.id}),A}},{key:"isOverlappingWith",value:function(g){if(this.connected){var A=this.from.x,t=this.from.y,e=this.to.x,C=this.to.y,I=g.left,i=g.top;return this.edgeType.getDistanceToEdge(A,t,e,C,I,i)<10}return!1}},{key:"_getRotation",value:function(g){var A=this.edgeType.getViaNode(),t=this.edgeType.getPoint(.5,A);void 0!==g&&this.labelModule.calculateLabelSize(g,this.selected,this.hover,t.x,t.y);var e={x:t.x,y:this.labelModule.size.yLine,angle:0};if(!this.labelModule.visible())return e;if("horizontal"===this.options.font.align)return e;var C=this.from.y-this.to.y,I=this.from.x-this.to.x,i=Math.atan2(C,I);return(i<-1&&I<0||i>0&&I<0)&&(i+=Math.PI),e.angle=i,e}},{key:"_pointOnCircle",value:function(g,A,t,e){return{x:g+t*Math.cos(e),y:A-t*Math.sin(e)}}},{key:"select",value:function(){this.selected=!0}},{key:"unselect",value:function(){this.selected=!1}},{key:"cleanup",value:function(){return this.edgeType.cleanup()}},{key:"remove",value:function(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}},{key:"endPointsValid",value:function(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}],[{key:"parseOptions",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},C=arguments.length>4&&void 0!==arguments[4]&&arguments[4],I=["endPointOffset","arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","selfReference","to","title","value","width","font","chosen","widthConstraint"];if(Cn(I,g,A,t),void 0!==A.endPointOffset&&void 0!==A.endPointOffset.from&&(Wr(A.endPointOffset.from)?g.endPointOffset.from=A.endPointOffset.from:(g.endPointOffset.from=void 0!==e.endPointOffset.from?e.endPointOffset.from:0,console.error("endPointOffset.from is not a valid number"))),void 0!==A.endPointOffset&&void 0!==A.endPointOffset.to&&(Wr(A.endPointOffset.to)?g.endPointOffset.to=A.endPointOffset.to:(g.endPointOffset.to=void 0!==e.endPointOffset.to?e.endPointOffset.to:0,console.error("endPointOffset.to is not a valid number"))),wa(A.label)?g.label=A.label:wa(g.label)||(g.label=void 0),wn(g,A,"smooth",e),wn(g,A,"shadow",e),wn(g,A,"background",e),void 0!==A.dashes&&null!==A.dashes?g.dashes=A.dashes:!0===t&&null===A.dashes&&(g.dashes=MI(e.dashes)),void 0!==A.scaling&&null!==A.scaling?(void 0!==A.scaling.min&&(g.scaling.min=A.scaling.min),void 0!==A.scaling.max&&(g.scaling.max=A.scaling.max),wn(g.scaling,A.scaling,"label",e.scaling)):!0===t&&null===A.scaling&&(g.scaling=MI(e.scaling)),void 0!==A.arrows&&null!==A.arrows)if("string"==typeof A.arrows){var i=A.arrows.toLowerCase();g.arrows.to.enabled=-1!=DI(i).call(i,"to"),g.arrows.middle.enabled=-1!=DI(i).call(i,"middle"),g.arrows.from.enabled=-1!=DI(i).call(i,"from")}else{if("object"!==nC(A.arrows))throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+LI(A.arrows));wn(g.arrows,A.arrows,"to",e.arrows),wn(g.arrows,A.arrows,"middle",e.arrows),wn(g.arrows,A.arrows,"from",e.arrows)}else!0===t&&null===A.arrows&&(g.arrows=MI(e.arrows));if(void 0!==A.color&&null!==A.color){var o=gn(A.color)?{color:A.color,highlight:A.color,hover:A.color,inherit:!1,opacity:1}:A.color,n=g.color;if(C)on(n,e.color,!1,t);else for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&delete n[r];if(gn(n))n.color=n,n.highlight=n,n.hover=n,n.inherit=!1,void 0===o.opacity&&(n.opacity=1);else{var s=!1;void 0!==o.color&&(n.color=o.color,s=!0),void 0!==o.highlight&&(n.highlight=o.highlight,s=!0),void 0!==o.hover&&(n.hover=o.hover,s=!0),void 0!==o.inherit&&(n.inherit=o.inherit),void 0!==o.opacity&&(n.opacity=Math.min(1,Math.max(0,o.opacity))),!0===s?n.inherit=!1:void 0===n.inherit&&(n.inherit="from")}}else!0===t&&null===A.color&&(g.color=bn(e.color));!0===t&&null===A.font&&(g.font=bn(e.font)),Object.prototype.hasOwnProperty.call(A,"selfReferenceSize")&&(console.warn("The selfReferenceSize property has been deprecated. Please use selfReference property instead. The selfReference can be set like thise selfReference:{size:30, angle:Math.PI / 4}"),g.selfReference.size=A.selfReferenceSize)}}]),g}(),nh=function(){function g(A,t,e){var C,I=this;De(this,g),this.body=A,this.images=t,this.groups=e,this.body.functions.createEdge=fg(C=this.create).call(C,this),this.edgesListeners={add:function(g,A){I.add(A.items)},update:function(g,A){I.update(A.items)},remove:function(g,A){I.remove(A.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},endPointOffset:{from:0,to:0},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(g,A,t,e){if(A===g)return.5;var C=1/(A-g);return Math.max(0,(e-g)*C)}},selectionWidth:1.5,selfReference:{size:20,angle:Math.PI/4,renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},background:{enabled:!1,color:"rgba(111,111,111,1)",size:10,dashes:!1},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},on(this.options,this.defaultOptions),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g,A,t=this;this.body.emitter.on("_forceDisableDynamicCurves",(function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"dynamic"===g&&(g="continuous");var e=!1;for(var C in t.body.edges)if(Object.prototype.hasOwnProperty.call(t.body.edges,C)){var I=t.body.edges[C],i=t.body.data.edges.get(C);if(null!=i){var o=i.smooth;void 0!==o&&!0===o.enabled&&"dynamic"===o.type&&(void 0===g?I.setOptions({smooth:!1}):I.setOptions({smooth:{type:g}}),e=!0)}}!0===A&&!0===e&&t.body.emitter.emit("_dataChanged")})),this.body.emitter.on("_dataUpdated",(function(){t.reconnectEdges()})),this.body.emitter.on("refreshEdges",fg(g=this.refresh).call(g,this)),this.body.emitter.on("refresh",fg(A=this.refresh).call(A,this)),this.body.emitter.on("destroy",(function(){an(t.edgesListeners,(function(g,A){t.body.data.edges&&t.body.data.edges.off(A,g)})),delete t.body.functions.createEdge,delete t.edgesListeners.add,delete t.edgesListeners.update,delete t.edgesListeners.remove,delete t.edgesListeners}))}},{key:"setOptions",value:function(g){if(void 0!==g){oh.parseOptions(this.options,g,!0,this.defaultOptions,!0);var A=!1;if(void 0!==g.smooth)for(var t in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,t)&&(A=this.body.edges[t].updateEdgeType()||A);if(void 0!==g.font)for(var e in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,e)&&this.body.edges[e].updateLabelModule();void 0===g.hidden&&void 0===g.physics&&!0!==A||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(g){var A=this,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=this.body.data.edges;if(aa("id",g))this.body.data.edges=g;else if(uC(g))this.body.data.edges=new na,this.body.data.edges.add(g);else{if(g)throw new TypeError("Array or DataSet expected");this.body.data.edges=new na}if(e&&an(this.edgesListeners,(function(g,A){e.off(A,g)})),this.body.edges={},this.body.data.edges){an(this.edgesListeners,(function(g,t){A.body.data.edges.on(t,g)}));var C=this.body.data.edges.getIds();this.add(C,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===t&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(g){for(var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=this.body.edges,e=this.body.data.edges,C=0;C<g.length;C++){var I=g[C],i=t[I];i&&i.disconnect();var o=e.get(I,{showInternalIds:!0});t[I]=this.create(o)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===A&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(g){for(var A=this.body.edges,t=this.body.data.edges,e=!1,C=0;C<g.length;C++){var I=g[C],i=t.get(I),o=A[I];void 0!==o?(o.disconnect(),e=o.setOptions(i)||e,o.connect()):(this.body.edges[I]=this.create(i),e=!0)}!0===e?(this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),this.body.emitter.emit("_dataChanged")):this.body.emitter.emit("_dataUpdated")}},{key:"remove",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(0!==g.length){var t=this.body.edges;an(g,(function(g){var A=t[g];void 0!==A&&A.remove()})),A&&this.body.emitter.emit("_dataChanged")}}},{key:"refresh",value:function(){var g=this;an(this.body.edges,(function(A,t){var e=g.body.data.edges.get(t);void 0!==e&&A.setOptions(e)}))}},{key:"create",value:function(g){return new oh(g,this.body,this.images,this.options,this.defaultOptions)}},{key:"reconnectEdges",value:function(){var g,A=this.body.nodes,t=this.body.edges;for(g in A)Object.prototype.hasOwnProperty.call(A,g)&&(A[g].edges=[]);for(g in t)if(Object.prototype.hasOwnProperty.call(t,g)){var e=t[g];e.from=null,e.to=null,e.connect()}}},{key:"getConnectedNodes",value:function(g){var A=[];if(void 0!==this.body.edges[g]){var t=this.body.edges[g];void 0!==t.fromId&&A.push(t.fromId),void 0!==t.toId&&A.push(t.toId)}return A}},{key:"_updateState",value:function(){this._addMissingEdges(),this._removeInvalidEdges()}},{key:"_removeInvalidEdges",value:function(){var g=this,A=[];an(this.body.edges,(function(t,e){var C=g.body.nodes[t.toId],I=g.body.nodes[t.fromId];void 0!==C&&!0===C.isCluster||void 0!==I&&!0===I.isCluster||void 0!==C&&void 0!==I||A.push(e)})),this.remove(A,!1)}},{key:"_addMissingEdges",value:function(){var g=this.body.data.edges;if(null!=g){var A=this.body.edges,t=[];RC(g).call(g,(function(g,e){void 0===A[e]&&t.push(e)})),this.add(t,!0)}}}]),g}(),rh=function(){function g(A,t,e){De(this,g),this.body=A,this.physicsBody=t,this.barnesHutTree,this.setOptions(e),this._rng=Wo("BARNES HUT SOLVER")}return Pe(g,[{key:"setOptions",value:function(g){this.options=g,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}},{key:"solve",value:function(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){var g,A=this.body.nodes,t=this.physicsBody.physicsNodeIndices,e=t.length,C=this._formBarnesHutTree(A,t);this.barnesHutTree=C;for(var I=0;I<e;I++)(g=A[t[I]]).options.mass>0&&this._getForceContributions(C.root,g)}}},{key:"_getForceContributions",value:function(g,A){this._getForceContribution(g.children.NW,A),this._getForceContribution(g.children.NE,A),this._getForceContribution(g.children.SW,A),this._getForceContribution(g.children.SE,A)}},{key:"_getForceContribution",value:function(g,A){if(g.childrenCount>0){var t=g.centerOfMass.x-A.x,e=g.centerOfMass.y-A.y,C=Math.sqrt(t*t+e*e);C*g.calcSize>this.thetaInversed?this._calculateForces(C,t,e,A,g):4===g.childrenCount?this._getForceContributions(g,A):g.children.data.id!=A.id&&this._calculateForces(C,t,e,A,g)}}},{key:"_calculateForces",value:function(g,A,t,e,C){0===g&&(A=g=.1),this.overlapAvoidanceFactor<1&&e.shape.radius&&(g=Math.max(.1+this.overlapAvoidanceFactor*e.shape.radius,g-e.shape.radius));var I=this.options.gravitationalConstant*C.mass*e.options.mass/Math.pow(g,3),i=A*I,o=t*I;this.physicsBody.forces[e.id].x+=i,this.physicsBody.forces[e.id].y+=o}},{key:"_formBarnesHutTree",value:function(g,A){for(var t,e=A.length,C=g[A[0]].x,I=g[A[0]].y,i=g[A[0]].x,o=g[A[0]].y,n=1;n<e;n++){var r=g[A[n]],s=r.x,a=r.y;r.options.mass>0&&(s<C&&(C=s),s>i&&(i=s),a<I&&(I=a),a>o&&(o=a))}var d=Math.abs(i-C)-Math.abs(o-I);d>0?(I-=.5*d,o+=.5*d):(C+=.5*d,i-=.5*d);var h=Math.max(1e-5,Math.abs(i-C)),l=.5*h,c=.5*(C+i),u=.5*(I+o),p={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:c-l,maxX:c+l,minY:u-l,maxY:u+l},size:h,calcSize:1/h,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(p.root);for(var f=0;f<e;f++)(t=g[A[f]]).options.mass>0&&this._placeInTree(p.root,t);return p}},{key:"_updateBranchMass",value:function(g,A){var t=g.centerOfMass,e=g.mass+A.options.mass,C=1/e;t.x=t.x*g.mass+A.x*A.options.mass,t.x*=C,t.y=t.y*g.mass+A.y*A.options.mass,t.y*=C,g.mass=e;var I=Math.max(Math.max(A.height,A.radius),A.width);g.maxWidth=g.maxWidth<I?I:g.maxWidth}},{key:"_placeInTree",value:function(g,A,t){1==t&&void 0!==t||this._updateBranchMass(g,A);var e,C=g.children.NW.range;e=C.maxX>A.x?C.maxY>A.y?"NW":"SW":C.maxY>A.y?"NE":"SE",this._placeInRegion(g,A,e)}},{key:"_placeInRegion",value:function(g,A,t){var e=g.children[t];switch(e.childrenCount){case 0:e.children.data=A,e.childrenCount=1,this._updateBranchMass(e,A);break;case 1:e.children.data.x===A.x&&e.children.data.y===A.y?(A.x+=this._rng(),A.y+=this._rng()):(this._splitBranch(e),this._placeInTree(e,A));break;case 4:this._placeInTree(e,A)}}},{key:"_splitBranch",value:function(g){var A=null;1===g.childrenCount&&(A=g.children.data,g.mass=0,g.centerOfMass.x=0,g.centerOfMass.y=0),g.childrenCount=4,g.children.data=null,this._insertRegion(g,"NW"),this._insertRegion(g,"NE"),this._insertRegion(g,"SW"),this._insertRegion(g,"SE"),null!=A&&this._placeInTree(g,A)}},{key:"_insertRegion",value:function(g,A){var t,e,C,I,i=.5*g.size;switch(A){case"NW":t=g.range.minX,e=g.range.minX+i,C=g.range.minY,I=g.range.minY+i;break;case"NE":t=g.range.minX+i,e=g.range.maxX,C=g.range.minY,I=g.range.minY+i;break;case"SW":t=g.range.minX,e=g.range.minX+i,C=g.range.minY+i,I=g.range.maxY;break;case"SE":t=g.range.minX+i,e=g.range.maxX,C=g.range.minY+i,I=g.range.maxY}g.children[A]={centerOfMass:{x:0,y:0},mass:0,range:{minX:t,maxX:e,minY:C,maxY:I},size:.5*g.size,calcSize:2*g.calcSize,children:{data:null},maxWidth:0,level:g.level+1,childrenCount:0}}},{key:"_debug",value:function(g,A){void 0!==this.barnesHutTree&&(g.lineWidth=1,this._drawBranch(this.barnesHutTree.root,g,A))}},{key:"_drawBranch",value:function(g,A,t){void 0===t&&(t="#FF0000"),4===g.childrenCount&&(this._drawBranch(g.children.NW,A),this._drawBranch(g.children.NE,A),this._drawBranch(g.children.SE,A),this._drawBranch(g.children.SW,A)),A.strokeStyle=t,A.beginPath(),A.moveTo(g.range.minX,g.range.minY),A.lineTo(g.range.maxX,g.range.minY),A.stroke(),A.beginPath(),A.moveTo(g.range.maxX,g.range.minY),A.lineTo(g.range.maxX,g.range.maxY),A.stroke(),A.beginPath(),A.moveTo(g.range.maxX,g.range.maxY),A.lineTo(g.range.minX,g.range.maxY),A.stroke(),A.beginPath(),A.moveTo(g.range.minX,g.range.maxY),A.lineTo(g.range.minX,g.range.minY),A.stroke()}}]),g}(),sh=function(){function g(A,t,e){De(this,g),this._rng=Wo("REPULSION SOLVER"),this.body=A,this.physicsBody=t,this.setOptions(e)}return Pe(g,[{key:"setOptions",value:function(g){this.options=g}},{key:"solve",value:function(){for(var g,A,t,e,C,I,i,o,n=this.body.nodes,r=this.physicsBody.physicsNodeIndices,s=this.physicsBody.forces,a=this.options.nodeDistance,d=-2/3/a,h=0;h<r.length-1;h++){i=n[r[h]];for(var l=h+1;l<r.length;l++)g=(o=n[r[l]]).x-i.x,A=o.y-i.y,0===(t=Math.sqrt(g*g+A*A))&&(g=t=.1*this._rng()),t<2*a&&(I=t<.5*a?1:d*t+1.3333333333333333,e=g*(I/=t),C=A*I,s[i.id].x-=e,s[i.id].y-=C,s[o.id].x+=e,s[o.id].y+=C)}}}]),g}(),ah=function(){function g(A,t,e){De(this,g),this.body=A,this.physicsBody=t,this.setOptions(e)}return Pe(g,[{key:"setOptions",value:function(g){this.options=g,this.overlapAvoidanceFactor=Math.max(0,Math.min(1,this.options.avoidOverlap||0))}},{key:"solve",value:function(){for(var g=this.body.nodes,A=this.physicsBody.physicsNodeIndices,t=this.physicsBody.forces,e=this.options.nodeDistance,C=0;C<A.length-1;C++)for(var I=g[A[C]],i=C+1;i<A.length;i++){var o=g[A[i]];if(I.level===o.level){var n=e+this.overlapAvoidanceFactor*((I.shape.radius||0)/2+(o.shape.radius||0)/2),r=o.x-I.x,s=o.y-I.y,a=Math.sqrt(r*r+s*s),d=void 0;d=a<n?-Math.pow(.05*a,2)+Math.pow(.05*n,2):0,0!==a&&(d/=a);var h=r*d,l=s*d;t[I.id].x-=h,t[I.id].y-=l,t[o.id].x+=h,t[o.id].y+=l}}}}]),g}(),dh=function(){function g(A,t,e){De(this,g),this.body=A,this.physicsBody=t,this.setOptions(e)}return Pe(g,[{key:"setOptions",value:function(g){this.options=g}},{key:"solve",value:function(){for(var g,A,t,e,C,I=this.physicsBody.physicsEdgeIndices,i=this.body.edges,o=0;o<I.length;o++)!0===(A=i[I[o]]).connected&&A.toId!==A.fromId&&void 0!==this.body.nodes[A.toId]&&void 0!==this.body.nodes[A.fromId]&&(void 0!==A.edgeType.via?(g=void 0===A.options.length?this.options.springLength:A.options.length,t=A.to,e=A.edgeType.via,C=A.from,this._calculateSpringForce(t,e,.5*g),this._calculateSpringForce(e,C,.5*g)):(g=void 0===A.options.length?1.5*this.options.springLength:A.options.length,this._calculateSpringForce(A.from,A.to,g)))}},{key:"_calculateSpringForce",value:function(g,A,t){var e=g.x-A.x,C=g.y-A.y,I=Math.max(Math.sqrt(e*e+C*C),.01),i=this.options.springConstant*(t-I)/I,o=e*i,n=C*i;void 0!==this.physicsBody.forces[g.id]&&(this.physicsBody.forces[g.id].x+=o,this.physicsBody.forces[g.id].y+=n),void 0!==this.physicsBody.forces[A.id]&&(this.physicsBody.forces[A.id].x-=o,this.physicsBody.forces[A.id].y-=n)}}]),g}(),hh=function(){function g(A,t,e){De(this,g),this.body=A,this.physicsBody=t,this.setOptions(e)}return Pe(g,[{key:"setOptions",value:function(g){this.options=g}},{key:"solve",value:function(){for(var g,A,t,e,C,I,i,o,n,r,s=this.body.edges,a=.5,d=this.physicsBody.physicsEdgeIndices,h=this.physicsBody.physicsNodeIndices,l=this.physicsBody.forces,c=0;c<h.length;c++){var u=h[c];l[u].springFx=0,l[u].springFy=0}for(var p=0;p<d.length;p++)!0===(A=s[d[p]]).connected&&(g=void 0===A.options.length?this.options.springLength:A.options.length,t=A.from.x-A.to.x,e=A.from.y-A.to.y,o=0===(o=Math.sqrt(t*t+e*e))?.01:o,C=t*(i=this.options.springConstant*(g-o)/o),I=e*i,A.to.level!=A.from.level?(void 0!==l[A.toId]&&(l[A.toId].springFx-=C,l[A.toId].springFy-=I),void 0!==l[A.fromId]&&(l[A.fromId].springFx+=C,l[A.fromId].springFy+=I)):(void 0!==l[A.toId]&&(l[A.toId].x-=a*C,l[A.toId].y-=a*I),void 0!==l[A.fromId]&&(l[A.fromId].x+=a*C,l[A.fromId].y+=a*I)));i=1;for(var f=0;f<h.length;f++){var v=h[f];n=Math.min(i,Math.max(-i,l[v].springFx)),r=Math.min(i,Math.max(-i,l[v].springFy)),l[v].x+=n,l[v].y+=r}for(var y=0,m=0,b=0;b<h.length;b++){var w=h[b];y+=l[w].x,m+=l[w].y}for(var k=y/h.length,x=m/h.length,E=0;E<h.length;E++){var O=h[E];l[O].x-=k,l[O].y-=x}}}]),g}(),lh=function(){function g(A,t,e){De(this,g),this.body=A,this.physicsBody=t,this.setOptions(e)}return Pe(g,[{key:"setOptions",value:function(g){this.options=g}},{key:"solve",value:function(){for(var g,A,t,e,C=this.body.nodes,I=this.physicsBody.physicsNodeIndices,i=this.physicsBody.forces,o=0;o<I.length;o++){g=-(e=C[I[o]]).x,A=-e.y,t=Math.sqrt(g*g+A*A),this._calculateForces(t,g,A,i,e)}}},{key:"_calculateForces",value:function(g,A,t,e,C){var I=0===g?0:this.options.centralGravity/g;e[C.id].x=A*I,e[C.id].y=t*I}}]),g}();function ch(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var uh=function(g){Is(t,g);var A=ch(t);function t(g,e,C){var I;return De(this,t),(I=A.call(this,g,e,C))._rng=Wo("FORCE ATLAS 2 BASED REPULSION SOLVER"),I}return Pe(t,[{key:"_calculateForces",value:function(g,A,t,e,C){0===g&&(A=g=.1*this._rng()),this.overlapAvoidanceFactor<1&&e.shape.radius&&(g=Math.max(.1+this.overlapAvoidanceFactor*e.shape.radius,g-e.shape.radius));var I=e.edges.length+1,i=this.options.gravitationalConstant*C.mass*e.options.mass*I/Math.pow(g,2),o=A*i,n=t*i;this.physicsBody.forces[e.id].x+=o,this.physicsBody.forces[e.id].y+=n}}]),t}(rh);function ph(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var fh=function(g){Is(t,g);var A=ph(t);function t(g,e,C){return De(this,t),A.call(this,g,e,C)}return Pe(t,[{key:"_calculateForces",value:function(g,A,t,e,C){if(g>0){var I=C.edges.length+1,i=this.options.centralGravity*I*C.options.mass;e[C.id].x=A*i,e[C.id].y=t*i}}}]),t}(lh),vh=function(){function g(A){De(this,g),this.body=A,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0,wind:{x:0,y:0}},sg(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g=this;this.body.emitter.on("initPhysics",(function(){g.initPhysics()})),this.body.emitter.on("_layoutFailed",(function(){g.layoutFailed=!0})),this.body.emitter.on("resetPhysics",(function(){g.stopSimulation(),g.ready=!1})),this.body.emitter.on("disablePhysics",(function(){g.physicsEnabled=!1,g.stopSimulation()})),this.body.emitter.on("restorePhysics",(function(){g.setOptions(g.options),!0===g.ready&&g.startSimulation()})),this.body.emitter.on("startSimulation",(function(){!0===g.ready&&g.startSimulation()})),this.body.emitter.on("stopSimulation",(function(){g.stopSimulation()})),this.body.emitter.on("destroy",(function(){g.stopSimulation(!1),g.body.emitter.off()})),this.body.emitter.on("_dataChanged",(function(){g.updatePhysicsData()}))}},{key:"setOptions",value:function(g){if(void 0!==g)if(!1===g)this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation();else if(!0===g)this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation();else{this.physicsEnabled=!0,In(["stabilization"],this.options,g),wn(this.options,g,"stabilization"),void 0===g.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation());var A=this.options.wind;A&&(("number"!=typeof A.x||jr(A.x))&&(A.x=0),("number"!=typeof A.y||jr(A.y))&&(A.y=0)),this.timestep=this.options.timestep}this.init()}},{key:"init",value:function(){var g;"forceAtlas2Based"===this.options.solver?(g=this.options.forceAtlas2Based,this.nodesSolver=new uh(this.body,this.physicsBody,g),this.edgesSolver=new dh(this.body,this.physicsBody,g),this.gravitySolver=new fh(this.body,this.physicsBody,g)):"repulsion"===this.options.solver?(g=this.options.repulsion,this.nodesSolver=new sh(this.body,this.physicsBody,g),this.edgesSolver=new dh(this.body,this.physicsBody,g),this.gravitySolver=new lh(this.body,this.physicsBody,g)):"hierarchicalRepulsion"===this.options.solver?(g=this.options.hierarchicalRepulsion,this.nodesSolver=new ah(this.body,this.physicsBody,g),this.edgesSolver=new hh(this.body,this.physicsBody,g),this.gravitySolver=new lh(this.body,this.physicsBody,g)):(g=this.options.barnesHut,this.nodesSolver=new rh(this.body,this.physicsBody,g),this.edgesSolver=new dh(this.body,this.physicsBody,g),this.gravitySolver=new lh(this.body,this.physicsBody,g)),this.modelOptions=g}},{key:"initPhysics",value:function(){!0===this.physicsEnabled&&!0===this.options.enabled?!0===this.options.stabilization.enabled?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}},{key:"startSimulation",value:function(){var g;!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=fg(g=this.simulationStep).call(g,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}},{key:"stopSimulation",value:function(){var g=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.stabilized=!0,!0===g&&this._emitStabilized(),void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,!0===g&&this.body.emitter.emit("_stopRendering"))}},{key:"simulationStep",value:function(){var g=kC();this.physicsTick(),(kC()-g<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}},{key:"_emitStabilized",value:function(){var g=this,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.stabilizationIterations;(this.stabilizationIterations>1||!0===this.startedStabilization)&&WI((function(){g.body.emitter.emit("stabilized",{iterations:A}),g.startedStabilization=!1,g.stabilizationIterations=0}),0)}},{key:"physicsStep",value:function(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}},{key:"adjustTimeStep",value:function(){!0===this._evaluateStepQuality()?this.timestep=1.2*this.timestep:this.timestep/1.2<this.options.timestep?this.timestep=this.options.timestep:(this.adaptiveCounter=-1,this.timestep=Math.max(this.options.timestep,this.timestep/1.2))}},{key:"physicsTick",value:function(){if(this._startStabilizing(),!0!==this.stabilized){if(!0===this.adaptiveTimestep&&!0===this.adaptiveTimestepEnabled)this.adaptiveCounter%this.adaptiveInterval==0?(this.timestep=2*this.timestep,this.physicsStep(),this.revert(),this.timestep=.5*this.timestep,this.physicsStep(),this.physicsStep(),this.adjustTimeStep()):this.physicsStep(),this.adaptiveCounter+=1;else this.timestep=this.options.timestep,this.physicsStep();!0===this.stabilized&&this.revert(),this.stabilizationIterations++}}},{key:"updatePhysicsData",value:function(){this.physicsBody.forces={},this.physicsBody.physicsNodeIndices=[],this.physicsBody.physicsEdgeIndices=[];var g=this.body.nodes,A=this.body.edges;for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&!0===g[t].options.physics&&this.physicsBody.physicsNodeIndices.push(g[t].id);for(var e in A)Object.prototype.hasOwnProperty.call(A,e)&&!0===A[e].options.physics&&this.physicsBody.physicsEdgeIndices.push(A[e].id);for(var C=0;C<this.physicsBody.physicsNodeIndices.length;C++){var I=this.physicsBody.physicsNodeIndices[C];this.physicsBody.forces[I]={x:0,y:0},void 0===this.physicsBody.velocities[I]&&(this.physicsBody.velocities[I]={x:0,y:0})}for(var i in this.physicsBody.velocities)void 0===g[i]&&delete this.physicsBody.velocities[i]}},{key:"revert",value:function(){var g=wC(this.previousStates),A=this.body.nodes,t=this.physicsBody.velocities;this.referenceState={};for(var e=0;e<g.length;e++){var C=g[e];void 0!==A[C]?!0===A[C].options.physics&&(this.referenceState[C]={positions:{x:A[C].x,y:A[C].y}},t[C].x=this.previousStates[C].vx,t[C].y=this.previousStates[C].vy,A[C].x=this.previousStates[C].x,A[C].y=this.previousStates[C].y):delete this.previousStates[C]}}},{key:"_evaluateStepQuality",value:function(){var g,A,t=this.body.nodes,e=this.referenceState;for(var C in this.referenceState)if(Object.prototype.hasOwnProperty.call(this.referenceState,C)&&void 0!==t[C]&&(g=t[C].x-e[C].positions.x,A=t[C].y-e[C].positions.y,Math.sqrt(Math.pow(g,2)+Math.pow(A,2))>.3))return!1;return!0}},{key:"moveNodes",value:function(){for(var g=this.physicsBody.physicsNodeIndices,A=0,t=0,e=0;e<g.length;e++){var C=g[e],I=this._performStep(C);A=Math.max(A,I),t+=I}this.adaptiveTimestepEnabled=t/g.length<5,this.stabilized=A<this.options.minVelocity}},{key:"calculateComponentVelocity",value:function(g,A,t){g+=(A-this.modelOptions.damping*g)/t*this.timestep;var e=this.options.maxVelocity||1e9;return Math.abs(g)>e&&(g=g>0?e:-e),g}},{key:"_performStep",value:function(g){var A=this.body.nodes[g],t=this.physicsBody.forces[g];this.options.wind&&(t.x+=this.options.wind.x,t.y+=this.options.wind.y);var e=this.physicsBody.velocities[g];return this.previousStates[g]={x:A.x,y:A.y,vx:e.x,vy:e.y},!1===A.options.fixed.x?(e.x=this.calculateComponentVelocity(e.x,t.x,A.options.mass),A.x+=e.x*this.timestep):(t.x=0,e.x=0),!1===A.options.fixed.y?(e.y=this.calculateComponentVelocity(e.y,t.y,A.options.mass),A.y+=e.y*this.timestep):(t.y=0,e.y=0),Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}},{key:"_freezeNodes",value:function(){var g=this.body.nodes;for(var A in g)if(Object.prototype.hasOwnProperty.call(g,A)&&g[A].x&&g[A].y){var t=g[A].options.fixed;this.freezeCache[A]={x:t.x,y:t.y},t.x=!0,t.y=!0}}},{key:"_restoreFrozenNodes",value:function(){var g=this.body.nodes;for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&void 0!==this.freezeCache[A]&&(g[A].options.fixed.x=this.freezeCache[A].x,g[A].options.fixed.y=this.freezeCache[A].y);this.freezeCache={}}},{key:"stabilize",value:function(){var g=this,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.stabilization.iterations;"number"!=typeof A&&(A=this.options.stabilization.iterations,console.error("The stabilize method needs a numeric amount of iterations. Switching to default: ",A)),0!==this.physicsBody.physicsNodeIndices.length?(this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=A,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,WI((function(){return g._stabilizationBatch()}),0)):this.ready=!0}},{key:"_startStabilizing",value:function(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}},{key:"_stabilizationBatch",value:function(){var g=this,A=function(){return!1===g.stabilized&&g.stabilizationIterations<g.targetIterations},t=function(){g.body.emitter.emit("stabilizationProgress",{iterations:g.stabilizationIterations,total:g.targetIterations})};this._startStabilizing()&&t();for(var e,C=0;A()&&C<this.options.stabilization.updateInterval;)this.physicsTick(),C++;(t(),A())?WI(fg(e=this._stabilizationBatch).call(e,this),0):this._finalizeStabilization()}},{key:"_finalizeStabilization",value:function(){this.body.emitter.emit("_allowRedraw"),!0===this.options.stabilization.fit&&this.body.emitter.emit("fit"),!0===this.options.stabilization.onlyDynamicEdges&&this._restoreFrozenNodes(),this.body.emitter.emit("stabilizationIterationsDone"),this.body.emitter.emit("_requestRedraw"),!0===this.stabilized?this._emitStabilized():this.startSimulation(),this.ready=!0}},{key:"_drawForces",value:function(g){for(var A=0;A<this.physicsBody.physicsNodeIndices.length;A++){var t=this.physicsBody.physicsNodeIndices[A],e=this.body.nodes[t],C=this.physicsBody.forces[t],I=Math.sqrt(Math.pow(C.x,2)+Math.pow(C.x,2)),i=Math.min(Math.max(5,I),15),o=3*i,n=fn((180-180*Math.min(1,Math.max(0,.03*I)))/360,1,1),r={x:e.x+20*C.x,y:e.y+20*C.y};g.lineWidth=i,g.strokeStyle=n,g.beginPath(),g.moveTo(e.x,e.y),g.lineTo(r.x,r.y),g.stroke();var s=Math.atan2(C.y,C.x);g.fillStyle=n,Wd.draw(g,{type:"arrow",point:r,angle:s,length:o}),_I(g).call(g)}}}]),g}(),yh=function(){function g(){De(this,g)}return Pe(g,null,[{key:"getRange",value:function(g){var A,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=1e9,C=-1e9,I=1e9,i=-1e9;if(t.length>0)for(var o=0;o<t.length;o++)I>(A=g[t[o]]).shape.boundingBox.left&&(I=A.shape.boundingBox.left),i<A.shape.boundingBox.right&&(i=A.shape.boundingBox.right),e>A.shape.boundingBox.top&&(e=A.shape.boundingBox.top),C<A.shape.boundingBox.bottom&&(C=A.shape.boundingBox.bottom);return 1e9===I&&-1e9===i&&1e9===e&&-1e9===C&&(e=0,C=0,I=0,i=0),{minX:I,maxX:i,minY:e,maxY:C}}},{key:"getRangeCore",value:function(g){var A,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=1e9,C=-1e9,I=1e9,i=-1e9;if(t.length>0)for(var o=0;o<t.length;o++)I>(A=g[t[o]]).x&&(I=A.x),i<A.x&&(i=A.x),e>A.y&&(e=A.y),C<A.y&&(C=A.y);return 1e9===I&&-1e9===i&&1e9===e&&-1e9===C&&(e=0,C=0,I=0,i=0),{minX:I,maxX:i,minY:e,maxY:C}}},{key:"findCenter",value:function(g){return{x:.5*(g.maxX+g.minX),y:.5*(g.maxY+g.minY)}}},{key:"cloneOptions",value:function(g,A){var t={};return void 0===A||"node"===A?(on(t,g.options,!0),t.x=g.x,t.y=g.y,t.amountOfConnections=g.edges.length):on(t,g.options,!0),t}}]),g}();function mh(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var bh=function(g){Is(t,g);var A=mh(t);function t(g,e,C,I,i,o){var n;return De(this,t),(n=A.call(this,g,e,C,I,i,o)).isCluster=!0,n.containedNodes={},n.containedEdges={},n}return Pe(t,[{key:"_openChildCluster",value:function(g){var A=this,t=this.body.nodes[g];if(void 0===this.containedNodes[g])throw new Error("node with id: "+g+" not in current cluster");if(!t.isCluster)throw new Error("node with id: "+g+" is not a cluster");delete this.containedNodes[g],an(t.edges,(function(g){delete A.containedEdges[g.id]})),an(t.containedNodes,(function(g,t){A.containedNodes[t]=g})),t.containedNodes={},an(t.containedEdges,(function(g,t){A.containedEdges[t]=g})),t.containedEdges={},an(t.edges,(function(g){an(A.edges,(function(t){var e,C,I=DI(e=t.clusteringEdgeReplacingIds).call(e,g.id);-1!==I&&(an(g.clusteringEdgeReplacingIds,(function(g){t.clusteringEdgeReplacingIds.push(g),A.body.edges[g].edgeReplacedById=t.id})),WC(C=t.clusteringEdgeReplacingIds).call(C,I,1))}))})),t.edges=[]}}]),t}(fd),wh=function(){function g(A){var t=this;De(this,g),this.body=A,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},sg(this.options,this.defaultOptions),this.body.emitter.on("_resetData",(function(){t.clusteredNodes={},t.clusteredEdges={}}))}return Pe(g,[{key:"clusterByHubsize",value:function(g,A){void 0===g?g=this._getHubSize():"object"===nC(g)&&(A=this._checkOptions(g),g=this._getHubSize());for(var t=[],e=0;e<this.body.nodeIndices.length;e++){var C=this.body.nodes[this.body.nodeIndices[e]];C.edges.length>=g&&t.push(C.id)}for(var I=0;I<t.length;I++)this.clusterByConnection(t[I],A,!0);this.body.emitter.emit("_dataChanged")}},{key:"cluster",value:function(){var g=this,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0===A.joinCondition)throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");A=this._checkOptions(A);var e={},C={};an(this.body.nodes,(function(t,I){t.options&&!0===A.joinCondition(t.options)&&(e[I]=t,an(t.edges,(function(A){void 0===g.clusteredEdges[A.id]&&(C[A.id]=A)})))})),this._cluster(e,C,A,t)}},{key:"clusterByEdgeCount",value:function(g,A){var t=this,e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];A=this._checkOptions(A);for(var C,I,i,o=[],n={},r=function(e){var r={},s={},a=t.body.nodeIndices[e],d=t.body.nodes[a];if(void 0===n[a]){i=0,I=[];for(var h=0;h<d.edges.length;h++)C=d.edges[h],void 0===t.clusteredEdges[C.id]&&(C.toId!==C.fromId&&i++,I.push(C));if(i===g){for(var l=function(g){if(void 0===A.joinCondition||null===A.joinCondition)return!0;var t=yh.cloneOptions(g);return A.joinCondition(t)},c=!0,u=0;u<I.length;u++){C=I[u];var p=t._getConnectedId(C,a);if(!l(d)){c=!1;break}s[C.id]=C,r[a]=d,r[p]=t.body.nodes[p],n[a]=!0}if(wC(r).length>0&&wC(s).length>0&&!0===c){var f=function(){for(var g=0;g<o.length;++g)for(var A in r)if(void 0!==o[g].nodes[A])return o[g]}();if(void 0!==f){for(var v in r)void 0===f.nodes[v]&&(f.nodes[v]=r[v]);for(var y in s)void 0===f.edges[y]&&(f.edges[y]=s[y])}else o.push({nodes:r,edges:s})}}}},s=0;s<this.body.nodeIndices.length;s++)r(s);for(var a=0;a<o.length;a++)this._cluster(o[a].nodes,o[a].edges,A,!1);!0===e&&this.body.emitter.emit("_dataChanged")}},{key:"clusterOutliers",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(1,g,A)}},{key:"clusterBridges",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(2,g,A)}},{key:"clusterByConnection",value:function(g,A){var t,e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===g)throw new Error("No nodeId supplied to clusterByConnection!");if(void 0===this.body.nodes[g])throw new Error("The nodeId given to clusterByConnection does not exist!");var C=this.body.nodes[g];void 0===(A=this._checkOptions(A,C)).clusterNodeProperties.x&&(A.clusterNodeProperties.x=C.x),void 0===A.clusterNodeProperties.y&&(A.clusterNodeProperties.y=C.y),void 0===A.clusterNodeProperties.fixed&&(A.clusterNodeProperties.fixed={},A.clusterNodeProperties.fixed.x=C.options.fixed.x,A.clusterNodeProperties.fixed.y=C.options.fixed.y);var I={},i={},o=C.id,n=yh.cloneOptions(C);I[o]=C;for(var r=0;r<C.edges.length;r++){var s=C.edges[r];if(void 0===this.clusteredEdges[s.id]){var a=this._getConnectedId(s,o);if(void 0===this.clusteredNodes[a])if(a!==o)if(void 0===A.joinCondition)i[s.id]=s,I[a]=this.body.nodes[a];else{var d=yh.cloneOptions(this.body.nodes[a]);!0===A.joinCondition(n,d)&&(i[s.id]=s,I[a]=this.body.nodes[a])}else i[s.id]=s}}var h=mC(t=wC(I)).call(t,(function(g){return I[g].id}));for(var l in I)if(Object.prototype.hasOwnProperty.call(I,l))for(var c=I[l],u=0;u<c.edges.length;u++){var p=c.edges[u];DI(h).call(h,this._getConnectedId(p,c.id))>-1&&(i[p.id]=p)}this._cluster(I,i,A,e)}},{key:"_createClusterEdges",value:function(g,A,t,e){for(var C,I,i,o,n,r,s=wC(g),a=[],d=0;d<s.length;d++){i=g[I=s[d]];for(var h=0;h<i.edges.length;h++)C=i.edges[h],void 0===this.clusteredEdges[C.id]&&(C.toId==C.fromId?A[C.id]=C:C.toId==I?(o=t.id,r=n=C.fromId):(o=C.toId,n=t.id,r=o),void 0===g[r]&&a.push({edge:C,fromId:n,toId:o}))}for(var l=[],c=function(g){for(var A=0;A<l.length;A++){var t=l[A],e=g.fromId===t.fromId&&g.toId===t.toId,C=g.fromId===t.toId&&g.toId===t.fromId;if(e||C)return t}return null},u=0;u<a.length;u++){var p=a[u],f=p.edge,v=c(p);null===v?(v=this._createClusteredEdge(p.fromId,p.toId,f,e),l.push(v)):v.clusteringEdgeReplacingIds.push(f.id),this.body.edges[f.id].edgeReplacedById=v.id,this._backupEdgeOptions(f),f.setOptions({physics:!1})}}},{key:"_checkOptions",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0===g.clusterEdgeProperties&&(g.clusterEdgeProperties={}),void 0===g.clusterNodeProperties&&(g.clusterNodeProperties={}),g}},{key:"_cluster",value:function(g,A,t){var e=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],C=[];for(var I in g)Object.prototype.hasOwnProperty.call(g,I)&&void 0!==this.clusteredNodes[I]&&C.push(I);for(var i=0;i<C.length;++i)delete g[C[i]];if(0!=wC(g).length&&(1!=wC(g).length||1==t.clusterNodeProperties.allowSingleNodeCluster)){var o=on({},t.clusterNodeProperties);if(void 0!==t.processProperties){var n=[];for(var r in g)if(Object.prototype.hasOwnProperty.call(g,r)){var s=yh.cloneOptions(g[r]);n.push(s)}var a=[];for(var d in A)if(Object.prototype.hasOwnProperty.call(A,d)&&"clusterEdge:"!==d.substr(0,12)){var h=yh.cloneOptions(A[d],"edge");a.push(h)}if(!(o=t.processProperties(o,n,a)))throw new Error("The processProperties function does not return properties!")}void 0===o.id&&(o.id="cluster:"+Xs());var l=o.id;void 0===o.label&&(o.label="cluster");var c=void 0;void 0===o.x&&(c=this._getClusterPosition(g),o.x=c.x),void 0===o.y&&(void 0===c&&(c=this._getClusterPosition(g)),o.y=c.y),o.id=l;var u=this.body.functions.createNode(o,bh);u.containedNodes=g,u.containedEdges=A,u.clusterEdgeProperties=t.clusterEdgeProperties,this.body.nodes[o.id]=u,this._clusterEdges(g,A,o,t.clusterEdgeProperties),o.id=void 0,!0===e&&this.body.emitter.emit("_dataChanged")}}},{key:"_backupEdgeOptions",value:function(g){void 0===this.clusteredEdges[g.id]&&(this.clusteredEdges[g.id]={physics:g.options.physics})}},{key:"_restoreEdge",value:function(g){var A=this.clusteredEdges[g.id];void 0!==A&&(g.setOptions({physics:A.physics}),delete this.clusteredEdges[g.id])}},{key:"isCluster",value:function(g){return void 0!==this.body.nodes[g]?!0===this.body.nodes[g].isCluster:(console.error("Node does not exist."),!1)}},{key:"_getClusterPosition",value:function(g){for(var A,t=wC(g),e=g[t[0]].x,C=g[t[0]].x,I=g[t[0]].y,i=g[t[0]].y,o=1;o<t.length;o++)e=(A=g[t[o]]).x<e?A.x:e,C=A.x>C?A.x:C,I=A.y<I?A.y:I,i=A.y>i?A.y:i;return{x:.5*(e+C),y:.5*(I+i)}}},{key:"openCluster",value:function(g,A){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===g)throw new Error("No clusterNodeId supplied to openCluster.");var e=this.body.nodes[g];if(void 0===e)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==e.isCluster||void 0===e.containedNodes||void 0===e.containedEdges)throw new Error("The node:"+g+" is not a valid cluster.");var C=this.findNode(g),I=DI(C).call(C,g)-1;if(I>=0){var i=C[I],o=this.body.nodes[i];return o._openChildCluster(g),delete this.body.nodes[g],void(!0===t&&this.body.emitter.emit("_dataChanged"))}var n=e.containedNodes,r=e.containedEdges;if(void 0!==A&&void 0!==A.releaseFunction&&"function"==typeof A.releaseFunction){var s={},a={x:e.x,y:e.y};for(var d in n)if(Object.prototype.hasOwnProperty.call(n,d)){var h=this.body.nodes[d];s[d]={x:h.x,y:h.y}}var l=A.releaseFunction(a,s);for(var c in n)if(Object.prototype.hasOwnProperty.call(n,c)){var u=this.body.nodes[c];void 0!==l[c]&&(u.x=void 0===l[c].x?e.x:l[c].x,u.y=void 0===l[c].y?e.y:l[c].y)}}else an(n,(function(g){!1===g.options.fixed.x&&(g.x=e.x),!1===g.options.fixed.y&&(g.y=e.y)}));for(var p in n)if(Object.prototype.hasOwnProperty.call(n,p)){var f=this.body.nodes[p];f.vx=e.vx,f.vy=e.vy,f.setOptions({physics:!0}),delete this.clusteredNodes[p]}for(var v=[],y=0;y<e.edges.length;y++)v.push(e.edges[y]);for(var m=0;m<v.length;m++){for(var b=v[m],w=this._getConnectedId(b,g),k=this.clusteredNodes[w],x=0;x<b.clusteringEdgeReplacingIds.length;x++){var E=b.clusteringEdgeReplacingIds[x],O=this.body.edges[E];if(void 0!==O)if(void 0!==k){var T=this.body.nodes[k.clusterId];T.containedEdges[O.id]=O,delete r[O.id];var D=O.fromId,N=O.toId;O.toId==w?N=k.clusterId:D=k.clusterId,this._createClusteredEdge(D,N,O,T.clusterEdgeProperties,{hidden:!1,physics:!0})}else this._restoreEdge(O)}b.remove()}for(var R in r)Object.prototype.hasOwnProperty.call(r,R)&&this._restoreEdge(r[R]);delete this.body.nodes[g],!0===t&&this.body.emitter.emit("_dataChanged")}},{key:"getNodesInCluster",value:function(g){var A=[];if(!0===this.isCluster(g)){var t=this.body.nodes[g].containedNodes;for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&A.push(this.body.nodes[e].id)}return A}},{key:"findNode",value:function(g){for(var A,t=[],e=0;void 0!==this.clusteredNodes[g]&&e<100;){if(void 0===(A=this.body.nodes[g]))return[];t.push(A.id),g=this.clusteredNodes[g].clusterId,e++}return void 0===(A=this.body.nodes[g])?[]:(t.push(A.id),ZC(t).call(t),t)}},{key:"updateClusteredNode",value:function(g,A){if(void 0===g)throw new Error("No clusteredNodeId supplied to updateClusteredNode.");if(void 0===A)throw new Error("No newOptions supplied to updateClusteredNode.");if(void 0===this.body.nodes[g])throw new Error("The clusteredNodeId supplied to updateClusteredNode does not exist.");this.body.nodes[g].setOptions(A),this.body.emitter.emit("_dataChanged")}},{key:"updateEdge",value:function(g,A){if(void 0===g)throw new Error("No startEdgeId supplied to updateEdge.");if(void 0===A)throw new Error("No newOptions supplied to updateEdge.");if(void 0===this.body.edges[g])throw new Error("The startEdgeId supplied to updateEdge does not exist.");for(var t=this.getClusteredEdges(g),e=0;e<t.length;e++){this.body.edges[t[e]].setOptions(A)}this.body.emitter.emit("_dataChanged")}},{key:"getClusteredEdges",value:function(g){for(var A=[],t=0;void 0!==g&&void 0!==this.body.edges[g]&&t<100;)A.push(this.body.edges[g].id),g=this.body.edges[g].edgeReplacedById,t++;return ZC(A).call(A),A}},{key:"getBaseEdge",value:function(g){return this.getBaseEdges(g)[0]}},{key:"getBaseEdges",value:function(g){for(var A=[g],t=[],e=[],C=0;A.length>0&&C<100;){var I=A.pop();if(void 0!==I){var i=this.body.edges[I];if(void 0!==i){C++;var o=i.clusteringEdgeReplacingIds;if(void 0===o)e.push(I);else for(var n=0;n<o.length;++n){var r=o[n];-1===DI(A).call(A,o)&&-1===DI(t).call(t,o)&&A.push(r)}t.push(I)}}}return e}},{key:"_getConnectedId",value:function(g,A){return g.toId!=A?g.toId:(g.fromId,g.fromId)}},{key:"_getHubSize",value:function(){for(var g=0,A=0,t=0,e=0,C=0;C<this.body.nodeIndices.length;C++){var I=this.body.nodes[this.body.nodeIndices[C]];I.edges.length>e&&(e=I.edges.length),g+=I.edges.length,A+=Math.pow(I.edges.length,2),t+=1}g/=t;var i=(A/=t)-Math.pow(g,2),o=Math.sqrt(i),n=Math.floor(g+2*o);return n>e&&(n=e),n}},{key:"_createClusteredEdge",value:function(g,A,t,e,C){var I=yh.cloneOptions(t,"edge");on(I,e),I.from=g,I.to=A,I.id="clusterEdge:"+Xs(),void 0!==C&&on(I,C);var i=this.body.functions.createEdge(I);return i.clusteringEdgeReplacingIds=[t.id],i.connect(),this.body.edges[i.id]=i,i}},{key:"_clusterEdges",value:function(g,A,t,e){if(A instanceof oh){var C=A,I={};I[C.id]=C,A=I}if(g instanceof fd){var i=g,o={};o[i.id]=i,g=o}if(null==t)throw new Error("_clusterEdges: parameter clusterNode required");for(var n in void 0===e&&(e=t.clusterEdgeProperties),this._createClusterEdges(g,A,t,e),A)if(Object.prototype.hasOwnProperty.call(A,n)&&void 0!==this.body.edges[n]){var r=this.body.edges[n];this._backupEdgeOptions(r),r.setOptions({physics:!1})}for(var s in g)Object.prototype.hasOwnProperty.call(g,s)&&(this.clusteredNodes[s]={clusterId:t.id,node:this.body.nodes[s]},this.body.nodes[s].setOptions({physics:!1}))}},{key:"_getClusterNodeForNode",value:function(g){if(void 0!==g){var A=this.clusteredNodes[g];if(void 0!==A){var t=A.clusterId;if(void 0!==t)return this.body.nodes[t]}}}},{key:"_filter",value:function(g,A){var t=[];return an(g,(function(g){A(g)&&t.push(g)})),t}},{key:"_updateState",value:function(){var g,A=this,t=[],e={},C=function(g){an(A.body.nodes,(function(A){!0===A.isCluster&&g(A)}))};for(g in this.clusteredNodes){if(Object.prototype.hasOwnProperty.call(this.clusteredNodes,g))void 0===this.body.nodes[g]&&t.push(g)}C((function(g){for(var A=0;A<t.length;A++)delete g.containedNodes[t[A]]}));for(var I=0;I<t.length;I++)delete this.clusteredNodes[t[I]];an(this.clusteredEdges,(function(g){var t=A.body.edges[g];void 0!==t&&t.endPointsValid()||(e[g]=g)})),C((function(g){an(g.containedEdges,(function(g,A){g.endPointsValid()||e[A]||(e[A]=A)}))})),an(this.body.edges,(function(g,t){var C=!0,I=g.clusteringEdgeReplacingIds;if(void 0!==I){var i=0;an(I,(function(g){var t=A.body.edges[g];void 0!==t&&t.endPointsValid()&&(i+=1)})),C=i>0}g.endPointsValid()&&C||(e[t]=t)})),C((function(g){an(e,(function(t){delete g.containedEdges[t],an(g.edges,(function(C,I){C.id!==t?C.clusteringEdgeReplacingIds=A._filter(C.clusteringEdgeReplacingIds,(function(g){return!e[g]})):g.edges[I]=null})),g.edges=A._filter(g.edges,(function(g){return null!==g}))}))})),an(e,(function(g){delete A.clusteredEdges[g]})),an(e,(function(g){delete A.body.edges[g]})),an(wC(this.body.edges),(function(g){var t=A.body.edges[g],e=A._isClusteredNode(t.fromId)||A._isClusteredNode(t.toId);if(e!==A._isClusteredEdge(t.id))if(e){var C=A._getClusterNodeForNode(t.fromId);void 0!==C&&A._clusterEdges(A.body.nodes[t.fromId],t,C);var I=A._getClusterNodeForNode(t.toId);void 0!==I&&A._clusterEdges(A.body.nodes[t.toId],t,I)}else delete A._clusterEdges[g],A._restoreEdge(t)}));for(var i=!1,o=!0,n=function(){var g=[];C((function(A){var t=wC(A.containedNodes).length,e=!0===A.options.allowSingleNodeCluster;(e&&t<1||!e&&t<2)&&g.push(A.id)}));for(var t=0;t<g.length;++t)A.openCluster(g[t],{},!1);o=g.length>0,i=i||o};o;)n();i&&this._updateState()}},{key:"_isClusteredNode",value:function(g){return void 0!==this.clusteredNodes[g]}},{key:"_isClusteredEdge",value:function(g){return void 0!==this.clusteredEdges[g]}}]),g}();function kh(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return xh(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return xh(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function xh(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}var Eh=function(){function g(A,t){var e;De(this,g),void 0!==window&&(e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===e?function(g){g()}:e,this.body=A,this.canvas=t,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.zooming=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1},sg(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g,A=this;this.body.emitter.on("dragStart",(function(){A.dragging=!0})),this.body.emitter.on("dragEnd",(function(){A.dragging=!1})),this.body.emitter.on("zoom",(function(){A.zooming=!0,window.clearTimeout(A.zoomTimeoutId),A.zoomTimeoutId=WI((function(){var g;A.zooming=!1,fg(g=A._requestRedraw).call(g,A)()}),250)})),this.body.emitter.on("_resizeNodes",(function(){A._resizeNodes()})),this.body.emitter.on("_redraw",(function(){!1===A.renderingActive&&A._redraw()})),this.body.emitter.on("_blockRedraw",(function(){A.allowRedraw=!1})),this.body.emitter.on("_allowRedraw",(function(){A.allowRedraw=!0,A.redrawRequested=!1})),this.body.emitter.on("_requestRedraw",fg(g=this._requestRedraw).call(g,this)),this.body.emitter.on("_startRendering",(function(){A.renderRequests+=1,A.renderingActive=!0,A._startRendering()})),this.body.emitter.on("_stopRendering",(function(){A.renderRequests-=1,A.renderingActive=A.renderRequests>0,A.renderTimer=void 0})),this.body.emitter.on("destroy",(function(){A.renderRequests=0,A.allowRedraw=!1,A.renderingActive=!1,!0===A.requiresTimeout?clearTimeout(A.renderTimer):window.cancelAnimationFrame(A.renderTimer),A.body.emitter.off()}))}},{key:"setOptions",value:function(g){if(void 0!==g){Cn(["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag"],this.options,g)}}},{key:"_requestNextFrame",value:function(g,A){if("undefined"!=typeof window){var t,e=window;return!0===this.requiresTimeout?t=WI(g,A):e.requestAnimationFrame&&(t=e.requestAnimationFrame(g)),t}}},{key:"_startRendering",value:function(){var g;!0===this.renderingActive&&(void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame(fg(g=this._renderStep).call(g,this),this.simulationInterval)))}},{key:"_renderStep",value:function(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}},{key:"redraw",value:function(){this.body.emitter.emit("setSize"),this._redraw()}},{key:"_requestRedraw",value:function(){var g=this;!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame((function(){g._redraw(!1)}),0))}},{key:"_redraw",value:function(){var g=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!0===this.allowRedraw){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1;var A={drawExternalLabels:null};0!==this.canvas.frame.canvas.width&&0!==this.canvas.frame.canvas.height||this.canvas.setSize(),this.canvas.setTransform();var t=this.canvas.getContext(),e=this.canvas.frame.canvas.clientWidth,C=this.canvas.frame.canvas.clientHeight;if(t.clearRect(0,0,e,C),0===this.canvas.frame.clientWidth)return;if(t.save(),t.translate(this.body.view.translation.x,this.body.view.translation.y),t.scale(this.body.view.scale,this.body.view.scale),t.beginPath(),this.body.emitter.emit("beforeDrawing",t),t.closePath(),!1===g&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawEdges(t),!1===this.dragging||!0===this.dragging&&!1===this.options.hideNodesOnDrag){var I=this._drawNodes(t,g),i=I.drawExternalLabels;A.drawExternalLabels=i}!1===g&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&(!1===this.zooming||!0===this.zooming&&!1===this.options.hideEdgesOnZoom)&&this._drawArrows(t),null!=A.drawExternalLabels&&A.drawExternalLabels(),!1===g&&this._drawSelectionBox(t),t.beginPath(),this.body.emitter.emit("afterDrawing",t),t.closePath(),t.restore(),!0===g&&t.clearRect(0,0,e,C)}}},{key:"_resizeNodes",value:function(){this.canvas.setTransform();var g=this.canvas.getContext();g.save(),g.translate(this.body.view.translation.x,this.body.view.translation.y),g.scale(this.body.view.scale,this.body.view.scale);var A,t=this.body.nodes;for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&((A=t[e]).resize(g),A.updateBoundingBox(g,A.selected));g.restore()}},{key:"_drawNodes",value:function(g){for(var A,t,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],C=this.body.nodes,I=this.body.nodeIndices,i=[],o=[],n=20,r=this.canvas.DOMtoCanvas({x:-n,y:-n}),s=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+n,y:this.canvas.frame.canvas.clientHeight+n}),a={top:r.y,left:r.x,bottom:s.y,right:s.x},d=[],h=0;h<I.length;h++)if((A=C[I[h]]).hover)o.push(I[h]);else if(A.isSelected())i.push(I[h]);else if(!0===e){var l=A.draw(g);null!=l.drawExternalLabel&&d.push(l.drawExternalLabel)}else if(!0===A.isBoundingBoxOverlappingWith(a)){var c=A.draw(g);null!=c.drawExternalLabel&&d.push(c.drawExternalLabel)}else A.updateBoundingBox(g,A.selected);var u=i.length,p=o.length;for(t=0;t<u;t++){var f=(A=C[i[t]]).draw(g);null!=f.drawExternalLabel&&d.push(f.drawExternalLabel)}for(t=0;t<p;t++){var v=(A=C[o[t]]).draw(g);null!=v.drawExternalLabel&&d.push(v.drawExternalLabel)}return{drawExternalLabels:function(){var g,A=kh(d);try{for(A.s();!(g=A.n()).done;){(0,g.value)()}}catch(g){A.e(g)}finally{A.f()}}}}},{key:"_drawEdges",value:function(g){for(var A=this.body.edges,t=this.body.edgeIndices,e=0;e<t.length;e++){var C=A[t[e]];!0===C.connected&&C.draw(g)}}},{key:"_drawArrows",value:function(g){for(var A=this.body.edges,t=this.body.edgeIndices,e=0;e<t.length;e++){var C=A[t[e]];!0===C.connected&&C.drawArrows(g)}}},{key:"_determineBrowserMethod",value:function(){if("undefined"!=typeof window){var g=navigator.userAgent.toLowerCase();this.requiresTimeout=!1,(-1!=DI(g).call(g,"msie 9.0")||-1!=DI(g).call(g,"safari")&&DI(g).call(g,"chrome")<=-1)&&(this.requiresTimeout=!0)}else this.requiresTimeout=!0}},{key:"_drawSelectionBox",value:function(g){if(this.body.selectionBox.show){g.beginPath();var A=this.body.selectionBox.position.end.x-this.body.selectionBox.position.start.x,t=this.body.selectionBox.position.end.y-this.body.selectionBox.position.start.y;g.rect(this.body.selectionBox.position.start.x,this.body.selectionBox.position.start.y,A,t),g.fillStyle="rgba(151, 194, 252, 0.2)",g.fillRect(this.body.selectionBox.position.start.x,this.body.selectionBox.position.start.y,A,t),g.strokeStyle="rgba(151, 194, 252, 1)",g.stroke()}else g.closePath()}}]),g}(),Oh=B.setInterval;function Th(g,A){A.inputHandler=function(g){g.isFirst&&A(g)},g.on("hammer.input",A.inputHandler)}function Dh(g,A){return A.inputHandler=function(g){g.isFinal&&A(g)},g.on("hammer.input",A.inputHandler)}var Nh=function(){function g(A){De(this,g),this.body=A,this.pixelRatio=1,this.cameraState={},this.initialized=!1,this.canvasViewCenter={},this._cleanupCallbacks=[],this.options={},this.defaultOptions={autoResize:!0,height:"100%",width:"100%"},sg(this.options,this.defaultOptions),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g,A=this;this.body.emitter.once("resize",(function(g){0!==g.width&&(A.body.view.translation.x=.5*g.width),0!==g.height&&(A.body.view.translation.y=.5*g.height)})),this.body.emitter.on("setSize",fg(g=this.setSize).call(g,this)),this.body.emitter.on("destroy",(function(){A.hammerFrame.destroy(),A.hammer.destroy(),A._cleanUp()}))}},{key:"setOptions",value:function(g){var A,t,e,C,I,i=this;if(void 0!==g){Cn(["width","height","autoResize"],this.options,g)}if(this._cleanUp(),!0===this.options.autoResize){var o;if(window.ResizeObserver){var n=new ResizeObserver((function(){!0===i.setSize()&&i.body.emitter.emit("_requestRedraw")})),r=this.frame;n.observe(r),this._cleanupCallbacks.push((function(){n.unobserve(r)}))}else{var s=Oh((function(){!0===i.setSize()&&i.body.emitter.emit("_requestRedraw")}),1e3);this._cleanupCallbacks.push((function(){clearInterval(s)}))}var a=fg(o=this._onResize).call(o,this);A=window,t="resize",e=a,A.addEventListener?(void 0===C&&(C=!1),"mousewheel"===t&&$C(I=navigator.userAgent).call(I,"Firefox")&&(t="DOMMouseScroll"),A.addEventListener(t,e,C)):A.attachEvent("on"+t,e),this._cleanupCallbacks.push((function(){!function(g,A,t,e){var C;g.removeEventListener?(void 0===e&&(e=!1),"mousewheel"===A&&$C(C=navigator.userAgent).call(C,"Firefox")&&(A="DOMMouseScroll"),g.removeEventListener(A,t,e)):g.detachEvent("on"+A,t)}(window,"resize",a)}))}}},{key:"_cleanUp",value:function(){var g,A,t;RC(g=ZC(A=WC(t=this._cleanupCallbacks).call(t,0)).call(A)).call(g,(function(g){try{g()}catch(g){console.error(g)}}))}},{key:"_onResize",value:function(){this.setSize(),this.body.emitter.emit("_redraw")}},{key:"_getCameraState",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pixelRatio;!0===this.initialized&&(this.cameraState.previousWidth=this.frame.canvas.width/g,this.cameraState.previousHeight=this.frame.canvas.height/g,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/g,y:.5*this.frame.canvas.height/g}))}},{key:"_setCameraState",value:function(){if(void 0!==this.cameraState.scale&&0!==this.frame.canvas.clientWidth&&0!==this.frame.canvas.clientHeight&&0!==this.pixelRatio&&this.cameraState.previousWidth>0&&this.cameraState.previousHeight>0){var g=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,A=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight,t=this.cameraState.scale;1!=g&&1!=A?t=.5*this.cameraState.scale*(g+A):1!=g?t=this.cameraState.scale*g:1!=A&&(t=this.cameraState.scale*A),this.body.view.scale=t;var e=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),C={x:e.x-this.cameraState.position.x,y:e.y-this.cameraState.position.y};this.body.view.translation.x+=C.x*this.body.view.scale,this.body.view.translation.y+=C.y*this.body.view.scale}}},{key:"_prepareValue",value:function(g){if("number"==typeof g)return g+"px";if("string"==typeof g){if(-1!==DI(g).call(g,"%")||-1!==DI(g).call(g,"px"))return g;if(-1===DI(g).call(g,"%"))return g+"px"}throw new Error("Could not use the value supplied for width or height:"+g)}},{key:"_create",value:function(){for(;this.body.container.hasChildNodes();)this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=0,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{var g=document.createElement("DIV");g.style.color="red",g.style.fontWeight="bold",g.style.padding="10px",g.innerText="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(g)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}},{key:"_bindHammer",value:function(){var g=this;void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new Bn(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:Bn.DIRECTION_ALL}),Th(this.hammer,(function(A){g.body.eventListeners.onTouch(A)})),this.hammer.on("tap",(function(A){g.body.eventListeners.onTap(A)})),this.hammer.on("doubletap",(function(A){g.body.eventListeners.onDoubleTap(A)})),this.hammer.on("press",(function(A){g.body.eventListeners.onHold(A)})),this.hammer.on("panstart",(function(A){g.body.eventListeners.onDragStart(A)})),this.hammer.on("panmove",(function(A){g.body.eventListeners.onDrag(A)})),this.hammer.on("panend",(function(A){g.body.eventListeners.onDragEnd(A)})),this.hammer.on("pinch",(function(A){g.body.eventListeners.onPinch(A)})),this.frame.canvas.addEventListener("wheel",(function(A){g.body.eventListeners.onMouseWheel(A)})),this.frame.canvas.addEventListener("mousemove",(function(A){g.body.eventListeners.onMouseMove(A)})),this.frame.canvas.addEventListener("contextmenu",(function(A){g.body.eventListeners.onContext(A)})),this.hammerFrame=new Bn(this.frame),Dh(this.hammerFrame,(function(A){g.body.eventListeners.onRelease(A)}))}},{key:"setSize",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.width,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.height;g=this._prepareValue(g),A=this._prepareValue(A);var t=!1,e=this.frame.canvas.width,C=this.frame.canvas.height,I=this.pixelRatio;if(this._setPixelRatio(),g!=this.options.width||A!=this.options.height||this.frame.style.width!=g||this.frame.style.height!=A)this._getCameraState(I),this.frame.style.width=g,this.frame.style.height=A,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=g,this.options.height=A,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},t=!0;else{var i=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),o=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===i&&this.frame.canvas.height===o||this._getCameraState(I),this.frame.canvas.width!==i&&(this.frame.canvas.width=i,t=!0),this.frame.canvas.height!==o&&(this.frame.canvas.height=o,t=!0)}return!0===t&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(e/this.pixelRatio),oldHeight:Math.round(C/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,t}},{key:"getContext",value:function(){return this.frame.canvas.getContext("2d")}},{key:"_determinePixelRatio",value:function(){var g=this.getContext();if(void 0===g)throw new Error("Could not get canvax context");var A=1;return"undefined"!=typeof window&&(A=window.devicePixelRatio||1),A/(g.webkitBackingStorePixelRatio||g.mozBackingStorePixelRatio||g.msBackingStorePixelRatio||g.oBackingStorePixelRatio||g.backingStorePixelRatio||1)}},{key:"_setPixelRatio",value:function(){this.pixelRatio=this._determinePixelRatio()}},{key:"setTransform",value:function(){var g=this.getContext();if(void 0===g)throw new Error("Could not get canvax context");g.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}},{key:"_XconvertDOMtoCanvas",value:function(g){return(g-this.body.view.translation.x)/this.body.view.scale}},{key:"_XconvertCanvasToDOM",value:function(g){return g*this.body.view.scale+this.body.view.translation.x}},{key:"_YconvertDOMtoCanvas",value:function(g){return(g-this.body.view.translation.y)/this.body.view.scale}},{key:"_YconvertCanvasToDOM",value:function(g){return g*this.body.view.scale+this.body.view.translation.y}},{key:"canvasToDOM",value:function(g){return{x:this._XconvertCanvasToDOM(g.x),y:this._YconvertCanvasToDOM(g.y)}}},{key:"DOMtoCanvas",value:function(g){return{x:this._XconvertDOMtoCanvas(g.x),y:this._YconvertDOMtoCanvas(g.y)}}}]),g}();function Rh(g,A){var t=sg({nodes:A,minZoomLevel:Number.MIN_VALUE,maxZoomLevel:1},null!=g?g:{});if(!uC(t.nodes))throw new TypeError("Nodes has to be an array of ids.");if(0===t.nodes.length&&(t.nodes=A),!("number"==typeof t.minZoomLevel&&t.minZoomLevel>0))throw new TypeError("Min zoom level has to be a number higher than zero.");if(!("number"==typeof t.maxZoomLevel&&t.minZoomLevel<=t.maxZoomLevel))throw new TypeError("Max zoom level has to be a number higher than min zoom level.");return t}var Ph=function(){function g(A,t){var e,C,I=this;De(this,g),this.body=A,this.canvas=t,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",fg(e=this.fit).call(e,this)),this.body.emitter.on("animationFinished",(function(){I.body.emitter.emit("_stopRendering")})),this.body.emitter.on("unlockNode",fg(C=this.releaseNode).call(C,this))}return Pe(g,[{key:"setOptions",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=g}},{key:"fit",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g=Rh(g,this.body.nodeIndices);var t,e,C=this.canvas.frame.canvas.clientWidth,I=this.canvas.frame.canvas.clientHeight;if(0===C||0===I)e=1,t=yh.getRange(this.body.nodes,g.nodes);else if(!0===A){var i=0;for(var o in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,o)){var n=this.body.nodes[o];!0===n.predefinedPosition&&(i+=1)}if(i>.5*this.body.nodeIndices.length)return void this.fit(g,!1);t=yh.getRange(this.body.nodes,g.nodes);var r=this.body.nodeIndices.length;e=12.662/(r+7.4147)+.0964822;var s=Math.min(C/600,I/600);e*=s}else{this.body.emitter.emit("_resizeNodes"),t=yh.getRange(this.body.nodes,g.nodes);var a=1.1*Math.abs(t.maxX-t.minX),d=1.1*Math.abs(t.maxY-t.minY),h=C/a,l=I/d;e=h<=l?h:l}e>g.maxZoomLevel?e=g.maxZoomLevel:e<g.minZoomLevel&&(e=g.minZoomLevel);var c=yh.findCenter(t),u={position:c,scale:e,animation:g.animation};this.moveTo(u)}},{key:"focus",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0!==this.body.nodes[g]){var t={x:this.body.nodes[g].x,y:this.body.nodes[g].y};A.position=t,A.lockedOnNode=g,this.moveTo(A)}else console.error("Node: "+g+" cannot be found.")}},{key:"moveTo",value:function(g){if(void 0!==g){if(null!=g.offset){if(null!=g.offset.x){if(g.offset.x=+g.offset.x,!Wr(g.offset.x))throw new TypeError('The option "offset.x" has to be a finite number.')}else g.offset.x=0;if(null!=g.offset.y){if(g.offset.y=+g.offset.y,!Wr(g.offset.y))throw new TypeError('The option "offset.y" has to be a finite number.')}else g.offset.x=0}else g.offset={x:0,y:0};if(null!=g.position){if(null!=g.position.x){if(g.position.x=+g.position.x,!Wr(g.position.x))throw new TypeError('The option "position.x" has to be a finite number.')}else g.position.x=0;if(null!=g.position.y){if(g.position.y=+g.position.y,!Wr(g.position.y))throw new TypeError('The option "position.y" has to be a finite number.')}else g.position.x=0}else g.position=this.getViewPosition();if(null!=g.scale){if(g.scale=+g.scale,!(g.scale>0))throw new TypeError('The option "scale" has to be a number greater than zero.')}else g.scale=this.body.view.scale;void 0===g.animation&&(g.animation={duration:0}),!1===g.animation&&(g.animation={duration:0}),!0===g.animation&&(g.animation={}),void 0===g.animation.duration&&(g.animation.duration=1e3),void 0===g.animation.easingFunction&&(g.animation.easingFunction="easeInOutQuad"),this.animateView(g)}else g={}}},{key:"animateView",value:function(g){if(void 0!==g){this.animationEasingFunction=g.animation.easingFunction,this.releaseNode(),!0===g.locked&&(this.lockedOnNodeId=g.lockedOnNode,this.lockedOnNodeOffset=g.offset),0!=this.easingTime&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=g.scale,this.body.view.scale=this.targetScale;var A,t,e=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),C=e.x-g.position.x,I=e.y-g.position.y;if(this.targetTranslation={x:this.sourceTranslation.x+C*this.targetScale+g.offset.x,y:this.sourceTranslation.y+I*this.targetScale+g.offset.y},0===g.animation.duration)if(null!=this.lockedOnNodeId)this.viewFunction=fg(A=this._lockedRedraw).call(A,this),this.body.emitter.on("initRedraw",this.viewFunction);else this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw");else this.animationSpeed=1/(60*g.animation.duration*.001)||1/60,this.animationEasingFunction=g.animation.easingFunction,this.viewFunction=fg(t=this._transitionRedraw).call(t,this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering")}}},{key:"_lockedRedraw",value:function(){var g=this.body.nodes[this.lockedOnNodeId].x,A=this.body.nodes[this.lockedOnNodeId].y,t=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),e=t.x-g,C=t.y-A,I=this.body.view.translation,i={x:I.x+e*this.body.view.scale+this.lockedOnNodeOffset.x,y:I.y+C*this.body.view.scale+this.lockedOnNodeOffset.y};this.body.view.translation=i}},{key:"releaseNode",value:function(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}},{key:"_transitionRedraw",value:function(){var g=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.easingTime+=this.animationSpeed,this.easingTime=!0===g?1:this.easingTime;var A=kn[this.animationEasingFunction](this.easingTime);if(this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*A,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*A,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*A},this.easingTime>=1){var t;if(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,null!=this.lockedOnNodeId)this.viewFunction=fg(t=this._lockedRedraw).call(t,this),this.body.emitter.on("initRedraw",this.viewFunction);this.body.emitter.emit("animationFinished")}}},{key:"getScale",value:function(){return this.body.view.scale}},{key:"getViewPosition",value:function(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}]),g}();function Mh(g){var A,t=g&&g.preventDefault||!1,e=g&&g.container||window,C={},I={keydown:{},keyup:{}},i={};for(A=97;A<=122;A++)i[String.fromCharCode(A)]={code:A-97+65,shift:!1};for(A=65;A<=90;A++)i[String.fromCharCode(A)]={code:A,shift:!0};for(A=0;A<=9;A++)i[""+A]={code:48+A,shift:!1};for(A=1;A<=12;A++)i["F"+A]={code:111+A,shift:!1};for(A=0;A<=9;A++)i["num"+A]={code:96+A,shift:!1};i["num*"]={code:106,shift:!1},i["num+"]={code:107,shift:!1},i["num-"]={code:109,shift:!1},i["num/"]={code:111,shift:!1},i["num."]={code:110,shift:!1},i.left={code:37,shift:!1},i.up={code:38,shift:!1},i.right={code:39,shift:!1},i.down={code:40,shift:!1},i.space={code:32,shift:!1},i.enter={code:13,shift:!1},i.shift={code:16,shift:void 0},i.esc={code:27,shift:!1},i.backspace={code:8,shift:!1},i.tab={code:9,shift:!1},i.ctrl={code:17,shift:!1},i.alt={code:18,shift:!1},i.delete={code:46,shift:!1},i.pageup={code:33,shift:!1},i.pagedown={code:34,shift:!1},i["="]={code:187,shift:!1},i["-"]={code:189,shift:!1},i["]"]={code:221,shift:!1},i["["]={code:219,shift:!1};var o=function(g){r(g,"keydown")},n=function(g){r(g,"keyup")},r=function(g,A){if(void 0!==I[A][g.keyCode]){for(var e=I[A][g.keyCode],C=0;C<e.length;C++)(void 0===e[C].shift||1==e[C].shift&&1==g.shiftKey||0==e[C].shift&&0==g.shiftKey)&&e[C].fn(g);1==t&&g.preventDefault()}};return C.bind=function(g,A,t){if(void 0===t&&(t="keydown"),void 0===i[g])throw new Error("unsupported key: "+g);void 0===I[t][i[g].code]&&(I[t][i[g].code]=[]),I[t][i[g].code].push({fn:A,shift:i[g].shift})},C.bindAll=function(g,A){for(var t in void 0===A&&(A="keydown"),i)i.hasOwnProperty(t)&&C.bind(t,g,A)},C.getKey=function(g){for(var A in i)if(i.hasOwnProperty(A)){if(1==g.shiftKey&&1==i[A].shift&&g.keyCode==i[A].code)return A;if(0==g.shiftKey&&0==i[A].shift&&g.keyCode==i[A].code)return A;if(g.keyCode==i[A].code&&"shift"==A)return A}return"unknown key, currently not supported"},C.unbind=function(g,A,t){if(void 0===t&&(t="keydown"),void 0===i[g])throw new Error("unsupported key: "+g);if(void 0!==A){var e=[],C=I[t][i[g].code];if(void 0!==C)for(var o=0;o<C.length;o++)C[o].fn==A&&C[o].shift==i[g].shift||e.push(I[t][i[g].code][o]);I[t][i[g].code]=e}else I[t][i[g].code]=[]},C.reset=function(){I={keydown:{},keyup:{}}},C.destroy=function(){I={keydown:{},keyup:{}},e.removeEventListener("keydown",o,!0),e.removeEventListener("keyup",n,!0)},e.addEventListener("keydown",o,!0),e.addEventListener("keyup",n,!0),C}xg('div.vis-network div.vis-navigation div.vis-button{width:34px;height:34px;-moz-border-radius:17px;border-radius:17px;position:absolute;display:inline-block;background-position:2px 2px;background-repeat:no-repeat;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-navigation div.vis-button:hover{box-shadow:0 0 3px 3px rgba(56,207,21,.3)}div.vis-network div.vis-navigation div.vis-button:active{box-shadow:0 0 1px 3px rgba(56,207,21,.95)}div.vis-network div.vis-navigation div.vis-button.vis-up{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABphJREFUeNqcV2twU9cR/nbPlVTHxpKRbNnBLyEbPyJisLEcPwgwUMKQtjNJAzNJZkgNNJOmJaZAaDKlxaXDTIBAcJtOOzSYKSkdiimhAdIMjyT4bYgBYxA2BgcUQPLrCiGDR4qt2x+yXTASFt1/957d7zt3z3d39xDCMQWUfgAz/RI/T4pSTAJpAGL8rECAXX7QFQGq9wOHOxYO1oCgjAdJj1wtB095Giv9TFuZAIWHAziATMPhTAwiHgUkYPXFJu92lMP/2MTpB1AKUCVEgNAcleUo1M+2F8TO6crSTncb1QleAOj2OTSX3Ge1p+Va42m5JrnzbnsCE8Ov+EHgpa0LPLvCJjZ/whuIlN8wAcXG+e1LUn9hm238QU84p1Ld83nsXvuO7Lq+LzKYGAT6/dn58m/HJTYf4O3EShkT8Irpzab1Uz9sGevT5+tWn+j6NB4A5hp/5NSr43xjfd5rW5tT9e3OAhCBiCua5/WsDEls/hdvYklZSwDefmrT8eXmtzuDkb5YZ33p9ndylICAVjWxf39xw/5g5Luv/9H84ZWNcwNEypZT87rXjqyJB85UYDMJYN3U7UdLJ6/6JlgqV517teRqf9uTlug8e1zEk27HgD22o98WsTBh8fWxvjm6ApdONbGvse8LM5NUPOm1Cfabuz3nACAgxX0QEFTJAnjNvLJ+Sepb14KRHnN+Ev+1XJOhZs3Qu1mbG97J2NQgsXroa1dtxrGuf8cHi1mUtPTay0lv1DMJSCRVLtoX+FgGgDQNysBAcez89l9nbbsQSji7rlXkEhjPxb/QatHOcFu0M9zz419oFSRhj/3PuaHiyqasv1Con9NGxHAYUsoCxAqImbYSgCWmFbZQwdsur7N0eC4m6tT6/jUZ750Zeb82c+OZGLWh/2p/W+Kfrmy0hIp/aVKpTSIJEqu2QgFx2iE8CwDp0RbH7Ljng/4yXr+XT3QdyhYsodS0slGr0g2OrEUK7eCrKW82SqzCVz3/yfb6vRwM4xn9rN7JkRkOQRLmfJn2LBPxQjDBqp9lD7XbX7X8pKTP160zR2bdeiX5jYeU/nLSTztNkem3XL5eXbltRUkonBxdgZ2IIUmahUxERQSCVT+rK5hzQ89xQ6P8VaaK1f5VmRvqQ4G+lba+nlnlb5brMhvlk7FBiaPzuwQEmEQhg5BOxMjWTncHc2501cQLkjDTsMCWpyuRQxFP0xXIJfp5FyVW4Zy7KajC06ItbiIGg6ZITBxDxIgbrr1jTSM0fibGIHz8O9sKK0GAibEua9spANh4aY2VmcEg+DEkiBgR/L2hYFgGtcErkQQAMVJgBxyy9hboZzv32v+Kpr7qbEECTAIMAoaJa3qPTmNiiAAgJAjk6J5xhu6HDAIgQYGLmI29PocmMcI8MNYvT1ckfzD9H/ub5br4e4Me9WfOKqtyX6Ud2cwC449PRamifDm6Auc0rTXokci+Xo1EAgBckiDuYGLjpTvntcGIA+SFcp6uUAaAI879VhWrRteYAqn/edq758brXJ1327QMhgJcZjA3EBjNrgZjOG1PkAjyTGENMjZPq5ECQ0MDE9ERBqFZrk0OJ3i4x/7vyIjBxGERt3takgVJEAp9xq3f769WiPDNvSsJdT3HDOEASPelmoBRYT3Kzt5uMtwauJEgSOCpwrk1DIJCoNUMwj9v7MweP9XSQ8/hJPp496fZTAICvLqcyv2B7nRbrgCA03JN5h8ub7A8VqpB437xHvsOy3l3cyaB4L2uqxhti1WLMcSgZQCw7+bOooO3Pk4JBZIYYXISMV5sKH59UePM10GESRGpIf/bE92HU452HywSJIGIllctrhp6YAK5+fHds0lLtJFMXNwkV6fFqA29mROefqiMJj1h6um4a5vY/92dKGaBxIhU5zJTWW2cJmEgGOmeb3c8FxAfb9mdf2RzyGGv5MvU7QwuEySwKHFp/c/M71zA/2F7b1RajnYdLAqMukMVu2YcfmDYE2MD7H+7/Xlq6cRIJqm4zXM+qd3TGjVBir43KSLlXjiELe5TsX+3/yW/ST45PaAHbKmccWh12AP93JNZywj0kSABIobpiXRHjtZ6faout2tyZMadGLXBCxBcvl6NfaAz+tKdFmObpzWl2+tIIBACYy0t/yj34M7HvsKUK+CGassvicX7alYDwwq+vykIEqPVa+Q9gdYk5+V+UE7lj3+FGbuBM/X5JUT8QwIVSSSZiTgmoFR2MfiqYFFPfjpkyrfWPopwxP47AP1pK1g9/dqeAAAAAElFTkSuQmCC");bottom:50px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-down{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABpdJREFUeNqcV21QlNcVfp5zX9ikoAvLEsAIIgsoHwpqWAQUNKLNaNv8iZ1JMkNG6/Qj/dDUyCSTtCHpmEkwVk3TToZRMjXj5MOG2KidjIkxQYSAQUAtX6IgIN8su8KCoOzbH4sk4q5g77/33uee555z7rnneYmZDB2MKcJKlyYbqOsZVIgGEOgSHQoy4AKbFFjqAo5dWn/rNAh9OpO852oeJHYxtrmEu4WALhMbxG2ZE9uFAlImDRLY/t/y0b3Ig+u+iWOKsAlgIZSb0OIf15kWtKo1NXh1d5xxiSPEN2wUAHrGOg11jirjWVtJyFnb6YgrzoYwocClu0DI5guPDb43Y2LLp/Iaqf9JCGSErGvIifxd7aqQn/TOJCvFvZ8Hf9haEH+m/6sFQgHBv1Sts/15WmJLkeyl6FuFwFPzny1/ZdE7Nfg/xhv1uUmH2w6kggQp+yqze7d5JbZ8Im+KpucSwI6EN7/cYtlxZarBCts3ptfrtq9odjaGKihE+sV0vRC3u8RqWmmbij149W+Wd5p2rnET6bsqsntyb6+pO3KqkE8FvLxo74lNUX9s9uTJb8/9fG2L81KoogJFYfCm3b9usNq0MXxzw1RsUkDqQICPqf/b/q8sQi3j4WdmtV47OFgNAO6r+DEUFAtFAc9YtpXmRP6hxVsI24cvhyoqnFtrK6jM7isgBa3Dl0O94TeGb255MvzXpUIFjVrhxo/dzgoARBuwFQJkBK9reCnurxfvXX8CRW3yW1G749vT2Br7ysW0oNX1pKDTPG+rm1gHRbibAHLm/7522sKnQCZqFgCUaBCqaS/bEw9vqtWoQROf3dBBiT6KTACImZ3YueqhDdOWjDbFQ4IzIl4elNUX5begU1HD6lPRmULKeghhDcpqnUmZuD3+nkgTH6gZEE9ctlZSoGmG9UIynSCsQVndMyX+IZGiBoHMjHh2SreCglClaSBiSEG8cYnD24bv7CWms/3FocO3hnw13plTggAFb196NdlPM44tC0zrSg5ItXmyEz070UEKCMRqQgkkBQ9NvL2eSJ+revoJTORSpoT6do4/7/7UShBFHQexM+HdfyUHWO8iN/uaRzX3/QjUSLlnqM72F4cCRIY5u9Zf+Y+BAv4AvzpkQ7WAIBRujA/7Vg6cia9xlId6InafVEAAGnQMUCSkb6zTMPdBy8hU3JjrphIq+CrD+Mvxeyumrr+4IH9y7o2GF5eDghuuGx4L2zbWZ9Dc0RoQRbkkFNRdP2/0BH7EtLJLKCjr+zqh2l5u8haZ847vTBW24kRFQXKAtcsT5oqz3igQENIoECkjBJUDZSGewBlBj/ammjLrdX1c/t70ero34gMte9IByLLAjPrUwKweT5jawQshdIuGMiF5XEBU2koivBl9NeEfJeYHwuxtI81zPrn2z6ip60c6DkV1jLTOCTaE2HNjd5Z4s9MwWBOhqEHp/I9cWDtUrJNoHm4KO9P7hdnTBoMYXI8Gb6gVCg63FS53jg9O5tA57tSOdHywnCAygrJrfcTgUe5U2cvNHSPtYYoKCWlrTgsIneB2AfFR+4F4b6f9ZdTzF6P8Ytud407/dy/nL7k9X9i8J9l5y+Ef6RfbnjPvWa8N5suez+KFCgqyPY95Lnd3stv2AcBZ2+mFbze+lui1xc3dXCUUlPafXNx4/aKxcajWWNp/MklRw8/mPFntbd+h1oLE847KhQQxejVg36QQqD0MPTzHv42Ux+uGasJNBnPfwllJd71kkX7RQ3WDNf7dox3BLcNNs6vt34bbbvYHJhlTGp6O+JVHb0/2HJtX1PH+aqECqG/5YN1nlXcokGvvO6vCc4x+QskotxVHB/qa+xbOWuzw8NB3nuo+Ht0z2hHsuGU3GrWAoZfi3jrxgHpw3BPpobaCH7vbqOw6mHI836vYW3Eqcq9AtioqbJy7ufQ3lhfu8sR+s9+3vL8klACsQSu7AnxMY1MxH7YXJp7oPpLulrrj+9575Ni2aeVt1teWfEWfHQLCaspseHzOU7VWU+aM5G2NoyL4i+6j8XWDNQsmGsKu/cv+nTtjQb/mm7hfENyvqEAK5v8opjPJaL26KGBpd5TfguuBvuZRgBgY6zO0jlyZXXe9JqR+8MK8ntHOMHfHIkhu2b/0yIH7/oXJ0yFlxYnPUdRbvuILgO7+y+91l6Ka6M+cnCf4fMSypXvymHf/vzBTD3CuNGUFKT8lmK5Rs5ASqKiBlAGBXFaiSuni0fkp1pJ7Ed4e/xsAqLk46EWsG1EAAAAASUVORK5CYII=");bottom:10px;left:55px}div.vis-network div.vis-navigation div.vis-button.vis-left{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABt5JREFUeNqsl2lUlOcVx//3Pi9DZRsGBgYiS2RYBQKIjAhEJW4pNrXNMbZpWtTGNkttYmJMG5soSZckRk+0p+dYPYY0Gk0ihlhRj63GhVUgBhDD5oIOy8AAMwzD4lCYtx+GqCQKuNyP7/Pc+3u2+7/3JUzEZFBYLh62S7yIZDmVBEIBqOwsQ4DNdtBFASq2A4cuZAwVgCCPF5LGHM0Chz+E1XamzUyAzCMO7IhMI+5MDCK+HpCANd+U2rYgC/Y7BoflYgVA2RAOoNYtyjDTe45+hk96e5QywaJR+NsAwDhocK61VCjLTYWaclNB0OW+en8mhl22g8C/rn7U+uGEwdov+C0i+Q0mIFWzoD7zwVU1czQ/6pjIreR3HPX5VL9jalHXiQgmBoH+XLHAtH5csDaXtxDLLzIBv5jyfOmG2H9U4S7snbpX43KaPpgBIhDx1rPzOlbfPC5GQT/nd1mS1zABa6PfPf5y5F/rcJeWpp7fPkly6f7KXBRCoOSATFfXll19x74HDsvFCghsJAG8HrvlvytCXm7EPVqc5wyzp5NX15muE1omKXXyMnd9yy5r5Q3wPghvJzrLAlimXV38+7D1DbhPFq1M6O4b6rPVWKsCBfHi5EWWv9TkQBYAEPpLvERMC9N8FtRvjt9dPl6wwo5jPvuas7WV5jNqEjz8wA+CBsaan+w9x1hrrXJtuaZX97ooLfqPLCUEGRR+iOwAsF2X98Uc30W3fb02u41frVqeVmo6FUkkwCAwCWxJ2Ls/0TPFNBb8TNdp9WvnVz4OAKdmX2QOzcMsAAjziDGMBd3asCF6SXHyknJTfqQTK+zpvhnVKT5zawCgzFTgN94pJXvP7gxxjTAIkpB+MnSWRMQZYEDnPVt/K4ejbZ/77726Lb6h95tAAiPELaJ1bcTbRfGeM8xv1azWSeyEa0P9igk+Nr1+oNFfkpwzJCJKIQA679ntN08yDXYo3qh+LuUrc0E4EcNL4dP7VNDzpU8FP3vpekoQQ5CEw4bPdEfa9+sAgEZUmkmAAAS5hLQ9p11XGO+pM8V5JLUfMeQARDMlEMKIGFOVCZYb0C7Fz0oeXmIZ6nZzYoV9od/jVS+GbahUOnn9b7T6sEOviUGyA8bMDlUa0W79wBW/bZf+lrY98cDBUI8YCxGDgHCJiVVEDN8R7QWAE8Z/+1mGut2i3eP1r0S+XRztkdBzq6NbF7WpbF3UprKxjvfHxbrfttla/QBArVDbJJIAQCURMRg8ugrKIAKBSNxzHtN3VdmxY0iQYSZmTeegwTlgknYAAB7RZBh2Nm7urbeeC1r19ROT52kWn3shfH2Fu1AO3RxjY/0fdac7/hPPJMDE11GC+HpBJmIEuAS3Oa6w01lybMbMgvgCE6O255zy24DeCr/Bvckn9+u8ZjXYIYvjxoMJy8oeXZrT9GHIqMWTwA2oI6cFMeDIcAiSEOyibXsmZG0hAFzuq1OyY6xBAnMJgdPOmks08zU/bbsB9x18P37PqS/b8+o/a96ZcLm3PmBH46Z5x40HW1eFvl4Uq0w0MwiCBOb7/qTsd6GvVY537DXWas1Iw1AiNJnOgwJi+bXhAbE08OnvaXSIW0TvYw88eaF/uM/WNdju3m5r9TlhPBzVNNDoPGC/5tRma/GJ80xqjPPUjVuvP2narrMOWd1Jlv/E1fN782UiNPZf9C/qOKa+ndOz2j+cz046sn+6KrVOsODirpOxld0lUxmEBK/ktvGgFd2l6taBZn9BAtEz5xYIvAn4/8rFKkgstAyZ6Yf+S67ezlkiSU73XXRV6xqh93TyssR4JF75efBvymLdE03jgT/Wb5tutLWpGbTm7wHZxQQAT+yDuKLyHRIk4cnAZ4pfCF9/HvfR9uh3xBxtz00BANsVDylnac6wAICaHMiBmW5NRLy4trcq0MtZ3RnpHme5H9AvjYeCc1t3pzMJgOSVnyw4eHZUB9Kyu68iMFPpysSppab8UJVC3Rnp/pDlXqF7mnYsdKQbv7cr6fDGW/Zczbt6jgUtV6kIlFxuyg/tH+6zJXmlGe8G+mlzdsyB1j3pTAwZ9q3/Sspbc9tmDwD0H3UffXCFlyuTlFpnPRdYb612c5c8+idPCu6fCLDKUubzsf6fSaWm0wmO9hbvZU8fDR2zoZ97OuppAu0UJEDEmOISZohT6q7Gek5rD3GN6FEp1DaAYB7sdNYPXPao7anS1Fmrg402g7+jYhGIaOXOaQc+uONfmCwZXJIf8xKx2KRgxYgOS+CROuyoyQKCxIhkOr4T6JWgxGnvZ1HWnf/CfHcBXxcnpRHxYwRKkUjSErFKkAQiNjP4kmBRTHbKm5KkKxwL+K39fwDX1XGF8ct++QAAAABJRU5ErkJggg==");bottom:10px;left:15px}div.vis-network div.vis-navigation div.vis-button.vis-right{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABs1JREFUeNqsl3tQlOcVxp9z3m+XygK7C4sLxkW5o4CAkYssFSkRjabjJEOSJm1IbZx2krapiZdeprW0NVVJ0pqMM0kYJQlqkoZImGioE1ItiCAgIsFwE4Es99vCslwChf36xy5EW1A0Pn9+73fO772e93kJC5EMCszFd20SbyFZNpJAAACtjWUI8KAN1CRAJTbg9LXNU+dBkG+Xkm7Zmg4OWoUdNqZXmQCZHQFsz0yOcCYGEc8mJGDnl2UTh5AO2x2DA3OxDaAsCDvQ32VF11qP9aZYz6SeFeooi17pPQEAvZNdTnWWKnWFuVhfYT7v0zza4M3EsMk2EPgnNZusby8Y7P8x/5lI/gMTYNSnNKQt/0Xtev1DfQtZlaK+M54fmDJXXhg4G8zEINBfqlLMe28L9s/lQ8Tyr5iAJ32fK/tj+OFq3IUO1O+JyGk7GgsiEPFrlQ/07bixXdwEPckHWZJ3MgG7Qw9+/mLIS/W4SyXoNvQskpyHLg1e8CNQ3NI0laoje7Tg/8CBudgGgQwSwO/DD322ze/FFnxLRWhiBzUK94GLA2f9mSTjfU+7mjqyrVe+AX8I4aGgShbA0/47Sn4ZuLcR90ih6qih0anRiVprtUEQb43bYtlXmwNZAEDAj/ACMW1M8ExpeDXyWMVCEl4yF7vntR/zLeov8JJlWfZR+Y3N92+cx/reOmu1quNrk27EWW0xvWspJcigoNNkA4C3Yk59vH7xltvu3ktDxe7PX34ilQCQfeci1j2xfn94ZrGCneY8uxcHCnW/vbr9EQD4d2ITc8AprAOAQLewroVAAaB8oMiLiRHvmVy7znNTjWCFrXKoJOSHFQ+kvnF9f+jco07s91MFdwmSkHQuYB0T8WYwIcYj0bTQdRufGlFKJMFVaCb/GvZW6aGI4yeXOwd2mr/u05zsyDY+W5X64Nm+fO85NpuJiCFJTpslIoonADEeiT2zIzIXuh+o25PQNtbsNVMOBUn2g08MiSTHN3uZjNTEDr4dnX/6H+1H/XPasmKvW+sMGfW/MXzende4K3h/ibvSYxIAItyie/K7cgCitQxCIBFjpTrKMgM+WPfrhLbxFi9iMQtlYjAJSCSBSYBAIPBNI3p86TPXj8bk56R4PVylFE626uFLQc9efiTVPDmgBIAAtzALEYNBQRITa4kYix21FwBax655CVagPLk7806Pj1qo/7MraF/FQ14/aMhszYhvGqn3KTef89rklWrSKXUTkn3mtJK9Bzf3XJA0e/PcrdgxIwSCDPmbZMQgABJkDBKzvn+yy2npIv9xAPB1Ceo2jTZ7Gc8afipIgEhAkACDwcSQQZBIIGnx5it7gg+U3wgcnbZKR1r+FnW+v2DVtDwtXCXNSKz797oAwDzZ7ySRAIBBFsTXmBh1w1+oZ4J3h+wv9lUFdbMDOrO+5IAqWIGZthuV13nC77nKRx8r7PssyibLIkoT1/h65HsfzWyu5tF6NYNB4EYJzKUETqgcLNVv0D/cDQBrNAnm9+LOfTLfNB5u2hf5z+6TMexYji+tVdrM5leMbWOtSwQx/F1C2rcuebIqwSO568a4WmuN3mEYSiUi+pRl2l1pLvYBsKArUKVwnZRYgdHpMWVG4+/WXhwoDBXE7OmkHzJ6JNemLfv51bniGqzVPoIkyLbpfK7ZMFIkE6FlrMn7Ql+BbiHg+zXGbgLjylDpyosD58KZmKM0cfWHI9//aD5o1VCZrnO83VuQQOja5PMCfwK8n3K2ChIbLVOD9KB36le3A+u/s2Q81C2yRavQmQNdVnamLnmq4nHD9jpB0rwm77jpjTW9E906Bu18fWlWCQHAox9CtGoXTwmS8IThZyXPB+29inuoE6bMsDM9ufEAMNHqJuU8ljMtAKA2B7IhzaWNiLfWjVQb3J10/SGuEZZ7Af1X7+lluZ3HkpgEQPL291M+qbzJgXQcG60ypKlVTGwsMxcFaJW6/hDXVZZvCz3RlrmRiQHwy9nRn2bM6bnas4cLfH6s1RIorsJcFDA2PToR7Z7QezfQD9qzwvI6TyTZC47ttXeiT+2c1+wBgOndoTPLt7mrmCRjvfULQ4O1xsVVchu7b9GysYUAqy3lnsdNb0aXmQuj7PYWL2etuRl6S0OfXLjiGQIdEY6K5esc2BWhjvkqXLO6x08VPKxV6iYAwuBkv5NpvNmtbrhaX2+tWdY70eVNINhtLW0/sjrv6B0/YdJlcGlR2AvE4hUlKwHQ7BU5cz8LRx0HaPY7gXb53L/67+mUfudPmP/twOWS6AQi/j6B4iWS/IlYK+yGYJDB1wWLErLRKd/omOJbAWf03wEAyO9m+/TtS3AAAAAASUVORK5CYII=");bottom:10px;left:95px}div.vis-network div.vis-navigation div.vis-button.vis-zoomIn{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABiBJREFUeNqkV2tQlOcVfp7zvgvDRe66y8htXUBR1GoFI+BtFJvRtjPJBGeaH2a8DGmbttgSTWbSJEw6TWOsrbbpTIeJZGqaTipTa6LJZDTVUTYQdNAohoso6qLucnERN0Axcb/8+HaJUHDX9Pz6vnnPe57vXJ5zzkeEIwaYcwBL/VrW0TCKqZANINEvBhSk3w9eUmC9HzjcsfarOhBGKJN84GkVJHcetvqFu4SAIYELYlpm4LpQQMqoQQKVnzeO7EYV/A8NnHMAGwHWQJmAjtg895LkFa7FU1d258UvGLBGpI4AQM9dd2TrwNn4016n9bS3LqNzsD1VKPAbfhCyqflR31thAzv+La+QxotCoNi6pn1D1s9aVli/3xtOVk72fjT1XVf17E9uHZspFBD8zdk13pdCAjsOyG6KUSEEnrT/tPHluW+cw7eQ19q2z6/t2rsYJEjZ07S6d+ukwI5/yQ7RxnYC2DZnx8dbHNs6xxs85T2R9GprZcmVwYs2BYWsmBzP83m7nIVJS73jdfdd+7PjjUu/XWUCGTtPre7ZHjxTY3Kq8DoV8Ou5u49snPGrKxN58syZ9aVXBztsigoUBd+Xt2NbfZ8llaVvah+vOz9hcX+CJenWp7eOOYS6ePpTU1w39vk+AwCzFPdDQbFGFPCUY2v9hqxfXJ0shNeHLtsUFc6UequbVvdVkwLX0GXbZPpl6Zuu/ij9x/VCBU1dU7bfdFYAIDsSFRCgeOqa9hfy/nDhwfwTKOrRd0U95n0iqch9+cKS5JVtpMCdkllhAhugCHcRwAb7z1tCEp8CCXAWAJRoCFXIYnti+sYWTQ0tll0wQMk+hGUAkBOX714xbV1IyuhxHhIMC/iR5OV9M2JmuhU1Vh7PXiakrIUQhcnLXeHQxPT4GyAtFqgwgAPF5iIFWkeu1SSLCKAweXn3/ZR5rXV7SddQpy3YDoNems9qTI5hGCitm1MOAAx0aaFCerTd84zjBed3Egq9ADA/rqD7Q3ctQC4REDmkYHb8goGgsR2tz5V0DV+xUdQoqAQ81RybU4IgFWgACgpaLLCIBUo0bv63y/aXy6+WBHWz4/IHSIGAuVooiaRgWqD3AsDVoQ6bEgtOrfJUhwrf0WUtk+r8sL6wvHvk5ijVUiJSRrQZuURtfoGMuaCoRyfP/yMy0XykgAA0DPRTxNp31x2ZFuUYBgB7bK7HNdhpKz6WXq6oQCooKghMKhkgji77vBoA1jkXlAvVfRQjFMUcmxSkRWd6gpjeu32R2kxTvyhKh1DQeud8fFBh26zfOe0xuR4JgAbzywCoRSzfeDUKatJKUQK+CjKiHZ6nZ2xzBnU7B9vixTy7qCHSQEhJU3+DtdT6mAcAFiWUeP/xyPH3Jwrfo3XzysemRcEA8F5RY8h6aPE1WwMLQ4OQ/EBANHmdGWHlzZyxk3ayB0m771yGooYy+KE0l35x0iBxZehS6ie9R1PCMaDvCzWDXA4hZ283ptwcvp6qqDBnyao6AWEQrBQQ/7y+d3YoA+NBTAaElo973p8tVFCQyipW+c3pdNu7BwBOe+tm/eniK/kPFWowpMfvuKrzzw80zSKIkWsJe0bHYu163BNwMwDsv7G36ODNtzMnM5IWZfeQgscbisvLPl1aDhLTo7I8k+n/p+dw5pGeg0WKGiS31K6vvTdmA7nx9uDZ9A3xMUIpbvSezE6MSOmbNWXewHhD6dH23o7BlqQvvrwTK6KQFpXl2WyvcE6LTB2eCPSdrurvmcUnO/cVfPD6pMteyfGs3QKpUFQoS9tU/xPH8xe+Tdd693pN/pHug0Xmqntvz1uLDo9Z9v5nnrn+dvujrI1JMUJd3OY7n97ua46douOGpkdlDoUDeG7g1NS/u/5a0Og9scCsB+ysWXSoMuyFftWJvM0E31SBjmWPznHPjy+8NjdhYfeMmJl3EiNSRgCi/25fpGu4M671zjlrm685s2fEnUoQ5lrLLW8uPLj3oX9hqgxIw8n8X1LU7yMkItCHzREZrGQV6ONmy5TggHk247sL/1jFqof/hRn/AWfqC0pI+QHBIk3tICXRrFTpF8hlJaqefh6yFxQ6HwQYlK8HAKyt3WsWxl7fAAAAAElFTkSuQmCC");bottom:10px;right:15px}div.vis-network div.vis-navigation div.vis-button.vis-zoomOut{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABV5JREFUeNq0l2tQVVUYht/3W/vACMr16IFRQDiAgChpgiikMqY1WjnN9KsfGOXYTOVgkvbDUsZuXrK0qZmGUSvNspjI8TZOmo6AGBoZYly8YB6Qw80DBwQ6jJ3dj30OZZmiwvtv77XW96y91l7v9y1iMNLBuCI84tZkIXU9gwqxAILdokNBOtzgJQWWuYEDFxfcLAGh3y0k79iaD4mfjOVu4WYhoItngBiR6RkuFJAyEJBA3m/lri3Ih/uewXFFyAG4A8oAWkcm2meEzrFNH53Vkhg4xWnxCXcBQGu/3bfGeTbwjKPUcsZRElnfUxcuFLh1Nwh5vurx7s8GDbZ+L+tI/U0hkGGZX5c9/pXqOZYn2gazK8Vth0fvsRUknbx+bIJQQPCts/Mda+4KthbJFoqeKwSejX6pfO2kjytxH1pfuyqlsGH7dJAgZWvFo23L/9muboF+JxtE0/OEwMqJG46uSHinFvepTPO8lhGaX+fPHSdjCKaPy/b3v7az58h/wHFFyIHCRirgjUlbfsiJWXEFD6iUoOkdQaaQ6z9dP2YVahljF4+yXdvZ/evf4G+hQk2sEAUsti4vWxa35gKGSBMDp3T23OxxVXdXRijKovSFzrerC6ELAMT6IhcCZIyeX7c68YPzGGLlxq89PyM0q5YU2M1RuQAg0EERbiaA7Ohl1RgmPTM2p1qjBk1Mm6GDErsfswAgLiDZPmfMwrbhAqeHzm6P8Z9gV9SQdTx2lpCyAEKkhc62YZiVEjTdRgo0zXeBRnImAaSFzm7xdjjtOBGyvmZVZkNvfZjXDhU14+BToFEDKRAQpAJ0HRTjP6XHpYUKEX7RzS9bV5c+FJTmAICUgNSWQ/ZCgJwhIOJIQVLgFKcXvKHm9cyGvithFDUAFQqECho1CBUIggYapAJ1QEFBExNMYoISDU1/NIR9cvndTG/c2IBkp2fC8ZpQgknBGI/3AsDvvRfDlJhwem5zwYMs7VNlaUtbXE1h3mezj9mlGSsXrBkzkFsGKGoDmedBJLfLjxQQgAYdHRSxtPfbfceNsPYBQPTI+GZbT31YxrGIpYoKpIKigkAgFOggNBrbQBBCBaEM2L+iGGmTgnF+Uc1epqO/3VejAoAOUZSLQkFN17lAb4eVCe+VRvvHN4sH6t1feqAmMUGoPHvvhdLzTjzfKoj0sza/GLOy1Bu3vqc20Pgl5YIGkVOEZFZ0nLLMszzdDADTgjIdX6Uf3zfUx6m6u8riKRhOCcmDAqLCURo53Oe4rrsyUlGD0nlIqubdKNZJXOm9FH6y7Yh5uKBnO8vNTX2N4YoKE2fMLREQOsE8AfFN4/ak4QIfbd2XJFRQkLx85ruN7NTp2AoAZxwlCR9dWJc81NDdtoLkc86KBIJwXQ3aOpCPqwuhR2SPbCBlUc2NyogQX3N7wqgU51BAf2w9EFXUtCtLqADqS76ev6/ilgrk2q6esxHZgf5CySh3FMcG+5jbE0ZNdj4odHdDwWPGcZNNO1MPbrxtzdW4s+tI5HPBwQTTzziKY3v/7HGlhmS23g90T+OO5L1Nu7MMw3Fv/Tx1f97/FnsAYPui8/D4nBB/oZZR230uoq67auQoLaB37Iio3sEAK52nR39p+zS13HFiilHeYtOOabdC71jQzz2R+ALBbcrjWNF+cfaUwLSrk4KmtsT4T+gK9jG7AKKjv93X1lcfUNNVaantropqddnDCcIoa7lk29S92+/5CpOvQ04VJ79KUe/7iI/Hh40U6c3PyuPjhmWKN8G8Fvnw1A/zmX/vV5h/T+CXstRMUp4kOFOjZiUlWBkFQYdALitRZXRzf3RqWumdgF79NQDBOa2V/iYSHAAAAABJRU5ErkJggg==");bottom:10px;right:55px}div.vis-network div.vis-navigation div.vis-button.vis-zoomExtends{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAABptJREFUeNqsl21QlNcVx///cx9hIipuAJHasgHlRdw0xay7yK7smg6sb2DSdtqZduLUNENmOk1tQuM4U7UzTvshSRlFZzoNCWSSSTJp+6VNkLCAeQHBoCCgqNBE0wUqL+KuwIiiZZ9+eHa3aAS3Sf8zO8/L3nt+95x7z7n3YWlpKUQEJAEgch9+Jola9xEC2ADBVgAOKqwCYAqKDgUJBIHPBWwFWQNdbyZFBwAC0GGIAHQSj3/8HHRdhzYbdDfwg4IjAsGvICgXAroYBiCEDkBBACBZoyST4gDwQqh7mQ4cEkhQD0EBIIggRMQAh2EiEvEYAGrdR3YSqIYCIEDaotVDeYnu/ryEjSOr43PHl8WmTBPA6PRQ7IWJrvhT/ubkU/7m1EvX+1KEUh7Ug+WkPEXgdUSkR+xrd0NJ4qjr8AEI9pGAI7mo78mHfnF+Y/K2K7iHUheuvJG6cOUNz/LvDwPobrpSl/Ruf2VOy9UPs4RSTSANwH4Y449EVdnt9ojHIeghCHYLgR+n/7zt4Np32tIWZU4hSpnjVk1t/caPfOO3/f++MNH5TVJcisoEoo4ksgbsXwYfdR1+kQplQuCFNS82Pp/9+158RTkTC0ce0OKutQeOp5PME0qcUBqyBmwGOC8vz4AWVOyE4CUqYO/Dh+p3pj//Bb6mHllqCyxd8ODVT69+uFKoOYTSnzFg7SJpzHFNQYWiQrUIsCN9V+uOh375zz179pSGI1FSUuK12+2+aGDt7e3muro6T/h57969lZdvDrT+ZbA6n0B1nfPVN7e0PjMjIgIIdkEAR1JR329yDvaE0+l/hQKA1Wr1bd682SsikUW7K+O3PesTNvaSAiXaLhGBvO86RFEoJ4Adac+eDxsgiZKSEm9NTY3n5MmT5mjBHR0d5vr6es+mTZu8SqnI+x+s+Ol5jRo0auX1jtepQaEAADKWWIbcy7ZGUmb79u1eu93uI+mtra31HLj5TGDs9rBJICCNn1GRCKGCUJAUuzzw6CfbTB6Px7t27VofAG/YXl6Ceyw9LmvIN3UxZUafKRACWyCELcHVP3vk4fDabDZf+2N/D9g+fsLEEFSooFGDogZNFkBRgSCsTcWm066jgRAU4et/F5u9nxRosmCLRmE+QdgSXCNzhW/s9rDJ63wVJx77V+V8YS6UNaW8BdOcqzx+3Ujt0F8Bcr1GMIMU5CzJHZ+rg6IGCYV2PimoyIK6lzIWrxkPTVGmRoqJFCyLTZmeq4MB5f3BVADnbpcQkzStUQMAk0YKBPfzxlhA95NQQe43QBotBECAFFyZHo6dz6CKCizAPFPivzUWqxm2AqIgnwkFvZNn4uczGK3Hah7wpet98UZ85R8aKScIcXYEWpMLkx8fvleHpNjlAWtTsakQa0pVKGcJQqMGUqCHBvfdjp/gTP6xwFzg85PdyaH2J4SUowKiw3889e4KBACnT582W5uKTV2uusAdUFlgzBcFQoFGDT35HwW+82mhqaenxwwA4WtYfRNnUkMZUqsJpEkn8cXU5yktYw2JjsTCMQDwer0ekt6GhgZPUVGRd3fu7qjqdU9Mj7mlpcVD0tvS0uKxWCyVANB5rS3x8s3BFEUFgTTLtuZndQHLBMSfB6pyZtfqMDQ3NzfqTcJisficTqc3BI+8bxh9L8corarM3fnDoIT+rACAU/7m7MOfHbCEwQDQ2Njo6erqinqTOHfuXNjjiI23+ystZ8c7smmkWgVJcN++fRARfLDhlacEUqVEQ1nm77xPrHjSh/+Djo3WmN/s/6OHEOgIPr2h63tVuq5Dud1ukETWoK3zorkzTiiONn/TKlNM4lj24m+Pf13o2wOVHqGA5MsAXjKPrDaqnMvlQnjTzhy0Nlw0d5oI5p3yN62amrk+ve5B5+hXgb47WGX52+V3NgoFOvQKAGUkkTqcbZy5XC7XHYf4zEFr3aXU7jih5uidPPOtvsmzixZr8VMrHjBHddLsHj+Z9Fb/n9a1+T/JDaXey0IpEzEKkHnU8Jj79++PeEwSSimQRGP+Gz8j5DVFBVKQtjBj6JGlNt/D8Y+OpMdlTphiEqcB4tqtsVjfjUtLLkx0J/dOnjWPTg+lEARIEHwaQJVQIYggACC/qxi6rn8ZHL4XETSsf0MU1HOk/CFGYgAwskUqY5eBitRxzn7/a0V1EEBwdqkN6jPI7y4xPmHmC5unbWdQRMqP2d86qANOksU6gvmArNQRNClqABnQgYuK0krI+wCOAyH3DK/vqOXhaf3PAO7mIRjDNV25AAAAAElFTkSuQmCC");bottom:50px;right:15px}');var Bh=function(){function g(A,t){var e=this;De(this,g),this.body=A,this.canvas=t,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",(function(){e.activated=!0,e.configureKeyboardBindings()})),this.body.emitter.on("deactivate",(function(){e.activated=!1,e.configureKeyboardBindings()})),this.body.emitter.on("destroy",(function(){void 0!==e.keycharm&&e.keycharm.destroy()})),this.options={}}return Pe(g,[{key:"setOptions",value:function(g){void 0!==g&&(this.options=g,this.create())}},{key:"create",value:function(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}},{key:"cleanNavigation",value:function(){if(0!=this.navigationHammers.length){for(var g=0;g<this.navigationHammers.length;g++)this.navigationHammers[g].destroy();this.navigationHammers=[]}this.navigationDOM&&this.navigationDOM.wrapper&&this.navigationDOM.wrapper.parentNode&&this.navigationDOM.wrapper.parentNode.removeChild(this.navigationDOM.wrapper),this.iconsCreated=!1}},{key:"loadNavigationElements",value:function(){var g=this;this.cleanNavigation(),this.navigationDOM={};var A=["up","down","left","right","zoomIn","zoomOut","zoomExtends"],t=["_moveUp","_moveDown","_moveLeft","_moveRight","_zoomIn","_zoomOut","_fit"];this.navigationDOM.wrapper=document.createElement("div"),this.navigationDOM.wrapper.className="vis-navigation",this.canvas.frame.appendChild(this.navigationDOM.wrapper);for(var e=0;e<A.length;e++){this.navigationDOM[A[e]]=document.createElement("div"),this.navigationDOM[A[e]].className="vis-button vis-"+A[e],this.navigationDOM.wrapper.appendChild(this.navigationDOM[A[e]]);var C,I,i=new Bn(this.navigationDOM[A[e]]);if("_fit"===t[e])Th(i,fg(C=this._fit).call(C,this));else Th(i,fg(I=this.bindToRedraw).call(I,this,t[e]));this.navigationHammers.push(i)}var o=new Bn(this.canvas.frame);Dh(o,(function(){g._stopMovement()})),this.navigationHammers.push(o),this.iconsCreated=!0}},{key:"bindToRedraw",value:function(g){var A;void 0===this.boundFunctions[g]&&(this.boundFunctions[g]=fg(A=this[g]).call(A,this),this.body.emitter.on("initRedraw",this.boundFunctions[g]),this.body.emitter.emit("_startRendering"))}},{key:"unbindFromRedraw",value:function(g){void 0!==this.boundFunctions[g]&&(this.body.emitter.off("initRedraw",this.boundFunctions[g]),this.body.emitter.emit("_stopRendering"),delete this.boundFunctions[g])}},{key:"_fit",value:function(){(new Date).valueOf()-this.touchTime>700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}},{key:"_stopMovement",value:function(){for(var g in this.boundFunctions)Object.prototype.hasOwnProperty.call(this.boundFunctions,g)&&(this.body.emitter.off("initRedraw",this.boundFunctions[g]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}},{key:"_moveUp",value:function(){this.body.view.translation.y+=this.options.keyboard.speed.y}},{key:"_moveDown",value:function(){this.body.view.translation.y-=this.options.keyboard.speed.y}},{key:"_moveLeft",value:function(){this.body.view.translation.x+=this.options.keyboard.speed.x}},{key:"_moveRight",value:function(){this.body.view.translation.x-=this.options.keyboard.speed.x}},{key:"_zoomIn",value:function(){var g=this.body.view.scale,A=this.body.view.scale*(1+this.options.keyboard.speed.zoom),t=this.body.view.translation,e=A/g,C=(1-e)*this.canvas.canvasViewCenter.x+t.x*e,I=(1-e)*this.canvas.canvasViewCenter.y+t.y*e;this.body.view.scale=A,this.body.view.translation={x:C,y:I},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}},{key:"_zoomOut",value:function(){var g=this.body.view.scale,A=this.body.view.scale/(1+this.options.keyboard.speed.zoom),t=this.body.view.translation,e=A/g,C=(1-e)*this.canvas.canvasViewCenter.x+t.x*e,I=(1-e)*this.canvas.canvasViewCenter.y+t.y*e;this.body.view.scale=A,this.body.view.translation={x:C,y:I},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}},{key:"configureKeyboardBindings",value:function(){var g,A,t,e,C,I,i,o,n,r,s,a,d,h,l,c,u,p,f,v,y,m,b,w,k=this;(void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled)&&(!0===this.options.keyboard.bindToWindow?this.keycharm=Mh({container:window,preventDefault:!0}):this.keycharm=Mh({container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&(fg(g=this.keycharm).call(g,"up",(function(){k.bindToRedraw("_moveUp")}),"keydown"),fg(A=this.keycharm).call(A,"down",(function(){k.bindToRedraw("_moveDown")}),"keydown"),fg(t=this.keycharm).call(t,"left",(function(){k.bindToRedraw("_moveLeft")}),"keydown"),fg(e=this.keycharm).call(e,"right",(function(){k.bindToRedraw("_moveRight")}),"keydown"),fg(C=this.keycharm).call(C,"=",(function(){k.bindToRedraw("_zoomIn")}),"keydown"),fg(I=this.keycharm).call(I,"num+",(function(){k.bindToRedraw("_zoomIn")}),"keydown"),fg(i=this.keycharm).call(i,"num-",(function(){k.bindToRedraw("_zoomOut")}),"keydown"),fg(o=this.keycharm).call(o,"-",(function(){k.bindToRedraw("_zoomOut")}),"keydown"),fg(n=this.keycharm).call(n,"[",(function(){k.bindToRedraw("_zoomOut")}),"keydown"),fg(r=this.keycharm).call(r,"]",(function(){k.bindToRedraw("_zoomIn")}),"keydown"),fg(s=this.keycharm).call(s,"pageup",(function(){k.bindToRedraw("_zoomIn")}),"keydown"),fg(a=this.keycharm).call(a,"pagedown",(function(){k.bindToRedraw("_zoomOut")}),"keydown"),fg(d=this.keycharm).call(d,"up",(function(){k.unbindFromRedraw("_moveUp")}),"keyup"),fg(h=this.keycharm).call(h,"down",(function(){k.unbindFromRedraw("_moveDown")}),"keyup"),fg(l=this.keycharm).call(l,"left",(function(){k.unbindFromRedraw("_moveLeft")}),"keyup"),fg(c=this.keycharm).call(c,"right",(function(){k.unbindFromRedraw("_moveRight")}),"keyup"),fg(u=this.keycharm).call(u,"=",(function(){k.unbindFromRedraw("_zoomIn")}),"keyup"),fg(p=this.keycharm).call(p,"num+",(function(){k.unbindFromRedraw("_zoomIn")}),"keyup"),fg(f=this.keycharm).call(f,"num-",(function(){k.unbindFromRedraw("_zoomOut")}),"keyup"),fg(v=this.keycharm).call(v,"-",(function(){k.unbindFromRedraw("_zoomOut")}),"keyup"),fg(y=this.keycharm).call(y,"[",(function(){k.unbindFromRedraw("_zoomOut")}),"keyup"),fg(m=this.keycharm).call(m,"]",(function(){k.unbindFromRedraw("_zoomIn")}),"keyup"),fg(b=this.keycharm).call(b,"pageup",(function(){k.unbindFromRedraw("_zoomIn")}),"keyup"),fg(w=this.keycharm).call(w,"pagedown",(function(){k.unbindFromRedraw("_zoomOut")}),"keyup")))}}]),g}();function zh(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return Zh(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Zh(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function Zh(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}var Sh=function(){function g(A,t,e){var C,I,i,o,n,r,s,a,d,h,l,c,u;De(this,g),this.body=A,this.canvas=t,this.selectionHandler=e,this.navigationHandler=new Bh(A,t),this.body.eventListeners.onTap=fg(C=this.onTap).call(C,this),this.body.eventListeners.onTouch=fg(I=this.onTouch).call(I,this),this.body.eventListeners.onDoubleTap=fg(i=this.onDoubleTap).call(i,this),this.body.eventListeners.onHold=fg(o=this.onHold).call(o,this),this.body.eventListeners.onDragStart=fg(n=this.onDragStart).call(n,this),this.body.eventListeners.onDrag=fg(r=this.onDrag).call(r,this),this.body.eventListeners.onDragEnd=fg(s=this.onDragEnd).call(s,this),this.body.eventListeners.onMouseWheel=fg(a=this.onMouseWheel).call(a,this),this.body.eventListeners.onPinch=fg(d=this.onPinch).call(d,this),this.body.eventListeners.onMouseMove=fg(h=this.onMouseMove).call(h,this),this.body.eventListeners.onRelease=fg(l=this.onRelease).call(l,this),this.body.eventListeners.onContext=fg(c=this.onContext).call(c,this),this.touchTime=0,this.drag={},this.pinch={},this.popup=void 0,this.popupObj=void 0,this.popupTimer=void 0,this.body.functions.getPointer=fg(u=this.getPointer).call(u,this),this.options={},this.defaultOptions={dragNodes:!0,dragView:!0,hover:!1,keyboard:{enabled:!1,speed:{x:10,y:10,zoom:.02},bindToWindow:!0},navigationButtons:!1,tooltipDelay:300,zoomView:!0,zoomSpeed:1},sg(this.options,this.defaultOptions),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g=this;this.body.emitter.on("destroy",(function(){clearTimeout(g.popupTimer),delete g.body.functions.getPointer}))}},{key:"setOptions",value:function(g){if(void 0!==g){In(["hideEdgesOnDrag","hideEdgesOnZoom","hideNodesOnDrag","keyboard","multiselect","selectable","selectConnectedEdges"],this.options,g),wn(this.options,g,"keyboard"),g.tooltip&&(sg(this.options.tooltip,g.tooltip),g.tooltip.color&&(this.options.tooltip.color=cn(g.tooltip.color)))}this.navigationHandler.setOptions(this.options)}},{key:"getPointer",value:function(g){return{x:g.x-(A=this.canvas.frame.canvas,A.getBoundingClientRect().left),y:g.y-sn(this.canvas.frame.canvas)};var A}},{key:"onTouch",value:function(g){(new Date).valueOf()-this.touchTime>50&&(this.drag.pointer=this.getPointer(g.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}},{key:"onTap",value:function(g){var A=this.getPointer(g.center),t=this.selectionHandler.options.multiselect&&(g.changedPointers[0].ctrlKey||g.changedPointers[0].metaKey);this.checkSelectionChanges(A,t),this.selectionHandler.commitAndEmit(A,g),this.selectionHandler.generateClickEvent("click",g,A)}},{key:"onDoubleTap",value:function(g){var A=this.getPointer(g.center);this.selectionHandler.generateClickEvent("doubleClick",g,A)}},{key:"onHold",value:function(g){var A=this.getPointer(g.center),t=this.selectionHandler.options.multiselect;this.checkSelectionChanges(A,t),this.selectionHandler.commitAndEmit(A,g),this.selectionHandler.generateClickEvent("click",g,A),this.selectionHandler.generateClickEvent("hold",g,A)}},{key:"onRelease",value:function(g){if((new Date).valueOf()-this.touchTime>10){var A=this.getPointer(g.center);this.selectionHandler.generateClickEvent("release",g,A),this.touchTime=(new Date).valueOf()}}},{key:"onContext",value:function(g){var A=this.getPointer({x:g.clientX,y:g.clientY});this.selectionHandler.generateClickEvent("oncontext",g,A)}},{key:"checkSelectionChanges",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!0===A?this.selectionHandler.selectAdditionalOnPoint(g):this.selectionHandler.selectOnPoint(g)}},{key:"_determineDifference",value:function(g,A){var t=function(g,A){for(var t=[],e=0;e<g.length;e++){var C=g[e];-1===DI(A).call(A,C)&&t.push(C)}return t};return{nodes:t(g.nodes,A.nodes),edges:t(g.edges,A.edges)}}},{key:"onDragStart",value:function(g){if(!this.drag.dragging){void 0===this.drag.pointer&&this.onTouch(g);var A=this.selectionHandler.getNodeAt(this.drag.pointer);if(this.drag.dragging=!0,this.drag.selection=[],this.drag.translation=sg({},this.body.view.translation),this.drag.nodeId=void 0,g.srcEvent.shiftKey){this.body.selectionBox.show=!0;var t=this.getPointer(g.center);this.body.selectionBox.position.start={x:this.canvas._XconvertDOMtoCanvas(t.x),y:this.canvas._YconvertDOMtoCanvas(t.y)},this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(t.x),y:this.canvas._YconvertDOMtoCanvas(t.y)}}if(void 0!==A&&!0===this.options.dragNodes){this.drag.nodeId=A.id,!1===A.isSelected()&&(this.selectionHandler.unselectAll(),this.selectionHandler.selectObject(A)),this.selectionHandler.generateClickEvent("dragStart",g,this.drag.pointer);var e,C=zh(this.selectionHandler.getSelectedNodes());try{for(C.s();!(e=C.n()).done;){var I=e.value,i={id:I.id,node:I,x:I.x,y:I.y,xFixed:I.options.fixed.x,yFixed:I.options.fixed.y};I.options.fixed.x=!0,I.options.fixed.y=!0,this.drag.selection.push(i)}}catch(g){C.e(g)}finally{C.f()}}else this.selectionHandler.generateClickEvent("dragStart",g,this.drag.pointer,void 0,!0)}}},{key:"onDrag",value:function(g){var A=this;if(!0!==this.drag.pinched){this.body.emitter.emit("unlockNode");var t=this.getPointer(g.center),e=this.drag.selection;if(e&&e.length&&!0===this.options.dragNodes){this.selectionHandler.generateClickEvent("dragging",g,t);var C=t.x-this.drag.pointer.x,I=t.y-this.drag.pointer.y;RC(e).call(e,(function(g){var t=g.node;!1===g.xFixed&&(t.x=A.canvas._XconvertDOMtoCanvas(A.canvas._XconvertCanvasToDOM(g.x)+C)),!1===g.yFixed&&(t.y=A.canvas._YconvertDOMtoCanvas(A.canvas._YconvertCanvasToDOM(g.y)+I))})),this.body.emitter.emit("startSimulation")}else{if(g.srcEvent.shiftKey){if(this.selectionHandler.generateClickEvent("dragging",g,t,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(g);this.body.selectionBox.position.end={x:this.canvas._XconvertDOMtoCanvas(t.x),y:this.canvas._YconvertDOMtoCanvas(t.y)},this.body.emitter.emit("_requestRedraw")}if(!0===this.options.dragView&&!g.srcEvent.shiftKey){if(this.selectionHandler.generateClickEvent("dragging",g,t,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(g);var i=t.x-this.drag.pointer.x,o=t.y-this.drag.pointer.y;this.body.view.translation={x:this.drag.translation.x+i,y:this.drag.translation.y+o},this.body.emitter.emit("_requestRedraw")}}}}},{key:"onDragEnd",value:function(g){var A=this;if(this.drag.dragging=!1,this.body.selectionBox.show){var t;this.body.selectionBox.show=!1;var e=this.body.selectionBox.position,C={minX:Math.min(e.start.x,e.end.x),minY:Math.min(e.start.y,e.end.y),maxX:Math.max(e.start.x,e.end.x),maxY:Math.max(e.start.y,e.end.y)},I=oI(t=this.body.nodeIndices).call(t,(function(g){var t=A.body.nodes[g];return t.x>=C.minX&&t.x<=C.maxX&&t.y>=C.minY&&t.y<=C.maxY}));RC(I).call(I,(function(g){return A.selectionHandler.selectObject(A.body.nodes[g])}));var i=this.getPointer(g.center);this.selectionHandler.commitAndEmit(i,g),this.selectionHandler.generateClickEvent("dragEnd",g,this.getPointer(g.center),void 0,!0),this.body.emitter.emit("_requestRedraw")}else{var o=this.drag.selection;o&&o.length?(RC(o).call(o,(function(g){g.node.options.fixed.x=g.xFixed,g.node.options.fixed.y=g.yFixed})),this.selectionHandler.generateClickEvent("dragEnd",g,this.getPointer(g.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler.generateClickEvent("dragEnd",g,this.getPointer(g.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}}},{key:"onPinch",value:function(g){var A=this.getPointer(g.center);this.drag.pinched=!0,void 0===this.pinch.scale&&(this.pinch.scale=1);var t=this.pinch.scale*g.scale;this.zoom(t,A)}},{key:"zoom",value:function(g,A){if(!0===this.options.zoomView){var t=this.body.view.scale;g<1e-5&&(g=1e-5),g>10&&(g=10);var e=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(e=this.canvas.DOMtoCanvas(this.drag.pointer));var C=this.body.view.translation,I=g/t,i=(1-I)*A.x+C.x*I,o=(1-I)*A.y+C.y*I;if(this.body.view.scale=g,this.body.view.translation={x:i,y:o},null!=e){var n=this.canvas.canvasToDOM(e);this.drag.pointer.x=n.x,this.drag.pointer.y=n.y}this.body.emitter.emit("_requestRedraw"),t<g?this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:A}):this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:A})}}},{key:"onMouseWheel",value:function(g){if(!0===this.options.zoomView){if(0!==g.deltaY){var A=this.body.view.scale;A*=1+(g.deltaY<0?1:-1)*(.1*this.options.zoomSpeed);var t=this.getPointer({x:g.clientX,y:g.clientY});this.zoom(A,t)}g.preventDefault()}}},{key:"onMouseMove",value:function(g){var A=this,t=this.getPointer({x:g.clientX,y:g.clientY}),e=!1;void 0!==this.popup&&(!1===this.popup.hidden&&this._checkHidePopup(t),!1===this.popup.hidden&&(e=!0,this.popup.setPosition(t.x+3,t.y-5),this.popup.show())),!1===this.options.keyboard.bindToWindow&&!0===this.options.keyboard.enabled&&this.canvas.frame.focus(),!1===e&&(void 0!==this.popupTimer&&(clearInterval(this.popupTimer),this.popupTimer=void 0),this.drag.dragging||(this.popupTimer=WI((function(){return A._checkShowPopup(t)}),this.options.tooltipDelay))),!0===this.options.hover&&this.selectionHandler.hoverObject(g,t)}},{key:"_checkShowPopup",value:function(g){var A=this.canvas._XconvertDOMtoCanvas(g.x),t=this.canvas._YconvertDOMtoCanvas(g.y),e={left:A,top:t,right:A,bottom:t},C=void 0===this.popupObj?void 0:this.popupObj.id,I=!1,i="node";if(void 0===this.popupObj){for(var o,n=this.body.nodeIndices,r=this.body.nodes,s=[],a=0;a<n.length;a++)!0===(o=r[n[a]]).isOverlappingWith(e)&&(I=!0,void 0!==o.getTitle()&&s.push(n[a]));s.length>0&&(this.popupObj=r[s[s.length-1]],I=!0)}if(void 0===this.popupObj&&!1===I){for(var d,h=this.body.edgeIndices,l=this.body.edges,c=[],u=0;u<h.length;u++)!0===(d=l[h[u]]).isOverlappingWith(e)&&!0===d.connected&&void 0!==d.getTitle()&&c.push(h[u]);c.length>0&&(this.popupObj=l[c[c.length-1]],i="edge")}void 0!==this.popupObj?this.popupObj.id!==C&&(void 0===this.popup&&(this.popup=new zn(this.canvas.frame)),this.popup.popupTargetType=i,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(g.x+3,g.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):void 0!==this.popup&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}},{key:"_checkHidePopup",value:function(g){var A=this.selectionHandler._pointerToPositionObject(g),t=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&!0===(t=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(A))){var e=this.selectionHandler.getNodeAt(g);t=void 0!==e&&e.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(g)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(t=this.body.edges[this.popup.popupTargetId].isOverlappingWith(A));!1===t&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}]),g}(),Fh=wr.getWeakData,Gh=qg.set,Lh=qg.getterFor,jh=Vt.find,Vh=Vt.findIndex,Yh=0,Wh=function(g){return g.frozen||(g.frozen=new Qh)},Qh=function(){this.entries=[]},Uh=function(g,A){return jh(g.entries,(function(g){return g[0]===A}))};Qh.prototype={get:function(g){var A=Uh(this,g);if(A)return A[1]},has:function(g){return!!Uh(this,g)},set:function(g,A){var t=Uh(this,g);t?t[1]=A:this.entries.push([g,A])},delete:function(g){var A=Vh(this.entries,(function(A){return A[0]===g}));return~A&&this.entries.splice(A,1),!!~A}};var _h={getConstructor:function(g,A,t,e){var C=g((function(g,I){Er(g,C,A),Gh(g,{type:A,id:Yh++,frozen:void 0}),null!=I&&xr(I,g[e],{that:g,AS_ENTRIES:t})})),I=Lh(A),i=function(g,A,t){var e=I(g),C=Fh(S(A),!0);return!0===C?Wh(e).set(A,t):C[e.id]=t,g};return Pr(C.prototype,{delete:function(g){var A=I(this);if(!p(g))return!1;var t=Fh(g);return!0===t?Wh(A).delete(g):t&&y(t,A.id)&&delete t[A.id]},has:function(g){var A=I(this);if(!p(g))return!1;var t=Fh(g);return!0===t?Wh(A).has(g):t&&y(t,A.id)}}),Pr(C.prototype,t?{get:function(g){var A=I(this);if(p(g)){var t=Fh(g);return!0===t?Wh(A).get(g):t?t[A.id]:void 0}},set:function(g,A){return i(this,g,A)}}:{add:function(g){return i(this,g,!0)}}),C}};t((function(g){var A,t=qg.enforce,e=!C.ActiveXObject&&"ActiveXObject"in C,I=Object.isExtensible,i=function(g){return function(){return g(this,arguments.length?arguments[0]:void 0)}},o=g.exports=Rr("WeakMap",i,_h);if(Sg&&e){A=_h.getConstructor(i,"WeakMap",!0),wr.REQUIRED=!0;var n=o.prototype,r=n.delete,s=n.has,a=n.get,d=n.set;Pr(n,{delete:function(g){if(p(g)&&!I(g)){var e=t(this);return e.frozen||(e.frozen=new A),r.call(this,g)||e.frozen.delete(g)}return r.call(this,g)},has:function(g){if(p(g)&&!I(g)){var e=t(this);return e.frozen||(e.frozen=new A),s.call(this,g)||e.frozen.has(g)}return s.call(this,g)},get:function(g){if(p(g)&&!I(g)){var e=t(this);return e.frozen||(e.frozen=new A),s.call(this,g)?a.call(this,g):e.frozen.get(g)}return a.call(this,g)},set:function(g,e){if(p(g)&&!I(g)){var C=t(this);C.frozen||(C.frozen=new A),s.call(this,g)?d.call(this,g,e):C.frozen.set(g,e)}else d.call(this,g,e);return this}})}}));var Hh,Kh,Xh,Jh,qh,$h=B.WeakMap;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function gl(g,A){if(!A.has(g))throw new TypeError("attempted to get private field on non-instance");return A.get(g)}function Al(g,A,t){if(!A.has(g))throw new TypeError("attempted to set private field on non-instance");return A.set(g,t),t}function tl(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return el(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return el(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function el(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}function Cl(g,A){var t,e=new bs,C=tl(A);try{for(C.s();!(t=C.n()).done;){var I=t.value;g.has(I)||e.add(I)}}catch(g){C.e(g)}finally{C.f()}return e}var Il=function(){function g(){De(this,g),Hh.set(this,new bs),Kh.set(this,new bs)}return Pe(g,[{key:"size",get:function(){return gl(this,Kh).size}},{key:"add",value:function(){for(var g=arguments.length,A=new Array(g),t=0;t<g;t++)A[t]=arguments[t];for(var e=0,C=A;e<C.length;e++){var I=C[e];gl(this,Kh).add(I)}}},{key:"delete",value:function(){for(var g=arguments.length,A=new Array(g),t=0;t<g;t++)A[t]=arguments[t];for(var e=0,C=A;e<C.length;e++){var I=C[e];gl(this,Kh).delete(I)}}},{key:"clear",value:function(){gl(this,Kh).clear()}},{key:"getSelection",value:function(){return rC(gl(this,Kh))}},{key:"getChanges",value:function(){return{added:rC(Cl(gl(this,Hh),gl(this,Kh))),deleted:rC(Cl(gl(this,Kh),gl(this,Hh))),previous:rC(new bs(gl(this,Hh))),current:rC(new bs(gl(this,Kh)))}}},{key:"commit",value:function(){var g=this.getChanges();Al(this,Hh,gl(this,Kh)),Al(this,Kh,new bs(gl(this,Hh)));var A,t=tl(g.added);try{for(t.s();!(A=t.n()).done;){A.value.select()}}catch(g){t.e(g)}finally{t.f()}var e,C=tl(g.deleted);try{for(C.s();!(e=C.n()).done;){e.value.unselect()}}catch(g){C.e(g)}finally{C.f()}return g}}]),g}();Hh=new $h,Kh=new $h;var il=function(){function g(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};De(this,g),Xh.set(this,new Il),Jh.set(this,new Il),qh.set(this,void 0),Al(this,qh,A)}return Pe(g,[{key:"sizeNodes",get:function(){return gl(this,Xh).size}},{key:"sizeEdges",get:function(){return gl(this,Jh).size}},{key:"getNodes",value:function(){return gl(this,Xh).getSelection()}},{key:"getEdges",value:function(){return gl(this,Jh).getSelection()}},{key:"addNodes",value:function(){var g;(g=gl(this,Xh)).add.apply(g,arguments)}},{key:"addEdges",value:function(){var g;(g=gl(this,Jh)).add.apply(g,arguments)}},{key:"deleteNodes",value:function(g){gl(this,Xh).delete(g)}},{key:"deleteEdges",value:function(g){gl(this,Jh).delete(g)}},{key:"clear",value:function(){gl(this,Xh).clear(),gl(this,Jh).clear()}},{key:"commit",value:function(){for(var g,A,t={nodes:gl(this,Xh).commit(),edges:gl(this,Jh).commit()},e=arguments.length,C=new Array(e),I=0;I<e;I++)C[I]=arguments[I];return(g=gl(this,qh)).call.apply(g,hC(A=[this,t]).call(A,C)),t}}]),g}();function ol(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return nl(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return nl(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function nl(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}Xh=new $h,Jh=new $h,qh=new $h;var rl=function(){function g(A,t){var e=this;De(this,g),this.body=A,this.canvas=t,this._selectionAccumulator=new il,this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},sg(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",(function(){e.updateSelection()}))}return Pe(g,[{key:"setOptions",value:function(g){if(void 0!==g){Cn(["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"],this.options,g)}}},{key:"selectOnPoint",value:function(g){var A=!1;if(!0===this.options.selectable){var t=this.getNodeAt(g)||this.getEdgeAt(g);this.unselectAll(),void 0!==t&&(A=this.selectObject(t)),this.body.emitter.emit("_requestRedraw")}return A}},{key:"selectAdditionalOnPoint",value:function(g){var A=!1;if(!0===this.options.selectable){var t=this.getNodeAt(g)||this.getEdgeAt(g);void 0!==t&&(A=!0,!0===t.isSelected()?this.deselectObject(t):this.selectObject(t),this.body.emitter.emit("_requestRedraw"))}return A}},{key:"_initBaseEvent",value:function(g,A){var t={};return t.pointer={DOM:{x:A.x,y:A.y},canvas:this.canvas.DOMtoCanvas(A)},t.event=g,t}},{key:"generateClickEvent",value:function(g,A,t,e){var C=arguments.length>4&&void 0!==arguments[4]&&arguments[4],I=this._initBaseEvent(A,t);if(!0===C)I.nodes=[],I.edges=[];else{var i=this.getSelection();I.nodes=i.nodes,I.edges=i.edges}void 0!==e&&(I.previousSelection=e),"click"==g&&(I.items=this.getClickedItems(t)),void 0!==A.controlEdge&&(I.controlEdge=A.controlEdge),this.body.emitter.emit(g,I)}},{key:"selectObject",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.selectConnectedEdges;if(void 0!==g){if(g instanceof fd){var t;if(!0===A)(t=this._selectionAccumulator).addEdges.apply(t,rC(g.edges));this._selectionAccumulator.addNodes(g)}else this._selectionAccumulator.addEdges(g);return!0}return!1}},{key:"deselectObject",value:function(g){!0===g.isSelected()&&(g.selected=!1,this._removeFromSelection(g))}},{key:"_getAllNodesOverlappingWith",value:function(g){for(var A=[],t=this.body.nodes,e=0;e<this.body.nodeIndices.length;e++){var C=this.body.nodeIndices[e];t[C].isOverlappingWith(g)&&A.push(C)}return A}},{key:"_pointerToPositionObject",value:function(g){var A=this.canvas.DOMtoCanvas(g);return{left:A.x-1,top:A.y+1,right:A.x+1,bottom:A.y-1}}},{key:"getNodeAt",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this._pointerToPositionObject(g),e=this._getAllNodesOverlappingWith(t);return e.length>0?!0===A?this.body.nodes[e[e.length-1]]:e[e.length-1]:void 0}},{key:"_getEdgesOverlappingWith",value:function(g,A){for(var t=this.body.edges,e=0;e<this.body.edgeIndices.length;e++){var C=this.body.edgeIndices[e];t[C].isOverlappingWith(g)&&A.push(C)}}},{key:"_getAllEdgesOverlappingWith",value:function(g){var A=[];return this._getEdgesOverlappingWith(g,A),A}},{key:"getEdgeAt",value:function(g){for(var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=this.canvas.DOMtoCanvas(g),e=10,C=null,I=this.body.edges,i=0;i<this.body.edgeIndices.length;i++){var o=this.body.edgeIndices[i],n=I[o];if(n.connected){var r=n.from.x,s=n.from.y,a=n.to.x,d=n.to.y,h=n.edgeType.getDistanceToEdge(r,s,a,d,t.x,t.y);h<e&&(C=o,e=h)}}return null!==C?!0===A?this.body.edges[C]:C:void 0}},{key:"_addToHover",value:function(g){g instanceof fd?this.hoverObj.nodes[g.id]=g:this.hoverObj.edges[g.id]=g}},{key:"_removeFromSelection",value:function(g){var A;g instanceof fd?(this._selectionAccumulator.deleteNodes(g),(A=this._selectionAccumulator).deleteEdges.apply(A,rC(g.edges))):this._selectionAccumulator.deleteEdges(g)}},{key:"unselectAll",value:function(){this._selectionAccumulator.clear()}},{key:"getSelectedNodeCount",value:function(){return this._selectionAccumulator.sizeNodes}},{key:"getSelectedEdgeCount",value:function(){return this._selectionAccumulator.sizeEdges}},{key:"_hoverConnectedEdges",value:function(g){for(var A=0;A<g.edges.length;A++){var t=g.edges[A];t.hover=!0,this._addToHover(t)}}},{key:"emitBlurEvent",value:function(g,A,t){var e=this._initBaseEvent(g,A);!0===t.hover&&(t.hover=!1,t instanceof fd?(e.node=t.id,this.body.emitter.emit("blurNode",e)):(e.edge=t.id,this.body.emitter.emit("blurEdge",e)))}},{key:"emitHoverEvent",value:function(g,A,t){var e=this._initBaseEvent(g,A),C=!1;return!1===t.hover&&(t.hover=!0,this._addToHover(t),C=!0,t instanceof fd?(e.node=t.id,this.body.emitter.emit("hoverNode",e)):(e.edge=t.id,this.body.emitter.emit("hoverEdge",e))),C}},{key:"hoverObject",value:function(g,A){var t=this.getNodeAt(A);void 0===t&&(t=this.getEdgeAt(A));var e=!1;for(var C in this.hoverObj.nodes)Object.prototype.hasOwnProperty.call(this.hoverObj.nodes,C)&&(void 0===t||t instanceof fd&&t.id!=C||t instanceof oh)&&(this.emitBlurEvent(g,A,this.hoverObj.nodes[C]),delete this.hoverObj.nodes[C],e=!0);for(var I in this.hoverObj.edges)Object.prototype.hasOwnProperty.call(this.hoverObj.edges,I)&&(!0===e?(this.hoverObj.edges[I].hover=!1,delete this.hoverObj.edges[I]):(void 0===t||t instanceof oh&&t.id!=I||t instanceof fd&&!t.hover)&&(this.emitBlurEvent(g,A,this.hoverObj.edges[I]),delete this.hoverObj.edges[I],e=!0));if(void 0!==t){var i=wC(this.hoverObj.edges).length,o=wC(this.hoverObj.nodes).length;(e||t instanceof oh&&0===i&&0===o||t instanceof fd&&0===i&&0===o)&&(e=this.emitHoverEvent(g,A,t)),t instanceof fd&&!0===this.options.hoverConnectedEdges&&this._hoverConnectedEdges(t)}!0===e&&this.body.emitter.emit("_requestRedraw")}},{key:"commitWithoutEmitting",value:function(){this._selectionAccumulator.commit()}},{key:"commitAndEmit",value:function(g,A){var t=!1,e=this._selectionAccumulator.commit(),C={nodes:e.nodes.previous,edges:e.edges.previous};e.edges.deleted.length>0&&(this.generateClickEvent("deselectEdge",A,g,C),t=!0),e.nodes.deleted.length>0&&(this.generateClickEvent("deselectNode",A,g,C),t=!0),e.nodes.added.length>0&&(this.generateClickEvent("selectNode",A,g),t=!0),e.edges.added.length>0&&(this.generateClickEvent("selectEdge",A,g),t=!0),!0===t&&this.generateClickEvent("select",A,g)}},{key:"getSelection",value:function(){return{nodes:this.getSelectedNodeIds(),edges:this.getSelectedEdgeIds()}}},{key:"getSelectedNodes",value:function(){return this._selectionAccumulator.getNodes()}},{key:"getSelectedEdges",value:function(){return this._selectionAccumulator.getEdges()}},{key:"getSelectedNodeIds",value:function(){var g;return mC(g=this._selectionAccumulator.getNodes()).call(g,(function(g){return g.id}))}},{key:"getSelectedEdgeIds",value:function(){var g;return mC(g=this._selectionAccumulator.getEdges()).call(g,(function(g){return g.id}))}},{key:"setSelection",value:function(g){var A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!g||!g.nodes&&!g.edges)throw new TypeError("Selection must be an object with nodes and/or edges properties");if((A.unselectAll||void 0===A.unselectAll)&&this.unselectAll(),g.nodes){var t,e=ol(g.nodes);try{for(e.s();!(t=e.n()).done;){var C=t.value,I=this.body.nodes[C];if(!I)throw new RangeError('Node with id "'+C+'" not found');this.selectObject(I,A.highlightEdges)}}catch(g){e.e(g)}finally{e.f()}}if(g.edges){var i,o=ol(g.edges);try{for(o.s();!(i=o.n()).done;){var n=i.value,r=this.body.edges[n];if(!r)throw new RangeError('Edge with id "'+n+'" not found');this.selectObject(r)}}catch(g){o.e(g)}finally{o.f()}}this.body.emitter.emit("_requestRedraw"),this._selectionAccumulator.commit()}},{key:"selectNodes",value:function(g){var A=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!g||void 0===g.length)throw"Selection must be an array with ids";this.setSelection({nodes:g},{highlightEdges:A})}},{key:"selectEdges",value:function(g){if(!g||void 0===g.length)throw"Selection must be an array with ids";this.setSelection({edges:g})}},{key:"updateSelection",value:function(){for(var g in this._selectionAccumulator.getNodes())Object.prototype.hasOwnProperty.call(this.body.nodes,g.id)||this._selectionAccumulator.deleteNodes(g);for(var A in this._selectionAccumulator.getEdges())Object.prototype.hasOwnProperty.call(this.body.edges,A.id)||this._selectionAccumulator.deleteEdges(A)}},{key:"getClickedItems",value:function(g){for(var A=this.canvas.DOMtoCanvas(g),t=[],e=this.body.nodeIndices,C=this.body.nodes,I=e.length-1;I>=0;I--){var i=C[e[I]].getItemsOnPoint(A);t.push.apply(t,i)}for(var o=this.body.edgeIndices,n=this.body.edges,r=o.length-1;r>=0;r--){var s=n[o[r]].getItemsOnPoint(A);t.push.apply(t,s)}return t}}]),g}(),sl=t((function(g,A){!function(g){function A(g,A){if(!(g instanceof A))throw new TypeError("Cannot call a class as a function")}g.__esModule=!0,g.sort=c;var t=32,e=7,C=256,I=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9];function i(g){return g<1e5?g<100?g<10?0:1:g<1e4?g<1e3?2:3:4:g<1e7?g<1e6?5:6:g<1e9?g<1e8?7:8:9}function o(g,A){if(g===A)return 0;if(~~g===g&&~~A===A){if(0===g||0===A)return g<A?-1:1;if(g<0||A<0){if(A>=0)return-1;if(g>=0)return 1;g=-g,A=-A}var t=i(g),e=i(A),C=0;return t<e?(g*=I[e-t-1],A/=10,C=-1):t>e&&(A*=I[t-e-1],g/=10,C=1),g===A?C:g<A?-1:1}var o=String(g),n=String(A);return o===n?0:o<n?-1:1}function n(g){for(var A=0;g>=t;)A|=1&g,g>>=1;return g+A}function r(g,A,t,e){var C=A+1;if(C===t)return 1;if(e(g[C++],g[A])<0){for(;C<t&&e(g[C],g[C-1])<0;)C++;s(g,A,C)}else for(;C<t&&e(g[C],g[C-1])>=0;)C++;return C-A}function s(g,A,t){for(t--;A<t;){var e=g[A];g[A++]=g[t],g[t--]=e}}function a(g,A,t,e,C){for(e===A&&e++;e<t;e++){for(var I=g[e],i=A,o=e;i<o;){var n=i+o>>>1;C(I,g[n])<0?o=n:i=n+1}var r=e-i;switch(r){case 3:g[i+3]=g[i+2];case 2:g[i+2]=g[i+1];case 1:g[i+1]=g[i];break;default:for(;r>0;)g[i+r]=g[i+r-1],r--}g[i]=I}}function d(g,A,t,e,C,I){var i=0,o=0,n=1;if(I(g,A[t+C])>0){for(o=e-C;n<o&&I(g,A[t+C+n])>0;)i=n,(n=1+(n<<1))<=0&&(n=o);n>o&&(n=o),i+=C,n+=C}else{for(o=C+1;n<o&&I(g,A[t+C-n])<=0;)i=n,(n=1+(n<<1))<=0&&(n=o);n>o&&(n=o);var r=i;i=C-n,n=C-r}for(i++;i<n;){var s=i+(n-i>>>1);I(g,A[t+s])>0?i=s+1:n=s}return n}function h(g,A,t,e,C,I){var i=0,o=0,n=1;if(I(g,A[t+C])<0){for(o=C+1;n<o&&I(g,A[t+C-n])<0;)i=n,(n=1+(n<<1))<=0&&(n=o);n>o&&(n=o);var r=i;i=C-n,n=C-r}else{for(o=e-C;n<o&&I(g,A[t+C+n])>=0;)i=n,(n=1+(n<<1))<=0&&(n=o);n>o&&(n=o),i+=C,n+=C}for(i++;i<n;){var s=i+(n-i>>>1);I(g,A[t+s])<0?n=s:i=s+1}return n}var l=function(){function g(t,I){A(this,g),this.array=null,this.compare=null,this.minGallop=e,this.length=0,this.tmpStorageLength=C,this.stackLength=0,this.runStart=null,this.runLength=null,this.stackSize=0,this.array=t,this.compare=I,this.length=t.length,this.length<2*C&&(this.tmpStorageLength=this.length>>>1),this.tmp=new Array(this.tmpStorageLength),this.stackLength=this.length<120?5:this.length<1542?10:this.length<119151?19:40,this.runStart=new Array(this.stackLength),this.runLength=new Array(this.stackLength)}return g.prototype.pushRun=function(g,A){this.runStart[this.stackSize]=g,this.runLength[this.stackSize]=A,this.stackSize+=1},g.prototype.mergeRuns=function(){for(;this.stackSize>1;){var g=this.stackSize-2;if(g>=1&&this.runLength[g-1]<=this.runLength[g]+this.runLength[g+1]||g>=2&&this.runLength[g-2]<=this.runLength[g]+this.runLength[g-1])this.runLength[g-1]<this.runLength[g+1]&&g--;else if(this.runLength[g]>this.runLength[g+1])break;this.mergeAt(g)}},g.prototype.forceMergeRuns=function(){for(;this.stackSize>1;){var g=this.stackSize-2;g>0&&this.runLength[g-1]<this.runLength[g+1]&&g--,this.mergeAt(g)}},g.prototype.mergeAt=function(g){var A=this.compare,t=this.array,e=this.runStart[g],C=this.runLength[g],I=this.runStart[g+1],i=this.runLength[g+1];this.runLength[g]=C+i,g===this.stackSize-3&&(this.runStart[g+1]=this.runStart[g+2],this.runLength[g+1]=this.runLength[g+2]),this.stackSize--;var o=h(t[I],t,e,C,0,A);e+=o,0!=(C-=o)&&0!==(i=d(t[e+C-1],t,I,i,i-1,A))&&(C<=i?this.mergeLow(e,C,I,i):this.mergeHigh(e,C,I,i))},g.prototype.mergeLow=function(g,A,t,C){var I=this.compare,i=this.array,o=this.tmp,n=0;for(n=0;n<A;n++)o[n]=i[g+n];var r=0,s=t,a=g;if(i[a++]=i[s++],0!=--C)if(1!==A){for(var l=this.minGallop;;){var c=0,u=0,p=!1;do{if(I(i[s],o[r])<0){if(i[a++]=i[s++],u++,c=0,0==--C){p=!0;break}}else if(i[a++]=o[r++],c++,u=0,1==--A){p=!0;break}}while((c|u)<l);if(p)break;do{if(0!==(c=h(i[s],o,r,A,0,I))){for(n=0;n<c;n++)i[a+n]=o[r+n];if(a+=c,r+=c,(A-=c)<=1){p=!0;break}}if(i[a++]=i[s++],0==--C){p=!0;break}if(0!==(u=d(o[r],i,s,C,0,I))){for(n=0;n<u;n++)i[a+n]=i[s+n];if(a+=u,s+=u,0==(C-=u)){p=!0;break}}if(i[a++]=o[r++],1==--A){p=!0;break}l--}while(c>=e||u>=e);if(p)break;l<0&&(l=0),l+=2}if(this.minGallop=l,l<1&&(this.minGallop=1),1===A){for(n=0;n<C;n++)i[a+n]=i[s+n];i[a+C]=o[r]}else{if(0===A)throw new Error("mergeLow preconditions were not respected");for(n=0;n<A;n++)i[a+n]=o[r+n]}}else{for(n=0;n<C;n++)i[a+n]=i[s+n];i[a+C]=o[r]}else for(n=0;n<A;n++)i[a+n]=o[r+n]},g.prototype.mergeHigh=function(g,A,t,C){var I=this.compare,i=this.array,o=this.tmp,n=0;for(n=0;n<C;n++)o[n]=i[t+n];var r=g+A-1,s=C-1,a=t+C-1,l=0,c=0;if(i[a--]=i[r--],0!=--A)if(1!==C){for(var u=this.minGallop;;){var p=0,f=0,v=!1;do{if(I(o[s],i[r])<0){if(i[a--]=i[r--],p++,f=0,0==--A){v=!0;break}}else if(i[a--]=o[s--],f++,p=0,1==--C){v=!0;break}}while((p|f)<u);if(v)break;do{if(0!=(p=A-h(o[s],i,g,A,A-1,I))){for(A-=p,c=1+(a-=p),l=1+(r-=p),n=p-1;n>=0;n--)i[c+n]=i[l+n];if(0===A){v=!0;break}}if(i[a--]=o[s--],1==--C){v=!0;break}if(0!=(f=C-d(i[r],o,0,C,C-1,I))){for(C-=f,c=1+(a-=f),l=1+(s-=f),n=0;n<f;n++)i[c+n]=o[l+n];if(C<=1){v=!0;break}}if(i[a--]=i[r--],0==--A){v=!0;break}u--}while(p>=e||f>=e);if(v)break;u<0&&(u=0),u+=2}if(this.minGallop=u,u<1&&(this.minGallop=1),1===C){for(c=1+(a-=A),l=1+(r-=A),n=A-1;n>=0;n--)i[c+n]=i[l+n];i[a]=o[s]}else{if(0===C)throw new Error("mergeHigh preconditions were not respected");for(l=a-(C-1),n=0;n<C;n++)i[l+n]=o[n]}}else{for(c=1+(a-=A),l=1+(r-=A),n=A-1;n>=0;n--)i[c+n]=i[l+n];i[a]=o[s]}else for(l=a-(C-1),n=0;n<C;n++)i[l+n]=o[n]},g}();function c(g,A,e,C){if(!Array.isArray(g))throw new TypeError("Can only sort arrays");A?"function"!=typeof A&&(C=e,e=A,A=o):A=o,e||(e=0),C||(C=g.length);var I=C-e;if(!(I<2)){var i=0;if(I<t)a(g,e,C,e+(i=r(g,e,C,A)),A);else{var s=new l(g,A),d=n(I);do{if((i=r(g,e,C,A))<d){var h=I;h>d&&(h=d),a(g,e,e+h,e+i,A),i=h}s.pushRun(e,i),s.mergeRuns(),I-=i,e+=i}while(0!==I);s.forceMergeRuns()}}}}(A)}));function al(g){var A=function(){if("undefined"==typeof Reflect||!gs)return!1;if(gs.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(gs(Boolean,[],(function(){}))),!0}catch(g){return!1}}();return function(){var t,e=ns(g);if(A){var C=ns(this).constructor;t=gs(e,arguments,C)}else t=e.apply(this,arguments);return is(this,t)}}var dl=function(){function g(){De(this,g)}return Pe(g,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(g){return this.fake_use(g),this.abstract()}},{key:"setPosition",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;this.fake_use(g,A,t),this.abstract()}},{key:"getTreeSize",value:function(g){return this.fake_use(g),this.abstract()}},{key:"sort",value:function(g){this.fake_use(g),this.abstract()}},{key:"fix",value:function(g,A){this.fake_use(g,A),this.abstract()}},{key:"shift",value:function(g,A){this.fake_use(g,A),this.abstract()}}]),g}(),hl=function(g){Is(t,g);var A=al(t);function t(g){var e;return De(this,t),(e=A.call(this)).layout=g,e}return Pe(t,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(g){return g.x}},{key:"setPosition",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==t&&this.layout.hierarchical.addToOrdering(g,t),g.x=A}},{key:"getTreeSize",value:function(g){var A=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,g);return{min:A.min_x,max:A.max_x}}},{key:"sort",value:function(g){sl.sort(g,(function(g,A){return g.x-A.x}))}},{key:"fix",value:function(g,A){g.y=this.layout.options.hierarchical.levelSeparation*A,g.options.fixed.y=!0}},{key:"shift",value:function(g,A){this.layout.body.nodes[g].x+=A}}]),t}(dl),ll=function(g){Is(t,g);var A=al(t);function t(g){var e;return De(this,t),(e=A.call(this)).layout=g,e}return Pe(t,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(g){return g.y}},{key:"setPosition",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==t&&this.layout.hierarchical.addToOrdering(g,t),g.y=A}},{key:"getTreeSize",value:function(g){var A=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,g);return{min:A.min_y,max:A.max_y}}},{key:"sort",value:function(g){sl.sort(g,(function(g,A){return g.y-A.y}))}},{key:"fix",value:function(g,A){g.x=this.layout.options.hierarchical.levelSeparation*A,g.options.fixed.x=!0}},{key:"shift",value:function(g,A){this.layout.body.nodes[g].y+=A}}]),t}(dl),cl=Vt.every,ul=xC("every");Y({target:"Array",proto:!0,forced:!ul},{every:function(g){return cl(this,g,arguments.length>1?arguments[1]:void 0)}});var pl=cg("Array").every,fl=Array.prototype,vl=function(g){var A=g.every;return g===fl||g instanceof Array&&A===fl.every?pl:A};function yl(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return ml(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return ml(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function ml(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}function bl(g,A){var t=new bs;return RC(g).call(g,(function(g){var A;RC(A=g.edges).call(A,(function(g){g.connected&&t.add(g)}))})),RC(t).call(t,(function(g){var t=g.from.id,e=g.to.id;null==A[t]&&(A[t]=0),(null==A[e]||A[t]>=A[e])&&(A[e]=A[t]+1)})),A}function wl(g,A,t,e){var C,I,i=MI(null),o=cs(C=rC(Gs(e).call(e))).call(C,(function(g,A){return g+1+A.edges.length}),0),n=t+"Id",r="to"===t?1:-1,s=yl(e);try{var a=function(){var C=IC(I.value,2),s=C[0],a=C[1];if(!e.has(s)||!g(a))return"continue";i[s]=0;for(var d=[a],h=0,l=void 0,c=function(){var g,C;if(!e.has(s))return"continue";var I=i[l.id]+r;if(RC(g=oI(C=l.edges).call(C,(function(g){return g.connected&&g.to!==g.from&&g[t]!==l&&e.has(g.toId)&&e.has(g.fromId)}))).call(g,(function(g){var e=g[n],C=i[e];(null==C||A(I,C))&&(i[e]=I,d.push(g[t]))})),h>o)return{v:{v:bl(e,i)}};++h};l=d.pop();){var u=c();if("continue"!==u&&"object"===nC(u))return u.v}};for(s.s();!(I=s.n()).done;){var d=a();if("continue"!==d&&"object"===nC(d))return d.v}}catch(g){s.e(g)}finally{s.f()}return i}var kl=function(){function g(){De(this,g),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return Pe(g,[{key:"addRelation",value:function(g,A){void 0===this.childrenReference[g]&&(this.childrenReference[g]=[]),this.childrenReference[g].push(A),void 0===this.parentReference[A]&&(this.parentReference[A]=[]),this.parentReference[A].push(g)}},{key:"checkIfTree",value:function(){for(var g in this.parentReference)if(this.parentReference[g].length>1)return void(this.isTree=!1);this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(g,A){void 0!==A&&void 0===this.trees[g.id]&&(this.trees[g.id]=A,this.treeIndex=Math.max(A,this.treeIndex))}},{key:"ensureLevel",value:function(g){void 0===this.levels[g]&&(this.levels[g]=0)}},{key:"getMaxLevel",value:function(g){var A=this,t={};return function g(e){if(void 0!==t[e])return t[e];var C=A.levels[e];if(A.childrenReference[e]){var I=A.childrenReference[e];if(I.length>0)for(var i=0;i<I.length;i++)C=Math.max(C,g(I[i]))}return t[e]=C,C}(g)}},{key:"levelDownstream",value:function(g,A){void 0===this.levels[A.id]&&(void 0===this.levels[g.id]&&(this.levels[g.id]=0),this.levels[A.id]=this.levels[g.id]+1)}},{key:"setMinLevelToZero",value:function(g){var A=1e9;for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&void 0!==this.levels[t]&&(A=Math.min(this.levels[t],A));for(var e in g)Object.prototype.hasOwnProperty.call(g,e)&&void 0!==this.levels[e]&&(this.levels[e]-=A)}},{key:"getTreeSize",value:function(g,A){var t=1e9,e=-1e9,C=1e9,I=-1e9;for(var i in this.trees)if(Object.prototype.hasOwnProperty.call(this.trees,i)&&this.trees[i]===A){var o=g[i];t=Math.min(o.x,t),e=Math.max(o.x,e),C=Math.min(o.y,C),I=Math.max(o.y,I)}return{min_x:t,max_x:e,min_y:C,max_y:I}}},{key:"hasSameParent",value:function(g,A){var t=this.parentReference[g.id],e=this.parentReference[A.id];if(void 0===t||void 0===e)return!1;for(var C=0;C<t.length;C++)for(var I=0;I<e.length;I++)if(t[C]==e[I])return!0;return!1}},{key:"inSameSubNetwork",value:function(g,A){return this.trees[g.id]===this.trees[A.id]}},{key:"getLevels",value:function(){return wC(this.distributionOrdering)}},{key:"addToOrdering",value:function(g,A){void 0===this.distributionOrdering[A]&&(this.distributionOrdering[A]=[]);var t=!1,e=this.distributionOrdering[A];for(var C in e)if(e[C]===g){t=!0;break}t||(this.distributionOrdering[A].push(g),this.distributionIndex[g.id]=this.distributionOrdering[A].length-1)}}]),g}(),xl=function(){function g(A){De(this,g),this.body=A,this._resetRNG(Math.random()+":"+kC()),this.setPhysics=!1,this.options={},this.optionsBackup={physics:{}},this.defaultOptions={randomSeed:void 0,improvedLayout:!0,clusterThreshold:150,hierarchical:{enabled:!1,levelSeparation:150,nodeSpacing:100,treeSpacing:200,blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:"UD",sortMethod:"hubsize"}},sg(this.options,this.defaultOptions),this.bindEventListeners()}return Pe(g,[{key:"bindEventListeners",value:function(){var g=this;this.body.emitter.on("_dataChanged",(function(){g.setupHierarchicalLayout()})),this.body.emitter.on("_dataLoaded",(function(){g.layoutNetwork()})),this.body.emitter.on("_resetHierarchicalLayout",(function(){g.setupHierarchicalLayout()})),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",(function(){if(!0===g.options.hierarchical.enabled){var A=g.direction.curveType();g.body.emitter.emit("_forceDisableDynamicCurves",A,!1)}}))}},{key:"setOptions",value:function(g,A){if(void 0!==g){var t=this.options.hierarchical,e=t.enabled;if(Cn(["randomSeed","improvedLayout","clusterThreshold"],this.options,g),wn(this.options,g,"hierarchical"),void 0!==g.randomSeed&&this._resetRNG(g.randomSeed),!0===t.enabled)return!0===e&&this.body.emitter.emit("refresh",!0),"RL"===t.direction||"DU"===t.direction?t.levelSeparation>0&&(t.levelSeparation*=-1):t.levelSeparation<0&&(t.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(A);if(!0===e)return this.body.emitter.emit("refresh"),on(A,this.optionsBackup)}return A}},{key:"_resetRNG",value:function(g){this.initialRandomSeed=g,this._rng=Wo(this.initialRandomSeed)}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(g){if(!0===this.options.hierarchical.enabled){var A=this.optionsBackup.physics;void 0===g.physics||!0===g.physics?(g.physics={enabled:void 0===A.enabled||A.enabled,solver:"hierarchicalRepulsion"},A.enabled=void 0===A.enabled||A.enabled,A.solver=A.solver||"barnesHut"):"object"===nC(g.physics)?(A.enabled=void 0===g.physics.enabled||g.physics.enabled,A.solver=g.physics.solver||"barnesHut",g.physics.solver="hierarchicalRepulsion"):!1!==g.physics&&(A.solver="barnesHut",g.physics={solver:"hierarchicalRepulsion"});var t=this.direction.curveType();if(void 0===g.edges)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},g.edges={smooth:!1};else if(void 0===g.edges.smooth)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},g.edges.smooth=!1;else if("boolean"==typeof g.edges.smooth)this.optionsBackup.edges={smooth:g.edges.smooth},g.edges.smooth={enabled:g.edges.smooth,type:t};else{var e=g.edges.smooth;void 0!==e.type&&"dynamic"!==e.type&&(t=e.type),this.optionsBackup.edges={smooth:{enabled:void 0===e.enabled||e.enabled,type:void 0===e.type?"dynamic":e.type,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}},g.edges.smooth={enabled:void 0===e.enabled||e.enabled,type:t,roundness:void 0===e.roundness?.5:e.roundness,forceDirection:void 0!==e.forceDirection&&e.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",t)}return g}},{key:"positionInitially",value:function(g){if(!0!==this.options.hierarchical.enabled){this._resetRNG(this.initialRandomSeed);for(var A=g.length+50,t=0;t<g.length;t++){var e=g[t],C=2*Math.PI*this._rng();void 0===e.x&&(e.x=A*Math.cos(C)),void 0===e.y&&(e.y=A*Math.sin(C))}}}},{key:"layoutNetwork",value:function(){if(!0!==this.options.hierarchical.enabled&&!0===this.options.improvedLayout){for(var g=this.body.nodeIndices,A=0,t=0;t<g.length;t++){!0===this.body.nodes[g[t]].predefinedPosition&&(A+=1)}if(A<.5*g.length){var e=0,C=this.options.clusterThreshold,I={clusterNodeProperties:{shape:"ellipse",label:"",group:"",font:{multi:!1}},clusterEdgeProperties:{label:"",font:{multi:!1},smooth:{enabled:!1}}};if(g.length>C){for(var i=g.length;g.length>C&&e<=10;){e+=1;var o=g.length;if(e%3==0?this.body.modules.clustering.clusterBridges(I):this.body.modules.clustering.clusterOutliers(I),o==g.length&&e%3!=0)return this._declusterAll(),this.body.emitter.emit("_layoutFailed"),void console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.")}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*i)})}e>10&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(g,this.body.edgeIndices,!0),this._shiftToCenter();for(var n=0;n<g.length;n++){var r=this.body.nodes[g[n]];!1===r.predefinedPosition&&(r.x+=70*(.5-this._rng()),r.y+=70*(.5-this._rng()))}this._declusterAll(),this.body.emitter.emit("_repositionBezierNodes")}}}},{key:"_shiftToCenter",value:function(){for(var g=yh.getRangeCore(this.body.nodes,this.body.nodeIndices),A=yh.findCenter(g),t=0;t<this.body.nodeIndices.length;t++){var e=this.body.nodes[this.body.nodeIndices[t]];e.x-=A.x,e.y-=A.y}}},{key:"_declusterAll",value:function(){for(var g=!0;!0===g;){g=!1;for(var A=0;A<this.body.nodeIndices.length;A++)!0===this.body.nodes[this.body.nodeIndices[A]].isCluster&&(g=!0,this.body.modules.clustering.openCluster(this.body.nodeIndices[A],{},!1));!0===g&&this.body.emitter.emit("_dataChanged")}}},{key:"getSeed",value:function(){return this.initialRandomSeed}},{key:"setupHierarchicalLayout",value:function(){if(!0===this.options.hierarchical.enabled&&this.body.nodeIndices.length>0){var g,A,t=!1,e=!1;for(A in this.lastNodeOnLevel={},this.hierarchical=new kl,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,A)&&(void 0!==(g=this.body.nodes[A]).options.level?(t=!0,this.hierarchical.levels[A]=g.options.level):e=!0);if(!0===e&&!0===t)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");if(!0===e){var C=this.options.hierarchical.sortMethod;"hubsize"===C?this._determineLevelsByHubsize():"directed"===C?this._determineLevelsDirected():"custom"===C&&this._determineLevelsCustomCallback()}for(var I in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,I)&&this.hierarchical.ensureLevel(I);var i=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(i),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var g=this,A=!1,t={},e=function(A,t){var e=g.hierarchical.trees;for(var C in e)Object.prototype.hasOwnProperty.call(e,C)&&e[C]===A&&g.direction.shift(C,t)},C=function(){for(var A=[],t=0;t<g.hierarchical.numTrees();t++)A.push(g.direction.getTreeSize(t));return A},I=function A(t,e){if(!e[t.id]&&(e[t.id]=!0,g.hierarchical.childrenReference[t.id])){var C=g.hierarchical.childrenReference[t.id];if(C.length>0)for(var I=0;I<C.length;I++)A(g.body.nodes[C[I]],e)}},i=function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e9,e=1e9,C=1e9,I=1e9,i=-1e9;for(var o in A)if(Object.prototype.hasOwnProperty.call(A,o)){var n=g.body.nodes[o],r=g.hierarchical.levels[n.id],s=g.direction.getPosition(n),a=g._getSpaceAroundNode(n,A),d=IC(a,2),h=d[0],l=d[1];e=Math.min(h,e),C=Math.min(l,C),r<=t&&(I=Math.min(s,I),i=Math.max(s,i))}return[I,i,e,C]},o=function(A,t){var e=g.hierarchical.getMaxLevel(A.id),C=g.hierarchical.getMaxLevel(t.id);return Math.min(e,C)},n=function(A,t,e){for(var C=g.hierarchical,I=0;I<t.length;I++){var i=t[I],o=C.distributionOrdering[i];if(o.length>1)for(var n=0;n<o.length-1;n++){var r=o[n],s=o[n+1];C.hasSameParent(r,s)&&C.inSameSubNetwork(r,s)&&A(r,s,e)}}},r=function(t,e){var C=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=g.direction.getPosition(t),r=g.direction.getPosition(e),s=Math.abs(r-n),a=g.options.hierarchical.nodeSpacing;if(s>a){var d={},h={};I(t,d),I(e,h);var l=o(t,e),c=i(d,l),u=i(h,l),p=c[1],f=u[0],v=u[2],y=Math.abs(p-f);if(y>a){var m=p-f+a;m<-v+a&&(m=-v+a),m<0&&(g._shiftBlock(e.id,m),A=!0,!0===C&&g._centerParent(e))}}},s=function(e,C){for(var o=C.id,n=C.edges,r=g.hierarchical.levels[C.id],s=g.options.hierarchical.levelSeparation*g.options.hierarchical.levelSeparation,a={},d=[],h=0;h<n.length;h++){var l=n[h];if(l.toId!=l.fromId){var c=l.toId==o?l.from:l.to;a[n[h].id]=c,g.hierarchical.levels[c.id]<r&&d.push(l)}}var u=function(A,t){for(var e=0,C=0;C<t.length;C++)if(void 0!==a[t[C].id]){var I=g.direction.getPosition(a[t[C].id])-A;e+=I/Math.sqrt(I*I+s)}return e},p=function(A,t){for(var e=0,C=0;C<t.length;C++)if(void 0!==a[t[C].id]){var I=g.direction.getPosition(a[t[C].id])-A;e-=s*Math.pow(I*I+s,-1.5)}return e},f=function(A,t){for(var e=g.direction.getPosition(C),I={},i=0;i<A;i++){var o=u(e,t),n=p(e,t);if(void 0!==I[e-=Math.max(-40,Math.min(40,Math.round(o/n)))])break;I[e]=i}return e},v=f(e,d);!function(e){var o=g.direction.getPosition(C);if(void 0===t[C.id]){var n={};I(C,n),t[C.id]=n}var r=i(t[C.id]),s=r[2],a=r[3],d=e-o,h=0;d>0?h=Math.min(d,a-g.options.hierarchical.nodeSpacing):d<0&&(h=-Math.min(-d,s-g.options.hierarchical.nodeSpacing)),0!=h&&(g._shiftBlock(C.id,h),A=!0)}(v),function(t){var e=g.direction.getPosition(C),I=IC(g._getSpaceAroundNode(C),2),i=I[0],o=I[1],n=t-e,r=e;n>0?r=Math.min(e+(o-g.options.hierarchical.nodeSpacing),t):n<0&&(r=Math.max(e-(i-g.options.hierarchical.nodeSpacing),t)),r!==e&&(g.direction.setPosition(C,r),A=!0)}(v=f(e,n))};!0===this.options.hierarchical.blockShifting&&(function(t){var e=g.hierarchical.getLevels();e=ZC(e).call(e);for(var C=0;C<t&&(A=!1,n(r,e,!0),!0===A);C++);}(5),function(){for(var A in g.body.nodes)Object.prototype.hasOwnProperty.call(g.body.nodes,A)&&g._centerParent(g.body.nodes[A])}()),!0===this.options.hierarchical.edgeMinimization&&function(t){var e=g.hierarchical.getLevels();e=ZC(e).call(e);for(var C=0;C<t;C++){A=!1;for(var I=0;I<e.length;I++)for(var i=e[I],o=g.hierarchical.distributionOrdering[i],n=0;n<o.length;n++)s(1e3,o[n]);if(!0!==A)break}}(20),!0===this.options.hierarchical.parentCentralization&&function(){var A=g.hierarchical.getLevels();A=ZC(A).call(A);for(var t=0;t<A.length;t++)for(var e=A[t],C=g.hierarchical.distributionOrdering[e],I=0;I<C.length;I++)g._centerParent(C[I])}(),function(){for(var A=C(),t=0,I=0;I<A.length-1;I++){t+=A[I].max-A[I+1].min+g.options.hierarchical.treeSpacing,e(I+1,t)}}()}},{key:"_getSpaceAroundNode",value:function(g,A){var t=!0;void 0===A&&(t=!1);var e=this.hierarchical.levels[g.id];if(void 0!==e){var C=this.hierarchical.distributionIndex[g.id],I=this.direction.getPosition(g),i=this.hierarchical.distributionOrdering[e],o=1e9,n=1e9;if(0!==C){var r=i[C-1];if(!0===t&&void 0===A[r.id]||!1===t)o=I-this.direction.getPosition(r)}if(C!=i.length-1){var s=i[C+1];if(!0===t&&void 0===A[s.id]||!1===t){var a=this.direction.getPosition(s);n=Math.min(n,a-I)}}return[o,n]}return[0,0]}},{key:"_centerParent",value:function(g){if(this.hierarchical.parentReference[g.id])for(var A=this.hierarchical.parentReference[g.id],t=0;t<A.length;t++){var e=A[t],C=this.body.nodes[e],I=this.hierarchical.childrenReference[e];if(void 0!==I){var i=this._getCenterPosition(I),o=this.direction.getPosition(C),n=IC(this._getSpaceAroundNode(C),2),r=n[0],s=n[1],a=o-i;(a<0&&Math.abs(a)<s-this.options.hierarchical.nodeSpacing||a>0&&Math.abs(a)<r-this.options.hierarchical.nodeSpacing)&&this.direction.setPosition(C,i)}}}},{key:"_placeNodesByHierarchy",value:function(g){for(var A in this.positionedNodes={},g)if(Object.prototype.hasOwnProperty.call(g,A)){var t,e=wC(g[A]);e=this._indexArrayToNodes(e),Rs(t=this.direction).call(t,e);for(var C=0,I=0;I<e.length;I++){var i=e[I];if(void 0===this.positionedNodes[i.id]){var o=this.options.hierarchical.nodeSpacing,n=o*C;C>0&&(n=this.direction.getPosition(e[I-1])+o),this.direction.setPosition(i,n,A),this._validatePositionAndContinue(i,A,n),C++}}}}},{key:"_placeBranchNodes",value:function(g,A){var t,e=this.hierarchical.childrenReference[g];if(void 0!==e){for(var C=[],I=0;I<e.length;I++)C.push(this.body.nodes[e[I]]);Rs(t=this.direction).call(t,C);for(var i=0;i<C.length;i++){var o=C[i],n=this.hierarchical.levels[o.id];if(!(n>A&&void 0===this.positionedNodes[o.id]))return;var r=this.options.hierarchical.nodeSpacing,s=void 0;s=0===i?this.direction.getPosition(this.body.nodes[g]):this.direction.getPosition(C[i-1])+r,this.direction.setPosition(o,s,n),this._validatePositionAndContinue(o,n,s)}var a=this._getCenterPosition(C);this.direction.setPosition(this.body.nodes[g],a,A)}}},{key:"_validatePositionAndContinue",value:function(g,A,t){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[A]){var e=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[A]]);if(t-e<this.options.hierarchical.nodeSpacing){var C=e+this.options.hierarchical.nodeSpacing-t,I=this._findCommonParent(this.lastNodeOnLevel[A],g.id);this._shiftBlock(I.withChild,C)}}this.lastNodeOnLevel[A]=g.id,this.positionedNodes[g.id]=!0,this._placeBranchNodes(g.id,A)}}},{key:"_indexArrayToNodes",value:function(g){for(var A=[],t=0;t<g.length;t++)A.push(this.body.nodes[g[t]]);return A}},{key:"_getDistribution",value:function(){var g,A,t={};for(g in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,g)){A=this.body.nodes[g];var e=void 0===this.hierarchical.levels[g]?0:this.hierarchical.levels[g];this.direction.fix(A,e),void 0===t[e]&&(t[e]={}),t[e][g]=A}return t}},{key:"_getActiveEdges",value:function(g){var A=this,t=[];return an(g.edges,(function(g){var e;-1!==DI(e=A.body.edgeIndices).call(e,g.id)&&t.push(g)})),t}},{key:"_getHubSizes",value:function(){var g=this,A={};an(this.body.nodeIndices,(function(t){var e=g.body.nodes[t],C=g._getActiveEdges(e).length;A[C]=!0}));var t=[];return an(A,(function(g){t.push(Number(g))})),Rs(sl).call(sl,t,(function(g,A){return A-g})),t}},{key:"_determineLevelsByHubsize",value:function(){for(var g=this,A=function(A,t){g.hierarchical.levelDownstream(A,t)},t=this._getHubSizes(),e=function(e){var C=t[e];if(0===C)return"break";an(g.body.nodeIndices,(function(t){var e=g.body.nodes[t];C===g._getActiveEdges(e).length&&g._crawlNetwork(A,t)}))},C=0;C<t.length;++C){if("break"===e(C))break}}},{key:"_determineLevelsCustomCallback",value:function(){var g=this;this._crawlNetwork((function(A,t,e){var C=g.hierarchical.levels[A.id];void 0===C&&(C=g.hierarchical.levels[A.id]=1e5);var I=(yh.cloneOptions(A,"node"),yh.cloneOptions(t,"node"),void yh.cloneOptions(e,"edge"));g.hierarchical.levels[t.id]=C+I})),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_determineLevelsDirected",value:function(){var g,A=this,t=cs(g=this.body.nodeIndices).call(g,(function(g,t){return g.set(t,A.body.nodes[t]),g}),new Gr);"roots"===this.options.hierarchical.shakeTowards?this.hierarchical.levels=function(g){return wl((function(A){var t,e;return vl(t=oI(e=A.edges).call(e,(function(A){return g.has(A.toId)}))).call(t,(function(g){return g.from===A}))}),(function(g,A){return A<g}),"to",g)}(t):this.hierarchical.levels=function(g){return wl((function(A){var t,e;return vl(t=oI(e=A.edges).call(e,(function(A){return g.has(A.toId)}))).call(t,(function(g){return g.to===A}))}),(function(g,A){return A>g}),"from",g)}(t),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_generateMap",value:function(){var g=this;this._crawlNetwork((function(A,t){g.hierarchical.levels[t.id]>g.hierarchical.levels[A.id]&&g.hierarchical.addRelation(A.id,t.id)})),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var g=this,A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},t=arguments.length>1?arguments[1]:void 0,e={},C=function t(C,I){if(void 0===e[C.id]){var i;g.hierarchical.setTreeIndex(C,I),e[C.id]=!0;for(var o=g._getActiveEdges(C),n=0;n<o.length;n++){var r=o[n];!0===r.connected&&(i=r.toId==C.id?r.from:r.to,C.id!=i.id&&(A(C,i,r),t(i,I)))}}};if(void 0===t)for(var I=0,i=0;i<this.body.nodeIndices.length;i++){var o=this.body.nodeIndices[i];if(void 0===e[o]){var n=this.body.nodes[o];C(n,I),I+=1}}else{var r=this.body.nodes[t];if(void 0===r)return void console.error("Node not found:",t);C(r)}}},{key:"_shiftBlock",value:function(g,A){var t=this,e={};!function g(C){if(!e[C]){e[C]=!0,t.direction.shift(C,A);var I=t.hierarchical.childrenReference[C];if(void 0!==I)for(var i=0;i<I.length;i++)g(I[i])}}(g)}},{key:"_findCommonParent",value:function(g,A){var t=this,e={};return function g(A,e){var C=t.hierarchical.parentReference[e];if(void 0!==C)for(var I=0;I<C.length;I++){var i=C[I];A[i]=!0,g(A,i)}}(e,g),function g(A,e){var C=t.hierarchical.parentReference[e];if(void 0!==C)for(var I=0;I<C.length;I++){var i=C[I];if(void 0!==A[i])return{foundParent:i,withChild:e};var o=g(A,i);if(null!==o.foundParent)return o}return{foundParent:null,withChild:e}}(e,A)}},{key:"setDirectionStrategy",value:function(){var g="UD"===this.options.hierarchical.direction||"DU"===this.options.hierarchical.direction;this.direction=g?new hl(this):new ll(this)}},{key:"_getCenterPosition",value:function(g){for(var A=1e9,t=-1e9,e=0;e<g.length;e++){var C=void 0;if(void 0!==g[e].id)C=g[e];else{var I=g[e];C=this.body.nodes[I]}var i=this.direction.getPosition(C);A=Math.min(A,i),t=Math.max(t,i)}return.5*(A+t)}}]),g}();function El(g,A){var t;if(void 0===sC||null==Et(g)){if(uC(g)||(t=function(g,A){var t;if(!g)return;if("string"==typeof g)return Ol(g,A);var e=lC(t=Object.prototype.toString.call(g)).call(t,8,-1);"Object"===e&&g.constructor&&(e=g.constructor.name);if("Map"===e||"Set"===e)return ft(g);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Ol(g,A)}(g))||A&&g&&"number"==typeof g.length){t&&(g=t);var e=0,C=function(){};return{s:C,n:function(){return e>=g.length?{done:!0}:{done:!1,value:g[e++]}},e:function(g){throw g},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var I,i=!0,o=!1;return{s:function(){t=Ot(g)},n:function(){var g=t.next();return i=g.done,g},e:function(g){o=!0,I=g},f:function(){try{i||null==t.return||t.return()}finally{if(o)throw I}}}}function Ol(g,A){(null==A||A>g.length)&&(A=g.length);for(var t=0,e=new Array(A);t<A;t++)e[t]=g[t];return e}xg('div.vis-network div.vis-manipulation{box-sizing:content-box;border:0 solid #d6d9d8;border-bottom:1px;background:#fff;background:-moz-linear-gradient(top,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(48%,#fcfcfc),color-stop(50%,#fafafa),color-stop(100%,#fcfcfc));background:-webkit-linear-gradient(top,#fff,#fcfcfc 48%,#fafafa 50%,#fcfcfc);background:-o-linear-gradient(top,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%);background:-ms-linear-gradient(top,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc 100%);background:linear-gradient(180deg,#fff 0,#fcfcfc 48%,#fafafa 50%,#fcfcfc);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#fcfcfc",GradientType=0);padding-top:4px;position:absolute;left:0;top:0;width:100%;height:28px}div.vis-network button.vis-edit-mode,div.vis-network div.vis-edit-mode{position:absolute;left:0;top:5px;height:30px}div.vis-network button.vis-close{position:absolute;right:0;top:0;width:30px;height:30px;background-color:transparent;background-position:20px 3px;background-repeat:no-repeat;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAADvGaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTQtMDItMTRUMTE6NTU6MzUrMDE6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE0LTAyLTE0VDEyOjA1OjE3KzAxOjAwPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxNC0wMi0xNFQxMjowNToxNyswMTowMDwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnhtcC5paWQ6NjU0YmM5YmQtMWI2Yi1jYjRhLTllOWQtNWY2MzgxNDVjZjk0PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuZGlkOjk4MmM2MGIwLWUzZjMtMDk0MC04MjU0LTFiZTliNWE0ZTE4MzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjk4MmM2MGIwLWUzZjMtMDk0MC04MjU0LTFiZTliNWE0ZTE4MzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNyZWF0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo5ODJjNjBiMC1lM2YzLTA5NDAtODI1NC0xYmU5YjVhNGUxODM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMTRUMTE6NTU6MzUrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjIxODYxNmM2LTM1MWMtNDI0OS04YWFkLWJkZDQ2ZTczNWE0NDwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0xNFQxMTo1NTozNSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6NjU0YmM5YmQtMWI2Yi1jYjRhLTllOWQtNWY2MzgxNDVjZjk0PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAyLTE0VDEyOjA1OjE3KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDAwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjc8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+NzwvZXhpZjpQaXhlbFlEaW1lbnNpb24+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+cZUZMwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAA2ElEQVR42gDLADT/AS0tLUQFBQUVFxcXtPHx8fPl5eUNCAgITCkpKesEHx8fGgYGBjH+/v4a+Pj4qgQEBFU6OjodMTExzwQUFBSvEBAQEfX19SD19fVqNDQ0CElJSd/9/f2vAwEBAfrn5+fkBwcHLRYWFgsXFxfz29vbo9LS0uwDDQ0NDfPz81orKysXIyMj+ODg4Avh4eEa/f391gMkJCRYPz8/KUhISOMCAgKh8fHxHRsbGx4UFBQQBDk5OeY7Ozv7CAgItPb29vMEBASaJSUlTQ0NDesDAEwpT0Ko8Ri2AAAAAElFTkSuQmCC");border:none;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network button.vis-close:hover{opacity:.6}div.vis-network div.vis-edit-mode button.vis-button,div.vis-network div.vis-manipulation button.vis-button{float:left;font-family:verdana;font-size:12px;border:none;box-sizing:content-box;-moz-border-radius:15px;border-radius:15px;background-color:transparent;background-position:0 0;background-repeat:no-repeat;height:24px;margin-left:10px;cursor:pointer;padding:0 8px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.vis-network div.vis-manipulation button.vis-button:hover{box-shadow:1px 1px 8px rgba(0,0,0,.2)}div.vis-network div.vis-manipulation button.vis-button:active{box-shadow:1px 1px 8px rgba(0,0,0,.5)}div.vis-network div.vis-manipulation button.vis-button.vis-back{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNTowMTowOSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTU6MDE6MDkrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOmI2YjQwMjVkLTAxNjQtMzU0OC1hOTdlLTQ4ZmYxMWM3NTYzMzwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDpmOWQ3OGY4ZC1lNzY0LTc1NDgtODZiNy1iNmQ1OGMzZDg2OTc8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTU6MDE6MDkrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOmI2YjQwMjVkLTAxNjQtMzU0OC1hOTdlLTQ4ZmYxMWM3NTYzMzwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNTowMTowOSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmY5ZDc4ZjhkLWU3NjQtNzU0OC04NmI3LWI2ZDU4YzNkODY5Nzwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4jq1U/AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAVTSURBVHjanFVfTFNnFP+d77ve8qeVFbBrpcVgRrCRFikFByLxwSAaE32oRCHD6JMxxhhn8G2RxxH3MsOTbyYsmCAxPMmMMYtkIUYmK60OO0qAK23BFlNob0uh3x7WS5jLZPpLbm6+k/P9zrm5v9855PF4UFhYCABgjIExBgAgIqRSqRIi6gDQRkQ1RGTB3wgR0e8AHgH4Sa/XR/EBiAiJRAJ04cIF5Ofng4g2n0gkUkxENwF0c843LzHGQEQQQkCLExEA9ALotVgsUQAQQmgNQhJCbF5kjCEUCl0moj4t5na7fTU1NUpVVVXUYrEkASAcDhe8efOmxOfzWScmJqoBdBNR99LS0hWz2dynNSSEAF28eBGFhYVgjCEcDn9HRD1EhIMHD3o9Hs9kWVlZAh9BKBQqGB4edr58+dKZ+6JbJpOpBwBWV1fB6+rqIMsyIpHIFcZYL2MMra2tY5cuXRrfuXNnBtvAYDBk3G63oqpqZm5uzgrgSDKZjBoMhueZTAbc5XIhFouVEtFTxhiOHTs2dv78eS8+Efv374+oqpqZnZ21cs5PJJPJPlmWkyynnBuMMTQ0NHi7uro+mVyDx+Pxulwu71ZOlkqlSonoJhGhvb39s8k1nDx50ss5hyRJN9PpdKlERB2aWjSVaEilUvzBgwcORVEs5eXloXPnzk1sV8BkMiUdDofP7/dXZ7PZDilnIhw4cGBeS1pbW2P37t1zBwKBikQiUUREWFhYsHHO0d7evm0Ru90+/+rVq2rO+XGJiJxEhMrKyhgAjI6OWoeHh5tWVla+4JzDZrO9bW5unhwcHGzz+/32np4e+xaDbfoHAMxmc6ijo2O0oqIiJkkSNjY2HBIRmRljMJvNyWfPnln7+/tPMMZQXl6+0NbW9qK2tjYcj8floaEhqKpq+HCkbD3PzMwYBgYG0NXV9UuusFna2kEgELAQEQ4dOvSis7PzN41Ar9dnrl27NqCNkv/C3bt3zy4tLVmICJxzEBFJRBQmorLFxcWCqqqq0Pj4eO3Y2JhbUZTdra2tL2pra8OJRGLHnTt3zkqS9K+huHU4EhHMZnMoGo0W5OIh7nK5jjLGKq1W69vDhw8rRqMxMjc3t2t5eXnX5ORklc/nM+fl5SWnpqa+0uv1K/n5+Ws6nW5NluXNd15e3ppOp1uz2WyzZ86cGQ0Gg6ZAIFCZzWZ/lYjokRDiuN/vt7W0tMw3NTUpbrd78P79++5gMFgRiUTKHj58WMYYQ3V19etTp05tq6Lp6Wkb5xxCiEfc7XZPM8a6FxcXTfX19a/1en2Gcy5qamreNjY2/qGq6joRZe12+9Tp06e3JY/FYgWPHz8+mhvr3/CWlpbk+vp6PmOseWVlBS6XS9GSJUkSdrs93NDQ8Oe+ffvC/8fJIyMjddFo9Esi6pVleVjT2m0A8Hq9zqGhIefnjoknT544A4GAM/eDbxMReFNTE0pKSpKqqsaI6Pj8/LxVVdWM3W6PfCr5xMTE1zllXS0uLn6aSqXAGxsbodPpoNfrn6uqCs75EUVRrJFIZMfevXsXdTrdxseIE4mEPDIyUu/3++tynd8yGo29RIR0Og26fv06ioqKwBgD5xzv3r27zBjrIyJIkgSHwzFZWVmp7NmzJ1ZaWpoAgGg0WqgoSvHMzIw1GAw6tvjhitFo7NPW5fv370Hd3d0oKCgA53zTQMvLy+VCiKuSJH0rSdLmztZytIWv5RPRD0T0Y3Fx8dzWfby6ugopHo//w4mcc8iyPMc5v5FOp7/PZrOdQohWInIC2C2EgBBigYi8Qoifs9lsv06nWyIiaFxagXg8jr8GAGxuIe7LBeWhAAAAAElFTkSuQmCC")}div.vis-network div.vis-manipulation div.vis-none:hover{box-shadow:1px 1px 8px transparent;cursor:default}div.vis-network div.vis-manipulation div.vis-none:active{box-shadow:1px 1px 8px transparent}div.vis-network div.vis-manipulation div.vis-none{padding:0;line-height:23px}div.vis-network div.vis-manipulation div.notification{margin:2px;font-weight:700}div.vis-network div.vis-manipulation button.vis-button.vis-add{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDo0MDoyOSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6NDA6MjkrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjVkNWIwNmQwLTVmMjAtOGE0NC1hMzIwLWZmMTEzMzQwNDc0YjwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo2OWVmYWE1NS01ZTI5LTIzNGUtYTUzMy0xNDkxYjM1NDNmYmE8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6NDA6MjkrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjVkNWIwNmQwLTVmMjAtOGE0NC1hMzIwLWZmMTEzMzQwNDc0Yjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDo0MDoyOSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjY5ZWZhYTU1LTVlMjktMjM0ZS1hNTMzLTE0OTFiMzU0M2ZiYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5WKqp9AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYXSURBVHjafFZtUFTXGX7e9z27sveuMCwYV8ElrA7YSFYHtJUPkaaI0aRqG8wP00zUzljDINNSA/2ROtpO24SxnahlxjYd7SSjmUkymcxYlDhQPzHGisEVp8HwYWCVVVgEsrsuLnL74+5uqTF9Z+7cO/d8PO95zvO851BlZSV0XQcAMDOYGQBARDhX3JRmMDYZwLPMWAzGHACYIgwS46oBNBNwtOL8CwE8EkSEUCgE2rJlC2w2G4go8Zwo/bMDgnoG6gxLfAAAYvPDMCCszKTAMIAGAhrWnf15AAAMwwARIRKJgDZv3gy73Q4iAjPjxIr9VVOMRhbAYKB8zvrO0llrfEsdKwLZek6YAPSFvtSu3GtLawu0ZJ6625SHGBQB1T88t6MxvopgMAjaunUrdF0HM+P4yv27DMYeJmB1RqW3Jnf3tQX2p0L4P9EXuqEd7PmDp+XuMU9sRbvXnnt1TxxACgoKYLVacbzsQDUJGkSATe6qi28uPtzusM6Kxie6NHLGUX3lxVUNX9StPHnn4wy3njuUYcu6n2pNi66avcEXnByP/nv8aiaIyrqz2gO5A9+9FI1GIfn5+WhZdTAdjFMkwMvZOy7uWnTAOz3L4Yk71m3t69fdfTDoUGTBeHTUfiHQ6lo7Z2OXJvpDAChKe+aOCdKRKWxZ2+1qb3yyd3GYmRkQ7GQBVs99wfv6on3eR2k4PdTkDEbH7IuS8/svld/561PJS/pDk1/bzwx94pze7xc5v/H+YPY6r5BAkdrJzODTK46lE6PeYEJt7u+8j+OZwCBiEAgAoNgKJoEQf6PvNvdrXgtZoNhSf7q0KZ3B2AQmVMze0Jmt54S/DcDCVig2NcvEUGxJAE4Pl+YOr0iv6BRSIPAmBeBZAmHlE2sH4p1uhrq1s0MnnEQMBsf8wRASAICQQCCITN1X7/sOuc0kgOVp3/fPs2WHv+coG7gQOJUnLGsUCTxEjPzUohEA+NfIWUdtx0+efzA1kSSkIGyBAQNCKgHAEBAJ3u79U7kiAcWoem/gb5Fd33nrH3kp+SMWtuAB+GllMJxMjCx9QRgA3uiqL5kwHiTlpxb3smlfMDGYGPP1hcMAkJvs8ScpfdJspdj+MK6Pf+5+u29vyb4lR4+BGEziVESAkEpw6Av1OhUpHCz4qOXbzFWz4Ncdj/v/o08Lt92ODDgZDCEFJYoUGH4mzugP92puPTf0pD3H7wvfdFZdqSxnMtWjoGAAmG9fOLxjwesdjT2/XzIQ7ks3sycYMSEwGHNtWf5bkX5NkYCJBxUBXiGV0XHvosOt54Zey33j/K+8P33++vjnbiGJbbLE+J9SANAb6nJ2B79wcUwETAwQQ7fMjPzMvfP8ja87HUIKMOiaAqMZhrGmLdAy78eZrwwsTS0eObTs+IdtgVanxBUExqGbb5VzrIISGIoUXsmqbgEhJldCQWqRf27SvPAn/o8XmgLhZsUkR4ll37mhk3n94Z4OlzY/7NLcYZfm7o1z2zT4vsvUNSXqprBCkmiTFbPX90/fh8GIT2sf+zTPdDMf4dVnNg4z+E0ixsGeBs9jd5ViSgLHjCb/peaR+MD3d4/ZJg2llyuG2Vwy7QWAs8PNnn1f7vkGSGxAzE6mk+kxkx/p/4unffSCR0hAoL1EBCYiPNdWNcwkNQTCR7feWX6g+7f/A7I8rcw/U6UEe0Ndrhc/W7mtL9ztmqlSgstSS/zTJ28dalpOpkRryrwbhwBACgsLMWPGDOT4ll3qyeqAkJTdCF7P/CrUY/GkLL1rE+2hTbSH8+0Lb/WEuhzhyaA905blf9Vd/895WnZwLHrPevir/cvOB1oLYpTtLrm6oYGIMDExAaqtrUVKSgqYGSKCk0WHq5ikkWEWtNL0imv5qUW+RclLRjJsrhBAuH1/QL8R7HR4xy5nescuP23E6hOA6mLv+sb4uTw6Ogqqq6uDpmkQkcStorX4XRcM1FjZ+kvFFjCJKU1WpkNJJUqIMtX1RyLeX3JtQ0JRhmGYZ/L27duRnJycuFGISOJ9pqh5lrB6iYgqGOxRrOaa54DcZmKvkJxk8JHC9rKh+KVhOsD4+Dj+MwADIf8n5m4xGwAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode button.vis-button.vis-edit,div.vis-network div.vis-manipulation button.vis-button.vis-edit{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNVQxNDoxMjoyNSswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDVUMTQ6MTI6MjUrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjY5OTM3ZGZjLTJjNzQtYTU0YS05OTIzLTQyMmZhNDNkMjljNDwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDozOWNhNzE5ZC03YzNlLTUyNGEtYmY1NS03NGVmMmM1MzE0YTc8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDVUMTQ6MTI6MjUrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjY5OTM3ZGZjLTJjNzQtYTU0YS05OTIzLTQyMmZhNDNkMjljNDwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNVQxNDoxMjoyNSswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjM5Y2E3MTlkLTdjM2UtNTI0YS1iZjU1LTc0ZWYyYzUzMTRhNzwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ykninAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYpSURBVHjafFZtTFvnFX7Oea+NudiY2Hwam4CBlgQwXdKREDKUoYg0jbRJ29RJ2VZ1mjRFUxSpA3VTfkzJfkQbS7spU6rtx5Z2UtppScjaHxvLuiatWi2jLEoMIUDCh23g2gbj7+tPuPvhOurawPl1dc99n+c55z33fV46ceIEZFkGADAziAgAQERoe/9ZK4GPM/AcgbsIXAcABCgMvkfAqAa89eDoJyF8LogIqqqChoaGYDAYHr8kItS8uc8iIH6iAa9IkAo5EAQX8pqmgUVBCBggYFgDhv0/GAsBgKZpICJkMhnQ4OAgZFkGEYGZUXmp+0cS+CKBwWA0DVRPOg5Zl2q6zaHyJlnVAMQXVTkwHrUqH0Xsvn+tdQAAMQDgpPLS2MViFY8rkGUZzIzaS/t/xqCzGggtz9e697zsnKhoLUtim4jOq/LE6x7X0nsh16dEZ5a/O3a2SCAOHjwInU6Hujd6ThJ4mCDQ+b2G232v7v6vwarPbQn8MGlMr+X0kpE3Wr5Zt5hL5HPhqYSdQIfKJ+yhxDPKWC6Xg+jt7UXD5b5KBt1kCHS85Ljd8/On3NupfnhFaZj4rWff1B98B1R/hnUmKd36bdtCNl4g0en4edNE/cXwLq8qMTMIPAQwmo/WuHvObA8+9c58k/dKtD0TyZWXN5YGA7ej7epKxspM//7SoNOdWc/Jyq2wiwhDzPxT8cP0jys3VMM7OmL0/77zn4Ydui3b8uiK0jD7RrA77c9Wd57cefPpF+2T6bWsFPWkaiPTCWvTsZpHFU+XrS+8G3AR08F6X+1FJvBxQQzHQOWk2SmrW4FPX/U2LVwPuDZj+fJKl2khPpeyAqA9rzR/YqwuiWXX8taN/CabGkrVuq9YJlkQQDjOAJ5jAhz9Vt9W4N5/rNp8I+vtMV/aZm4zLnUNNt0urdYnF68HWoJj4Wo1mLGUNRr8LEgDgNqeCh8xQIKOsgC7iAjVe83rT9zQa8uNM28u70kspessu8q8zq/V3NcZpVzb9+0zmVhOvvvrhaMVzrJg0zeq7xMVCCwdpnWSGBqjUyJwLTFgbvxie3w31uoWR1Y74r60rdxZqrR8q85t2W2MGCp12bm/KC3hyaSTiMhxuGrKcahqpbjOaDOoEhOEoFqJQCCJvqA85I6bfTdDjQlf2lbxVNlS6wt19yy7jRHZZlDnrinNj/6sHMhnNw2Ogco7O79e5fm/xQywRBBCEAuwn4gQ96bkYj4Vyuq9N1Z3Bj4Od5bs0MXt/dZZ21ctiqFan174q985P+Lfp+U1g7XDON/1ctP458WlVjLyJhOISZE0wM0S1QfuRC3lTjkJAKKEtNC9eIOhSh9xHLZOJRZTFuXDsEoStLkR/768ummsaJG9Pb9oe+9J+xaeSVokiQDSJphAo5uaBuWjiKP4QTqS1cUWU7ayesN66wu22frD1vmVW6GW6T8u9eVjGyZzs+w78Nqu0a2mbvVu1KEJQAgeZRL0liQYyx+GOmKeQpu0rMYsAJPNEFGD2dLodLIy6c9Ys7G8yeSUl3tf2/X3rcBVJSOv34l3sCBogi7z1LH/rBHjl4IJ93/ncQFAnjeImJD0Z8zuCwu9q3djDXqTlAKID5xv+9t2R8n8VcUFBljQ8Gyfe40BYBM4DwDLt8Kue79ZcFkbzfEdbUbv+oN4c9KTtsfm1MbYQqqh+2zrVZYKs/7Ef+byimt1POYiJhDhPBFBIiIEXhxfs7/dfYoIF+auBfYTE/pebx/V8hqBP2ODvD34yvuh/WCAmU75Bx6sIgaI/v5+6PV6JLqUsYr7dpDAoehs0h73pHTWrvKgThYbRSt9UmSjef3MpaUvBz4O72UmADgTOPJguGiZor+/HyUlJWBmJFz+D8xTtlUiOpbwpmrmrweeSXrT+g11k4SBN3RGKUcAVCVdFhyP1nreDbY//NPyEXUlU/Pp4XYycGT6V0Ux2WwWdO7cOZSWlkII8diX7SPPNgDaKdbxoNAxwATBAEkEEgSWCEQAqPAMwqvMdCEwMO0tVqZpWsGTT58+DaPR+PhGIYQAAAgh0P7B3ioW/B0iGiCGiwXbCuOHFSJys6AbYFye2T+xWhT3WYJEIoH/DQBMw3kes8OJPgAAAABJRU5ErkJggg==")}div.vis-network div.vis-edit-mode button.vis-button.vis-edit.vis-edit-mode{background-color:#fcfcfc;border:1px solid #ccc}div.vis-network div.vis-manipulation button.vis-button.vis-connect{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDozODo1NyswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6Mzg6NTcrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjlmYjUwMDU0LWE3ODEtMWQ0OC05ZTllLTU2ZWQ5YzhlYjdjNjwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDo3ZWRhMjI0MC0yYTQxLTNlNDQtYWM2My1iNzNiYTE5OWI3Y2E8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6Mzg6NTcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjlmYjUwMDU0LWE3ODEtMWQ0OC05ZTllLTU2ZWQ5YzhlYjdjNjwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDozODo1NyswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjdlZGEyMjQwLTJhNDEtM2U0NC1hYzYzLWI3M2JhMTk5YjdjYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ubxs+AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAUtSURBVHjajJZ/bNT1Gcdfz/P53PV6B4W7VltLqdAaplIOiMOoyxxJCSs/Gv/yB4gzJroAosmmDklwkYWR0bQsdmkykoojTpcsWYLxD/lRZdMQkTHRtkLZRqG0tIVe7662vTu43n32x/VKZ/jh89cn38/zvN7P5/l88zwf2blzJz6fDwARQUSm1n8s31CM0/VAnbNmsUPuAsDpgEO+Bg4C7//iyv5hvmMiQiqVQpqamvB6vVNwEeG1JZtCBrYi/MrkAwDNgjhwAlbzICBLA0rDb0+/839C6XQaaWxspLCw8Dp86cbNmqVFJQddE6KzdjZ9D89g+B6fSyCOcyn1nxil+O9xKg5HqWFSHGXLjrP7W/ICqVQK2bNnDz6fDxFh65KNvxbHDhF4rJj2bXPo+IGfcW5h5xL4f99P+FCEMIAob75x9t0dAMlkElNXV4e1lteXbNqiQoMaeOFOjrdU868SD2luYyEP6dUh+sYmSHeOU6GO5Z8VLx5+NNZxIpPJ5AS2L3upROCoCvz8Lo7vnkf77cAHhpiz/zIL9vWz8L8p/NvupmM0Q7pjnAoLqz8tDrc8MnQqYVUVhVdF4LEg7b+rvDn8wDDlH0WoPpukLJImSBaMwjcJqmwWts2jPZLG/8kwYVFeVdXXZcFf4yVDc2cNKfBFmD9X+0ncCP58F48eG+Feo2CAUkvs4dl0V/uJvdXLiiV+ut++n7YLSfxPfMMG54ChzB3WIesVWB2i82bw1AR6fJR7C4VsfYiv6u/k3A9nEgP4zXke8DiYHyAOMK+QxPIgnZ9GqSHr1itQJ8DK2fTerDQ+S/bHRXQJaHSCwNIZ2Xh+7+S3VAmwNMBA/tuPZtErgKquUmdMWIFlRURvdamRNEXGwIWrlP47pTMzLiunxghGMwTLvcTWlHAp77s4QNSrYMQtss6ZMgWqCm5cHoDHO1nbk6K8zEN8+3zatv2Hn1b59EqJZdxmYUERg9P9KwpIiAOTdWUWBXuLzB/vZG3P1Un4PNp2d1MbmyD45TWCxuCsQm0x56bHGHFYEZwxok7toAA9Sfw3hCcoL/NOwi9QO5wmWO1j4JEgZxTkodmcWRGkf3pcX0r8xoAaBixKu4U5/xwndM+0tpAvS6mP+PZK2nb1UBvPEKwKMLDvPj4ESGc55lGy303sdJKQdZB2rkMdctAB/4gzN+/Q2ENNd4LyUi/xN+bTtquX2thk5nk4wI3gAF+OMNcA1nFQDfK+BY5GqbkwWabTY5QZhXWlnNx1ntrY1Rz87fuvw29m/Sn8J+PUGAFj5T19baA1IspuBZp7cx1x4SwG1cEf+lgRSROs8jGwb+Ht4QB/GSSsAhYano39LWIBxNEIbP14hPDuiyS2VtJuHXQlKKvxM/jiXDq/D/xPlwifGMkJZB2NIoKpr69nxeiZxLHicFSFVWfGqBidIP3LSjrWltD94CyufF/4kQgPuVz2Lz93+dDRa9eu5QQ8Hg8/iXee+Dy4CKMs7xqn4nwKz9IirhQqmVuB42m8ey+x7LMoD6iAON782eChhqmRuXfvXgKBAKqKqtI0/8nNKrQI4BVYXkzHgzPpC88gWuHL/caXrhLoGiN0apSKr0ZZRBZM7q2w5ZnLR1oAnHOMjY0hra2tFBQUYIyZmstvVT1Z6eDlAuEVq7merxmwueNPDXy9PvybjKP5mctHLk4/XTKZRJqbm/H7/VNw1VyEMYbW4FN3WNWnnchKoy5sHeVGBRX6VWi3ymFx7r11Ix8MTX/y5C2RSPC/AQB61erowbpqSwAAAABJRU5ErkJggg==")}div.vis-network div.vis-manipulation button.vis-button.vis-delete{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAEEOaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjUtYzAyMSA3OS4xNTQ5MTEsIDIwMTMvMTAvMjktMTE6NDc6MTYgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNC0wMi0wNFQxNDo0MTowNCswMTowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTQtMDItMDRUMTQ6NDE6MDQrMDE6MDA8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8ZGM6Zm9ybWF0PmltYWdlL3BuZzwvZGM6Zm9ybWF0PgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD54bXAuaWlkOjc3NDkzYmUxLTEyZGItOTg0NC1iNDYyLTg2NGVmNGIzMzM3MTwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y3JlYXRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE0LTAxLTIyVDE5OjI0OjUxKzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6RUE2MEEyNEUxOTg0RTMxMUFEQUZFRkU2RUMzMzNFMDM8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDEtMjNUMTk6MTg6MDcrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+c2F2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omluc3RhbmNlSUQ+eG1wLmlpZDowNmE3NWYwMy04MDdhLWUzNGYtYjk1Zi1jZGU2MjM0Mzg4OGY8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTQtMDItMDRUMTQ6NDE6MDQrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIFBob3Rvc2hvcCBDQyAoV2luZG93cyk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi92bmQuYWRvYmUucGhvdG9zaG9wIHRvIGltYWdlL3BuZzwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmRlcml2ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+Y29udmVydGVkIGZyb20gYXBwbGljYXRpb24vdm5kLmFkb2JlLnBob3Rvc2hvcCB0byBpbWFnZS9wbmc8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5zYXZlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6aW5zdGFuY2VJRD54bXAuaWlkOjc3NDkzYmUxLTEyZGItOTg0NC1iNDYyLTg2NGVmNGIzMzM3MTwvc3RFdnQ6aW5zdGFuY2VJRD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNC0wMi0wNFQxNDo0MTowNCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOjA2YTc1ZjAzLTgwN2EtZTM0Zi1iOTVmLWNkZTYyMzQzODg4Zjwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDpFQTc2MkY5Njc0ODNFMzExOTQ4QkQxM0UyQkU3OTlBMTwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjczQjYyQUFEOTE4M0UzMTE5NDhCRDEzRTJCRTc5OUExPC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JNb2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDxwaG90b3Nob3A6SUNDUHJvZmlsZT5zUkdCIElFQzYxOTY2LTIuMTwvcGhvdG9zaG9wOklDQ1Byb2ZpbGU+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlhSZXNvbHV0aW9uPjcyMDA5MC8xMDAwMDwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+NzIwMDkwLzEwMDAwPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWERpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjI0PC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4aYJzYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAYGSURBVHjalJZ7UJTnFcZ/73m/72PdJY1RbhoQp6lkXRAvmIYxdCUadLVOozPNtGObap1JsKipjiShbdoRbeKEiQHpQK3xj0xa03aamTbaTGyAYV1QGeqFi+JyiZFLAlmESBkWRmS3fyzslGkmnZ5/v/M873Oe75zzvqqoqAibzQaAiKCUAkApRdHIK/NFsx2NR91nOSILADDoJyzNaM4xxbtvPHh0iC+JiYkJ1OHDh4mJiUEpFSXPv/ziPC28TIiXDCOSrAClQDSEpsCwJPIhrEBRQpiSytXlQwDhcBilFPfu3UMVFxdjt9ujFTzfcLBADCoEEAFr1ZbrrNjch2vtEImPBgHob7fTcWE+bVXJNJ/NiFQlEGLvieXHKmYqGB8fRx05cgSbzYaIsPvywV8pKFaA7fGtLTzz61YWpo/xVTHQbufsq5lcez9zWuWhk5mvFwMEg0H0+vXrMU2Tn1wp3CtCiQ5DjGd3A/m/v8IDCZP8r4iNmyRrWx/j/5qktykZpXKzAjVDVxPzGqemptDr1q1jX3NRnIJarcDKK2hgR2ULXRfncv7UYv7xpovhnhiW5Mz+kefeSKO6LJ1A1xzEuk/Ojm4mRibpuZaMZW3OCtRUND60NmiICCIUShisx7a2sLMiQn4s77uEQgIabnqdfHIlgT1/qQeg8vs5dHhdCNB1wYn3RIiC995j26stjAbsNH+YiZJCESnS1Y/XxIXu8r4YIPv/VkVs3CTnTy2ms34xro1+sp9po6sxlTu34ultmsPVvy6is86FCHgO+DDs49zpjufBpCG+seYOC9OHaTidieicb9ouVAhKtouAseI710ma7pLuqwmgYfHqAFt+6WdLoQ/LBl11Lm7VudAa8vb72PCin9TlAWIsGGhLACD+kSAZnusYBii1XQAPYWDllt6ov2lrBkDBR2+6Ofuak2//3M+G/T4wAAPW7fPhKfRTVeqk9qQbFKRmDUTxS3N7QYGYmwzCkqklBGlPDEcTNv+sg9tNCbTXuvBWujE0bHrZj9JE1B/wU1Pm5PwJN6YBS9a2kVvQEcWnrh5GTFD3lxkYkqRMgYQlwVldUvDnen73LHTUuqitdKM0eAr9AFQfd1J/yo2aJn+2sn4Wdn5qEFODJskgBIjx5T0uCrQA08pnIjS9PERDjPnfOKXAMEBECUoGEIHBj+2zkt76UQ6dXheGAev3+cg74Kf6uJPqcicbfuond7cPy4SOiy7+tD9nFvZurx00KOk3CNEC+mE+vjSPBc7IWqgqTaPT60IMcO/xsXGa3HfKjRgRdbl7/KDg0jtubje6aHj7c7J3dgLQ2zoPwwQ91SooOQdAW1VKVMHty0kA5Bb48BycJn/LjWFGbLv4thvvb53kFvjJ+XEdWkPfjQVR/CcNKYgGMc8JWt5Fa2j+MIPPuyI2pa4IoHSkt6vLIuRaQ9q32khzt4GCxtNu6k46GeiIR2lIfDQQsafPzq1LGRGL9Gk9d+vrwewvfHPQOoexQVjxdB/auk/zmaUMdsfz6bVUtIalT7bxveP1ZHh6GPDPYeSzeD69kcpIfxymFWLNrka+ljhBTWkWwz2JiJT84YHnz2iPx0P20PkmRF5i6HYiwZFJsn/YzdezbzE3cQibY5xV266z6RfXohakb+xB9CjanCD9qTbW7Grk4WV38VZm0l6dhQiEw9taHSuDqrS0FIfDwXM3X9mHMsvRAk/sauDpQy38P+GtzOTGB9mEpkD0C2dS8n8zOjqK9ng8WJZFU+JTjasGvaCNXPpvJBPoMlm0OoDNMfWVxONfWNSUPUZ7TUQ56tCZlPwSgMnJSVRpaSmxsbFE1raw82ZxAZZRQUiBYUKGp5UlOX2krBzmoUVjiIKhHge9rfPo+Wcy3ZeXIYASgL1/X5RfMXMvj46OosrLy7HZbGitUUohIuzoem0RofALaOsghgWGjky0MiJTL8b0lOvI8hN1DKXKP0jd3TNTWDgcJhgMoo4ePYrD4Yi+KmaeLlprnrtXFo9h/AAlG1AqE8yFmBrC+jO0bgH9EVpO/1F2Dc5g//OAsbEx/j0Af+USsQynL1UAAAAASUVORK5CYII=")}div.vis-network div.vis-edit-mode div.vis-label,div.vis-network div.vis-manipulation div.vis-label{margin:0 0 0 23px;line-height:25px}div.vis-network div.vis-manipulation div.vis-separator-line{float:left;display:inline-block;width:1px;height:21px;background-color:#bdbdbd;margin:0 7px 0 15px}');var Tl=function(){function g(A,t,e,C){var I,i,o=this;De(this,g),this.body=A,this.canvas=t,this.selectionHandler=e,this.interactionHandler=C,this.editMode=!1,this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this._domEventListenerCleanupQueue=[],this.temporaryUIFunctions={},this.temporaryEventFunctions=[],this.touchTime=0,this.temporaryIds={nodes:[],edges:[]},this.guiEnabled=!1,this.inMode=!1,this.selectedControlNode=void 0,this.options={},this.defaultOptions={enabled:!1,initiallyActive:!1,addNode:!0,addEdge:!0,editNode:void 0,editEdge:!0,deleteNode:!0,deleteEdge:!0,controlNodeStyle:{shape:"dot",size:6,color:{background:"#ff0000",border:"#3c3c3c",highlight:{background:"#07f968",border:"#3c3c3c"}},borderWidth:2,borderWidthSelected:2}},sg(this.options,this.defaultOptions),this.body.emitter.on("destroy",(function(){o._clean()})),this.body.emitter.on("_dataChanged",fg(I=this._restore).call(I,this)),this.body.emitter.on("_resetData",fg(i=this._restore).call(i,this))}return Pe(g,[{key:"_restore",value:function(){!1!==this.inMode&&(!0===this.options.initiallyActive?this.enableEditMode():this.disableEditMode())}},{key:"setOptions",value:function(g,A,t){void 0!==A&&(void 0!==A.locale?this.options.locale=A.locale:this.options.locale=t.locale,void 0!==A.locales?this.options.locales=A.locales:this.options.locales=t.locales),void 0!==g&&("boolean"==typeof g?this.options.enabled=g:(this.options.enabled=!0,on(this.options,g)),!0===this.options.initiallyActive&&(this.editMode=!0),this._setup())}},{key:"toggleEditMode",value:function(){!0===this.editMode?this.disableEditMode():this.enableEditMode()}},{key:"enableEditMode",value:function(){this.editMode=!0,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}},{key:"disableEditMode",value:function(){this.editMode=!1,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}},{key:"showManipulatorToolbar",value:function(){if(this._clean(),this.manipulationDOM={},!0===this.guiEnabled){var g,A;this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";var t=this.selectionHandler.getSelectedNodeCount(),e=this.selectionHandler.getSelectedEdgeCount(),C=t+e,I=this.options.locales[this.options.locale],i=!1;!1!==this.options.addNode&&(this._createAddNodeButton(I),i=!0),!1!==this.options.addEdge&&(!0===i?this._createSeperator(1):i=!0,this._createAddEdgeButton(I)),1===t&&"function"==typeof this.options.editNode?(!0===i?this._createSeperator(2):i=!0,this._createEditNodeButton(I)):1===e&&0===t&&!1!==this.options.editEdge&&(!0===i?this._createSeperator(3):i=!0,this._createEditEdgeButton(I)),0!==C&&(t>0&&!1!==this.options.deleteNode||0===t&&!1!==this.options.deleteEdge)&&(!0===i&&this._createSeperator(4),this._createDeleteButton(I)),this._bindElementEvents(this.closeDiv,fg(g=this.toggleEditMode).call(g,this)),this._temporaryBindEvent("select",fg(A=this.showManipulatorToolbar).call(A,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var g;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){var A,t=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(t),this._createSeperator(),this._createDescription(t.addDescription||this.options.locales.en.addDescription),this._bindElementEvents(this.closeDiv,fg(A=this.toggleEditMode).call(A,this))}this._temporaryBindEvent("click",fg(g=this._performAddNode).call(g,this))}},{key:"editNode",value:function(){var g=this;!0!==this.editMode&&this.enableEditMode(),this._clean();var A=this.selectionHandler.getSelectedNodes()[0];if(void 0!==A){if(this.inMode="editNode","function"!=typeof this.options.editNode)throw new Error("No function has been configured to handle the editing of nodes.");if(!0!==A.isCluster){var t=on({},A.options,!1);if(t.x=A.x,t.y=A.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(t,(function(A){null!=A&&"editNode"===g.inMode&&g.body.data.nodes.getDataSet().update(A),g.showManipulatorToolbar()}))}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError)}else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var g,A,t,e,C;if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){var I,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.edgeDescription||this.options.locales.en.edgeDescription),this._bindElementEvents(this.closeDiv,fg(I=this.toggleEditMode).call(I,this))}this._temporaryBindUI("onTouch",fg(g=this._handleConnect).call(g,this)),this._temporaryBindUI("onDragEnd",fg(A=this._finishConnect).call(A,this)),this._temporaryBindUI("onDrag",fg(t=this._dragControlNode).call(t,this)),this._temporaryBindUI("onRelease",fg(e=this._finishConnect).call(e,this)),this._temporaryBindUI("onDragStart",fg(C=this._dragStartEdge).call(C,this)),this._temporaryBindUI("onHold",(function(){}))}},{key:"editEdgeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==nC(this.options.editEdge)||"function"!=typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){var g,A=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(A),this._createSeperator(),this._createDescription(A.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindElementEvents(this.closeDiv,fg(g=this.toggleEditMode).call(g,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],void 0!==this.edgeBeingEditedId){var t,e,C,I,i=this.body.edges[this.edgeBeingEditedId],o=this._getNewTargetNode(i.from.x,i.from.y),n=this._getNewTargetNode(i.to.x,i.to.y);this.temporaryIds.nodes.push(o.id),this.temporaryIds.nodes.push(n.id),this.body.nodes[o.id]=o,this.body.nodeIndices.push(o.id),this.body.nodes[n.id]=n,this.body.nodeIndices.push(n.id),this._temporaryBindUI("onTouch",fg(t=this._controlNodeTouch).call(t,this)),this._temporaryBindUI("onTap",(function(){})),this._temporaryBindUI("onHold",(function(){})),this._temporaryBindUI("onDragStart",fg(e=this._controlNodeDragStart).call(e,this)),this._temporaryBindUI("onDrag",fg(C=this._controlNodeDrag).call(C,this)),this._temporaryBindUI("onDragEnd",fg(I=this._controlNodeDragEnd).call(I,this)),this._temporaryBindUI("onMouseMove",(function(){})),this._temporaryBindEvent("beforeDrawing",(function(g){var A=i.edgeType.findBorderPositions(g);!1===o.selected&&(o.x=A.from.x,o.y=A.from.y),!1===n.selected&&(n.x=A.to.x,n.y=A.to.y)})),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{var r=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(r.from.id,r.to.id)}}},{key:"deleteSelected",value:function(){var g=this;!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";var A=this.selectionHandler.getSelectedNodeIds(),t=this.selectionHandler.getSelectedEdgeIds(),e=void 0;if(A.length>0){for(var C=0;C<A.length;C++)if(!0===this.body.nodes[A[C]].isCluster)return void alert(this.options.locales[this.options.locale].deleteClusterError||this.options.locales.en.deleteClusterError);"function"==typeof this.options.deleteNode&&(e=this.options.deleteNode)}else t.length>0&&"function"==typeof this.options.deleteEdge&&(e=this.options.deleteEdge);if("function"==typeof e){var I={nodes:A,edges:t};if(2!==e.length)throw new Error("The function for delete does not support two arguments (data, callback)");e(I,(function(A){null!=A&&"delete"===g.inMode?(g.body.data.edges.getDataSet().remove(A.edges),g.body.data.nodes.getDataSet().remove(A.nodes),g.body.emitter.emit("startSimulation"),g.showManipulatorToolbar()):(g.body.emitter.emit("startSimulation"),g.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().remove(t),this.body.data.nodes.getDataSet().remove(A),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){var g,A;(void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",!0===this.editMode?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",!0===this.editMode?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),void 0===this.closeDiv)&&(this.closeDiv=document.createElement("button"),this.closeDiv.className="vis-close",this.closeDiv.setAttribute("aria-label",null!==(g=null===(A=this.options.locales[this.options.locale])||void 0===A?void 0:A.close)&&void 0!==g?g:this.options.locales.en.close),this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv))}},{key:"_getNewTargetNode",value:function(g,A){var t=on({},this.options.controlNodeStyle);t.id="targetNode"+Xs(),t.hidden=!1,t.physics=!1,t.x=g,t.y=A;var e=this.body.functions.createNode(t);return e.shape.boundingBox={left:g,right:g,top:A,bottom:A},e}},{key:"_createEditButton",value:function(){var g;this._clean(),this.manipulationDOM={},$o(this.editModeDiv);var A=this.options.locales[this.options.locale],t=this._createButton("editMode","vis-edit vis-edit-mode",A.edit||this.options.locales.en.edit);this.editModeDiv.appendChild(t),this._bindElementEvents(t,fg(g=this.toggleEditMode).call(g,this))}},{key:"_clean",value:function(){this.inMode=!1,!0===this.guiEnabled&&($o(this.editModeDiv),$o(this.manipulationDiv),this._cleanupDOMEventListeners()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanupDOMEventListeners",value:function(){var g,A,t=El(WC(g=this._domEventListenerCleanupQueue).call(g,0));try{for(t.s();!(A=t.n()).done;){(0,A.value)()}}catch(g){t.e(g)}finally{t.f()}}},{key:"_removeManipulationDOM",value:function(){this._clean(),$o(this.manipulationDiv),$o(this.editModeDiv),$o(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var g=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+g]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+g].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+g])}},{key:"_createAddNodeButton",value:function(g){var A,t=this._createButton("addNode","vis-add",g.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(t),this._bindElementEvents(t,fg(A=this.addNodeMode).call(A,this))}},{key:"_createAddEdgeButton",value:function(g){var A,t=this._createButton("addEdge","vis-connect",g.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(t),this._bindElementEvents(t,fg(A=this.addEdgeMode).call(A,this))}},{key:"_createEditNodeButton",value:function(g){var A,t=this._createButton("editNode","vis-edit",g.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(t),this._bindElementEvents(t,fg(A=this.editNode).call(A,this))}},{key:"_createEditEdgeButton",value:function(g){var A,t=this._createButton("editEdge","vis-edit",g.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(t),this._bindElementEvents(t,fg(A=this.editEdgeMode).call(A,this))}},{key:"_createDeleteButton",value:function(g){var A,t;t=this.options.rtl?"vis-delete-rtl":"vis-delete";var e=this._createButton("delete",t,g.del||this.options.locales.en.del);this.manipulationDiv.appendChild(e),this._bindElementEvents(e,fg(A=this.deleteSelected).call(A,this))}},{key:"_createBackButton",value:function(g){var A,t=this._createButton("back","vis-back",g.back||this.options.locales.en.back);this.manipulationDiv.appendChild(t),this._bindElementEvents(t,fg(A=this.showManipulatorToolbar).call(A,this))}},{key:"_createButton",value:function(g,A,t){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vis-label";return this.manipulationDOM[g+"Div"]=document.createElement("button"),this.manipulationDOM[g+"Div"].className="vis-button "+A,this.manipulationDOM[g+"Label"]=document.createElement("div"),this.manipulationDOM[g+"Label"].className=e,this.manipulationDOM[g+"Label"].innerText=t,this.manipulationDOM[g+"Div"].appendChild(this.manipulationDOM[g+"Label"]),this.manipulationDOM[g+"Div"]}},{key:"_createDescription",value:function(g){this.manipulationDOM.descriptionLabel=document.createElement("div"),this.manipulationDOM.descriptionLabel.className="vis-none",this.manipulationDOM.descriptionLabel.innerText=g,this.manipulationDiv.appendChild(this.manipulationDOM.descriptionLabel)}},{key:"_temporaryBindEvent",value:function(g,A){this.temporaryEventFunctions.push({event:g,boundFunction:A}),this.body.emitter.on(g,A)}},{key:"_temporaryBindUI",value:function(g,A){if(void 0===this.body.eventListeners[g])throw new Error("This UI function does not exist. Typo? You tried: "+g+" possible are: "+LI(wC(this.body.eventListeners)));this.temporaryUIFunctions[g]=this.body.eventListeners[g],this.body.eventListeners[g]=A}},{key:"_unbindTemporaryUIs",value:function(){for(var g in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,g)&&(this.body.eventListeners[g]=this.temporaryUIFunctions[g],delete this.temporaryUIFunctions[g]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var g=0;g<this.temporaryEventFunctions.length;g++){var A=this.temporaryEventFunctions[g].event,t=this.temporaryEventFunctions[g].boundFunction;this.body.emitter.off(A,t)}this.temporaryEventFunctions=[]}},{key:"_bindElementEvents",value:function(g,A){var t=new Bn(g,{});Th(t,A),this._domEventListenerCleanupQueue.push((function(){t.destroy()}));var e=function(g){var t=g.keyCode,e=g.key;"Enter"!==e&&" "!==e&&13!==t&&32!==t||A()};g.addEventListener("keyup",e,!1),this._domEventListenerCleanupQueue.push((function(){g.removeEventListener("keyup",e,!1)}))}},{key:"_cleanupTemporaryNodesAndEdges",value:function(){for(var g=0;g<this.temporaryIds.edges.length;g++){var A;this.body.edges[this.temporaryIds.edges[g]].disconnect(),delete this.body.edges[this.temporaryIds.edges[g]];var t,e=DI(A=this.body.edgeIndices).call(A,this.temporaryIds.edges[g]);if(-1!==e)WC(t=this.body.edgeIndices).call(t,e,1)}for(var C=0;C<this.temporaryIds.nodes.length;C++){var I;delete this.body.nodes[this.temporaryIds.nodes[C]];var i,o=DI(I=this.body.nodeIndices).call(I,this.temporaryIds.nodes[C]);if(-1!==o)WC(i=this.body.nodeIndices).call(i,o,1)}this.temporaryIds={nodes:[],edges:[]}}},{key:"_controlNodeTouch",value:function(g){this.selectionHandler.unselectAll(),this.lastTouch=this.body.functions.getPointer(g.center),this.lastTouch.translation=sg({},this.body.view.translation)}},{key:"_controlNodeDragStart",value:function(){var g=this.lastTouch,A=this.selectionHandler._pointerToPositionObject(g),t=this.body.nodes[this.temporaryIds.nodes[0]],e=this.body.nodes[this.temporaryIds.nodes[1]],C=this.body.edges[this.edgeBeingEditedId];this.selectedControlNode=void 0;var I=t.isOverlappingWith(A),i=e.isOverlappingWith(A);!0===I?(this.selectedControlNode=t,C.edgeType.from=t):!0===i&&(this.selectedControlNode=e,C.edgeType.to=e),void 0!==this.selectedControlNode&&this.selectionHandler.selectObject(this.selectedControlNode),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDrag",value:function(g){this.body.emitter.emit("disablePhysics");var A=this.body.functions.getPointer(g.center),t=this.canvas.DOMtoCanvas(A);void 0!==this.selectedControlNode?(this.selectedControlNode.x=t.x,this.selectedControlNode.y=t.y):this.interactionHandler.onDrag(g),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDragEnd",value:function(g){var A=this.body.functions.getPointer(g.center),t=this.selectionHandler._pointerToPositionObject(A),e=this.body.edges[this.edgeBeingEditedId];if(void 0!==this.selectedControlNode){this.selectionHandler.unselectAll();for(var C=this.selectionHandler._getAllNodesOverlappingWith(t),I=void 0,i=C.length-1;i>=0;i--)if(C[i]!==this.selectedControlNode.id){I=this.body.nodes[C[i]];break}if(void 0!==I&&void 0!==this.selectedControlNode)if(!0===I.isCluster)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var o=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===o.id?this._performEditEdge(I.id,e.to.id):this._performEditEdge(e.from.id,I.id)}else e.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(g){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(g.center),this.lastTouch.translation=sg({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var A=this.lastTouch,t=this.selectionHandler.getNodeAt(A);if(void 0!==t)if(!0===t.isCluster)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var e=this._getNewTargetNode(t.x,t.y);this.body.nodes[e.id]=e,this.body.nodeIndices.push(e.id);var C=this.body.functions.createEdge({id:"connectionEdge"+Xs(),from:t.id,to:e.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[C.id]=C,this.body.edgeIndices.push(C.id),this.temporaryIds.nodes.push(e.id),this.temporaryIds.edges.push(C.id)}this.touchTime=(new Date).valueOf()}}},{key:"_dragControlNode",value:function(g){var A=this.body.functions.getPointer(g.center),t=this.selectionHandler._pointerToPositionObject(A),e=void 0;void 0!==this.temporaryIds.edges[0]&&(e=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var C=this.selectionHandler._getAllNodesOverlappingWith(t),I=void 0,i=C.length-1;i>=0;i--){var o;if(-1===DI(o=this.temporaryIds.nodes).call(o,C[i])){I=this.body.nodes[C[i]];break}}if(g.controlEdge={from:e,to:I?I.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragging",g,A),void 0!==this.temporaryIds.nodes[0]){var n=this.body.nodes[this.temporaryIds.nodes[0]];n.x=this.canvas._XconvertDOMtoCanvas(A.x),n.y=this.canvas._YconvertDOMtoCanvas(A.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(g)}},{key:"_finishConnect",value:function(g){var A=this.body.functions.getPointer(g.center),t=this.selectionHandler._pointerToPositionObject(A),e=void 0;void 0!==this.temporaryIds.edges[0]&&(e=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var C=this.selectionHandler._getAllNodesOverlappingWith(t),I=void 0,i=C.length-1;i>=0;i--){var o;if(-1===DI(o=this.temporaryIds.nodes).call(o,C[i])){I=this.body.nodes[C[i]];break}}this._cleanupTemporaryNodesAndEdges(),void 0!==I&&(!0===I.isCluster?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):void 0!==this.body.nodes[e]&&void 0!==this.body.nodes[I.id]&&this._performAddEdge(e,I.id)),g.controlEdge={from:e,to:I?I.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragEnd",g,A),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(g){var A=this.lastTouch;this.selectionHandler.generateClickEvent("dragStart",g,A,void 0,!0)}},{key:"_performAddNode",value:function(g){var A=this,t={id:Xs(),x:g.pointer.canvas.x,y:g.pointer.canvas.y,label:"new"};if("function"==typeof this.options.addNode){if(2!==this.options.addNode.length)throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");this.options.addNode(t,(function(g){null!=g&&"addNode"===A.inMode&&A.body.data.nodes.getDataSet().add(g),A.showManipulatorToolbar()}))}else this.body.data.nodes.getDataSet().add(t),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(g,A){var t=this,e={from:g,to:A};if("function"==typeof this.options.addEdge){if(2!==this.options.addEdge.length)throw new Error("The function for connect does not support two arguments (data,callback)");this.options.addEdge(e,(function(g){null!=g&&"addEdge"===t.inMode&&(t.body.data.edges.getDataSet().add(g),t.selectionHandler.unselectAll(),t.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().add(e),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(g,A){var t=this,e={id:this.edgeBeingEditedId,from:g,to:A,label:this.body.data.edges.get(this.edgeBeingEditedId).label},C=this.options.editEdge;if("object"===nC(C)&&(C=C.editWithoutDrag),"function"==typeof C){if(2!==C.length)throw new Error("The function for edit does not support two arguments (data, callback)");C(e,(function(g){null==g||"editEdge"!==t.inMode?(t.body.edges[e.id].updateEdgeType(),t.body.emitter.emit("_redraw"),t.showManipulatorToolbar()):(t.body.data.edges.getDataSet().update(g),t.selectionHandler.unselectAll(),t.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().update(e),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),g}(),Dl="string",Nl="boolean",Rl="number",Pl="array",Ml="object",Bl=["arrow","bar","box","circle","crow","curve","diamond","image","inv_curve","inv_triangle","triangle","vee"],zl={borderWidth:{number:Rl},borderWidthSelected:{number:Rl,undefined:"undefined"},brokenImage:{string:Dl,undefined:"undefined"},chosen:{label:{boolean:Nl,function:"function"},node:{boolean:Nl,function:"function"},__type__:{object:Ml,boolean:Nl}},color:{border:{string:Dl},background:{string:Dl},highlight:{border:{string:Dl},background:{string:Dl},__type__:{object:Ml,string:Dl}},hover:{border:{string:Dl},background:{string:Dl},__type__:{object:Ml,string:Dl}},__type__:{object:Ml,string:Dl}},opacity:{number:Rl,undefined:"undefined"},fixed:{x:{boolean:Nl},y:{boolean:Nl},__type__:{object:Ml,boolean:Nl}},font:{align:{string:Dl},color:{string:Dl},size:{number:Rl},face:{string:Dl},background:{string:Dl},strokeWidth:{number:Rl},strokeColor:{string:Dl},vadjust:{number:Rl},multi:{boolean:Nl,string:Dl},bold:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},boldital:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},ital:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},mono:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},__type__:{object:Ml,string:Dl}},group:{string:Dl,number:Rl,undefined:"undefined"},heightConstraint:{minimum:{number:Rl},valign:{string:Dl},__type__:{object:Ml,boolean:Nl,number:Rl}},hidden:{boolean:Nl},icon:{face:{string:Dl},code:{string:Dl},size:{number:Rl},color:{string:Dl},weight:{string:Dl,number:Rl},__type__:{object:Ml}},id:{string:Dl,number:Rl},image:{selected:{string:Dl,undefined:"undefined"},unselected:{string:Dl,undefined:"undefined"},__type__:{object:Ml,string:Dl}},imagePadding:{top:{number:Rl},right:{number:Rl},bottom:{number:Rl},left:{number:Rl},__type__:{object:Ml,number:Rl}},label:{string:Dl,undefined:"undefined"},labelHighlightBold:{boolean:Nl},level:{number:Rl,undefined:"undefined"},margin:{top:{number:Rl},right:{number:Rl},bottom:{number:Rl},left:{number:Rl},__type__:{object:Ml,number:Rl}},mass:{number:Rl},physics:{boolean:Nl},scaling:{min:{number:Rl},max:{number:Rl},label:{enabled:{boolean:Nl},min:{number:Rl},max:{number:Rl},maxVisible:{number:Rl},drawThreshold:{number:Rl},__type__:{object:Ml,boolean:Nl}},customScalingFunction:{function:"function"},__type__:{object:Ml}},shadow:{enabled:{boolean:Nl},color:{string:Dl},size:{number:Rl},x:{number:Rl},y:{number:Rl},__type__:{object:Ml,boolean:Nl}},shape:{string:["custom","ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},ctxRenderer:{function:"function"},shapeProperties:{borderDashes:{boolean:Nl,array:Pl},borderRadius:{number:Rl},interpolation:{boolean:Nl},useImageSize:{boolean:Nl},useBorderWithImage:{boolean:Nl},coordinateOrigin:{string:["center","top-left"]},__type__:{object:Ml}},size:{number:Rl},title:{string:Dl,dom:"dom",undefined:"undefined"},value:{number:Rl,undefined:"undefined"},widthConstraint:{minimum:{number:Rl},maximum:{number:Rl},__type__:{object:Ml,boolean:Nl,number:Rl}},x:{number:Rl},y:{number:Rl},__type__:{object:Ml}},Zl={configure:{enabled:{boolean:Nl},filter:{boolean:Nl,string:Dl,array:Pl,function:"function"},container:{dom:"dom"},showButton:{boolean:Nl},__type__:{object:Ml,boolean:Nl,string:Dl,array:Pl,function:"function"}},edges:{arrows:{to:{enabled:{boolean:Nl},scaleFactor:{number:Rl},type:{string:Bl},imageHeight:{number:Rl},imageWidth:{number:Rl},src:{string:Dl},__type__:{object:Ml,boolean:Nl}},middle:{enabled:{boolean:Nl},scaleFactor:{number:Rl},type:{string:Bl},imageWidth:{number:Rl},imageHeight:{number:Rl},src:{string:Dl},__type__:{object:Ml,boolean:Nl}},from:{enabled:{boolean:Nl},scaleFactor:{number:Rl},type:{string:Bl},imageWidth:{number:Rl},imageHeight:{number:Rl},src:{string:Dl},__type__:{object:Ml,boolean:Nl}},__type__:{string:["from","to","middle"],object:Ml}},endPointOffset:{from:{number:Rl},to:{number:Rl},__type__:{object:Ml,number:Rl}},arrowStrikethrough:{boolean:Nl},background:{enabled:{boolean:Nl},color:{string:Dl},size:{number:Rl},dashes:{boolean:Nl,array:Pl},__type__:{object:Ml,boolean:Nl}},chosen:{label:{boolean:Nl,function:"function"},edge:{boolean:Nl,function:"function"},__type__:{object:Ml,boolean:Nl}},color:{color:{string:Dl},highlight:{string:Dl},hover:{string:Dl},inherit:{string:["from","to","both"],boolean:Nl},opacity:{number:Rl},__type__:{object:Ml,string:Dl}},dashes:{boolean:Nl,array:Pl},font:{color:{string:Dl},size:{number:Rl},face:{string:Dl},background:{string:Dl},strokeWidth:{number:Rl},strokeColor:{string:Dl},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:Rl},multi:{boolean:Nl,string:Dl},bold:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},boldital:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},ital:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},mono:{color:{string:Dl},size:{number:Rl},face:{string:Dl},mod:{string:Dl},vadjust:{number:Rl},__type__:{object:Ml,string:Dl}},__type__:{object:Ml,string:Dl}},hidden:{boolean:Nl},hoverWidth:{function:"function",number:Rl},label:{string:Dl,undefined:"undefined"},labelHighlightBold:{boolean:Nl},length:{number:Rl,undefined:"undefined"},physics:{boolean:Nl},scaling:{min:{number:Rl},max:{number:Rl},label:{enabled:{boolean:Nl},min:{number:Rl},max:{number:Rl},maxVisible:{number:Rl},drawThreshold:{number:Rl},__type__:{object:Ml,boolean:Nl}},customScalingFunction:{function:"function"},__type__:{object:Ml}},selectionWidth:{function:"function",number:Rl},selfReferenceSize:{number:Rl},selfReference:{size:{number:Rl},angle:{number:Rl},renderBehindTheNode:{boolean:Nl},__type__:{object:Ml}},shadow:{enabled:{boolean:Nl},color:{string:Dl},size:{number:Rl},x:{number:Rl},y:{number:Rl},__type__:{object:Ml,boolean:Nl}},smooth:{enabled:{boolean:Nl},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:Rl},forceDirection:{string:["horizontal","vertical","none"],boolean:Nl},__type__:{object:Ml,boolean:Nl}},title:{string:Dl,undefined:"undefined"},width:{number:Rl},widthConstraint:{maximum:{number:Rl},__type__:{object:Ml,boolean:Nl,number:Rl}},value:{number:Rl,undefined:"undefined"},__type__:{object:Ml}},groups:{useDefaultGroups:{boolean:Nl},__any__:zl,__type__:{object:Ml}},interaction:{dragNodes:{boolean:Nl},dragView:{boolean:Nl},hideEdgesOnDrag:{boolean:Nl},hideEdgesOnZoom:{boolean:Nl},hideNodesOnDrag:{boolean:Nl},hover:{boolean:Nl},keyboard:{enabled:{boolean:Nl},speed:{x:{number:Rl},y:{number:Rl},zoom:{number:Rl},__type__:{object:Ml}},bindToWindow:{boolean:Nl},__type__:{object:Ml,boolean:Nl}},multiselect:{boolean:Nl},navigationButtons:{boolean:Nl},selectable:{boolean:Nl},selectConnectedEdges:{boolean:Nl},hoverConnectedEdges:{boolean:Nl},tooltipDelay:{number:Rl},zoomView:{boolean:Nl},zoomSpeed:{number:Rl},__type__:{object:Ml}},layout:{randomSeed:{undefined:"undefined",number:Rl,string:Dl},improvedLayout:{boolean:Nl},clusterThreshold:{number:Rl},hierarchical:{enabled:{boolean:Nl},levelSeparation:{number:Rl},nodeSpacing:{number:Rl},treeSpacing:{number:Rl},blockShifting:{boolean:Nl},edgeMinimization:{boolean:Nl},parentCentralization:{boolean:Nl},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},shakeTowards:{string:["leaves","roots"]},__type__:{object:Ml,boolean:Nl}},__type__:{object:Ml}},manipulation:{enabled:{boolean:Nl},initiallyActive:{boolean:Nl},addNode:{boolean:Nl,function:"function"},addEdge:{boolean:Nl,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:Ml,boolean:Nl,function:"function"}},deleteNode:{boolean:Nl,function:"function"},deleteEdge:{boolean:Nl,function:"function"},controlNodeStyle:zl,__type__:{object:Ml,boolean:Nl}},nodes:zl,physics:{enabled:{boolean:Nl},barnesHut:{theta:{number:Rl},gravitationalConstant:{number:Rl},centralGravity:{number:Rl},springLength:{number:Rl},springConstant:{number:Rl},damping:{number:Rl},avoidOverlap:{number:Rl},__type__:{object:Ml}},forceAtlas2Based:{theta:{number:Rl},gravitationalConstant:{number:Rl},centralGravity:{number:Rl},springLength:{number:Rl},springConstant:{number:Rl},damping:{number:Rl},avoidOverlap:{number:Rl},__type__:{object:Ml}},repulsion:{centralGravity:{number:Rl},springLength:{number:Rl},springConstant:{number:Rl},nodeDistance:{number:Rl},damping:{number:Rl},__type__:{object:Ml}},hierarchicalRepulsion:{centralGravity:{number:Rl},springLength:{number:Rl},springConstant:{number:Rl},nodeDistance:{number:Rl},damping:{number:Rl},avoidOverlap:{number:Rl},__type__:{object:Ml}},maxVelocity:{number:Rl},minVelocity:{number:Rl},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:Nl},iterations:{number:Rl},updateInterval:{number:Rl},onlyDynamicEdges:{boolean:Nl},fit:{boolean:Nl},__type__:{object:Ml,boolean:Nl}},timestep:{number:Rl},adaptiveTimestep:{boolean:Nl},wind:{x:{number:Rl},y:{number:Rl},__type__:{object:Ml}},__type__:{object:Ml,boolean:Nl}},autoResize:{boolean:Nl},clickToUse:{boolean:Nl},locale:{string:Dl},locales:{__any__:{any:"any"},__type__:{object:Ml}},height:{string:Dl},width:{string:Dl},__type__:{object:Ml}},Sl={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},opacity:[0,0,1,.1],fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},endPointOffset:{from:[0,-10,10,1],to:[0,-10,10,1]},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],selfReference:{size:[20,0,200,1],angle:[Math.PI/2,-6*Math.PI,6*Math.PI,Math.PI/8],renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"],shakeTowards:["leaves","roots"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0,zoomSpeed:[1,.1,2,.1]},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{theta:[.5,.1,1,.05],gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{theta:[.5,.1,1,.05],gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01],wind:{x:[0,-10,10,.1],y:[0,-10,10,.1]}}},Fl=function(g,A,t){var e;return!(!$C(g).call(g,"physics")||!$C(e=Sl.physics.solver).call(e,A)||t.physics.solver===A||"wind"===A)},Gl=Object.freeze({__proto__:null,configuratorHideOption:Fl,allOptions:Zl,configureOptions:Sl}),Ll=function(){function g(){De(this,g)}return Pe(g,[{key:"getDistances",value:function(g,A,t){for(var e={},C=g.edges,I=0;I<A.length;I++){var i={};e[A[I]]=i;for(var o=0;o<A.length;o++)i[A[o]]=I==o?0:1e9}for(var n=0;n<t.length;n++){var r=C[t[n]];!0===r.connected&&void 0!==e[r.fromId]&&void 0!==e[r.toId]&&(e[r.fromId][r.toId]=1,e[r.toId][r.fromId]=1)}for(var s=A.length,a=0;a<s;a++)for(var d=A[a],h=e[d],l=0;l<s-1;l++)for(var c=A[l],u=e[c],p=l+1;p<s;p++){var f=A[p],v=e[f],y=Math.min(u[f],u[d]+h[f]);u[f]=y,v[c]=y}return e}}]),g}(),jl=function(){function g(A,t,e){De(this,g),this.body=A,this.springLength=t,this.springConstant=e,this.distanceSolver=new Ll}return Pe(g,[{key:"setOptions",value:function(g){g&&(g.springLength&&(this.springLength=g.springLength),g.springConstant&&(this.springConstant=g.springConstant))}},{key:"solve",value:function(g,A){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],e=this.distanceSolver.getDistances(this.body,g,A);this._createL_matrix(e),this._createK_matrix(e),this._createE_matrix();for(var C=.01,I=1,i=0,o=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),n=5,r=1e9,s=0,a=0,d=0,h=0,l=0;r>C&&i<o;){i+=1;var c=this._getHighestEnergyNode(t),u=IC(c,4);for(s=u[0],r=u[1],a=u[2],d=u[3],h=r,l=0;h>I&&l<n;){l+=1,this._moveNode(s,a,d);var p=this._getEnergy(s),f=IC(p,3);h=f[0],a=f[1],d=f[2]}}}},{key:"_getHighestEnergyNode",value:function(g){for(var A=this.body.nodeIndices,t=this.body.nodes,e=0,C=A[0],I=0,i=0,o=0;o<A.length;o++){var n=A[o];if(!0!==t[n].predefinedPosition||!0===t[n].isCluster&&!0===g||!0!==t[n].options.fixed.x||!0!==t[n].options.fixed.y){var r=IC(this._getEnergy(n),3),s=r[0],a=r[1],d=r[2];e<s&&(e=s,C=n,I=a,i=d)}}return[C,e,I,i]}},{key:"_getEnergy",value:function(g){var A=IC(this.E_sums[g],2),t=A[0],e=A[1];return[Math.sqrt(Math.pow(t,2)+Math.pow(e,2)),t,e]}},{key:"_moveNode",value:function(g,A,t){for(var e=this.body.nodeIndices,C=this.body.nodes,I=0,i=0,o=0,n=C[g].x,r=C[g].y,s=this.K_matrix[g],a=this.L_matrix[g],d=0;d<e.length;d++){var h=e[d];if(h!==g){var l=C[h].x,c=C[h].y,u=s[h],p=a[h],f=1/Math.pow(Math.pow(n-l,2)+Math.pow(r-c,2),1.5);I+=u*(1-p*Math.pow(r-c,2)*f),i+=u*(p*(n-l)*(r-c)*f),o+=u*(1-p*Math.pow(n-l,2)*f)}}var v=(A/I+t/i)/(i/I-o/i),y=-(i*v+A)/I;C[g].x+=y,C[g].y+=v,this._updateE_matrix(g)}},{key:"_createL_matrix",value:function(g){var A=this.body.nodeIndices,t=this.springLength;this.L_matrix=[];for(var e=0;e<A.length;e++){this.L_matrix[A[e]]={};for(var C=0;C<A.length;C++)this.L_matrix[A[e]][A[C]]=t*g[A[e]][A[C]]}}},{key:"_createK_matrix",value:function(g){var A=this.body.nodeIndices,t=this.springConstant;this.K_matrix=[];for(var e=0;e<A.length;e++){this.K_matrix[A[e]]={};for(var C=0;C<A.length;C++)this.K_matrix[A[e]][A[C]]=t*Math.pow(g[A[e]][A[C]],-2)}}},{key:"_createE_matrix",value:function(){var g=this.body.nodeIndices,A=this.body.nodes;this.E_matrix={},this.E_sums={};for(var t=0;t<g.length;t++)this.E_matrix[g[t]]=[];for(var e=0;e<g.length;e++){for(var C=g[e],I=A[C].x,i=A[C].y,o=0,n=0,r=e;r<g.length;r++){var s=g[r];if(s!==C){var a=A[s].x,d=A[s].y,h=1/Math.sqrt(Math.pow(I-a,2)+Math.pow(i-d,2));this.E_matrix[C][r]=[this.K_matrix[C][s]*(I-a-this.L_matrix[C][s]*(I-a)*h),this.K_matrix[C][s]*(i-d-this.L_matrix[C][s]*(i-d)*h)],this.E_matrix[s][e]=this.E_matrix[C][r],o+=this.E_matrix[C][r][0],n+=this.E_matrix[C][r][1]}}this.E_sums[C]=[o,n]}}},{key:"_updateE_matrix",value:function(g){for(var A=this.body.nodeIndices,t=this.body.nodes,e=this.E_matrix[g],C=this.K_matrix[g],I=this.L_matrix[g],i=t[g].x,o=t[g].y,n=0,r=0,s=0;s<A.length;s++){var a=A[s];if(a!==g){var d=e[s],h=d[0],l=d[1],c=t[a].x,u=t[a].y,p=1/Math.sqrt(Math.pow(i-c,2)+Math.pow(o-u,2)),f=C[a]*(i-c-I[a]*(i-c)*p),v=C[a]*(o-u-I[a]*(o-u)*p);e[s]=[f,v],n+=f,r+=v;var y=this.E_sums[a];y[0]+=f-h,y[1]+=v-l}}this.E_sums[g]=[n,r]}}]),g}();function Vl(g,A,t){var e,C,I,i,o=this;if(!(this instanceof Vl))throw new SyntaxError("Constructor must be called with the new operator");this.options={},this.defaultOptions={locale:"en",locales:vr,clickToUse:!1},sg(this.options,this.defaultOptions),this.body={container:g,nodes:{},nodeIndices:[],edges:{},edgeIndices:[],emitter:{on:fg(e=this.on).call(e,this),off:fg(C=this.off).call(C,this),emit:fg(I=this.emit).call(I,this),once:fg(i=this.once).call(i,this)},eventListeners:{onTap:function(){},onTouch:function(){},onDoubleTap:function(){},onHold:function(){},onDragStart:function(){},onDrag:function(){},onDragEnd:function(){},onMouseWheel:function(){},onPinch:function(){},onMouseMove:function(){},onRelease:function(){},onContext:function(){}},data:{nodes:null,edges:null},functions:{createNode:function(){},createEdge:function(){},getPointer:function(){}},modules:{},view:{scale:1,translation:{x:0,y:0}},selectionBox:{show:!1,position:{start:{x:0,y:0},end:{x:0,y:0}}}},this.bindEventListeners(),this.images=new mr((function(){return o.body.emitter.emit("_requestRedraw")})),this.groups=new Lr,this.canvas=new Nh(this.body),this.selectionHandler=new rl(this.body,this.canvas),this.interactionHandler=new Sh(this.body,this.canvas,this.selectionHandler),this.view=new Ph(this.body,this.canvas),this.renderer=new Eh(this.body,this.canvas),this.physics=new vh(this.body),this.layoutEngine=new xl(this.body),this.clustering=new wh(this.body),this.manipulation=new Tl(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new md(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new nh(this.body,this.images,this.groups),this.body.modules.kamadaKawai=new jl(this.body,150,.05),this.body.modules.clustering=this.clustering,this.canvas._create(),this.setOptions(t),this.setData(A)}Eg(Vl.prototype),Vl.prototype.setOptions=function(g){var A=this;if(null===g&&(g=void 0),void 0!==g){!0===Sn.validate(g,Zl)&&console.error("%cErrors have been found in the supplied options object.",Zn);if(Cn(["locale","locales","clickToUse"],this.options,g),void 0!==g.locale&&(g.locale=function(g,A){try{var t=IC(A.split(/[-_ /]/,2),2),e=t[0],C=t[1],I=null!=e?e.toLowerCase():null,i=null!=C?C.toUpperCase():null;if(I&&i){var o,n=I+"-"+i;if(Object.prototype.hasOwnProperty.call(g,n))return n;console.warn(hC(o="Unknown variant ".concat(i," of language ")).call(o,I,"."))}if(I){var r=I;if(Object.prototype.hasOwnProperty.call(g,r))return r;console.warn("Unknown language ".concat(I))}return console.warn("Unknown locale ".concat(A,", falling back to English.")),"en"}catch(g){return console.error(g),console.warn("Unexpected error while normalizing locale ".concat(A,", falling back to English.")),"en"}}(g.locales||this.options.locales,g.locale)),g=this.layoutEngine.setOptions(g.layout,g),this.canvas.setOptions(g),this.groups.setOptions(g.groups),this.nodesHandler.setOptions(g.nodes),this.edgesHandler.setOptions(g.edges),this.physics.setOptions(g.physics),this.manipulation.setOptions(g.manipulation,g,this.options),this.interactionHandler.setOptions(g.interaction),this.renderer.setOptions(g.interaction),this.selectionHandler.setOptions(g.interaction),void 0!==g.groups&&this.body.emitter.emit("refreshNodes"),"configure"in g&&(this.configurator||(this.configurator=new Mn(this,this.body.container,Sl,this.canvas.pixelRatio,Fl)),this.configurator.setOptions(g.configure)),this.configurator&&!0===this.configurator.options.enabled){var t={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};on(t.nodes,this.nodesHandler.options),on(t.edges,this.edgesHandler.options),on(t.layout,this.layoutEngine.options),on(t.interaction,this.selectionHandler.options),on(t.interaction,this.renderer.options),on(t.interaction,this.interactionHandler.options),on(t.manipulation,this.manipulation.options),on(t.physics,this.physics.options),on(t.global,this.canvas.options),on(t.global,this.options),this.configurator.setModuleOptions(t)}void 0!==g.clickToUse?!0===g.clickToUse?void 0===this.activator&&(this.activator=new Pn(this.canvas.frame),this.activator.on("change",(function(){A.body.emitter.emit("activate")}))):(void 0!==this.activator&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}},Vl.prototype._updateVisibleIndices=function(){var g=this.body.nodes,A=this.body.edges;for(var t in this.body.nodeIndices=[],this.body.edgeIndices=[],g)Object.prototype.hasOwnProperty.call(g,t)&&(this.clustering._isClusteredNode(t)||!1!==g[t].options.hidden||this.body.nodeIndices.push(g[t].id));for(var e in A)if(Object.prototype.hasOwnProperty.call(A,e)){var C=A[e],I=g[C.fromId],i=g[C.toId],o=void 0!==I&&void 0!==i;!this.clustering._isClusteredEdge(e)&&!1===C.options.hidden&&o&&!1===I.options.hidden&&!1===i.options.hidden&&this.body.edgeIndices.push(C.id)}},Vl.prototype.bindEventListeners=function(){var g=this;this.body.emitter.on("_dataChanged",(function(){g.edgesHandler._updateState(),g.body.emitter.emit("_dataUpdated")})),this.body.emitter.on("_dataUpdated",(function(){g.clustering._updateState(),g._updateVisibleIndices(),g._updateValueRange(g.body.nodes),g._updateValueRange(g.body.edges),g.body.emitter.emit("startSimulation"),g.body.emitter.emit("_requestRedraw")}))},Vl.prototype.setData=function(g){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),g&&g.dot&&(g.nodes||g.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(g&&g.options),g&&g.dot){console.warn("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");var A=cr(g.dot);this.setData(A)}else if(g&&g.gephi){console.warn("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");var t=pr(g.gephi);this.setData(t)}else this.nodesHandler.setData(g&&g.nodes,!0),this.edgesHandler.setData(g&&g.edges,!0),this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")},Vl.prototype.destroy=function(){for(var g in this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images,this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,g)&&delete this.body.nodes[g];for(var A in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,A)&&delete this.body.edges[A];$o(this.body.container)},Vl.prototype._updateValueRange=function(g){var A,t=void 0,e=void 0,C=0;for(A in g)if(Object.prototype.hasOwnProperty.call(g,A)){var I=g[A].getValue();void 0!==I&&(t=void 0===t?I:Math.min(I,t),e=void 0===e?I:Math.max(I,e),C+=I)}if(void 0!==t&&void 0!==e)for(A in g)Object.prototype.hasOwnProperty.call(g,A)&&g[A].setValueRange(t,e,C)},Vl.prototype.isActive=function(){return!this.activator||this.activator.active},Vl.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)},Vl.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)},Vl.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)},Vl.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)},Vl.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)},Vl.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)},Vl.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)},Vl.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)},Vl.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)},Vl.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)},Vl.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)},Vl.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)},Vl.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)},Vl.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)},Vl.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)},Vl.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)},Vl.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)},Vl.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)},Vl.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)},Vl.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)},Vl.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)},Vl.prototype.editNodeMode=function(){return console.warn("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)},Vl.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)},Vl.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)},Vl.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)},Vl.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)},Vl.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)},Vl.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)},Vl.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)},Vl.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)},Vl.prototype.getConnectedNodes=function(g){return void 0!==this.body.nodes[g]?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)},Vl.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)},Vl.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)},Vl.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)},Vl.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)},Vl.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)},Vl.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)},Vl.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler,arguments)},Vl.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler,arguments)},Vl.prototype.getNodeAt=function(){var g=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return void 0!==g&&void 0!==g.id?g.id:g},Vl.prototype.getEdgeAt=function(){var g=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return void 0!==g&&void 0!==g.id?g.id:g},Vl.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)},Vl.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)},Vl.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler),this.redraw()},Vl.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)},Vl.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)},Vl.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)},Vl.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)},Vl.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)},Vl.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)},Vl.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)},Vl.prototype.getOptionsFromConfigurator=function(){var g={};return this.configurator&&(g=this.configurator.getOptions.apply(this.configurator)),g};var Yl=cr;g.DataSet=na,g.DataView=ra,g.Network=Vl,g.NetworkImages=mr,g.Queue=Ia,g.data=da,g.networkDOTParser=ur,g.networkGephiParser=fr,g.networkOptions=Gl,g.parseDOTNetwork=Yl,g.parseGephiNetwork=pr,Object.defineProperty(g,"__esModule",{value:!0})}));
//# sourceMappingURL=vis-network.min.js.map
window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":false},"autoA11y":{"enabled":true},"baseUrl":"https://ka-f.fontawesome.com","baseUrlKit":"https://kit.fontawesome.com","detectConflictsUntil":null,"iconUploads":{},"id":67695203,"license":"free","method":"css","minify":{"enabled":true},"token":"3ad4fe992f","v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"version":"5.15.3"};
!function(t){"function"==typeof define&&define.amd?define("kit-loader",t):t()}((function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?n(Object(o),!0).forEach((function(n){e(t,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){var n=e&&e.addOn||"",r=e&&e.baseFilename||t.license+n,o=e&&e.minify?".min":"",i=e&&e.fileSuffix||t.method,c=e&&e.subdir||t.method;return t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/"+c+"/"+r+o+"."+i}function a(t){return t.baseUrlKit+"/"+t.token+"/"+t.id+"/kit-upload.css"}function u(t,e){var n=e||["fa"],r="."+Array.prototype.join.call(n,",."),o=t.querySelectorAll(r);Array.prototype.forEach.call(o,(function(e){var n=e.getAttribute("title");e.setAttribute("aria-hidden","true");var r=!e.nextElementSibling||!e.nextElementSibling.classList.contains("sr-only");if(n&&r){var o=t.createElement("span");o.innerHTML=n,o.classList.add("sr-only"),e.parentNode.insertBefore(o,e.nextSibling)}}))}var f,s=function(){},d="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,l="undefined"==typeof setImmediate?setTimeout:setImmediate,h=[];function m(){for(var t=0;t<h.length;t++)h[t][0](h[t][1]);h=[],f=!1}function p(t,e){h.push([t,e]),f||(f=!0,l(m,0))}function y(t){var e=t.owner,n=e._state,r=e._data,o=t[n],i=t.then;if("function"==typeof o){n="fulfilled";try{r=o(r)}catch(t){w(i,t)}}b(i,r)||("fulfilled"===n&&v(i,r),"rejected"===n&&w(i,r))}function b(e,n){var r;try{if(e===n)throw new TypeError("A promises callback cannot return that same promise.");if(n&&("function"==typeof n||"object"===t(n))){var o=n.then;if("function"==typeof o)return o.call(n,(function(t){r||(r=!0,n===t?g(e,t):v(e,t))}),(function(t){r||(r=!0,w(e,t))})),!0}}catch(t){return r||w(e,t),!0}return!1}function v(t,e){t!==e&&b(t,e)||g(t,e)}function g(t,e){"pending"===t._state&&(t._state="settled",t._data=e,p(S,t))}function w(t,e){"pending"===t._state&&(t._state="settled",t._data=e,p(O,t))}function A(t){t._then=t._then.forEach(y)}function S(t){t._state="fulfilled",A(t)}function O(t){t._state="rejected",A(t),!t._handled&&d&&global.process.emit("unhandledRejection",t._data,t)}function j(t){global.process.emit("rejectionHandled",t)}function E(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof E==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){w(e,t)}try{t((function(t){v(e,t)}),n)}catch(t){n(t)}}(t,this)}E.prototype={constructor:E,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(s),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&d&&p(j,this)),"fulfilled"===this._state||"rejected"===this._state?p(y,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},E.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new E((function(e,n){var r=[],o=0;function i(t){return o++,function(n){r[t]=n,--o||e(r)}}for(var c,a=0;a<t.length;a++)(c=t[a])&&"function"==typeof c.then?c.then(i(a),n):r[a]=c;o||e(r)}))},E.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new E((function(e,n){for(var r,o=0;o<t.length;o++)(r=t[o])&&"function"==typeof r.then?r.then(e,n):e(r)}))},E.resolve=function(e){return e&&"object"===t(e)&&e.constructor===E?e:new E((function(t){t(e)}))},E.reject=function(t){return new E((function(e,n){n(t)}))};var _="function"==typeof Promise?Promise:E;function P(t,e){var n=e.fetch,r=e.XMLHttpRequest,o=e.token,i=t;return"URLSearchParams"in window?(i=new URL(t)).searchParams.set("token",o):i=i+"?token="+encodeURIComponent(o),i=i.toString(),new _((function(t,e){if("function"==typeof n)n(i,{mode:"cors",cache:"default"}).then((function(t){if(t.ok)return t.text();throw new Error("")})).then((function(e){t(e)})).catch(e);else if("function"==typeof r){var o=new r;o.addEventListener("loadend",(function(){this.responseText?t(this.responseText):e(new Error(""))}));["abort","error","timeout"].map((function(t){o.addEventListener(t,(function(){e(new Error(""))}))})),o.open("GET",i),o.send()}else{e(new Error(""))}}))}function C(t,e,n){var r=t;return[[/(url\("?)\.\.\/\.\.\/\.\./g,function(t,n){return"".concat(n).concat(e)}],[/(url\("?)\.\.\/webfonts/g,function(t,r){return"".concat(r).concat(e,"/releases/v").concat(n,"/webfonts")}],[/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,function(t,n){return"".concat(n).concat(e)}]].forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r=r.replace(n,i)})),r}function F(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=e.document||o,i=u.bind(u,o,["fa","fab","fas","far","fal","fad","fak"]),f=Object.keys(t.iconUploads||{}).length>0;t.autoA11y.enabled&&n(i);var s=[{id:"fa-main",addOn:void 0}];t.v4shim.enabled&&s.push({id:"fa-v4-shims",addOn:"-v4-shims"}),t.v4FontFaceShim.enabled&&s.push({id:"fa-v4-font-face",addOn:"-v4-font-face"}),f&&s.push({id:"fa-kit-upload",customCss:!0});var d=s.map((function(n){return new _((function(o,i){P(n.customCss?a(t):c(t,{addOn:n.addOn,minify:t.minify.enabled}),e).then((function(i){o(U(i,r(r({},e),{},{baseUrl:t.baseUrl,version:t.version,id:n.id,contentFilter:function(t,e){return C(t,e.baseUrl,e.version)}})))})).catch(i)}))}));return _.all(d)}function U(t,e){var n=e.contentFilter||function(t,e){return t},r=document.createElement("style"),o=document.createTextNode(n(t,e));return r.appendChild(o),r.media="all",e.id&&r.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),r}function k(t,e){e.autoA11y=t.autoA11y.enabled,"pro"===t.license&&(e.autoFetchSvg=!0,e.fetchSvgFrom=t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/svgs",e.fetchUploadedSvgFrom=t.uploadsUrl);var n=[];return t.v4shim.enabled&&n.push(new _((function(n,o){P(c(t,{addOn:"-v4-shims",minify:t.minify.enabled}),e).then((function(t){n(I(t,r(r({},e),{},{id:"fa-v4-shims"})))})).catch(o)}))),n.push(new _((function(n,o){P(c(t,{minify:t.minify.enabled}),e).then((function(t){var o=I(t,r(r({},e),{},{id:"fa-main"}));n(function(t,e){var n=e&&void 0!==e.autoFetchSvg?e.autoFetchSvg:void 0,r=e&&void 0!==e.autoA11y?e.autoA11y:void 0;void 0!==r&&t.setAttribute("data-auto-a11y",r?"true":"false");n&&(t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),t.setAttribute("data-fetch-svg-from",e.fetchSvgFrom),t.setAttribute("data-fetch-uploaded-svg-from",e.fetchUploadedSvgFrom));return t}(o,e))})).catch(o)}))),_.all(n)}function I(t,e){var n=document.createElement("SCRIPT"),r=document.createTextNode(t);return n.appendChild(r),n.referrerPolicy="strict-origin",e.id&&n.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n}function L(t){var e,n=[],r=document,o=r.documentElement.doScroll,i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);i||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),i?setTimeout(t,0):n.push(t)}function T(t){"undefined"!=typeof MutationObserver&&new MutationObserver(t).observe(document,{childList:!0,subtree:!0})}try{if(window.FontAwesomeKitConfig){var x=window.FontAwesomeKitConfig,M={detectingConflicts:x.detectConflictsUntil&&new Date<=new Date(x.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",fetch:window.fetch,token:x.token,XMLHttpRequest:window.XMLHttpRequest,document:document},D=document.currentScript,N=D?D.parentElement:document.head;(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"js"===t.method?k(t,e):"css"===t.method?F(t,e,(function(t){L(t),T(t)})):void 0})(x,M).then((function(t){t.map((function(t){try{N.insertBefore(t,D?D.nextSibling:null)}catch(e){N.appendChild(t)}})),M.detectingConflicts&&D&&L((function(){D.setAttributeNode(document.createAttribute(M.detectionIgnoreAttr));var t=function(t,e){var n=document.createElement("script");return e&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n.src=c(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),n}(x,M);document.body.appendChild(t)}))})).catch((function(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}))}}catch(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}}));
(function(){function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _iterableToArrayLimit(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(self.webpackChunknetex=self.webpackChunknetex||[]).push([[179,429],{8255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=8255,e.exports=t},9713:function(e,t,n){"use strict";n.d(t,{l3:function(){return o},_j:function(){return r},LC:function(){return i},ZN:function(){return d},jt:function(){return s},vP:function(){return l},SB:function(){return c},oB:function(){return u},eR:function(){return A},X$:function(){return a},ZE:function(){return f},k1:function(){return p}});var r=function e(){_classCallCheck(this,e)},i=function e(){_classCallCheck(this,e)},o="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function c(e,t,n){return{type:0,name:e,styles:t,options:n}}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function h(e){Promise.resolve(null).then(e)}var d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;h(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),f=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,i=0,o=0,a=this.players.length;0==a?h(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++r==a&&n._onFinish()}),e.onDestroy(function(){++i==a&&n._onDestroy()}),e.onStart(function(){++o==a&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),p="!"},1116:function(e,t,n){"use strict";n.d(t,{ez:function(){return he},K0:function(){return l},uU:function(){return se},JJ:function(){return ce},Nd:function(){return le},mk:function(){return J},sg:function(){return Y},O5:function(){return X},PC:function(){return ie},RF:function(){return ne},n9:function(){return re},tP:function(){return oe},OU:function(){return Ae},JF:function(){return pe},NF:function(){return fe},w_:function(){return s},bD:function(){return de},q:function(){return o},Mx:function(){return z},HT:function(){return a}});var r=n(5366),i=null;function o(){return i}function a(e){i||(i=e)}var s=function e(){_classCallCheck(this,e)},l=new r.OlP("DocumentToken"),u=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),c=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),A=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),h=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),d=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),f=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function p(e,t){return E((0,r.cg1)(e)[r.wAp.DateFormat],t)}function _(e,t){return E((0,r.cg1)(e)[r.wAp.TimeFormat],t)}function g(e,t){return E((0,r.cg1)(e)[r.wAp.DateTimeFormat],t)}function v(e,t){var n=(0,r.cg1)(e),i=n[r.wAp.NumberSymbols][t];if(void 0===i){if(t===f.CurrencyDecimal)return n[r.wAp.NumberSymbols][f.Decimal];if(t===f.CurrencyGroup)return n[r.wAp.NumberSymbols][f.Group]}return i}var m=r.kL8;function y(e){if(!e[r.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[r.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function E(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function C(e){var t=_slicedToArray(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var w=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,B={},b=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,T=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),k=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),O=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function M(e,t,n,r){var i=function(e){if(K(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=_slicedToArray(e.split("-").map(function(e){return+e}),3),n=t[0],r=t[1],i=void 0===r?1:r,o=t[2];return D(n,i-1,void 0===o?1:o)}var a,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(a=e.match(w))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(a)}var l=new Date(e);if(!K(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=I(n,t)||t;for(var o,a=[];t;){if(!(o=b.exec(t))){a.push(t);break}var s=(a=a.concat(o.slice(1))).pop();if(!s)break;t=s}var l=i.getTimezoneOffset();r&&(l=H(r,l),i=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(H(t,r)-r))}(i,r));var u="";return a.forEach(function(e){var t=function(e){if(N[e])return N[e];var t;switch(e){case"G":case"GG":case"GGG":t=S(O.Eras,h.Abbreviated);break;case"GGGG":t=S(O.Eras,h.Wide);break;case"GGGGG":t=S(O.Eras,h.Narrow);break;case"y":t=P(k.FullYear,1,0,!1,!0);break;case"yy":t=P(k.FullYear,2,0,!0,!0);break;case"yyy":t=P(k.FullYear,3,0,!1,!0);break;case"yyyy":t=P(k.FullYear,4,0,!1,!0);break;case"Y":t=R(1);break;case"YY":t=R(2,!0);break;case"YYY":t=R(3);break;case"YYYY":t=R(4);break;case"M":case"L":t=P(k.Month,1,1);break;case"MM":case"LL":t=P(k.Month,2,1);break;case"MMM":t=S(O.Months,h.Abbreviated);break;case"MMMM":t=S(O.Months,h.Wide);break;case"MMMMM":t=S(O.Months,h.Narrow);break;case"LLL":t=S(O.Months,h.Abbreviated,A.Standalone);break;case"LLLL":t=S(O.Months,h.Wide,A.Standalone);break;case"LLLLL":t=S(O.Months,h.Narrow,A.Standalone);break;case"w":t=L(1);break;case"ww":t=L(2);break;case"W":t=L(1,!0);break;case"d":t=P(k.Date,1);break;case"dd":t=P(k.Date,2);break;case"c":case"cc":t=P(k.Day,1);break;case"ccc":t=S(O.Days,h.Abbreviated,A.Standalone);break;case"cccc":t=S(O.Days,h.Wide,A.Standalone);break;case"ccccc":t=S(O.Days,h.Narrow,A.Standalone);break;case"cccccc":t=S(O.Days,h.Short,A.Standalone);break;case"E":case"EE":case"EEE":t=S(O.Days,h.Abbreviated);break;case"EEEE":t=S(O.Days,h.Wide);break;case"EEEEE":t=S(O.Days,h.Narrow);break;case"EEEEEE":t=S(O.Days,h.Short);break;case"a":case"aa":case"aaa":t=S(O.DayPeriods,h.Abbreviated);break;case"aaaa":t=S(O.DayPeriods,h.Wide);break;case"aaaaa":t=S(O.DayPeriods,h.Narrow);break;case"b":case"bb":case"bbb":t=S(O.DayPeriods,h.Abbreviated,A.Standalone,!0);break;case"bbbb":t=S(O.DayPeriods,h.Wide,A.Standalone,!0);break;case"bbbbb":t=S(O.DayPeriods,h.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":t=S(O.DayPeriods,h.Abbreviated,A.Format,!0);break;case"BBBB":t=S(O.DayPeriods,h.Wide,A.Format,!0);break;case"BBBBB":t=S(O.DayPeriods,h.Narrow,A.Format,!0);break;case"h":t=P(k.Hours,1,-12);break;case"hh":t=P(k.Hours,2,-12);break;case"H":t=P(k.Hours,1);break;case"HH":t=P(k.Hours,2);break;case"m":t=P(k.Minutes,1);break;case"mm":t=P(k.Minutes,2);break;case"s":t=P(k.Seconds,1);break;case"ss":t=P(k.Seconds,2);break;case"S":t=P(k.FractionalSeconds,1);break;case"SS":t=P(k.FractionalSeconds,2);break;case"SSS":t=P(k.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Q(T.Short);break;case"ZZZZZ":t=Q(T.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Q(T.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Q(T.Long);break;default:return null}return N[e]=t,t}(e);u+=t?t(i,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function D(e,t,n){var r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function I(e,t){var n=function(e){return(0,r.cg1)(e)[r.wAp.LocaleId]}(e);if(B[n]=B[n]||{},B[n][t])return B[n][t];var i="";switch(t){case"shortDate":i=p(e,d.Short);break;case"mediumDate":i=p(e,d.Medium);break;case"longDate":i=p(e,d.Long);break;case"fullDate":i=p(e,d.Full);break;case"shortTime":i=_(e,d.Short);break;case"mediumTime":i=_(e,d.Medium);break;case"longTime":i=_(e,d.Long);break;case"fullTime":i=_(e,d.Full);break;case"short":var o=I(e,"shortTime"),a=I(e,"shortDate");i=U(g(e,d.Short),[o,a]);break;case"medium":var s=I(e,"mediumTime"),l=I(e,"mediumDate");i=U(g(e,d.Medium),[s,l]);break;case"long":var u=I(e,"longTime"),c=I(e,"longDate");i=U(g(e,d.Long),[u,c]);break;case"full":var A=I(e,"fullTime"),h=I(e,"fullDate");i=U(g(e,d.Full),[A,h])}return i&&(B[n][t]=i),i}function U(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s,l=function(e,t){switch(e){case k.FullYear:return t.getFullYear();case k.Month:return t.getMonth();case k.Date:return t.getDate();case k.Hours:return t.getHours();case k.Minutes:return t.getMinutes();case k.Seconds:return t.getSeconds();case k.FractionalSeconds:return t.getMilliseconds();case k.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,o);if((n>0||l>-n)&&(l+=n),e===k.Hours)0===l&&-12===n&&(l=12);else if(e===k.FractionalSeconds)return s=t,x(l,3).substr(0,s);var u=v(a,f.MinusSign);return x(l,t,u,r,i)}}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(o,a){return function(e,t,n,i,o,a){switch(n){case O.Months:return function(e,t,n){var i=(0,r.cg1)(e),o=E([i[r.wAp.MonthsFormat],i[r.wAp.MonthsStandalone]],t);return E(o,n)}(t,o,i)[e.getMonth()];case O.Days:return function(e,t,n){var i=(0,r.cg1)(e),o=E([i[r.wAp.DaysFormat],i[r.wAp.DaysStandalone]],t);return E(o,n)}(t,o,i)[e.getDay()];case O.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(a){var u=function(e){var t=(0,r.cg1)(e);return y(t),(t[r.wAp.ExtraData][2]||[]).map(function(e){return"string"==typeof e?C(e):[C(e[0]),C(e[1])]})}(t),c=function(e,t,n){var i=(0,r.cg1)(e);y(i);var o=E([i[r.wAp.ExtraData][0],i[r.wAp.ExtraData][1]],t)||[];return E(o,n)||[]}(t,o,i),A=u.findIndex(function(e){if(Array.isArray(e)){var t=_slicedToArray(e,2),n=t[0],r=t[1],i=s>=n.hours&&l>=n.minutes,o=s<r.hours||s===r.hours&&l<r.minutes;if(n.hours<r.hours){if(i&&o)return!0}else if(i||o)return!0}else if(e.hours===s&&e.minutes===l)return!0;return!1});if(-1!==A)return c[A]}return function(e,t,n){var i=(0,r.cg1)(e),o=E([i[r.wAp.DayPeriodsFormat],i[r.wAp.DayPeriodsStandalone]],t);return E(o,n)}(t,o,i)[s<12?0:1];case O.Eras:return function(e,t){return E((0,r.cg1)(e)[r.wAp.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(n))}}(o,a,e,t,n,i)}}function Q(e){return function(t,n,r){var i=-1*r,o=v(n,f.MinusSign),a=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case T.Short:return(i>=0?"+":"")+x(a,2,o)+x(Math.abs(i%60),2,o);case T.ShortGMT:return"GMT"+(i>=0?"+":"")+x(a,1,o);case T.Long:return"GMT"+(i>=0?"+":"")+x(a,2,o)+":"+x(Math.abs(i%60),2,o);case T.Extended:return 0===r?"Z":(i>=0?"+":"")+x(a,2,o)+":"+x(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function F(e){return D(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function L(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var i,o,a;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();i=1+Math.floor((l+s)/7)}else{var u=F(n),c=(o=u.getFullYear(),a=D(o,0,1).getDay(),D(o,0,1+(a<=4?4:11)-a)),A=u.getTime()-c.getTime();i=1+Math.round(A/6048e5)}return x(i,e,v(r,f.MinusSign))}}function R(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){return x(F(n).getFullYear(),e,v(r,f.MinusSign),t)}}var N={};function H(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function K(e){return e instanceof Date&&!isNaN(e.valueOf())}var Z=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function V(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var W=function e(){_classCallCheck(this,e)},q=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).locale=e,r}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(m(t||this.locale)(e)){case c.Zero:return"zero";case c.One:return"one";case c.Two:return"two";case c.Few:return"few";case c.Many:return"many";default:return"other"}}}]),n}(W);return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.soG))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function z(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=_slicedToArray(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],l=a[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(u){r.e(u)}finally{r.f()}return null}var J=function(){var e=function(){function e(t,n,r,i){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,r.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,r.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),G=function(){function e(t,n,r,i){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Y=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new G(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new j(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var l=new j(e,s);n.push(l)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var a=this._viewContainer.get(i);a.context.index=i,a.context.count=o,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),j=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},X=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new $,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){ee("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){ee("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),$=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function ee(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat((0,r.AaK)(t),"'."))}var te=function(){function e(t,n){_classCallCheck(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return _createClass(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),ne=function(){var e=function(){function e(){_classCallCheck(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return _createClass(e,[{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),re=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.ngSwitch=r,r._addCase(),this._view=new te(t,n)}return _createClass(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(ne,9))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),ie=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._ngEl=t,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}return _createClass(e,[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=_slicedToArray(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?"".concat(t).concat(i):t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),oe=function(){var e=function(){function e(t){_classCallCheck(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(e.ngTemplateOutlet){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),e}();function ae(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat((0,r.AaK)(e),"'"))}var se=function(){var e=function(){function e(t){_classCallCheck(this,e),this.locale=t}return _createClass(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return M(t,n,i||this.locale,r)}catch(o){throw ae(e,o.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.soG,16))},e.\u0275pipe=r.Yjl({name:"date",type:e,pure:!0}),e}(),le=function(){var e=function(){function e(t){_classCallCheck(this,e),this.differs=t,this.keyValues=[]}return _createClass(e,[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem(function(e){t.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(n)),this.keyValues}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.aQg,16))},e.\u0275pipe=r.Yjl({name:"keyvalue",type:e,pure:!1}),e}();function ue(e,t){var n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;var i=String(n),o=String(r);return i==o?0:i<o?-1:1}var ce=function(){var e=function(){function e(t){_classCallCheck(this,e),this._locale=t}return _createClass(e,[{key:"transform",value:function(t,n,i){if(!function(e){return!(null==e||""===e||e!=e)}(t))return null;i=i||this._locale;try{return function(e,t,n){return function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",l=!1;if(isFinite(e)){var u=function(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(u=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));var c=t.minInt,A=t.minFrac,h=t.maxFrac;if(o){var d=o.match(Z);if(null===d)throw new Error("".concat(o," is not a valid digit info"));var p=d[1],_=d[3],g=d[5];null!=p&&(c=V(p)),null!=_&&(A=V(_)),null!=g?h=V(g):null!=_&&A>h&&(h=A)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var l=a;l<r.length;l++)r[l]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var u=1;u<a;u++)r[u]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var A=0!==o,h=t+e.integerLen,d=r.reduceRight(function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,A&&(0===r[n]&&n>=h?r.pop():A=!1),t>=10?1:0},0);d&&(r.unshift(d),e.integerLen++)}(u,A,h);var m=u.digits,y=u.integerLen,E=u.exponent,C=[];for(l=m.every(function(e){return!e});y<c;y++)m.unshift(0);for(;y<0;y++)m.unshift(0);y>0?C=m.splice(y,m.length):(C=m,m=[0]);var w=[];for(m.length>=t.lgSize&&w.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)w.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&w.unshift(m.join("")),s=w.join(v(n,r)),C.length&&(s+=v(n,i)+C.join("")),E&&(s+=v(n,f.Exponential)+"+"+E)}else s=v(n,f.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}(e,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],a=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u<l.length;u++){var c=l.charAt(u);"0"===c?n.minFrac=n.maxFrac=u+1:"#"===c?n.maxFrac=u+1:n.posSuf+=c}var A=s.split(",");if(n.gSize=A[1]?A[1].length:0,n.lgSize=A[2]||A[1]?(A[2]||A[1]).length:0,o){var h=i.length-n.posPre.length-n.posSuf.length,d=o.indexOf("#");n.negPre=o.substr(0,d).replace(/'/g,""),n.negSuf=o.substr(d+h).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return(0,r.cg1)(e)[r.wAp.NumberFormats][t]}(t,u.Decimal),v(t,f.MinusSign)),t,f.Group,f.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error("".concat(e," is not a number"));return e}(t),i,n)}catch(o){throw ae(e,o.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.soG,16))},e.\u0275pipe=r.Yjl({name:"number",type:e,pure:!0}),e}(),Ae=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(t,n,r){if(null==t)return null;if(!this.supports(t))throw ae(e,t);return t.slice(n,r)}},{key:"supports",value:function(e){return"string"==typeof e||Array.isArray(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Yjl({name:"slice",type:e,pure:!1}),e}(),he=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[{provide:W,useClass:q}]}),e}(),de="browser";function fe(e){return e===de}var pe=function e(){_classCallCheck(this,e)}},8297:function(e,t,n){"use strict";n.d(t,{eN:function(){return M},JF:function(){return K},LE:function(){return g}});var r=n(1116),i=n(5366),o=n(2041),a=n(2391),s=n(7228),l=n(7849),u=n(8868),c=n(1681),A=function e(){_classCallCheck(this,e)},h=function e(){_classCallCheck(this,e)},d=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))})}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,_toConsumableArray(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===i.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function _(e){return"".concat(e)}var g=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new f,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var r=e.indexOf("="),i=_slicedToArray(-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],2),o=i[0],a=i[1],s=n.get(o)||[];s.push(a),n.set(o,s)}),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var r=n.fromObject[e];t.map.set(e,Array.isArray(r)?r:[r])})):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n];Array.isArray(r)?r.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(_(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(_(t.value));-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),v=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function E(e){return"undefined"!=typeof FormData&&e instanceof FormData}var C=function(){function e(t,n,r,i){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new d),this.context||(this.context=new v),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new g,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:m(this.body)||y(this.body)||E(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||E(this.body)?null:y(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,a=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,u=n.headers||this.headers,c=n.params||this.params,A=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(u=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},u)),n.setParams&&(c=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},c)),new e(r,i,a,{params:c,headers:u,context:A,reportProgress:l,responseType:o,withCredentials:s})}}]),e}(),w=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),B=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},b=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=w.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(B),T=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=w.Response,e.body=void 0!==r.body?r.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(B),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(B);function O(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var M=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,r,i,a=this,A=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof C?n=e:(r=A.headers instanceof d?A.headers:new d(A.headers),A.params&&(i=A.params instanceof g?A.params:new g({fromObject:A.params})),n=new C(e,t,void 0!==A.body?A.body:null,{headers:r,context:A.context,params:i,reportProgress:A.reportProgress,responseType:A.responseType||"json",withCredentials:A.withCredentials}));var h,f=(0,o.of)(n).pipe((h=function(e){return a.handler.handle(e)},(0,l.m)(void 0)?(0,s.z)(h,void 0,1):(0,s.z)(h,1)));if(e instanceof C||"events"===A.observe)return f;var p=f.pipe((0,u.h)(function(e){return e instanceof T}));switch(A.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return p.pipe((0,c.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return p.pipe((0,c.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return p.pipe((0,c.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return p.pipe((0,c.U)(function(e){return e.body}))}case"response":return p;default:throw new Error("Unreachable: unhandled observe type ".concat(A.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,O(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,O(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,O(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(A))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),D=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),I=new i.OlP("HTTP_INTERCEPTORS"),U=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),x=/^\)\]\}',?\n/,P=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.y(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new d(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new b({headers:i,status:t,statusText:n,url:o})},u=function(){var t=l(),i=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var A=u;u=u.replace(x,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=A,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new T({body:u,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new k({error:u,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=l().url,i=new k({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},A=!1,h=function(t){A||(n.next(l()),A=!0);var i={type:w.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(e){var t={type:w.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",h),null!==a&&r.upload&&r.upload.addEventListener("progress",f)),r.send(a),n.next({type:w.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",u),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",h),null!==a&&r.upload&&r.upload.removeEventListener("progress",f)),r.readyState!==r.DONE&&r.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.JF))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),S=new i.OlP("XSRF_COOKIE_NAME"),Q=new i.OlP("XSRF_HEADER_NAME"),F=function e(){_classCallCheck(this,e)},L=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(S))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),R=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(F),i.LFG(Q))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),N=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(I,[]);this.chain=t.reduceRight(function(e,t){return new D(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(h),i.LFG(i.zs3))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e}(),H=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:R,useClass:U}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:S,useValue:t.cookieName}:[],t.headerName?{provide:Q,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[R,{provide:I,useExisting:R,multi:!0},{provide:F,useClass:L},{provide:S,useValue:"XSRF-TOKEN"},{provide:Q,useValue:"X-XSRF-TOKEN"}]}),e}(),K=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[M,{provide:A,useClass:N},P,{provide:h,useExisting:P}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},5366:function(e,t,n){"use strict";n.d(t,{AFp:function(){return vd},ip1:function(){return _d},CZH:function(){return gd},hGG:function(){return cf},z2F:function(){return of},n4l:function(){return S},sBO:function(){return CA},wA2:function(){return ld},_Vd:function(){return qc},aQ5:function(){return En},AcB:function(){return yn},EJc:function(){return Td},Xek:function(){return sd},SBq:function(){return Yc},qLn:function(){return vi},vpe:function(){return vh},L6J:function(){return Ad},gxx:function(){return wa},GSi:function(){return Ds},OlP:function(){return vn},zs3:function(){return Fa},IIB:function(){return ud},ZZ4:function(){return pA},aQg:function(){return gA},soG:function(){return bd},LVF:function(){return fd},h0i:function(){return DA},PXZ:function(){return $d},R0b:function(){return Fd},FiY:function(){return $n},r_U:function(){return cd},Lbi:function(){return Cd},g9A:function(){return Ed},Qsj:function(){return $c},FYo:function(){return Xc},JOm:function(){return ki},Tiy:function(){return tA},q3G:function(){return ri},WD2:function(){return ye},Rgc:function(){return kA},dDg:function(){return Vd},GfV:function(){return nA},i9L:function(){return Cn},s_b:function(){return UA},ifc:function(){return Q},eFA:function(){return ef},G48:function(){return jd},Gpc:function(){return d},f3M:function(){return Gn},_c5:function(){return lf},VLi:function(){return qd},c2e:function(){return Bd},zSh:function(){return ba},wAp:function(){return Iu},vHH:function(){return _},EiD:function(){return ti},mCW:function(){return Fr},qzn:function(){return br},JVY:function(){return kr},pB0:function(){return Ir},eBb:function(){return Mr},L6k:function(){return Or},LAX:function(){return Dr},cg1:function(){return Ou},Tjo:function(){return sf},kL8:function(){return Mu},yhl:function(){return Tr},dqk:function(){return H},sIi:function(){return ja},CqO:function(){return Ws},QGY:function(){return Zs},F4k:function(){return Vs},zlt:function(){return ZA},RDi:function(){return Te},AaK:function(){return c},z3N:function(){return Br},qOj:function(){return Na},TTD:function(){return Ee},_Bn:function(){return Zc},xp6:function(){return Co},uIk:function(){return os},Tol:function(){return Tl},Gre:function(){return Yl},ekj:function(){return wl},Suo:function(){return Uh},Xpm:function(){return X},lG2:function(){return ae},Yz7:function(){return E},cJS:function(){return C},oAB:function(){return re},Yjl:function(){return se},Y36:function(){return Us},_UZ:function(){return Ls},GkF:function(){return Hs},BQk:function(){return Ns},ynx:function(){return Rs},qZA:function(){return Fs},TgZ:function(){return Qs},EpF:function(){return Ks},n5z:function(){return sn},LFG:function(){return zn},$8M:function(){return un},NdJ:function(){return qs},CRH:function(){return xh},oxw:function(){return js},ALo:function(){return uh},lcZ:function(){return ch},xi3:function(){return Ah},Dn7:function(){return hh},Hsn:function(){return el},F$t:function(){return $s},Q6J:function(){return Ps},s9C:function(){return tl},MGl:function(){return nl},DdM:function(){return zA},VKq:function(){return JA},WLB:function(){return GA},kEZ:function(){return YA},l5B:function(){return jA},qbA:function(){return XA},HTZ:function(){return $A},Hh0:function(){return eh},iGM:function(){return Dh},MAs:function(){return bs},Jf7:function(){return Ci},CHM:function(){return ze},LSH:function(){return ai},kYT:function(){return ie},Udp:function(){return Cl},YNc:function(){return Bs},W1O:function(){return Fh},_uU:function(){return Rl},Oqu:function(){return Nl},hij:function(){return Hl},Gf:function(){return Ih}});var r=n(9666),i=n(6042),o=n(2391),a=n(5446),s=n(5728);function l(e){for(var t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function c(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(c).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function A(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var h=l({__forward_ref__:l});function d(e){return e.__forward_ref__=d,e.toString=function(){return c(this())},e}function f(e){return p(e)?e():e}function p(e){return"function"==typeof e&&e.hasOwnProperty(h)&&e.__forward_ref__===d}var _=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,r))).code=e,i}return n}(_wrapNativeSuper(Error));function g(e){return"string"==typeof e?e:null==e?"":String(e)}function v(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():g(e)}function m(e,t){var n=t?" in ".concat(t):"";throw new _("201","No provider for ".concat(v(e)," found").concat(n))}function y(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(n," ").concat(r," ").concat(t," <=Actual]")))}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function C(e){return{providers:e.providers||[],imports:e.imports||[]}}function w(e){return B(e,k)||B(e,M)}function B(e,t){return e.hasOwnProperty(t)?e[t]:null}function b(e){return e&&(e.hasOwnProperty(O)||e.hasOwnProperty(D))?e[O]:null}var T,k=l({"\u0275prov":l}),O=l({"\u0275inj":l}),M=l({ngInjectableDef:l}),D=l({ngInjectorDef:l}),I=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function U(e){var t=T;return T=e,t}function x(e,t,n){var r=w(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&I.Optional?null:void 0!==t?t:void m(c(e),"Injector")}function P(e){return{toString:e}.toString()}var S=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Q=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),F="undefined"!=typeof globalThis&&globalThis,L="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,N="undefined"!=typeof global&&global,H=F||N||L||R,K={},Z=[],V=l({"\u0275cmp":l}),W=l({"\u0275dir":l}),q=l({"\u0275pipe":l}),z=l({"\u0275mod":l}),J=l({"\u0275loc":l}),G=l({"\u0275fac":l}),Y=l({__NG_ELEMENT_ID__:l}),j=0;function X(e){return P(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===S.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Q.Emulated,id:"c",styles:e.styles||Z,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=j++,n.inputs=oe(e.inputs,t),n.outputs=oe(e.outputs),i&&i.forEach(function(e){return e(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(ee)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(te)}:null,n})}function $(e,t,n){var r=e.\u0275cmp;r.directiveDefs=function(){return t.map(ee)},r.pipeDefs=function(){return n.map(te)}}function ee(e){return le(e)||ue(e)}function te(e){return ce(e)}var ne={};function re(e){var t={type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&P(function(){ne[e.id]=e.type}),t}function ie(e,t){return P(function(){var n=Ae(e,!0);n.declarations=t.declarations||Z,n.imports=t.imports||Z,n.exports=t.exports||Z})}function oe(e,t){if(null==e)return K;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var ae=X;function se(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function le(e){return e[V]||null}function ue(e){return e[W]||null}function ce(e){return e[q]||null}function Ae(e,t){var n=e[z]||null;if(!n&&!0===t)throw new Error("Type ".concat(c(e)," does not have '\u0275mod' property."));return n}function he(e){return Array.isArray(e)&&"object"==typeof e[1]}function de(e){return Array.isArray(e)&&!0===e[1]}function fe(e){return 0!=(8&e.flags)}function pe(e){return 2==(2&e.flags)}function _e(e){return 1==(1&e.flags)}function ge(e){return null!==e.template}function ve(e,t){return e.hasOwnProperty(G)?e[G]:null}var me,ye=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Ee(){return Ce}function Ce(e){return e.type.prototype.ngOnChanges&&(e.setInput=Be),we}function we(){var e=be(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===K)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Be(e,t,n,r){var i=be(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:K,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],l=a[s];o[s]=new ye(l&&l.currentValue,t,a===K),e[r]=t}function be(e){return e.__ngSimpleChanges__||null}function Te(e){me=e}function ke(){return void 0!==me?me:"undefined"!=typeof document?document:void 0}function Oe(e){return!!e.listen}Ee.ngInherit=!0;var Me={createRenderer:function(e,t){return ke()}};function De(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e,t){return De(t[e])}function Ue(e,t){return De(t[e.index])}function xe(e,t){return e.data[t]}function Pe(e,t){return e[t]}function Se(e,t){var n=t[e];return he(n)?n:n[0]}function Qe(e){return 4==(4&e[2])}function Fe(e){return 128==(128&e[2])}function Le(e,t){return null==t?null:e[t]}function Re(e){e[18]=0}function Ne(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var He={lFrame:_t(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ke(){return He.bindingsEnabled}function Ze(){He.bindingsEnabled=!0}function Ve(){He.bindingsEnabled=!1}function We(){return He.lFrame.lView}function qe(){return He.lFrame.tView}function ze(e){return He.lFrame.contextLView=e,e[8]}function Je(){for(var e=Ge();null!==e&&64===e.type;)e=e.parent;return e}function Ge(){return He.lFrame.currentTNode}function Ye(){var e=He.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function je(e,t){var n=He.lFrame;n.currentTNode=e,n.isParent=t}function Xe(){return He.lFrame.isParent}function $e(){He.lFrame.isParent=!1}function et(){return He.isInCheckNoChangesMode}function tt(e){He.isInCheckNoChangesMode=e}function nt(){var e=He.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rt(){return He.lFrame.bindingIndex}function it(e){return He.lFrame.bindingIndex=e}function ot(){return He.lFrame.bindingIndex++}function at(e){var t=He.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function st(e){He.lFrame.inI18n=e}function lt(e){He.lFrame.currentDirectiveIndex=e}function ut(e){var t=He.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ct(){return He.lFrame.currentQueryIndex}function At(e){He.lFrame.currentQueryIndex=e}function ht(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function dt(e,t,n){if(n&I.SkipSelf){for(var r=t,i=e;!(null!==(r=r.parent)||n&I.Host||(r=ht(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}var o=He.lFrame=pt();return o.currentTNode=t,o.lView=e,!0}function ft(e){var t=pt(),n=e[1];He.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pt(){var e=He.lFrame,t=null===e?null:e.child;return null===t?_t(e):t}function _t(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function gt(){var e=He.lFrame;return He.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var vt=gt;function mt(){var e=gt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function yt(){return He.lFrame.selectedIndex}function Et(e){He.lFrame.selectedIndex=e}function Ct(){var e=He.lFrame;return xe(e.tView,e.selectedIndex)}function wt(){He.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Bt(){He.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function bt(){He.lFrame.currentNamespace=null}function Tt(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n].type.prototype,o=i.ngAfterContentInit,a=i.ngAfterContentChecked,s=i.ngAfterViewInit,l=i.ngAfterViewChecked,u=i.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function kt(e,t,n){Dt(e,t,3,n)}function Ot(e,t,n,r){(3&e[2])===n&&Dt(e,t,n,r)}function Mt(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Dt(e,t,n,r){for(var i=null!=r?r:-1,o=t.length-1,a=0,s=void 0!==r?65535&e[18]:0;s<o;s++)if("number"==typeof t[s+1]){if(a=t[s],null!=r&&a>=r)break}else t[s]<0&&(e[18]+=65536),(a<i||-1==i)&&(It(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function It(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}var Ut=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function xt(e,t,n){for(var r=Oe(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],l=n[i++];r?e.setAttribute(t,s,l,a):t.setAttributeNS(a,s,l)}else{var u=o,c=n[++i];St(u)?r&&e.setProperty(t,u,c):r?e.setAttribute(t,u,c):t.setAttribute(u,c),i++}}return i}function Pt(e){return 3===e||4===e||6===e}function St(e){return 64===e.charCodeAt(0)}function Qt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||Ft(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Ft(e,t,n,r,i){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var l=e[o];if("number"==typeof l)break;if(l===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Lt(e){return-1!==e}function Rt(e){return 32767&e}function Nt(e,t){for(var n=e>>16,r=t;n>0;)r=r[15],n--;return r}var Ht=!0;function Kt(e){var t=Ht;return Ht=e,t}var Zt=0;function Vt(e,t){var n=qt(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Wt(r.data,e),Wt(t,null),Wt(r.blueprint,null));var i=zt(e,t),o=e.injectorIndex;if(Lt(i))for(var a=Rt(i),s=Nt(i,t),l=s[1].data,u=0;u<8;u++)t[o+u]=s[a+u]|l[a+u];return t[o+8]=i,o}function Wt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function zt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var o=i[1],a=o.type;if(null===(r=2===a?o.declTNode:1===a?i[6]:null))return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Jt(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Y)&&(r=n[Y]),null==r&&(r=n[Y]=Zt++);var i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Gt(e,t,n){if(n&I.Optional)return e;m(t,"NodeInjector")}function Yt(e,t,n,r){if(n&I.Optional&&void 0===r&&(r=null),0==(n&(I.Self|I.Host))){var i=e[9],o=U(void 0);try{return i?i.get(t,r,n&I.Optional):x(t,r,n&I.Optional)}finally{U(o)}}return Gt(r,t,n)}function jt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:I.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(Y)?e[Y]:void 0;return"number"==typeof t?t>=0?255&t:$t:t}(n);if("function"==typeof o){if(!dt(t,e,r))return r&I.Host?Gt(i,n,r):Yt(t,n,r,i);try{var a=o(r);if(null!=a||r&I.Optional)return a;m(n)}finally{vt()}}else if("number"==typeof o){var s=null,l=qt(e,t),u=-1,c=r&I.Host?t[16][6]:null;for((-1===l||r&I.SkipSelf)&&(-1!==(u=-1===l?zt(e,t):t[l+8])&&on(r,!1)?(s=t[1],l=Rt(u),t=Nt(u,t)):l=-1);-1!==l;){var A=t[1];if(rn(o,l,A.data)){var h=en(l,t,n,s,r,c);if(h!==Xt)return h}-1!==(u=t[l+8])&&on(r,t[1].data[l+8]===c)&&rn(o,l,t)?(s=A,l=Rt(u),t=Nt(u,t)):l=-1}}}return Yt(t,n,r,i)}var Xt={};function $t(){return new an(Je(),We())}function en(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],l=tn(s,a,n,null==r?pe(s)&&Ht:r!=a&&0!=(3&s.type),i&I.Host&&o===s);return null!==l?nn(t,a,l,s):Xt}function tn(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=1048575&o,l=e.directiveStart,u=o>>20,c=i?s+u:e.directiveEnd,A=r?s:s+u;A<c;A++){var h=a[A];if(A<l&&n===h||A>=l&&h.type===n)return A}if(i){var d=a[l];if(d&&ge(d)&&d.type===n)return l}return null}function nn(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Ut){var a=i;a.resolving&&function(e,t){throw new _("200","Circular dependency in DI detected for ".concat(e))}(v(o[n]));var s=Kt(a.canSeeViewProviders);a.resolving=!0;var l=a.injectImpl?U(a.injectImpl):null;dt(e,r,I.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.type.prototype,i=r.ngOnChanges,o=r.ngOnInit,a=r.ngDoCheck;if(i){var s=Ce(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,o[n],t)}finally{null!==l&&U(l),Kt(s),a.resolving=!1,vt()}}return i}function rn(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function on(e,t){return!(e&I.Self||e&I.Host&&t)}var an=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return jt(this._tNode,this._lView,e,void 0,t)}}]),e}();function sn(e){return P(function(){for(var t=e.prototype.constructor,n=t[G]||ln(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[G]||ln(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}})}function ln(e){return p(e)?function(){var t=ln(f(e));return t&&t()}:ve(e)}function un(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Pt(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(Je(),e)}var cn="__annotations__",An="__parameters__",hn="__prop__metadata__";function dn(e,t,n,r,i){return P(function(){var o=fn(t);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof a)return o.call.apply(o,[this].concat(t)),this;var s=_construct(a,t);return function(e){return i&&i.apply(void 0,[e].concat(t)),(e.hasOwnProperty(cn)?e[cn]:Object.defineProperty(e,cn,{value:[]})[cn]).push(s),r&&r(e),e}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function fn(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}function pn(e,t,n){return P(function(){var r=fn(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=_construct(i,t);return a.annotation=o,a;function a(e,t,n){for(var r=e.hasOwnProperty(An)?e[An]:Object.defineProperty(e,An,{value:[]})[An];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function _n(e,t,n,r){return P(function(){var i=fn(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return i.apply(this,t),this;var a=_construct(o,t);return function(e,n){var i=e.constructor,o=i.hasOwnProperty(hn)?i[hn]:Object.defineProperty(i,hn,{value:{}})[hn];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),r&&r.apply(void 0,[e,n].concat(t))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var gn=pn("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return un(e)}}}),vn=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}(),mn=function e(){_classCallCheck(this,e)},yn=_n("ContentChildren",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t)},mn),En=_n("ContentChild",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},mn),Cn=_n("ViewChild",function(e,t){return Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},mn);function wn(){var e=H.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}var Bn=Function;function bn(e){return"function"==typeof e}function Tn(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Tn(r,t)):t!==e&&t.push(r)}return t}function kn(e,t){e.forEach(function(e){return Array.isArray(e)?kn(e,t):t(e)})}function On(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Dn(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function In(e,t,n){var r=xn(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Un(e,t){var n=xn(e,t);if(n>=0)return e[1|n]}function xn(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var Pn=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Sn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Qn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Fn=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Ln=function(){function e(t){_classCallCheck(this,e),this._reflect=t||H.Reflect}return _createClass(e,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _construct(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=Dn(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),Pn.test(n)||Fn.test(n)||Sn.test(n)&&!Qn.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var i="function"==typeof r?r():r,o=i.map(function(e){return e&&e.type}),a=i.map(function(e){return e&&Rn(e.decorators)});return this._zipTypesAndAnnotations(o,a)}var s=e.hasOwnProperty(An)&&e[An],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return l||s?this._zipTypesAndAnnotations(l,s):Dn(e.length)}},{key:"parameters",value:function(e){if(!bn(e))return[];var t=Nn(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Rn(e.decorators):e.hasOwnProperty(cn)?e[cn]:null}},{key:"annotations",value:function(e){if(!bn(e))return[];var t=Nn(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,i={};return Object.keys(r).forEach(function(e){i[e]=Rn(r[e])}),i}return e.hasOwnProperty(hn)?e[hn]:null}},{key:"propMetadata",value:function(e){if(!bn(e))return{};var t=Nn(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,_toConsumableArray(n[e])),t.push.apply(t,_toConsumableArray(i[e])),n[e]=t}),n}},{key:"ownPropMetadata",value:function(e){return bn(e)&&this._ownPropMetadata(e,Nn(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof Bn&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){return new Function("o","args","if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n return o.").concat(e,".apply(o, args);"))}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./".concat(c(e))}},{key:"resourceUri",value:function(e){return"./".concat(c(e))}},{key:"resolveIdentifier",value:function(e,t,n,r){return r}},{key:"resolveEnum",value:function(e,t){return e[t]}}]),e}();function Rn(e){return e?e.map(function(e){return _construct(e.type.annotationCls,_toConsumableArray(e.args?e.args:[]))}):[]}function Nn(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Hn,Kn={},Zn=/\n/gm,Vn=l({provide:String,useValue:l});function Wn(e){var t=Hn;return Hn=e,t}function qn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default;if(void 0===Hn)throw new Error("inject() must be called from an injection context");return null===Hn?x(e,void 0,t):Hn.get(e,t&I.Optional?null:void 0,t)}function zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default;return(T||qn)(f(e),t)}function Jn(e){throw new Error("invalid")}var Gn=zn;function Yn(e){for(var t=[],n=0;n<e.length;n++){var r=f(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=I.Default,a=0;a<r.length;a++){var s=r[a],l=s.__NG_DI_FLAG__;"number"==typeof l?-1===l?i=s.token:o|=l:i=s}t.push(zn(i,o))}else t.push(zn(r))}return t}function jn(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}var Xn=jn(pn("Inject",function(e){return{token:e}}),-1),$n=jn(pn("Optional"),8),er=jn(pn("Self"),2),tr=jn(pn("SkipSelf"),4),nr=jn(pn("Host"),1),rr=null;function ir(){return rr=rr||new Ln}function or(e){return ar(ir().parameters(e))}function ar(e){return e.map(function(e){return function(e){var t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(var n=0;n<e.length;n++){var r=e[n];if(void 0!==r){var i=Object.getPrototypeOf(r);if(r instanceof $n||"Optional"===i.ngMetadataName)t.optional=!0;else if(r instanceof tr||"SkipSelf"===i.ngMetadataName)t.skipSelf=!0;else if(r instanceof er||"Self"===i.ngMetadataName)t.self=!0;else if(r instanceof nr||"Host"===i.ngMetadataName)t.host=!0;else if(r instanceof Xn)t.token=r.token;else if(r instanceof gn){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(e)})}var sr,lr,ur=new Map,cr=new Set;function Ar(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function hr(){if(void 0===sr&&(sr=null,H.trustedTypes))try{sr=H.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return sr}function dr(e){var t;return(null===(t=hr())||void 0===t?void 0:t.createHTML(e))||e}function fr(){if(void 0===lr&&(lr=null,H.trustedTypes))try{lr=H.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return lr}function pr(e){var t;return(null===(t=fr())||void 0===t?void 0:t.createHTML(e))||e}function _r(e){var t;return(null===(t=fr())||void 0===t?void 0:t.createScript(e))||e}function gr(e){var t;return(null===(t=fr())||void 0===t?void 0:t.createScriptURL(e))||e}var vr=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity," (see https://g.co/ng/security#xss)")}}]),e}(),mr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(vr),yr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(vr),Er=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(vr),Cr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(vr),wr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(vr);function Br(e){return e instanceof vr?e.changingThisBreaksApplicationSecurity:e}function br(e,t){var n=Tr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function Tr(e){return e instanceof vr&&e.getTypeName()||null}function kr(e){return new mr(e)}function Or(e){return new yr(e)}function Mr(e){return new Er(e)}function Dr(e){return new Cr(e)}function Ir(e){return new wr(e)}function Ur(e){var t=new Pr(e);return function(){try{return!!(new window.DOMParser).parseFromString(dr(""),"text/html")}catch(e){return!1}}()?new xr(t):t}var xr=function(){function e(t){_classCallCheck(this,e),this.inertDocumentHelper=t}return _createClass(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(dr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),Pr=function(){function e(t){if(_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var r=this.inertDocument.createElement("body");n.appendChild(r)}}return _createClass(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=dr(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=dr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),Sr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Qr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Fr(e){return(e=String(e)).match(Sr)||e.match(Qr)?e:"unsafe:"+e}function Lr(e){return(e=String(e)).split(",").map(function(e){return Fr(e.trim())}).join(", ")}function Rr(e){var t,n={},r=_createForOfIteratorHelper(e.split(","));try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(i){r.e(i)}finally{r.f()}return n}function Nr(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var Hr,Kr=Rr("area,br,col,hr,img,wbr"),Zr=Rr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vr=Rr("rp,rt"),Wr=Nr(Vr,Zr),qr=Nr(Kr,Nr(Zr,Rr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Nr(Vr,Rr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Wr),zr=Rr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jr=Rr("srcset"),Gr=Nr(zr,Jr,Rr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Rr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Yr=Rr("script,style,template"),jr=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!qr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Yr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var i=n.item(r),o=i.name,a=o.toLowerCase();if(Gr.hasOwnProperty(a)){var s=i.value;zr[a]&&(s=Fr(s)),Jr[a]&&(s=Lr(s)),this.buf.push(" ",o,'="',ei(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();qr.hasOwnProperty(t)&&!Kr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(ei(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Xr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$r=/([^\#-~ |!])/g;function ei(e){return e.replace(/&/g,"&").replace(Xr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace($r,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function ti(e,t){var n=null;try{Hr=Hr||Ur(e);var r=t?String(t):"";n=Hr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Hr.getInertBodyElement(r)}while(r!==o);return dr((new jr).sanitizeChildren(ni(n)||n))}finally{if(n)for(var a=ni(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function ni(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ri=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function ii(e){var t=hi();return t?pr(t.sanitize(ri.HTML,e)||""):br(e,"HTML")?pr(Br(e)):ti(ke(),g(e))}function oi(e){var t=hi();return t?t.sanitize(ri.STYLE,e)||"":br(e,"Style")?Br(e):g(e)}function ai(e){var t=hi();return t?t.sanitize(ri.URL,e)||"":br(e,"URL")?Br(e):Fr(g(e))}function si(e){var t=hi();if(t)return gr(t.sanitize(ri.RESOURCE_URL,e)||"");if(br(e,"ResourceURL"))return gr(Br(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function li(e){var t=hi();if(t)return _r(t.sanitize(ri.SCRIPT,e)||"");if(br(e,"Script"))return _r(Br(e));throw new Error("unsafe value used in a script context")}function ui(e){return dr(e[0])}function ci(e){return function(e){var t;return(null===(t=hr())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Ai(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?si:ai}(t,n)(e)}function hi(){var e=We();return e&&e[12]}function di(e,t){e.__ngContext__=t}function fi(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function pi(e){return e.ngDebugContext}function _i(e){return e.ngOriginalError}function gi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var vi=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||gi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?pi(e)?pi(e):this._findContext(_i(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=_i(e);t&&_i(t);)t=_i(t);return t}}]),e}(),mi=/^>|^->|<!--|-->|--!>|<!-$/g,yi=/(<|>)/,Ei=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H);function Ci(e){return e.ownerDocument.defaultView}function wi(e){return e.ownerDocument}function Bi(e){return e.ownerDocument.body}function bi(e){return e instanceof Function?e():e}var Ti,ki=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Oi(e,t){return Ti(e,t)}function Mi(e){var t=e[3];return de(t)?t[3]:t}function Di(e){return Ui(e[13])}function Ii(e){return Ui(e[4])}function Ui(e){for(;null!==e&&!de(e);)e=e[4];return e}function xi(e,t,n,r,i){if(null!=r){var o,a=!1;de(r)?o=r:he(r)&&(a=!0,r=r[0]);var s=De(r);0===e&&null!==n?null==i?Wi(t,n,s):Vi(t,n,s,i||null,!0):1===e&&null!==n?Vi(t,n,s,i||null,!0):2===e?ro(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==De(n)&&xi(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];oo(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function Pi(e,t){return Oe(e)?e.createText(t):e.createTextNode(t)}function Si(e,t,n){Oe(e)?e.setValue(t,n):t.textContent=n}function Qi(e,t){return e.createComment(function(e){return e.replace(mi,function(e){return e.replace(yi,"\u200b$1\u200b")})}(t))}function Fi(e,t,n){return Oe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Li(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Ne(i,-1)),n.splice(r,1)}function Ri(e,t){if(!(e.length<=10)){var n,r=10+t,i=e[r];if(i){var o=i[17];null!==o&&o!==e&&Li(o,i),t>0&&(e[r-1][4]=i[4]);var a=Mn(e,10+t);oo(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var s=a[19];null!==s&&s.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Ni(e,t){if(!(256&t[2])){var n=t[11];Oe(n)&&n.destroyNode&&oo(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Hi(e[1],e);for(;t;){var n=null;if(he(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)he(t)&&Hi(t[1],t),t=t[3];null===t&&(t=e),he(t)&&Hi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Hi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof Ut)){var o=n[r+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2){var s=i[o[a]],l=o[a+1];try{l.call(s)}finally{}}else try{o.call(i)}finally{}}}}(e,t),function(e,t){var n=e.cleanup,r=t[7],i=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var a=n[o+1],s="function"==typeof a?a(t):De(t[a]),l=r[i=n[o+2]],u=n[o+3];"boolean"==typeof u?s.removeEventListener(n[o],l,u):u>=0?r[i=u]():r[i=-u].unsubscribe(),o+=2}else{var c=r[i=n[o+1]];n[o].call(c)}if(null!==r){for(var A=i+1;A<r.length;A++)(0,r[A])();t[7]=null}}(e,t),1===t[1].type&&Oe(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&de(t[3])){n!==t[3]&&Li(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function Ki(e,t,n){return Zi(e,t.parent,n)}function Zi(e,t,n){for(var r=t;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){var i=e.data[r.directiveStart].encapsulation;if(i===Q.None||i===Q.Emulated)return null}return Ue(r,n)}function Vi(e,t,n,r,i){Oe(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Wi(e,t,n){Oe(e)?e.appendChild(t,n):t.appendChild(n)}function qi(e,t,n,r,i){null!==r?Vi(e,t,n,r,i):Wi(e,t,n)}function zi(e,t){return Oe(e)?e.parentNode(t):t.parentNode}function Ji(e,t,n){return ji(e,t,n)}function Gi(e,t,n){return 40&e.type?Ue(e,n):null}var Yi,ji=Gi;function Xi(e,t){ji=e,Yi=t}function $i(e,t,n,r){var i=Ki(e,r,t),o=t[11],a=Ji(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(var s=0;s<n.length;s++)qi(o,i,n[s],a,!1);else qi(o,i,n,a,!1);void 0!==Yi&&Yi(o,r,t,n,i)}function eo(e,t){if(null!==t){var n=t.type;if(3&n)return Ue(t,e);if(4&n)return no(-1,e[t.index]);if(8&n){var r=t.child;if(null!==r)return eo(e,r);var i=e[t.index];return de(i)?no(-1,i):De(i)}if(32&n)return Oi(t,e)()||De(e[t.index]);var o=to(e,t);return null!==o?Array.isArray(o)?o[0]:eo(Mi(e[16]),o):eo(e,t.next)}return null}function to(e,t){return null!==t?e[16][6].projection[t.projection]:null}function no(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return eo(r,i)}return t[7]}function ro(e,t,n){var r=zi(e,t);r&&function(e,t,n,r){Oe(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function io(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],l=n.type;if(a&&0===t&&(s&&di(De(s),r),n.flags|=4),64!=(64&n.flags))if(8&l)io(e,t,n.child,r,i,o,!1),xi(t,e,i,s,o);else if(32&l){for(var u=Oi(n,r),c=void 0;c=u();)xi(t,e,i,c,o);xi(t,e,i,s,o)}else 16&l?ao(e,t,r,n,i,o):xi(t,e,i,s,o);n=a?n.projectionNext:n.next}}function oo(e,t,n,r,i,o){io(n,r,e.firstChild,t,i,o,!1)}function ao(e,t,n,r,i,o){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)xi(t,e,i,s[l],o);else io(e,t,s,a[3],i,o,!0)}function so(e,t,n){Oe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function lo(e,t,n){Oe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function uo(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function co(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==uo((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Ao(e){return 4===e.type&&"ng-template"!==e.value}function ho(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function fo(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Pt(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!a)if(4&r){if(r=2|1&r,""!==l&&!ho(e,l,n)||""===l&&1===t.length){if(po(r))return!1;a=!0}}else{var u=8&r?l:t[++s];if(8&r&&null!==e.attrs){if(!co(e.attrs,u,n)){if(po(r))return!1;a=!0}continue}var c=_o(8&r?"class":l,i,Ao(e),n);if(-1===c){if(po(r))return!1;a=!0;continue}if(""!==u){var A;A=c>o?"":i[c+1].toLowerCase();var h=8&r?A:null;if(h&&-1!==uo(h,u,0)||2&r&&u!==A){if(po(r))return!1;a=!0}}}}else{if(!a&&!po(r)&&!po(l))return!1;if(a&&po(l))continue;a=!1,r=l|1&r}}return po(r)||a}function po(e){return 0==(1&e)}function _o(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function go(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(fo(e,t[r],n))return!0;return!1}function vo(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function mo(e,t){return e?":not("+t.trim()+")":t}function yo(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||po(a)||(t+=mo(o,i),i=""),r=a,o=o||!po(r);n++}return""!==i&&(t+=mo(o,i)),t}var Eo={};function Co(e){wo(qe(),We(),yt()+e,et())}function wo(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&kt(t,i,n)}else{var o=e.preOrderHooks;null!==o&&Ot(t,o,0,n)}Et(n)}function Bo(e,t){return e<<17|t<<2}function bo(e){return e>>17&32767}function To(e){return 2|e}function ko(e){return(131068&e)>>2}function Oo(e,t){return-131069&e|t<<2}function Mo(e){return 1|e}function Do(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var a=e.data[o];At(i),a.contentQueries(2,t[o],o)}}}function Io(e,t,n,r,i,o,a,s,l,u){var c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Re(c),c[3]=c[15]=e,c[8]=n,c[10]=a||e&&e[10],c[11]=s||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function Uo(e,t,n,r,i){var o=e.data[t];if(null===o)o=xo(e,t,n,r,i),He.lFrame.inI18n&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;var a=Ye();o.injectorIndex=null===a?-1:a.injectorIndex}return je(o,!0),o}function xo(e,t,n,r,i){var o=Ge(),a=Xe(),s=e.data[t]=function(e,t,n,r,i,o){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=s),null!==o&&(a?null==o.child&&null!==s.parent&&(o.child=s):null===o.next&&(o.next=s)),s}function Po(e,t,n,r){if(0===n)return-1;for(var i=t.length,o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function So(e,t,n){ft(t);try{var r=e.viewQuery;null!==r&&da(1,r,n);var i=e.template;null!==i&&Lo(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Do(e,t),e.staticViewQueries&&da(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)la(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,mt()}}function Qo(e,t,n,r){var i=t[2];if(256!=(256&i)){ft(t);var o=et();try{Re(t),it(e.bindingStartIndex),null!==n&&Lo(e,t,n,2,r);var a=3==(3&i);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&kt(t,s,null)}else{var l=e.preOrderHooks;null!==l&&Ot(t,l,0,null),Mt(t,0)}if(function(e){for(var t=Di(e);null!==t;t=Ii(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r],o=i[3];0==(1024&i[2])&&Ne(o,1),i[2]|=1024}}(t),function(e){for(var t=Di(e);null!==t;t=Ii(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Fe(r)&&Qo(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Do(e,t),!o)if(a){var u=e.contentCheckHooks;null!==u&&kt(t,u)}else{var c=e.contentHooks;null!==c&&Ot(t,c,1),Mt(t,1)}!function(e,t){var n,r,i,o=e.hostBindingOpCodes;if(null!==o)try{for(var a=0;a<o.length;a++){var s=o[a];if(s<0)Et(~s);else{var l=s,u=o[++a],c=o[++a];n=u,r=l,i=void 0,(i=He.lFrame).bindingIndex=i.bindingRootIndex=n,lt(r),c(2,t[l])}}}finally{Et(-1)}}(e,t);var A=e.components;null!==A&&function(e,t){for(var n=0;n<t.length;n++)aa(e,t[n])}(t,A);var h=e.viewQuery;if(null!==h&&da(2,h,r),!o)if(a){var d=e.viewCheckHooks;null!==d&&kt(t,d)}else{var f=e.viewHooks;null!==f&&Ot(t,f,2),Mt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ne(t[3],-1))}finally{mt()}}}function Fo(e,t,n,r){var i=t[10],o=!et(),a=Qe(t);try{o&&!a&&i.begin&&i.begin(),a&&So(e,t,r),Qo(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function Lo(e,t,n,r,i){var o=yt(),a=2&r;try{Et(-1),a&&t.length>20&&wo(e,t,20,et()),n(r,i)}finally{Et(o)}}function Ro(e,t,n){if(fe(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function No(e,t,n){Ke()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Vt(n,t),di(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var l=e.data[s],u=ge(l);u&&ea(t,n,l);var c=nn(t,e,s,n);di(c,t),null!==a&&ra(0,s-i,c,l,0,a),u&&(Se(n.index,t)[8]=c)}}(e,t,n,Ue(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=n.index,a=He.lFrame.currentDirectiveIndex;try{Et(o);for(var s=r;s<i;s++){var l=e.data[s],u=t[s];lt(s),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||Go(l,u)}}finally{Et(-1),lt(a)}}(e,t,n))}function Ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ue,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function Ko(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Zo(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Zo(e,t,n,r,i,o,a,s,l,u){var c=20+r,A=c+i,h=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:Eo);return n}(c,A),d="function"==typeof u?u():u;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:s,declTNode:t,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:A,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:d,incompleteFirstPass:!1}}function Vo(e,t,n,r){var i=pa(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&_a(e).push(r,i.length-1))}function Wo(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function qo(e,t,n,r,i,o,a,s){var l,u,c=Ue(t,n),A=t.inputs;!s&&null!=A&&(l=A[r])?(ma(e,n,l,r,i),pe(t)&&function(e,t){var n=Se(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(u=r)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,i=null!=a?a(i,t.value||"",r):i,Oe(o)?o.setProperty(c,r,i):St(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function zo(e,t,n,r){var i=!1;if(Ke()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];go(n,a.selectors,!1)&&(i||(i=[]),Jt(Vt(n,t),e,a.type),ge(a)?(Yo(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){i=!0,Xo(n,e.data.length,o.length);for(var s=0;s<o.length;s++){var l=o[s];l.providersResolver&&l.providersResolver(l)}for(var u=!1,c=!1,A=Po(e,t,o.length,null),h=0;h<o.length;h++){var d=o[h];n.mergedAttrs=Qt(n.mergedAttrs,d.hostAttrs),$o(e,n,t,A,d),jo(A,d,a),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128);var f=d.type.prototype;!u&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),c||!f.ngOnChanges&&!f.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),A++}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],a=null,s=null,l=t.directiveStart;l<n;l++){var u=r[l],c=u.inputs,A=null===i||Ao(t)?null:ia(c,i);o.push(A),a=Wo(c,l,a),s=Wo(u.outputs,l,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new _("301","Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,a)}return n.mergedAttrs=Qt(n.mergedAttrs,n.attrs),i}function Jo(e,t,n,r,i,o){var a=o.hostBindings;if(a){var s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);var l=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(r,i,a)}}function Go(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Yo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function jo(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ge(t)&&(n[""]=e)}}function Xo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function $o(e,t,n,r,i){e.data[r]=i;var o=i.factory||(i.factory=ve(i.type)),a=new Ut(o,ge(i),null);e.blueprint[r]=a,n[r]=a,Jo(e,t,0,r,Po(e,n,i.hostVars,Eo),i)}function ea(e,t,n){var r=Ue(t,e),i=Ko(n),o=e[10],a=ua(e,Io(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=a}function ta(e,t,n,r,i,o){var a=Ue(e,t);na(t[11],a,o,e.value,n,r,i)}function na(e,t,n,r,i,o,a){if(null==o)Oe(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{var s=null==a?g(o):a(o,r||"",i);Oe(e)?e.setAttribute(t,i,s,n):n?t.setAttributeNS(n,i,s):t.setAttribute(i,s)}}function ra(e,t,n,r,i,o){var a=o[t];if(null!==a)for(var s=r.setInput,l=0;l<a.length;){var u=a[l++],c=a[l++],A=a[l++];null!==s?r.setInput(n,A,u,c):n[c]=A}}function ia(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function oa(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function aa(e,t){var n=Se(t,e);if(Fe(n)){var r=n[1];80&n[2]?Qo(r,n,r.template,n[8]):n[5]>0&&sa(n)}}function sa(e){for(var t=Di(e);null!==t;t=Ii(t))for(var n=10;n<t.length;n++){var r=t[n];if(1024&r[2]){var i=r[1];Qo(i,r,i.template,r[8])}else r[5]>0&&sa(r)}var o=e[1].components;if(null!==o)for(var a=0;a<o.length;a++){var s=Se(o[a],e);Fe(s)&&s[5]>0&&sa(s)}}function la(e,t){var n=Se(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),So(r,n,n[8])}function ua(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function ca(e){for(;e;){e[2]|=64;var t=Mi(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Aa(e,t,n){var r=t[10];r.begin&&r.begin();try{Qo(e,t,e.template,n)}catch(i){throw va(t,i),i}finally{r.end&&r.end()}}function ha(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=fi(n),i=r[1];Fo(i,r,i.template,n)}}(e[8])}function da(e,t,n){At(0),t(e,n)}var fa=Promise.resolve(null);function pa(e){return e[7]||(e[7]=[])}function _a(e){return e.cleanup||(e.cleanup=[])}function ga(e,t,n){return(null===e||ge(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function va(e,t){var n=e[9],r=n?n.get(vi,null):null;r&&r.handleError(t)}function ma(e,t,n,r,i){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],l=t[a],u=e.data[a];null!==u.setInput?u.setInput(l,i,r,s):l[s]=i}}function ya(e,t,n){var r=Ie(t,e);Si(e[11],r,n)}function Ea(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?i=A(i,s):2==o&&(r=A(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var Ca,wa=new vn("INJECTOR",-1),Ba=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kn;if(t===Kn){var n=new Error("NullInjectorError: No provider for ".concat(c(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),ba=new vn("Set Injector scope."),Ta={},ka={};function Oa(){return void 0===Ca&&(Ca=new Ba),Ca}function Ma(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new Da(e,n,t||Oa(),r)}var Da=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&kn(n,function(e){return i.processProvider(e,t,n)}),kn([t],function(e){return i.processInjectorType(e,[],a)}),this.records.set(wa,xa(void 0,this));var s=this.records.get(ba);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:c(t))}return _createClass(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.Default;this.assertNotDestroyed();var r,i=Wn(this);try{if(!(n&I.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof vn)&&w(e);o=a&&this.injectableDefInScope(a)?xa(Ia(e),Ta):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&I.Self?Oa():this.parent).get(e,t=n&I.Optional&&t===Kn?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(c(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=c(t);if(Array.isArray(t))i=t.map(c).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):c(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Zn,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Wn(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(c(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=f(e)))return!1;var i=b(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=b(o)),null==i)return!1;if(null!=i.imports&&!s){var l;n.push(a);try{kn(i.imports,function(e){r.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var u=function(e){var t=l[e],n=t.ngModule,i=t.providers;kn(i,function(e){return r.processProvider(e,n,i||Z)})},c=0;c<l.length;c++)u(c)}this.injectorDefTypes.add(a);var A=ve(a)||function(){return new a};this.records.set(a,xa(A,Ta));var h=i.providers;if(null!=h&&!s){var d=e;kn(h,function(e){return r.processProvider(e,d,h)})}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=Sa(e=f(e))?e:f(e&&e.provide),i=function(e,t,n){return Pa(e)?xa(void 0,e.useValue):xa(Ua(e),Ta)}(e);if(Sa(e)||!0!==e.multi)this.records.get(r);else{var o=this.records.get(r);o||((o=xa(void 0,Ta,!0)).factory=function(){return Yn(o.multi)},this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===Ta&&(t.value=ka,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){if(!e.providedIn)return!1;var t=f(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}]),e}();function Ia(e){var t=w(e),n=null!==t?t.factory:ve(e);if(null!==n)return n;if(e instanceof vn)throw new Error("Token ".concat(c(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=Dn(t,"?");throw new Error("Can't resolve all parameters for ".concat(c(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[k]||e[M]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ua(e,t,n){var r,i;if(Sa(e)){var o=f(e);return ve(o)||Ia(o)}if(Pa(e))r=function(){return f(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,_toConsumableArray(Yn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return zn(f(e.useExisting))};else{var a=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ve(a)||Ia(a);r=function(){return _construct(a,_toConsumableArray(Yn(e.deps)))}}return r}function xa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Pa(e){return null!==e&&"object"==typeof e&&Vn in e}function Sa(e){return"function"==typeof e}var Qa=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=Ma(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Fa=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Qa(e,t,""):Qa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Kn,e.NULL=new Ba,e.\u0275prov=E({token:e,providedIn:"any",factory:function(){return zn(wa)}}),e.__NG_ELEMENT_ID__=-1,e}();function La(e,t){Tt(fi(e)[1],Je())}function Ra(e){return Object.getPrototypeOf(e.prototype).constructor}function Na(e){for(var t=Ra(e.type),n=!0,r=[e];t;){var i=void 0;if(ge(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=Ha(e.inputs),o.declaredInputs=Ha(e.declaredInputs),o.outputs=Ha(e.outputs);var a=i.hostBindings;a&&Va(e,a);var s=i.viewQuery,l=i.contentQueries;if(s&&Ka(e,s),l&&Za(e,l),u(e.inputs,i.inputs),u(e.declaredInputs,i.declaredInputs),u(e.outputs,i.outputs),ge(i)&&i.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}}var A=i.features;if(A)for(var h=0;h<A.length;h++){var d=A[h];d&&d.ngInherit&&d(e),d===Na&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Qt(i.hostAttrs,n=Qt(n,i.hostAttrs))}}(r)}function Ha(e){return e===K?{}:e===Z?[]:e}function Ka(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Za(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Va(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Wa=["providersResolver"],qa=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function za(e){var t,n=Ra(e.type);t=ge(e)?n.\u0275cmp:n.\u0275dir;var r,i=e,o=_createForOfIteratorHelper(Wa);try{for(o.s();!(r=o.n()).done;){var a=r.value;i[a]=t[a]}}catch(c){o.e(c)}finally{o.f()}if(ge(t)){var s,l=_createForOfIteratorHelper(qa);try{for(l.s();!(s=l.n()).done;){var u=s.value;i[u]=t[u]}}catch(c){l.e(c)}finally{l.f()}}}var Ja=null;function Ga(){if(!Ja){var e=H.Symbol;if(e&&e.iterator)Ja=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ja=r)}}return Ja}var Ya=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function ja(e){return!!Xa(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ga()in e)}function Xa(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function $a(e,t,n){return e[t]=n}function es(e,t){return e[t]}function ts(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ns(e,t,n,r){var i=ts(e,t,n);return ts(e,t+1,r)||i}function rs(e,t,n,r,i){var o=ns(e,t,n,r);return ts(e,t+2,i)||o}function is(e,t,n,r,i,o){var a=ns(e,t,n,r);return ns(e,t+2,i,o)||a}function os(e,t,n,r){var i=We();return ts(i,ot(),t)&&(qe(),ta(Ct(),i,e,t,n,r)),os}function as(e,t){for(var n=!1,r=rt(),i=1;i<t.length;i+=2)n=ts(e,r++,t[i])||n;if(it(r),!n)return Eo;for(var o=t[0],a=1;a<t.length;a+=2)o+=g(t[a])+t[a+1];return o}function ss(e,t,n,r){return ts(e,ot(),n)?t+g(n)+r:Eo}function ls(e,t,n,r,i,o){var a=ns(e,rt(),n,i);return at(2),a?t+g(n)+r+g(i)+o:Eo}function us(e,t,n,r,i,o,a,s){var l=rs(e,rt(),n,i,a);return at(3),l?t+g(n)+r+g(i)+o+g(a)+s:Eo}function cs(e,t,n,r,i,o,a,s,l,u){var c=is(e,rt(),n,i,a,l);return at(4),c?t+g(n)+r+g(i)+o+g(a)+s+g(l)+u:Eo}function As(e,t,n,r,i,o,a,s,l,u,c,A){var h=rt(),d=is(e,h,n,i,a,l);return d=ts(e,h+4,c)||d,at(5),d?t+g(n)+r+g(i)+o+g(a)+s+g(l)+u+g(c)+A:Eo}function hs(e,t,n,r,i,o,a,s,l,u,c,A,h,d){var f=rt(),p=is(e,f,n,i,a,l);return p=ns(e,f+4,c,h)||p,at(6),p?t+g(n)+r+g(i)+o+g(a)+s+g(l)+u+g(c)+A+g(h)+d:Eo}function ds(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p){var _=rt(),v=is(e,_,n,i,a,l);return v=rs(e,_+4,c,h,f)||v,at(7),v?t+g(n)+r+g(i)+o+g(a)+s+g(l)+u+g(c)+A+g(h)+d+g(f)+p:Eo}function fs(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,v){var m=rt(),y=is(e,m,n,i,a,l);return y=is(e,m+4,c,h,f,_)||y,at(8),y?t+g(n)+r+g(i)+o+g(a)+s+g(l)+u+g(c)+A+g(h)+d+g(f)+p+g(_)+v:Eo}function ps(e,t,n,r,i,o){var a=We(),s=ss(a,t,n,r);return s!==Eo&&ta(Ct(),a,e,s,i,o),ps}function _s(e,t,n,r,i,o,a,s){var l=We(),u=ls(l,t,n,r,i,o);return u!==Eo&&ta(Ct(),l,e,u,a,s),_s}function gs(e,t,n,r,i,o,a,s,l,u){var c=We(),A=us(c,t,n,r,i,o,a,s);return A!==Eo&&ta(Ct(),c,e,A,l,u),gs}function vs(e,t,n,r,i,o,a,s,l,u,c,A){var h=We(),d=cs(h,t,n,r,i,o,a,s,l,u);return d!==Eo&&ta(Ct(),h,e,d,c,A),vs}function ms(e,t,n,r,i,o,a,s,l,u,c,A,h,d){var f=We(),p=As(f,t,n,r,i,o,a,s,l,u,c,A);return p!==Eo&&ta(Ct(),f,e,p,h,d),ms}function ys(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p){var _=We(),g=hs(_,t,n,r,i,o,a,s,l,u,c,A,h,d);return g!==Eo&&ta(Ct(),_,e,g,f,p),ys}function Es(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g){var v=We(),m=ds(v,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p);return m!==Eo&&ta(Ct(),v,e,m,_,g),Es}function Cs(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g,v,m){var y=We(),E=fs(y,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g);return E!==Eo&&ta(Ct(),y,e,E,v,m),Cs}function ws(e,t,n,r){var i=We(),o=as(i,t);return o!==Eo&&ta(Ct(),i,e,o,n,r),ws}function Bs(e,t,n,r,i,o,a,s){var l=We(),u=qe(),c=e+20,A=u.firstCreatePass?function(e,t,n,r,i,o,a,s,l){var u=t.consts,c=Uo(t,e,4,a||null,Le(u,s));zo(t,n,c,Le(u,l)),Tt(t,c);var A=c.tViews=Zo(2,c,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u);return null!==t.queries&&(t.queries.template(t,c),A.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,i,o,a):u.data[c];je(A,!1);var h=l[11].createComment("");$i(u,l,h,A),di(h,l),ua(l,l[c]=oa(h,l,h,A)),_e(A)&&No(u,l,A),null!=a&&Ho(l,A,s)}function bs(e){return Pe(He.lFrame.contextLView,20+e)}var Ts={"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":C,"\u0275\u0275inject":zn,"\u0275\u0275invalidFactoryDep":Jn,resolveForwardRef:f},ks=l({provide:String,useValue:l});function Os(e){return void 0!==e.useClass}function Ms(e){return void 0!==e.useFactory}var Ds=dn("Injectable",void 0,void 0,void 0,function(e,t){return Is(e,t)}),Is=function(e,t){var n=null,r=null;e.hasOwnProperty(k)||Object.defineProperty(e,k,{get:function(){return null===n&&(n=wn().compileInjectable(Ts,"ng:///".concat(e.name,"/\u0275prov.js"),function(e,t){var n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Os(n)||Ms(n))&&void 0!==n.deps&&(r.deps=ar(n.deps)),Os(n)?r.useClass=n.useClass:function(e){return ks in e}(n)?r.useValue=n.useValue:Ms(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n}}),e.hasOwnProperty(G)||Object.defineProperty(e,G,{get:function(){if(null===r){var t=wn();r=t.compileFactory(Ts,"ng:///".concat(e.name,"/\u0275fac.js"),{name:e.name,type:e,typeArgumentCount:0,deps:or(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})};function Us(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.Default,n=We();return null===n?zn(e,t):jt(Je(),n,f(e),t)}function xs(){throw new Error("invalid")}function Ps(e,t,n){var r=We();return ts(r,ot(),t)&&qo(qe(),Ct(),r,e,t,r[11],n,!1),Ps}function Ss(e,t,n,r,i){var o=i?"class":"style";ma(e,n,t.inputs[o],o,r)}function Qs(e,t,n,r){var i=We(),o=qe(),a=20+e,s=i[11],l=i[a]=Fi(s,t,He.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,l=Uo(t,e,2,i,Le(s,o));return zo(t,n,l,Le(s,a)),null!==l.attrs&&Ea(l,l.attrs,!1),null!==l.mergedAttrs&&Ea(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(a,o,i,0,t,n,r):o.data[a];je(u,!0);var c=u.mergedAttrs;null!==c&&xt(s,l,c);var A=u.classes;null!==A&&lo(s,l,A);var h=u.styles;null!==h&&so(s,l,h),64!=(64&u.flags)&&$i(o,i,l,u),0===He.lFrame.elementDepthCount&&di(l,i),He.lFrame.elementDepthCount++,_e(u)&&(No(o,i,u),Ro(o,u,i)),null!==r&&Ho(i,u)}function Fs(){var e=Je();Xe()?$e():je(e=e.parent,!1);var t=e;He.lFrame.elementDepthCount--;var n=qe();n.firstCreatePass&&(Tt(n,e),fe(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ss(n,t,We(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ss(n,t,We(),t.stylesWithoutHost,!1)}function Ls(e,t,n,r){Qs(e,t,n,r),Fs()}function Rs(e,t,n){var r=We(),i=qe(),o=e+20,a=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,a=Le(o,r),s=Uo(t,e,8,"ng-container",a);return null!==a&&Ea(s,a,!0),zo(t,n,s,Le(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(o,i,r,t,n):i.data[o];je(a,!0);var s=r[o]=r[11].createComment("");$i(i,r,s,a),di(s,r),_e(a)&&(No(i,r,a),Ro(i,a,r)),null!=n&&Ho(r,a)}function Ns(){var e=Je(),t=qe();Xe()?$e():je(e=e.parent,!1),t.firstCreatePass&&(Tt(t,e),fe(e)&&t.queries.elementEnd(e))}function Hs(e,t,n){Rs(e,t,n),Ns()}function Ks(){return We()}function Zs(e){return!!e&&"function"==typeof e.then}function Vs(e){return!!e&&"function"==typeof e.subscribe}var Ws=Vs;function qs(e,t,n,r){var i=We(),o=qe(),a=Je();return Js(o,i,i[11],a,e,t,!!n,r),qs}function zs(e,t){var n=Je(),r=We(),i=qe();return Js(i,r,ga(ut(i.data),n,r),n,e,t,!1),zs}function Js(e,t,n,r,i,o,a,s){var l=_e(r),u=e.firstCreatePass&&_a(e),c=pa(t),A=!0;if(3&r.type||s){var h=Ue(r,t),d=s?s(h):h,f=c.length,p=s?function(e){return s(De(e[r.index]))}:r.index;if(Oe(n)){var _=null;if(!s&&l&&(_=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var a=i[o];if(a===n&&i[o+1]===r){var s=t[7],l=i[o+2];return s.length>l?s[l]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,A=!1;else{o=Ys(r,t,0,o,!1);var g=n.listen(d,i,o);c.push(o,g),u&&u.push(i,p,f,f+1)}}else o=Ys(r,t,0,o,!0),d.addEventListener(i,o,a),c.push(o),u&&u.push(i,p,f,a)}else o=Ys(r,t,0,o,!1);var v,m=r.outputs;if(A&&null!==m&&(v=m[i])){var y=v.length;if(y)for(var E=0;E<y;E+=2){var C=t[v[E]][v[E+1]].subscribe(o),w=c.length;c.push(o,C),u&&u.push(i,r.index,w,-(w+1))}}}function Gs(e,t,n,r){try{return!1!==n(r)}catch(i){return va(e,i),!1}}function Ys(e,t,n,r,i){return function n(o){if(o===Function)return r;var a=2&e.flags?Se(e.index,t):t;0==(32&t[2])&&ca(a);for(var s=Gs(t,0,r,o),l=n.__ngNextListenerFn__;l;)s=Gs(t,0,l,o)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function js(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(He.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,He.lFrame.contextLView))[8]}(e)}function Xs(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?go(e,o,!0):vo(r,o))return i}else n=i}return n}function $s(e){var t=We()[16][6];if(!t.projection)for(var n=t.projection=Dn(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Xs(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function el(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=We(),i=qe(),o=Uo(i,20+e,16,null,n||null);null===o.projection&&(o.projection=t),$e(),64!=(64&o.flags)&&function(e,t,n){ao(t[11],0,t,n,Ki(e,n,t),Ji(n.parent||t[6],n,t))}(i,r,o)}function tl(e,t,n){return nl(e,"",t,"",n),tl}function nl(e,t,n,r,i){var o=We(),a=ss(o,t,n,r);return a!==Eo&&qo(qe(),Ct(),o,e,a,o[11],i,!1),nl}function rl(e,t,n,r,i,o,a){var s=We(),l=ls(s,t,n,r,i,o);return l!==Eo&&qo(qe(),Ct(),s,e,l,s[11],a,!1),rl}function il(e,t,n,r,i,o,a,s,l){var u=We(),c=us(u,t,n,r,i,o,a,s);return c!==Eo&&qo(qe(),Ct(),u,e,c,u[11],l,!1),il}function ol(e,t,n,r,i,o,a,s,l,u,c){var A=We(),h=cs(A,t,n,r,i,o,a,s,l,u);return h!==Eo&&qo(qe(),Ct(),A,e,h,A[11],c,!1),ol}function al(e,t,n,r,i,o,a,s,l,u,c,A,h){var d=We(),f=As(d,t,n,r,i,o,a,s,l,u,c,A);return f!==Eo&&qo(qe(),Ct(),d,e,f,d[11],h,!1),al}function sl(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f){var p=We(),_=hs(p,t,n,r,i,o,a,s,l,u,c,A,h,d);return _!==Eo&&qo(qe(),Ct(),p,e,_,p[11],f,!1),sl}function ll(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_){var g=We(),v=ds(g,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p);return v!==Eo&&qo(qe(),Ct(),g,e,v,g[11],_,!1),ll}function ul(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g,v){var m=We(),y=fs(m,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g);return y!==Eo&&qo(qe(),Ct(),m,e,y,m[11],v,!1),ul}function cl(e,t,n){var r=We(),i=as(r,t);return i!==Eo&&qo(qe(),Ct(),r,e,i,r[11],n,!1),cl}function Al(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?bo(o):ko(o),l=!1;0!==s&&(!1===l||a);){var u=e[s+1];hl(e[s],t)&&(l=!0,e[s+1]=r?Mo(u):To(u)),s=r?bo(u):ko(u)}l&&(e[n+1]=r?To(o):Mo(o))}function hl(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&xn(e,t)>=0}var dl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fl(e){return e.substring(dl.key,dl.keyEnd)}function pl(e){return e.substring(dl.value,dl.valueEnd)}function _l(e,t){var n=dl.textEnd;return n===t?-1:(t=dl.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,dl.key=t,n),ml(e,t,n))}function gl(e,t){var n=dl.textEnd,r=dl.key=ml(e,t,n);return n===r?-1:(r=dl.keyEnd=function(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=yl(e,r,n),r=dl.value=ml(e,r,n),r=dl.valueEnd=function(e,t,n){for(var r=-1,i=-1,o=-1,a=t,s=a;a<n;){var l=e.charCodeAt(a++);if(59===l)return s;34===l||39===l?s=a=El(e,l,a,n):t===a-4&&85===o&&82===i&&76===r&&40===l?s=a=El(e,41,a,n):l>32&&(s=a),o=i,i=r,r=-33&l}return s}(e,r,n),yl(e,r,n))}function vl(e){dl.key=0,dl.keyEnd=0,dl.value=0,dl.valueEnd=0,dl.textEnd=e.length}function ml(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function yl(e,t,n,r){return(t=ml(e,t,n))<n&&t++,t}function El(e,t,n,r){for(var i=-1,o=n;o<r;){var a=e.charCodeAt(o++);if(a==t&&92!==i)return o;i=92==a&&92===i?0:a}throw new Error}function Cl(e,t,n){return Ol(e,t,n,!1),Cl}function wl(e,t){return Ol(e,t,null,!0),wl}function Bl(e){Ml(Pl,bl,e,!1)}function bl(e,t){for(var n=function(e){return vl(e),gl(e,ml(e,0,dl.textEnd))}(t);n>=0;n=gl(t,n))Pl(e,fl(t),pl(t))}function Tl(e){Ml(In,kl,e,!0)}function kl(e,t){for(var n=function(e){return vl(e),_l(e,ml(e,0,dl.textEnd))}(t);n>=0;n=_l(t,n))In(e,fl(t),!0)}function Ol(e,t,n,r){var i=We(),o=qe(),a=at(2);o.firstUpdatePass&&Il(o,e,a,r),t!==Eo&&ts(i,a,t)&&Sl(o,o.data[yt()],i,i[11],e,i[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=c(Br(e)))),e}(t,n),r,a)}function Ml(e,t,n,r){var i=qe(),o=at(2);i.firstUpdatePass&&Il(i,null,o,r);var a=We();if(n!==Eo&&ts(a,o,n)){var s=i.data[yt()];if(Ll(s,r)&&!Dl(i,o)){var l=r?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=A(l,n||"")),Ss(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===Eo&&(i=Z);for(var l=0,u=0,c=0<i.length?i[0]:null,A=0<o.length?o[0]:null;null!==c||null!==A;){var h=l<i.length?i[l+1]:void 0,d=u<o.length?o[u+1]:void 0,f=void 0,p=null;c===A?(l+=2,u+=2,h!==d&&(p=A,f=d)):null===A||null!==c&&c<A?(l+=2,p=c):(u+=2,p=A,f=d),null!==p&&Sl(e,t,n,r,p,f,a,s),c=l<i.length?i[l]:null,A=u<o.length?o[u]:null}}(i,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return Z;var r=[],i=Br(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Dl(e,t){return t>=e.expandoStartIndex}function Il(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[yt()],a=Dl(e,n);Ll(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=ut(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=xl(n=Ul(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Ul(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==ko(r))return e[bo(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[bo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=xl(s=Ul(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=xl(r,e[o].hostAttrs,n);return xl(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var a=o?t.classBindings:t.styleBindings,s=bo(a),l=ko(a);e[r]=n;var u,c=!1;if(Array.isArray(n)){var A=n;(null===(u=A[1])||xn(A,u)>0)&&(c=!0)}else u=n;if(i)if(0!==l){var h=bo(e[s+1]);e[r+1]=Bo(h,s),0!==h&&(e[h+1]=Oo(e[h+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Bo(s,0),0!==s&&(e[s+1]=Oo(e[s+1],r)),s=r;else e[r+1]=Bo(l,0),0===s?s=r:e[l+1]=Oo(e[l+1],r),l=r;c&&(e[r+1]=To(e[r+1])),Al(e,u,r,!0),Al(e,u,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&xn(o,t)>=0&&(n[r+1]=Mo(n[r+1]))}(t,u,e,r,o),a=Bo(s,l),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function Ul(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=xl(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function xl(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),In(e,a,!!n||t[++o]))}return void 0===e?null:e}function Pl(e,t,n){In(e,t,Br(n))}function Sl(e,t,n,r,i,o,a,s){if(3&t.type){var l=e.data,u=l[s+1];Fl(1==(1&u)?Ql(l,t,n,i,ko(u),a):void 0)||(Fl(o)||2==(2&u)&&(o=Ql(l,null,n,i,s,a)),function(e,t,n,r,i){var o=Oe(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var a=-1===r.indexOf("-")?void 0:ki.DashCase;if(null==i)o?e.removeStyle(n,r,a):n.style.removeProperty(r);else{var s="string"==typeof i&&i.endsWith("!important");s&&(i=i.slice(0,-10),a|=ki.Important),o?e.setStyle(n,r,i,a):n.style.setProperty(r,i,s?"important":"")}}}(r,a,Ie(yt(),n),i,o))}}function Ql(e,t,n,r,i,o){for(var a,s=null===t;i>0;){var l=e[i],u=Array.isArray(l),c=u?l[1]:l,A=null===c,h=n[i+1];h===Eo&&(h=A?Z:void 0);var d=A?Un(h,r):c===r?h:void 0;if(u&&!Fl(d)&&(d=Un(l,r)),Fl(d)&&(a=d,s))return a;var f=e[i+1];i=s?bo(f):ko(f)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(a=Un(p,r))}return a}function Fl(e){return void 0!==e}function Ll(e,t){return 0!=(e.flags&(t?16:32))}function Rl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=We(),r=qe(),i=e+20,o=r.firstCreatePass?Uo(r,i,1,t,null):r.data[i],a=n[i]=Pi(n[11],t);$i(r,n,a,o),je(o,!1)}function Nl(e){return Hl("",e,""),Nl}function Hl(e,t,n){var r=We(),i=ss(r,e,t,n);return i!==Eo&&ya(r,yt(),i),Hl}function Kl(e,t,n,r,i){var o=We(),a=ls(o,e,t,n,r,i);return a!==Eo&&ya(o,yt(),a),Kl}function Zl(e,t,n,r,i,o,a){var s=We(),l=us(s,e,t,n,r,i,o,a);return l!==Eo&&ya(s,yt(),l),Zl}function Vl(e,t,n,r,i,o,a,s,l){var u=We(),c=cs(u,e,t,n,r,i,o,a,s,l);return c!==Eo&&ya(u,yt(),c),Vl}function Wl(e,t,n,r,i,o,a,s,l,u,c){var A=We(),h=As(A,e,t,n,r,i,o,a,s,l,u,c);return h!==Eo&&ya(A,yt(),h),Wl}function ql(e,t,n,r,i,o,a,s,l,u,c,A,h){var d=We(),f=hs(d,e,t,n,r,i,o,a,s,l,u,c,A,h);return f!==Eo&&ya(d,yt(),f),ql}function zl(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f){var p=We(),_=ds(p,e,t,n,r,i,o,a,s,l,u,c,A,h,d,f);return _!==Eo&&ya(p,yt(),_),zl}function Jl(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_){var g=We(),v=fs(g,e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_);return v!==Eo&&ya(g,yt(),v),Jl}function Gl(e){var t=We(),n=as(t,e);return n!==Eo&&ya(t,yt(),n),Gl}function Yl(e,t,n){Ml(In,kl,ss(We(),e,t,n),!0)}function jl(e,t,n,r,i){Ml(In,kl,ls(We(),e,t,n,r,i),!0)}function Xl(e,t,n,r,i,o,a){Ml(In,kl,us(We(),e,t,n,r,i,o,a),!0)}function $l(e,t,n,r,i,o,a,s,l){Ml(In,kl,cs(We(),e,t,n,r,i,o,a,s,l),!0)}function eu(e,t,n,r,i,o,a,s,l,u,c){Ml(In,kl,As(We(),e,t,n,r,i,o,a,s,l,u,c),!0)}function tu(e,t,n,r,i,o,a,s,l,u,c,A,h){Ml(In,kl,hs(We(),e,t,n,r,i,o,a,s,l,u,c,A,h),!0)}function nu(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f){Ml(In,kl,ds(We(),e,t,n,r,i,o,a,s,l,u,c,A,h,d,f),!0)}function ru(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_){Ml(In,kl,fs(We(),e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_),!0)}function iu(e){Ml(In,kl,as(We(),e),!0)}function ou(e,t,n){Bl(ss(We(),e,t,n))}function au(e,t,n,r,i){Bl(ls(We(),e,t,n,r,i))}function su(e,t,n,r,i,o,a){Bl(us(We(),e,t,n,r,i,o,a))}function lu(e,t,n,r,i,o,a,s,l){Bl(cs(We(),e,t,n,r,i,o,a,s,l))}function uu(e,t,n,r,i,o,a,s,l,u,c){Bl(As(We(),e,t,n,r,i,o,a,s,l,u,c))}function cu(e,t,n,r,i,o,a,s,l,u,c,A,h){Bl(hs(We(),e,t,n,r,i,o,a,s,l,u,c,A,h))}function Au(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f){Bl(ds(We(),e,t,n,r,i,o,a,s,l,u,c,A,h,d,f))}function hu(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_){Bl(fs(We(),e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_))}function du(e){Bl(as(We(),e))}function fu(e,t,n,r,i){return Ol(e,ss(We(),t,n,r),i,!1),fu}function pu(e,t,n,r,i,o,a){return Ol(e,ls(We(),t,n,r,i,o),a,!1),pu}function _u(e,t,n,r,i,o,a,s,l){return Ol(e,us(We(),t,n,r,i,o,a,s),l,!1),_u}function gu(e,t,n,r,i,o,a,s,l,u,c){return Ol(e,cs(We(),t,n,r,i,o,a,s,l,u),c,!1),gu}function vu(e,t,n,r,i,o,a,s,l,u,c,A,h){return Ol(e,As(We(),t,n,r,i,o,a,s,l,u,c,A),h,!1),vu}function mu(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f){return Ol(e,hs(We(),t,n,r,i,o,a,s,l,u,c,A,h,d),f,!1),mu}function yu(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_){return Ol(e,ds(We(),t,n,r,i,o,a,s,l,u,c,A,h,d,f,p),_,!1),yu}function Eu(e,t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g,v){return Ol(e,fs(We(),t,n,r,i,o,a,s,l,u,c,A,h,d,f,p,_,g),v,!1),Eu}function Cu(e,t,n){return Ol(e,as(We(),t),n,!1),Cu}function wu(e,t,n){var r=We();return ts(r,ot(),t)&&qo(qe(),Ct(),r,e,t,r[11],n,!0),wu}function Bu(e,t,n){var r=We();if(ts(r,ot(),t)){var i=qe(),o=Ct();qo(i,o,r,e,t,ga(ut(i.data),o,r),n,!0)}return Bu}var bu=void 0,Tu=["en",[["a","p"],["AM","PM"],bu],[["AM","PM"],bu,bu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],bu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],bu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",bu,"{1} 'at' {0}",bu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ku={};function Ou(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Du(t);if(n)return n;var r=t.split("-")[0];if(n=Du(r))return n;if("en"===r)return Tu;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Mu(e){return Ou(e)[Iu.PluralCase]}function Du(e){return e in ku||(ku[e]=H.ng&&H.ng.common&&H.ng.common.locales&&H.ng.common.locales[e]),ku[e]}var Iu=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Uu=["zero","one","two","few","many"],xu={marker:"element"},Pu={marker:"ICU"},Su=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({}),Qu="en-US";function Fu(e){var t;null==(t=e)&&y("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Qu=e.toLowerCase().replace(/_/g,"-"))}function Lu(e,t,n){var r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?Gi(e,0,n):De(n[i])}function Ru(e,t,n,r,i){var o=t.insertBeforeIndex;if(Array.isArray(o)){var a=r,s=null;if(3&t.type||(s=a,a=i),null!==a&&0==(2&t.flags))for(var l=1;l<o.length;l++)Vi(e,a,n[o[l]],s,!1)}}function Nu(e,t){if(e.push(t),e.length>1)for(var n=e.length-2;n>=0;n--){var r=e[n];Hu(r)||Ku(r,t)&&null===(i=void 0,i=r.insertBeforeIndex,Array.isArray(i)?i[0]:i)&&Zu(r,t.index)}var i}function Hu(e){return!(64&e.type)}function Ku(e,t){return Hu(t)||e.index>t.index}function Zu(e,t){var n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Xi(Lu,Ru),e.insertBeforeIndex=t)}function Vu(e,t){var n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Wu(e,t,n){var r=xo(e,n,64,null,null);return Nu(t,r),r}function qu(e,t){var n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}var zu=0,Ju=0;function Gu(e,t,n,r){for(var i,o=n[11],a=null,s=0;s<t.length;s++){var l=t[s];if("string"==typeof l){var u=t[++s];null===n[u]&&(n[u]=Pi(o,l))}else if("number"==typeof l)switch(1&l){case 0:var c=l>>>17,A=void 0,h=void 0;if(null===a&&(a=c,i=zi(o,r)),c===a?(A=r,h=i):(A=null,h=De(n[c])),null!==h){var d=(131070&l)>>>1;Vi(o,h,n[d],A,!1);var f=Vu(e,d);if(null!==f&&"object"==typeof f){var p=qu(f,n);null!==p&&Gu(e,f.create[p],n,n[f.anchorIdx])}}break;case 1:var _=t[++s],g=t[++s];na(o,Ie(l>>>1,n),null,null,_,g,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Pu:var v=t[++s],m=t[++s];null===n[m]&&di(n[m]=Qi(o,v),n);break;case xu:var y=t[++s],E=t[++s];null===n[E]&&di(n[E]=Fi(o,y,null),n)}}}function Yu(e,t,n,r,i){for(var o=0;o<n.length;o++){var a=n[o],s=n[++o];if(a&i)for(var l="",u=o+1;u<=o+s;u++){var c=n[u];if("string"==typeof c)l+=c;else if("number"==typeof c)if(c<0)l+=g(t[r-c]);else{var A=c>>>2;switch(3&c){case 1:var h=n[++u],d=n[++u],f=e.data[A];"string"==typeof f?na(t[11],t[A],null,f,h,l,d):qo(e,f,t,h,l,t[11],d,!1);break;case 0:var p=t[A];null!==p&&Si(t[11],p,l);break;case 2:Xu(e,Vu(e,A),t,l);break;case 3:ju(e,Vu(e,A),r,t)}}}else{var _=n[o+1];if(_>0&&3==(3&_)){var v=Vu(e,_>>>2);t[v.currentCaseLViewIndex]<0&&ju(e,v,r,t)}}o+=s}}function ju(e,t,n,r){var i=r[t.currentCaseLViewIndex];if(null!==i){var o=zu;i<0&&(i=r[t.currentCaseLViewIndex]=~i,o=-1),Yu(e,r,t.update[i],n,o)}}function Xu(e,t,n,r){var i=function(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function(e,t){var n=Mu(t)(parseInt(e,10)),r=Uu[n];return void 0!==r?r:"other"}(t,Qu);-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(qu(t,n)!==i&&($u(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){var o=n[t.anchorIdx];o&&Gu(e,t.create[i],n,o)}}function $u(e,t,n){var r=qu(t,n);if(null!==r)for(var i=t.remove[r],o=0;o<i.length;o++){var a=i[o];if(a>0){var s=Ie(a,n);null!==s&&ro(n[11],s)}else $u(e,Vu(e,~a),n)}}var ec=/\ufffd(\d+):?\d*\ufffd/gi,tc=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,nc=/\ufffd(\d+)\ufffd/,rc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ic=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,oc=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ac=/\uE500/g;function sc(e,t,n,r,i,o,a){var s=Po(e,r,1,null),l=s<<Su.SHIFT,u=Ye();t===u&&(u=null),null===u&&(l|=Su.APPEND_EAGERLY),a&&(l|=Su.COMMENT,void 0===Ti&&(Ti=function(){var e,t,n=[],r=-1;function i(e,n){r=0;var i=qu(e,n);t=null!==i?e.remove[i]:Z}function o(){if(r<t.length){var a=t[r++];return a>0?e[a]:(n.push(r,t),i(e[1].data[~a],e),o())}return 0===n.length?null:(t=n.pop(),r=n.pop(),o())}return function(t,r){for(e=r;n.length;)n.pop();return i(t.value,r),o}}())),i.push(l,null===o?"":o);var c=xo(e,s,a?32:1,null===o?"":o,null);Nu(n,c);var A=c.index;return je(c,!1),null!==u&&t!==u&&function(e,t){var n,r=e.insertBeforeIndex;null===r?(Xi(Lu,Ru),r=e.insertBeforeIndex=[null,t]):(1!=(n=Array.isArray(r))&&y("Expecting array here",n,!0,"=="),r.push(t))}(u,A),c}function lc(e,t,n,r,i,o,a){var s=a.match(ec),l=sc(e,t,n,o,r,s?null:a,!1);s&&uc(i,a,l.index,null,0,null)}function uc(e,t,n,r,i,o){var a=e.length,s=a+1;e.push(null,null);for(var l=a+2,u=t.split(ec),c=0,A=0;A<u.length;A++){var h=u[A];if(1&A){var d=i+parseInt(h,10);e.push(-1-d),c|=Ac(d)}else""!==h&&e.push(h)}return e.push(n<<2|(r?1:0)),r&&e.push(r,o),e[a]=c,e[s]=e.length-l,c}function cc(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];"number"==typeof r&&r<0&&t++}return t}function Ac(e){return 1<<Math.min(e,31)}function hc(e){for(var t,n,r="",i=0,o=!1;null!==(t=ic.exec(e));)o?t[0]==="\ufffd/*".concat(n,"\ufffd")&&(i=t.index,o=!1):(r+=e.substring(i,t.index+t[0].length),n=t[1],o=!0);return r+=e.substr(i)}function dc(e,t,n,r,i,o){var a=0,s={type:i.type,currentCaseLViewIndex:Po(e,t,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Ac(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,i,o),function(e,t,n){var r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,o,s);for(var l=i.values,u=0;u<l.length;u++){for(var c=l[u],A=[],h=0;h<c.length;h++){var d=c[h];if("string"!=typeof d){var f=A.push(d)-1;c[h]="\x3c!--\ufffd".concat(f,"\ufffd--\x3e")}}a=_c(e,s,t,n,r,i.cases[u],c.join(""),A)|a}a&&function(e,t,n){e.push(t,1,n<<2|3)}(n,a,o)}function fc(e){for(var t=[],n=[],r=1,i=0,o=pc(e=e.replace(rc,function(e,t,n){return r="select"===n?0:1,i=parseInt(t.substr(1),10),""})),a=0;a<o.length;){var s=o[a++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var l=pc(o[a++]);t.length>n.length&&n.push(l)}return{type:r,mainBinding:i,cases:t,values:n}}function pc(e){if(!e)return[];var t,n=0,r=[],i=[],o=/[{}]/g;for(o.lastIndex=0;t=o.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var s=e.substring(n,a);rc.test(s)?i.push(fc(s)):i.push(s),n=a+1}}else{if(0==r.length){var l=e.substring(n,a);i.push(l),n=a+1}r.push("{")}}var u=e.substring(n);return i.push(u),i}function _c(e,t,n,r,i,o,a,s){var l=[],u=[],c=[];t.cases.push(o),t.create.push(l),t.remove.push(u),t.update.push(c);var A=Ur(ke()).getInertBodyElement(a),h=ni(A)||A;return h?gc(e,t,n,r,l,u,c,h,i,s,0):0}function gc(e,t,n,r,i,o,a,s,l,u,c){for(var A=0,h=s.firstChild;h;){var d=Po(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:var f=h,p=f.tagName.toLowerCase();if(qr.hasOwnProperty(p)){yc(i,xu,p,l,d),e.data[d]=p;for(var _=f.attributes,g=0;g<_.length;g++){var v=_.item(g),m=v.name.toLowerCase();v.value.match(ec)?Gr.hasOwnProperty(m)&&uc(a,v.value,d,v.name,0,zr[m]?Fr:Jr[m]?Lr:null):Ec(i,d,v)}A=gc(e,t,n,r,i,o,a,h,d,u,c+1)|A,vc(o,d,c)}break;case Node.TEXT_NODE:var y=h.textContent||"",E=y.match(ec);yc(i,null,E?"":y,l,d),vc(o,d,c),E&&(A=uc(a,y,d,null,0,null)|A);break;case Node.COMMENT_NODE:var C=nc.exec(h.textContent||"");if(C){var w=u[parseInt(C[1],10)];yc(i,Pu,"",l,d),dc(e,n,r,l,w,d),mc(o,d,c)}}h=h.nextSibling}return A}function vc(e,t,n){0===n&&e.push(t)}function mc(e,t,n){0===n&&(e.push(~t),e.push(t))}function yc(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,0|r<<17|i<<1)}function Ec(e,t,n){e.push(t<<1|1,n.name,n.value)}var Cc=/\[(\ufffd.+?\ufffd?)\]/,wc=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Bc=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,bc=/{([A-Z0-9_]+)}/g,Tc=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,kc=/\/\*/,Oc=/\d+\:(\d+)/;function Mc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,r=qe(),i=We(),o=20+e,a=Le(r.consts,t),s=Ye();r.firstCreatePass&&function(e,t,n,r,i,o){for(var a,s=Ye(),l=[],u=[],c=[[]],A=(a=i=function(e,t){if(function(e){return-1===e}(t))return hc(e);var n=e.indexOf(":".concat(t,"\ufffd"))+2+t.toString().length,r=e.search(new RegExp("\ufffd\\/\\*\\d+:".concat(t,"\ufffd")));return hc(e.substring(n,r))}(i,o),a.replace(ac," ")).split(oc),h=0;h<A.length;h++){var d=A[h];if(0==(1&h))for(var f=pc(d),p=0;p<f.length;p++){var _=f[p];if(0==(1&p)){var g=_;""!==g&&lc(e,s,c[0],l,u,n,g)}else{var v=_;if("object"!=typeof v)throw new Error('Unable to parse ICU expression in "'.concat(i,'" message.'));dc(e,n,u,t,v,sc(e,s,c[0],n,l,"",!0).index)}}else{var m=47===d.charCodeAt(0),y=(d.charCodeAt(m?1:0),20+Number.parseInt(d.substring(m?2:1)));if(m)c.shift(),je(Ye(),!1);else{var E=Wu(e,c[0],y);c.unshift([]),je(E,!0)}}}e.data[r]={create:l,update:u}}(r,null===s?0:s.index,i,o,a,n);var l=r.data[o],u=Zi(r,s===i[6]?null:s,i);!function(e,t,n,r){for(var i=e[11],o=0;o<t.length;o++){var a=t[o++],s=t[o],l=(a&Su.COMMENT)===Su.COMMENT,u=(a&Su.APPEND_EAGERLY)===Su.APPEND_EAGERLY,c=a>>>Su.SHIFT,A=e[c];null===A&&(A=e[c]=l?i.createComment(s):Pi(i,s)),u&&null!==n&&Vi(i,n,A,r,!1)}}(i,l.create,u,s&&8&s.type?i[s.index]:null),st(!0)}function Dc(){st(!1)}function Ic(e,t,n){Mc(e,t,n),Dc()}function Uc(e,t){var n=qe();!function(e,t,n){var r=Je().index,i=[];if(e.firstCreatePass&&null===e.data[t]){for(var o=0;o<n.length;o+=2){var a=n[o],s=n[o+1];if(""!==s){if(tc.test(s))throw new Error('ICU expressions are not supported in attributes. Message: "'.concat(s,'".'));uc(i,s,r,a,cc(i),null)}}e.data[t]=i}}(n,e+20,Le(n.consts,t))}function xc(e){return ts(We(),ot(),e)&&(zu|=1<<Math.min(Ju,31)),Ju++,xc}function Pc(e){!function(e,t,n){if(Ju>0){var r=e.data[n];Yu(e,t,Array.isArray(r)?r:r.update,rt()-Ju-1,zu)}zu=0,Ju=0}(qe(),We(),e+20)}function Sc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(Cc.test(e)){var r={},i=[0];n=n.replace(wc,function(e,t,n){var o=t||n,a=r[o]||[];if(a.length||(o.split("|").forEach(function(e){var t=e.match(Oc),n=t?parseInt(t[1],10):0,r=kc.test(e);a.push([n,r,e])}),r[o]=a),!a.length)throw new Error("i18n postprocess: unmatched placeholder - ".concat(o));for(var s=i[i.length-1],l=0,u=0;u<a.length;u++)if(a[u][0]===s){l=u;break}var c=_slicedToArray(a[l],3),A=c[0],h=c[1],d=c[2];return h?i.pop():s!==A&&i.push(A),a.splice(l,1),d})}return Object.keys(t).length?n=(n=(n=n.replace(Bc,function(e,n,r,i,o,a){return t.hasOwnProperty(r)?"".concat(n).concat(t[r]).concat(a):e})).replace(bc,function(e,n){return t.hasOwnProperty(n)?t[n]:e})).replace(Tc,function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(e," with key: ").concat(n));return r.shift()}return e}):n}(e,t)}function Qc(e,t,n,r,i){if(e=f(e),Array.isArray(e))for(var o=0;o<e.length;o++)Qc(e[o],t,n,r,i);else{var a=qe(),s=We(),l=Sa(e)?e:f(e.provide),u=Ua(e),c=Je(),A=1048575&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>20;if(Sa(e)||!e.multi){var p=new Ut(u,i,Us),_=Rc(l,t,i?A:A+d,h);-1===_?(Jt(Vt(c,s),a,l),Fc(a,e,t.length),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[_]=p,s[_]=p)}else{var g=Rc(l,t,A+d,h),v=Rc(l,t,A,A+d),m=g>=0&&n[g],y=v>=0&&n[v];if(i&&!y||!i&&!m){Jt(Vt(c,s),a,l);var E=function(e,t,n,r,i){var o=new Ut(e,n,Us);return o.multi=[],o.index=t,o.componentProviders=0,Lc(o,i,r&&!n),o}(i?Hc:Nc,n.length,i,r,u);!i&&y&&(n[v].providerFactory=E),Fc(a,e,t.length,0),t.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(E),s.push(E)}else Fc(a,e,g>-1?g:v,Lc(n[i?v:g],u,!i&&r));!i&&r&&y&&n[v].componentProviders++}}}function Fc(e,t,n,r){var i=Sa(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function Lc(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Rc(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Nc(e,t,n,r){return Kc(this.multi,[])}function Hc(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=nn(n,n[1],this.providerFactory.index,r);Kc(o,i=s.slice(0,a));for(var l=a;l<s.length;l++)i.push(s[l])}else Kc(o,i=[]);return i}function Kc(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Zc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=qe();if(r.firstCreatePass){var i=ge(e);Qc(n,r.data,r.blueprint,i,!0),Qc(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}var Vc=function e(){_classCallCheck(this,e)},Wc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(c(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),qc=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Wc,e}();function zc(){}function Jc(e,t){return new Yc(Ue(e,t))}var Gc=function(){return Jc(Je(),We())},Yc=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=Gc,e}();function jc(e){return e instanceof Yc?e.nativeElement:e}var Xc=function e(){_classCallCheck(this,e)},$c=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return eA()},e}(),eA=function(){var e=We(),t=Se(Je().index,e);return function(e){return e[11]}(he(t)?t:e)},tA=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=E({token:e,providedIn:"root",factory:function(){return null}}),e}(),nA=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},rA=new nA("12.0.3"),iA=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return ja(e)}},{key:"create",value:function(e){return new aA(e)}}]),e}(),oA=function(e,t){return t},aA=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||oA}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<cA(n,r,i)?t:n,a=cA(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var l=a-r,u=s-r;if(l!=u){for(var c=0;c<l;c++){var A=c<i.length?i[c]:i[c]=0,h=A+c;u<=h&&h<l&&(i[c]=A+1)}i[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!ja(e))throw new Error("Error trying to diff '".concat(c(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],i=this._trackByFn(s,r),null!==o&&Object.is(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Object.is(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[Ga()]();!(r=i.next()).done;)t(r.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):e=this._addAfter(new sA(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new uA),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new uA),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}]),e}(),sA=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},lA=function(){function e(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),uA=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new lA,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function cA(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var AA=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||Xa(e)}},{key:"create",value:function(){return new hA}}]),e}(),hA=function(){function e(){_classCallCheck(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return _createClass(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Xa(e)))throw new Error("Error trying to diff '".concat(c(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new dA(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})}}]),e}(),dA=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null};function fA(){return new pA([new iA])}var pA=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||fA())},deps:[[e,new tr,new $n]]}}}]),e}();return e.\u0275prov=E({token:e,providedIn:"root",factory:fA}),e}();function _A(){return new gA([new AA])}var gA=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||_A())},deps:[[e,new tr,new $n]]}}}]),e}();return e.\u0275prov=E({token:e,providedIn:"root",factory:_A}),e}();function vA(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var o=t[n.index];if(null!==o&&r.push(De(o)),de(o))for(var a=10;a<o.length;a++){var s=o[a],l=s[1].firstChild;null!==l&&vA(s[1],s,l,r)}var u=n.type;if(8&u)vA(e,t,n.child,r);else if(32&u)for(var c=Oi(n,t),A=void 0;A=c();)r.push(A);else if(16&u){var h=to(t,n);if(Array.isArray(h))r.push.apply(r,_toConsumableArray(h));else{var d=Mi(t[16]);vA(d[1],d,h,r,!0)}}n=i?n.projectionNext:n.next}return r}var mA=function(){function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return _createClass(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return vA(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(e){this._lView[8]=e}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(de(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Ri(e,n),Mn(t,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Vo(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){ca(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Aa(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){tt(!0);try{Aa(e,t,n)}finally{tt(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,oo(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),yA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e))._view=e,r}return _createClass(n,[{key:"detectChanges",value:function(){ha(this._view)}},{key:"checkNoChanges",value:function(){!function(e){tt(!0);try{ha(e)}finally{tt(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(mA),EA=function(e){return function(e,t,n){if(pe(e)&&!n){var r=Se(e.index,t);return new mA(r,r)}return 47&e.type?new mA(t[16],t):null}(Je(),We(),16==(16&e))},CA=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=EA,e}(),wA=[new AA],BA=new pA([new iA]),bA=new gA(wA),TA=function(){return MA(Je(),We())},kA=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=TA,e}(),OA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=r,o.elementRef=i,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Io(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),So(t,n,e),new mA(n)}}]),n}(kA);function MA(e,t){return 4&e.type?new OA(t,e,Jc(e,t)):null}var DA=function e(){_classCallCheck(this,e)},IA=function(){return QA(Je(),We())},UA=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=IA,e}(),xA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=r,o._hostLView=i,o}return _createClass(n,[{key:"element",get:function(){return Jc(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new an(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=zt(this._hostTNode,this._hostLView);if(Lt(e)){var t=Nt(e,this._hostLView),n=Rt(e);return new an(t[1].data[n+8],t)}return new an(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=PA(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(DA,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var r=e._lView,i=r[1];if(de(r[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var a=r[3],s=new n(a,a[6],a[3]);s.detach(s.indexOf(e))}}var l=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],On(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(i,r,u,l);var c=no(l,u),A=r[11],h=zi(A,u[7]);return null!==h&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,oo(e,r,n,1,i,o)}(i,u[6],A,r,h,c),e.attachToViewContainerRef(),On(SA(u),l,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=PA(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=Ri(this._lContainer,t);n&&(Mn(SA(this._lContainer),t),Ni(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=Ri(this._lContainer,t);return n&&null!=Mn(SA(this._lContainer),t)?new mA(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(UA);function PA(e){return e[8]}function SA(e){return e[8]||(e[8]=[])}function QA(e,t){var n,r=t[e.index];if(de(r))n=r;else{var i;if(8&e.type)i=De(r);else{var o=t[11];i=o.createComment("");var a=Ue(e,t);Vi(o,zi(o,a),i,function(e,t){return Oe(e)?e.nextSibling(t):t.nextSibling}(o,a),!1)}t[e.index]=n=oa(r,t,i,e),ua(t,n)}return new xA(n,e,t)}var FA={},LA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).ngModule=e,r}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=le(e);return new HA(t,this.ngModule)}}]),n}(qc);function RA(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var NA=new vn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ei}}),HA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(yo).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return _createClass(n,[{key:"inputs",get:function(){return RA(this.componentDef.inputs)}},{key:"outputs",get:function(){return RA(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,r){var i,o,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,FA,i);return o!==FA||r===FA?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(Xc,Me),l=a.get(tA,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",A=n?function(e,t,n){if(Oe(e))return e.selectRootElement(t,n===Q.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,n,this.componentDef.encapsulation):Fi(s.createRenderer(null,this.componentDef),c,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,d={components:[],scheduler:Ei,clean:fa,playerHandler:null,flags:0},f=Zo(0,null,null,1,0,null,null,null,null,null),p=Io(null,f,d,h,null,null,s,u,l,a);ft(p);try{var _=function(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=Uo(a,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(Ea(s,l,!0),null!==e&&(xt(i,e,l),null!==s.classes&&lo(i,e,s.classes),null!==s.styles&&so(i,e,s.styles)));var u=r.createRenderer(e,t),c=Io(n,Ko(t),null,t.onPush?64:16,n[20],s,r,u,null,null);return a.firstCreatePass&&(Jt(Vt(s,n),a,t.type),Yo(a,s),Xo(s,n.length,1)),ua(n,c),n[20]=c}(A,this.componentDef,p,s,u);if(A)if(n)xt(u,A,["ng-version",rA.full]);else{var g=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!po(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),v=g.attrs,m=g.classes;v&&xt(u,A,v),m&&m.length>0&&lo(u,A,m.join(" "))}if(o=xe(f,20),void 0!==t)for(var y=o.projection=[],E=0;E<this.ngContentSelectors.length;E++){var C=t[E];y.push(null!=C?Array.from(C):null)}i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=Je();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$o(e,r,t,Po(e,t,1,null),n));var i=nn(t,e,r.directiveStart,r);di(i,t);var o=Ue(r,t);return o&&di(o,t),i}(o,n,t);if(r.components.push(a),e[8]=a,i&&i.forEach(function(e){return e(a,t)}),t.contentQueries){var s=Je();t.contentQueries(1,a,s.directiveStart)}var l=Je();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Et(l.index),Jo(n[1],l,0,l.directiveStart,l.directiveEnd,t),Go(t,a)),a}(_,this.componentDef,p,d,[La]),So(f,p,null)}finally{mt()}return new KA(this.componentType,i,Jc(o,p),p,o)}}]),n}(Vc),KA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this)).location=i,s._rootLView=o,s._tNode=a,s.instance=r,s.hostView=s.changeDetectorRef=new yA(o),s.componentType=e,s}return _createClass(n,[{key:"injector",get:function(){return new an(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}());function ZA(e,t,n,r){return P(function(){var i,o=e;null!==t&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?(i=o.decorators).push.apply(i,_toConsumableArray(t)):o.decorators=t),null!==n&&(o.ctorParameters=n),null!==r&&(o.propDecorators=o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?Object.assign(Object.assign({},o.propDecorators),r):r)})}var VA=new Map,WA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;_classCallCheck(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new LA(_assertThisInitialized(i));var o=Ae(e),a=e[J]||null;return a&&Fu(a),i._bootstrapComponents=bi(o.bootstrap),i._r3Injector=Ma(e,r,[{provide:DA,useValue:_assertThisInitialized(i)},{provide:qc,useValue:i.componentFactoryResolver}],c(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fa.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I.Default;return e===Fa||e===DA||e===wa?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(DA),qA=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,i,o;return _classCallCheck(this,n),(r=t.call(this)).moduleType=e,null!==Ae(e)&&(i=e,o=new Set,function e(t){var n=Ae(t,!0),r=n.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(c(t)," vs ").concat(c(t.name)))}(r,VA.get(r),t),VA.set(r,t));var i,a=_createForOfIteratorHelper(bi(n.imports));try{for(a.s();!(i=a.n()).done;){var s=i.value;o.has(s)||(o.add(s),e(s))}}catch(l){a.e(l)}finally{a.f()}}(i)),r}return _createClass(n,[{key:"create",value:function(e){return new WA(this.moduleType,e)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}());function zA(e,t,n){var r=nt()+e,i=We();return i[r]===Eo?$a(i,r,n?t.call(n):t()):es(i,r)}function JA(e,t,n,r){return ih(We(),nt(),e,t,n,r)}function GA(e,t,n,r,i){return oh(We(),nt(),e,t,n,r,i)}function YA(e,t,n,r,i,o){return ah(We(),nt(),e,t,n,r,i,o)}function jA(e,t,n,r,i,o,a){return sh(We(),nt(),e,t,n,r,i,o,a)}function XA(e,t,n,r,i,o,a,s){var l=nt()+e,u=We(),c=is(u,l,n,r,i,o);return ts(u,l+4,a)||c?$a(u,l+5,s?t.call(s,n,r,i,o,a):t(n,r,i,o,a)):es(u,l+5)}function $A(e,t,n,r,i,o,a,s,l){var u=nt()+e,c=We(),A=is(c,u,n,r,i,o);return ns(c,u+4,a,s)||A?$a(c,u+6,l?t.call(l,n,r,i,o,a,s):t(n,r,i,o,a,s)):es(c,u+6)}function eh(e,t,n,r,i,o,a,s,l,u){var c=nt()+e,A=We(),h=is(A,c,n,r,i,o);return rs(A,c+4,a,s,l)||h?$a(A,c+7,u?t.call(u,n,r,i,o,a,s,l):t(n,r,i,o,a,s,l)):es(A,c+7)}function th(e,t,n,r,i,o,a,s,l,u,c){var A=nt()+e,h=We(),d=is(h,A,n,r,i,o);return is(h,A+4,a,s,l,u)||d?$a(h,A+8,c?t.call(c,n,r,i,o,a,s,l,u):t(n,r,i,o,a,s,l,u)):es(h,A+8)}function nh(e,t,n,r){return lh(We(),nt(),e,t,n,r)}function rh(e,t){var n=e[t];return n===Eo?void 0:n}function ih(e,t,n,r,i,o){var a=t+n;return ts(e,a,i)?$a(e,a+1,o?r.call(o,i):r(i)):rh(e,a+1)}function oh(e,t,n,r,i,o,a){var s=t+n;return ns(e,s,i,o)?$a(e,s+2,a?r.call(a,i,o):r(i,o)):rh(e,s+2)}function ah(e,t,n,r,i,o,a,s){var l=t+n;return rs(e,l,i,o,a)?$a(e,l+3,s?r.call(s,i,o,a):r(i,o,a)):rh(e,l+3)}function sh(e,t,n,r,i,o,a,s,l){var u=t+n;return is(e,u,i,o,a,s)?$a(e,u+4,l?r.call(l,i,o,a,s):r(i,o,a,s)):rh(e,u+4)}function lh(e,t,n,r,i,o){for(var a=t+n,s=!1,l=0;l<i.length;l++)ts(e,a++,i[l])&&(s=!0);return s?$a(e,a,r.apply(o,i)):rh(e,a)}function uh(e,t){var n,r=qe(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new _("302","The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=ve(n.type)),a=U(Us);try{var s=Kt(!1),l=o();return Kt(s),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(r,We(),i,l),l}finally{U(a)}}function ch(e,t,n){var r=e+20,i=We(),o=Pe(i,r);return _h(i,ph(i,r)?ih(i,nt(),t,o.transform,n,o):o.transform(n))}function Ah(e,t,n,r){var i=e+20,o=We(),a=Pe(o,i);return _h(o,ph(o,i)?oh(o,nt(),t,a.transform,n,r,a):a.transform(n,r))}function hh(e,t,n,r,i){var o=e+20,a=We(),s=Pe(a,o);return _h(a,ph(a,o)?ah(a,nt(),t,s.transform,n,r,i,s):s.transform(n,r,i))}function dh(e,t,n,r,i,o){var a=e+20,s=We(),l=Pe(s,a);return _h(s,ph(s,a)?sh(s,nt(),t,l.transform,n,r,i,o,l):l.transform(n,r,i,o))}function fh(e,t,n){var r=e+20,i=We(),o=Pe(i,r);return _h(i,ph(i,r)?lh(i,nt(),t,o.transform,n,o):o.transform.apply(o,n))}function ph(e,t){return e[1].data[t].pure}function _h(e,t){return Ya.isWrapped(t)&&(t=Ya.unwrap(t),e[rt()]=Eo),t}function gh(e){return function(t){setTimeout(e,void 0,t)}}var vh=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var o,a,s,l=e,u=t||function(){return null},c=r;if(e&&"object"==typeof e){var A=e;l=null===(o=A.next)||void 0===o?void 0:o.bind(A),u=null===(a=A.error)||void 0===a?void 0:a.bind(A),c=null===(s=A.complete)||void 0===s?void 0:s.bind(A)}this.__isAsync&&(u=gh(u),l&&(l=gh(l)),c&&(c=gh(c)));var h=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,{next:l,error:u,complete:c});return e instanceof i.w0&&e.add(h),h}}]),n}(r.x);function mh(){return this._results[Ga()]()}var yh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_classCallCheck(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Ga(),r=e.prototype;r[n]||(r[n]=mh)}return _createClass(e,[{key:"changes",get:function(){return this._changes||(this._changes=new vh)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=Tn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}},{key:"notifyOnChanges",value:function(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Eh=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Ch=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==Qh(e,t).matches&&this.queries[t].setDirty()}}]),e}(),wh=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.predicate=t,this.flags=n,this.read=r},Bh=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),bh=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r];this.matchTNodeWithReadOption(e,t,Th(t,i)),this.matchTNodeWithReadOption(e,t,tn(t,e,i,!1,!1))}else n===kA?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,tn(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Yc||r===UA||r===kA&&4&t.type)this.addMatch(t.index,-2);else{var i=tn(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Th(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function kh(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Jc(e,t):4&e.type?MA(e,t):null}(t,e):-2===n?function(e,t,n){return n===Yc?Jc(t,e):n===kA?MA(t,e):n===UA?QA(t,e):void 0}(e,t,r):nn(e,e[1],n,t)}function Oh(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,a=n.matches,s=[],l=0;l<a.length;l+=2){var u=a[l];s.push(u<0?null:kh(t,o[u],a[l+1],n.metadata.read))}i.matches=s}return i.matches}function Mh(e,t,n,r){var i=e.queries.getByIndex(n),o=i.matches;if(null!==o)for(var a=Oh(e,t,i,n),s=0;s<o.length;s+=2){var l=o[s];if(l>0)r.push(a[s/2]);else{for(var u=o[s+1],c=t[-l],A=10;A<c.length;A++){var h=c[A];h[17]===h[3]&&Mh(h[1],h,u,r)}if(null!==c[9])for(var d=c[9],f=0;f<d.length;f++){var p=d[f];Mh(p[1],p,u,r)}}}return r}function Dh(e){var t=We(),n=qe(),r=ct();At(r+1);var i=Qh(n,r);if(e.dirty&&Qe(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?Mh(n,t,r,[]):Oh(n,t,i,r);e.reset(o,jc),e.notifyOnChanges()}return!0}return!1}function Ih(e,t,n){var r=qe();r.firstCreatePass&&(Sh(r,new wh(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Ph(r,We(),t)}function Uh(e,t,n,r){var i=qe();if(i.firstCreatePass){var o=Je();Sh(i,new wh(t,n,r),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Ph(i,We(),n)}function xh(){return e=We(),t=ct(),e[19].queries[t].queryList;var e,t}function Ph(e,t,n){var r=new yh(4==(4&n));Vo(e,t,r,r.destroy),null===t[19]&&(t[19]=new Ch),t[19].queries.push(new Eh(r))}function Sh(e,t,n){null===e.queries&&(e.queries=new Bh),e.queries.track(new bh(t,n))}function Qh(e,t){return e.queries.getByIndex(t)}function Fh(e,t){return MA(e,t)}var Lh={"\u0275\u0275attribute":os,"\u0275\u0275attributeInterpolate1":ps,"\u0275\u0275attributeInterpolate2":_s,"\u0275\u0275attributeInterpolate3":gs,"\u0275\u0275attributeInterpolate4":vs,"\u0275\u0275attributeInterpolate5":ms,"\u0275\u0275attributeInterpolate6":ys,"\u0275\u0275attributeInterpolate7":Es,"\u0275\u0275attributeInterpolate8":Cs,"\u0275\u0275attributeInterpolateV":ws,"\u0275\u0275defineComponent":X,"\u0275\u0275defineDirective":ae,"\u0275\u0275defineInjectable":E,"\u0275\u0275defineInjector":C,"\u0275\u0275defineNgModule":re,"\u0275\u0275definePipe":se,"\u0275\u0275directiveInject":Us,"\u0275\u0275getInheritedFactory":sn,"\u0275\u0275inject":zn,"\u0275\u0275injectAttribute":un,"\u0275\u0275invalidFactory":xs,"\u0275\u0275invalidFactoryDep":Jn,"\u0275\u0275templateRefExtractor":Fh,"\u0275\u0275NgOnChangesFeature":Ee,"\u0275\u0275ProvidersFeature":Zc,"\u0275\u0275CopyDefinitionFeature":za,"\u0275\u0275InheritDefinitionFeature":Na,"\u0275\u0275nextContext":js,"\u0275\u0275namespaceHTML":bt,"\u0275\u0275namespaceMathML":Bt,"\u0275\u0275namespaceSVG":wt,"\u0275\u0275enableBindings":Ze,"\u0275\u0275disableBindings":Ve,"\u0275\u0275elementStart":Qs,"\u0275\u0275elementEnd":Fs,"\u0275\u0275element":Ls,"\u0275\u0275elementContainerStart":Rs,"\u0275\u0275elementContainerEnd":Ns,"\u0275\u0275elementContainer":Hs,"\u0275\u0275pureFunction0":zA,"\u0275\u0275pureFunction1":JA,"\u0275\u0275pureFunction2":GA,"\u0275\u0275pureFunction3":YA,"\u0275\u0275pureFunction4":jA,"\u0275\u0275pureFunction5":XA,"\u0275\u0275pureFunction6":$A,"\u0275\u0275pureFunction7":eh,"\u0275\u0275pureFunction8":th,"\u0275\u0275pureFunctionV":nh,"\u0275\u0275getCurrentView":Ks,"\u0275\u0275restoreView":ze,"\u0275\u0275listener":qs,"\u0275\u0275projection":el,"\u0275\u0275syntheticHostProperty":Bu,"\u0275\u0275syntheticHostListener":zs,"\u0275\u0275pipeBind1":ch,"\u0275\u0275pipeBind2":Ah,"\u0275\u0275pipeBind3":hh,"\u0275\u0275pipeBind4":dh,"\u0275\u0275pipeBindV":fh,"\u0275\u0275projectionDef":$s,"\u0275\u0275hostProperty":wu,"\u0275\u0275property":Ps,"\u0275\u0275propertyInterpolate":tl,"\u0275\u0275propertyInterpolate1":nl,"\u0275\u0275propertyInterpolate2":rl,"\u0275\u0275propertyInterpolate3":il,"\u0275\u0275propertyInterpolate4":ol,"\u0275\u0275propertyInterpolate5":al,"\u0275\u0275propertyInterpolate6":sl,"\u0275\u0275propertyInterpolate7":ll,"\u0275\u0275propertyInterpolate8":ul,"\u0275\u0275propertyInterpolateV":cl,"\u0275\u0275pipe":uh,"\u0275\u0275queryRefresh":Dh,"\u0275\u0275viewQuery":Ih,"\u0275\u0275loadQuery":xh,"\u0275\u0275contentQuery":Uh,"\u0275\u0275reference":bs,"\u0275\u0275classMap":Tl,"\u0275\u0275classMapInterpolate1":Yl,"\u0275\u0275classMapInterpolate2":jl,"\u0275\u0275classMapInterpolate3":Xl,"\u0275\u0275classMapInterpolate4":$l,"\u0275\u0275classMapInterpolate5":eu,"\u0275\u0275classMapInterpolate6":tu,"\u0275\u0275classMapInterpolate7":nu,"\u0275\u0275classMapInterpolate8":ru,"\u0275\u0275classMapInterpolateV":iu,"\u0275\u0275styleMap":Bl,"\u0275\u0275styleMapInterpolate1":ou,"\u0275\u0275styleMapInterpolate2":au,"\u0275\u0275styleMapInterpolate3":su,"\u0275\u0275styleMapInterpolate4":lu,"\u0275\u0275styleMapInterpolate5":uu,"\u0275\u0275styleMapInterpolate6":cu,"\u0275\u0275styleMapInterpolate7":Au,"\u0275\u0275styleMapInterpolate8":hu,"\u0275\u0275styleMapInterpolateV":du,"\u0275\u0275styleProp":Cl,"\u0275\u0275stylePropInterpolate1":fu,"\u0275\u0275stylePropInterpolate2":pu,"\u0275\u0275stylePropInterpolate3":_u,"\u0275\u0275stylePropInterpolate4":gu,"\u0275\u0275stylePropInterpolate5":vu,"\u0275\u0275stylePropInterpolate6":mu,"\u0275\u0275stylePropInterpolate7":yu,"\u0275\u0275stylePropInterpolate8":Eu,"\u0275\u0275stylePropInterpolateV":Cu,"\u0275\u0275classProp":wl,"\u0275\u0275advance":Co,"\u0275\u0275template":Bs,"\u0275\u0275text":Rl,"\u0275\u0275textInterpolate":Nl,"\u0275\u0275textInterpolate1":Hl,"\u0275\u0275textInterpolate2":Kl,"\u0275\u0275textInterpolate3":Zl,"\u0275\u0275textInterpolate4":Vl,"\u0275\u0275textInterpolate5":Wl,"\u0275\u0275textInterpolate6":ql,"\u0275\u0275textInterpolate7":zl,"\u0275\u0275textInterpolate8":Jl,"\u0275\u0275textInterpolateV":Gl,"\u0275\u0275i18n":Ic,"\u0275\u0275i18nAttributes":Uc,"\u0275\u0275i18nExp":xc,"\u0275\u0275i18nStart":Mc,"\u0275\u0275i18nEnd":Dc,"\u0275\u0275i18nApply":Pc,"\u0275\u0275i18nPostprocess":Sc,"\u0275\u0275resolveWindow":Ci,"\u0275\u0275resolveDocument":wi,"\u0275\u0275resolveBody":Bi,"\u0275\u0275setComponentScope":$,"\u0275\u0275setNgModuleScope":ie,"\u0275\u0275sanitizeHtml":ii,"\u0275\u0275sanitizeStyle":oi,"\u0275\u0275sanitizeResourceUrl":si,"\u0275\u0275sanitizeScript":li,"\u0275\u0275sanitizeUrl":ai,"\u0275\u0275sanitizeUrlOrResourceUrl":Ai,"\u0275\u0275trustConstantHtml":ui,"\u0275\u0275trustConstantResourceUrl":ci,forwardRef:d,resolveForwardRef:f},Rh=[],Nh=!1;function Hh(e){return Array.isArray(e)?e.every(Hh):!!f(e)}function Kh(e,t){var n=Tn(t.declarations||Z),r=Vh(e);n.forEach(function(t){t.hasOwnProperty(V)?Zh(le(t),r):t.hasOwnProperty(W)||t.hasOwnProperty(q)||(t.ngSelectorScope=e)})}function Zh(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return e.hasOwnProperty(V)?le(e):ue(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return ce(e)})},e.schemas=t.schemas,e.tView=null}function Vh(e){if(!qh(e))throw new Error("".concat(e.name," does not have a module def (\u0275mod property)"));var t=Ae(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return bi(t.imports).forEach(function(e){var t=e;if(!qh(t))throw new Error("Importing ".concat(t.name," which does not have a \u0275mod property"));var r=Vh(t);r.exported.directives.forEach(function(e){return n.compilation.directives.add(e)}),r.exported.pipes.forEach(function(e){return n.compilation.pipes.add(e)})}),bi(t.declarations).forEach(function(e){ce(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),bi(t.exports).forEach(function(e){var t=e;if(qh(t)){var r=Vh(t);r.exported.directives.forEach(function(e){n.compilation.directives.add(e),n.exported.directives.add(e)}),r.exported.pipes.forEach(function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else ce(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function Wh(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function qh(e){return!!Ae(e)}var zh=0;function Jh(e,t){var n=null;Yh(e,t||{}),Object.defineProperty(e,W,{get:function(){if(null===n){var r=Gh(e,t||{});n=wn().compileDirective(Lh,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function Gh(e,t){var n=e&&e.name,r="ng:///".concat(n,"/\u0275dir.js"),i=wn(),o=Xh(e,t);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&$h(e),{metadata:o,sourceMapUrl:r}}function Yh(e,t){var n=null;Object.defineProperty(e,G,{get:function(){if(null===n){var r=Gh(e,t),i=wn();n=i.compileFactory(Lh,"ng:///".concat(e.name,"/\u0275fac.js"),{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:or(e),target:i.FactoryTarget.Directive})}return n},configurable:!1})}function jh(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Xh(e,t){var n,r=ir(),i=r.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||K,propMetadata:i,inputs:t.inputs||Z,outputs:t.outputs||Z,queries:ed(e,i,td),lifecycle:{usesOnChanges:r.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!jh(e),exportAs:(n=t.exportAs,void 0===n?null:id(n)),providers:t.providers||null,viewQueries:ed(e,i,nd)}}function $h(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;n&&n!==t;)ue(n)||le(n)||!ad(n)||Jh(n,null),n=Object.getPrototypeOf(n)}function ed(e,t,n){var r=[],i=function(i){if(t.hasOwnProperty(i)){var o=t[i];o.forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \"".concat(i,'" of "').concat(v(e),"\" since the query selector wasn't defined."));if(o.some(rd))throw new Error("Cannot combine @Input decorators with query decorators");r.push(function(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?id(n):f(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}(i,t))}})}};for(var o in t)i(o);return r}function td(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function nd(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function rd(e){return"Input"===e.ngMetadataName}function id(e){return e.split(",").map(function(e){return e.trim()})}var od=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function ad(e){var t=ir();if(od.some(function(n){return t.hasLifecycleHook(e,n)}))return!0;var n=t.propMetadata(e);for(var r in n)for(var i=n[r],o=0;o<i.length;o++){var a=i[o],s=a.ngMetadataName;if(rd(a)||td(a)||nd(a)||"Output"===s||"HostBinding"===s||"HostListener"===s)return!0}return!1}var sd=dn("Directive",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},void 0,void 0,function(e,t){return dd(e,t)}),ld=dn("Component",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({changeDetection:S.Default},e)},sd,void 0,function(e,t){return hd(e,t)}),ud=_n("Input",function(e){return{bindingPropertyName:e}}),cd=_n("Output",function(e){return{bindingPropertyName:e}}),Ad=_n("HostListener",function(e,t){return{eventName:e,args:t}}),hd=function(e,t){var n=null;!function(e,t){Ar(t)&&(ur.set(e,t),cr.add(e))}(e,t),Yh(e,t),Object.defineProperty(e,V,{get:function(){if(null===n){var r=wn();if(Ar(t)){var i=["Component '".concat(e.name,"' is not resolved:")];throw t.templateUrl&&i.push(" - templateUrl: ".concat(t.templateUrl)),t.styleUrls&&t.styleUrls.length&&i.push(" - styleUrls: ".concat(JSON.stringify(t.styleUrls))),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var o=t.preserveWhitespaces;void 0===o&&(o=!1);var a=t.encapsulation;void 0===a&&(a=Q.Emulated);var s=t.templateUrl||"ng:///".concat(e.name,"/template.html"),l=Object.assign(Object.assign({},Xh(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,s),template:t.template||"",preserveWhitespaces:o,styles:t.styles||Z,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:a,interpolation:t.interpolation,viewProviders:t.viewProviders||null});zh++;try{l.usesInheritance&&$h(e),n=r.compileComponent(Lh,s,l)}finally{zh--}if(0===zh&&function(){if(!Nh){Nh=!0;try{for(var e=Rh.length-1;e>=0;e--){var t=Rh[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(Hh)&&(Rh.splice(e,1),Kh(n,r))}}finally{Nh=!1}}}(),void 0!==e.ngSelectorScope){var u=Vh(e.ngSelectorScope);Zh(n,u)}}return n},configurable:!1})},dd=Jh,fd=dn("NgModule",function(e){return e},void 0,void 0,function(e,t){return pd(e,t)}),pd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){var n=Tn(t.declarations||Z),r=null;Object.defineProperty(e,z,{configurable:!0,get:function(){return null===r&&((r=wn().compileNgModule(Lh,"ng:///".concat(e.name,"/\u0275mod.js"),{type:e,bootstrap:Tn(t.bootstrap||Z).map(f),declarations:n.map(f),imports:Tn(t.imports||Z).map(f).map(Wh),exports:Tn(t.exports||Z).map(f).map(Wh),schemas:t.schemas?Tn(t.schemas):null,id:t.id||null})).schemas||(r.schemas=[])),r}});var i=null;Object.defineProperty(e,G,{get:function(){if(null===i){var t=wn();i=t.compileFactory(Lh,"ng:///".concat(e.name,"/\u0275fac.js"),{name:e.name,type:e,deps:or(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!1});var o=null;Object.defineProperty(e,O,{get:function(){if(null===o){var n={name:e.name,type:e,providers:t.providers||Z,imports:[(t.imports||Z).map(f),(t.exports||Z).map(f)]};o=wn().compileInjector(Lh,"ng:///".concat(e.name,"/\u0275inj.js"),n)}return o},configurable:!1})}(e,t),function(e,t){Rh.push({moduleType:e,ngModule:t})}(e,t)},_d=new vn("Application Initializer"),gd=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.resolve=zc,this.reject=zc,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=function(n){var r=e.appInits[n]();if(Zs(r))t.push(r);else if(Ws(r)){var i=new Promise(function(e,t){r.subscribe({complete:e,error:t})});t.push(i)}},i=0;i<this.appInits.length;i++)r(i);Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(zn(_d,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),vd=new vn("AppId"),md={provide:vd,useFactory:function(){return"".concat(yd()).concat(yd()).concat(yd())},deps:[]};function yd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ed=new vn("Platform Initializer"),Cd=new vn("Platform ID"),wd=new vn("appBootstrapListener"),Bd=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),bd=new vn("LocaleId"),Td=new vn("DefaultCurrencyCode"),kd=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},Od=function(e){return new qA(e)},Md=Od,Dd=function(e){return Promise.resolve(Od(e))},Id=function(e){var t=Od(e),n=bi(Ae(e).declarations).reduce(function(e,t){var n=le(t);return n&&e.push(new HA(n)),e},[]);return new kd(t,n)},Ud=Id,xd=function(e){return Promise.resolve(Id(e))},Pd=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=Md,this.compileModuleAsync=Dd,this.compileModuleAndAllComponentsSync=Ud,this.compileModuleAndAllComponentsAsync=xd}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),Sd=Promise.resolve(0);function Qd(e){"undefined"==typeof Zone?Sd.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Fd=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a,l=t.shouldCoalesceRunChangeDetection,u=void 0!==l&&l;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new vh(!1),this.onMicrotaskEmpty=new vh(!1),this.onStable=new vh(!1),this.onError=new vh(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!u&&s,this.shouldCoalesceRunChangeDetection=u,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=H.requestAnimationFrame,t=H.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=function(){!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(H,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,Nd(e),e.isCheckStableRunning=!0,Rd(e),e.isCheckStableRunning=!1},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),Nd(e))}(n)},(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,i,o,a,s){try{return Hd(n),e.invokeTask(i,o,a,s)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&r(),Kd(n)}},onInvoke:function(e,t,i,o,a,s,l){try{return Hd(n),e.invoke(i,o,a,s,l)}finally{n.shouldCoalesceRunChangeDetection&&r(),Kd(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Nd(n),Rd(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular(function(){return n.onError.emit(i)}),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ld,zc,zc);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),Ld={};function Rd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Nd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Hd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kd(e){e._nesting--,Rd(e)}var Zd=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new vh,this.onMicrotaskEmpty=new vh,this.onStable=new vh,this.onError=new vh}return _createClass(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),Vd=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return _createClass(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Fd.assertNotInAngularZone(),Qd(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Qd(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(zn(Fd))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),Wd=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Jd.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Jd.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function qd(e){Jd=e}var zd,Jd=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Gd=!0,Yd=!1;function jd(){if(Yd)throw new Error("Cannot enable prod mode after platform setup.");Gd=!1}var Xd=new vn("AllowMultipleToken"),$d=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function ef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(t),i=new vn(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=tf();if(!o||o.injector.get(Xd,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:ba,useValue:"platform"});!function(e){if(zd&&!zd.destroyed&&!zd.injector.get(Xd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");zd=e.get(nf);var t=e.get(Ed,null);t&&t.forEach(function(e){return e()})}(Fa.create({providers:a,name:r}))}return function(e){var t=tf();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function tf(){return zd&&!zd.destroyed?zd:null}var nf=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new Zd:("zone.js"===n?void 0:n)||new Fd({enableLongStackTrace:(Yd=!0,Gd),shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)})),a=[{provide:Fd,useValue:o}];return o.run(function(){var t=Fa.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(vi,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){r.handleError(e)}});n.onDestroy(function(){af(i._modules,n),e.unsubscribe()})}),function(e,t,r){try{var o=((a=n.injector.get(gd)).runInitializers(),a.donePromise.then(function(){return Fu(n.injector.get(bd,"en-US")||"en-US"),i._moduleDoBootstrap(n),n}));return Zs(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(r,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=rf({},n);return function(e,t,n){var r=new qA(n);return Promise.resolve(r)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,r)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(of);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(c(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(zn(Fa))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function rf(e,t){return Array.isArray(t)?t.reduce(rf,e):Object.assign(Object.assign({},e),t)}var of=function(){var e=function(){function e(t,n,r,i,l){var u=this;_classCallCheck(this,e),this._zone=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new o.y(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),A=new o.y(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){Fd.assertNotInAngularZone(),Qd(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Fd.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,a.T)(c,A.pipe((0,s.B)()))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Vc?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(DA),o=n.create(Fa.NULL,[],t||n.selector,i),a=o.location.nativeElement,s=o.injector.get(Vd,null),l=s&&o.injector.get(Wd);return s&&l&&l.registerApplication(a,s),o.onDestroy(function(){r.detachView(o.hostView),af(r.components,o),l&&l.unregisterApplication(a)}),this._loadComponent(o),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(r){n.e(r)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;af(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(wd,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(zn(Fd),zn(Fa),zn(vi),zn(qc),zn(gd))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function af(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var sf=function(e){return null},lf=ef(null,"core",[{provide:Cd,useValue:"unknown"},{provide:nf,deps:[Fa]},{provide:Wd,deps:[]},{provide:Bd,deps:[]}]),uf=[{provide:of,useClass:of,deps:[Fd,Fa,vi,qc,gd]},{provide:NA,deps:[Fd],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:gd,useClass:gd,deps:[[new $n,_d]]},{provide:Pd,useClass:Pd,deps:[]},md,{provide:pA,useFactory:function(){return BA},deps:[]},{provide:gA,useFactory:function(){return bA},deps:[]},{provide:bd,useFactory:function(e){return Fu(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Xn(bd),new $n,new tr]]},{provide:Td,useValue:"USD"}],cf=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)(zn(of))},e.\u0275mod=re({type:e}),e.\u0275inj=C({providers:uf}),e}()},9879:function(e,t,n){"use strict";n.d(t,{Fj:function(){return C},u5:function(){return me},Fd:function(){return de},qQ:function(){return pe},JU:function(){return m},JJ:function(){return L},On:function(){return $},YN:function(){return ae},wV:function(){return te},Q7:function(){return ge},EJ:function(){return oe},Kr:function(){return ce}});var r=n(5366),i=n(1116),o=n(2391),a=Array.isArray,s=Object.getPrototypeOf,l=Object.prototype,u=Object.keys;function c(e){if(1===e.length){var t=e[0];if(a(t))return{args:t,keys:null};if((r=t)&&"object"==typeof r&&s(r)===l){var n=u(t);return{args:n.map(function(e){return t[e]}),keys:n}}}var r;return{args:e,keys:null}}var A=n(1929),h=n(7070),d=n(4659),f=n(8432);function p(e,t){return e.reduce(function(e,n,r){return e[n]=t[r],e},{})}var _=n(1681),g=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"setProperty",value:function(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"setDisabledState",value:function(e){this.setProperty("disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Qsj),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e}),e}(),v=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(g);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t}(),m=new r.OlP("NgValueAccessor"),y={provide:m,useExisting:(0,r.Gpc)(function(){return C}),multi:!0},E=new r.OlP("CompositionEventMode"),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var a,s;return _classCallCheck(this,n),(a=t.call(this,e,r))._compositionMode=o,a._composing=!1,null==a._compositionMode&&(a._compositionMode=(s=(0,i.q)()?(0,i.q)().getUserAgent():"",!/android (\d+)/.test(s.toLowerCase()))),a}return _createClass(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(E,8))},e.\u0275dir=r.lG2({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(e,t){1&e&&r.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[r._Bn([y]),r.qOj]}),e}();function w(e){return null==e||0===e.length}var B=new r.OlP("NgValidators"),b=new r.OlP("NgAsyncValidators");function T(e){return null}function k(e){return null!=e}function O(e){var t=(0,r.QGY)(e)?(0,A.Dp)(e):e;return(0,r.CqO)(t),t}function M(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function D(e,t){return t.map(function(t){return t(e)})}function I(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function U(e){return null!=e?function(e){if(!e)return null;var t=e.filter(k);return 0==t.length?null:function(e){return M(D(e,t))}}(I(e)):null}function x(e){return null!=e?function(e){if(!e)return null;var t=e.filter(k);return 0==t.length?null:function(e){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,h.jO)(e),r=c(e),i=r.args,a=r.keys,s=new o.y(function(e){var t=i.length;if(t)for(var n=new Array(t),r=t,o=t,s=function(t){var s=!1;(0,A.Xf)(i[t]).subscribe(new d.Q(e,function(e){s||(s=!0,o--),n[t]=e},function(){--r&&s||(o||e.next(a?p(a,n):n),e.complete())}))},l=0;l<t;l++)s(l);else e.complete()});return n?s.pipe((0,f.Z)(n)):s}(D(e,t).map(O)).pipe((0,_.U)(M))}}(I(e)):null}function P(e,t){return null===e?[t]:Array.isArray(e)?[].concat(_toConsumableArray(e),[t]):[e,t]}var S=function(){var e=function(){function e(){_classCallCheck(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return _createClass(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=U(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=x(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e}),e}(),Q=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(S);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t}(),F=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(S),L=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}());return e.\u0275fac=function(t){return new(t||e)(r.Y36(F,2))},e.\u0275dir=r.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r.qOj]}),e}();function R(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function N(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function H(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function K(e){return(q(e)?e.validators:e)||null}function Z(e){return Array.isArray(e)?U(e):e||null}function V(e,t){return(q(t)?t.asyncValidators:e)||null}function W(e){return Array.isArray(e)?x(e):e||null}function q(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var z=function(){function e(t,n){_classCallCheck(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Z(this._rawValidators),this._composedAsyncValidatorFn=W(this._rawAsyncValidators)}return _createClass(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=Z(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=W(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=O(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach(function(e){r=r instanceof G?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Y&&r.at(e)||null}),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){q(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),J=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,K(i),V(o,i)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(i),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!o}),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){H(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){H(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(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}}]),n}(z),G=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,K(r),V(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!i}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof J?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var r=t.controls[n];r&&e(r,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t<n.length;t++){var r=n[t],i=this.controls[r];if(this.contains(r)&&e(i))return!0}return!1}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(z),Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,K(r),V(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!!i}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof J?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(z),j={provide:F,useExisting:(0,r.Gpc)(function(){return $})},X=Promise.resolve(null),$=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this)).control=new J,s._registered=!1,s.update=new r.vpe,s._parent=e,s._setValidators(i),s._setAsyncValidators(o),s.valueAccessor=function(e,t){return t?(Array.isArray(t),t.forEach(function(e){e.constructor===C?n=e:Object.getPrototypeOf(e.constructor)===v?r=e:i=e}),i||r||n||null):null;var n,r,i}(0,a),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?[].concat(_toConsumableArray(this._parent.path),[this.name]):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){var e,t;(function(e,t){var n=function(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(P(n,t.validator)):"function"==typeof n&&e.setValidators([n]);var r=function(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(P(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);var i=function(){return e.updateValueAndValidity()};R(t._rawValidators,i),R(t._rawAsyncValidators,i)})(e=this.control,t=this),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&N(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&N(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;X.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;X.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})}}]),n}(F);return e.\u0275fac=function(t){return new(t||e)(r.Y36(Q,9),r.Y36(B,10),r.Y36(b,10),r.Y36(m,10))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([j]),r.qOj,r.TTD]}),e}(),ee={provide:m,useExisting:(0,r.Gpc)(function(){return te}),multi:!0},te=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}}]),n}(v);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.NdJ("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[r._Bn([ee]),r.qOj]}),t}(),ne=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),re={provide:m,useExisting:(0,r.Gpc)(function(){return oe}),multi:!0};function ie(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var oe=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._optionMap=new Map,e._idCounter=0,e._compareWith=Object.is,e}return _createClass(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);var n=ie(t,e);this.setProperty("value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}]),n}(v);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.NdJ("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([re]),r.qOj]}),t}(),ae=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption())}return _createClass(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(ie(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(oe,9))},e.\u0275dir=r.lG2({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),se={provide:m,useExisting:(0,r.Gpc)(function(){return ue}),multi:!0};function le(e,t){return null==e?"".concat(t):("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var ue=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._optionMap=new Map,e._idCounter=0,e._compareWith=Object.is,e}return _createClass(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(void 0!==n.selectedOptions)for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=t._getOptionValue(a.value);r.push(s)}else for(var l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var A=t._getOptionValue(c.value);r.push(A)}}t.value=r,e(r)}}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}]),n}(v);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r.NdJ("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([se]),r.qOj]}),t}(),ce=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption(this))}return _createClass(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(le(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(le(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(ue,9))},e.\u0275dir=r.lG2({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),Ae=function(){var e=function(){function e(){_classCallCheck(this,e),this._validator=T}return _createClass(e,[{key:"handleChanges",value:function(e){if(this.inputName in e){var t=this.normalizeInput(e[this.inputName].currentValue);this._validator=this.createValidator(t),this._onChange&&this._onChange()}}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e}),e}(),he={provide:B,useExisting:(0,r.Gpc)(function(){return de}),multi:!0},de=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).inputName="max",e.normalizeInput=function(e){return parseFloat(e)},e.createValidator=function(e){return function(e){return function(t){if(w(t.value)||w(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)},e}return _createClass(n,[{key:"ngOnChanges",value:function(e){this.handleChanges(e)}}]),n}(Ae);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("max",t.max?t.max:null)},inputs:{max:"max"},features:[r._Bn([he]),r.qOj,r.TTD]}),t}(),fe={provide:B,useExisting:(0,r.Gpc)(function(){return pe}),multi:!0},pe=function(){var e,t=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).inputName="min",e.normalizeInput=function(e){return parseFloat(e)},e.createValidator=function(e){return function(e){return function(t){if(w(t.value)||w(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(e)},e}return _createClass(n,[{key:"ngOnChanges",value:function(e){this.handleChanges(e)}}]),n}(Ae);return t.\u0275fac=function(n){return(e||(e=r.n5z(t)))(n||t)},t.\u0275dir=r.lG2({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("min",t.min?t.min:null)},inputs:{min:"min"},features:[r._Bn([fe]),r.qOj,r.TTD]}),t}(),_e={provide:B,useExisting:(0,r.Gpc)(function(){return ge}),multi:!0},ge=function(){var e=function(){function e(){_classCallCheck(this,e),this._required=!1}return _createClass(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?function(e){return w(e.value)?{required:!0}:null}(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.uIk("required",t.required?"":null)},inputs:{required:"required"},features:[r._Bn([_e])]}),e}(),ve=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[ne]]}),e}(),me=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[ve]}),e}()},4333:function(e,t,n){"use strict";n.d(t,{w9:function(){return Pe},A0:function(){return Fe},Z2:function(){return Ae}});var r=n(5366),i=n(9879),o=n(7849),a=n(3386),s=n(4659),l=n(1879),u=n(2948),c=n(9568),A=n(1520),h=n(1423),d=n(8868),f=n(1681),p=n(1994),_=n(7911),g=n(9666),v=n(5960),m=n(5446),y=n(1116),E=["content"],C=["scroll"],w=["padding"],B=function(e){return{searchTerm:e}};function b(e,t){if(1&e&&(r.TgZ(0,"div",6),r.GkF(1,7),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.headerTemplate)("ngTemplateOutletContext",r.VKq(2,B,n.filterValue))}}function T(e,t){if(1&e&&(r.TgZ(0,"div",8),r.GkF(1,7),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.footerTemplate)("ngTemplateOutletContext",r.VKq(2,B,n.filterValue))}}var k=["*"],O=["searchInput"];function M(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"span",15),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw(2).unselect(e)}),r._uU(1,"\xd7"),r.qZA(),r._UZ(2,"span",16)}if(2&e){var i=r.oxw().$implicit,o=r.oxw(2);r.xp6(2),r.Q6J("ngItemLabel",i.label)("escape",o.escapeHTML)}}function D(e,t){}var I=function(e,t,n){return{item:e,clear:t,label:n}};function U(e,t){if(1&e&&(r.TgZ(0,"div",12),r.YNc(1,M,3,2,"ng-template",null,13,r.W1O),r.YNc(3,D,0,0,"ng-template",14),r.qZA()),2&e){var n=t.$implicit,i=r.MAs(2),o=r.oxw(2);r.ekj("ng-value-disabled",n.disabled),r.xp6(3),r.Q6J("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",r.kEZ(4,I,n.value,o.clearItem,n.label))}}function x(e,t){if(1&e&&(r.ynx(0),r.YNc(1,U,4,8,"div",11),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngForOf",n.selectedItems)("ngForTrackBy",n.trackByOption)}}function P(e,t){}var S=function(e,t){return{items:e,clear:t}};function Q(e,t){if(1&e&&r.YNc(0,P,0,0,"ng-template",14),2&e){var n=r.oxw();r.Q6J("ngTemplateOutlet",n.multiLabelTemplate)("ngTemplateOutletContext",r.WLB(2,S,n.selectedValues,n.clearItem))}}function F(e,t){1&e&&r._UZ(0,"div",19)}function L(e,t){}function R(e,t){if(1&e&&(r.ynx(0),r.YNc(1,F,1,0,"ng-template",null,17,r.W1O),r.YNc(3,L,0,0,"ng-template",18),r.BQk()),2&e){var n=r.MAs(2),i=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",i.loadingSpinnerTemplate||n)}}function N(e,t){if(1&e&&(r.TgZ(0,"span",20),r.TgZ(1,"span",21),r._uU(2,"\xd7"),r.qZA(),r.qZA()),2&e){var n=r.oxw();r.s9C("title",n.clearAllText)}}function H(e,t){if(1&e&&r._UZ(0,"span",27),2&e){var n=r.oxw().$implicit,i=r.oxw(2);r.Q6J("ngItemLabel",n.label)("escape",i.escapeHTML)}}function K(e,t){}var Z=function(e,t,n,r){return{item:e,item$:t,index:n,searchTerm:r}};function V(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",25),r.NdJ("click",function(){var e=r.CHM(n).$implicit;return r.oxw(2).toggleItem(e)})("mouseover",function(){var e=r.CHM(n).$implicit;return r.oxw(2).onItemHover(e)}),r.YNc(1,H,1,2,"ng-template",null,26,r.W1O),r.YNc(3,K,0,0,"ng-template",14),r.qZA()}if(2&e){var i=t.$implicit,o=r.MAs(2),a=r.oxw(2);r.ekj("ng-option-disabled",i.disabled)("ng-option-selected",i.selected)("ng-optgroup",i.children)("ng-option",!i.children)("ng-option-child",!!i.parent)("ng-option-marked",i===a.itemsList.markedItem),r.uIk("role",i.children?"group":"option")("aria-selected",i.selected)("id",null==i?null:i.htmlId),r.xp6(3),r.Q6J("ngTemplateOutlet",i.children?a.optgroupTemplate||o:a.optionTemplate||o)("ngTemplateOutletContext",r.l5B(17,Z,i.value,i,i.index,a.searchTerm))}}function W(e,t){if(1&e&&(r.TgZ(0,"span"),r.TgZ(1,"span",30),r._uU(2),r.qZA(),r._uU(3),r.qZA()),2&e){var n=r.oxw(3);r.xp6(2),r.Oqu(n.addTagText),r.xp6(1),r.hij('"',n.searchTerm,'"')}}function q(e,t){}function z(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",28),r.NdJ("mouseover",function(){return r.CHM(n),r.oxw(2).itemsList.unmarkItem()})("click",function(){return r.CHM(n),r.oxw(2).selectTag()}),r.YNc(1,W,4,2,"ng-template",null,29,r.W1O),r.YNc(3,q,0,0,"ng-template",14),r.qZA()}if(2&e){var i=r.MAs(2),o=r.oxw(2);r.ekj("ng-option-marked",!o.itemsList.markedItem),r.xp6(3),r.Q6J("ngTemplateOutlet",o.tagTemplate||i)("ngTemplateOutletContext",r.VKq(4,B,o.searchTerm))}}function J(e,t){if(1&e&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&e){var n=r.oxw(3);r.xp6(1),r.Oqu(n.notFoundText)}}function G(e,t){}function Y(e,t){if(1&e&&(r.ynx(0),r.YNc(1,J,2,1,"ng-template",null,31,r.W1O),r.YNc(3,G,0,0,"ng-template",14),r.BQk()),2&e){var n=r.MAs(2),i=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",i.notFoundTemplate||n)("ngTemplateOutletContext",r.VKq(2,B,i.searchTerm))}}function j(e,t){if(1&e&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&e){var n=r.oxw(3);r.xp6(1),r.Oqu(n.typeToSearchText)}}function X(e,t){}function $(e,t){if(1&e&&(r.ynx(0),r.YNc(1,j,2,1,"ng-template",null,33,r.W1O),r.YNc(3,X,0,0,"ng-template",18),r.BQk()),2&e){var n=r.MAs(2),i=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",i.typeToSearchTemplate||n)}}function ee(e,t){if(1&e&&(r.TgZ(0,"div",32),r._uU(1),r.qZA()),2&e){var n=r.oxw(3);r.xp6(1),r.Oqu(n.loadingText)}}function te(e,t){}function ne(e,t){if(1&e&&(r.ynx(0),r.YNc(1,ee,2,1,"ng-template",null,34,r.W1O),r.YNc(3,te,0,0,"ng-template",14),r.BQk()),2&e){var n=r.MAs(2),i=r.oxw(2);r.xp6(3),r.Q6J("ngTemplateOutlet",i.loadingTextTemplate||n)("ngTemplateOutletContext",r.VKq(2,B,i.searchTerm))}}function re(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"ng-dropdown-panel",22),r.NdJ("update",function(e){return r.CHM(n),r.oxw().viewPortItems=e})("scroll",function(e){return r.CHM(n),r.oxw().scroll.emit(e)})("scrollToEnd",function(e){return r.CHM(n),r.oxw().scrollToEnd.emit(e)})("outsideClick",function(){return r.CHM(n),r.oxw().close()}),r.ynx(1),r.YNc(2,V,4,22,"div",23),r.YNc(3,z,4,6,"div",24),r.BQk(),r.YNc(4,Y,4,4,"ng-container",3),r.YNc(5,$,4,1,"ng-container",3),r.YNc(6,ne,4,4,"ng-container",3),r.qZA()}if(2&e){var i=r.oxw();r.ekj("ng-select-multiple",i.multiple),r.Q6J("virtualScroll",i.virtualScroll)("bufferAmount",i.bufferAmount)("appendTo",i.appendTo)("position",i.dropdownPosition)("headerTemplate",i.headerTemplate)("footerTemplate",i.footerTemplate)("filterValue",i.searchTerm)("items",i.itemsList.filteredItems)("markedItem",i.itemsList.markedItem)("ngClass",i.appendTo?i.classes:null)("id",i.dropdownId),r.xp6(2),r.Q6J("ngForOf",i.viewPortItems)("ngForTrackBy",i.trackByOption),r.xp6(1),r.Q6J("ngIf",i.showAddTag),r.xp6(1),r.Q6J("ngIf",i.showNoItemsFound()),r.xp6(1),r.Q6J("ngIf",i.showTypeToSearch()),r.xp6(1),r.Q6J("ngIf",i.loading&&0===i.itemsList.filteredItems.length)}}var ie=/[&<>"']/g,oe=RegExp(ie.source),ae={"&":"&","<":"<",">":">",'"':""","'":"'"};function se(e){return null!=e}function le(e){return"object"==typeof e&&se(e)}function ue(e){return e instanceof Function}var ce=function(){var e=function(){function e(t){_classCallCheck(this,e),this.element=t,this.escape=!0}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t;this.element.nativeElement.innerHTML=this.escape?(t=this.ngItemLabel)&&oe.test(t)?t.replace(ie,function(e){return ae[e]}):t:this.ngItemLabel}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","ngItemLabel",""]],inputs:{escape:"escape",ngItemLabel:"ngItemLabel"},features:[r.TTD]}),e}(),Ae=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-option-tmp",""]]}),e}(),he=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-optgroup-tmp",""]]}),e}(),de=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-label-tmp",""]]}),e}(),fe=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-multi-label-tmp",""]]}),e}(),pe=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-header-tmp",""]]}),e}(),_e=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-footer-tmp",""]]}),e}(),ge=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-notfound-tmp",""]]}),e}(),ve=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-typetosearch-tmp",""]]}),e}(),me=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-loadingtext-tmp",""]]}),e}(),ye=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-tag-tmp",""]]}),e}(),Ee=function(){var e=function e(t){_classCallCheck(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","ng-loadingspinner-tmp",""]]}),e}(),Ce=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:function(){return new e},token:e,providedIn:"root"}),e}();function we(){return"axxxxxxxxxxx".replace(/[x]/g,function(e){return(16*Math.random()|0).toString(16)})}var Be={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function be(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return Be[e]||e})}var Te=function(){function e(t,n){_classCallCheck(this,e),this._ngSelect=t,this._selectionModel=n,this._items=[],this._filteredItems=[],this._markedIndex=-1}return _createClass(e,[{key:"items",get:function(){return this._items}},{key:"filteredItems",get:function(){return this._filteredItems}},{key:"markedIndex",get:function(){return this._markedIndex}},{key:"selectedItems",get:function(){return this._selectionModel.value}},{key:"markedItem",get:function(){return this._filteredItems[this._markedIndex]}},{key:"noItemsToSelect",get:function(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}},{key:"maxItemsSelected",get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}},{key:"lastSelectedItem",get:function(){for(var e=this.selectedItems.length-1;e>=0;e--){var t=this.selectedItems[e];if(!t.disabled)return t}return null}},{key:"setItems",value:function(e){var t=this;this._items=e.map(function(e,n){return t.mapItem(e,n)}),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=_toConsumableArray(this._items)}},{key:"select",value:function(e){if(!e.selected&&!this.maxItemsSelected){var t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(e,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}}},{key:"unselect",value:function(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&se(e.index)&&this._ngSelect.multiple&&this._showSelected(e))}},{key:"findItem",value:function(e){var t,n=this;return t=this._ngSelect.compareWith?function(t){return n._ngSelect.compareWith(t.value,e)}:this._ngSelect.bindValue?function(t){return!t.children&&n.resolveNested(t.value,n._ngSelect.bindValue)===e}:function(t){return t.value===e||!t.children&&t.label&&t.label===n.resolveNested(e,n._ngSelect.bindLabel)},this._items.find(function(e){return t(e)})}},{key:"addItem",value:function(e){var t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t}},{key:"clearSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._selectionModel.clear(e),this._items.forEach(function(t){t.selected=e&&t.selected&&t.disabled,t.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}},{key:"findByLabel",value:function(e){return e=be(e).toLocaleLowerCase(),this.filteredItems.find(function(t){return be(t.label).toLocaleLowerCase().substr(0,e.length)===e})}},{key:"filter",value:function(e){var t=this;if(e){this._filteredItems=[],e=this._ngSelect.searchFn?e:be(e).toLocaleLowerCase();for(var n=this._ngSelect.searchFn||this._defaultSearchFn,r=this._ngSelect.hideSelected,i=0,o=Array.from(this._groups.keys());i<o.length;i++){var a,s=o[i],l=[],u=_createForOfIteratorHelper(this._groups.get(s));try{for(u.s();!(a=u.n()).done;){var c=a.value;r&&(c.parent&&c.parent.selected||c.selected)||n(e,this._ngSelect.searchFn?c.value:c)&&l.push(c)}}catch(A){u.e(A)}finally{u.f()}l.length>0&&function(){var e,n=_slicedToArray(l.slice(-1),1)[0];if(n.parent){var r=t._items.find(function(e){return e===n.parent});t._filteredItems.push(r)}(e=t._filteredItems).push.apply(e,l)}()}}else this.resetFilteredItems()}},{key:"resetFilteredItems",value:function(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(function(e){return!e.selected}):this._items)}},{key:"unmarkItem",value:function(){this._markedIndex=-1}},{key:"markNextItem",value:function(){this._stepToItem(1)}},{key:"markPreviousItem",value:function(){this._stepToItem(-1)}},{key:"markItem",value:function(e){this._markedIndex=this._filteredItems.indexOf(e)}},{key:"markSelectedOrDefault",value:function(e){if(0!==this._filteredItems.length){var t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:e?this.filteredItems.findIndex(function(e){return!e.disabled}):-1}}},{key:"resolveNested",value:function(e,t){if(!le(e))return e;if(-1===t.indexOf("."))return e[t];for(var n=t.split("."),r=e,i=0,o=n.length;i<o;++i){if(null==r)return null;r=r[n[i]]}return r}},{key:"mapItem",value:function(e,t){var n=se(e.$ngOptionLabel)?e.$ngOptionLabel:this.resolveNested(e,this._ngSelect.bindLabel),r=se(e.$ngOptionValue)?e.$ngOptionValue:e;return{index:t,label:se(n)?n.toString():"",value:r,disabled:e.disabled,htmlId:"".concat(this._ngSelect.dropdownId,"-").concat(t)}}},{key:"mapSelectedItems",value:function(){var e,t=this,n=this._ngSelect.multiple,r=_createForOfIteratorHelper(this.selectedItems);try{for(r.s();!(e=r.n()).done;){var i=e.value,o=this._ngSelect.bindValue?this.resolveNested(i.value,this._ngSelect.bindValue):i.value,a=se(o)?this.findItem(o):null;this._selectionModel.unselect(i,n),this._selectionModel.select(a||i,n,this._ngSelect.selectableGroupAsModel)}}catch(s){r.e(s)}finally{r.f()}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(function(e){return-1===t.selectedItems.indexOf(e)}))}},{key:"_showSelected",value:function(e){if(this._filteredItems.push(e),e.parent){var t=e.parent;this._filteredItems.find(function(e){return e===t})||this._filteredItems.push(t)}else if(e.children){var n,r=_createForOfIteratorHelper(e.children);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.selected=!1,this._filteredItems.push(i)}}catch(o){r.e(o)}finally{r.f()}}this._filteredItems=_toConsumableArray(this._filteredItems.sort(function(e,t){return e.index-t.index}))}},{key:"_hideSelected",value:function(e){this._filteredItems=this._filteredItems.filter(function(t){return t!==e}),e.parent?e.parent.children.every(function(e){return e.selected})&&(this._filteredItems=this._filteredItems.filter(function(t){return t!==e.parent})):e.children&&(this._filteredItems=this.filteredItems.filter(function(t){return t.parent!==e}))}},{key:"_defaultSearchFn",value:function(e,t){return be(t.label).toLocaleLowerCase().indexOf(e)>-1}},{key:"_getNextItemIndex",value:function(e){return e>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}},{key:"_stepToItem",value:function(e){0===this._filteredItems.length||this._filteredItems.every(function(e){return e.disabled})||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))}},{key:"_getLastMarkedIndex",value:function(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;var e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)}},{key:"_groupBy",value:function(e,t){var n=this,r=new Map;if(0===e.length)return r;if(Array.isArray(e[0].value[t])){var i,o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=(a.value[t]||[]).map(function(e,t){return n.mapItem(e,t)});r.set(a,s)}}catch(p){o.e(p)}finally{o.f()}return r}var l,u=ue(this._ngSelect.groupBy),c=function(e){var n=u?t(e.value):e.value[t];return se(n)?n:void 0},A=_createForOfIteratorHelper(e);try{for(A.s();!(l=A.n()).done;){var h=l.value,d=c(h),f=r.get(d);f?f.push(h):r.set(d,[h])}}catch(p){A.e(p)}finally{A.f()}return r}},{key:"_flatten",value:function(e){for(var t=this,n=ue(this._ngSelect.groupBy),r=[],i=function(){var i=a[o],s=r.length;if(void 0===i){var l=e.get(void 0)||[];return r.push.apply(r,_toConsumableArray(l.map(function(e){return e.index=s++,e}))),"continue"}var u=le(i),c={label:u?"":String(i),children:void 0,parent:null,index:s++,disabled:!t._ngSelect.selectableGroup,htmlId:we()},A=n?t._ngSelect.bindLabel:t._ngSelect.groupBy,h=t._ngSelect.groupValue||function(){return u?i.value:_defineProperty({},A,i)},d=e.get(i).map(function(e){return e.parent=c,e.children=void 0,e.index=s++,e});c.children=d,c.value=h(i,d.map(function(e){return e.value})),r.push(c),r.push.apply(r,_toConsumableArray(d))},o=0,a=Array.from(e.keys());o<a.length;o++)i();return r}}]),e}(),ke=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Esc=27]="Esc",e[e.Space=32]="Space",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowDown=40]="ArrowDown",e[e.Backspace=8]="Backspace",e}({}),Oe=function(){var e=function(){function e(){_classCallCheck(this,e),this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}return _createClass(e,[{key:"dimensions",get:function(){return this._dimensions}},{key:"calculateItems",value:function(e,t,n){var r=this._dimensions,i=r.itemHeight*t,o=Math.max(0,e)/i*t,a=Math.min(t,Math.ceil(o)+(r.itemsPerViewport+1)),s=Math.max(0,a-r.itemsPerViewport),l=Math.min(s,Math.floor(o)),u=r.itemHeight*Math.ceil(l)-r.itemHeight*Math.min(l,n);return u=isNaN(u)?0:u,l=isNaN(l)?-1:l,a=isNaN(a)?-1:a,l-=n,a+=n,{topPadding:u,scrollHeight:i,start:l=Math.max(0,l),end:a=Math.min(t,a)}}},{key:"setDimensions",value:function(e,t){var n=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:n}}},{key:"getScrollTo",value:function(e,t,n){var r=this.dimensions.panelHeight,i=e+t,o=n+r;return r>=i&&n===e?null:i>o?n+i-o:e<=n?e:null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Me="undefined"!=typeof requestAnimationFrame?p.Z:_.E,De=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this._renderer=t,this._zone=n,this._panelService=i,this._document=a,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.outsideClick=new r.vpe,this._destroy$=new g.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=o.nativeElement}return _createClass(e,[{key:"currentPosition",get:function(){return this._currentPosition}},{key:"itemsLength",get:function(){return this._itemsLength},set:function(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}},{key:"_startOffset",get:function(){if(this.markedItem){var e=this._panelService.dimensions,t=e.itemHeight,n=e.panelHeight,r=this.markedItem.index*t;return n>r?0:r}return 0}},{key:"handleMousedown",value:function(e){"INPUT"!==e.target.tagName&&e.preventDefault()}},{key:"ngOnInit",value:function(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()}},{key:"ngOnChanges",value:function(e){if(e.items){var t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}}},{key:"ngOnDestroy",value:function(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}},{key:"scrollTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.items.indexOf(e);if(!(n<0||n>=this.itemsLength)){var r;if(this.virtualScroll){var i=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(n*i,i,this._lastScrollPosition)}else{var o=this._dropdown.querySelector("#".concat(e.htmlId));r=this._panelService.getScrollTo(o.offsetTop,o.clientHeight,t?o.offsetTop:this._lastScrollPosition)}se(r)&&(this._scrollablePanel.scrollTop=r)}}}},{key:"scrollToTag",value:function(){var e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}},{key:"adjustPosition",value:function(){this._updateYPosition()}},{key:"_handleDropdownPosition",value:function(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}},{key:"_handleScroll",value:function(){var e=this;this._zone.runOutsideAngular(function(){(0,v.R)(e.scrollElementRef.nativeElement,"scroll").pipe((0,c.R)(e._destroy$),(0,A.e)(0,Me)).subscribe(function(t){var n=t.path||t.composedPath&&t.composedPath();e._onContentScrolled(n&&0!==n.length?n[0].scrollTop:t.target.scrollTop)})})}},{key:"_handleOutsideClick",value:function(){var e=this;this._document&&this._zone.runOutsideAngular(function(){(0,m.T)((0,v.R)(e._document,"touchstart",{capture:!0}),(0,v.R)(e._document,"mousedown",{capture:!0})).pipe((0,c.R)(e._destroy$)).subscribe(function(t){return e._checkToClose(t)})})}},{key:"_checkToClose",value:function(e){var t=this;if(!this._select.contains(e.target)&&!this._dropdown.contains(e.target)){var n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run(function(){return t.outsideClick.emit()})}}},{key:"_onItemsChange",value:function(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):(this._setVirtualHeight(),this._updateItems(t))}},{key:"_updateItems",value:function(e){var t=this;this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular(function(){Promise.resolve().then(function(){t._panelService.setDimensions(0,t._scrollablePanel.clientHeight),t._handleDropdownPosition(),t.scrollTo(t.markedItem,e)})})}},{key:"_updateItemsRange",value:function(e){var t=this;this._zone.runOutsideAngular(function(){t._measureDimensions().then(function(){e?(t._renderItemsRange(t._startOffset),t._handleDropdownPosition()):t._renderItemsRange()})})}},{key:"_onContentScrolled",value:function(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}},{key:"_updateVirtualHeight",value:function(e){this._updateScrollHeight&&(this._virtualPadding.style.height="".concat(e,"px"),this._updateScrollHeight=!1)}},{key:"_setVirtualHeight",value:function(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}},{key:"_onItemsLengthChanged",value:function(){this._updateScrollHeight=!0}},{key:"_renderItemsRange",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!t||this._lastScrollPosition!==t){var n=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(n.scrollHeight),this._contentPanel.style.transform="translateY(".concat(n.topPadding,"px)"),this._zone.run(function(){e.update.emit(e.items.slice(n.start,n.end)),e.scroll.emit({start:n.start,end:n.end})}),se(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}}},{key:"_measureDimensions",value:function(){var e=this;if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);var t=_slicedToArray(this.items,1)[0];return this.update.emit([t]),Promise.resolve().then(function(){var n=e._dropdown.querySelector("#".concat(t.htmlId)).clientHeight;return e._virtualPadding.style.height=n*e.itemsLength+"px",e._panelService.setDimensions(n,e._scrollablePanel.clientHeight),e._panelService.dimensions})}},{key:"_fireScrollToEnd",value:function(e){var t=this;this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run(function(){return t.scrollToEnd.emit()}),this._scrollToEndFired=!0)}},{key:"_calculateCurrentPosition",value:function(e){if("auto"!==this.position)return this.position;var t=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"}},{key:"_appendDropdown",value:function(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error("appendTo selector ".concat(this.appendTo," did not found any parent element"));this._updateXPosition(),this._parent.appendChild(this._dropdown)}}},{key:"_updateXPosition",value:function(){var e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect();this._dropdown.style.left=e.left-t.left+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}},{key:"_updateYPosition",value:function(){var e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),n=e.height;"top"===this._currentPosition?(this._dropdown.style.bottom=t.bottom-e.bottom+n+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=e.top-t.top+n+"px",this._dropdown.style.bottom="auto")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(Oe),r.Y36(r.SBq),r.Y36(y.K0,8))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,t){var n;(1&e&&(r.Gf(E,7,r.SBq),r.Gf(C,7,r.SBq),r.Gf(w,7,r.SBq)),2&e)&&(r.iGM(n=r.CRH())&&(t.contentElementRef=n.first),r.iGM(n=r.CRH())&&(t.scrollElementRef=n.first),r.iGM(n=r.CRH())&&(t.paddingElementRef=n.first))},hostBindings:function(e,t){1&e&&r.NdJ("mousedown",function(e){return t.handleMousedown(e)})},inputs:{items:"items",position:"position",virtualScroll:"virtualScroll",filterValue:"filterValue",markedItem:"markedItem",appendTo:"appendTo",bufferAmount:"bufferAmount",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[r.TTD],ngContentSelectors:k,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,t){1&e&&(r.F$t(),r.YNc(0,b,2,4,"div",0),r.TgZ(1,"div",1,2),r._UZ(3,"div",null,3),r.TgZ(5,"div",null,4),r.Hsn(7),r.qZA(),r.qZA(),r.YNc(8,T,2,4,"div",5)),2&e&&(r.Q6J("ngIf",t.headerTemplate),r.xp6(3),r.ekj("total-padding",t.virtualScroll),r.xp6(2),r.ekj("scrollable-content",t.virtualScroll&&t.items.length),r.xp6(3),r.Q6J("ngIf",t.footerTemplate))},directives:[y.O5,y.tP],encapsulation:2,changeDetection:0}),e}(),Ie=function(){var e=function(){function e(t){_classCallCheck(this,e),this.elementRef=t,this.stateChange$=new g.x,this._disabled=!1}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=this._isDisabled(e)}},{key:"label",get:function(){return(this.elementRef.nativeElement.textContent||"").trim()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}},{key:"ngAfterViewChecked",value:function(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}},{key:"ngOnDestroy",value:function(){this.stateChange$.complete()}},{key:"_isDisabled",value:function(e){return null!=e&&"false"!="".concat(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-option"]],inputs:{disabled:"disabled",value:"value"},features:[r.TTD],ngContentSelectors:k,decls:1,vars:0,template:function(e,t){1&e&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),Ue=function(){var e=function e(){_classCallCheck(this,e),this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,r.Yz7)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),xe=new r.OlP("ng-select-selection-model"),Pe=function(){var e=function(){function e(t,n,i,o,a,s,l){var u=this;_classCallCheck(this,e),this.classes=t,this.autoFocus=n,this._cd=s,this._console=l,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=function(e){return!0},this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new r.vpe,this.focusEvent=new r.vpe,this.changeEvent=new r.vpe,this.openEvent=new r.vpe,this.closeEvent=new r.vpe,this.searchEvent=new r.vpe,this.clearEvent=new r.vpe,this.addEvent=new r.vpe,this.removeEvent=new r.vpe,this.scroll=new r.vpe,this.scrollToEnd=new r.vpe,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=we(),this.escapeHTML=!0,this.useDefaultClass=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new g.x,this._keyPress$=new g.x,this._onChange=function(e){},this._onTouched=function(){},this.clearItem=function(e){var t=u.selectedItems.find(function(t){return t.value===e});u.unselect(t)},this.trackByOption=function(e,t){return u.trackByFn?u.trackByFn(t.value):t},this._mergeGlobalConfig(i),this.itemsList=new Te(this,o()),this.element=a.nativeElement}return _createClass(e,[{key:"items",get:function(){return this._items},set:function(e){this._itemsAreUsed=!0,this._items=e}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if(null!=e&&!ue(e))throw Error("`compareWith` must be a function.");this._compareWith=e}},{key:"clearSearchOnAdd",get:function(){return se(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect},set:function(e){this._clearSearchOnAdd=e}},{key:"disabled",get:function(){return this.readonly||this._disabled}},{key:"filtered",get:function(){return!!this.searchTerm&&this.searchable||this._isComposing}},{key:"_editableSearchTerm",get:function(){return this.editableSearchTerm&&!this.multiple}},{key:"selectedItems",get:function(){return this.itemsList.selectedItems}},{key:"selectedValues",get:function(){return this.selectedItems.map(function(e){return e.value})}},{key:"hasValue",get:function(){return this.selectedItems.length>0}},{key:"currentPanelPosition",get:function(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}},{key:"ngOnInit",value:function(){this._handleKeyPresses(),this._setInputAttributes()}},{key:"ngOnChanges",value:function(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=se(e.isOpen.currentValue))}},{key:"ngAfterViewInit",value:function(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),se(this.autoFocus)&&this.focus()}},{key:"ngOnDestroy",value:function(){this._destroy$.next(),this._destroy$.complete()}},{key:"handleKeyDown",value:function(e){if(ke[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())}},{key:"handleKeyCode",value:function(e){switch(e.which){case ke.ArrowDown:this._handleArrowDown(e);break;case ke.ArrowUp:this._handleArrowUp(e);break;case ke.Space:this._handleSpace(e);break;case ke.Enter:this._handleEnter(e);break;case ke.Tab:this._handleTab(e);break;case ke.Esc:this.close(),e.preventDefault();break;case ke.Backspace:this._handleBackspace()}}},{key:"handleMousedown",value:function(e){var t=e.target;"INPUT"!==t.tagName&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")?this.handleClearClick():t.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}},{key:"handleArrowClick",value:function(){this.isOpen?this.close():this.open()}},{key:"handleClearClick",value:function(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}},{key:"clearModel",value:function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}},{key:"writeValue",value:function(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._disabled=e,this._cd.markForCheck()}},{key:"toggle",value:function(){this.isOpen?this.close():this.open()}},{key:"open",value:function(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}},{key:"close",value:function(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}},{key:"toggleItem",value:function(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}},{key:"select",value:function(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}},{key:"focus",value:function(){this.searchInput.nativeElement.focus()}},{key:"blur",value:function(){this.searchInput.nativeElement.blur()}},{key:"unselect",value:function(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}},{key:"selectTag",value:function(){var e,t=this;e=ue(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:_defineProperty({},this.bindLabel,this.searchTerm);var n=function(e){return t._isTypeahead||!t.isOpen?t.itemsList.mapItem(e,null):t.itemsList.addItem(e)};e instanceof Promise?e.then(function(e){return t.select(n(e))}).catch(function(){}):e&&this.select(n(e))}},{key:"showClear",value:function(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}},{key:"showAddTag",get:function(){if(!this._validTerm)return!1;var e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(function(t){return t.label.toLowerCase()===e})&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(function(t){return t.label.toLowerCase()===e}))&&!this.loading}},{key:"showNoItemsFound",value:function(){var e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}},{key:"showTypeToSearch",value:function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}},{key:"onCompositionStart",value:function(){this._isComposing=!0}},{key:"onCompositionEnd",value:function(e){this._isComposing=!1,this.searchWhileComposing||this.filter(e)}},{key:"filter",value:function(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(function(e){return e.value})}),this.open())}},{key:"onInputFocus",value:function(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}},{key:"onInputBlur",value:function(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),this.isOpen||this.disabled||this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}},{key:"onItemHover",value:function(e){e.disabled||this.itemsList.markItem(e)}},{key:"detectChanges",value:function(){this._cd.destroyed||this._cd.detectChanges()}},{key:"_setSearchTermFromItems",value:function(){var e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}},{key:"_setItems",value:function(e){var t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=se(t)?!le(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&se(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}},{key:"_setItemsFromNgOptions",value:function(){var e=this;this.ngOptions.changes.pipe((0,h.O)(this.ngOptions),(0,c.R)(this._destroy$)).subscribe(function(t){var n;e.bindLabel=e._defaultLabel,function(t){e.items=t.map(function(e){return{$ngOptionValue:e.value,$ngOptionLabel:e.elementRef.nativeElement.innerHTML,disabled:e.disabled}}),e.itemsList.setItems(e.items),e.hasValue&&e.itemsList.mapSelectedItems(),e.detectChanges()}(t),n=(0,m.T)(e.ngOptions.changes,e._destroy$),m.T.apply(void 0,_toConsumableArray(e.ngOptions.map(function(e){return e.stateChange$}))).pipe((0,c.R)(n)).subscribe(function(t){var n=e.itemsList.findItem(t.value);n.disabled=t.disabled,n.label=t.label||n.label,e._cd.detectChanges()})})}},{key:"_isValidWriteValue",value:function(e){var t=this;if(!se(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;var n=function(e){return!(!se(t.compareWith)&&le(e)&&t.bindValue&&(t._console.warn("Setting object(".concat(JSON.stringify(e),") as your model with bindValue is not allowed unless [compareWith] is used.")),1))};return this.multiple?Array.isArray(e)?e.every(function(e){return n(e)}):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)}},{key:"_handleWriteValue",value:function(e){var t=this;if(this._isValidWriteValue(e)){var n=function(e){var n=t.itemsList.findItem(e);if(n)t.itemsList.select(n);else{var r,i=le(e),o=!i&&!t.bindValue;i||o?t.itemsList.select(t.itemsList.mapItem(e,null)):t.bindValue&&(_defineProperty(r={},t.bindLabel,null),_defineProperty(r,t.bindValue,e),n=r,t.itemsList.select(t.itemsList.mapItem(n,null)))}};this.multiple?e.forEach(function(e){return n(e)}):n(e)}}},{key:"_handleKeyPresses",value:function(){var e,t,n,r=this;this.searchable||this._keyPress$.pipe((0,c.R)(this._destroy$),(t=function(e){return r._pressedKeys.push(e)},n=(0,o.m)(t)?{next:t,error:void 0,complete:void 0}:t,n?(0,a.e)(function(e,t){e.subscribe(new s.Q(t,function(e){var r;null===(r=n.next)||void 0===r||r.call(n,e),t.next(e)},function(){var e;null===(e=n.complete)||void 0===e||e.call(n),t.complete()},function(e){var r;null===(r=n.error)||void 0===r||r.call(n,e),t.error(e)}))}):l.y),(void 0===e&&(e=u.z),(0,a.e)(function(t,n){var r=null,i=null,o=null,a=function(){if(r){r.unsubscribe(),r=null;var e=i;i=null,n.next(e)}};function l(){var t=o+200,n=e.now();n<t?r=this.schedule(void 0,t-n):a()}t.subscribe(new s.Q(n,function(t){i=t,o=e.now(),r||(r=e.schedule(l,200))},function(){a(),n.complete()},void 0,function(){i=r=null}))})),(0,d.h)(function(){return r._pressedKeys.length>0}),(0,f.U)(function(){return r._pressedKeys.join("")})).subscribe(function(e){var t=r.itemsList.findByLabel(e);t&&(r.isOpen?(r.itemsList.markItem(t),r._scrollToMarked(),r._cd.markForCheck()):r.select(t)),r._pressedKeys=[]})}},{key:"_setInputAttributes",value:function(){for(var e=this.searchInput.nativeElement,t=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];e.setAttribute(i,t[i])}}},{key:"_updateNgModel",value:function(){var e,t=[],n=_createForOfIteratorHelper(this.selectedItems);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(this.bindValue){var i;i=r.children?r.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(r.value,this.bindValue),t.push(i)}else t.push(r.value)}}catch(a){n.e(a)}finally{n.f()}var o=this.selectedItems.map(function(e){return e.value});this.multiple?(this._onChange(t),this.changeEvent.emit(o)):(this._onChange(se(t[0])?t[0]:null),this.changeEvent.emit(o[0])),this._cd.markForCheck()}},{key:"_clearSearch",value:function(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}},{key:"_changeSearch",value:function(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}},{key:"_scrollToMarked",value:function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)}},{key:"_scrollToTag",value:function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()}},{key:"_onSelectionChanged",value:function(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}},{key:"_handleTab",value:function(e){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}},{key:"_handleEnter",value:function(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()}},{key:"_handleSpace",value:function(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}},{key:"_handleArrowDown",value:function(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}},{key:"_handleArrowUp",value:function(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}},{key:"_nextItemIsTag",value:function(e){var t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)}},{key:"_handleBackspace",value:function(){!this.searchTerm&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}},{key:"_isTypeahead",get:function(){return this.typeahead&&this.typeahead.observers.length>0}},{key:"_validTerm",get:function(){var e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}},{key:"_mergeGlobalConfig",value:function(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=se(this.virtualScroll)?this.virtualScroll:!!se(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=se(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.$8M("class"),r.$8M("autofocus"),r.Y36(Ue),r.Y36(xe),r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(Ce))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ng-select"]],contentQueries:function(e,t,n){var i;(1&e&&(r.Suo(n,Ae,5,r.Rgc),r.Suo(n,he,5,r.Rgc),r.Suo(n,de,5,r.Rgc),r.Suo(n,fe,5,r.Rgc),r.Suo(n,pe,5,r.Rgc),r.Suo(n,_e,5,r.Rgc),r.Suo(n,ge,5,r.Rgc),r.Suo(n,ve,5,r.Rgc),r.Suo(n,me,5,r.Rgc),r.Suo(n,ye,5,r.Rgc),r.Suo(n,Ee,5,r.Rgc),r.Suo(n,Ie,5)),2&e)&&(r.iGM(i=r.CRH())&&(t.optionTemplate=i.first),r.iGM(i=r.CRH())&&(t.optgroupTemplate=i.first),r.iGM(i=r.CRH())&&(t.labelTemplate=i.first),r.iGM(i=r.CRH())&&(t.multiLabelTemplate=i.first),r.iGM(i=r.CRH())&&(t.headerTemplate=i.first),r.iGM(i=r.CRH())&&(t.footerTemplate=i.first),r.iGM(i=r.CRH())&&(t.notFoundTemplate=i.first),r.iGM(i=r.CRH())&&(t.typeToSearchTemplate=i.first),r.iGM(i=r.CRH())&&(t.loadingTextTemplate=i.first),r.iGM(i=r.CRH())&&(t.tagTemplate=i.first),r.iGM(i=r.CRH())&&(t.loadingSpinnerTemplate=i.first),r.iGM(i=r.CRH())&&(t.ngOptions=i))},viewQuery:function(e,t){var n;(1&e&&(r.Gf(De,5),r.Gf(O,7)),2&e)&&(r.iGM(n=r.CRH())&&(t.dropdownPanel=n.first),r.iGM(n=r.CRH())&&(t.searchInput=n.first))},hostVars:20,hostBindings:function(e,t){1&e&&r.NdJ("keydown",function(e){return t.handleKeyDown(e)}),2&e&&r.ekj("ng-select",t.useDefaultClass)("ng-select-single",!t.multiple)("ng-select-multiple",t.multiple)("ng-select-taggable",t.addTag)("ng-select-searchable",t.searchable)("ng-select-clearable",t.clearable)("ng-select-opened",t.isOpen)("ng-select-disabled",t.disabled)("ng-select-filtered",t.filtered)("ng-select-typeahead",t.typeahead)},inputs:{markFirst:"markFirst",dropdownPosition:"dropdownPosition",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",bindLabel:"bindLabel",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",virtualScroll:"virtualScroll",openOnEnter:"openOnEnter",appendTo:"appendTo",bindValue:"bindValue",appearance:"appearance",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",tabIndex:"tabIndex",typeahead:"typeahead"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[r._Bn([{provide:i.JU,useExisting:(0,r.Gpc)(function(){return e}),multi:!0},Oe]),r.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",0),r.NdJ("mousedown",function(e){return t.handleMousedown(e)}),r.TgZ(1,"div",1),r.TgZ(2,"div",2),r._uU(3),r.qZA(),r.YNc(4,x,2,2,"ng-container",3),r.YNc(5,Q,1,5,void 0,3),r.TgZ(6,"div",4),r.TgZ(7,"input",5,6),r.NdJ("input",function(){r.CHM(n);var e=r.MAs(8);return t.filter(e.value)})("compositionstart",function(){return t.onCompositionStart()})("compositionend",function(){r.CHM(n);var e=r.MAs(8);return t.onCompositionEnd(e.value)})("focus",function(e){return t.onInputFocus(e)})("blur",function(e){return t.onInputBlur(e)})("change",function(e){return e.stopPropagation()}),r.qZA(),r.qZA(),r.qZA(),r.YNc(9,R,4,1,"ng-container",3),r.YNc(10,N,3,1,"span",7),r.TgZ(11,"span",8),r._UZ(12,"span",9),r.qZA(),r.qZA(),r.YNc(13,re,7,19,"ng-dropdown-panel",10)}2&e&&(r.ekj("ng-appearance-outline","outline"===t.appearance)("ng-has-value",t.hasValue),r.xp6(3),r.Oqu(t.placeholder),r.xp6(1),r.Q6J("ngIf",(!t.multiLabelTemplate||!t.multiple)&&t.selectedItems.length>0),r.xp6(1),r.Q6J("ngIf",t.multiple&&t.multiLabelTemplate&&t.selectedValues.length>0),r.xp6(1),r.uIk("aria-expanded",t.isOpen)("aria-owns",t.isOpen?t.dropdownId:null),r.xp6(1),r.Q6J("readOnly",!t.searchable||t.itemsList.maxItemsSelected)("disabled",t.disabled)("value",t.searchTerm?t.searchTerm:""),r.uIk("id",t.labelForId)("tabindex",t.tabIndex)("aria-activedescendant",t.isOpen?null==t.itemsList||null==t.itemsList.markedItem?null:t.itemsList.markedItem.htmlId:null)("aria-controls",t.isOpen?t.dropdownId:null),r.xp6(2),r.Q6J("ngIf",t.loading),r.xp6(1),r.Q6J("ngIf",t.showClear()),r.xp6(3),r.Q6J("ngIf",t.isOpen))},directives:[y.O5,y.sg,y.tP,ce,De,y.mk],styles:['.ng-select{display:block;position:relative}.ng-select,.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;user-select:none}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{background:none transparent;border:0;box-shadow:none;box-sizing:content-box;cursor:default;outline:none;padding:0;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;padding:0;user-select:none;width:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{left:0;position:absolute;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;position:relative;user-select:none;width:17px}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{-webkit-animation:load8 .8s linear infinite;animation:load8 .8s linear infinite;border:2px solid rgba(66,66,66,.2);border-left-color:#424242;border-radius:50%;font-size:10px;height:17px;margin-right:5px;position:relative;text-indent:-9999em;transform:translateZ(0);width:17px}.ng-select .ng-spinner-loader:after{border-radius:50%;height:17px;width:17px}@-webkit-keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ng-select .ng-arrow-wrapper{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;position:relative;text-align:center;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{display:inline-block;height:0;pointer-events:none;position:relative;width:0}.ng-dropdown-panel{-webkit-overflow-scrolling:touch;box-sizing:border-box;opacity:0;position:absolute;width:100%;z-index:1050}.ng-dropdown-panel .ng-dropdown-panel-items{box-sizing:border-box;display:block;height:auto;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{-webkit-overflow-scrolling:touch;display:block;overflow:hidden;overflow-y:auto;position:relative}.ng-dropdown-panel .scrollable-content{height:100%;left:0;position:absolute;top:0;width:100%}.ng-dropdown-panel .total-padding{opacity:0;width:1px}'],encapsulation:2,changeDetection:0}),e}(),Se=function(){function e(){_classCallCheck(this,e),this._selected=[]}return _createClass(e,[{key:"value",get:function(){return this._selected}},{key:"select",value:function(e,t,n){if(e.selected=!0,(!e.children||!t&&n)&&this._selected.push(e),t)if(e.parent){var r=e.parent.children.length,i=e.parent.children.filter(function(e){return e.selected}).length;e.parent.selected=r===i}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),this._selected=n&&this._activeChildren(e)?[].concat(_toConsumableArray(this._selected.filter(function(t){return t.parent!==e})),[e]):[].concat(_toConsumableArray(this._selected),_toConsumableArray(e.children.filter(function(e){return!e.disabled}))))}},{key:"unselect",value:function(e,t){if(this._selected=this._selected.filter(function(t){return t!==e}),e.selected=!1,t)if(e.parent&&e.parent.selected){var n,r=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),(n=this._selected).push.apply(n,_toConsumableArray(r.filter(function(t){return t!==e&&!t.disabled}))),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))}},{key:"clear",value:function(e){this._selected=e?this._selected.filter(function(e){return e.disabled}):[]}},{key:"_setChildrenSelectedState",value:function(e,t){var n,r=_createForOfIteratorHelper(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.disabled||(i.selected=t)}}catch(o){r.e(o)}finally{r.f()}}},{key:"_removeChildren",value:function(e){this._selected=[].concat(_toConsumableArray(this._selected.filter(function(t){return t.parent!==e})),_toConsumableArray(e.children.filter(function(t){return t.parent===e&&t.disabled&&t.selected})))}},{key:"_removeParent",value:function(e){this._selected=this._selected.filter(function(t){return t!==e})}},{key:"_activeChildren",value:function(e){return e.children.every(function(e){return!e.disabled||e.selected})}}]),e}(),Qe=function(){return new Se},Fe=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[{provide:xe,useValue:Qe}],imports:[[y.ez]]}),e}()},8944:function(e,t){!function(e){"use strict";function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?o(Object(t),!0).forEach(function(n){i(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function s(){var e;return null!==(e=A)&&void 0!==e?e:document}var l={duration:2e3,position:"top-right",closeOnClick:!0,opacity:1,single:!1,offsetTop:0,offsetBottom:0,offsetLeft:0,offsetRight:0},u=a({},l),c={},A=null,h=function(){function e(n){var r=this;t(this,e),this.element=s().createElement("div"),this.opacity=n.opacity,this.type=n.type,this.animate=n.animate,this.dismissible=n.dismissible,this.closeOnClick=n.closeOnClick,this.message=n.message,this.duration=n.duration,this.pauseOnHover=n.pauseOnHover,this.offsetTop=n.offsetTop,this.offsetBottom=n.offsetBottom,this.offsetLeft=n.offsetLeft,this.offsetRight=n.offsetRight;var i="width:auto;pointer-events:auto;display:inline-flex;white-space:pre-wrap;opacity:".concat(this.opacity,";"),o=["notification"];if(this.type&&o.push(this.type),this.animate&&this.animate.in){var a="animate__".concat(this.animate.in),l=this.animate.speed?"animate__".concat(this.animate.speed):"animate__faster";o.push("animate__animated ".concat(a," ").concat(l)),this.onAnimationEnd(function(){return r.element.classList.remove(a)})}if(this.element.className=o.join(" "),this.dismissible){var u=s().createElement("button");u.className="delete",u.addEventListener("click",function(){r.destroy()}),this.element.insertAdjacentElement("afterbegin",u)}else i+="padding: 1.25rem 1.5rem";this.closeOnClick&&this.element.addEventListener("click",function(){r.destroy()}),this.element.setAttribute("style",i),"string"==typeof this.message?this.element.insertAdjacentHTML("beforeend",this.message):this.element.appendChild(this.message);var c=new d(function(){r.destroy()},this.duration);this.pauseOnHover&&(this.element.addEventListener("mouseover",function(){c.pause()}),this.element.addEventListener("mouseout",function(){c.resume()}))}return r(e,[{key:"destroy",value:function(){var e=this;this.animate&&this.animate.out?(this.element.classList.add("animate__".concat(this.animate.out)),this.onAnimationEnd(function(){e.removeParent(e.element.parentNode),e.element.remove(),delete c.position})):(this.removeParent(this.element.parentNode),this.element.remove(),delete c.position)}},{key:"removeParent",value:function(e){e&&1>=e.children.length&&e.remove()}},{key:"onAnimationEnd",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:function(){},t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in t)if(void 0!==this.element.style[n]){this.element.addEventListener(t[n],function(){return e()});break}}}]),e}(),d=function(){function e(n,r){t(this,e),this.remaining=r,this.callback=n,this.resume()}return r(e,[{key:"pause",value:function(){"undefined"==typeof document||(window.clearTimeout(this.timer),this.remaining-=new Date-this.start)}},{key:"resume",value:function(){"undefined"==typeof document||(this.start=new Date,window.clearTimeout(this.timer),this.timer=window.setTimeout(this.callback,this.remaining))}}]),e}();e.resetDefaults=function(){u=a({},l)},e.setDefaults=function(e){u=a(a({},l),e)},e.setDoc=function(e){for(var t in c)c[t].remove();c={},A=e},e.toast=function(e){if(!e.message)throw new Error("message is required");var t=a(a({},u),e),n=new h(t),r=function(e,t,n,r,i,o){if(c.position)return c.position;var a=s().createElement("div");return a.setAttribute("style","width:100%;z-index:99999;position:fixed;pointer-events:none;display:flex;flex-direction:column;padding:15px;"+function(e,t,n,r,i){return"top-left"===e?"left:".concat(r,";top:").concat(t,";text-align:left;align-items:flex-start;"):"top-right"===e?"right:".concat(i,";top:").concat(t,";text-align:right;align-items:flex-end;"):"top-center"===e?"top:".concat(t,";left:0;right:0;text-align:center;align-items:center;"):"bottom-left"===e?"left:".concat(r,";bottom:").concat(n,";text-align:left;align-items:flex-start;"):"bottom-right"===e?"right:".concat(i,";bottom:").concat(n,";text-align:right;align-items:flex-end;"):"bottom-center"===e?"bottom:".concat(n,";left:0;right:0;text-align:center;align-items:center;"):"center"===e?"top:0;left:0;right:0;bottom:0;flex-flow:column;justify-content:center;align-items:center;":void 0}(t,n,r,i,o)),e.appendChild(a),c.position=a,a}(t.appendTo||s().body,t.position||u.position,t.offsetTop||u.offsetTop,t.offsetBottom||u.offsetBottom,t.offsetLeft||u.offsetLeft,t.offsetRight||u.offsetRight);if(t.single)for(var i=r.lastElementChild;i;)r.removeChild(i),i=r.lastElementChild;r.appendChild(n.element)},Object.defineProperty(e,"__esModule",{value:!0})}(t)},5022:function(){!function(e,t){"use strict";function n(){var e=b.splice(0,b.length);for(je=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)f(e[n],t)}function i(e){return function(t){Qe(t)&&(f(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function o(e){var t=Ke.call(e,"is"),n=e.nodeName.toUpperCase(),r=se.call(re,t?ee+t.toUpperCase():$+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function s(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,i=e.target,o=e[J]||2,a=e[G]||3;!rt||i&&i!==t||!t[K]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==o&&n!==a)||t[K](r,n===o?null:e.prevValue,n===a?null:e.newValue)}function l(e){var t=i(e);return function(e){b.push(t,e.target),je&&clearTimeout(je),je=setTimeout(n,1)}}function u(e){nt&&(nt=!1,e.currentTarget.removeEventListener(j,u)),oe.length&&r((e.target||C).querySelectorAll(oe),e.detail===N?N:L),Pe&&function(){for(var e,t=0,n=Fe.length;t<n;t++)ae.contains(e=Fe[t])||(n--,Fe.splice(t--,1),f(e,N))}()}function c(e,t){var n=this;We.call(n,e,t),T.call(n,{target:n})}function A(e,t,n){var r=t.apply(e,n),i=o(r);return-1<i&&U(r,ie[i]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)U(t=e[n],ie[o(t)])}(r.querySelectorAll(oe)),r}function h(e,t){De(e,t),M?M.observe(e,Ge):(tt&&(e.setAttribute=c,e[Q]=O(e),e[F](X,T)),e[F](Y,s)),e[q]&&rt&&(e.created=!0,e[q](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function f(e,t){var n,r,i=o(e);-1<i&&!Ne.call(e,"TEMPLATE")&&(I(e,ie[i]),i=0,t!==L||e[L]?t!==N||e[N]||(e[L]=!1,e[N]=!0,r="disconnected",i=1):(e[N]=!1,e[L]=!0,r="connected",i=1,Pe&&se.call(Fe,e)<0&&Fe.push(e)),i&&(n=e[t+R]||e[r+R])&&n.call(e))}function p(){}function _(e,t,n){var r=n&&n[H]||"",i=t.prototype,o=Me(i),a=t.observedAttributes||he,s={prototype:o};Se(o,q,{value:function(){if(Be)Be=!1;else if(!this[ve]){this[ve]=!0,new t(this),i[q]&&i[q].call(this);var e=be[ke.get(t)];(!ye||e.create.length>1)&&m(this)}}}),Se(o,K,{value:function(e){-1<se.call(a,e)&&i[K]&&i[K].apply(this,arguments)}}),i[V]&&Se(o,Z,{value:i[V]}),i[W]&&Se(o,z,{value:i[W]}),r&&(s[H]=r),e=e.toUpperCase(),be[e]={constructor:t,create:r?[r,Oe(e)]:[e]},ke.set(t,e),C[P](e.toLowerCase(),s),y(e),Te[e].r()}function g(e){var t=be[e.toUpperCase()];return t&&t.constructor}function v(e){return"string"==typeof e?e:e&&e.is||""}function m(e){for(var t,n=e[K],r=n?e.attributes:he,i=r.length;i--;)n.call(e,(t=r[i]).name||t.nodeName,null,t.value||t.nodeValue)}function y(e){return(e=e.toUpperCase())in Te||(Te[e]={},Te[e].p=new we(function(t){Te[e].r=t})),Te[e].p}function E(){me&&delete e.customElements,Ae(e,"customElements",{configurable:!0,value:new p}),Ae(e,"CustomElementRegistry",{configurable:!0,value:p});for(var t=B.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Be=!0,t=be[ke.get(e.constructor)],(e=(r=ye&&1===t.create.length)?Reflect.construct(n,he,t.constructor):C.createElement.apply(C,t.create))[ve]=!0,Be=!1,r||m(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){Ae(n,ve,{value:e[t]})}}}(t[n]));C.createElement=function(e,t){var n=v(t);return n?Je.call(this,e,Oe(n)):Je.call(this,e)},Xe||(et=!0,C[P](""))}var C=e.document,w=e.Object,B=function(e){var t,n,r,i,o=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(w.create||w)(null),l={};for(n in e)for(i in e[n])for(s[i]=r=e[n][i],t=0;t<r.length;t++)s[r[t].toLowerCase()]=s[r[t].toUpperCase()]=i;return l.get=function(e){return"string"==typeof e?s[e]||(o.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},l.set=function(e,t){return o.test(e)?a(e,t):a(t,e),l},l}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var b,T,k,O,M,D,I,U,x,P="registerElement",S=1e5*e.Math.random()>>0,Q="__"+P+S,F="addEventListener",L="attached",R="Callback",N="detached",H="extends",K="attributeChanged"+R,Z=L+R,V="connected"+R,W="disconnected"+R,q="created"+R,z=N+R,J="ADDITION",G="REMOVAL",Y="DOMAttrModified",j="DOMContentLoaded",X="DOMSubtreeModified",$="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],ie=[],oe="",ae=C.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=w.prototype,ue=le.hasOwnProperty,ce=le.isPrototypeOf,Ae=w.defineProperty,he=[],de=w.getOwnPropertyDescriptor,fe=w.getOwnPropertyNames,pe=w.getPrototypeOf,_e=w.setPrototypeOf,ge=!!w.__proto__,ve="__dreCEv1",me=e.customElements,ye=!/^force/.test(t.type)&&!!(me&&me.define&&me.get&&me.whenDefined),Ee=w.create||w,Ce=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,i){(e=se.call(t,r))<0?n[t.push(r)-1]=i:n[e]=i}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,i={catch:function(){return i},then:function(e){return n.push(e),r&&setTimeout(t,1),i}};return e(t),i},Be=!1,be=Ee(null),Te=Ee(null),ke=new Ce,Oe=function(e){return e.toLowerCase()},Me=w.create||function e(t){return t?(e.prototype=t,new e):this},De=_e||(ge?function(e,t){return e.__proto__=t,e}:fe&&de?function(){function e(e,t){for(var n,r=fe(t),i=0,o=r.length;i<o;i++)ue.call(e,n=r[i])||Ae(e,n,de(t,n))}return function(t,n){do{e(t,n)}while((n=pe(n))&&!ce.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Ie=e.MutationObserver||e.WebKitMutationObserver,Ue=e.HTMLAnchorElement,xe=(e.HTMLElement||e.Element||e.Node).prototype,Pe=!ce.call(xe,ae),Se=Pe?function(e,t,n){return e[t]=n.value,e}:Ae,Qe=Pe?function(e){return 1===e.nodeType}:function(e){return ce.call(xe,e)},Fe=Pe&&[],Le=xe.attachShadow,Re=xe.cloneNode,Ne=xe.closest||function(e){for(var t=this;t&&t.nodeName!==e;)t=t.parentNode;return t},He=xe.dispatchEvent,Ke=xe.getAttribute,Ze=xe.hasAttribute,Ve=xe.removeAttribute,We=xe.setAttribute,qe=C.createElement,ze=C.importNode,Je=qe,Ge=Ie&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ye=Ie||function(e){tt=!1,ae.removeEventListener(Y,Ye)},je=0,Xe=P in C&&!/^force-all/.test(t.type),$e=!0,et=!1,tt=!0,nt=!0,rt=!0;if(Ie&&((x=C.createElement("div")).innerHTML="<div><div></div></div>",new Ie(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(x=de(xe,"innerHTML"))&&x.set;n&&Ae(xe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),x=null}).observe(x,{childList:!0,subtree:!0}),x.innerHTML=""),Xe||(_e||ge?(I=function(e,t){ce.call(t,e)||h(e,t)},U=h):U=I=function(e,t){e[Q]||(e[Q]=w(!0),h(e,t))},Pe?(tt=!1,function(){var e=de(xe,F),t=e.value,n=function(e){var t=new CustomEvent(Y,{bubbles:!0});t.attrName=e,t.prevValue=Ke.call(this,e),t.newValue=null,t[G]=t.attrChange=2,Ve.call(this,e),He.call(this,t)},r=function(e,t){var n=Ze.call(this,e),r=n&&Ke.call(this,e),i=new CustomEvent(Y,{bubbles:!0});We.call(this,e,t),i.attrName=e,i.prevValue=n?r:null,i.newValue=t,n?i.MODIFICATION=i.attrChange=1:i[J]=i.attrChange=0,He.call(this,i)},i=function(e){var t,n=e.currentTarget,r=n[Q],i=e.propertyName;r.hasOwnProperty(i)&&(r=r[i],(t=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[i]||null,null==t.prevValue?t[J]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,He.call(n,t))};e.value=function(e,o,a){e===Y&&this[K]&&this.setAttribute!==r&&(this[Q]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",i)),t.call(this,e,o,a)},Ae(xe,F,e)}()):Ie||(ae[F](Y,Ye),ae.setAttribute(Q,1),ae.removeAttribute(Q),tt&&(T=function(e){var t,n,r,i=this;if(i===e.target){for(r in t=i[Q],i[Q]=n=O(i),n){if(!(r in t))return k(0,i,r,t[r],n[r],J);if(n[r]!==t[r])return k(1,i,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return k(2,i,r,t[r],n[r],G)}},k=function(e,t,n,r,i,o){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:i};a[o]=e,s(a)},O=function(e){for(var t,n,r={},i=e.attributes,o=0,a=i.length;o<a;o++)"setAttribute"!==(n=(t=i[o]).name)&&(r[n]=t.value);return r})),C[P]=function(e,t){if(n=e.toUpperCase(),$e&&($e=!1,Ie?(M=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Ie(function(r){for(var i,o,a,s=0,l=r.length;s<l;s++)"childList"===(i=r[s]).type?(n(i.addedNodes,e),n(i.removedNodes,t)):(o=i.target,rt&&o[K]&&"style"!==i.attributeName&&(a=Ke.call(o,i.attributeName))!==i.oldValue&&o[K](i.attributeName,i.oldValue,a))})}(i(L),i(N)),(D=function(e){return M.observe(e,{childList:!0,subtree:!0}),e})(C),Le&&(xe.attachShadow=function(){return D(Le.apply(this,arguments))})):(b=[],C[F]("DOMNodeInserted",l(L)),C[F]("DOMNodeRemoved",l(N))),C[F](j,u),C[F]("readystatechange",u),C.importNode=function(e,t){switch(e.nodeType){case 1:return A(C,ze,[e,!!t]);case 11:for(var n=C.createDocumentFragment(),r=e.childNodes,i=r.length,o=0;o<i;o++)n.appendChild(C.importNode(r[o],!!t));return n;default:return Re.call(e,!!t)}},xe.cloneNode=function(e){return A(this,Re,[!!e])}),et)return et=!1;if(-2<se.call(re,ee+n)+se.call(re,$+n)&&d(e),!te.test(n)||-1<se.call(ne,n))throw new Error("The type "+e+" is invalid");var n,o,a=function(){return c?C.createElement(h,n):C.createElement(h)},s=t||le,c=ue.call(s,H),h=c?t[H].toUpperCase():n;return c&&-1<se.call(re,$+h)&&d(h),o=re.push((c?ee:$)+n)-1,oe=oe.concat(oe.length?",":"",c?h+'[is="'+e.toLowerCase()+'"]':h),a.prototype=ie[o]=ue.call(s,"prototype")?s.prototype:Me(xe),oe.length&&r(C.querySelectorAll(oe),L),a},C.createElement=Je=function(e,t){var n=v(t),r=n?qe.call(C,e,Oe(n)):qe.call(C,e),i=""+e,o=se.call(re,(n?ee:$)+(n||i).toUpperCase()),s=-1<o;return n&&(r.setAttribute("is",n=n.toLowerCase()),s&&(s=a(i.toUpperCase(),n))),rt=!C.createElement.innerHTMLHelper,s&&U(r,ie[o]),r}),addEventListener("beforeunload",function(){delete C.createElement,delete C.importNode,delete C[P]},!1),p.prototype={constructor:p,define:ye?function(e,t,n){if(n)_(e,t,n);else{var r=e.toUpperCase();be[r]={constructor:t,create:[r]},ke.set(t,r),me.define(e,t)}}:_,get:ye?function(e){return me.get(e)||g(e)}:g,whenDefined:ye?function(e){return we.race([me.whenDefined(e),y(e)])}:y},!me||/^force/.test(t.type))E();else if(!t.noBuiltIn)try{!function(t,n,r){var i=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[H]="a",(t.prototype=Me(Ue.prototype)).constructor=t,e.customElements.define(r,t,n),!i.test(C.createElement("a",{is:r}).outerHTML)||!i.test((new t).outerHTML))throw n}(function e(){return Reflect.construct(Ue,[],e)},{},"document-register-element-a"+S)}catch(it){E()}if(!t.noBuiltIn)try{if(qe.call(C,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ot){Oe=function(e){return{is:e.toLowerCase()}}}}(window)},4213:function(e){e.exports=function(){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};function t(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}l((r=r.apply(e,t||[])).next())})}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}for(var o=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t){return new e(t.left,t.top,t.width,t.height)},e}(),a=function(e){return o.fromClientRect(e.getBoundingClientRect())},s=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):r.push(55296+((a-=65536)>>10),a%1024+56320),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c="undefined"==typeof Uint8Array?[]:new Uint8Array(256),A=0;A<u.length;A++)c[u.charCodeAt(A)]=A;var h,d,f,p,_,g,v,m,y=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},E=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return this.data[t=((t=this.index[e>>5])<<2)+(31&e)];if(e<=65535)return this.data[t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e)];if(e<this.highStart)return t=this.index[t=2080+(e>>11)],this.data[t=((t=this.index[t+=e>>5&63])<<2)+(31&e)];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),C=10,w=13,B=15,b=17,T=18,k=19,O=20,M=21,D=22,I=24,U=25,x=26,P=27,S=28,Q=30,F=32,L=33,R=34,N=35,H=37,K=38,Z=39,V=40,W=42,q=(p=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),A=Array.isArray(u)?u:new Uint8Array(u);for(t=0;t<s;t+=4)n=c[e.charCodeAt(t)],r=c[e.charCodeAt(t+1)],i=c[e.charCodeAt(t+2)],o=c[e.charCodeAt(t+3)],A[l++]=n<<2|r>>4,A[l++]=(15&r)<<4|i>>2,A[l++]=(3&i)<<6|63&o;return u}("KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"),_=Array.isArray(p)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(p):new Uint32Array(p),v=y(g=Array.isArray(p)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(p):new Uint16Array(p),12,_[4]/2),m=2===_[5]?y(g,(24+_[4])/2):(d=_,f=Math.ceil((24+_[4])/4),d.slice?d.slice(f,void 0):new Uint32Array(Array.prototype.slice.call(d,f,void 0))),new E(_[0],_[1],_[2],_[3],v,m)),z=[Q,36],J=[1,2,3,5],G=[C,8],Y=[P,x],j=J.concat(G),X=[K,Z,V,R,N],$=[B,w],ee=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((l=r[++o])===t)return!0;if(l!==C)break}if(i===C)for(o=n;o>0;){var a=r[--o];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==C)break}if(a!==C)break}return!1},te=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==C)return r;n--}return 0},ne=function(e,t,n,r,i){if(0===n[r])return"\xd7";var o=r-1;if(Array.isArray(i)&&!0===i[o])return"\xd7";var a=o-1,s=o+1,l=t[o],u=a>=0?t[a]:0,c=t[s];if(2===l&&3===c)return"\xd7";if(-1!==J.indexOf(l))return"!";if(-1!==J.indexOf(c))return"\xd7";if(-1!==G.indexOf(c))return"\xd7";if(8===te(o,t))return"\xf7";if(11===q.get(e[o])&&(c===H||c===F||c===L))return"\xd7";if(7===l||7===c)return"\xd7";if(9===l)return"\xd7";if(-1===[C,w,B].indexOf(l)&&9===c)return"\xd7";if(-1!==[b,T,k,I,S].indexOf(c))return"\xd7";if(te(o,t)===D)return"\xd7";if(ee(23,D,o,t))return"\xd7";if(ee([b,T],M,o,t))return"\xd7";if(ee(12,12,o,t))return"\xd7";if(l===C)return"\xf7";if(23===l||23===c)return"\xd7";if(16===c||16===l)return"\xf7";if(-1!==[w,B,M].indexOf(c)||14===l)return"\xd7";if(36===u&&-1!==$.indexOf(l))return"\xd7";if(l===S&&36===c)return"\xd7";if(c===O&&-1!==z.concat(O,k,U,H,F,L).indexOf(l))return"\xd7";if(-1!==z.indexOf(c)&&l===U||-1!==z.indexOf(l)&&c===U)return"\xd7";if(l===P&&-1!==[H,F,L].indexOf(c)||-1!==[H,F,L].indexOf(l)&&c===x)return"\xd7";if(-1!==z.indexOf(l)&&-1!==Y.indexOf(c)||-1!==Y.indexOf(l)&&-1!==z.indexOf(c))return"\xd7";if(-1!==[P,x].indexOf(l)&&(c===U||-1!==[D,B].indexOf(c)&&t[s+1]===U)||-1!==[D,B].indexOf(l)&&c===U||l===U&&-1!==[U,S,I].indexOf(c))return"\xd7";if(-1!==[U,S,I,b,T].indexOf(c))for(var A=o;A>=0;){if((h=t[A])===U)return"\xd7";if(-1===[S,I].indexOf(h))break;A--}if(-1!==[P,x].indexOf(c))for(A=-1!==[b,T].indexOf(l)?a:o;A>=0;){var h;if((h=t[A])===U)return"\xd7";if(-1===[S,I].indexOf(h))break;A--}if(K===l&&-1!==[K,Z,R,N].indexOf(c)||-1!==[Z,R].indexOf(l)&&-1!==[Z,V].indexOf(c)||-1!==[V,N].indexOf(l)&&c===V)return"\xd7";if(-1!==X.indexOf(l)&&-1!==[O,x].indexOf(c)||-1!==X.indexOf(c)&&l===P)return"\xd7";if(-1!==z.indexOf(l)&&-1!==z.indexOf(c))return"\xd7";if(l===I&&-1!==z.indexOf(c))return"\xd7";if(-1!==z.concat(U).indexOf(l)&&c===D||-1!==z.concat(U).indexOf(c)&&l===T)return"\xd7";if(41===l&&41===c){for(var d=n[o],f=1;d>0&&41===t[--d];)f++;if(f%2!=0)return"\xd7"}return l===F&&c===L?"\xd7":"\xf7"},re=function(){function e(e,t,n,r){this.codePoints=e,this.required="!"===t,this.start=n,this.end=r}return e.prototype.slice=function(){return l.apply(void 0,this.codePoints.slice(this.start,this.end))},e}();!function(e){e[e.STRING_TOKEN=0]="STRING_TOKEN",e[e.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",e[e.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",e[e.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",e[e.COMMA_TOKEN=4]="COMMA_TOKEN",e[e.HASH_TOKEN=5]="HASH_TOKEN",e[e.DELIM_TOKEN=6]="DELIM_TOKEN",e[e.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",e[e.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",e[e.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",e[e.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",e[e.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",e[e.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",e[e.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",e[e.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",e[e.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",e[e.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",e[e.NUMBER_TOKEN=17]="NUMBER_TOKEN",e[e.FUNCTION=18]="FUNCTION",e[e.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",e[e.IDENT_TOKEN=20]="IDENT_TOKEN",e[e.COLUMN_TOKEN=21]="COLUMN_TOKEN",e[e.URL_TOKEN=22]="URL_TOKEN",e[e.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",e[e.CDC_TOKEN=24]="CDC_TOKEN",e[e.CDO_TOKEN=25]="CDO_TOKEN",e[e.COLON_TOKEN=26]="COLON_TOKEN",e[e.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",e[e.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",e[e.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",e[e.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",e[e.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",e[e.EOF_TOKEN=32]="EOF_TOKEN"}(h||(h={}));var ie=function(e){return e>=48&&e<=57},oe=function(e){return ie(e)||e>=65&&e<=70||e>=97&&e<=102},ae=function(e){return 10===e||9===e||32===e},se=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},le=function(e){return se(e)||ie(e)||45===e},ue=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},ce=function(e,t){return 92===e&&10!==t},Ae=function(e,t,n){return 45===e?se(t)||ce(t,n):!!se(e)||!(92!==e||!ce(e,t))},he=function(e,t,n){return 43===e||45===e?!!ie(t)||46===t&&ie(n):ie(46===e?t:e)},de=function(e){var t=0,n=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(n=-1),t++);for(var r=[];ie(e[t]);)r.push(e[t++]);var i=r.length?parseInt(l.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];ie(e[t]);)o.push(e[t++]);var a=o.length,s=a?parseInt(l.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var u=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(u=-1),t++);for(var c=[];ie(e[t]);)c.push(e[t++]);var A=c.length?parseInt(l.apply(void 0,c),10):0;return n*(i+s*Math.pow(10,-a))*Math.pow(10,u*A)},fe={type:h.LEFT_PARENTHESIS_TOKEN},pe={type:h.RIGHT_PARENTHESIS_TOKEN},_e={type:h.COMMA_TOKEN},ge={type:h.SUFFIX_MATCH_TOKEN},ve={type:h.PREFIX_MATCH_TOKEN},me={type:h.COLUMN_TOKEN},ye={type:h.DASH_MATCH_TOKEN},Ee={type:h.INCLUDE_MATCH_TOKEN},Ce={type:h.LEFT_CURLY_BRACKET_TOKEN},we={type:h.RIGHT_CURLY_BRACKET_TOKEN},Be={type:h.SUBSTRING_MATCH_TOKEN},be={type:h.BAD_URL_TOKEN},Te={type:h.BAD_STRING_TOKEN},ke={type:h.CDO_TOKEN},Oe={type:h.CDC_TOKEN},Me={type:h.COLON_TOKEN},De={type:h.SEMICOLON_TOKEN},Ie={type:h.LEFT_SQUARE_BRACKET_TOKEN},Ue={type:h.RIGHT_SQUARE_BRACKET_TOKEN},xe={type:h.WHITESPACE_TOKEN},Pe={type:h.EOF_TOKEN},Se=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(s(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Pe;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(le(t)||ce(n,r)){var i=Ae(t,n,r)?2:1,o=this.consumeName();return{type:h.HASH_TOKEN,value:o,flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ge;break;case 39:return this.consumeStringToken(39);case 40:return fe;case 41:return pe;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Be;break;case 43:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return _e;case 45:var a=e,s=this.peekCodePoint(0),u=this.peekCodePoint(1);if(he(a,s,u))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Ae(a,s,u))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(45===s&&62===u)return this.consumeCodePoint(),this.consumeCodePoint(),Oe;break;case 46:if(he(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(42===c&&47===(c=this.consumeCodePoint()))return this.consumeToken();if(-1===c)return this.consumeToken()}break;case 58:return Me;case 59:return De;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),ke;break;case 64:var A=this.peekCodePoint(0),d=this.peekCodePoint(1),f=this.peekCodePoint(2);if(Ae(A,d,f))return o=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:o};break;case 91:return Ie;case 92:if(ce(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Ue;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ve;break;case 123:return Ce;case 125:return we;case 117:case 85:var p=this.peekCodePoint(0),_=this.peekCodePoint(1);return 43!==p||!oe(_)&&63!==_||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ye;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),me;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ee;break;case-1:return Pe}return ae(e)?(this.consumeWhiteSpace(),xe):ie(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):se(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:l(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();oe(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(l.apply(void 0,e.map(function(e){return 63===e?48:e})),16),i=parseInt(l.apply(void 0,e.map(function(e){return 63===e?70:e})),16);return{type:h.UNICODE_RANGE_TOKEN,start:r,end:i}}var o=parseInt(l.apply(void 0,e),16);if(45===this.peekCodePoint(0)&&oe(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];oe(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();return i=parseInt(l.apply(void 0,a),16),{type:h.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:h.UNICODE_RANGE_TOKEN,start:o,end:o}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:e}):{type:h.IDENT_TOKEN,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:h.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:n.value}):(this.consumeBadUrlRemnants(),be)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:h.URL_TOKEN,value:l.apply(void 0,e)};if(ae(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:l.apply(void 0,e)}):(this.consumeBadUrlRemnants(),be);if(34===r||39===r||40===r||ue(r))return this.consumeBadUrlRemnants(),be;if(92===r){if(!ce(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),be;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;ae(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||-1===e)return;ce(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(6e4,e);t+=l.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(-1===r||void 0===r||r===e)return t+=this.consumeStringSlice(n),{type:h.STRING_TOKEN,value:t};if(10===r)return this._value.splice(0,n),Te;if(92===r){var i=this._value[n+1];-1!==i&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):ce(r,i)&&(t+=this.consumeStringSlice(n),t+=l(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||e.push(this.consumeCodePoint());ie(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&ie(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ie(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((43===r||45===r)&&ie(i)||ie(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ie(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[de(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(Ae(r,i,o)){var a=this.consumeName();return{type:h.DIMENSION_TOKEN,number:t,flags:n,unit:a}}return 37===r?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:t,flags:n}):{type:h.NUMBER_TOKEN,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(oe(e)){for(var t=l(e);oe(this.peekCodePoint(0))&&t.length<6;)t+=l(this.consumeCodePoint());ae(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return-1===e?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(le(t))e+=l(t);else{if(!ce(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=l(this.consumeEscapedCodePoint())}}},e}(),Qe=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Se;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===h.WHITESPACE_TOKEN;)e=this.consumeToken();if(e.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(e.type===h.WHITESPACE_TOKEN);if(e.type===h.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===h.EOF_TOKEN)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(e.type);case h.FUNCTION_TOKEN:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(n.type===h.EOF_TOKEN||We(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:h.FUNCTION};;){var n=this.consumeToken();if(n.type===h.EOF_TOKEN||n.type===h.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Pe:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Fe=function(e){return e.type===h.DIMENSION_TOKEN},Le=function(e){return e.type===h.NUMBER_TOKEN},Re=function(e){return e.type===h.IDENT_TOKEN},Ne=function(e){return e.type===h.STRING_TOKEN},He=function(e,t){return Re(e)&&e.value===t},Ke=function(e){return e.type!==h.WHITESPACE_TOKEN},Ze=function(e){return e.type!==h.WHITESPACE_TOKEN&&e.type!==h.COMMA_TOKEN},Ve=function(e){var t=[],n=[];return e.forEach(function(e){if(e.type===h.COMMA_TOKEN){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}e.type!==h.WHITESPACE_TOKEN&&n.push(e)}),n.length&&t.push(n),t},We=function(e,t){return t===h.LEFT_CURLY_BRACKET_TOKEN&&e.type===h.RIGHT_CURLY_BRACKET_TOKEN||t===h.LEFT_SQUARE_BRACKET_TOKEN&&e.type===h.RIGHT_SQUARE_BRACKET_TOKEN||t===h.LEFT_PARENTHESIS_TOKEN&&e.type===h.RIGHT_PARENTHESIS_TOKEN},qe=function(e){return e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN},ze=function(e){return e.type===h.PERCENTAGE_TOKEN||qe(e)},Je=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Ge={type:h.NUMBER_TOKEN,number:0,flags:4},Ye={type:h.PERCENTAGE_TOKEN,number:50,flags:4},je={type:h.PERCENTAGE_TOKEN,number:100,flags:4},Xe=function(e,t,n){var r=e[0],i=e[1];return[$e(r,t),$e(void 0!==i?i:r,n)]},$e=function(e,t){if(e.type===h.PERCENTAGE_TOKEN)return e.number/100*t;if(Fe(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},et=function(e){if(e.type===h.DIMENSION_TOKEN)switch(e.unit){case"deg":return Math.PI*e.number/180;case"grad":return Math.PI/200*e.number;case"rad":return e.number;case"turn":return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},tt=function(e){return e.type===h.DIMENSION_TOKEN&&("deg"===e.unit||"grad"===e.unit||"rad"===e.unit||"turn"===e.unit)},nt=function(e){switch(e.filter(Re).map(function(e){return e.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ge,Ge];case"to top":case"bottom":return rt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ge,je];case"to right":case"left":return rt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[je,je];case"to bottom":case"top":return rt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[je,Ge];case"to left":case"right":return rt(270)}return 0},rt=function(e){return Math.PI*e/180},it=function(e){if(e.type===h.FUNCTION){var t=ft[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(e.values)}if(e.type===h.HASH_TOKEN){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),i=e.value.substring(2,3);return st(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),1)}if(4===e.value.length){n=e.value.substring(0,1),r=e.value.substring(1,2),i=e.value.substring(2,3);var o=e.value.substring(3,4);return st(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),i=e.value.substring(4,6),st(parseInt(n,16),parseInt(r,16),parseInt(i,16),1);if(8===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),i=e.value.substring(4,6),o=e.value.substring(6,8),st(parseInt(n,16),parseInt(r,16),parseInt(i,16),parseInt(o,16)/255)}if(e.type===h.IDENT_TOKEN){var a=pt[e.value.toUpperCase()];if(void 0!==a)return a}return pt.TRANSPARENT},ot=function(e){return 0==(255&e)},at=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},st=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},lt=function(e,t){if(e.type===h.NUMBER_TOKEN)return e.number;if(e.type===h.PERCENTAGE_TOKEN){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},ut=function(e){var t=e.filter(Ze);if(3===t.length){var n=t.map(lt);return st(n[0],n[1],n[2],1)}if(4===t.length){var r=t.map(lt);return st(r[0],r[1],r[2],r[3])}return 0};function ct(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var At,ht,dt=function(e){var t=e.filter(Ze),n=t[0],r=t[1],i=t[2],o=t[3],a=(n.type===h.NUMBER_TOKEN?rt(n.number):et(n))/(2*Math.PI),s=ze(r)?r.number/100:0,l=ze(i)?i.number/100:0,u=void 0!==o&&ze(o)?$e(o,1):1;if(0===s)return st(255*l,255*l,255*l,1);var c=l<=.5?l*(s+1):l+s-l*s,A=2*l-c,d=ct(A,c,a+1/3),f=ct(A,c,a),p=ct(A,c,a-1/3);return st(255*d,255*f,255*p,u)},ft={hsl:dt,hsla:dt,rgb:ut,rgba:ut},pt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199};(function(e){e[e.VALUE=0]="VALUE",e[e.LIST=1]="LIST",e[e.IDENT_VALUE=2]="IDENT_VALUE",e[e.TYPE_VALUE=3]="TYPE_VALUE",e[e.TOKEN_VALUE=4]="TOKEN_VALUE"})(At||(At={})),function(e){e[e.BORDER_BOX=0]="BORDER_BOX",e[e.PADDING_BOX=1]="PADDING_BOX",e[e.CONTENT_BOX=2]="CONTENT_BOX"}(ht||(ht={}));var _t,gt,vt,mt={name:"background-clip",initialValue:"border-box",prefix:!1,type:At.LIST,parse:function(e){return e.map(function(e){if(Re(e))switch(e.value){case"padding-box":return ht.PADDING_BOX;case"content-box":return ht.CONTENT_BOX}return ht.BORDER_BOX})}},yt={name:"background-color",initialValue:"transparent",prefix:!1,type:At.TYPE_VALUE,format:"color"},Et=function(e){var t=it(e[0]),n=e[1];return n&&ze(n)?{color:t,stop:n}:{color:t,stop:null}},Ct=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=Ge),null===r.stop&&(r.stop=je);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=$e(s,t);i.push(l>o?l:o),o=l}else i.push(null)}var u=null;for(a=0;a<i.length;a++){var c=i[a];if(null===c)null===u&&(u=a);else if(null!==u){for(var A=a-u,h=(c-i[u-1])/(A+1),d=1;d<=A;d++)i[u+d-1]=h*d;u=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},wt=function(e,t){return Math.sqrt(e*e+t*t)},Bt=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=wt(n-t[0],r-t[1]);return(i?o<e.optimumDistance:o>e.optimumDistance)?{optimumCorner:t,optimumDistance:o}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},bt=function(e){var t=rt(180),n=[];return Ve(e).forEach(function(e,r){if(0===r){var i=e[0];if(i.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=nt(e));if(tt(i))return void(t=(et(i)+rt(270))%rt(360))}var o=Et(e);n.push(o)}),{angle:t,stops:n,type:_t.LINEAR_GRADIENT}},Tt=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},kt=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},Ot=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Mt={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(Mt,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(i){return!1}return!0}(document);return Object.defineProperty(Mt,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas");t.width=100,t.height=100;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,100,100);var r=new Image,i=t.toDataURL();r.src=i;var o=kt(100,100,0,0,r);return n.fillStyle="red",n.fillRect(0,0,100,100),Ot(o).then(function(t){n.drawImage(t,0,0);var r=n.getImageData(0,0,100,100).data;n.fillStyle="red",n.fillRect(0,0,100,100);var o=e.createElement("div");return o.style.backgroundImage="url("+i+")",o.style.height="100px",Tt(r)?Ot(kt(100,100,0,0,o)):Promise.reject(!1)}).then(function(e){return n.drawImage(e,0,0),Tt(n.getImageData(0,0,100,100).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Mt,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(Mt,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Mt,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Mt,"SUPPORT_CORS_XHR",{value:e}),e}},Dt=function(){function e(e){var t=e.enabled;this.id=e.id,this.enabled=t,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.create=function(t){e.instances[t.id]=new e(t)},e.destroy=function(t){delete e.instances[t]},e.getInstance=function(t){var n=e.instances[t];if(void 0===n)throw new Error("No logger instance found with id "+t);return n},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(e)):this.info.apply(this,e))},e.instances={},e}(),It=function(){function e(){}return e.create=function(t,n){return e._caches[t]=new Ut(t,n)},e.destroy=function(t){delete e._caches[t]},e.open=function(t){var n=e._caches[t];if(void 0!==n)return n;throw new Error('Cache with key "'+t+'" not found')},e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e.getInstance=function(){var t=e._current;if(null===t)throw new Error("No cache instance attached");return t},e.attachInstance=function(t){e._current=t},e.detachInstance=function(){e._current=null},e._caches={},e._origin="about:blank",e._current=null,e}(),Ut=function(){function e(e,t){this.id=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:Rt(e)||Qt(e)?(this._cache[e]=this.loadImage(e),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a=this;return i(this,function(i){switch(i.label){case 0:return t=It.isSameOrigin(e),n=!Ft(e)&&!0===this._options.useCORS&&Mt.SUPPORT_CORS_IMAGES&&!t,r=!Ft(e)&&!t&&"string"==typeof this._options.proxy&&Mt.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||Ft(e)||r||n?(o=e,r?[4,this.proxy(o)]:[3,2]):[2];case 1:o=i.sent(),i.label=2;case 2:return Dt.getInstance(this.id).debug("Added image "+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(Lt(o)||n)&&(r.crossOrigin="anonymous"),r.src=o,!0===r.complete&&setTimeout(function(){return e(r)},500),a._options.imageTimeout>0&&setTimeout(function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise(function(i,o){var a=Mt.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var e=new FileReader;e.addEventListener("load",function(){return i(e.result)},!1),e.addEventListener("error",function(e){return o(e)},!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=o,s.open("GET",n+"?url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var l=t._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return o("Timed out ("+l+"ms) proxying "+r)}}s.send()})},e}(),xt=/^data:image\/svg\+xml/i,Pt=/^data:image\/.*;base64,/i,St=/^data:image\/.*/i,Qt=function(e){return Mt.SUPPORT_SVG_DRAWING||!Nt(e)},Ft=function(e){return St.test(e)},Lt=function(e){return Pt.test(e)},Rt=function(e){return"blob"===e.substr(0,4)},Nt=function(e){return"svg"===e.substr(-3).toLowerCase()||xt.test(e)},Ht=function(e){var t=gt.CIRCLE,n=vt.FARTHEST_CORNER,r=[],i=[];return Ve(e).forEach(function(e,o){var a=!0;if(0===o?a=e.reduce(function(e,t){if(Re(t))switch(t.value){case"center":return i.push(Ye),!1;case"top":case"left":return i.push(Ge),!1;case"right":case"bottom":return i.push(je),!1}else if(ze(t)||qe(t))return i.push(t),!1;return e},a):1===o&&(a=e.reduce(function(e,r){if(Re(r))switch(r.value){case"circle":return t=gt.CIRCLE,!1;case"ellipse":return t=gt.ELLIPSE,!1;case"contain":case"closest-side":return n=vt.CLOSEST_SIDE,!1;case"farthest-side":return n=vt.FARTHEST_SIDE,!1;case"closest-corner":return n=vt.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return n=vt.FARTHEST_CORNER,!1}else if(qe(r)||ze(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return e},a)),a){var s=Et(e);r.push(s)}}),{size:n,shape:t,stops:r,position:i,type:_t.RADIAL_GRADIENT}};!function(e){e[e.URL=0]="URL",e[e.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",e[e.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(_t||(_t={})),function(e){e[e.CIRCLE=0]="CIRCLE",e[e.ELLIPSE=1]="ELLIPSE"}(gt||(gt={})),function(e){e[e.CLOSEST_SIDE=0]="CLOSEST_SIDE",e[e.FARTHEST_SIDE=1]="FARTHEST_SIDE",e[e.CLOSEST_CORNER=2]="CLOSEST_CORNER",e[e.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(vt||(vt={}));var Kt,Zt=function(e){if(e.type===h.URL_TOKEN){var t={url:e.value,type:_t.URL};return It.getInstance().addImage(e.value),t}if(e.type===h.FUNCTION){var n=Vt[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(e.values)}throw new Error("Unsupported image type")},Vt={"linear-gradient":function(e){var t=rt(180),n=[];return Ve(e).forEach(function(e,r){if(0===r){var i=e[0];if(i.type===h.IDENT_TOKEN&&"to"===i.value)return void(t=nt(e));if(tt(i))return void(t=et(i))}var o=Et(e);n.push(o)}),{angle:t,stops:n,type:_t.LINEAR_GRADIENT}},"-moz-linear-gradient":bt,"-ms-linear-gradient":bt,"-o-linear-gradient":bt,"-webkit-linear-gradient":bt,"radial-gradient":function(e){var t=gt.CIRCLE,n=vt.FARTHEST_CORNER,r=[],i=[];return Ve(e).forEach(function(e,o){var a=!0;if(0===o){var s=!1;a=e.reduce(function(e,r){if(s)if(Re(r))switch(r.value){case"center":return i.push(Ye),e;case"top":case"left":return i.push(Ge),e;case"right":case"bottom":return i.push(je),e}else(ze(r)||qe(r))&&i.push(r);else if(Re(r))switch(r.value){case"circle":return t=gt.CIRCLE,!1;case"ellipse":return t=gt.ELLIPSE,!1;case"at":return s=!0,!1;case"closest-side":return n=vt.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return n=vt.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return n=vt.CLOSEST_CORNER,!1;case"farthest-corner":return n=vt.FARTHEST_CORNER,!1}else if(qe(r)||ze(r))return Array.isArray(n)||(n=[]),n.push(r),!1;return e},a)}if(a){var l=Et(e);r.push(l)}}),{size:n,shape:t,stops:r,position:i,type:_t.RADIAL_GRADIENT}},"-moz-radial-gradient":Ht,"-ms-radial-gradient":Ht,"-o-radial-gradient":Ht,"-webkit-radial-gradient":Ht,"-webkit-gradient":function(e){var t=rt(180),n=[],r=_t.LINEAR_GRADIENT,i=gt.CIRCLE,o=vt.FARTHEST_CORNER;return Ve(e).forEach(function(e,t){var i=e[0];if(0===t){if(Re(i)&&"linear"===i.value)return void(r=_t.LINEAR_GRADIENT);if(Re(i)&&"radial"===i.value)return void(r=_t.RADIAL_GRADIENT)}if(i.type===h.FUNCTION)if("from"===i.name){var o=it(i.values[0]);n.push({stop:Ge,color:o})}else if("to"===i.name)o=it(i.values[0]),n.push({stop:je,color:o});else if("color-stop"===i.name){var a=i.values.filter(Ze);if(2===a.length){o=it(a[1]);var s=a[0];Le(s)&&n.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}}),r===_t.LINEAR_GRADIENT?{angle:(t+rt(180))%rt(360),stops:n,type:r}:{size:o,shape:i,stops:n,position:[],type:r}}},Wt={name:"background-image",initialValue:"none",type:At.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e.filter(function(e){return Ze(e)&&function(e){return e.type!==h.FUNCTION||Vt[e.name]}(e)}).map(Zt)}},qt={name:"background-origin",initialValue:"border-box",prefix:!1,type:At.LIST,parse:function(e){return e.map(function(e){if(Re(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},zt={name:"background-position",initialValue:"0% 0%",type:At.LIST,prefix:!1,parse:function(e){return Ve(e).map(function(e){return e.filter(ze)}).map(Je)}};!function(e){e[e.REPEAT=0]="REPEAT",e[e.NO_REPEAT=1]="NO_REPEAT",e[e.REPEAT_X=2]="REPEAT_X",e[e.REPEAT_Y=3]="REPEAT_Y"}(Kt||(Kt={}));var Jt,Gt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:At.LIST,parse:function(e){return Ve(e).map(function(e){return e.filter(Re).map(function(e){return e.value}).join(" ")}).map(Yt)}},Yt=function(e){switch(e){case"no-repeat":return Kt.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Kt.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Kt.REPEAT_Y;case"repeat":default:return Kt.REPEAT}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Jt||(Jt={}));var jt,Xt={name:"background-size",initialValue:"0",prefix:!1,type:At.LIST,parse:function(e){return Ve(e).map(function(e){return e.filter($t)})}},$t=function(e){return Re(e)||ze(e)},en=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:At.TYPE_VALUE,format:"color"}},tn=en("top"),nn=en("right"),rn=en("bottom"),on=en("left"),an=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:At.LIST,parse:function(e){return Je(e.filter(ze))}}},sn=an("top-left"),ln=an("top-right"),un=an("bottom-right"),cn=an("bottom-left");!function(e){e[e.NONE=0]="NONE",e[e.SOLID=1]="SOLID"}(jt||(jt={}));var An,hn=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"none":return jt.NONE}return jt.SOLID}}},dn=hn("top"),fn=hn("right"),pn=hn("bottom"),_n=hn("left"),gn=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:At.VALUE,prefix:!1,parse:function(e){return Fe(e)?e.number:0}}},vn=gn("top"),mn=gn("right"),yn=gn("bottom"),En=gn("left"),Cn={name:"color",initialValue:"transparent",prefix:!1,type:At.TYPE_VALUE,format:"color"},wn={name:"display",initialValue:"inline-block",prefix:!1,type:At.LIST,parse:function(e){return e.filter(Re).reduce(function(e,t){return e|Bn(t.value)},0)}},Bn=function(e){switch(e){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0};!function(e){e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.INLINE_START=3]="INLINE_START",e[e.INLINE_END=4]="INLINE_END"}(An||(An={}));var bn,Tn={name:"float",initialValue:"none",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"left":return An.LEFT;case"right":return An.RIGHT;case"inline-start":return An.INLINE_START;case"inline-end":return An.INLINE_END}return An.NONE}},kn={name:"letter-spacing",initialValue:"0",prefix:!1,type:At.VALUE,parse:function(e){return e.type===h.IDENT_TOKEN&&"normal"===e.value?0:e.type===h.NUMBER_TOKEN||e.type===h.DIMENSION_TOKEN?e.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(bn||(bn={}));var On,Mn={name:"line-break",initialValue:"normal",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"strict":return bn.STRICT;case"normal":default:return bn.NORMAL}}},Dn={name:"line-height",initialValue:"normal",prefix:!1,type:At.TOKEN_VALUE},In={name:"list-style-image",initialValue:"none",type:At.VALUE,prefix:!1,parse:function(e){return e.type===h.IDENT_TOKEN&&"none"===e.value?null:Zt(e)}};!function(e){e[e.INSIDE=0]="INSIDE",e[e.OUTSIDE=1]="OUTSIDE"}(On||(On={}));var Un,xn={name:"list-style-position",initialValue:"outside",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"inside":return On.INSIDE;case"outside":default:return On.OUTSIDE}}};!function(e){e[e.NONE=-1]="NONE",e[e.DISC=0]="DISC",e[e.CIRCLE=1]="CIRCLE",e[e.SQUARE=2]="SQUARE",e[e.DECIMAL=3]="DECIMAL",e[e.CJK_DECIMAL=4]="CJK_DECIMAL",e[e.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",e[e.LOWER_ROMAN=6]="LOWER_ROMAN",e[e.UPPER_ROMAN=7]="UPPER_ROMAN",e[e.LOWER_GREEK=8]="LOWER_GREEK",e[e.LOWER_ALPHA=9]="LOWER_ALPHA",e[e.UPPER_ALPHA=10]="UPPER_ALPHA",e[e.ARABIC_INDIC=11]="ARABIC_INDIC",e[e.ARMENIAN=12]="ARMENIAN",e[e.BENGALI=13]="BENGALI",e[e.CAMBODIAN=14]="CAMBODIAN",e[e.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",e[e.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",e[e.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",e[e.DEVANAGARI=18]="DEVANAGARI",e[e.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",e[e.GEORGIAN=20]="GEORGIAN",e[e.GUJARATI=21]="GUJARATI",e[e.GURMUKHI=22]="GURMUKHI",e[e.HEBREW=22]="HEBREW",e[e.HIRAGANA=23]="HIRAGANA",e[e.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",e[e.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",e[e.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",e[e.KANNADA=27]="KANNADA",e[e.KATAKANA=28]="KATAKANA",e[e.KATAKANA_IROHA=29]="KATAKANA_IROHA",e[e.KHMER=30]="KHMER",e[e.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",e[e.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",e[e.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",e[e.LAO=34]="LAO",e[e.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",e[e.MALAYALAM=36]="MALAYALAM",e[e.MONGOLIAN=37]="MONGOLIAN",e[e.MYANMAR=38]="MYANMAR",e[e.ORIYA=39]="ORIYA",e[e.PERSIAN=40]="PERSIAN",e[e.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",e[e.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",e[e.TAMIL=43]="TAMIL",e[e.TELUGU=44]="TELUGU",e[e.THAI=45]="THAI",e[e.TIBETAN=46]="TIBETAN",e[e.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",e[e.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",e[e.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",e[e.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",e[e.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(Un||(Un={}));var Pn,Sn={name:"list-style-type",initialValue:"none",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"disc":return Un.DISC;case"circle":return Un.CIRCLE;case"square":return Un.SQUARE;case"decimal":return Un.DECIMAL;case"cjk-decimal":return Un.CJK_DECIMAL;case"decimal-leading-zero":return Un.DECIMAL_LEADING_ZERO;case"lower-roman":return Un.LOWER_ROMAN;case"upper-roman":return Un.UPPER_ROMAN;case"lower-greek":return Un.LOWER_GREEK;case"lower-alpha":return Un.LOWER_ALPHA;case"upper-alpha":return Un.UPPER_ALPHA;case"arabic-indic":return Un.ARABIC_INDIC;case"armenian":return Un.ARMENIAN;case"bengali":return Un.BENGALI;case"cambodian":return Un.CAMBODIAN;case"cjk-earthly-branch":return Un.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return Un.CJK_HEAVENLY_STEM;case"cjk-ideographic":return Un.CJK_IDEOGRAPHIC;case"devanagari":return Un.DEVANAGARI;case"ethiopic-numeric":return Un.ETHIOPIC_NUMERIC;case"georgian":return Un.GEORGIAN;case"gujarati":return Un.GUJARATI;case"gurmukhi":return Un.GURMUKHI;case"hebrew":return Un.HEBREW;case"hiragana":return Un.HIRAGANA;case"hiragana-iroha":return Un.HIRAGANA_IROHA;case"japanese-formal":return Un.JAPANESE_FORMAL;case"japanese-informal":return Un.JAPANESE_INFORMAL;case"kannada":return Un.KANNADA;case"katakana":return Un.KATAKANA;case"katakana-iroha":return Un.KATAKANA_IROHA;case"khmer":return Un.KHMER;case"korean-hangul-formal":return Un.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return Un.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return Un.KOREAN_HANJA_INFORMAL;case"lao":return Un.LAO;case"lower-armenian":return Un.LOWER_ARMENIAN;case"malayalam":return Un.MALAYALAM;case"mongolian":return Un.MONGOLIAN;case"myanmar":return Un.MYANMAR;case"oriya":return Un.ORIYA;case"persian":return Un.PERSIAN;case"simp-chinese-formal":return Un.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return Un.SIMP_CHINESE_INFORMAL;case"tamil":return Un.TAMIL;case"telugu":return Un.TELUGU;case"thai":return Un.THAI;case"tibetan":return Un.TIBETAN;case"trad-chinese-formal":return Un.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return Un.TRAD_CHINESE_INFORMAL;case"upper-armenian":return Un.UPPER_ARMENIAN;case"disclosure-open":return Un.DISCLOSURE_OPEN;case"disclosure-closed":return Un.DISCLOSURE_CLOSED;case"none":default:return Un.NONE}}},Qn=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:At.TOKEN_VALUE}},Fn=Qn("top"),Ln=Qn("right"),Rn=Qn("bottom"),Nn=Qn("left");!function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.SCROLL=2]="SCROLL",e[e.AUTO=3]="AUTO"}(Pn||(Pn={}));var Hn,Kn={name:"overflow",initialValue:"visible",prefix:!1,type:At.LIST,parse:function(e){return e.filter(Re).map(function(e){switch(e.value){case"hidden":return Pn.HIDDEN;case"scroll":return Pn.SCROLL;case"auto":return Pn.AUTO;case"visible":default:return Pn.VISIBLE}})}};!function(e){e.NORMAL="normal",e.BREAK_WORD="break-word"}(Hn||(Hn={}));var Zn,Vn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"break-word":return Hn.BREAK_WORD;case"normal":default:return Hn.NORMAL}}},Wn=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:At.TYPE_VALUE,format:"length-percentage"}},qn=Wn("top"),zn=Wn("right"),Jn=Wn("bottom"),Gn=Wn("left");!function(e){e[e.LEFT=0]="LEFT",e[e.CENTER=1]="CENTER",e[e.RIGHT=2]="RIGHT"}(Zn||(Zn={}));var Yn,jn={name:"text-align",initialValue:"left",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"right":return Zn.RIGHT;case"center":case"justify":return Zn.CENTER;case"left":default:return Zn.LEFT}}};!function(e){e[e.STATIC=0]="STATIC",e[e.RELATIVE=1]="RELATIVE",e[e.ABSOLUTE=2]="ABSOLUTE",e[e.FIXED=3]="FIXED",e[e.STICKY=4]="STICKY"}(Yn||(Yn={}));var Xn,$n={name:"position",initialValue:"static",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"relative":return Yn.RELATIVE;case"absolute":return Yn.ABSOLUTE;case"fixed":return Yn.FIXED;case"sticky":return Yn.STICKY}return Yn.STATIC}},er={name:"text-shadow",initialValue:"none",type:At.LIST,prefix:!1,parse:function(e){return 1===e.length&&He(e[0],"none")?[]:Ve(e).map(function(e){for(var t={color:pt.TRANSPARENT,offsetX:Ge,offsetY:Ge,blur:Ge},n=0,r=0;r<e.length;r++){var i=e[r];qe(i)?(0===n?t.offsetX=i:1===n?t.offsetY=i:t.blur=i,n++):t.color=it(i)}return t})}};!function(e){e[e.NONE=0]="NONE",e[e.LOWERCASE=1]="LOWERCASE",e[e.UPPERCASE=2]="UPPERCASE",e[e.CAPITALIZE=3]="CAPITALIZE"}(Xn||(Xn={}));var tr,nr={name:"text-transform",initialValue:"none",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"uppercase":return Xn.UPPERCASE;case"lowercase":return Xn.LOWERCASE;case"capitalize":return Xn.CAPITALIZE}return Xn.NONE}},rr={name:"transform",initialValue:"none",prefix:!0,type:At.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN&&"none"===e.value)return null;if(e.type===h.FUNCTION){var t=ir[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},ir={matrix:function(e){var t=e.filter(function(e){return e.type===h.NUMBER_TOKEN}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return e.type===h.NUMBER_TOKEN}).map(function(e){return e.number});return 16===t.length?[t[0],t[1],t[4],t[5],t[12],t[13]]:null}},or={type:h.PERCENTAGE_TOKEN,number:50,flags:4},ar=[or,or],sr={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:At.LIST,parse:function(e){var t=e.filter(ze);return 2!==t.length?ar:[t[0],t[1]]}};!function(e){e[e.VISIBLE=0]="VISIBLE",e[e.HIDDEN=1]="HIDDEN",e[e.COLLAPSE=2]="COLLAPSE"}(tr||(tr={}));var lr,ur={name:"visible",initialValue:"none",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"hidden":return tr.HIDDEN;case"collapse":return tr.COLLAPSE;case"visible":default:return tr.VISIBLE}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(lr||(lr={}));var cr,Ar={name:"word-break",initialValue:"normal",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"break-all":return lr.BREAK_ALL;case"keep-all":return lr.KEEP_ALL;case"normal":default:return lr.NORMAL}}},hr={name:"z-index",initialValue:"auto",prefix:!1,type:At.VALUE,parse:function(e){if(e.type===h.IDENT_TOKEN)return{auto:!0,order:0};if(Le(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},dr={name:"opacity",initialValue:"1",type:At.VALUE,prefix:!1,parse:function(e){return Le(e)?e.number:1}},fr={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:At.TYPE_VALUE,format:"color"},pr={name:"text-decoration-line",initialValue:"none",prefix:!1,type:At.LIST,parse:function(e){return e.filter(Re).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return 0!==e})}},_r={name:"font-family",initialValue:"",prefix:!1,type:At.LIST,parse:function(e){var t=[],n=[];return e.forEach(function(e){switch(e.type){case h.IDENT_TOKEN:case h.STRING_TOKEN:t.push(e.value);break;case h.NUMBER_TOKEN:t.push(e.number.toString());break;case h.COMMA_TOKEN:n.push(t.join(" ")),t.length=0}}),t.length&&n.push(t.join(" ")),n.map(function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"})}},gr={name:"font-size",initialValue:"0",prefix:!1,type:At.TYPE_VALUE,format:"length"},vr={name:"font-weight",initialValue:"normal",type:At.VALUE,prefix:!1,parse:function(e){if(Le(e))return e.number;if(Re(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},mr={name:"font-variant",initialValue:"none",type:At.LIST,prefix:!1,parse:function(e){return e.filter(Re).map(function(e){return e.value})}};!function(e){e.NORMAL="normal",e.ITALIC="italic",e.OBLIQUE="oblique"}(cr||(cr={}));var yr,Er={name:"font-style",initialValue:"normal",prefix:!1,type:At.IDENT_VALUE,parse:function(e){switch(e){case"oblique":return cr.OBLIQUE;case"italic":return cr.ITALIC;case"normal":default:return cr.NORMAL}}},Cr=function(e,t){return 0!=(e&t)},wr={name:"content",initialValue:"none",type:At.LIST,prefix:!1,parse:function(e){if(0===e.length)return[];var t=e[0];return t.type===h.IDENT_TOKEN&&"none"===t.value?[]:e}},Br={name:"counter-increment",initialValue:"none",prefix:!0,type:At.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;for(var n=[],r=e.filter(Ke),i=0;i<r.length;i++){var o=r[i],a=r[i+1];if(o.type===h.IDENT_TOKEN){var s=a&&Le(a)?a.number:1;n.push({counter:o.value,increment:s})}}return n}},br={name:"counter-reset",initialValue:"none",prefix:!0,type:At.LIST,parse:function(e){if(0===e.length)return[];for(var t=[],n=e.filter(Ke),r=0;r<n.length;r++){var i=n[r],o=n[r+1];if(Re(i)&&"none"!==i.value){var a=o&&Le(o)?o.number:0;t.push({counter:i.value,reset:a})}}return t}},Tr={name:"quotes",initialValue:"none",prefix:!0,type:At.LIST,parse:function(e){if(0===e.length)return null;var t=e[0];if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;var n=[],r=e.filter(Ne);if(r.length%2!=0)return null;for(var i=0;i<r.length;i+=2)n.push({open:r[i].value,close:r[i+1].value});return n}},kr=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},Or={name:"box-shadow",initialValue:"none",type:At.LIST,prefix:!1,parse:function(e){return 1===e.length&&He(e[0],"none")?[]:Ve(e).map(function(e){for(var t={color:255,offsetX:Ge,offsetY:Ge,blur:Ge,spread:Ge,inset:!1},n=0,r=0;r<e.length;r++){var i=e[r];He(i,"inset")?t.inset=!0:qe(i)?(0===n?t.offsetX=i:1===n?t.offsetY=i:2===n?t.blur=i:t.spread=i,n++):t.color=it(i)}return t})}},Mr=function(){function e(e){this.backgroundClip=Ur(mt,e.backgroundClip),this.backgroundColor=Ur(yt,e.backgroundColor),this.backgroundImage=Ur(Wt,e.backgroundImage),this.backgroundOrigin=Ur(qt,e.backgroundOrigin),this.backgroundPosition=Ur(zt,e.backgroundPosition),this.backgroundRepeat=Ur(Gt,e.backgroundRepeat),this.backgroundSize=Ur(Xt,e.backgroundSize),this.borderTopColor=Ur(tn,e.borderTopColor),this.borderRightColor=Ur(nn,e.borderRightColor),this.borderBottomColor=Ur(rn,e.borderBottomColor),this.borderLeftColor=Ur(on,e.borderLeftColor),this.borderTopLeftRadius=Ur(sn,e.borderTopLeftRadius),this.borderTopRightRadius=Ur(ln,e.borderTopRightRadius),this.borderBottomRightRadius=Ur(un,e.borderBottomRightRadius),this.borderBottomLeftRadius=Ur(cn,e.borderBottomLeftRadius),this.borderTopStyle=Ur(dn,e.borderTopStyle),this.borderRightStyle=Ur(fn,e.borderRightStyle),this.borderBottomStyle=Ur(pn,e.borderBottomStyle),this.borderLeftStyle=Ur(_n,e.borderLeftStyle),this.borderTopWidth=Ur(vn,e.borderTopWidth),this.borderRightWidth=Ur(mn,e.borderRightWidth),this.borderBottomWidth=Ur(yn,e.borderBottomWidth),this.borderLeftWidth=Ur(En,e.borderLeftWidth),this.boxShadow=Ur(Or,e.boxShadow),this.color=Ur(Cn,e.color),this.display=Ur(wn,e.display),this.float=Ur(Tn,e.cssFloat),this.fontFamily=Ur(_r,e.fontFamily),this.fontSize=Ur(gr,e.fontSize),this.fontStyle=Ur(Er,e.fontStyle),this.fontVariant=Ur(mr,e.fontVariant),this.fontWeight=Ur(vr,e.fontWeight),this.letterSpacing=Ur(kn,e.letterSpacing),this.lineBreak=Ur(Mn,e.lineBreak),this.lineHeight=Ur(Dn,e.lineHeight),this.listStyleImage=Ur(In,e.listStyleImage),this.listStylePosition=Ur(xn,e.listStylePosition),this.listStyleType=Ur(Sn,e.listStyleType),this.marginTop=Ur(Fn,e.marginTop),this.marginRight=Ur(Ln,e.marginRight),this.marginBottom=Ur(Rn,e.marginBottom),this.marginLeft=Ur(Nn,e.marginLeft),this.opacity=Ur(dr,e.opacity);var t=Ur(Kn,e.overflow);this.overflowX=t[0],this.overflowY=t[t.length>1?1:0],this.overflowWrap=Ur(Vn,e.overflowWrap),this.paddingTop=Ur(qn,e.paddingTop),this.paddingRight=Ur(zn,e.paddingRight),this.paddingBottom=Ur(Jn,e.paddingBottom),this.paddingLeft=Ur(Gn,e.paddingLeft),this.position=Ur($n,e.position),this.textAlign=Ur(jn,e.textAlign),this.textDecorationColor=Ur(fr,e.textDecorationColor||e.color),this.textDecorationLine=Ur(pr,e.textDecorationLine),this.textShadow=Ur(er,e.textShadow),this.textTransform=Ur(nr,e.textTransform),this.transform=Ur(rr,e.transform),this.transformOrigin=Ur(sr,e.transformOrigin),this.visibility=Ur(ur,e.visibility),this.wordBreak=Ur(Ar,e.wordBreak),this.zIndex=Ur(hr,e.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===tr.VISIBLE},e.prototype.isTransparent=function(){return ot(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return this.position!==Yn.STATIC},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==An.NONE},e.prototype.isInlineLevel=function(){return Cr(this.display,4)||Cr(this.display,33554432)||Cr(this.display,268435456)||Cr(this.display,536870912)||Cr(this.display,67108864)||Cr(this.display,134217728)},e}(),Dr=function(e){this.content=Ur(wr,e.content),this.quotes=Ur(Tr,e.quotes)},Ir=function(e){this.counterIncrement=Ur(Br,e.counterIncrement),this.counterReset=Ur(br,e.counterReset)},Ur=function(e,t){var n=new Se,r=null!=t?t.toString():e.initialValue;n.write(r);var i=new Qe(n.read());switch(e.type){case At.IDENT_VALUE:var o=i.parseComponentValue();return e.parse(Re(o)?o.value:e.initialValue);case At.VALUE:return e.parse(i.parseComponentValue());case At.LIST:return e.parse(i.parseComponentValues());case At.TOKEN_VALUE:return i.parseComponentValue();case At.TYPE_VALUE:switch(e.format){case"angle":return et(i.parseComponentValue());case"color":return it(i.parseComponentValue());case"image":return Zt(i.parseComponentValue());case"length":var a=i.parseComponentValue();return qe(a)?a:Ge;case"length-percentage":var s=i.parseComponentValue();return ze(s)?s:Ge}}throw new Error("Attempting to parse unsupported css format type "+e.format)},xr=function(e){this.styles=new Mr(window.getComputedStyle(e,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&oi(e)&&(e.style.transform="none"),this.bounds=a(e),this.flags=0},Pr=function(e,t){this.text=e,this.bounds=t},Sr=function(e,t){this.text=Qr(e.data,t.textTransform),this.textBounds=function(e,t,n){var r=function(e,t){return 0!==t.letterSpacing?s(e).map(function(e){return l(e)}):function(e,t){for(var n,r=function(e,t){var n=s(e),r=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach(function(e,o){var a=q.get(e);if(a>50?(i.push(!0),a-=50):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===a||11===a){if(0===o)return r.push(o),n.push(Q);var s=n[o-1];return-1===j.indexOf(s)?(r.push(r[o-1]),n.push(s)):(r.push(o),n.push(Q))}return r.push(o),31===a?n.push("strict"===t?M:H):a===W||29===a?n.push(Q):43===a?n.push(e>=131072&&e<=196605||e>=196608&&e<=262141?H:Q):void n.push(a)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];return"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map(function(e){return-1!==[U,Q,W].indexOf(e)?H:e})),[r,i,"keep-all"===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0]}(n,t),i=r[0],o=r[1],a=r[2],l=n.length,u=0,c=0;return{next:function(){if(c>=l)return{done:!0,value:null};for(var e="\xd7";c<l&&"\xd7"===(e=ne(n,o,i,++c,a)););if("\xd7"!==e||c===l){var t=new re(n,e,u,c);return u=c,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===Hn.BREAK_WORD?"break-word":t.wordBreak}),i=[];!(n=r.next()).done;)n.value&&i.push(n.value.slice());return i}(e,t)}(e,t),i=[],u=0;return r.forEach(function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Mt.SUPPORT_RANGE_BOUNDS)i.push(new Pr(e,function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),o.fromClientRect(i.getBoundingClientRect())}(n,u,e.length)));else{var r=n.splitText(e.length);i.push(new Pr(e,function(e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var i=a(n);return n.firstChild&&r.replaceChild(n.firstChild,n),i}}return new o(0,0,0,0)}(n))),n=r}else Mt.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));u+=e.length}),i}(this.text,t,e)},Qr=function(e,t){switch(t){case Xn.LOWERCASE:return e.toLowerCase();case Xn.CAPITALIZE:return e.replace(Fr,Lr);case Xn.UPPERCASE:return e.toUpperCase();default:return e}},Fr=/(^|\s|:|-|\(|\))([a-z])/g,Lr=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Rr=function(e){function n(t){var n=e.call(this,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,It.getInstance().addImage(n.src),n}return t(n,e),n}(xr),Nr=function(e){function n(t){var n=e.call(this,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return t(n,e),n}(xr),Hr=function(e){function n(t){var n=e.call(this,t)||this,r=new XMLSerializer;return n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,It.getInstance().addImage(n.svg),n}return t(n,e),n}(xr),Kr=function(e){function n(t){var n=e.call(this,t)||this;return n.value=t.value,n}return t(n,e),n}(xr),Zr=function(e){function n(t){var n=e.call(this,t)||this;return n.start=t.start,n.reversed="boolean"==typeof t.reversed&&!0===t.reversed,n}return t(n,e),n}(xr),Vr=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Wr=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],qr=function(e){function n(t){var n,r,i,a=e.call(this,t)||this;switch(a.type=t.type.toLowerCase(),a.checked=t.checked,a.value=0===(i="password"===(r=t).type?new Array(r.value.length+1).join("\u2022"):r.value).length?r.placeholder||"":i,"checkbox"!==a.type&&"radio"!==a.type||(a.styles.backgroundColor=3739148031,a.styles.borderTopColor=a.styles.borderRightColor=a.styles.borderBottomColor=a.styles.borderLeftColor=2779096575,a.styles.borderTopWidth=a.styles.borderRightWidth=a.styles.borderBottomWidth=a.styles.borderLeftWidth=1,a.styles.borderTopStyle=a.styles.borderRightStyle=a.styles.borderBottomStyle=a.styles.borderLeftStyle=jt.SOLID,a.styles.backgroundClip=[ht.BORDER_BOX],a.styles.backgroundOrigin=[0],a.bounds=(n=a.bounds).width>n.height?new o(n.left+(n.width-n.height)/2,n.top,n.height,n.height):n.width<n.height?new o(n.left,n.top+(n.height-n.width)/2,n.width,n.width):n),a.type){case"checkbox":a.styles.borderTopRightRadius=a.styles.borderTopLeftRadius=a.styles.borderBottomRightRadius=a.styles.borderBottomLeftRadius=Vr;break;case"radio":a.styles.borderTopRightRadius=a.styles.borderTopLeftRadius=a.styles.borderBottomRightRadius=a.styles.borderBottomLeftRadius=Wr}return a}return t(n,e),n}(xr),zr=function(e){function n(t){var n=e.call(this,t)||this,r=t.options[t.selectedIndex||0];return n.value=r&&r.text||"",n}return t(n,e),n}(xr),Jr=function(e){function n(t){var n=e.call(this,t)||this;return n.value=t.value,n}return t(n,e),n}(xr),Gr=function(e){return it(Qe.create(e).parseComponentValue())},Yr=function(e){function n(t){var n=e.call(this,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=ei(t.contentWindow.document.documentElement);var r=t.contentWindow.document.documentElement?Gr(getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):pt.TRANSPARENT,i=t.contentWindow.document.body?Gr(getComputedStyle(t.contentWindow.document.body).backgroundColor):pt.TRANSPARENT;n.backgroundColor=ot(r)?ot(i)?n.styles.backgroundColor:i:r}}catch(o){}return n}return t(n,e),n}(xr),jr=["OL","UL","MENU"],Xr=function e(t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,ri(i)&&i.data.trim().length>0)n.textNodes.push(new Sr(i,n.styles));else if(ii(i)){var a=$r(i);a.styles.isVisible()&&(ti(i,a,r)?a.flags|=4:ni(a.styles)&&(a.flags|=2),-1!==jr.indexOf(i.tagName)&&(a.flags|=8),n.elements.push(a),gi(i)||ci(i)||vi(i)||e(i,a,r))}},$r=function(e){return di(e)?new Rr(e):hi(e)?new Nr(e):ci(e)?new Hr(e):si(e)?new Kr(e):li(e)?new Zr(e):ui(e)?new qr(e):vi(e)?new zr(e):gi(e)?new Jr(e):fi(e)?new Yr(e):new xr(e)},ei=function(e){var t=$r(e);return t.flags|=4,Xr(e,t,t),t},ti=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Ai(e)&&n.styles.isTransparent()},ni=function(e){return e.isPositioned()||e.isFloating()},ri=function(e){return e.nodeType===Node.TEXT_NODE},ii=function(e){return e.nodeType===Node.ELEMENT_NODE},oi=function(e){return ii(e)&&void 0!==e.style&&!ai(e)},ai=function(e){return"object"==typeof e.className},si=function(e){return"LI"===e.tagName},li=function(e){return"OL"===e.tagName},ui=function(e){return"INPUT"===e.tagName},ci=function(e){return"svg"===e.tagName},Ai=function(e){return"BODY"===e.tagName},hi=function(e){return"CANVAS"===e.tagName},di=function(e){return"IMG"===e.tagName},fi=function(e){return"IFRAME"===e.tagName},pi=function(e){return"STYLE"===e.tagName},_i=function(e){return"SCRIPT"===e.tagName},gi=function(e){return"TEXTAREA"===e.tagName},vi=function(e){return"SELECT"===e.tagName},mi=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){return this.counters[e]||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),yi={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ei={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Ci={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},wi={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Bi=function(e,t,n,r,i,o){return e<t||e>n?Mi(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},"")+o},bi=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},Ti=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(bi(Math.abs(e),o,r,function(e){return l(Math.floor(e%o)+t)})+i)},ki=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return bi(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},Oi=function(e,t,n,r,i,o){if(e<-9999||e>9999)return Mi(e,Un.CJK_DECIMAL,i.length>0);var a=Math.abs(e),s=i;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var u=a%10;0===u&&Cr(o,1)&&""!==s?s=t[u]+s:u>1||1===u&&0===l||1===u&&1===l&&Cr(o,2)||1===u&&1===l&&Cr(o,4)&&e>100||1===u&&l>1&&Cr(o,8)?s=t[u]+(l>0?n[l-1]:"")+s:1===u&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},Mi=function(e,t,n){var r=n?". ":"",i=n?"\u3001":"",o=n?", ":"",a=n?" ":"";switch(t){case Un.DISC:return"\u2022"+a;case Un.CIRCLE:return"\u25e6"+a;case Un.SQUARE:return"\u25fe"+a;case Un.DECIMAL_LEADING_ZERO:var s=Ti(e,48,57,!0,r);return s.length<4?"0"+s:s;case Un.CJK_DECIMAL:return ki(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",i);case Un.LOWER_ROMAN:return Bi(e,1,3999,yi,Un.DECIMAL,r).toLowerCase();case Un.UPPER_ROMAN:return Bi(e,1,3999,yi,Un.DECIMAL,r);case Un.LOWER_GREEK:return Ti(e,945,969,!1,r);case Un.LOWER_ALPHA:return Ti(e,97,122,!1,r);case Un.UPPER_ALPHA:return Ti(e,65,90,!1,r);case Un.ARABIC_INDIC:return Ti(e,1632,1641,!0,r);case Un.ARMENIAN:case Un.UPPER_ARMENIAN:return Bi(e,1,9999,Ei,Un.DECIMAL,r);case Un.LOWER_ARMENIAN:return Bi(e,1,9999,Ei,Un.DECIMAL,r).toLowerCase();case Un.BENGALI:return Ti(e,2534,2543,!0,r);case Un.CAMBODIAN:case Un.KHMER:return Ti(e,6112,6121,!0,r);case Un.CJK_EARTHLY_BRANCH:return ki(e,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",i);case Un.CJK_HEAVENLY_STEM:return ki(e,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",i);case Un.CJK_IDEOGRAPHIC:case Un.TRAD_CHINESE_INFORMAL:return Oi(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",i,14);case Un.TRAD_CHINESE_FORMAL:return Oi(e,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",i,15);case Un.SIMP_CHINESE_INFORMAL:return Oi(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",i,14);case Un.SIMP_CHINESE_FORMAL:return Oi(e,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",i,15);case Un.JAPANESE_INFORMAL:return Oi(e,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",i,0);case Un.JAPANESE_FORMAL:return Oi(e,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",i,7);case Un.KOREAN_HANGUL_FORMAL:return Oi(e,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",o,7);case Un.KOREAN_HANJA_INFORMAL:return Oi(e,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",o,0);case Un.KOREAN_HANJA_FORMAL:return Oi(e,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",o,7);case Un.DEVANAGARI:return Ti(e,2406,2415,!0,r);case Un.GEORGIAN:return Bi(e,1,19999,wi,Un.DECIMAL,r);case Un.GUJARATI:return Ti(e,2790,2799,!0,r);case Un.GURMUKHI:return Ti(e,2662,2671,!0,r);case Un.HEBREW:return Bi(e,1,10999,Ci,Un.DECIMAL,r);case Un.HIRAGANA:return ki(e,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case Un.HIRAGANA_IROHA:return ki(e,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case Un.KANNADA:return Ti(e,3302,3311,!0,r);case Un.KATAKANA:return ki(e,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",i);case Un.KATAKANA_IROHA:return ki(e,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",i);case Un.LAO:return Ti(e,3792,3801,!0,r);case Un.MONGOLIAN:return Ti(e,6160,6169,!0,r);case Un.MYANMAR:return Ti(e,4160,4169,!0,r);case Un.ORIYA:return Ti(e,2918,2927,!0,r);case Un.PERSIAN:return Ti(e,1776,1785,!0,r);case Un.TAMIL:return Ti(e,3046,3055,!0,r);case Un.TELUGU:return Ti(e,3174,3183,!0,r);case Un.THAI:return Ti(e,3664,3673,!0,r);case Un.TIBETAN:return Ti(e,3872,3881,!0,r);case Un.DECIMAL:default:return Ti(e,48,57,!0,r)}},Di=function(){function e(e,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new mi,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement)}return e.prototype.toIFrame=function(e,t){var n=this,o=Ui(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=o.contentWindow,u=l.document,c=xi(o).then(function(){return r(n,void 0,void 0,function(){var e;return i(this,function(n){switch(n.label){case 0:return this.scrolledElements.forEach(Fi),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(u.documentElement.style.top=-t.top+"px",u.documentElement.style.left=-t.left+"px",u.documentElement.style.position="absolute")),e=this.options.onclone,void 0===this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:u.fonts&&u.fonts.ready?[4,u.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return"function"==typeof e?[2,Promise.resolve().then(function(){return e(u)}).then(function(){return o})]:[2,o]}})})});return u.open(),u.write(Si(document.doctype)+"<html></html>"),Qi(this.referenceElement.ownerDocument,a,s),u.replaceChild(u.adoptNode(this.documentElement),u.documentElement),u.close(),c},e.prototype.createElementClone=function(e){if(hi(e))return this.createCanvasClone(e);if(pi(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return di(t)&&"lazy"===t.loading&&(t.loading="eager"),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e},""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(i){if(Dt.getInstance(this.options.id).error("Unable to access cssRules property",i),"SecurityError"!==i.name)throw i}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){if(this.options.inlineImages&&e.ownerDocument){var t=e.ownerDocument.createElement("img");try{return t.src=e.toDataURL(),t}catch(o){Dt.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var r=e.getContext("2d"),i=n.getContext("2d");return i&&(r?i.putImageData(r.getImageData(0,0,e.width,e.height),0,0):i.drawImage(e,0,0)),n}catch(o){}return n},e.prototype.cloneNode=function(e){if(ri(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var t=e.ownerDocument.defaultView;if(t&&ii(e)&&(oi(e)||ai(e))){var n=this.createElementClone(e),r=t.getComputedStyle(e),i=t.getComputedStyle(e,":before"),o=t.getComputedStyle(e,":after");this.referenceElement===e&&oi(n)&&(this.clonedReferenceElement=n),Ai(n)&&Ni(n);for(var a=this.counters.parse(new Ir(r)),s=this.resolvePseudoContent(e,n,i,yr.BEFORE),l=e.firstChild;l;l=l.nextSibling)ii(l)&&(_i(l)||l.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(l))||this.options.copyStyles&&ii(l)&&pi(l)||n.appendChild(this.cloneNode(l));s&&n.insertBefore(s,n.firstChild);var u=this.resolvePseudoContent(e,n,o,yr.AFTER);return u&&n.appendChild(u),this.counters.pop(a),r&&(this.options.copyStyles||ai(e))&&!fi(e)&&Pi(r,n),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(gi(e)||vi(e))&&(gi(n)||vi(n))&&(n.value=e.value),n}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new Ir(n));var s=new Dr(n),l=a.createElement("html2canvaspseudoelement");Pi(n,l),s.content.forEach(function(t){if(t.type===h.STRING_TOKEN)l.appendChild(a.createTextNode(t.value));else if(t.type===h.URL_TOKEN){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(t.type===h.FUNCTION){if("attr"===t.name){var r=t.values.filter(Re);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Ze),u=o[1];if((d=o[0])&&Re(d)){var c=i.counters.getCounterValue(d.value),A=u&&Re(u)?Sn.parse(u.value):Un.DECIMAL;l.appendChild(a.createTextNode(Mi(c,A,!1)))}}else if("counters"===t.name){var d,f=t.values.filter(Ze),p=f[1];if(u=f[2],(d=f[0])&&Re(d)){var _=i.counters.getCounterValues(d.value),g=u&&Re(u)?Sn.parse(u.value):Un.DECIMAL,v=p&&p.type===h.STRING_TOKEN?p.value:"",m=_.map(function(e){return Mi(e,g,!1)}).join(v);l.appendChild(a.createTextNode(m))}}}else if(t.type===h.IDENT_TOKEN)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(kr(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(kr(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}}),l.className=Li+" "+Ri;var u=r===yr.BEFORE?" "+Li:" "+Ri;return ai(t)?t.className.baseValue+=u:t.className+=u,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(yr||(yr={}));var Ii,Ui=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute("data-html2canvas-ignore","true"),e.body.appendChild(n),n},xi=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=i.onreadystatechange=function(){r.onload=e.onload=i.onreadystatechange=null;var n=setInterval(function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))},50)}})},Pi=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);"content"!==r&&t.style.setProperty(r,e.getPropertyValue(r))}return t},Si=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},Qi=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},Fi=function(e){var t=e[0],n=e[2];t.scrollLeft=e[1],t.scrollTop=n},Li="___html2canvas___pseudoelement_before",Ri="___html2canvas___pseudoelement_after",Ni=function(e){Hi(e,"."+Li+':before{\n content: "" !important;\n display: none !important;\n}\n .'+Ri+':after{\n content: "" !important;\n display: none !important;\n}')},Hi=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}};!function(e){e[e.VECTOR=0]="VECTOR",e[e.BEZIER_CURVE=1]="BEZIER_CURVE"}(Ii||(Ii={}));var Ki,Zi=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},Vi=function(){function e(e,t){this.type=Ii.VECTOR,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Wi=function(e,t,n){return new Vi(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},qi=function(){function e(e,t,n,r){this.type=Ii.BEZIER_CURVE,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Wi(this.start,this.startControl,t),i=Wi(this.startControl,this.endControl,t),o=Wi(this.endControl,this.end,t),a=Wi(r,i,t),s=Wi(i,o,t),l=Wi(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),zi=function(e){return e.type===Ii.BEZIER_CURVE},Ji=function(e){var t=e.styles,n=e.bounds,r=Xe(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],a=Xe(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],u=Xe(t.borderBottomRightRadius,n.width,n.height),c=u[0],A=u[1],h=Xe(t.borderBottomLeftRadius,n.width,n.height),d=h[0],f=h[1],p=[];p.push((i+s)/n.width),p.push((d+c)/n.width),p.push((o+f)/n.height),p.push((l+A)/n.height);var _=Math.max.apply(Math,p);_>1&&(i/=_,o/=_,s/=_,l/=_,c/=_,A/=_,d/=_,f/=_);var g=n.width-s,v=n.height-A,m=n.width-c,y=n.height-f,E=t.borderTopWidth,C=t.borderRightWidth,w=t.borderBottomWidth,B=t.borderLeftWidth,b=$e(t.paddingTop,e.bounds.width),T=$e(t.paddingRight,e.bounds.width),k=$e(t.paddingBottom,e.bounds.width),O=$e(t.paddingLeft,e.bounds.width);this.topLeftBorderBox=i>0||o>0?Gi(n.left,n.top,i,o,Ki.TOP_LEFT):new Vi(n.left,n.top),this.topRightBorderBox=s>0||l>0?Gi(n.left+g,n.top,s,l,Ki.TOP_RIGHT):new Vi(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||A>0?Gi(n.left+m,n.top+v,c,A,Ki.BOTTOM_RIGHT):new Vi(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=d>0||f>0?Gi(n.left,n.top+y,d,f,Ki.BOTTOM_LEFT):new Vi(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?Gi(n.left+B,n.top+E,Math.max(0,i-B),Math.max(0,o-E),Ki.TOP_LEFT):new Vi(n.left+B,n.top+E),this.topRightPaddingBox=s>0||l>0?Gi(n.left+Math.min(g,n.width+B),n.top+E,g>n.width+B?0:s-B,l-E,Ki.TOP_RIGHT):new Vi(n.left+n.width-C,n.top+E),this.bottomRightPaddingBox=c>0||A>0?Gi(n.left+Math.min(m,n.width-B),n.top+Math.min(v,n.height+E),Math.max(0,c-C),A-w,Ki.BOTTOM_RIGHT):new Vi(n.left+n.width-C,n.top+n.height-w),this.bottomLeftPaddingBox=d>0||f>0?Gi(n.left+B,n.top+y,Math.max(0,d-B),f-w,Ki.BOTTOM_LEFT):new Vi(n.left+B,n.top+n.height-w),this.topLeftContentBox=i>0||o>0?Gi(n.left+B+O,n.top+E+b,Math.max(0,i-(B+O)),Math.max(0,o-(E+b)),Ki.TOP_LEFT):new Vi(n.left+B+O,n.top+E+b),this.topRightContentBox=s>0||l>0?Gi(n.left+Math.min(g,n.width+B+O),n.top+E+b,g>n.width+B+O?0:s-B+O,l-(E+b),Ki.TOP_RIGHT):new Vi(n.left+n.width-(C+T),n.top+E+b),this.bottomRightContentBox=c>0||A>0?Gi(n.left+Math.min(m,n.width-(B+O)),n.top+Math.min(v,n.height+E+b),Math.max(0,c-(C+T)),A-(w+k),Ki.BOTTOM_RIGHT):new Vi(n.left+n.width-(C+T),n.top+n.height-(w+k)),this.bottomLeftContentBox=d>0||f>0?Gi(n.left+B+O,n.top+y,Math.max(0,d-(B+O)),f-(w+k),Ki.BOTTOM_LEFT):new Vi(n.left+B+O,n.top+n.height-(w+k))};!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Ki||(Ki={}));var Gi=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=r*o,l=e+n,u=t+r;switch(i){case Ki.TOP_LEFT:return new qi(new Vi(e,u),new Vi(e,u-s),new Vi(l-a,t),new Vi(l,t));case Ki.TOP_RIGHT:return new qi(new Vi(e,t),new Vi(e+a,t),new Vi(l,u-s),new Vi(l,u));case Ki.BOTTOM_RIGHT:return new qi(new Vi(l,t),new Vi(l,t+s),new Vi(e+a,u),new Vi(e,u));case Ki.BOTTOM_LEFT:default:return new qi(new Vi(l,u),new Vi(l-a,u),new Vi(e,t+s),new Vi(e,t))}},Yi=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},ji=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},Xi=function(e,t,n){this.type=0,this.offsetX=e,this.offsetY=t,this.matrix=n,this.target=6},$i=function(e,t){this.type=1,this.target=t,this.path=e},eo=function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},to=function(){function e(e,t){if(this.container=e,this.effects=t.slice(0),this.curves=new Ji(e),null!==e.styles.transform&&this.effects.push(new Xi(e.bounds.left+e.styles.transformOrigin[0].number,e.bounds.top+e.styles.transformOrigin[1].number,e.styles.transform)),e.styles.overflowX!==Pn.VISIBLE){var n=Yi(this.curves),r=ji(this.curves);Zi(n,r)?this.effects.push(new $i(n,6)):(this.effects.push(new $i(n,2)),this.effects.push(new $i(r,4)))}}return e.prototype.getParentEffects=function(){var e=this.effects.slice(0);if(this.container.styles.overflowX!==Pn.VISIBLE){var t=Yi(this.curves),n=ji(this.curves);Zi(t,n)||e.push(new $i(n,6))}return e},e}(),no=function e(t,n,r,i){t.container.elements.forEach(function(o){var a=Cr(o.flags,4),s=Cr(o.flags,2),l=new to(o,t.getParentEffects());Cr(o.styles.display,2048)&&i.push(l);var u=Cr(o.flags,8)?[]:i;if(a||s){var c=a||o.styles.isPositioned()?r:n,A=new eo(l);if(o.styles.isPositioned()||o.styles.opacity<1||o.styles.isTransformed()){var h=o.styles.zIndex.order;if(h<0){var d=0;c.negativeZIndex.some(function(e,t){return h>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),c.negativeZIndex.splice(d,0,A)}else if(h>0){var f=0;c.positiveZIndex.some(function(e,t){return h>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),c.positiveZIndex.splice(f,0,A)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(A)}else o.styles.isFloating()?c.nonPositionedFloats.push(A):c.nonPositionedInlineLevel.push(A);e(l,A,a?A:r,u)}else o.styles.isInlineLevel()?n.inlineLevel.push(l):n.nonInlineLevel.push(l),e(l,n,r,u);Cr(o.flags,8)&&ro(o,u)})},ro=function(e,t){for(var n=e instanceof Zr?e.start:1,r=e instanceof Zr&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof Kr&&"number"==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=Mi(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},io=function(e,t,n,r){var i=[];return zi(e)?i.push(e.subdivide(.5,!1)):i.push(e),zi(n)?i.push(n.subdivide(.5,!0)):i.push(n),zi(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),zi(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},oo=function(e){var t=e.styles;return e.bounds.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ao=function(e){var t=e.styles,n=e.bounds,r=$e(t.paddingLeft,n.width),i=$e(t.paddingRight,n.width),o=$e(t.paddingTop,n.width),a=$e(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},so=function(e,t,n){var r=function(e,t){return 0===e?t.bounds:2===e?ao(t):oo(t)}(Ao(e.styles.backgroundOrigin,t),e),i=function(e,t){return e===ht.BORDER_BOX?t.bounds:e===ht.CONTENT_BOX?ao(t):oo(t)}(Ao(e.styles.backgroundClip,t),e),o=co(Ao(e.styles.backgroundSize,t),n,r),a=o[0],s=o[1],l=Xe(Ao(e.styles.backgroundPosition,t),r.width-a,r.height-s);return[ho(Ao(e.styles.backgroundRepeat,t),l,o,r,i),Math.round(r.left+l[0]),Math.round(r.top+l[1]),a,s]},lo=function(e){return Re(e)&&e.value===Jt.AUTO},uo=function(e){return"number"==typeof e},co=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(ze(a)&&s&&ze(s))return[$e(a,n.width),$e(s,n.height)];var l=uo(o);if(Re(a)&&(a.value===Jt.CONTAIN||a.value===Jt.COVER))return uo(o)?n.width/n.height<o!=(a.value===Jt.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var u=uo(r),c=uo(i),A=u||c;if(lo(a)&&(!s||lo(s)))return u&&c?[r,i]:l||A?A&&l?[u?r:i*o,c?i:r/o]:[u?r:n.width,c?i:n.height]:[n.width,n.height];if(l){var h=0,d=0;return ze(a)?h=$e(a,n.width):ze(s)&&(d=$e(s,n.height)),lo(a)?h=d*o:s&&!lo(s)||(d=h/o),[h,d]}var f=null,p=null;if(ze(a)?f=$e(a,n.width):s&&ze(s)&&(p=$e(s,n.height)),null===f||s&&!lo(s)||(p=u&&c?f/r*i:n.height),null!==p&&lo(a)&&(f=u&&c?p/i*r:n.width),null!==f&&null!==p)return[f,p];throw new Error("Unable to calculate background-size for element")},Ao=function(e,t){var n=e[t];return void 0===n?e[0]:n},ho=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],l=n[1];switch(e){case Kt.REPEAT_X:return[new Vi(Math.round(r.left),Math.round(r.top+a)),new Vi(Math.round(r.left+r.width),Math.round(r.top+a)),new Vi(Math.round(r.left+r.width),Math.round(l+r.top+a)),new Vi(Math.round(r.left),Math.round(l+r.top+a))];case Kt.REPEAT_Y:return[new Vi(Math.round(r.left+o),Math.round(r.top)),new Vi(Math.round(r.left+o+s),Math.round(r.top)),new Vi(Math.round(r.left+o+s),Math.round(r.height+r.top)),new Vi(Math.round(r.left+o),Math.round(r.height+r.top))];case Kt.NO_REPEAT:return[new Vi(Math.round(r.left+o),Math.round(r.top+a)),new Vi(Math.round(r.left+o+s),Math.round(r.top+a)),new Vi(Math.round(r.left+o+s),Math.round(r.top+a+l)),new Vi(Math.round(r.left+o),Math.round(r.top+a+l))];default:return[new Vi(Math.round(i.left),Math.round(i.top)),new Vi(Math.round(i.left+i.width),Math.round(i.top)),new Vi(Math.round(i.left+i.width),Math.round(i.height+i.top)),new Vi(Math.round(i.left),Math.round(i.height+i.top))]}},fo=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",o.appendChild(n),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode("Hidden Text")),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode("Hidden Text")),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),po=function(){function e(e){this._activeEffects=[],this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,e.canvas||(this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px"),this.fontMetrics=new fo(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],Dt.getInstance(e.id).debug("Canvas renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.applyEffects=function(e,t){for(var n=this;this._activeEffects.length;)this.popEffect();e.filter(function(e){return Cr(e.target,t)}).forEach(function(e){return n.applyEffect(e)})},e.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),function(e){return 1===e.type}(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(e){return r(this,void 0,void 0,function(){var t;return i(this,function(n){switch(n.label){case 0:return(t=e.element.container.styles).isVisible()?(this.ctx.globalAlpha=t.opacity,[4,this.renderStackContent(e)]):[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(e){return r(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(e,t){var n=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height):s(e.text).map(function(e){return l(e)}).reduce(function(t,r){return n.ctx.fillText(r,t,e.bounds.top+e.bounds.height),t+n.ctx.measureText(r).width},e.bounds.left)},e.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return"normal"===e||"small-caps"===e}).join(""),n=e.fontFamily.join(", "),r=Fe(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},e.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,function(){var n,r,o,a=this;return i(this,function(i){return n=this.createFontStyle(t),r=n[1],o=n[2],this.ctx.font=n[0],e.textBounds.forEach(function(e){a.ctx.fillStyle=at(t.color),a.renderTextWithLetterSpacing(e,t.letterSpacing);var n=t.textShadow;n.length&&e.text.trim().length&&(n.slice(0).reverse().forEach(function(t){a.ctx.shadowColor=at(t.color),a.ctx.shadowOffsetX=t.offsetX.number*a.options.scale,a.ctx.shadowOffsetY=t.offsetY.number*a.options.scale,a.ctx.shadowBlur=t.blur.number,a.ctx.fillText(e.text,e.bounds.left,e.bounds.top+e.bounds.height)}),a.ctx.shadowColor="",a.ctx.shadowOffsetX=0,a.ctx.shadowOffsetY=0,a.ctx.shadowBlur=0),t.textDecorationLine.length&&(a.ctx.fillStyle=at(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:var n=a.fontMetrics.getMetrics(r,o).baseline;a.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+n),e.bounds.width,1);break;case 2:a.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:var i=a.fontMetrics.getMetrics(r,o).middle;a.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+i),e.bounds.width,1)}}))}),[2]})})},e.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=ao(e),i=ji(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return r(this,void 0,void 0,function(){var n,r,a,s,l,u,c,A,d,f,p,_,g;return i(this,function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),r=t.curves,a=(n=t.container).styles,s=0,l=n.textNodes,i.label=1;case 1:return s<l.length?[4,this.renderTextNode(l[s],a)]:[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof Rr))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.options.cache.match(n.src)];case 6:return p=i.sent(),this.renderReplacedElement(n,r,p),[3,8];case 7:return i.sent(),Dt.getInstance(this.options.id).error("Error loading image "+n.src),[3,8];case 8:if(n instanceof Nr&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof Hr))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.options.cache.match(n.svg)];case 10:return p=i.sent(),this.renderReplacedElement(n,r,p),[3,12];case 11:return i.sent(),Dt.getInstance(this.options.id).error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof Yr&&n.tree?[4,new e({id:this.options.id,scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:n.width,height:n.height,cache:this.options.cache,windowWidth:n.width,windowHeight:n.height}).render(n.tree)]:[3,14];case 13:u=i.sent(),n.width&&n.height&&this.ctx.drawImage(u,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),i.label=14;case 14:if(n instanceof qr&&(c=Math.min(n.bounds.width,n.bounds.height),"checkbox"===n.type?n.checked&&(this.ctx.save(),this.path([new Vi(n.bounds.left+.39363*c,n.bounds.top+.79*c),new Vi(n.bounds.left+.16*c,n.bounds.top+.5549*c),new Vi(n.bounds.left+.27347*c,n.bounds.top+.44071*c),new Vi(n.bounds.left+.39694*c,n.bounds.top+.5649*c),new Vi(n.bounds.left+.72983*c,n.bounds.top+.23*c),new Vi(n.bounds.left+.84*c,n.bounds.top+.34085*c),new Vi(n.bounds.left+.39363*c,n.bounds.top+.79*c)]),this.ctx.fillStyle=at(707406591),this.ctx.fill(),this.ctx.restore()):"radio"===n.type&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+c/2,n.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=at(707406591),this.ctx.fill(),this.ctx.restore())),_o(n)&&n.value.length){switch(this.ctx.font=this.createFontStyle(a)[0],this.ctx.fillStyle=at(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign=vo(n.styles.textAlign),g=ao(n),A=0,n.styles.textAlign){case Zn.CENTER:A+=g.width/2;break;case Zn.RIGHT:A+=g.width}d=g.add(A,0,0,-g.height/2+1),this.ctx.save(),this.path([new Vi(g.left,g.top),new Vi(g.left+g.width,g.top),new Vi(g.left+g.width,g.top+g.height),new Vi(g.left,g.top+g.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Pr(n.value,d),a.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!Cr(n.styles.display,2048))return[3,20];if(null===n.styles.listStyleImage)return[3,19];if((f=n.styles.listStyleImage).type!==_t.URL)return[3,18];p=void 0,_=f.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.options.cache.match(_)];case 16:return p=i.sent(),this.ctx.drawImage(p,n.bounds.left-(p.width+10),n.bounds.top),[3,18];case 17:return i.sent(),Dt.getInstance(this.options.id).error("Error loading list-style-image "+_),[3,18];case 18:return[3,20];case 19:t.listValue&&n.styles.listStyleType!==Un.NONE&&(this.ctx.font=this.createFontStyle(a)[0],this.ctx.fillStyle=at(a.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",g=new o(n.bounds.left,n.bounds.top+$e(n.styles.paddingTop,n.bounds.width),n.bounds.width,function(e,t){return Re(e)&&"normal"===e.value?1.2*t:e.type===h.NUMBER_TOKEN?t*e.number:ze(e)?$e(e,t):t}(a.lineHeight,a.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Pr(t.listValue,g),a.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}})})},e.prototype.renderStackContent=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a,s,l,u,c,A,h,d,f,p;return i(this,function(i){switch(i.label){case 0:return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,n=e.negativeZIndex,i.label=2;case 2:return t<n.length?[4,this.renderStack(n[t])]:[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),r=0,o=e.nonInlineLevel,i.label=7;case 7:return r<o.length?[4,this.renderNode(o[r])]:[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,i.label=11;case 11:return a<s.length?[4,this.renderStack(s[a])]:[3,14];case 12:i.sent(),i.label=13;case 13:return a++,[3,11];case 14:l=0,u=e.nonPositionedInlineLevel,i.label=15;case 15:return l<u.length?[4,this.renderStack(u[l])]:[3,18];case 16:i.sent(),i.label=17;case 17:return l++,[3,15];case 18:c=0,A=e.inlineLevel,i.label=19;case 19:return c<A.length?[4,this.renderNode(A[c])]:[3,22];case 20:i.sent(),i.label=21;case 21:return c++,[3,19];case 22:h=0,d=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return h<d.length?[4,this.renderStack(d[h])]:[3,26];case 24:i.sent(),i.label=25;case 25:return h++,[3,23];case 26:f=0,p=e.positiveZIndex,i.label=27;case 27:return f<p.length?[4,this.renderStack(p[f])]:[3,30];case 28:i.sent(),i.label=29;case 29:return f++,[3,27];case 30:return[2]}})})},e.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},e.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=zi(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),zi(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},e.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},e.prototype.resizeImage=function(e,t,n){if(e.width===t&&e.height===n)return e;var r=this.canvas.ownerDocument.createElement("canvas");return r.width=t,r.height=n,r.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),r},e.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a;return i(this,function(s){switch(s.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var o,a,s,l,u,c,A,h,d,f,p,_,g,v,m,y,E,C,w,B,b,T,k,O,M,D,I,U,x,P,S;return i(this,function(i){switch(i.label){case 0:if(n.type!==_t.URL)return[3,5];o=void 0,a=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.options.cache.match(a)];case 2:return o=i.sent(),[3,4];case 3:return i.sent(),Dt.getInstance(r.options.id).error("Error loading background-image "+a),[3,4];case 4:return o&&(s=so(e,t,[o.width,o.height,o.width/o.height]),y=s[0],T=s[1],k=s[2],v=r.ctx.createPattern(r.resizeImage(o,w=s[3],B=s[4]),"repeat"),r.renderRepeat(y,v,T,k)),[3,6];case 5:n.type===_t.LINEAR_GRADIENT?(l=so(e,t,[null,null,null]),y=l[0],T=l[1],k=l[2],u=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=$e(e[0],t)-r,a=i-$e(e[1],n);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,a=n/2,s=i/2,l=Math.sin(r-Math.PI/2)*s,u=Math.cos(r-Math.PI/2)*s;return[i,o-u,o+u,a-l,a+l]}(n.angle,w=l[3],B=l[4]),c=u[0],A=u[1],h=u[2],d=u[3],f=u[4],(p=document.createElement("canvas")).width=w,p.height=B,_=p.getContext("2d"),g=_.createLinearGradient(A,d,h,f),Ct(n.stops,c).forEach(function(e){return g.addColorStop(e.stop,at(e.color))}),_.fillStyle=g,_.fillRect(0,0,w,B),w>0&&B>0&&(v=r.ctx.createPattern(p,"repeat"),r.renderRepeat(y,v,T,k))):n.type===_t.RADIAL_GRADIENT&&(m=so(e,t,[null,null,null]),y=m[0],E=m[1],C=m[2],B=m[4],T=$e((b=0===n.position.length?[Ye]:n.position)[0],w=m[3]),k=$e(b[b.length-1],B),O=function(e,t,n,r,i){var o=0,a=0;switch(e.size){case vt.CLOSEST_SIDE:e.shape===gt.CIRCLE?o=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===gt.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-i)));break;case vt.CLOSEST_CORNER:if(e.shape===gt.CIRCLE)o=a=Math.min(wt(t,n),wt(t,n-i),wt(t-r,n),wt(t-r,n-i));else if(e.shape===gt.ELLIPSE){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=Bt(r,i,t,n,!0);a=s*(o=wt(l[0]-t,(l[1]-n)/s))}break;case vt.FARTHEST_SIDE:e.shape===gt.CIRCLE?o=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===gt.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-i)));break;case vt.FARTHEST_CORNER:if(e.shape===gt.CIRCLE)o=a=Math.max(wt(t,n),wt(t,n-i),wt(t-r,n),wt(t-r,n-i));else if(e.shape===gt.ELLIPSE){s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var u=Bt(r,i,t,n,!1);a=s*(o=wt(u[0]-t,(u[1]-n)/s))}}return Array.isArray(e.size)&&(o=$e(e.size[0],r),a=2===e.size.length?$e(e.size[1],i):o),[o,a]}(n,T,k,w,B),D=O[1],(M=O[0])>0&&M>0&&(I=r.ctx.createRadialGradient(E+T,C+k,0,E+T,C+k,M),Ct(n.stops,2*M).forEach(function(e){return I.addColorStop(e.stop,at(e.color))}),r.path(y),r.ctx.fillStyle=I,M!==D?(U=e.bounds.left+.5*e.bounds.width,x=e.bounds.top+.5*e.bounds.height,S=1/(P=D/M),r.ctx.save(),r.ctx.translate(U,x),r.ctx.transform(1,0,0,P,0,0),r.ctx.translate(-U,-x),r.ctx.fillRect(E,S*(C-x)+x,w,B*S),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return t--,[2]}})},r=this,o=0,a=e.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return o<a.length?[5,n(a[o])]:[3,4];case 2:s.sent(),s.label=3;case 3:return o++,[3,1];case 4:return[2]}})})},e.prototype.renderBorder=function(e,t,n){return r(this,void 0,void 0,function(){return i(this,function(r){return this.path(function(e,t){switch(t){case 0:return io(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return io(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return io(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return io(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}}(n,t)),this.ctx.fillStyle=at(e),this.ctx.fill(),[2]})})},e.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a,s,l,u,c=this;return i(this,function(i){switch(i.label){case 0:return this.applyEffects(e.effects,2),n=!ot((t=e.container.styles).backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor},{style:t.borderRightStyle,color:t.borderRightColor},{style:t.borderBottomStyle,color:t.borderBottomColor},{style:t.borderLeftStyle,color:t.borderLeftColor}],o=go(Ao(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),ot(t.backgroundColor)||(this.ctx.fillStyle=at(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){c.ctx.save();var n,r,i,o,a=Yi(e.curves),s=t.inset?0:1e4,l=(n=(t.inset?1:-1)*t.spread.number-s,r=(t.inset?1:-1)*t.spread.number,i=t.spread.number*(t.inset?-2:2),o=t.spread.number*(t.inset?-2:2),a.map(function(e,t){switch(t){case 0:return e.add(n,r);case 1:return e.add(n+i,r);case 2:return e.add(n+i,r+o);case 3:return e.add(n,r+o)}return e}));t.inset?(c.path(a),c.ctx.clip(),c.mask(l)):(c.mask(a),c.ctx.clip(),c.path(l)),c.ctx.shadowOffsetX=t.offsetX.number+s,c.ctx.shadowOffsetY=t.offsetY.number,c.ctx.shadowColor=at(t.color),c.ctx.shadowBlur=t.blur.number,c.ctx.fillStyle=t.inset?at(t.color):"rgba(0,0,0,1)",c.ctx.fill(),c.ctx.restore()}),i.label=2;case 2:a=0,s=0,l=r,i.label=3;case 3:return s<l.length?(u=l[s]).style===jt.NONE||ot(u.color)?[3,5]:[4,this.renderBorder(u.color,a,e.curves)]:[3,7];case 4:i.sent(),i.label=5;case 5:a++,i.label=6;case 6:return s++,[3,3];case 7:return[2]}})})},e.prototype.render=function(e){return r(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=at(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),n=new to(e,[]),r=new eo(n),no(n,r,r,i=[]),ro(n.container,i),[4,this.renderStack(r)];case 1:return t.sent(),this.applyEffects([],2),[2,this.canvas]}var n,r,i})})},e}(),_o=function(e){return e instanceof Jr||e instanceof zr||e instanceof qr&&"radio"!==e.type&&"checkbox"!==e.type},go=function(e,t){switch(e){case ht.BORDER_BOX:return Yi(t);case ht.CONTENT_BOX:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);case ht.PADDING_BOX:default:return ji(t)}},vo=function(e){switch(e){case Zn.CENTER:return"center";case Zn.RIGHT:return"right";case Zn.LEFT:default:return"left"}},mo=function(){function e(e){this.canvas=e.canvas?e.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=e,this.canvas.width=Math.floor(e.width*e.scale),this.canvas.height=Math.floor(e.height*e.scale),this.canvas.style.width=e.width+"px",this.canvas.style.height=e.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-e.x+e.scrollX,-e.y+e.scrollY),Dt.getInstance(e.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale)}return e.prototype.render=function(e){return r(this,void 0,void 0,function(){var t,n;return i(this,function(r){switch(r.label){case 0:return t=kt(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,e),[4,yo(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=at(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},e}(),yo=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Eo=function(e){return it(Qe.create(e).parseComponentValue())};return"undefined"!=typeof window&&It.setContext(window),function(e,t){return void 0===t&&(t={}),function(e,t){return r(void 0,void 0,void 0,function(){var r,s,l,u,c,A,h,d,f,p,_,g,v,m,y,E,C,w,B,b,T,k,O;return i(this,function(i){switch(i.label){case 0:if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(s=r.defaultView))throw new Error("Document is not attached to a Window");return l=(Math.round(1e3*Math.random())+Date.now()).toString(16),u=Ai(e)||"HTML"===e.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new o(0,0,r,i)}(r):a(e),c=u.width,A=u.height,h=u.left,d=u.top,f=n({},{allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},t),p={backgroundColor:"#ffffff",cache:t.cache?t.cache:It.create(l,f),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:s.devicePixelRatio||1,windowWidth:s.innerWidth,windowHeight:s.innerHeight,scrollX:s.pageXOffset,scrollY:s.pageYOffset,x:h,y:d,width:Math.ceil(c),height:Math.ceil(A),id:l},_=n({},p,f,t),g=new o(_.scrollX,_.scrollY,_.windowWidth,_.windowHeight),Dt.create({id:l,enabled:_.logging}),Dt.getInstance(l).debug("Starting document clone"),v=new Di(e,{id:l,onclone:_.onclone,ignoreElements:_.ignoreElements,inlineImages:_.foreignObjectRendering,copyStyles:_.foreignObjectRendering}),(m=v.clonedReferenceElement)?[4,v.toIFrame(r,g)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return y=i.sent(),E=r.documentElement?Eo(getComputedStyle(r.documentElement).backgroundColor):pt.TRANSPARENT,C=r.body?Eo(getComputedStyle(r.body).backgroundColor):pt.TRANSPARENT,B="string"==typeof(w=t.backgroundColor)?Eo(w):null===w?pt.TRANSPARENT:4294967295,b=e===r.documentElement?ot(E)?ot(C)?B:C:E:B,T={id:l,cache:_.cache,canvas:_.canvas,backgroundColor:b,scale:_.scale,x:_.x,y:_.y,scrollX:_.scrollX,scrollY:_.scrollY,width:_.width,height:_.height,windowWidth:_.windowWidth,windowHeight:_.windowHeight},_.foreignObjectRendering?(Dt.getInstance(l).debug("Document cloned, using foreign object rendering"),[4,new mo(T).render(m)]):[3,3];case 2:return k=i.sent(),[3,5];case 3:return Dt.getInstance(l).debug("Document cloned, using computed rendering"),It.attachInstance(_.cache),Dt.getInstance(l).debug("Starting DOM parsing"),O=ei(m),It.detachInstance(),b===O.styles.backgroundColor&&(O.styles.backgroundColor=pt.TRANSPARENT),Dt.getInstance(l).debug("Starting renderer"),[4,new po(T).render(O)];case 4:k=i.sent(),i.label=5;case 5:return!0===_.removeContainer&&(Di.destroy(y)||Dt.getInstance(l).error("Cannot detach cloned iframe as it is not in the DOM anymore")),Dt.getInstance(l).debug("Finished rendering"),Dt.destroy(l),It.destroy(l),[2,k]}})})}(e,t)}}()},2290:function(e,t,n){"use strict";n.d(t,{a6:function(){return s},pg:function(){return A},iZ:function(){return c},b4:function(){return l},jx:function(){return h},m8:function(){return d},ws:function(){return u}});var r=n(5366),i=n(9666),o=n(8807),a=n(1116),s=function(){var e=function e(){_classCallCheck(this,e)};return e.STARTS_WITH="startsWith",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.ENDS_WITH="endsWith",e.EQUALS="equals",e.NOT_EQUALS="notEquals",e.IN="in",e.LESS_THAN="lt",e.LESS_THAN_OR_EQUAL_TO="lte",e.GREATER_THAN="gt",e.GREATER_THAN_OR_EQUAL_TO="gte",e.BETWEEN="between",e.IS="is",e.IS_NOT="isNot",e.BEFORE="before",e.AFTER="after",e.DATE_IS="dateIs",e.DATE_IS_NOT="dateIsNot",e.DATE_BEFORE="dateBefore",e.DATE_AFTER="dateAfter",e}(),l=function(){var e=function(){function e(){_classCallCheck(this,e),this.ripple=!1,this.filterMatchModeOptions={text:[s.STARTS_WITH,s.CONTAINS,s.NOT_CONTAINS,s.ENDS_WITH,s.EQUALS,s.NOT_EQUALS],numeric:[s.EQUALS,s.NOT_EQUALS,s.LESS_THAN,s.LESS_THAN_OR_EQUAL_TO,s.GREATER_THAN,s.GREATER_THAN_OR_EQUAL_TO],date:[s.DATE_IS,s.DATE_IS_NOT,s.DATE_BEFORE,s.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.translationSource=new i.x,this.translationObserver=this.translationSource.asObservable()}return _createClass(e,[{key:"getTranslation",value:function(e){return this.translation[e]}},{key:"setTranslation",value:function(e){this.translation=Object.assign(Object.assign({},this.translation),e),this.translationSource.next(this.translation)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),u=function(){var e=function e(){_classCallCheck(this,e)};return e.STARTS_WITH="startsWith",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.ENDS_WITH="endsWith",e.EQUALS="equals",e.NOT_EQUALS="notEquals",e.NO_FILTER="noFilter",e.LT="lt",e.LTE="lte",e.GT="gt",e.GTE="gte",e.IS="is",e.IS_NOT="isNot",e.BEFORE="before",e.AFTER="after",e.CLEAR="clear",e.APPLY="apply",e.MATCH_ALL="matchAll",e.MATCH_ANY="matchAny",e.ADD_RULE="addRule",e.REMOVE_RULE="removeRule",e.ACCEPT="accept",e.REJECT="reject",e.CHOOSE="choose",e.UPLOAD="upload",e.CANCEL="cancel",e.DAY_NAMES="dayNames",e.DAY_NAMES_SHORT="dayNamesShort",e.DAY_NAMES_MIN="dayNamesMin",e.MONTH_NAMES="monthNames",e.MONTH_NAMES_SHORT="monthNamesShort",e.TODAY="today",e.WEEK_HEADER="weekHeader",e.WEAK="weak",e.MEDIUM="medium",e.STRONG="strong",e.PASSWORD_PROMPT="passwordPrompt",e.EMPTY_MESSAGE="emptyMessage",e.EMPTY_FILTER_MESSAGE="emptyFilterMessage",e}(),c=function(){var e=function(){function e(){var t=this;_classCallCheck(this,e),this.filters={startsWith:function(e,t,n){if(null==t||""===t.trim())return!0;if(null==e)return!1;var r=o.gb.removeAccents(t.toString()).toLocaleLowerCase(n);return o.gb.removeAccents(e.toString()).toLocaleLowerCase(n).slice(0,r.length)===r},contains:function(e,t,n){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var r=o.gb.removeAccents(t.toString()).toLocaleLowerCase(n);return-1!==o.gb.removeAccents(e.toString()).toLocaleLowerCase(n).indexOf(r)},notContains:function(e,t,n){if(null==t||"string"==typeof t&&""===t.trim())return!0;if(null==e)return!1;var r=o.gb.removeAccents(t.toString()).toLocaleLowerCase(n);return-1===o.gb.removeAccents(e.toString()).toLocaleLowerCase(n).indexOf(r)},endsWith:function(e,t,n){if(null==t||""===t.trim())return!0;if(null==e)return!1;var r=o.gb.removeAccents(t.toString()).toLocaleLowerCase(n),i=o.gb.removeAccents(e.toString()).toLocaleLowerCase(n);return-1!==i.indexOf(r,i.length-r.length)},equals:function(e,t,n){return null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():o.gb.removeAccents(e.toString()).toLocaleLowerCase(n)==o.gb.removeAccents(t.toString()).toLocaleLowerCase(n))},notEquals:function(e,t,n){return!(null==t||"string"==typeof t&&""===t.trim()||null!=e&&(e.getTime&&t.getTime?e.getTime()===t.getTime():o.gb.removeAccents(e.toString()).toLocaleLowerCase(n)==o.gb.removeAccents(t.toString()).toLocaleLowerCase(n)))},in:function(e,t){if(null==t||0===t.length)return!0;for(var n=0;n<t.length;n++)if(o.gb.equals(e,t[n]))return!0;return!1},between:function(e,t){return null==t||null==t[0]||null==t[1]||null!=e&&(e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1])},lt:function(e,t,n){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()<t.getTime():e<t)},lte:function(e,t,n){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t)},gt:function(e,t,n){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>t.getTime():e>t)},gte:function(e,t,n){return null==t||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t)},is:function(e,n,r){return t.filters.equals(e,n,r)},isNot:function(e,n,r){return t.filters.notEquals(e,n,r)},before:function(e,n,r){return t.filters.lt(e,n,r)},after:function(e,n,r){return t.filters.gt(e,n,r)},dateIs:function(e,t){return null==t||null!=e&&e.toDateString()===t.toDateString()},dateIsNot:function(e,t){return null==t||null!=e&&e.toDateString()!==t.toDateString()},dateBefore:function(e,t){return null==t||null!=e&&e.getTime()<t.getTime()},dateAfter:function(e,t){return null==t||null!=e&&e.getTime()>t.getTime()}}}return _createClass(e,[{key:"filter",value:function(e,t,n,r,i){var a=[];if(e){var s,l=_createForOfIteratorHelper(e);try{for(l.s();!(s=l.n()).done;){var u,c=s.value,A=_createForOfIteratorHelper(t);try{for(A.s();!(u=A.n()).done;){var h=u.value,d=o.gb.resolveFieldData(c,h);if(this.filters[r](d,n,i)){a.push(c);break}}}catch(f){A.e(f)}finally{A.f()}}}catch(f){l.e(f)}finally{l.f()}}return a}},{key:"register",value:function(e,t){this.filters[e]=t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),A=function(){var e=function e(){_classCallCheck(this,e)};return e.AND="and",e.OR="or",e}(),h=function(){var e=function(){function e(t){_classCallCheck(this,e),this.template=t}return _createClass(e,[{key:"getType",value:function(){return this.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.Rgc))},e.\u0275dir=r.lG2({type:e,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),e}(),d=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[a.ez]]}),e}()},7431:function(e,t,n){"use strict";n.d(t,{fz:function(){return Ii},lQ:function(){return Di},iA:function(){return ki},UA:function(){return Ui},Mo:function(){return xi},U$:function(){return Pi}});var r=n(5366),i=n(1116),o=n(9879),a=n(2290);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}var l=n(9666),u=n(2041),c=n(2391),A=n(5960),h=n(1994),d=n(7911),f=n(6042),p=n(7849);function _(e){return!!e&&(e instanceof c.y||(0,p.m)(e.lift)&&(0,p.m)(e.subscribe))}var g=n(1879),v=n(3386),m=n(4659);function y(e,t){return e===t}var E,C=n(1520),w=n(8868),B=n(9568),b=n(1423),T=n(4324),k=n(6407),O=n(5728);try{E="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Si){E=!1}var M,D,I=function(){var e=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!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&&!E)&&"undefined"!=typeof CSS&&!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};return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.Lbi))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.Lbi))},token:e,providedIn:"root"}),e}(),U=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function x(){if("object"!=typeof document||!document)return 0;if(null==M){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),M=0,0===e.scrollLeft&&(e.scrollLeft=1,M=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return M}var P=new r.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,r.f3M)(i.K0)}}),S=function(){var e=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new r.vpe,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(P,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(P,8))},token:e,providedIn:"root"}),e}(),Q=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),F=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._data=e,r}return _createClass(n,[{key:"connect",value:function(){return _(this._data)?this._data:(0,u.of)(this._data)}},{key:"disconnect",value:function(){}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),L=function(){function e(){_classCallCheck(this,e),this.viewCacheSize=20,this._viewCache=[]}return _createClass(e,[{key:"applyChanges",value:function(e,t,n,r,i){var o=this;e.forEachOperation(function(e,a,s){var l,u;null==e.previousIndex?u=(l=o._insertView(function(){return n(e,a,s)},s,t,r(e)))?1:0:null==s?(o._detachAndCacheView(a,t),u=3):(l=o._moveView(a,s,t,r(e)),u=2),i&&i({context:null==l?void 0:l.context,operation:u,record:e})})}},{key:"detach",value:function(){var e,t=_createForOfIteratorHelper(this._viewCache);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,r){var i=this._insertViewFromCache(t,n);if(!i){var o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}i.context.$implicit=r}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,r){var i=n.get(e);return n.move(i,t),i.context.$implicit=r,i}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{var n=t.indexOf(e);-1===n?e.destroy():t.remove(n)}}},{key:"_insertViewFromCache",value:function(e,t){var n=this._viewCache.pop();return n&&t.insert(n,e),n||null}}]),e}(),R=new r.OlP("_ViewRepeater"),N=["contentWrapper"],H=["*"],K=new r.OlP("VIRTUAL_SCROLL_STRATEGY"),Z=function(){function e(t,n,r){var i,o;_classCallCheck(this,e),this._scrolledIndexChange=new l.x,this.scrolledIndexChange=this._scrolledIndexChange.pipe((void 0===o&&(o=g.y),i=null!=i?i:y,(0,v.e)(function(e,t){var n,r=!0;e.subscribe(new m.Q(t,function(e){var a=o(e);!r&&i(n,a)||(r=!1,n=a,t.next(e))}))}))),this._viewport=null,this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=r}return _createClass(e,[{key:"attach",value:function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(e,t,n){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},n=this._viewport.getViewportSize(),r=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),o=this._itemSize>0?i/this._itemSize:0;if(t.end>r){var a=Math.ceil(n/this._itemSize),s=Math.max(0,Math.min(o,r-a));o!=s&&(o=s,i=s*this._itemSize,t.start=Math.floor(o)),t.end=Math.max(0,Math.min(r,t.start+a))}var l=i-t.start*this._itemSize;if(l<this._minBufferPx&&0!=t.start){var u=Math.ceil((this._maxBufferPx-l)/this._itemSize);t.start=Math.max(0,t.start-u),t.end=Math.min(r,Math.ceil(o+(n+this._minBufferPx)/this._itemSize))}else{var c=t.end*this._itemSize-(i+n);if(c<this._minBufferPx&&t.end!=r){var A=Math.ceil((this._maxBufferPx-c)/this._itemSize);A>0&&(t.end=Math.min(r,t.end+A),t.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(o))}}}]),e}();function V(e){return e._scrollStrategy}var W=function(){var e=function(){function e(){_classCallCheck(this,e),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Z(this.itemSize,this.minBufferPx,this.maxBufferPx)}return _createClass(e,[{key:"itemSize",get:function(){return this._itemSize},set:function(e){this._itemSize=s(e)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=s(e)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=s(e)}},{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.lG2({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r._Bn([{provide:K,useFactory:V,deps:[(0,r.Gpc)(function(){return e})]}]),r.TTD]}),e}(),q=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new l.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new c.y(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe((0,C.e)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,u.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,w.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n,i=(n=t)instanceof r.SBq?n.nativeElement:n,o=e.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,A.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.R0b),r.LFG(I),r.LFG(i.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(r.R0b),r.LFG(I),r.LFG(i.K0,8))},token:e,providedIn:"root"}),e}(),z=function(){var e=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new l.x,this._elementScrolled=new c.y(function(e){return o.ngZone.runOutsideAngular(function(){return(0,A.R)(o.elementRef.nativeElement,"scroll").pipe((0,B.R)(o._destroyed)).subscribe(e)})})}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=x()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==x()?e.left=e.right:1==x()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;!function(){if(null==D){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return D=!1;if("scrollBehavior"in document.documentElement.style)D=!0;else{var e=Element.prototype.scrollTo;D=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return D}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==x()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==x()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(q),r.Y36(r.R0b),r.Y36(S,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),J=function(){var e=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this._platform=t,this._change=new l.x,this._changeListener=function(e){i._change.next(e)},this._document=r,n.runOutsideAngular(function(){if(t.isBrowser){var e=i._getWindow();e.addEventListener("resize",i._changeListener),e.addEventListener("orientationchange",i._changeListener)}i.change().subscribe(function(){return i._updateViewportSize()})})}return _createClass(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe((0,C.e)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0,8))},e.\u0275prov=r.Yz7({factory:function(){return new e(r.LFG(I),r.LFG(r.R0b),r.LFG(i.K0,8))},token:e,providedIn:"root"}),e}(),G="undefined"!=typeof requestAnimationFrame?h.Z:d.E,Y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a,s,u){var A;return _classCallCheck(this,n),(A=t.call(this,e,s,i,a)).elementRef=e,A._changeDetectorRef=r,A._scrollStrategy=o,A._detachedSubject=new l.x,A._renderedRangeSubject=new l.x,A._orientation="vertical",A.scrolledIndexChange=new c.y(function(e){return A._scrollStrategy.scrolledIndexChange.subscribe(function(t){return Promise.resolve().then(function(){return A.ngZone.run(function(){return e.next(t)})})})}),A.renderedRangeStream=A._renderedRangeSubject,A._totalContentSize=0,A._totalContentWidth="",A._totalContentHeight="",A._renderedRange={start:0,end:0},A._dataLength=0,A._viewportSize=0,A._renderedContentOffset=0,A._renderedContentOffsetNeedsRewrite=!1,A._isChangeDetectionPending=!1,A._runAfterChangeDetection=[],A._viewportChanges=f.w0.EMPTY,A._viewportChanges=u.change().subscribe(function(){A.checkViewportSize()}),A}return _createClass(n,[{key:"orientation",get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe((0,b.O)(null),(0,C.e)(0,G)).subscribe(function(){return e._scrollStrategy.onContentScrolled()}),e._markChangeDetectionNeeded()})})}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(e){var t=this;this.ngZone.runOutsideAngular(function(){t._forOf=e,t._forOf.dataStream.pipe((0,B.R)(t._detachedSubject)).subscribe(function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()})})}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(e){var t,n,r=this;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(function(){return r._scrollStrategy.onContentRendered()}))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",r="horizontal"==this.orientation,i=r?"X":"Y",o="translate".concat(i,"(").concat(Number((r&&this.dir&&"rtl"==this.dir.value?-1:1)*e),"px)");this._renderedContentOffset=e,"to-end"===n&&(o+=" translate".concat(i,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded(function(){t._renderedContentOffsetNeedsRewrite?(t._renderedContentOffset-=t.measureRenderedContentSize(),t._renderedContentOffsetNeedsRewrite=!1,t.setRenderedContentOffset(t._renderedContentOffset)):t._scrollStrategy.onRenderedOffsetChanged()}))}},{key:"scrollToOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}},{key:"scrollToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(e,t)}},{key:"measureScrollOffset",value:function(e){return _get(_getPrototypeOf(n.prototype),"measureScrollOffset",this).call(this,e||("horizontal"===this.orientation?"start":"top"))}},{key:"measureRenderedContentSize",value:function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}},{key:"measureRangeSize",value:function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){t._doChangeDetection()})}))}},{key:"_doChangeDetection",value:function(){var e=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(function(){return e._changeDetectorRef.markForCheck()});var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){(0,n.value)()}}catch(i){r.e(i)}finally{r.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}}]),n}(z);return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(K,8),r.Y36(S,8),r.Y36(q),r.Y36(J))},e.\u0275cmp=r.Xpm({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){var n;(1&e&&r.Gf(N,7),2&e)&&(r.iGM(n=r.CRH())&&(t._contentWrapper=n.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r._Bn([{provide:z,useExisting:e}]),r.qOj],ngContentSelectors:H,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0,1),r.Hsn(2),r.qZA(),r._UZ(3,"div",2)),2&e&&(r.xp6(3),r.Udp("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-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{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),e}();function j(e,t,n){if(!n.getBoundingClientRect)return 0;var r=n.getBoundingClientRect();return"horizontal"===e?"start"===t?r.left:r.right:"start"===t?r.top:r.bottom}var X=function(){var e=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._viewContainerRef=t,this._template=n,this._differs=r,this._viewRepeater=i,this._viewport=o,this.viewChange=new l.x,this._dataSourceChanges=new l.x,this.dataStream=this._dataSourceChanges.pipe((0,b.O)(null),(0,v.e)(function(e,t){var n,r=!1;e.subscribe(new m.Q(t,function(e){var i=n;n=e,r&&t.next([i,e]),r=!0}))}),(0,T.w)(function(e){var t=_slicedToArray(e,2),n=t[0],r=t[1];return s._changeDataSource(n,r)}),(0,O.B)({connector:function(){return new k.t(1,void 0,void 0)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:!1})),this._differ=null,this._needsUpdate=!1,this._destroyed=new l.x,this.dataStream.subscribe(function(e){s._data=e,s._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,B.R)(this._destroyed)).subscribe(function(e){s._renderedRange=e,a.run(function(){return s.viewChange.next(s._renderedRange)}),s._onRenderedDataChange()}),this._viewport.attach(this)}return _createClass(e,[{key:"cdkVirtualForOf",get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new F(_(e)?e:Array.from(e||[])))}},{key:"cdkVirtualForTrackBy",get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(n,r){return e(n+(t._renderedRange?t._renderedRange.start:0),r)}:void 0}},{key:"cdkVirtualForTemplate",set:function(e){e&&(this._needsUpdate=!0,this._template=e)}},{key:"cdkVirtualForTemplateCacheSize",get:function(){return this._viewRepeater.viewCacheSize},set:function(e){this._viewRepeater.viewCacheSize=s(e)}},{key:"measureRangeSize",value:function(e,t){if(e.start>=e.end)return 0;for(var n,r,i=e.start-this._renderedRange.start,o=e.end-e.start,a=0;a<o;a++){var s=this._viewContainerRef.get(a+i);if(s&&s.rootNodes.length){n=r=s.rootNodes[0];break}}for(var l=o-1;l>-1;l--){var u=this._viewContainerRef.get(l+i);if(u&&u.rootNodes.length){r=u.rootNodes[u.rootNodes.length-1];break}}return n&&r?j(t,"end",r)-j(t,"start",n):0}},{key:"ngDoCheck",value:function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}},{key:"ngOnDestroy",value:function(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}},{key:"_onRenderedDataChange",value:function(){var e=this;this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(function(t,n){return e.cdkVirtualForTrackBy?e.cdkVirtualForTrackBy(t,n):n})),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):(0,u.of)()}},{key:"_updateContext",value:function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}},{key:"_applyChanges",value:function(e){var t=this;this._viewRepeater.applyChanges(e,this._viewContainerRef,function(e,n,r){return t._getEmbeddedViewArgs(e,r)},function(e){return e.item}),e.forEachIdentityChange(function(e){t._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});for(var n=this._data.length,r=this._viewContainerRef.length;r--;){var i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=n,this._updateComputedContextProperties(i.context)}}},{key:"_updateComputedContextProperties",value:function(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}},{key:"_getEmbeddedViewArgs",value:function(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4),r.Y36(R),r.Y36(Y,4),r.Y36(r.R0b))},e.\u0275dir=r.lG2({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[r._Bn([{provide:R,useClass:L}])]}),e}(),$=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}(),ee=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[Q,U,$],Q,$]}),e}(),te=n(9713),ne=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"addClass",value:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t}},{key:"addMultipleClasses",value:function(e,t){if(e.classList)for(var n=t.trim().split(" "),r=0;r<n.length;r++)e.classList.add(n[r]);else for(var i=t.split(" "),o=0;o<i.length;o++)e.className+=" "+i[o]}},{key:"removeClass",value:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}},{key:"hasClass",value:function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}},{key:"siblings",value:function(e){return Array.prototype.filter.call(e.parentNode.children,function(t){return t!==e})}},{key:"find",value:function(e,t){return Array.from(e.querySelectorAll(t))}},{key:"findSingle",value:function(e,t){return e?e.querySelector(t):null}},{key:"index",value:function(e){for(var t=e.parentNode.childNodes,n=0,r=0;r<t.length;r++){if(t[r]==e)return n;1==t[r].nodeType&&n++}return-1}},{key:"indexWithinGroup",value:function(e,t){for(var n=e.parentNode?e.parentNode.childNodes:[],r=0,i=0;i<n.length;i++){if(n[i]==e)return r;n[i].attributes&&n[i].attributes[t]&&1==n[i].nodeType&&r++}return-1}},{key:"relativePosition",value:function(e,t){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=t.offsetHeight,a=t.getBoundingClientRect(),s=this.getViewport();a.top+o+i.height>s.height?(n=-1*i.height,e.style.transformOrigin="bottom",a.top+n<0&&(n=-1*a.top)):(n=o,e.style.transformOrigin="top"),r=i.width>s.width?-1*a.left:a.left+i.width>s.width?-1*(a.left+i.width-s.width):0,e.style.top=n+"px",e.style.left=r+"px"}},{key:"absolutePosition",value:function(e,t){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),o=i.height,a=i.width,s=t.offsetHeight,l=t.offsetWidth,u=t.getBoundingClientRect(),c=this.getWindowScrollTop(),A=this.getWindowScrollLeft(),h=this.getViewport();u.top+s+o>h.height?(n=u.top+c-o,e.style.transformOrigin="bottom",n<0&&(n=c)):(n=s+u.top+c,e.style.transformOrigin="top"),r=u.left+a>h.width?Math.max(0,u.left+A+l-a):u.left+A,e.style.top=n+"px",e.style.left=r+"px"}},{key:"getParents",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===e.parentNode?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}},{key:"getScrollableParents",value:function(e){var t=[];if(e){var n,r=this.getParents(e),i=/(auto|scroll)/,o=function(e){var t=window.getComputedStyle(e,null);return i.test(t.getPropertyValue("overflow"))||i.test(t.getPropertyValue("overflowX"))||i.test(t.getPropertyValue("overflowY"))},a=_createForOfIteratorHelper(r);try{for(a.s();!(n=a.n()).done;){var s=n.value,l=1===s.nodeType&&s.dataset.scrollselectors;if(l){var u,c=_createForOfIteratorHelper(l.split(","));try{for(c.s();!(u=c.n()).done;){var A=u.value,h=this.findSingle(s,A);h&&o(h)&&t.push(h)}}catch(d){c.e(d)}finally{c.f()}}9!==s.nodeType&&o(s)&&t.push(s)}}catch(d){a.e(d)}finally{a.f()}}return t}},{key:"getHiddenElementOuterHeight",value:function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}},{key:"getHiddenElementOuterWidth",value:function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}},{key:"getHiddenElementDimensions",value:function(e){var t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t}},{key:"scrollInView",value:function(e,t){var n=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(e).getPropertyValue("paddingTop"),o=i?parseFloat(i):0,a=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-r-o,l=e.scrollTop,u=e.clientHeight,c=this.getOuterHeight(t);s<0?e.scrollTop=l+s:s+c>u&&(e.scrollTop=l+s-u+c)}},{key:"fadeIn",value:function(e,t){e.style.opacity=0;var n=+new Date,r=0;!function i(){r=+e.style.opacity.replace(",",".")+((new Date).getTime()-n)/t,e.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))}()}},{key:"fadeOut",value:function(e,t){var n=1,r=50/t,i=setInterval(function(){(n-=r)<=0&&(n=0,clearInterval(i)),e.style.opacity=n},50)}},{key:"getWindowScrollTop",value:function(){var e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},{key:"matches",value:function(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(e){return-1!==[].indexOf.call(document.querySelectorAll(e),this)}).call(e,t)}},{key:"getOuterWidth",value:function(e,t){var n=e.offsetWidth;if(t){var r=getComputedStyle(e);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}},{key:"getHorizontalPadding",value:function(e){var t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)}},{key:"getHorizontalMargin",value:function(e){var t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)}},{key:"innerWidth",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}},{key:"width",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),t}},{key:"getInnerHeight",value:function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)}},{key:"getOuterHeight",value:function(e,t){var n=e.offsetHeight;if(t){var r=getComputedStyle(e);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}},{key:"getHeight",value:function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}},{key:"getWidth",value:function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}},{key:"getViewport",value:function(){var e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0];return{width:e.innerWidth||n.clientWidth||r.clientWidth,height:e.innerHeight||n.clientHeight||r.clientHeight}}},{key:"getOffset",value:function(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}},{key:"replaceElementWith",value:function(e,t){var n=e.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(t,e)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIE",value:function(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"appendChild",value:function(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}}},{key:"removeChild",value:function(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}}},{key:"removeElement",value:function(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}},{key:"isElement",value:function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}},{key:"calculateScrollbarWidth",value:function(e){if(e){var t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"calculateScrollbarHeight",value:function(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;var e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);var t=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t}},{key:"invokeElementMethod",value:function(e,t,n){e[t].apply(e,n)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}},{key:"getBrowser",value:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}},{key:"isInteger",value:function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}},{key:"isHidden",value:function(e){return null===e.offsetParent}},{key:"getFocusableElements",value:function(t){var n,r=[],i=_createForOfIteratorHelper(e.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(i.s();!(n=i.n()).done;){var o=n.value;"none"!=getComputedStyle(o).display&&"hidden"!=getComputedStyle(o).visibility&&r.push(o)}}catch(a){i.e(a)}finally{i.f()}return r}},{key:"generateZIndex",value:function(){return this.zindex=this.zindex||999,++this.zindex}}]),e}();return e.zindex=1e3,e.calculatedScrollbarWidth=null,e.calculatedScrollbarHeight=null,e}(),re=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};_classCallCheck(this,e),this.element=t,this.listener=n}return _createClass(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=ne.getScrollableParents(this.element);for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var e=0;e<this.scrollableParents.length;e++)this.scrollableParents[e].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}]),e}(),ie=n(8807),oe=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.el=t,this.zone=n,this.tooltipPosition="right",this.tooltipEvent="hover",this.appendTo="body",this.tooltipZIndex="auto",this.escape=!0}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this.deactivate()}},{key:"ngAfterViewInit",value:function(){var e=this;this.zone.runOutsideAngular(function(){"hover"===e.tooltipEvent?(e.mouseEnterListener=e.onMouseEnter.bind(e),e.mouseLeaveListener=e.onMouseLeave.bind(e),e.clickListener=e.onClick.bind(e),e.el.nativeElement.addEventListener("mouseenter",e.mouseEnterListener),e.el.nativeElement.addEventListener("mouseleave",e.mouseLeaveListener),e.el.nativeElement.addEventListener("click",e.clickListener)):"focus"===e.tooltipEvent&&(e.focusListener=e.onFocus.bind(e),e.blurListener=e.onBlur.bind(e),e.el.nativeElement.addEventListener("focus",e.focusListener),e.el.nativeElement.addEventListener("blur",e.blurListener))})}},{key:"onMouseEnter",value:function(e){this.container||this.showTimeout||this.activate()}},{key:"onMouseLeave",value:function(e){this.deactivate()}},{key:"onFocus",value:function(e){this.activate()}},{key:"onBlur",value:function(e){this.deactivate()}},{key:"onClick",value:function(e){this.deactivate()}},{key:"activate",value:function(){var e=this;this.active=!0,this.clearHideTimeout(),this.showDelay?this.showTimeout=setTimeout(function(){e.show()},this.showDelay):this.show(),this.life&&(this.hideTimeout=setTimeout(function(){e.hide()},this.showDelay?this.life+this.showDelay:this.life))}},{key:"deactivate",value:function(){var e=this;this.active=!1,this.clearShowTimeout(),this.hideDelay?(this.clearHideTimeout(),this.hideTimeout=setTimeout(function(){e.hide()},this.hideDelay)):this.hide()}},{key:"text",get:function(){return this._text},set:function(e){this._text=e,this.active&&(this._text?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())}},{key:"create",value:function(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");var e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.positionStyle&&(this.container.style.position=this.positionStyle),this.container.appendChild(this.tooltipText),"body"===this.appendTo?document.body.appendChild(this.container):ne.appendChild(this.container,"target"===this.appendTo?this.el.nativeElement:this.appendTo),this.container.style.display="inline-block"}},{key:"show",value:function(){this.text&&!this.disabled&&(this.create(),this.align(),ne.fadeIn(this.container,250),this.container.style.zIndex="auto"===this.tooltipZIndex?++ne.zindex:this.tooltipZIndex,this.bindDocumentResizeListener(),this.bindScrollListener())}},{key:"hide",value:function(){this.remove()}},{key:"updateText",value:function(){this.escape?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this._text))):this.tooltipText.innerHTML=this._text}},{key:"align",value:function(){switch(this.tooltipPosition){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}},{key:"getHostOffset",value:function(){if("body"===this.appendTo||"target"===this.appendTo){var e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+ne.getWindowScrollLeft(),top:e.top+ne.getWindowScrollTop()}}return{left:0,top:0}}},{key:"alignRight",value:function(){this.preAlign("right");var e=this.getHostOffset(),t=e.left+ne.getOuterWidth(this.el.nativeElement),n=e.top+(ne.getOuterHeight(this.el.nativeElement)-ne.getOuterHeight(this.container))/2;this.container.style.left=t+"px",this.container.style.top=n+"px"}},{key:"alignLeft",value:function(){this.preAlign("left");var e=this.getHostOffset(),t=e.left-ne.getOuterWidth(this.container),n=e.top+(ne.getOuterHeight(this.el.nativeElement)-ne.getOuterHeight(this.container))/2;this.container.style.left=t+"px",this.container.style.top=n+"px"}},{key:"alignTop",value:function(){this.preAlign("top");var e=this.getHostOffset(),t=e.left+(ne.getOuterWidth(this.el.nativeElement)-ne.getOuterWidth(this.container))/2,n=e.top-ne.getOuterHeight(this.container);this.container.style.left=t+"px",this.container.style.top=n+"px"}},{key:"alignBottom",value:function(){this.preAlign("bottom");var e=this.getHostOffset(),t=e.left+(ne.getOuterWidth(this.el.nativeElement)-ne.getOuterWidth(this.container))/2,n=e.top+ne.getOuterHeight(this.el.nativeElement);this.container.style.left=t+"px",this.container.style.top=n+"px"}},{key:"preAlign",value:function(e){this.container.style.left="-999px",this.container.style.top="-999px";var t="p-tooltip p-component p-tooltip-"+e;this.container.className=this.tooltipStyleClass?t+" "+this.tooltipStyleClass:t}},{key:"isOutOfBounds",value:function(){var e=this.container.getBoundingClientRect(),t=e.top,n=e.left,r=ne.getOuterWidth(this.container),i=ne.getOuterHeight(this.container),o=ne.getViewport();return n+r>o.width||n<0||t<0||t+i>o.height}},{key:"onWindowResize",value:function(e){this.hide()}},{key:"bindDocumentResizeListener",value:function(){var e=this;this.zone.runOutsideAngular(function(){e.resizeListener=e.onWindowResize.bind(e),window.addEventListener("resize",e.resizeListener)})}},{key:"unbindDocumentResizeListener",value:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}},{key:"bindScrollListener",value:function(){var e=this;this.scrollHandler||(this.scrollHandler=new re(this.el.nativeElement,function(){e.container&&e.hide()})),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"unbindEvents",value:function(){"hover"===this.tooltipEvent?(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)):"focus"===this.tooltipEvent&&(this.el.nativeElement.removeEventListener("focus",this.focusListener),this.el.nativeElement.removeEventListener("blur",this.blurListener)),this.unbindDocumentResizeListener()}},{key:"remove",value:function(){this.container&&this.container.parentElement&&("body"===this.appendTo?document.body.removeChild(this.container):"target"===this.appendTo?this.el.nativeElement.removeChild(this.container):ne.removeChild(this.container,this.appendTo)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}},{key:"clearShowTimeout",value:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}},{key:"clearHideTimeout",value:function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}},{key:"clearTimeouts",value:function(){this.clearShowTimeout(),this.clearHideTimeout()}},{key:"ngOnDestroy",value:function(){this.unbindEvents(),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b))},e.\u0275dir=r.lG2({type:e,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",disabled:["tooltipDisabled","disabled"],text:["pTooltip","text"]}}),e}(),ae=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}(),se=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.el=t,this.zone=n,this.config=r}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.config&&this.config.ripple&&this.zone.runOutsideAngular(function(){e.create(),e.mouseDownListener=e.onMouseDown.bind(e),e.el.nativeElement.addEventListener("mousedown",e.mouseDownListener)})}},{key:"onMouseDown",value:function(e){var t=this.getInk();if(t&&"none"!==getComputedStyle(t,null).display){if(ne.removeClass(t,"p-ink-active"),!ne.getHeight(t)&&!ne.getWidth(t)){var n=Math.max(ne.getOuterWidth(this.el.nativeElement),ne.getOuterHeight(this.el.nativeElement));t.style.height=n+"px",t.style.width=n+"px"}var r=ne.getOffset(this.el.nativeElement),i=e.pageX-r.left+document.body.scrollTop-ne.getWidth(t)/2,o=e.pageY-r.top+document.body.scrollLeft-ne.getHeight(t)/2;t.style.top=o+"px",t.style.left=i+"px",ne.addClass(t,"p-ink-active")}}},{key:"getInk",value:function(){for(var e=0;e<this.el.nativeElement.children.length;e++)if(-1!==this.el.nativeElement.children[e].className.indexOf("p-ink"))return this.el.nativeElement.children[e];return null}},{key:"resetInk",value:function(){var e=this.getInk();e&&ne.removeClass(e,"p-ink-active")}},{key:"onAnimationEnd",value:function(e){ne.removeClass(e.currentTarget,"p-ink-active")}},{key:"create",value:function(){var e=document.createElement("span");e.className="p-ink",this.el.nativeElement.appendChild(e),this.animationListener=this.onAnimationEnd.bind(this),e.addEventListener("animationend",this.animationListener)}},{key:"remove",value:function(){var e=this.getInk();e&&(this.el.nativeElement.removeEventListener("mousedown",this.mouseDownListener),e.removeEventListener("animationend",this.animationListener),ne.removeElement(e))}},{key:"ngOnDestroy",value:function(){this.config&&this.config.ripple&&this.remove()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(a.b4,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","pRipple",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("p-ripple",!0)}}),e}(),le=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}();function ue(e,t){if(1&e&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Oqu(n.label||"empty")}}function ce(e,t){1&e&&r.GkF(0)}var Ae=function(e){return{height:e}},he=function(e,t){return{"p-dropdown-item":!0,"p-highlight":e,"p-disabled":t}},de=function(e){return{$implicit:e}},fe=["container"],pe=["filter"],_e=["in"],ge=["editableInput"];function ve(e,t){if(1&e&&(r.ynx(0),r._uU(1),r.BQk()),2&e){var n=r.oxw(2);r.xp6(1),r.Oqu(n.label||"empty")}}function me(e,t){1&e&&r.GkF(0)}var ye=function(e){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":e}};function Ee(e,t){if(1&e&&(r.TgZ(0,"span",12),r.YNc(1,ve,2,1,"ng-container",13),r.YNc(2,me,1,0,"ng-container",14),r.qZA()),2&e){var n=r.oxw();r.Q6J("ngClass",r.VKq(8,ye,null==n.label||0===n.label.length))("pTooltip",n.tooltip)("tooltipPosition",n.tooltipPosition)("positionStyle",n.tooltipPositionStyle)("tooltipStyleClass",n.tooltipStyleClass),r.xp6(1),r.Q6J("ngIf",!n.selectedItemTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",n.selectedItemTemplate)("ngTemplateOutletContext",r.VKq(10,de,n.selectedOption))}}var Ce=function(e){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":e}};function we(e,t){if(1&e&&(r.TgZ(0,"span",15),r._uU(1),r.qZA()),2&e){var n=r.oxw();r.Q6J("ngClass",r.VKq(2,Ce,null==n.placeholder||0===n.placeholder.length)),r.xp6(1),r.Oqu(n.placeholder||"empty")}}function Be(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"input",16,17),r.NdJ("click",function(){return r.CHM(n),r.oxw().onEditableInputClick()})("input",function(e){return r.CHM(n),r.oxw().onEditableInputChange(e)})("focus",function(e){return r.CHM(n),r.oxw().onEditableInputFocus(e)})("blur",function(e){return r.CHM(n),r.oxw().onInputBlur(e)}),r.qZA()}if(2&e){var i=r.oxw();r.Q6J("disabled",i.disabled),r.uIk("maxlength",i.maxlength)("placeholder",i.placeholder)("aria-expanded",i.overlayVisible)}}function be(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"i",18),r.NdJ("click",function(e){return r.CHM(n),r.oxw().clear(e)}),r.qZA()}}function Te(e,t){1&e&&r.GkF(0)}function ke(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",26),r.TgZ(1,"div",27),r.NdJ("click",function(e){return e.stopPropagation()}),r.TgZ(2,"input",28,29),r.NdJ("keydown.enter",function(e){return e.preventDefault()})("keydown",function(e){return r.CHM(n),r.oxw(2).onKeydown(e,!1)})("input",function(e){return r.CHM(n),r.oxw(2).onFilterInputChange(e)}),r.qZA(),r._UZ(4,"span",30),r.qZA(),r.qZA()}if(2&e){var i=r.oxw(2);r.xp6(2),r.Q6J("value",i.filterValue||""),r.uIk("placeholder",i.filterPlaceholder)("aria-label",i.ariaFilterLabel)}}function Oe(e,t){if(1&e&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&e){var n=r.oxw().$implicit,i=r.oxw(3);r.xp6(1),r.Oqu(i.getOptionGroupLabel(n)||"empty")}}function Me(e,t){1&e&&r.GkF(0)}function De(e,t){1&e&&r.GkF(0)}var Ie=function(e,t){return{$implicit:e,selectedOption:t}};function Ue(e,t){if(1&e&&(r.TgZ(0,"li",32),r.YNc(1,Oe,2,1,"span",13),r.YNc(2,Me,1,0,"ng-container",14),r.qZA(),r.YNc(3,De,1,0,"ng-container",14)),2&e){var n=t.$implicit;r.oxw(2);var i=r.MAs(8),o=r.oxw();r.xp6(1),r.Q6J("ngIf",!o.groupTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",o.groupTemplate)("ngTemplateOutletContext",r.VKq(5,de,n)),r.xp6(1),r.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",r.WLB(7,Ie,o.getOptionGroupChildren(n),o.selectedOption))}}function xe(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Ue,4,10,"ng-template",31),r.BQk()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",n.optionsToDisplay)}}function Pe(e,t){1&e&&r.GkF(0)}function Se(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Pe,1,0,"ng-container",14),r.BQk()),2&e){r.oxw();var n=r.MAs(8),i=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",r.WLB(2,Ie,i.optionsToDisplay,i.selectedOption))}}function Qe(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"p-dropdownItem",35),r.NdJ("onClick",function(e){return r.CHM(n),r.oxw(4).onItemClick(e)}),r.qZA()}if(2&e){var i=t.$implicit,o=r.oxw(2).selectedOption,a=r.oxw(2);r.Q6J("option",i)("selected",o==i)("label",a.getOptionLabel(i))("disabled",a.isOptionDisabled(i))("template",a.itemTemplate)}}function Fe(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Qe,1,5,"ng-template",31),r.BQk()),2&e){var n=r.oxw().$implicit;r.xp6(1),r.Q6J("ngForOf",n)}}function Le(e,t){if(1&e){var n=r.EpF();r.ynx(0),r.TgZ(1,"p-dropdownItem",35),r.NdJ("onClick",function(e){return r.CHM(n),r.oxw(5).onItemClick(e)}),r.qZA(),r.BQk()}if(2&e){var i=t.$implicit,o=r.oxw(3).selectedOption,a=r.oxw(2);r.xp6(1),r.Q6J("option",i)("selected",o==i)("label",a.getOptionLabel(i))("disabled",a.isOptionDisabled(i))("template",a.itemTemplate)}}function Re(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"cdk-virtual-scroll-viewport",37,38),r.NdJ("scrolledIndexChange",function(){return r.CHM(n),r.oxw(4).scrollToSelectedVirtualScrollElement()}),r.YNc(2,Le,2,5,"ng-container",39),r.qZA()}if(2&e){var i=r.oxw(2).$implicit,o=r.oxw(2);r.Q6J("ngStyle",r.VKq(3,Ae,o.scrollHeight))("itemSize",o.itemSize),r.xp6(2),r.Q6J("cdkVirtualForOf",i)}}function Ne(e,t){if(1&e&&r.YNc(0,Re,3,5,"cdk-virtual-scroll-viewport",36),2&e){var n=r.oxw(3);r.Q6J("ngIf",n.virtualScroll&&n.optionsToDisplay&&n.optionsToDisplay.length)}}function He(e,t){if(1&e&&(r.YNc(0,Fe,2,1,"ng-container",33),r.YNc(1,Ne,1,1,"ng-template",null,34,r.W1O)),2&e){var n=r.MAs(2),i=r.oxw(2);r.Q6J("ngIf",!i.virtualScroll)("ngIfElse",n)}}function Ke(e,t){if(1&e&&(r.ynx(0),r._uU(1),r.BQk()),2&e){var n=r.oxw(3);r.xp6(1),r.hij(" ",n.emptyFilterMessageLabel," ")}}function Ze(e,t){1&e&&r.GkF(0,null,41)}function Ve(e,t){if(1&e&&(r.TgZ(0,"li",40),r.YNc(1,Ke,2,1,"ng-container",33),r.YNc(2,Ze,2,0,"ng-container",20),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngIf",!n.emptyFilterTemplate&&!n.emptyTemplate)("ngIfElse",n.emptyFilter),r.xp6(1),r.Q6J("ngTemplateOutlet",n.emptyFilterTemplate||n.emptyTemplate)}}function We(e,t){if(1&e&&(r.ynx(0),r._uU(1),r.BQk()),2&e){var n=r.oxw(3);r.xp6(1),r.hij(" ",n.emptyMessageLabel," ")}}function qe(e,t){1&e&&r.GkF(0,null,42)}function ze(e,t){if(1&e&&(r.TgZ(0,"li",40),r.YNc(1,We,2,1,"ng-container",33),r.YNc(2,qe,2,0,"ng-container",20),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngIf",!n.emptyTemplate)("ngIfElse",n.empty),r.xp6(1),r.Q6J("ngTemplateOutlet",n.emptyTemplate)}}function Je(e,t){1&e&&r.GkF(0)}var Ge=function(e,t){return{showTransitionParams:e,hideTransitionParams:t}},Ye=function(e){return{value:"visible",params:e}},je=function(e){return{"p-dropdown-virtualscroll":e}};function Xe(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",19),r.NdJ("@overlayAnimation.start",function(e){return r.CHM(n),r.oxw().onOverlayAnimationStart(e)}),r.YNc(1,Te,1,0,"ng-container",20),r.YNc(2,ke,5,3,"div",21),r.TgZ(3,"div",22),r.TgZ(4,"ul",23),r.YNc(5,xe,2,1,"ng-container",13),r.YNc(6,Se,2,5,"ng-container",13),r.YNc(7,He,3,2,"ng-template",null,24,r.W1O),r.YNc(9,Ve,3,3,"li",25),r.YNc(10,ze,3,3,"li",25),r.qZA(),r.qZA(),r.YNc(11,Je,1,0,"ng-container",20),r.qZA()}if(2&e){var i=r.oxw();r.Tol(i.panelStyleClass),r.Q6J("ngClass","p-dropdown-panel p-component")("@overlayAnimation",r.VKq(18,Ye,r.WLB(15,Ge,i.showTransitionOptions,i.hideTransitionOptions)))("ngStyle",i.panelStyle),r.xp6(1),r.Q6J("ngTemplateOutlet",i.headerTemplate),r.xp6(1),r.Q6J("ngIf",i.filter),r.xp6(1),r.Udp("max-height",i.virtualScroll?"auto":i.scrollHeight||"auto"),r.xp6(1),r.Q6J("ngClass",r.VKq(20,je,i.virtualScroll)),r.xp6(1),r.Q6J("ngIf",i.group),r.xp6(1),r.Q6J("ngIf",!i.group),r.xp6(3),r.Q6J("ngIf",i.filterValue&&i.isEmpty()),r.xp6(1),r.Q6J("ngIf",!i.filterValue&&i.isEmpty()),r.xp6(1),r.Q6J("ngTemplateOutlet",i.footerTemplate)}}var $e=function(e,t,n,r){return{"p-dropdown p-component":!0,"p-disabled":e,"p-dropdown-open":t,"p-focus":n,"p-dropdown-clearable":r}},et={provide:o.JU,useExisting:(0,r.Gpc)(function(){return nt}),multi:!0},tt=function(){var e=function(){function e(){_classCallCheck(this,e),this.onClick=new r.vpe}return _createClass(e,[{key:"onOptionClick",value:function(e){this.onClick.emit({originalEvent:e,option:this.option})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-dropdownItem"]],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:14,consts:[["role","option","pRipple","",3,"ngStyle","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(r.TgZ(0,"li",0),r.NdJ("click",function(e){return t.onOptionClick(e)}),r.YNc(1,ue,2,1,"span",1),r.YNc(2,ce,1,0,"ng-container",2),r.qZA()),2&e&&(r.Q6J("ngStyle",r.VKq(7,Ae,t.itemSize+"px"))("ngClass",r.WLB(9,he,t.selected,t.disabled)),r.uIk("aria-label",t.label)("aria-selected",t.selected),r.xp6(1),r.Q6J("ngIf",!t.template),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template)("ngTemplateOutletContext",r.VKq(12,de,t.option)))},directives:[se,i.PC,i.mk,i.O5,i.tP],encapsulation:2}),e}(),nt=function(){var e=function(){function e(t,n,i,o,a,s){_classCallCheck(this,e),this.el=t,this.renderer=n,this.cd=i,this.zone=o,this.filterService=a,this.config=s,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.autoZIndex=!0,this.baseZIndex=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.onChange=new r.vpe,this.onFilter=new r.vpe,this.onFocus=new r.vpe,this.onBlur=new r.vpe,this.onClick=new r.vpe,this.onShow=new r.vpe,this.onHide=new r.vpe,this.onModelChange=function(){},this.onModelTouched=function(){},this.viewPortOffsetTop=0}return _createClass(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}},{key:"ngAfterContentInit",value:function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"item":e.itemTemplate=t.template;break;case"selectedItem":e.selectedItemTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"emptyfilter":e.emptyFilterTemplate=t.template;break;case"empty":e.emptyTemplate=t.template;break;case"group":e.groupTemplate=t.template;break;default:e.itemTemplate=t.template}})}},{key:"ngOnInit",value:function(){this.optionsToDisplay=this.options,this.updateSelectedOption(null)}},{key:"options",get:function(){return this._options},set:function(e){this._options=e,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}},{key:"filterValue",get:function(){return this._filterValue},set:function(e){this._filterValue=e,this.activateFilter()}},{key:"ngAfterViewInit",value:function(){this.editable&&this.updateEditableLabel()}},{key:"label",get:function(){return this.selectedOption?this.getOptionLabel(this.selectedOption):null}},{key:"emptyMessageLabel",get:function(){return this.emptyMessage||this.config.getTranslation(a.ws.EMPTY_MESSAGE)}},{key:"emptyFilterMessageLabel",get:function(){return this.emptyFilterMessage||this.config.getTranslation(a.ws.EMPTY_FILTER_MESSAGE)}},{key:"updateEditableLabel",value:function(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}},{key:"getOptionLabel",value:function(e){return this.optionLabel?ie.gb.resolveFieldData(e,this.optionLabel):null!=e.label?e.label:e}},{key:"getOptionValue",value:function(e){return this.optionValue?ie.gb.resolveFieldData(e,this.optionValue):this.optionLabel||void 0===e.value?e:e.value}},{key:"isOptionDisabled",value:function(e){return this.optionDisabled?ie.gb.resolveFieldData(e,this.optionDisabled):void 0!==e.disabled&&e.disabled}},{key:"getOptionGroupLabel",value:function(e){return this.optionGroupLabel?ie.gb.resolveFieldData(e,this.optionGroupLabel):null!=e.label?e.label:e}},{key:"getOptionGroupChildren",value:function(e){return this.optionGroupChildren?ie.gb.resolveFieldData(e,this.optionGroupChildren):e.items}},{key:"onItemClick",value:function(e){var t=this,n=e.option;this.isOptionDisabled(n)||(this.selectItem(e,n),this.accessibleViewChild.nativeElement.focus()),setTimeout(function(){t.hide()},150)}},{key:"selectItem",value:function(e,t){var n=this;this.selectedOption!=t&&(this.selectedOption=t,this.value=this.getOptionValue(t),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:e.originalEvent,value:this.value}),this.virtualScroll&&setTimeout(function(){n.viewPortOffsetTop=n.viewPort?n.viewPort.measureScrollOffset():0},1))}},{key:"ngAfterViewChecked",value:function(){var e=this;if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.virtualScroll&&this.updateVirtualScrollSelectedIndex(!0),this.zone.runOutsideAngular(function(){setTimeout(function(){e.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){if(this.virtualScroll&&this.viewPort){var t=this.viewPort.getRenderedRange();this.updateVirtualScrollSelectedIndex(!1),(t.start>this.virtualScrollSelectedIndex||t.end<this.virtualScrollSelectedIndex)&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)}ne.findSingle(this.overlay,"li.p-highlight")&&ne.scrollInView(this.itemsWrapper,ne.findSingle(this.overlay,"li.p-highlight")),this.selectedOptionUpdated=!1}}},{key:"writeValue",value:function(e){this.filter&&this.resetFilter(),this.value=e,this.updateSelectedOption(e),this.updateEditableLabel(),this.cd.markForCheck()}},{key:"resetFilter",value:function(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}},{key:"updateSelectedOption",value:function(e){this.selectedOption=this.findOption(e,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.optionsToDisplay[0]),this.selectedOptionUpdated=!0}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.cd.markForCheck()}},{key:"onMouseclick",value:function(e){this.disabled||this.readonly||this.isInputClick(e)||(this.onClick.emit(e),this.accessibleViewChild.nativeElement.focus(),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}},{key:"isInputClick",value:function(e){return ne.hasClass(e.target,"p-dropdown-clear-icon")||e.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&e.target.isSameNode(this.editableInputViewChild.nativeElement)}},{key:"isOutsideClicked",value:function(e){return!(this.el.nativeElement.isSameNode(e.target)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}},{key:"isEmpty",value:function(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}},{key:"onEditableInputClick",value:function(){this.bindDocumentClickListener()}},{key:"onEditableInputFocus",value:function(e){this.focused=!0,this.hide(),this.onFocus.emit(e)}},{key:"onEditableInputChange",value:function(e){this.value=e.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}},{key:"show",value:function(){this.overlayVisible=!0}},{key:"onOverlayAnimationStart",value:function(e){switch(e.toState){case"visible":if(this.overlay=e.element,this.itemsWrapper=ne.findSingle(this.overlay,this.virtualScroll?".cdk-virtual-scroll-viewport":".p-dropdown-items-wrapper"),this.appendOverlay(),this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++ne.zindex)),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.options&&this.options.length&&!this.virtualScroll){var t=ne.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");t&&ne.scrollInView(this.itemsWrapper,t)}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e);break;case"void":this.onOverlayHide(),this.onHide.emit(e)}}},{key:"scrollToSelectedVirtualScrollElement",value:function(){this.virtualAutoScrolled||(this.viewPortOffsetTop?this.viewPort.scrollToOffset(this.viewPortOffsetTop):this.virtualScrollSelectedIndex>-1&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)),this.virtualAutoScrolled=!0}},{key:"updateVirtualScrollSelectedIndex",value:function(e){this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&(e&&(this.viewPortOffsetTop=0),this.virtualScrollSelectedIndex=this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay))}},{key:"appendOverlay",value:function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):ne.appendChild(this.overlay,this.appendTo),this.overlay.style.minWidth||(this.overlay.style.minWidth=ne.getWidth(this.containerViewChild.nativeElement)+"px"))}},{key:"restoreOverlayAppend",value:function(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}},{key:"hide",value:function(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.virtualScroll&&(this.virtualAutoScrolled=!1),this.cd.markForCheck()}},{key:"alignOverlay",value:function(){this.overlay&&(this.appendTo?ne.absolutePosition(this.overlay,this.containerViewChild.nativeElement):ne.relativePosition(this.overlay,this.containerViewChild.nativeElement))}},{key:"onInputFocus",value:function(e){this.focused=!0,this.onFocus.emit(e)}},{key:"onInputBlur",value:function(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}},{key:"findPrevEnabledOption",value:function(e){var t;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(var n=e-1;0<=n;n--){var r=this.optionsToDisplay[n];if(!r.disabled){t=r;break}}if(!t)for(var i=this.optionsToDisplay.length-1;i>=e;i--){var o=this.optionsToDisplay[i];if(!this.isOptionDisabled(o)){t=o;break}}}return t}},{key:"findNextEnabledOption",value:function(e){var t;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(var n=e+1;e<this.optionsToDisplay.length-1;n++){var r=this.optionsToDisplay[n];if(!this.isOptionDisabled(r)){t=r;break}}if(!t)for(var i=0;i<e;i++){var o=this.optionsToDisplay[i];if(!this.isOptionDisabled(o)){t=o;break}}}return t}},{key:"onKeydown",value:function(e,t){if(!this.readonly&&this.optionsToDisplay&&null!==this.optionsToDisplay.length)switch(e.which){case 40:if(!this.overlayVisible&&e.altKey)this.show();else if(this.group){var n=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==n){var r=n.itemIndex+1;r<this.getOptionGroupChildren(this.optionsToDisplay[n.groupIndex]).length?(this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[n.groupIndex])[r]),this.selectedOptionUpdated=!0):this.optionsToDisplay[n.groupIndex+1]&&(this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[n.groupIndex+1])[0]),this.selectedOptionUpdated=!0)}else this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{var i=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,o=this.findNextEnabledOption(i);o&&(this.selectItem(e,o),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 38:if(this.group){var a=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==a){var s=a.itemIndex-1;if(s>=0)this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[a.groupIndex])[s]),this.selectedOptionUpdated=!0;else if(s<0){var l=this.optionsToDisplay[a.groupIndex-1];l&&(this.selectItem(e,this.getOptionGroupChildren(l)[this.getOptionGroupChildren(l).length-1]),this.selectedOptionUpdated=!0)}}}else{var u=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,c=this.findPrevEnabledOption(u);c&&(this.selectItem(e,c),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 32:case 32:this.overlayVisible||(this.show(),e.preventDefault());break;case 13:(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)&&this.hide(),e.preventDefault();break;case 27:case 9:this.hide();break;default:t&&!e.metaKey&&this.search(e)}}},{key:"search",value:function(e){var t=this;this.searchTimeout&&clearTimeout(this.searchTimeout);var n,r=e.key;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=r,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+r:r,this.group){var i=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};n=this.searchOptionWithinGroup(i)}else{var o=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;n=this.searchOption(++o)}n&&!this.isOptionDisabled(n)&&(this.selectItem(e,n),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(function(){t.searchValue=null},250)}},{key:"searchOption",value:function(e){var t;return this.searchValue&&((t=this.searchOptionInRange(e,this.optionsToDisplay.length))||(t=this.searchOptionInRange(0,e))),t}},{key:"searchOptionInRange",value:function(e,t){for(var n=e;n<t;n++){var r=this.optionsToDisplay[n];if(this.getOptionLabel(r).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(r))return r}return null}},{key:"searchOptionWithinGroup",value:function(e){if(this.searchValue){for(var t=e.groupIndex;t<this.optionsToDisplay.length;t++)for(var n=e.groupIndex===t?e.itemIndex+1:0;n<this.getOptionGroupChildren(this.optionsToDisplay[t]).length;n++){var r=this.getOptionGroupChildren(this.optionsToDisplay[t])[n];if(this.getOptionLabel(r).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(r))return r}for(var i=0;i<=e.groupIndex;i++)for(var o=0;o<(e.groupIndex===i?e.itemIndex:this.getOptionGroupChildren(this.optionsToDisplay[i]).length);o++){var a=this.getOptionGroupChildren(this.optionsToDisplay[i])[o];if(this.getOptionLabel(a).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(a))return a}}return null}},{key:"findOptionIndex",value:function(e,t){var n=-1;if(t)for(var r=0;r<t.length;r++)if(null==e&&null==this.getOptionValue(t[r])||ie.gb.equals(e,this.getOptionValue(t[r]),this.dataKey)){n=r;break}return n}},{key:"findOptionGroupIndex",value:function(e,t){var n,r;if(t)for(var i=0;i<t.length&&(n=i,-1===(r=this.findOptionIndex(e,this.getOptionGroupChildren(t[i]))));i++);return-1!==r?{groupIndex:n,itemIndex:r}:-1}},{key:"findOption",value:function(e,t,n){if(this.group&&!n){var r;if(t&&t.length){var i,o=_createForOfIteratorHelper(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(r=this.findOption(e,this.getOptionGroupChildren(a),!0))break}}catch(l){o.e(l)}finally{o.f()}}return r}var s=this.findOptionIndex(e,t);return-1!=s?t[s]:null}},{key:"onFilterInputChange",value:function(e){var t=e.target.value;t&&t.length?(this._filterValue=t,this.activateFilter()):(this._filterValue=null,this.optionsToDisplay=this.options),this.optionsChanged=!0,this.onFilter.emit({originalEvent:e,filter:this._filterValue})}},{key:"activateFilter",value:function(){var e=(this.filterBy||this.optionLabel||"label").split(",");if(this.options&&this.options.length){if(this.group){var t,n=[],r=_createForOfIteratorHelper(this.options);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=this.filterService.filter(this.getOptionGroupChildren(i),e,this.filterValue,this.filterMatchMode,this.filterLocale);o&&o.length&&n.push(Object.assign(Object.assign({},i),_defineProperty({},this.optionGroupChildren,o)))}}catch(a){r.e(a)}finally{r.f()}this.optionsToDisplay=n}else this.optionsToDisplay=this.filterService.filter(this.options,e,this.filterValue,this.filterMatchMode,this.filterLocale);this.optionsChanged=!0}}},{key:"applyFocus",value:function(){this.editable?ne.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():ne.findSingle(this.el.nativeElement,"input[readonly]").focus()}},{key:"focus",value:function(){this.applyFocus()}},{key:"bindDocumentClickListener",value:function(){var e=this;this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",function(t){e.isOutsideClicked(t)&&(e.hide(),e.unbindDocumentClickListener()),e.cd.markForCheck()}))}},{key:"unbindDocumentClickListener",value:function(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}},{key:"bindDocumentResizeListener",value:function(){this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener)}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"onWindowResize",value:function(){ne.isAndroid()||this.hide()}},{key:"bindScrollListener",value:function(){var e=this;this.scrollHandler||(this.scrollHandler=new re(this.containerViewChild.nativeElement,function(t){e.overlayVisible&&e.hide()})),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"clear",value:function(e){this.value=null,this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}),this.updateSelectedOption(this.value),this.updateEditableLabel()}},{key:"onOverlayHide",value:function(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.itemsWrapper=null,this.onModelTouched()}},{key:"ngOnDestroy",value:function(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.restoreOverlayAppend(),this.onOverlayHide()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(a.iZ),r.Y36(a.b4))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-dropdown"]],contentQueries:function(e,t,n){var i;(1&e&&r.Suo(n,a.jx,4),2&e)&&(r.iGM(i=r.CRH())&&(t.templates=i))},viewQuery:function(e,t){var n;(1&e&&(r.Gf(fe,5),r.Gf(pe,5),r.Gf(_e,5),r.Gf(Y,5),r.Gf(ge,5)),2&e)&&(r.iGM(n=r.CRH())&&(t.containerViewChild=n.first),r.iGM(n=r.CRH())&&(t.filterViewChild=n.first),r.iGM(n=r.CRH())&&(t.accessibleViewChild=n.first),r.iGM(n=r.CRH())&&(t.viewPort=n.first),r.iGM(n=r.CRH())&&(t.editableInputViewChild=n.first))},hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("p-inputwrapper-filled",t.value)("p-inputwrapper-focus",t.focused||t.overlayVisible)},inputs:{scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",selectId:"selectId",dataKey:"dataKey",filterBy:"filterBy",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",virtualScroll:"virtualScroll",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",disabled:"disabled",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide"},features:[r._Bn([et])],decls:12,vars:22,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","readonly","","aria-haspopup","listbox","aria-haspopup","listbox",3,"disabled","focus","blur","keydown"],["in",""],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],["type","text","class","p-dropdown-label p-inputtext","aria-haspopup","listbox",3,"disabled","click","input","focus","blur",4,"ngIf"],["class","p-dropdown-clear-icon pi pi-times",3,"click",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"p-dropdown-trigger"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"ngClass","ngStyle","class",4,"ngIf"],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["type","text","aria-haspopup","listbox",1,"p-dropdown-label","p-inputtext",3,"disabled","click","input","focus","blur"],["editableInput",""],[1,"p-dropdown-clear-icon","pi","pi-times",3,"click"],[3,"ngClass","ngStyle"],[4,"ngTemplateOutlet"],["class","p-dropdown-header",4,"ngIf"],[1,"p-dropdown-items-wrapper"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["itemslist",""],["class","p-dropdown-empty-message",4,"ngIf"],[1,"p-dropdown-header"],[1,"p-dropdown-filter-container",3,"click"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"value","keydown.enter","keydown","input"],["filter",""],[1,"p-dropdown-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-dropdown-item-group"],[4,"ngIf","ngIfElse"],["virtualScrollList",""],[3,"option","selected","label","disabled","template","onClick"],[3,"ngStyle","itemSize","scrolledIndexChange",4,"ngIf"],[3,"ngStyle","itemSize","scrolledIndexChange"],["viewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"p-dropdown-empty-message"],["emptyFilter",""],["empty",""]],template:function(e,t){1&e&&(r.TgZ(0,"div",0,1),r.NdJ("click",function(e){return t.onMouseclick(e)}),r.TgZ(2,"div",2),r.TgZ(3,"input",3,4),r.NdJ("focus",function(e){return t.onInputFocus(e)})("blur",function(e){return t.onInputBlur(e)})("keydown",function(e){return t.onKeydown(e,!0)}),r.qZA(),r.qZA(),r.YNc(5,Ee,3,12,"span",5),r.YNc(6,we,2,4,"span",6),r.YNc(7,Be,2,4,"input",7),r.YNc(8,be,1,0,"i",8),r.TgZ(9,"div",9),r._UZ(10,"span",10),r.qZA(),r.YNc(11,Xe,12,22,"div",11),r.qZA()),2&e&&(r.Tol(t.styleClass),r.Q6J("ngClass",r.l5B(17,$e,t.disabled,t.overlayVisible,t.focused,t.showClear&&!t.disabled))("ngStyle",t.style),r.xp6(3),r.Q6J("disabled",t.disabled),r.uIk("id",t.inputId)("aria-expanded",t.overlayVisible)("aria-labelledby",t.ariaLabelledBy)("tabindex",t.tabindex)("autofocus",t.autofocus),r.xp6(2),r.Q6J("ngIf",!t.editable&&null!=t.label),r.xp6(1),r.Q6J("ngIf",!t.editable&&null==t.label),r.xp6(1),r.Q6J("ngIf",t.editable),r.xp6(1),r.Q6J("ngIf",null!=t.value&&t.showClear&&!t.disabled),r.xp6(1),r.uIk("aria-expanded",t.overlayVisible),r.xp6(1),r.Q6J("ngClass",t.dropdownIcon),r.xp6(1),r.Q6J("ngIf",t.overlayVisible))},directives:[i.mk,i.PC,i.O5,oe,i.tP,i.sg,tt,Y,W,X],styles:[".p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}"],encapsulation:2,data:{animation:[(0,te.X$)("overlayAnimation",[(0,te.eR)(":enter",[(0,te.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,te.jt)("{{showTransitionParams}}")]),(0,te.eR)(":leave",[(0,te.jt)("{{hideTransitionParams}}",(0,te.oB)({opacity:0}))])])]},changeDetection:0}),e}(),rt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,a.m8,ee,ae,le],a.m8,ee]}),e}();function it(e,t){1&e&&r.GkF(0)}var ot=function(e){return{$implicit:e}};function at(e,t){if(1&e&&(r.TgZ(0,"div",14),r.YNc(1,it,1,0,"ng-container",15),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngTemplateOutlet",n.templateLeft)("ngTemplateOutletContext",r.VKq(2,ot,n.paginatorState))}}function st(e,t){if(1&e&&(r.TgZ(0,"span",16),r._uU(1),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Oqu(n.currentPageReport)}}var lt=function(e){return{"p-disabled":e}};function ut(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",17),r.NdJ("click",function(e){return r.CHM(n),r.oxw(2).changePageToFirst(e)}),r._UZ(1,"span",18),r.qZA()}if(2&e){var i=r.oxw(2);r.Q6J("disabled",i.isFirstPage())("ngClass",r.VKq(2,lt,i.isFirstPage()))}}var ct=function(e){return{"p-highlight":e}};function At(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",21),r.NdJ("click",function(e){var t=r.CHM(n).$implicit;return r.oxw(3).onPageLinkClick(e,t-1)}),r._uU(1),r.qZA()}if(2&e){var i=t.$implicit,o=r.oxw(3);r.Q6J("ngClass",r.VKq(2,ct,i-1==o.getPage())),r.xp6(1),r.Oqu(i)}}function ht(e,t){if(1&e&&(r.TgZ(0,"span",19),r.YNc(1,At,2,4,"button",20),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",n.pageLinks)}}function dt(e,t){if(1&e&&r._uU(0),2&e){var n=r.oxw(3);r.Oqu(n.currentPageReport)}}function ft(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"p-dropdown",22),r.NdJ("onChange",function(e){return r.CHM(n),r.oxw(2).onPageDropdownChange(e)}),r.YNc(1,dt,1,1,"ng-template",23),r.qZA()}if(2&e){var i=r.oxw(2);r.Q6J("options",i.pageItems)("ngModel",i.getPage())("appendTo",i.dropdownAppendTo)("scrollHeight",i.dropdownScrollHeight)}}function pt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",24),r.NdJ("click",function(e){return r.CHM(n),r.oxw(2).changePageToLast(e)}),r._UZ(1,"span",25),r.qZA()}if(2&e){var i=r.oxw(2);r.Q6J("disabled",i.isLastPage())("ngClass",r.VKq(2,lt,i.isLastPage()))}}function _t(e,t){1&e&&r.GkF(0)}function gt(e,t){if(1&e&&r.YNc(0,_t,1,0,"ng-container",15),2&e){var n=t.$implicit,i=r.oxw(4);r.Q6J("ngTemplateOutlet",i.dropdownItemTemplate)("ngTemplateOutletContext",r.VKq(2,ot,n))}}function vt(e,t){1&e&&(r.ynx(0),r.YNc(1,gt,1,4,"ng-template",28),r.BQk())}function mt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"p-dropdown",26),r.NdJ("ngModelChange",function(e){return r.CHM(n),r.oxw(2).rows=e})("onChange",function(e){return r.CHM(n),r.oxw(2).onRppChange(e)}),r.YNc(1,vt,2,0,"ng-container",27),r.qZA()}if(2&e){var i=r.oxw(2);r.Q6J("options",i.rowsPerPageItems)("ngModel",i.rows)("appendTo",i.dropdownAppendTo)("scrollHeight",i.dropdownScrollHeight),r.xp6(1),r.Q6J("ngIf",i.dropdownItemTemplate)}}function yt(e,t){1&e&&r.GkF(0)}function Et(e,t){if(1&e&&(r.TgZ(0,"div",29),r.YNc(1,yt,1,0,"ng-container",15),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngTemplateOutlet",n.templateRight)("ngTemplateOutletContext",r.VKq(2,ot,n.paginatorState))}}function Ct(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",1),r.YNc(1,at,2,4,"div",2),r.YNc(2,st,2,1,"span",3),r.YNc(3,ut,2,4,"button",4),r.TgZ(4,"button",5),r.NdJ("click",function(e){return r.CHM(n),r.oxw().changePageToPrev(e)}),r._UZ(5,"span",6),r.qZA(),r.YNc(6,ht,2,1,"span",7),r.YNc(7,ft,2,4,"p-dropdown",8),r.TgZ(8,"button",9),r.NdJ("click",function(e){return r.CHM(n),r.oxw().changePageToNext(e)}),r._UZ(9,"span",10),r.qZA(),r.YNc(10,pt,2,4,"button",11),r.YNc(11,mt,2,5,"p-dropdown",12),r.YNc(12,Et,2,4,"div",13),r.qZA()}if(2&e){var i=r.oxw();r.Tol(i.styleClass),r.Q6J("ngStyle",i.style)("ngClass","p-paginator p-component"),r.xp6(1),r.Q6J("ngIf",i.templateLeft),r.xp6(1),r.Q6J("ngIf",i.showCurrentPageReport),r.xp6(1),r.Q6J("ngIf",i.showFirstLastIcon),r.xp6(1),r.Q6J("disabled",i.isFirstPage())("ngClass",r.VKq(16,lt,i.isFirstPage())),r.xp6(2),r.Q6J("ngIf",i.showPageLinks),r.xp6(1),r.Q6J("ngIf",i.showJumpToPageDropdown),r.xp6(1),r.Q6J("disabled",i.isLastPage())("ngClass",r.VKq(18,lt,i.isLastPage())),r.xp6(2),r.Q6J("ngIf",i.showFirstLastIcon),r.xp6(1),r.Q6J("ngIf",i.rowsPerPageOptions),r.xp6(1),r.Q6J("ngIf",i.templateRight)}}var wt=function(){var e=function(){function e(t){_classCallCheck(this,e),this.cd=t,this.pageLinkSize=5,this.onPageChange=new r.vpe,this.alwaysShow=!0,this.dropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.totalRecords=0,this.rows=0,this.showPageLinks=!0,this._first=0,this._page=0}return _createClass(e,[{key:"ngOnInit",value:function(){this.updatePaginatorState()}},{key:"ngOnChanges",value:function(e){e.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),e.first&&(this._first=e.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),e.rows&&(this.updatePageLinks(),this.updatePaginatorState()),e.rowsPerPageOptions&&this.updateRowsPerPageOptions()}},{key:"first",get:function(){return this._first},set:function(e){this._first=e}},{key:"updateRowsPerPageOptions",value:function(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];var e,t=_createForOfIteratorHelper(this.rowsPerPageOptions);try{for(t.s();!(e=t.n()).done;){var n=e.value;"object"==typeof n&&n.showAll?this.rowsPerPageItems.unshift({label:n.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(n),value:n})}}catch(r){t.e(r)}finally{t.f()}}}},{key:"isFirstPage",value:function(){return 0===this.getPage()}},{key:"isLastPage",value:function(){return this.getPage()===this.getPageCount()-1}},{key:"getPageCount",value:function(){return Math.ceil(this.totalRecords/this.rows)||1}},{key:"calculatePageLinkBoundaries",value:function(){var e=this.getPageCount(),t=Math.min(this.pageLinkSize,e),n=Math.max(0,Math.ceil(this.getPage()-t/2)),r=Math.min(e-1,n+t-1);return[n=Math.max(0,n-(this.pageLinkSize-(r-n+1))),r]}},{key:"updatePageLinks",value:function(){this.pageLinks=[];for(var e=this.calculatePageLinkBoundaries(),t=e[1],n=e[0];n<=t;n++)this.pageLinks.push(n+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(var r=0;r<this.getPageCount();r++)this.pageItems.push({label:String(r+1),value:r})}}},{key:"changePage",value:function(e){var t=this.getPageCount();if(e>=0&&e<t){this._first=this.rows*e;var n={page:e,first:this.first,rows:this.rows,pageCount:t};this.updatePageLinks(),this.onPageChange.emit(n),this.updatePaginatorState()}}},{key:"updateFirst",value:function(){var e=this,t=this.getPage();t>0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(function(){return e.changePage(t-1)})}},{key:"getPage",value:function(){return Math.floor(this.first/this.rows)}},{key:"changePageToFirst",value:function(e){this.isFirstPage()||this.changePage(0),e.preventDefault()}},{key:"changePageToPrev",value:function(e){this.changePage(this.getPage()-1),e.preventDefault()}},{key:"changePageToNext",value:function(e){this.changePage(this.getPage()+1),e.preventDefault()}},{key:"changePageToLast",value:function(e){this.isLastPage()||this.changePage(this.getPageCount()-1),e.preventDefault()}},{key:"onPageLinkClick",value:function(e,t){this.changePage(t),e.preventDefault()}},{key:"onRppChange",value:function(e){this.changePage(this.getPage())}},{key:"onPageDropdownChange",value:function(e){this.changePage(e.value)}},{key:"updatePaginatorState",value:function(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}},{key:"currentPageReport",get:function(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.getPage()+1)).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-paginator"]],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",templateLeft:"templateLeft",templateRight:"templateRight",dropdownAppendTo:"dropdownAppendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showPageLinks:"showPageLinks",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[r.TTD],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-left"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-right"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-left"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"ngClass","click"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-right"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(e,t){1&e&&r.YNc(0,Ct,13,20,"div",0),2&e&&r.Q6J("ngIf",!!t.alwaysShow||t.pageLinks&&t.pageLinks.length>1)},directives:[i.O5,i.PC,i.mk,se,i.tP,i.sg,nt,o.JJ,o.On,a.jx],styles:[".p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-current,.p-paginator-first,.p-paginator-last,.p-paginator-next,.p-paginator-page,.p-paginator-prev{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}"],encapsulation:2,changeDetection:0}),e}(),Bt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,rt,o.u5,a.m8,le],rt,o.u5,a.m8]}),e}(),bt=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.el=t,this.ngModel=n}return _createClass(e,[{key:"ngDoCheck",value:function(){this.updateFilledState()}},{key:"onInput",value:function(e){this.updateFilledState()}},{key:"updateFilledState",value:function(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(o.On,8))},e.\u0275dir=r.lG2({type:e,selectors:[["","pInputText",""]],hostVars:6,hostBindings:function(e,t){1&e&&r.NdJ("input",function(e){return t.onInput(e)}),2&e&&r.ekj("p-inputtext",!0)("p-component",!0)("p-filled",t.filled)}}),e}(),Tt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}(),kt=function(){var e=function(){function e(t){_classCallCheck(this,e),this.el=t,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1}return _createClass(e,[{key:"ngAfterViewInit",value:function(){this._initialStyleClass=this.el.nativeElement.className,ne.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),this.icon&&this.createIconEl();var e=document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="p-button-label",this.label?e.appendChild(document.createTextNode(this.label)):e.innerHTML=" ",this.el.nativeElement.appendChild(e),this.initialized=!0}},{key:"getStyleClass",value:function(){var e="p-button p-component";return this.icon&&!this.label&&(e+=" p-button-icon-only"),this.loading&&(e+=" p-disabled p-button-loading",!this.icon&&this.label&&(e+=" p-button-loading-label-only")),e}},{key:"setStyleClass",value:function(){var e=this.getStyleClass();this.el.nativeElement.className=e+" "+this._initialStyleClass}},{key:"createIconEl",value:function(){var e=document.createElement("span");e.className="p-button-icon",e.setAttribute("aria-hidden","true");var t=this.label?"p-button-icon-"+this.iconPos:null;t&&ne.addClass(e,t),ne.addMultipleClasses(e,this.getIconClass());var n=ne.findSingle(this.el.nativeElement,".p-button-label");n?this.el.nativeElement.insertBefore(e,n):this.el.nativeElement.appendChild(e)}},{key:"getIconClass",value:function(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}},{key:"setIconClass",value:function(){var e=ne.findSingle(this.el.nativeElement,".p-button-icon");e?e.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIconEl()}},{key:"removeIconElement",value:function(){var e=ne.findSingle(this.el.nativeElement,".p-button-icon");this.el.nativeElement.removeChild(e)}},{key:"label",get:function(){return this._label},set:function(e){this._label=e,this.initialized&&(ne.findSingle(this.el.nativeElement,".p-button-label").textContent=this._label||" ",this.setStyleClass())}},{key:"icon",get:function(){return this._icon},set:function(e){this._icon=e,this.initialized&&(this.setIconClass(),this.setStyleClass())}},{key:"loading",get:function(){return this._loading},set:function(e){this._loading=e,this.initialized&&(this.loading||this.icon?this.setIconClass():this.removeIconElement(),this.setStyleClass())}},{key:"ngOnDestroy",value:function(){this.initialized=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["","pButton",""]],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),e}(),Ot=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,le]]}),e}();function Mt(e,t){if(1&e&&r._UZ(0,"span",8),2&e){var n=r.oxw(2).$implicit;r.Tol(n.icon),r.Q6J("ngClass","p-button-icon p-button-icon-left")}}function Dt(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Mt,1,3,"span",6),r.TgZ(2,"span",7),r._uU(3),r.qZA(),r.BQk()),2&e){var n=r.oxw().$implicit,i=r.oxw();r.xp6(1),r.Q6J("ngIf",n.icon),r.xp6(2),r.Oqu(i.getOptionLabel(n))}}function It(e,t){1&e&&r.GkF(0)}var Ut=function(e,t){return{$implicit:e,index:t}};function xt(e,t){if(1&e&&r.YNc(0,It,1,0,"ng-container",9),2&e){var n=r.oxw(),i=n.$implicit,o=n.index,a=r.oxw();r.Q6J("ngTemplateOutlet",a.itemTemplate)("ngTemplateOutletContext",r.WLB(2,Ut,i,o))}}var Pt=function(e,t,n){return{"p-highlight":e,"p-disabled":t,"p-button-icon-only":n}};function St(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",2,3),r.NdJ("click",function(e){var t=r.CHM(n),i=t.$implicit,o=t.index;return r.oxw().onItemClick(e,i,o)})("keydown.enter",function(e){var t=r.CHM(n),i=t.$implicit,o=t.index;return r.oxw().onItemClick(e,i,o)})("blur",function(){return r.CHM(n),r.oxw().onBlur()}),r.YNc(2,Dt,4,2,"ng-container",4),r.YNc(3,xt,1,5,"ng-template",null,5,r.W1O),r.qZA()}if(2&e){var i=t.$implicit,o=r.MAs(4),a=r.oxw();r.Tol(i.styleClass),r.Q6J("ngClass",r.kEZ(10,Pt,a.isSelected(i),a.disabled||a.isOptionDisabled(i),i.icon&&!a.getOptionLabel(i))),r.uIk("aria-pressed",a.isSelected(i))("title",i.title)("aria-label",i.label)("tabindex",a.disabled?null:a.tabindex)("aria-labelledby",a.getOptionLabel(i)),r.xp6(2),r.Q6J("ngIf",!a.itemTemplate)("ngIfElse",o)}}var Qt={provide:o.JU,useExisting:(0,r.Gpc)(function(){return Ft}),multi:!0},Ft=function(){var e=function(){function e(t){_classCallCheck(this,e),this.cd=t,this.tabindex=0,this.onOptionClick=new r.vpe,this.onChange=new r.vpe,this.onModelChange=function(){},this.onModelTouched=function(){}}return _createClass(e,[{key:"getOptionLabel",value:function(e){return this.optionLabel?ie.gb.resolveFieldData(e,this.optionLabel):null!=e.label?e.label:e}},{key:"getOptionValue",value:function(e){return this.optionValue?ie.gb.resolveFieldData(e,this.optionValue):this.optionLabel||void 0===e.value?e:e.value}},{key:"isOptionDisabled",value:function(e){return this.optionDisabled?ie.gb.resolveFieldData(e,this.optionDisabled):void 0!==e.disabled&&e.disabled}},{key:"writeValue",value:function(e){this.value=e,this.cd.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.cd.markForCheck()}},{key:"onItemClick",value:function(e,t,n){this.disabled||this.isOptionDisabled(t)||(this.multiple?this.isSelected(t)?this.removeOption(t):this.value=[].concat(_toConsumableArray(this.value||[]),[this.getOptionValue(t)]):this.value=this.getOptionValue(t),this.onOptionClick.emit({originalEvent:e,option:t,index:n}),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}},{key:"onBlur",value:function(){this.onModelTouched()}},{key:"removeOption",value:function(e){var t=this;this.value=this.value.filter(function(n){return!ie.gb.equals(n,t.getOptionValue(e),t.dataKey)})}},{key:"isSelected",value:function(e){var t=!1,n=this.getOptionValue(e);if(this.multiple){if(this.value){var r,i=_createForOfIteratorHelper(this.value);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(ie.gb.equals(o,n,this.dataKey)){t=!0;break}}}catch(a){i.e(a)}finally{i.f()}}}else t=ie.gb.equals(this.getOptionValue(e),this.value,this.dataKey);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-selectButton"]],contentQueries:function(e,t,n){var i;(1&e&&r.Suo(n,r.Rgc,5),2&e)&&(r.iGM(i=r.CRH())&&(t.itemTemplate=i.first))},inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",tabindex:"tabindex",multiple:"multiple",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[r._Bn([Qt])],decls:2,vars:5,consts:[["role","group",3,"ngClass","ngStyle"],["class","p-button p-component","role","button","pRipple","",3,"class","ngClass","click","keydown.enter","blur",4,"ngFor","ngForOf"],["role","button","pRipple","",1,"p-button","p-component",3,"ngClass","click","keydown.enter","blur"],["btn",""],[4,"ngIf","ngIfElse"],["customcontent",""],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.YNc(1,St,5,14,"div",1),r.qZA()),2&e&&(r.Tol(t.styleClass),r.Q6J("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",t.style),r.xp6(1),r.Q6J("ngForOf",t.options))},directives:[i.mk,i.PC,i.sg,se,i.O5,i.tP],styles:[".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}"],encapsulation:2,changeDetection:0}),e}(),Lt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,le]]}),e}(),Rt=function(e,t,n){return{"p-checkbox-label-active":e,"p-disabled":t,"p-checkbox-label-focus":n}};function Nt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"label",7),r.NdJ("click",function(e){r.CHM(n);var t=r.oxw(),i=r.MAs(3);return t.onClick(e,i)}),r._uU(1),r.qZA()}if(2&e){var i=r.oxw();r.Q6J("ngClass",r.kEZ(3,Rt,null!=i.value,i.disabled,i.focused)),r.uIk("for",i.inputId),r.xp6(1),r.Oqu(i.label)}}var Ht=function(e,t){return{"p-checkbox p-component":!0,"p-checkbox-disabled":e,"p-checkbox-focused":t}},Kt=function(e,t,n){return{"p-highlight":e,"p-disabled":t,"p-focus":n}},Zt={provide:o.JU,useExisting:(0,r.Gpc)(function(){return Vt}),multi:!0},Vt=function(){var e=function(){function e(t){_classCallCheck(this,e),this.cd=t,this.checkboxTrueIcon="pi pi-check",this.checkboxFalseIcon="pi pi-times",this.onChange=new r.vpe,this.onModelChange=function(){},this.onModelTouched=function(){}}return _createClass(e,[{key:"onClick",value:function(e,t){this.disabled||this.readonly||(this.toggle(e),this.focused=!0,t.focus())}},{key:"onKeydown",value:function(e){32==e.keyCode&&e.preventDefault()}},{key:"onKeyup",value:function(e){32!=e.keyCode||this.readonly||(this.toggle(e),e.preventDefault())}},{key:"toggle",value:function(e){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1,this.onModelTouched()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"writeValue",value:function(e){this.value=e,this.cd.markForCheck()}},{key:"setDisabledState",value:function(e){this.disabled=e,this.cd.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-triStateCheckbox"]],inputs:{disabled:"disabled",name:"name",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[r._Bn([Zt])],decls:7,vars:21,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","text","inputmode","none",3,"name","readonly","disabled","keyup","keydown","focus","blur"],["input",""],["role","checkbox",1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],[1,"p-checkbox-label",3,"ngClass","click"]],template:function(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.TgZ(2,"input",2,3),r.NdJ("keyup",function(e){return t.onKeyup(e)})("keydown",function(e){return t.onKeydown(e)})("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()}),r.qZA(),r.qZA(),r.TgZ(4,"div",4),r.NdJ("click",function(e){r.CHM(n);var i=r.MAs(3);return t.onClick(e,i)}),r._UZ(5,"span",5),r.qZA(),r.qZA(),r.YNc(6,Nt,2,7,"label",6)}2&e&&(r.Tol(t.styleClass),r.Q6J("ngStyle",t.style)("ngClass",r.WLB(14,Ht,t.disabled,t.focused)),r.xp6(2),r.Q6J("name",t.name)("readonly",t.readonly)("disabled",t.disabled),r.uIk("id",t.inputId)("tabindex",t.tabindex)("aria-labelledby",t.ariaLabelledBy),r.xp6(2),r.Q6J("ngClass",r.kEZ(17,Kt,null!=t.value,t.disabled,t.focused)),r.uIk("aria-checked",!0===t.value),r.xp6(1),r.Q6J("ngClass",!0===t.value?t.checkboxTrueIcon:!1===t.value?t.checkboxFalseIcon:""),r.xp6(1),r.Q6J("ngIf",t.label))},directives:[i.PC,i.mk,i.O5],encapsulation:2,changeDetection:0}),e}(),Wt=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez]]}),e}(),qt=["container"],zt=["inputfield"],Jt=["contentWrapper"];function Gt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",7),r.NdJ("click",function(e){r.CHM(n),r.oxw();var t=r.MAs(1);return r.oxw().onButtonClick(e,t)}),r.qZA()}if(2&e){var i=r.oxw(2);r.Q6J("icon",i.icon)("disabled",i.disabled)}}function Yt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"input",4,5),r.NdJ("focus",function(e){return r.CHM(n),r.oxw().onInputFocus(e)})("keydown",function(e){return r.CHM(n),r.oxw().onInputKeydown(e)})("click",function(){return r.CHM(n),r.oxw().onInputClick()})("blur",function(e){return r.CHM(n),r.oxw().onInputBlur(e)})("input",function(e){return r.CHM(n),r.oxw().onUserInput(e)}),r.qZA(),r.YNc(2,Gt,1,2,"button",6)}if(2&e){var i=r.oxw();r.Tol(i.inputStyleClass),r.Q6J("value",i.inputFieldValue)("readonly",i.readonlyInput)("ngStyle",i.inputStyle)("placeholder",i.placeholder||"")("disabled",i.disabled)("ngClass","p-inputtext p-component"),r.uIk("id",i.inputId)("name",i.name)("required",i.required)("aria-required",i.required)("tabindex",i.tabindex)("inputmode",i.touchUI?"off":null)("aria-labelledby",i.ariaLabelledBy),r.xp6(2),r.Q6J("ngIf",i.showIcon)}}function jt(e,t){1&e&&r.GkF(0)}function Xt(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",27),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(4).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(4).onPrevButtonClick(e)}),r._UZ(1,"span",28),r.qZA()}}function $t(e,t){if(1&e&&(r.TgZ(0,"span",29),r._uU(1),r.qZA()),2&e){var n=r.oxw().$implicit,i=r.oxw(3);r.xp6(1),r.Oqu(i.getTranslation("monthNames")[n.month])}}function en(e,t){if(1&e&&(r.TgZ(0,"option",32),r._uU(1),r.qZA()),2&e){var n=t.$implicit,i=t.index,o=r.oxw(2).$implicit;r.Q6J("value",i)("selected",i===o.month),r.xp6(1),r.Oqu(n)}}function tn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"select",30),r.NdJ("change",function(e){return r.CHM(n),r.oxw(4).onMonthDropdownChange(e.target.value)}),r.YNc(1,en,2,3,"option",31),r.qZA()}if(2&e){var i=r.oxw(4);r.xp6(1),r.Q6J("ngForOf",i.getTranslation("monthNames"))}}function nn(e,t){if(1&e&&(r.TgZ(0,"option",32),r._uU(1),r.qZA()),2&e){var n=t.$implicit,i=r.oxw(5);r.Q6J("value",n)("selected",n===i.currentYear),r.xp6(1),r.Oqu(n)}}function rn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"select",33),r.NdJ("change",function(e){return r.CHM(n),r.oxw(4).onYearDropdownChange(e.target.value)}),r.YNc(1,nn,2,3,"option",31),r.qZA()}if(2&e){var i=r.oxw(4);r.xp6(1),r.Q6J("ngForOf",i.yearOptions)}}function on(e,t){if(1&e&&(r.TgZ(0,"span",34),r._uU(1),r.qZA()),2&e){var n=r.oxw().$implicit,i=r.oxw(3);r.xp6(1),r.Oqu("month"===i.view?i.currentYear:n.year)}}function an(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",35),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(4).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(4).onNextButtonClick(e)}),r._UZ(1,"span",36),r.qZA()}}function sn(e,t){if(1&e&&(r.TgZ(0,"th",42),r.TgZ(1,"span"),r._uU(2),r.qZA(),r.qZA()),2&e){var n=r.oxw(5);r.xp6(2),r.Oqu(n.getTranslation("weekHeader"))}}function ln(e,t){if(1&e&&(r.TgZ(0,"th",43),r.TgZ(1,"span"),r._uU(2),r.qZA(),r.qZA()),2&e){var n=t.$implicit;r.xp6(2),r.Oqu(n)}}function un(e,t){if(1&e&&(r.TgZ(0,"td",46),r.TgZ(1,"span",47),r._uU(2),r.qZA(),r.qZA()),2&e){var n=r.oxw().index,i=r.oxw(2).$implicit;r.xp6(2),r.hij(" ",i.weekNumbers[n]," ")}}function cn(e,t){if(1&e&&(r.ynx(0),r._uU(1),r.BQk()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.Oqu(n.day)}}function An(e,t){1&e&&r.GkF(0)}var hn=function(e,t){return{"p-highlight":e,"p-disabled":t}},dn=function(e){return{$implicit:e}};function fn(e,t){if(1&e){var n=r.EpF();r.ynx(0),r.TgZ(1,"span",49),r.NdJ("click",function(e){r.CHM(n);var t=r.oxw().$implicit;return r.oxw(6).onDateSelect(e,t)})("keydown",function(e){r.CHM(n);var t=r.oxw().$implicit,i=r.oxw(3).index;return r.oxw(3).onDateCellKeydown(e,t,i)}),r.YNc(2,cn,2,1,"ng-container",11),r.YNc(3,An,1,0,"ng-container",50),r.qZA(),r.BQk()}if(2&e){var i=r.oxw().$implicit,o=r.oxw(6);r.xp6(1),r.Q6J("ngClass",r.WLB(4,hn,o.isSelected(i),!i.selectable)),r.xp6(1),r.Q6J("ngIf",!o.dateTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",o.dateTemplate)("ngTemplateOutletContext",r.VKq(7,dn,i))}}var pn=function(e,t){return{"p-datepicker-other-month":e,"p-datepicker-today":t}};function _n(e,t){if(1&e&&(r.TgZ(0,"td",48),r.YNc(1,fn,4,9,"ng-container",11),r.qZA()),2&e){var n=t.$implicit,i=r.oxw(6);r.Q6J("ngClass",r.WLB(2,pn,n.otherMonth,n.today)),r.xp6(1),r.Q6J("ngIf",!n.otherMonth||i.showOtherMonths)}}function gn(e,t){if(1&e&&(r.TgZ(0,"tr"),r.YNc(1,un,3,1,"td",44),r.YNc(2,_n,2,5,"td",45),r.qZA()),2&e){var n=t.$implicit,i=r.oxw(5);r.xp6(1),r.Q6J("ngIf",i.showWeek),r.xp6(1),r.Q6J("ngForOf",n)}}function vn(e,t){if(1&e&&(r.TgZ(0,"div",37),r.TgZ(1,"table",38),r.TgZ(2,"thead"),r.TgZ(3,"tr"),r.YNc(4,sn,3,1,"th",39),r.YNc(5,ln,3,1,"th",40),r.qZA(),r.qZA(),r.TgZ(6,"tbody"),r.YNc(7,gn,3,2,"tr",41),r.qZA(),r.qZA(),r.qZA()),2&e){var n=r.oxw().$implicit,i=r.oxw(3);r.xp6(4),r.Q6J("ngIf",i.showWeek),r.xp6(1),r.Q6J("ngForOf",i.weekDays),r.xp6(2),r.Q6J("ngForOf",n.dates)}}function mn(e,t){if(1&e&&(r.TgZ(0,"div",17),r.TgZ(1,"div",18),r.YNc(2,Xt,2,0,"button",19),r.TgZ(3,"div",20),r.YNc(4,$t,2,1,"span",21),r.YNc(5,tn,2,1,"select",22),r.YNc(6,rn,2,1,"select",23),r.YNc(7,on,2,1,"span",24),r.qZA(),r.YNc(8,an,2,0,"button",25),r.qZA(),r.YNc(9,vn,8,3,"div",26),r.qZA()),2&e){var n=t.index,i=r.oxw(3);r.xp6(2),r.Q6J("ngIf",0===n),r.xp6(2),r.Q6J("ngIf",!i.monthNavigator&&"month"!==i.view),r.xp6(1),r.Q6J("ngIf",i.monthNavigator&&"month"!==i.view&&1===i.numberOfMonths),r.xp6(1),r.Q6J("ngIf",i.yearNavigator&&1===i.numberOfMonths),r.xp6(1),r.Q6J("ngIf",!i.yearNavigator),r.xp6(1),r.Q6J("ngIf",1===i.numberOfMonths||n===i.numberOfMonths-1),r.xp6(1),r.Q6J("ngIf","date"===i.view)}}function yn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"span",53),r.NdJ("click",function(e){var t=r.CHM(n).index;return r.oxw(4).onMonthSelect(e,t)})("keydown",function(e){var t=r.CHM(n).index;return r.oxw(4).onMonthCellKeydown(e,t)}),r._uU(1),r.qZA()}if(2&e){var i=t.$implicit,o=t.index,a=r.oxw(4);r.Q6J("ngClass",r.WLB(2,hn,a.isMonthSelected(o),!a.isSelectable(1,o,a.currentYear,!1))),r.xp6(1),r.hij(" ",i," ")}}function En(e,t){if(1&e&&(r.TgZ(0,"div",51),r.YNc(1,yn,2,5,"span",52),r.qZA()),2&e){var n=r.oxw(3);r.xp6(1),r.Q6J("ngForOf",n.monthPickerValues)}}function Cn(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"div",14),r.YNc(2,mn,10,7,"div",15),r.qZA(),r.YNc(3,En,2,1,"div",16),r.BQk()),2&e){var n=r.oxw(2);r.xp6(2),r.Q6J("ngForOf",n.months),r.xp6(1),r.Q6J("ngIf","month"===n.view)}}function wn(e,t){1&e&&(r.ynx(0),r._uU(1,"0"),r.BQk())}function Bn(e,t){1&e&&(r.ynx(0),r._uU(1,"0"),r.BQk())}function bn(e,t){if(1&e&&(r.TgZ(0,"div",59),r.TgZ(1,"span"),r._uU(2),r.qZA(),r.qZA()),2&e){var n=r.oxw(3);r.xp6(2),r.Oqu(n.timeSeparator)}}function Tn(e,t){1&e&&(r.ynx(0),r._uU(1,"0"),r.BQk())}function kn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",64),r.TgZ(1,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(3).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(3).incrementSecond(e)})("mousedown",function(e){return r.CHM(n),r.oxw(3).onTimePickerElementMouseDown(e,2,1)})("mouseup",function(e){return r.CHM(n),r.oxw(3).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(3).onTimePickerElementMouseLeave()}),r._UZ(2,"span",57),r.qZA(),r.TgZ(3,"span"),r.YNc(4,Tn,2,0,"ng-container",11),r._uU(5),r.qZA(),r.TgZ(6,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(3).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(3).decrementSecond(e)})("mousedown",function(e){return r.CHM(n),r.oxw(3).onTimePickerElementMouseDown(e,2,-1)})("mouseup",function(e){return r.CHM(n),r.oxw(3).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(3).onTimePickerElementMouseLeave()}),r._UZ(7,"span",58),r.qZA(),r.qZA()}if(2&e){var i=r.oxw(3);r.xp6(4),r.Q6J("ngIf",i.currentSecond<10),r.xp6(1),r.Oqu(i.currentSecond)}}function On(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",65),r.TgZ(1,"button",66),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(3).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(3).toggleAMPM(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(3).toggleAMPM(e)}),r._UZ(2,"span",57),r.qZA(),r.TgZ(3,"span"),r._uU(4),r.qZA(),r.TgZ(5,"button",66),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(3).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(3).toggleAMPM(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(3).toggleAMPM(e)}),r._UZ(6,"span",58),r.qZA(),r.qZA()}if(2&e){var i=r.oxw(3);r.xp6(4),r.Oqu(i.pm?"PM":"AM")}}function Mn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",54),r.TgZ(1,"div",55),r.TgZ(2,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(2).incrementHour(e)})("mousedown",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseDown(e,0,1)})("mouseup",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(2).onTimePickerElementMouseLeave()}),r._UZ(3,"span",57),r.qZA(),r.TgZ(4,"span"),r.YNc(5,wn,2,0,"ng-container",11),r._uU(6),r.qZA(),r.TgZ(7,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(2).decrementHour(e)})("mousedown",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseDown(e,0,-1)})("mouseup",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(2).onTimePickerElementMouseLeave()}),r._UZ(8,"span",58),r.qZA(),r.qZA(),r.TgZ(9,"div",59),r.TgZ(10,"span"),r._uU(11),r.qZA(),r.qZA(),r.TgZ(12,"div",60),r.TgZ(13,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(2).incrementMinute(e)})("mousedown",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseDown(e,1,1)})("mouseup",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(2).onTimePickerElementMouseLeave()}),r._UZ(14,"span",57),r.qZA(),r.TgZ(15,"span"),r.YNc(16,Bn,2,0,"ng-container",11),r._uU(17),r.qZA(),r.TgZ(18,"button",56),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("keydown.enter",function(e){return r.CHM(n),r.oxw(2).decrementMinute(e)})("mousedown",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseDown(e,1,-1)})("mouseup",function(e){return r.CHM(n),r.oxw(2).onTimePickerElementMouseUp(e)})("mouseleave",function(){return r.CHM(n),r.oxw(2).onTimePickerElementMouseLeave()}),r._UZ(19,"span",58),r.qZA(),r.qZA(),r.YNc(20,bn,3,1,"div",61),r.YNc(21,kn,8,2,"div",62),r.YNc(22,On,7,1,"div",63),r.qZA()}if(2&e){var i=r.oxw(2);r.xp6(5),r.Q6J("ngIf",i.currentHour<10),r.xp6(1),r.Oqu(i.currentHour),r.xp6(5),r.Oqu(i.timeSeparator),r.xp6(5),r.Q6J("ngIf",i.currentMinute<10),r.xp6(1),r.Oqu(i.currentMinute),r.xp6(3),r.Q6J("ngIf",i.showSeconds),r.xp6(1),r.Q6J("ngIf",i.showSeconds),r.xp6(1),r.Q6J("ngIf","12"==i.hourFormat)}}var Dn=function(e){return[e]};function In(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",67),r.TgZ(1,"button",68),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(2).onTodayButtonClick(e)}),r.qZA(),r.TgZ(2,"button",68),r.NdJ("keydown",function(e){return r.CHM(n),r.oxw(2).onContainerButtonKeydown(e)})("click",function(e){return r.CHM(n),r.oxw(2).onClearButtonClick(e)}),r.qZA(),r.qZA()}if(2&e){var i=r.oxw(2);r.xp6(1),r.Q6J("label",i.getTranslation("today"))("ngClass",r.VKq(4,Dn,i.todayButtonStyleClass)),r.xp6(1),r.Q6J("label",i.getTranslation("clear"))("ngClass",r.VKq(6,Dn,i.clearButtonStyleClass))}}function Un(e,t){1&e&&r.GkF(0)}var xn=function(e,t,n,r,i,o){return{"p-datepicker p-component":!0,"p-datepicker-inline":e,"p-disabled":t,"p-datepicker-timeonly":n,"p-datepicker-multiple-month":r,"p-datepicker-monthpicker":i,"p-datepicker-touch-ui":o}},Pn=function(e,t){return{showTransitionParams:e,hideTransitionParams:t}},Sn=function(e){return{value:"visibleTouchUI",params:e}},Qn=function(e){return{value:"visible",params:e}};function Fn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",8,9),r.NdJ("@overlayAnimation.start",function(e){return r.CHM(n),r.oxw().onOverlayAnimationStart(e)})("@overlayAnimation.done",function(e){return r.CHM(n),r.oxw().onOverlayAnimationDone(e)}),r.Hsn(2),r.YNc(3,jt,1,0,"ng-container",10),r.YNc(4,Cn,4,2,"ng-container",11),r.YNc(5,Mn,23,8,"div",12),r.YNc(6,In,3,8,"div",13),r.Hsn(7,1),r.YNc(8,Un,1,0,"ng-container",10),r.qZA()}if(2&e){var i=r.oxw();r.Tol(i.panelStyleClass),r.Q6J("ngStyle",i.panelStyle)("ngClass",r.HTZ(11,xn,i.inline,i.disabled,i.timeOnly,i.numberOfMonths>1,"month"===i.view,i.touchUI))("@overlayAnimation",i.touchUI?r.VKq(21,Sn,r.WLB(18,Pn,i.showTransitionOptions,i.hideTransitionOptions)):r.VKq(26,Qn,r.WLB(23,Pn,i.showTransitionOptions,i.hideTransitionOptions)))("@.disabled",!0===i.inline),r.xp6(3),r.Q6J("ngTemplateOutlet",i.headerTemplate),r.xp6(1),r.Q6J("ngIf",!i.timeOnly),r.xp6(1),r.Q6J("ngIf",i.showTime||i.timeOnly),r.xp6(1),r.Q6J("ngIf",i.showButtonBar),r.xp6(2),r.Q6J("ngTemplateOutlet",i.footerTemplate)}}var Ln=[[["p-header"]],[["p-footer"]]],Rn=function(e,t,n,r){return{"p-calendar":!0,"p-calendar-w-btn":e,"p-calendar-timeonly":t,"p-calendar-disabled":n,"p-focus":r}},Nn=["p-header","p-footer"],Hn={provide:o.JU,useExisting:(0,r.Gpc)(function(){return Kn}),multi:!0},Kn=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.el=t,this.renderer=n,this.cd=i,this.zone=o,this.config=a,this.dateFormat="mm/dd/yy",this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.icon="pi pi-calendar",this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="p-button-text",this.clearButtonStyleClass="p-button-text",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.numberOfMonths=1,this.view="date",this.timeSeparator=":",this.focusTrap=!0,this.firstDayOfWeek=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.onFocus=new r.vpe,this.onBlur=new r.vpe,this.onClose=new r.vpe,this.onSelect=new r.vpe,this.onInput=new r.vpe,this.onTodayClick=new r.vpe,this.onClearClick=new r.vpe,this.onMonthChange=new r.vpe,this.onYearChange=new r.vpe,this.onClickOutside=new r.vpe,this.onShow=new r.vpe,this.onModelChange=function(){},this.onModelTouched=function(){},this.inputFieldValue=null,this.navigationState=null,this.convertTo24Hour=function(e,t){return"12"==this.hourFormat?12===e?t?12:0:t?e+12:e:e}}return _createClass(e,[{key:"content",set:function(e){var t=this;this.contentViewChild=e,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(function(){return t.updateFocus()}),this.isMonthNavigate=!1):this.initFocusableCell())}},{key:"defaultDate",get:function(){return this._defaultDate},set:function(e){if(this._defaultDate=e,this.initialized){var t=e||new Date;this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear)}}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"disabledDates",get:function(){return this._disabledDates},set:function(e){this._disabledDates=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"disabledDays",get:function(){return this._disabledDays},set:function(e){this._disabledDays=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}},{key:"yearRange",get:function(){return this._yearRange},set:function(e){if(this._yearRange=e,e){var t=e.split(":"),n=parseInt(t[0]),r=parseInt(t[1]);this.populateYearOptions(n,r)}}},{key:"showTime",get:function(){return this._showTime},set:function(e){this._showTime=e,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}},{key:"locale",get:function(){return this._locale},set:function(e){console.warn("Locale property has no effect, use new i18n API instead.")}},{key:"ngOnInit",value:function(){var e=this,t=this.defaultDate||new Date;this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),"date"===this.view?(this.createWeekDays(),this.initTime(t),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7):"month"===this.view&&this.createMonthPickerValues(),this.translationSubscription=this.config.translationObserver.subscribe(function(){e.createWeekDays()}),this.initialized=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"date":e.dateTemplate=t.template;break;case"disabledDate":e.disabledDateTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;default:e.dateTemplate=t.template}})}},{key:"getTranslation",value:function(e){return this.config.getTranslation(e)}},{key:"populateYearOptions",value:function(e,t){this.yearOptions=[];for(var n=e;n<=t;n++)this.yearOptions.push(n)}},{key:"createWeekDays",value:function(){this.weekDays=[];for(var e=this.firstDayOfWeek,t=this.getTranslation(a.ws.DAY_NAMES_MIN),n=0;n<7;n++)this.weekDays.push(t[e]),e=6==e?0:++e}},{key:"createMonthPickerValues",value:function(){this.monthPickerValues=[];for(var e=this.getTranslation(a.ws.MONTH_NAMES_SHORT),t=0;t<=11;t++)this.monthPickerValues.push(e[t])}},{key:"createMonths",value:function(e,t){this.months=this.months=[];for(var n=0;n<this.numberOfMonths;n++){var r=e+n,i=t;r>11&&(r=r%11-1,i=t+1),this.months.push(this.createMonth(r,i))}}},{key:"getWeekNumber",value:function(e){var t=new Date(e.getTime());t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t.getTime())/864e5)/7)+1}},{key:"createMonth",value:function(e,t){for(var n=[],r=this.getFirstDayOfMonthIndex(e,t),i=this.getDaysCountInMonth(e,t),o=this.getDaysCountInPrevMonth(e,t),a=1,s=new Date,l=[],u=Math.ceil((i+r)/7),c=0;c<u;c++){var A=[];if(0==c){for(var h=o-r+1;h<=o;h++){var d=this.getPreviousMonthAndYear(e,t);A.push({day:h,month:d.month,year:d.year,otherMonth:!0,today:this.isToday(s,h,d.month,d.year),selectable:this.isSelectable(h,d.month,d.year,!0)})}for(var f=7-A.length,p=0;p<f;p++)A.push({day:a,month:e,year:t,today:this.isToday(s,a,e,t),selectable:this.isSelectable(a,e,t,!1)}),a++}else for(var _=0;_<7;_++){if(a>i){var g=this.getNextMonthAndYear(e,t);A.push({day:a-i,month:g.month,year:g.year,otherMonth:!0,today:this.isToday(s,a-i,g.month,g.year),selectable:this.isSelectable(a-i,g.month,g.year,!0)})}else A.push({day:a,month:e,year:t,today:this.isToday(s,a,e,t),selectable:this.isSelectable(a,e,t,!1)});a++}this.showWeek&&l.push(this.getWeekNumber(new Date(A[0].year,A[0].month,A[0].day))),n.push(A)}return{month:e,year:t,dates:n,weekNumbers:l}}},{key:"initTime",value:function(e){this.pm=e.getHours()>11,this.showTime?(this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds(),this.setCurrentHourPM(e.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}},{key:"navBackward",value:function(e){var t=this;e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.decrementYear(),setTimeout(function(){t.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}},{key:"navForward",value:function(e){var t=this;e.stopPropagation(),this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.incrementYear(),setTimeout(function(){t.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}},{key:"decrementYear",value:function(){if(this.currentYear--,this.yearNavigator&&this.currentYear<this.yearOptions[0]){var e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]-e,this.yearOptions[this.yearOptions.length-1]-e)}}},{key:"incrementYear",value:function(){if(this.currentYear++,this.yearNavigator&&this.currentYear>this.yearOptions[this.yearOptions.length-1]){var e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+e,this.yearOptions[this.yearOptions.length-1]+e)}}},{key:"onDateSelect",value:function(e,t){var n=this;!this.disabled&&t.selectable?(this.isMultipleSelection()&&this.isSelected(t)?(this.value=this.value.filter(function(e,r){return!n.isDateEquals(e,t)}),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(t)&&this.selectDate(t),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(function(){e.preventDefault(),n.hideOverlay(),n.mask&&n.disableModality(),n.cd.markForCheck()},150),this.updateInputfield(),e.preventDefault()):e.preventDefault()}},{key:"shouldSelectDate",value:function(e){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}},{key:"onMonthSelect",value:function(e,t){ne.hasClass(e.target,"p-disabled")||this.onDateSelect(e,{year:this.currentYear,month:t,day:1,selectable:!0})}},{key:"updateInputfield",value:function(){var e="";if(this.value)if(this.isSingleSelection())e=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(var t=0;t<this.value.length;t++)e+=this.formatDateTime(this.value[t]),t!==this.value.length-1&&(e+=this.multipleSeparator+" ");else if(this.isRangeSelection()&&this.value&&this.value.length){var n=this.value[1];e=this.formatDateTime(this.value[0]),n&&(e+=" "+this.rangeSeparator+" "+this.formatDateTime(n))}this.inputFieldValue=e,this.updateFilledState(),this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}},{key:"formatDateTime",value:function(e){var t=null;return e&&(this.timeOnly?t=this.formatTime(e):(t=this.formatDate(e,this.getDateFormat()),this.showTime&&(t+=" "+this.formatTime(e)))),t}},{key:"setCurrentHourPM",value:function(e){"12"==this.hourFormat?(this.pm=e>11,this.currentHour=e>=12?12==e?12:e-12:0==e?12:e):this.currentHour=e}},{key:"selectDate",value:function(e){var t=new Date(e.year,e.month,e.day);if(this.showTime&&(t.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),t.setMinutes(this.currentMinute),t.setSeconds(this.currentSecond)),this.minDate&&this.minDate>t&&(t=this.minDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.maxDate&&this.maxDate<t&&(t=this.maxDate,this.setCurrentHourPM(t.getHours()),this.currentMinute=t.getMinutes(),this.currentSecond=t.getSeconds()),this.isSingleSelection())this.updateModel(t);else if(this.isMultipleSelection())this.updateModel(this.value?[].concat(_toConsumableArray(this.value),[t]):[t]);else if(this.isRangeSelection())if(this.value&&this.value.length){var n=this.value[0],r=this.value[1];!r&&t.getTime()>=n.getTime()?r=t:(n=t,r=null),this.updateModel([n,r])}else this.updateModel([t,null]);this.onSelect.emit(t)}},{key:"updateModel",value:function(e){var t=this;if(this.value=e,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{var n=null;this.value&&(n=this.value.map(function(e){return t.formatDateTime(e)})),this.onModelChange(n)}}},{key:"getFirstDayOfMonthIndex",value:function(e,t){var n=new Date;n.setDate(1),n.setMonth(e),n.setFullYear(t);var r=n.getDay()+this.getSundayIndex();return r>=7?r-7:r}},{key:"getDaysCountInMonth",value:function(e,t){return 32-this.daylightSavingAdjust(new Date(t,e,32)).getDate()}},{key:"getDaysCountInPrevMonth",value:function(e,t){var n=this.getPreviousMonthAndYear(e,t);return this.getDaysCountInMonth(n.month,n.year)}},{key:"getPreviousMonthAndYear",value:function(e,t){var n,r;return 0===e?(n=11,r=t-1):(n=e-1,r=t),{month:n,year:r}}},{key:"getNextMonthAndYear",value:function(e,t){var n,r;return 11===e?(n=0,r=t+1):(n=e+1,r=t),{month:n,year:r}}},{key:"getSundayIndex",value:function(){return this.firstDayOfWeek>0?7-this.firstDayOfWeek:0}},{key:"isSelected",value:function(e){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,e);if(this.isMultipleSelection()){var t,n=!1,r=_createForOfIteratorHelper(this.value);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(n=this.isDateEquals(i,e))break}}catch(o){r.e(o)}finally{r.f()}return n}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],e)||this.isDateEquals(this.value[1],e)||this.isDateBetween(this.value[0],this.value[1],e):this.isDateEquals(this.value[0],e):void 0}},{key:"isMonthSelected",value:function(e){var t=this.value?Array.isArray(this.value)?this.value[0].getDate():this.value.getDate():1;return this.isSelected({year:this.currentYear,month:e,day:t,selectable:!0})}},{key:"isDateEquals",value:function(e,t){return!!e&&e.getDate()===t.day&&e.getMonth()===t.month&&e.getFullYear()===t.year}},{key:"isDateBetween",value:function(e,t,n){if(e&&t){var r=new Date(n.year,n.month,n.day);return e.getTime()<=r.getTime()&&t.getTime()>=r.getTime()}return!1}},{key:"isSingleSelection",value:function(){return"single"===this.selectionMode}},{key:"isRangeSelection",value:function(){return"range"===this.selectionMode}},{key:"isMultipleSelection",value:function(){return"multiple"===this.selectionMode}},{key:"isToday",value:function(e,t,n,r){return e.getDate()===t&&e.getMonth()===n&&e.getFullYear()===r}},{key:"isSelectable",value:function(e,t,n,r){var i=!0,o=!0,a=!0,s=!0;return!(r&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>n||this.minDate.getFullYear()===n&&(this.minDate.getMonth()>t||this.minDate.getMonth()===t&&this.minDate.getDate()>e))&&(i=!1),this.maxDate&&(this.maxDate.getFullYear()<n||this.maxDate.getFullYear()===n&&(this.maxDate.getMonth()<t||this.maxDate.getMonth()===t&&this.maxDate.getDate()<e))&&(o=!1),this.disabledDates&&(a=!this.isDateDisabled(e,t,n)),this.disabledDays&&(s=!this.isDayDisabled(e,t,n)),i&&o&&a&&s)}},{key:"isDateDisabled",value:function(e,t,n){if(this.disabledDates){var r,i=_createForOfIteratorHelper(this.disabledDates);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.getFullYear()===n&&o.getMonth()===t&&o.getDate()===e)return!0}}catch(a){i.e(a)}finally{i.f()}}return!1}},{key:"isDayDisabled",value:function(e,t,n){if(this.disabledDays){var r=new Date(n,t,e).getDay();return-1!==this.disabledDays.indexOf(r)}return!1}},{key:"onInputFocus",value:function(e){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(e)}},{key:"onInputClick",value:function(){this.overlay&&this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++ne.zindex)),this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}},{key:"onInputBlur",value:function(e){this.focus=!1,this.onBlur.emit(e),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}},{key:"onButtonClick",value:function(e,t){this.overlayVisible?this.hideOverlay():(t.focus(),this.showOverlay())}},{key:"onPrevButtonClick",value:function(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)}},{key:"onNextButtonClick",value:function(e){this.navigationState={backward:!1,button:!0},this.navForward(e)}},{key:"onContainerButtonKeydown",value:function(e){switch(e.which){case 9:this.inline||this.trapFocus(e);break;case 27:this.overlayVisible=!1,e.preventDefault()}}},{key:"onInputKeydown",value:function(e){this.isKeydown=!0,40===e.keyCode&&this.contentViewChild?this.trapFocus(e):27===e.keyCode||13===e.keyCode?this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault()):9===e.keyCode&&this.contentViewChild&&(ne.getFocusableElements(this.contentViewChild.nativeElement).forEach(function(e){return e.tabIndex="-1"}),this.overlayVisible&&(this.overlayVisible=!1))}},{key:"onDateCellKeydown",value:function(e,t,n){var r=e.currentTarget,i=r.parentElement;switch(e.which){case 40:r.tabIndex="-1";var o=ne.index(i),a=i.parentElement.nextElementSibling;a?ne.hasClass(a.children[o].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(e)):(a.children[o].children[0].tabIndex="0",a.children[o].children[0].focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break;case 38:r.tabIndex="-1";var s=ne.index(i),l=i.parentElement.previousElementSibling;if(l){var u=l.children[s].children[0];ne.hasClass(u,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(e)):(u.tabIndex="0",u.focus())}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break;case 37:r.tabIndex="-1";var c=i.previousElementSibling;if(c){var A=c.children[0];ne.hasClass(A,"p-disabled")||ne.hasClass(A.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,n):(A.tabIndex="0",A.focus())}else this.navigateToMonth(!0,n);e.preventDefault();break;case 39:r.tabIndex="-1";var h=i.nextElementSibling;if(h){var d=h.children[0];ne.hasClass(d,"p-disabled")?this.navigateToMonth(!1,n):(d.tabIndex="0",d.focus())}else this.navigateToMonth(!1,n);e.preventDefault();break;case 13:this.onDateSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}},{key:"onMonthCellKeydown",value:function(e,t){var n=e.currentTarget;switch(e.which){case 38:case 40:n.tabIndex="-1";var r=n.parentElement.children,i=ne.index(n),o=r[40===e.which?i+3:i-3];o&&(o.tabIndex="0",o.focus()),e.preventDefault();break;case 37:n.tabIndex="-1";var a=n.previousElementSibling;a&&(a.tabIndex="0",a.focus()),e.preventDefault();break;case 39:n.tabIndex="-1";var s=n.nextElementSibling;s&&(s.tabIndex="0",s.focus()),e.preventDefault();break;case 13:this.onMonthSelect(e,t),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}},{key:"navigateToMonth",value:function(e,t){if(e)if(1===this.numberOfMonths||0===t)this.navigationState={backward:!0},this.navBackward(event);else{var n=ne.find(this.contentViewChild.nativeElement.children[t-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),r=n[n.length-1];r.tabIndex="0",r.focus()}else if(1===this.numberOfMonths||t===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{var i=ne.findSingle(this.contentViewChild.nativeElement.children[t+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");i.tabIndex="0",i.focus()}}},{key:"updateFocus",value:function(){var e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?ne.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():ne.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){var t=ne.find(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");e=t[t.length-1]}else e=ne.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");e&&(e.tabIndex="0",e.focus())}this.navigationState=null}else this.initFocusableCell()}},{key:"initFocusableCell",value:function(){var e;if("month"===this.view){var t=ne.find(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),n=ne.findSingle(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month.p-highlight");t.forEach(function(e){return e.tabIndex=-1}),e=n||t[0],0===t.length&&ne.find(this.contentViewChild.nativeElement,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(function(e){return e.tabIndex=-1})}else(e=ne.findSingle(this.contentViewChild.nativeElement,"span.p-highlight"))||(e=ne.findSingle(this.contentViewChild.nativeElement,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)")||ne.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"));e&&(e.tabIndex="0")}},{key:"trapFocus",value:function(e){var t=ne.getFocusableElements(this.contentViewChild.nativeElement);if(t&&t.length>0)if(t[0].ownerDocument.activeElement){var n=t.indexOf(t[0].ownerDocument.activeElement);if(e.shiftKey)if(-1==n||0===n)if(this.focusTrap)t[t.length-1].focus();else{if(-1===n)return this.hideOverlay();if(0===n)return}else t[n-1].focus();else if(-1==n||n===t.length-1){if(!this.focusTrap&&-1!=n)return this.hideOverlay();t[0].focus()}else t[n+1].focus()}else t[0].focus();e.preventDefault()}},{key:"onMonthDropdownChange",value:function(e){this.currentMonth=parseInt(e),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}},{key:"onYearDropdownChange",value:function(e){this.currentYear=parseInt(e),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}},{key:"validateTime",value:function(e,t,n,r){var i=this.value,o=this.convertTo24Hour(e,r);this.isRangeSelection()&&(i=this.value[1]||this.value[0]),this.isMultipleSelection()&&(i=this.value[this.value.length-1]);var a=i?i.toDateString():null;if(this.minDate&&a&&this.minDate.toDateString()===a){if(this.minDate.getHours()>o)return!1;if(this.minDate.getHours()===o){if(this.minDate.getMinutes()>t)return!1;if(this.minDate.getMinutes()===t&&this.minDate.getSeconds()>n)return!1}}if(this.maxDate&&a&&this.maxDate.toDateString()===a){if(this.maxDate.getHours()<o)return!1;if(this.maxDate.getHours()===o){if(this.maxDate.getMinutes()<t)return!1;if(this.maxDate.getMinutes()===t&&this.maxDate.getSeconds()<n)return!1}}return!0}},{key:"incrementHour",value:function(e){var t=this.currentHour+this.stepHour,n=this.pm;"24"==this.hourFormat?t=t>=24?t-24:t:"12"==this.hourFormat&&(this.currentHour<12&&t>11&&(n=!this.pm),t=t>=13?t-12:t),this.validateTime(t,this.currentMinute,this.currentSecond,n)&&(this.currentHour=t,this.pm=n),e.preventDefault()}},{key:"onTimePickerElementMouseDown",value:function(e,t,n){this.disabled||(this.repeat(e,null,t,n),e.preventDefault())}},{key:"onTimePickerElementMouseUp",value:function(e){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}},{key:"onTimePickerElementMouseLeave",value:function(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}},{key:"repeat",value:function(e,t,n,r){var i=this,o=t||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(function(){i.repeat(e,100,n,r),i.cd.markForCheck()},o),n){case 0:1===r?this.incrementHour(e):this.decrementHour(e);break;case 1:1===r?this.incrementMinute(e):this.decrementMinute(e);break;case 2:1===r?this.incrementSecond(e):this.decrementSecond(e)}this.updateInputfield()}},{key:"clearTimePickerTimer",value:function(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}},{key:"decrementHour",value:function(e){var t=this.currentHour-this.stepHour,n=this.pm;"24"==this.hourFormat?t=t<0?24+t:t:"12"==this.hourFormat&&(12===this.currentHour&&(n=!this.pm),t=t<=0?12+t:t),this.validateTime(t,this.currentMinute,this.currentSecond,n)&&(this.currentHour=t,this.pm=n),e.preventDefault()}},{key:"incrementMinute",value:function(e){var t=this.currentMinute+this.stepMinute;t=t>59?t-60:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}},{key:"decrementMinute",value:function(e){var t=this.currentMinute-this.stepMinute;t=t<0?60+t:t,this.validateTime(this.currentHour,t,this.currentSecond,this.pm)&&(this.currentMinute=t),e.preventDefault()}},{key:"incrementSecond",value:function(e){var t=this.currentSecond+this.stepSecond;t=t>59?t-60:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}},{key:"decrementSecond",value:function(e){var t=this.currentSecond-this.stepSecond;t=t<0?60+t:t,this.validateTime(this.currentHour,this.currentMinute,t,this.pm)&&(this.currentSecond=t),e.preventDefault()}},{key:"updateTime",value:function(){var e=this.value;this.isRangeSelection()&&(e=this.value[1]||this.value[0]),this.isMultipleSelection()&&(e=this.value[this.value.length-1]),(e=e?new Date(e.getTime()):new Date).setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),e.setMinutes(this.currentMinute),e.setSeconds(this.currentSecond),this.isRangeSelection()&&(e=this.value[1]?[this.value[0],e]:[e,null]),this.isMultipleSelection()&&(e=[].concat(_toConsumableArray(this.value.slice(0,-1)),[e])),this.updateModel(e),this.onSelect.emit(e),this.updateInputfield()}},{key:"toggleAMPM",value:function(e){var t=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,t)&&(this.pm=t,this.updateTime()),e.preventDefault()}},{key:"onUserInput",value:function(e){if(this.isKeydown){this.isKeydown=!1;var t=e.target.value;try{var n=this.parseValueFromString(t);this.isValidSelection(n)&&(this.updateModel(n),this.updateUI())}catch(r){this.updateModel(null)}this.filled=null!=t&&t.length,this.onInput.emit(e)}}},{key:"isValidSelection",value:function(e){var t=this,n=!0;return this.isSingleSelection()?this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)||(n=!1):e.every(function(e){return t.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)})&&this.isRangeSelection()&&(n=e.length>1&&e[1]>e[0]),n}},{key:"parseValueFromString",value:function(e){if(!e||0===e.trim().length)return null;var t;if(this.isSingleSelection())t=this.parseDateTime(e);else if(this.isMultipleSelection()){t=[];var n,r=_createForOfIteratorHelper(e.split(this.multipleSeparator));try{for(r.s();!(n=r.n()).done;){var i=n.value;t.push(this.parseDateTime(i.trim()))}}catch(s){r.e(s)}finally{r.f()}}else if(this.isRangeSelection()){var o=e.split(" "+this.rangeSeparator+" ");t=[];for(var a=0;a<o.length;a++)t[a]=this.parseDateTime(o[a].trim())}return t}},{key:"parseDateTime",value:function(e){var t,n=e.split(" ");if(this.timeOnly)t=new Date,this.populateTime(t,n[0],n[1]);else{var r=this.getDateFormat();if(this.showTime){var i="12"==this.hourFormat?n.pop():null,o=n.pop();t=this.parseDate(n.join(" "),r),this.populateTime(t,o,i)}else t=this.parseDate(e,r)}return t}},{key:"populateTime",value:function(e,t,n){if("12"==this.hourFormat&&!n)throw"Invalid Time";this.pm="PM"===n||"pm"===n;var r=this.parseTime(t);e.setHours(r.hour),e.setMinutes(r.minute),e.setSeconds(r.second)}},{key:"updateUI",value:function(){var e=this.value||this.defaultDate||new Date;Array.isArray(e)&&(e=e[0]),this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(e.getHours()),this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds())}},{key:"showOverlay",value:function(){this.overlayVisible||(this.updateUI(),this.overlayVisible=!0)}},{key:"hideOverlay",value:function(){this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality(),this.cd.markForCheck()}},{key:"toggle",value:function(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild.nativeElement.focus()))}},{key:"onOverlayAnimationStart",value:function(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.overlay=e.element,this.appendOverlay(),this.autoZIndex&&(this.overlay.style.zIndex=String(this.baseZIndex+ ++ne.zindex)),this.alignOverlay(),this.onShow.emit(e));break;case"void":this.onOverlayHide(),this.onClose.emit(e)}}},{key:"onOverlayAnimationDone",value:function(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener())}}},{key:"appendOverlay",value:function(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):ne.appendChild(this.overlay,this.appendTo))}},{key:"restoreOverlayAppend",value:function(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}},{key:"alignOverlay",value:function(){this.touchUI?this.enableModality(this.overlay):this.appendTo?ne.absolutePosition(this.overlay,this.inputfieldViewChild.nativeElement):ne.relativePosition(this.overlay,this.inputfieldViewChild.nativeElement)}},{key:"enableModality",value:function(e){var t=this;this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(e.style.zIndex)-1),ne.addMultipleClasses(this.mask,"p-component-overlay p-datepicker-mask p-datepicker-mask-scrollblocker"),this.maskClickListener=this.renderer.listen(this.mask,"click",function(e){t.disableModality()}),document.body.appendChild(this.mask),ne.addClass(document.body,"p-overflow-hidden"))}},{key:"disableModality",value:function(){if(this.mask){document.body.removeChild(this.mask);for(var e,t=document.body.children,n=0;n<t.length;n++)if(ne.hasClass(t[n],"p-datepicker-mask-scrollblocker")){e=!0;break}e||ne.removeClass(document.body,"p-overflow-hidden"),this.unbindMaskClickListener(),this.mask=null}}},{key:"unbindMaskClickListener",value:function(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}},{key:"writeValue",value:function(e){this.value=e,this.value&&"string"==typeof this.value&&(this.value=this.parseValueFromString(this.value)),this.updateInputfield(),this.updateUI(),this.cd.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.cd.markForCheck()}},{key:"getDateFormat",value:function(){return this.dateFormat}},{key:"formatDate",value:function(e,t){if(!e)return"";var n,r=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},i=function(e,t,n){var i=""+t;if(r(e))for(;i.length<n;)i="0"+i;return i},o=function(e,t,n,i){return r(e)?i[t]:n[t]},s="",l=!1;if(e)for(n=0;n<t.length;n++)if(l)"'"!==t.charAt(n)||r("'")?s+=t.charAt(n):l=!1;else switch(t.charAt(n)){case"d":s+=i("d",e.getDate(),2);break;case"D":s+=o("D",e.getDay(),this.getTranslation(a.ws.DAY_NAMES_SHORT),this.getTranslation(a.ws.DAY_NAMES));break;case"o":s+=i("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":s+=i("m",e.getMonth()+1,2);break;case"M":s+=o("M",e.getMonth(),this.getTranslation(a.ws.MONTH_NAMES_SHORT),this.getTranslation(a.ws.MONTH_NAMES));break;case"y":s+=r("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":s+=e.getTime();break;case"!":s+=1e4*e.getTime()+this.ticksTo1970;break;case"'":r("'")?s+="'":l=!0;break;default:s+=t.charAt(n)}return s}},{key:"formatTime",value:function(e){if(!e)return"";var t="",n=e.getHours(),r=e.getMinutes(),i=e.getSeconds();return"12"==this.hourFormat&&n>11&&12!=n&&(n-=12),t+="12"==this.hourFormat&&0===n?12:n<10?"0"+n:n,t+=":",t+=r<10?"0"+r:r,this.showSeconds&&(t+=":",t+=i<10?"0"+i:i),"12"==this.hourFormat&&(t+=e.getHours()>11?" PM":" AM"),t}},{key:"parseTime",value:function(e){var t=e.split(":");if(t.length!==(this.showSeconds?3:2))throw"Invalid time";var n=parseInt(t[0]),r=parseInt(t[1]),i=this.showSeconds?parseInt(t[2]):null;if(isNaN(n)||isNaN(r)||n>23||r>59||"12"==this.hourFormat&&n>12||this.showSeconds&&(isNaN(i)||i>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==n&&this.pm?n+=12:this.pm||12!==n||(n-=12)),{hour:n,minute:r,second:i}}},{key:"parseDate",value:function(e,t){if(null==t||null==e)throw"Invalid arguments";if(""===(e="object"==typeof e?e.toString():e+""))return null;var n,r,i,o,s=0,l="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),u=-1,c=-1,A=-1,h=-1,d=!1,f=function(e){var r=n+1<t.length&&t.charAt(n+1)===e;return r&&n++,r},p=function(t){var n=f(t),r="@"===t?14:"!"===t?20:"y"===t&&n?4:"o"===t?3:2,i=new RegExp("^\\d{"+("y"===t?r:1)+","+r+"}"),o=e.substring(s).match(i);if(!o)throw"Missing number at position "+s;return s+=o[0].length,parseInt(o[0],10)},_=function(t,n,r){for(var i=-1,o=f(t)?r:n,a=[],l=0;l<o.length;l++)a.push([l,o[l]]);a.sort(function(e,t){return-(e[1].length-t[1].length)});for(var u=0;u<a.length;u++){var c=a[u][1];if(e.substr(s,c.length).toLowerCase()===c.toLowerCase()){i=a[u][0],s+=c.length;break}}if(-1!==i)return i+1;throw"Unknown name at position "+s},g=function(){if(e.charAt(s)!==t.charAt(n))throw"Unexpected literal at position "+s;s++};for("month"===this.view&&(A=1),n=0;n<t.length;n++)if(d)"'"!==t.charAt(n)||f("'")?g():d=!1;else switch(t.charAt(n)){case"d":A=p("d");break;case"D":_("D",this.getTranslation(a.ws.DAY_NAMES_SHORT),this.getTranslation(a.ws.DAY_NAMES));break;case"o":h=p("o");break;case"m":c=p("m");break;case"M":c=_("M",this.getTranslation(a.ws.MONTH_NAMES_SHORT),this.getTranslation(a.ws.MONTH_NAMES));break;case"y":u=p("y");break;case"@":u=(o=new Date(p("@"))).getFullYear(),c=o.getMonth()+1,A=o.getDate();break;case"!":u=(o=new Date((p("!")-this.ticksTo1970)/1e4)).getFullYear(),c=o.getMonth()+1,A=o.getDate();break;case"'":f("'")?g():d=!0;break;default:g()}if(s<e.length&&(i=e.substr(s),!/^\s+/.test(i)))throw"Extra/unparsed characters found in date: "+i;if(-1===u?u=(new Date).getFullYear():u<100&&(u+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u<=l?0:-100)),h>-1)for(c=1,A=h;!(A<=(r=this.getDaysCountInMonth(u,c-1)));)c++,A-=r;if((o=this.daylightSavingAdjust(new Date(u,c-1,A))).getFullYear()!==u||o.getMonth()+1!==c||o.getDate()!==A)throw"Invalid date";return o}},{key:"daylightSavingAdjust",value:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null}},{key:"updateFilledState",value:function(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}},{key:"onTodayButtonClick",value:function(e){var t=new Date,n={day:t.getDate(),month:t.getMonth(),year:t.getFullYear(),otherMonth:t.getMonth()!==this.currentMonth||t.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(e,n),this.onTodayClick.emit(e)}},{key:"onClearButtonClick",value:function(e){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(e)}},{key:"bindDocumentClickListener",value:function(){var e=this;this.documentClickListener||this.zone.runOutsideAngular(function(){e.documentClickListener=e.renderer.listen(e.el?e.el.nativeElement.ownerDocument:"document","click",function(t){e.isOutsideClicked(t)&&e.overlayVisible&&e.zone.run(function(){e.hideOverlay(),e.onClickOutside.emit(t),e.cd.markForCheck()})})})}},{key:"unbindDocumentClickListener",value:function(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}},{key:"bindDocumentResizeListener",value:function(){this.documentResizeListener||this.touchUI||(this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener))}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"bindScrollListener",value:function(){var e=this;this.scrollHandler||(this.scrollHandler=new re(this.containerViewChild.nativeElement,function(){e.overlayVisible&&e.hideOverlay()})),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"isOutsideClicked",value:function(e){return!(this.el.nativeElement.isSameNode(e.target)||this.isNavIconClicked(e)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}},{key:"isNavIconClicked",value:function(e){return ne.hasClass(e.target,"p-datepicker-prev")||ne.hasClass(e.target,"p-datepicker-prev-icon")||ne.hasClass(e.target,"p-datepicker-next")||ne.hasClass(e.target,"p-datepicker-next-icon")}},{key:"onWindowResize",value:function(){this.overlayVisible&&!ne.isAndroid()&&this.hideOverlay()}},{key:"onOverlayHide",value:function(){this.unbindDocumentClickListener(),this.unbindMaskClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.disableModality()}},{key:"ngOnDestroy",value:function(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(r.R0b),r.Y36(a.b4))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-calendar"]],contentQueries:function(e,t,n){var i;(1&e&&r.Suo(n,a.jx,4),2&e)&&(r.iGM(i=r.CRH())&&(t.templates=i))},viewQuery:function(e,t){var n;(1&e&&(r.Gf(qt,5),r.Gf(zt,5),r.Gf(Jt,5)),2&e)&&(r.iGM(n=r.CRH())&&(t.containerViewChild=n.first),r.iGM(n=r.CRH())&&(t.inputfieldViewChild=n.first),r.iGM(n=r.CRH())&&(t.content=n.first))},hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("p-inputwrapper-filled",t.filled)("p-inputwrapper-focus",t.focus)},inputs:{style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",numberOfMonths:"numberOfMonths",view:"view",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",firstDayOfWeek:"firstDayOfWeek",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",defaultDate:"defaultDate",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",locale:"locale"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[r._Bn([Hn])],ngContentSelectors:Nn,decls:4,vars:11,consts:[[3,"ngClass","ngStyle"],["container",""],[3,"ngIf"],[3,"class","ngStyle","ngClass",4,"ngIf"],["type","text","autocomplete","off",3,"value","readonly","ngStyle","placeholder","disabled","ngClass","focus","keydown","click","blur","input"],["inputfield",""],["type","button","pButton","","pRipple","","class","p-datepicker-trigger","tabindex","0",3,"icon","disabled","click",4,"ngIf"],["type","button","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger",3,"icon","disabled","click"],[3,"ngStyle","ngClass"],["contentWrapper",""],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["class","p-datepicker-month",4,"ngIf"],["tabindex","0","class","p-datepicker-month",3,"change",4,"ngIf"],["tabindex","0","class","p-datepicker-year",3,"change",4,"ngIf"],["class","p-datepicker-year",4,"ngIf"],["class","p-datepicker-next p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],[1,"p-datepicker-prev-icon","pi","pi-chevron-left"],[1,"p-datepicker-month"],["tabindex","0",1,"p-datepicker-month",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["tabindex","0",1,"p-datepicker-year",3,"change"],[1,"p-datepicker-year"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[1,"p-datepicker-next-icon","pi","pi-chevron-right"],[1,"p-datepicker-calendar-container"],[1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],[3,"ngClass"],["draggable","false","pRipple","",3,"ngClass","click","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"ngClass","click","keydown"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","mousedown","mouseup","mouseleave"],[1,"pi","pi-chevron-up"],[1,"pi","pi-chevron-down"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"label","ngClass","keydown","click"]],template:function(e,t){1&e&&(r.F$t(Ln),r.TgZ(0,"span",0,1),r.YNc(2,Yt,3,16,"ng-template",2),r.YNc(3,Fn,9,28,"div",3),r.qZA()),2&e&&(r.Tol(t.styleClass),r.Q6J("ngClass",r.l5B(6,Rn,t.showIcon,t.timeOnly,t.disabled,t.focus))("ngStyle",t.style),r.xp6(2),r.Q6J("ngIf",!t.inline),r.xp6(1),r.Q6J("ngIf",t.inline||t.overlayVisible))},directives:[i.mk,i.PC,i.O5,kt,se,i.tP,i.sg],styles:[".p-calendar{position:relative;display:inline-flex}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute}.p-datepicker-inline{position:static}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-next,.p-datepicker-prev{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;margin:0 auto}.p-datepicker td>span,.p-monthpicker-month{justify-content:center;align-items:center;cursor:pointer;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker,.p-timepicker button{display:flex;justify-content:center;align-items:center}.p-timepicker button{cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-calendar .p-datepicker-touch-ui,.p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}"],encapsulation:2,data:{animation:[(0,te.X$)("overlayAnimation",[(0,te.SB)("visibleTouchUI",(0,te.oB)({transform:"translate(-50%,-50%)",opacity:1})),(0,te.eR)("void => visible",[(0,te.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,te.jt)("{{showTransitionParams}}",(0,te.oB)({opacity:1,transform:"*"}))]),(0,te.eR)("visible => void",[(0,te.jt)("{{hideTransitionParams}}",(0,te.oB)({opacity:0}))]),(0,te.eR)("void => visibleTouchUI",[(0,te.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,te.jt)("{{showTransitionParams}}")]),(0,te.eR)("visibleTouchUI => void",[(0,te.jt)("{{hideTransitionParams}}",(0,te.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0}),e}(),Zn=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,Ot,a.m8,le],Ot,a.m8]}),e}(),Vn=["input"],Wn=function(){return{"p-inputnumber-button p-inputnumber-button-up":!0}},qn=function(){return{"p-inputnumber-button p-inputnumber-button-down":!0}};function zn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"span",5),r.TgZ(1,"button",6),r.NdJ("mousedown",function(e){return r.CHM(n),r.oxw().onUpButtonMouseDown(e)})("mouseup",function(){return r.CHM(n),r.oxw().onUpButtonMouseUp()})("mouseleave",function(){return r.CHM(n),r.oxw().onUpButtonMouseLeave()})("keydown",function(e){return r.CHM(n),r.oxw().onUpButtonKeyDown(e)})("keyup",function(){return r.CHM(n),r.oxw().onUpButtonKeyUp()}),r.qZA(),r.TgZ(2,"button",6),r.NdJ("mousedown",function(e){return r.CHM(n),r.oxw().onDownButtonMouseDown(e)})("mouseup",function(){return r.CHM(n),r.oxw().onDownButtonMouseUp()})("mouseleave",function(){return r.CHM(n),r.oxw().onDownButtonMouseLeave()})("keydown",function(e){return r.CHM(n),r.oxw().onDownButtonKeyDown(e)})("keyup",function(){return r.CHM(n),r.oxw().onDownButtonKeyUp()}),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.xp6(1),r.Tol(i.incrementButtonClass),r.Q6J("ngClass",r.DdM(10,Wn))("icon",i.incrementButtonIcon)("disabled",i.disabled),r.xp6(1),r.Tol(i.decrementButtonClass),r.Q6J("ngClass",r.DdM(11,qn))("icon",i.decrementButtonIcon)("disabled",i.disabled)}}function Jn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",6),r.NdJ("mousedown",function(e){return r.CHM(n),r.oxw().onUpButtonMouseDown(e)})("mouseup",function(){return r.CHM(n),r.oxw().onUpButtonMouseUp()})("mouseleave",function(){return r.CHM(n),r.oxw().onUpButtonMouseLeave()})("keydown",function(e){return r.CHM(n),r.oxw().onUpButtonKeyDown(e)})("keyup",function(){return r.CHM(n),r.oxw().onUpButtonKeyUp()}),r.qZA()}if(2&e){var i=r.oxw();r.Tol(i.incrementButtonClass),r.Q6J("ngClass",r.DdM(5,Wn))("icon",i.incrementButtonIcon)("disabled",i.disabled)}}function Gn(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",6),r.NdJ("mousedown",function(e){return r.CHM(n),r.oxw().onDownButtonMouseDown(e)})("mouseup",function(){return r.CHM(n),r.oxw().onDownButtonMouseUp()})("mouseleave",function(){return r.CHM(n),r.oxw().onDownButtonMouseLeave()})("keydown",function(e){return r.CHM(n),r.oxw().onDownButtonKeyDown(e)})("keyup",function(){return r.CHM(n),r.oxw().onDownButtonKeyUp()}),r.qZA()}if(2&e){var i=r.oxw();r.Tol(i.decrementButtonClass),r.Q6J("ngClass",r.DdM(5,qn))("icon",i.decrementButtonIcon)("disabled",i.disabled)}}var Yn=function(e,t,n){return{"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":e,"p-inputnumber-buttons-horizontal":t,"p-inputnumber-buttons-vertical":n}},jn={provide:o.JU,useExisting:(0,r.Gpc)(function(){return Xn}),multi:!0},Xn=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.el=t,this.cd=n,this.showButtons=!1,this.format=!0,this.buttonLayout="stacked",this.incrementButtonIcon="pi pi-angle-up",this.decrementButtonIcon="pi pi-angle-down",this.step=1,this.onInput=new r.vpe,this.onFocus=new r.vpe,this.onBlur=new r.vpe,this.onKeyDown=new r.vpe,this.onModelChange=function(){},this.onModelTouched=function(){},this.groupChar="",this.prefixChar="",this.suffixChar="",this._modeOption="decimal",this._useGroupingOption=!0}return _createClass(e,[{key:"locale",get:function(){return this._localeOption},set:function(e){this._localeOption=e,this.updateConstructParser()}},{key:"localeMatcher",get:function(){return this._localeMatcherOption},set:function(e){this._localeMatcherOption=e,this.updateConstructParser()}},{key:"mode",get:function(){return this._modeOption},set:function(e){this._modeOption=e,this.updateConstructParser()}},{key:"currency",get:function(){return this._currencyOption},set:function(e){this._currencyOption=e,this.updateConstructParser()}},{key:"currencyDisplay",get:function(){return this._currencyDisplayOption},set:function(e){this._currencyDisplayOption=e,this.updateConstructParser()}},{key:"useGrouping",get:function(){return this._useGroupingOption},set:function(e){this._useGroupingOption=e,this.updateConstructParser()}},{key:"minFractionDigits",get:function(){return this._minFractionDigitsOption},set:function(e){this._minFractionDigitsOption=e,this.updateConstructParser()}},{key:"maxFractionDigits",get:function(){return this._maxFractionDigitsOption},set:function(e){this._maxFractionDigitsOption=e,this.updateConstructParser()}},{key:"prefix",get:function(){return this._prefixOption},set:function(e){this._prefixOption=e,this.updateConstructParser()}},{key:"suffix",get:function(){return this._suffixOption},set:function(e){this._suffixOption=e,this.updateConstructParser()}},{key:"disabled",get:function(){return this._disabled},set:function(e){e&&(this.focused=!1),this._disabled=e,this.timer&&this.clearTimer()}},{key:"ngOnInit",value:function(){this.constructParser(),this.initialized=!0}},{key:"getOptions",value:function(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}},{key:"constructParser",value:function(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());var e=_toConsumableArray(new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)).reverse(),t=new Map(e.map(function(e,t){return[e,t]}));this._numeral=new RegExp("[".concat(e.join(""),"]"),"g"),this._decimal=this.getDecimalExpression(),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=function(e){return t.get(e)}}},{key:"updateConstructParser",value:function(){this.initialized&&this.constructParser()}},{key:"escapeRegExp",value:function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},{key:"getDecimalExpression",value:function(){var e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp("[".concat(e.format(1.1).trim().replace(this._numeral,""),"]"),"g")}},{key:"getGroupingExpression",value:function(){var e=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=e.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp("[".concat(this.groupChar,"]"),"g")}},{key:"getMinusSignExpression",value:function(){var e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp("[".concat(e.format(-1).trim().replace(this._numeral,""),"]"),"g")}},{key:"getCurrencyExpression",value:function(){if(this.currency){var e=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay});return new RegExp("[".concat(e.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._decimal,"").replace(this._group,""),"]"),"g")}return new RegExp("[]","g")}},{key:"getPrefixExpression",value:function(){if(this.prefix)this.prefixChar=this.prefix;else{var e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=e.format(1).split("1")[0]}return new RegExp("".concat(this.escapeRegExp(this.prefixChar||"")),"g")}},{key:"getSuffixExpression",value:function(){if(this.suffix)this.suffixChar=this.suffix;else{var e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=e.format(1).split("1")[1]}return new RegExp("".concat(this.escapeRegExp(this.suffixChar||"")),"g")}},{key:"formatValue",value:function(e){if(null!=e){if("-"===e)return e;if(this.format){var t=new Intl.NumberFormat(this.locale,this.getOptions()).format(e);return this.prefix&&(t=this.prefix+t),this.suffix&&(t+=this.suffix),t}return e.toString()}return""}},{key:"parseValue",value:function(e){var t=e.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(t){if("-"===t)return t;var n=+t;return isNaN(n)?null:n}return null}},{key:"repeat",value:function(e,t,n){var r=this,i=t||500;this.clearTimer(),this.timer=setTimeout(function(){r.repeat(e,40,n)},i),this.spin(e,n)}},{key:"spin",value:function(e,t){var n=this.step*t,r=this.parseValue(this.input.nativeElement.value)||0,i=this.validateValue(r+n);this.maxlength&&this.maxlength<this.formatValue(i).length||(this.updateInput(i,null,"spin"),this.updateModel(e,i),this.handleOnInput(e,r,i))}},{key:"onUpButtonMouseDown",value:function(e){this.input.nativeElement.focus(),this.repeat(e,null,1),e.preventDefault()}},{key:"onUpButtonMouseUp",value:function(){this.clearTimer()}},{key:"onUpButtonMouseLeave",value:function(){this.clearTimer()}},{key:"onUpButtonKeyDown",value:function(e){32!==e.keyCode&&13!==e.keyCode||this.repeat(e,null,1)}},{key:"onUpButtonKeyUp",value:function(){this.clearTimer()}},{key:"onDownButtonMouseDown",value:function(e){this.input.nativeElement.focus(),this.repeat(e,null,-1),e.preventDefault()}},{key:"onDownButtonMouseUp",value:function(){this.clearTimer()}},{key:"onDownButtonMouseLeave",value:function(){this.clearTimer()}},{key:"onDownButtonKeyUp",value:function(){this.clearTimer()}},{key:"onDownButtonKeyDown",value:function(e){32!==e.keyCode&&13!==e.keyCode||this.repeat(e,null,-1)}},{key:"onUserInput",value:function(e){this.isSpecialChar&&(e.target.value=this.lastValue),this.isSpecialChar=!1}},{key:"onInputKeyDown",value:function(e){if(this.lastValue=e.target.value,e.shiftKey||e.altKey)this.isSpecialChar=!0;else{var t=e.target.selectionStart,n=e.target.selectionEnd,r=e.target.value,i=null;switch(e.altKey&&e.preventDefault(),e.which){case 38:this.spin(e,1),e.preventDefault();break;case 40:this.spin(e,-1),e.preventDefault();break;case 37:this.isNumeralChar(r.charAt(t-1))||e.preventDefault();break;case 39:this.isNumeralChar(r.charAt(t))||e.preventDefault();break;case 13:var o=this.validateValue(this.parseValue(this.input.nativeElement.value));this.input.nativeElement.value=this.formatValue(o),this.input.nativeElement.setAttribute("aria-valuenow",o),this.updateModel(e,o);break;case 8:if(e.preventDefault(),t===n){var a=r.charAt(t-1),s=r.search(this._decimal);this._decimal.lastIndex=0,this.isNumeralChar(a)&&(this._group.test(a)?(this._group.lastIndex=0,i=r.slice(0,t-2)+r.slice(t-1)):this._decimal.test(a)?(this._decimal.lastIndex=0,this.input.nativeElement.setSelectionRange(t-1,t-1)):s>0&&t>s?i=r.slice(0,t-1)+"0"+r.slice(t):s>0&&1===s?(i=r.slice(0,t-1)+"0"+r.slice(t),i=this.parseValue(i)>0?i:""):i=r.slice(0,t-1)+r.slice(t)),this.updateValue(e,i,null,"delete-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range");break;case 46:if(e.preventDefault(),t===n){var l=r.charAt(t),u=r.search(this._decimal);this._decimal.lastIndex=0,this.isNumeralChar(l)&&(this._group.test(l)?(this._group.lastIndex=0,i=r.slice(0,t)+r.slice(t+2)):this._decimal.test(l)?(this._decimal.lastIndex=0,this.input.nativeElement.setSelectionRange(t+1,t+1)):u>0&&t>u?i=r.slice(0,t)+"0"+r.slice(t+1):u>0&&1===u?(i=r.slice(0,t)+"0"+r.slice(t+1),i=this.parseValue(i)>0?i:""):i=r.slice(0,t)+r.slice(t+1)),this.updateValue(e,i,null,"delete-back-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range")}this.onKeyDown.emit(e)}}},{key:"onInputKeyPress",value:function(e){e.preventDefault();var t=e.which||e.keyCode,n=String.fromCharCode(t),r=this.isDecimalSign(n),i=this.isMinusSign(n);(48<=t&&t<=57||i||r)&&this.insert(e,n,{isDecimalSign:r,isMinusSign:i})}},{key:"onPaste",value:function(e){if(!this.disabled){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("Text");if(t){var n=this.parseValue(t);null!=n&&this.insert(e,n.toString())}}}},{key:"isMinusSign",value:function(e){return!!this._minusSign.test(e)&&(this._minusSign.lastIndex=0,!0)}},{key:"isDecimalSign",value:function(e){return!!this._decimal.test(e)&&(this._decimal.lastIndex=0,!0)}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},r=this.input.nativeElement.selectionStart,i=this.input.nativeElement.selectionEnd,o=this.input.nativeElement.value.trim(),a=o.search(this._decimal);this._decimal.lastIndex=0;var s,l=o.search(this._minusSign);if(this._minusSign.lastIndex=0,n.isMinusSign)0===r&&(s=o,-1!==l&&0===i||(s=this.insertText(o,t,0,i)),this.updateValue(e,s,t,"insert"));else if(n.isDecimalSign)a>0&&r===a?this.updateValue(e,o,t,"insert"):a>r&&a<i&&(s=this.insertText(o,t,r,i),this.updateValue(e,s,t,"insert"));else{var u=this.numberFormat.resolvedOptions().maximumFractionDigits,c=r!==i?"range-insert":"insert";a>0&&r>a?r+t.length-(a+1)<=u&&(s=o.slice(0,r)+t+o.slice(r+t.length),this.updateValue(e,s,t,c)):(s=this.insertText(o,t,r,i),this.updateValue(e,s,t,c))}}},{key:"insertText",value:function(e,t,n,r){if(2==t.split(".").length){var i=e.slice(n,r).search(this._decimal);return this._decimal.lastIndex=0,i>0?e.slice(0,n)+this.formatValue(t)+e.slice(r):e||this.formatValue(t)}return r-n===e.length?this.formatValue(t):0===n?t+e.slice(r):r===e.length?e.slice(0,n)+t:e.slice(0,n)+t+e.slice(r)}},{key:"deleteRange",value:function(e,t,n){return n-t===e.length?"":0===t?e.slice(n):n===e.length?e.slice(0,t):e.slice(0,t)+e.slice(n)}},{key:"initCursor",value:function(){var e=this.input.nativeElement.selectionStart,t=this.input.nativeElement.value,n=t.length,r=null,i=t.charAt(e);if(!this.isNumeralChar(i)){for(var o=e-1;o>=0;){if(i=t.charAt(o),this.isNumeralChar(i)){r=o;break}o--}if(null!==r)this.input.nativeElement.setSelectionRange(r+1,r+1);else{for(o=e+1;o<n;){if(i=t.charAt(o),this.isNumeralChar(i)){r=o;break}o++}null!==r&&this.input.nativeElement.setSelectionRange(r,r)}}}},{key:"onInputClick",value:function(){this.initCursor()}},{key:"isNumeralChar",value:function(e){return!(1!==e.length||!(this._numeral.test(e)||this._decimal.test(e)||this._group.test(e)||this._minusSign.test(e))||(this.resetRegex(),0))}},{key:"resetRegex",value:function(){this._numeral.lastIndex=0,this._decimal.lastIndex=0,this._group.lastIndex=0,this._minusSign.lastIndex=0}},{key:"updateValue",value:function(e,t,n,r){var i=this.input.nativeElement.value,o=null;null!=t&&(o=this.parseValue(t),this.updateInput(o,n,r)),this.handleOnInput(e,i,o)}},{key:"handleOnInput",value:function(e,t,n){this.isValueChanged(t,n)&&this.onInput.emit({originalEvent:e,value:n})}},{key:"isValueChanged",value:function(e,t){return null===t&&null!==e||null!=t&&t!==("string"==typeof e?this.parseValue(e):e)}},{key:"validateValue",value:function(e){return null!==this.min&&e<this.min?this.min:null!==this.max&&e>this.max?this.max:"-"===e?null:e}},{key:"updateInput",value:function(e,t,n){t=t||"";var r=this.input.nativeElement.value,i=this.formatValue(e),o=r.length;if(0===o){this.input.nativeElement.value=i,this.input.nativeElement.setSelectionRange(0,0),this.initCursor();var a=(this.prefixChar||"").length+t.length;this.input.nativeElement.setSelectionRange(a,a)}else{var s=this.input.nativeElement.selectionStart,l=this.input.nativeElement.selectionEnd;if(this.maxlength&&this.maxlength<i.length)return;this.input.nativeElement.value=i;var u=i.length;if("range-insert"===n){var c=this.parseValue((r||"").slice(0,s)),A=(null!==c?c.toString():"").split("").join("(".concat(this.groupChar,")?")),h=new RegExp(A,"g");h.test(i);var d=t.split("").join("(".concat(this.groupChar,")?")),f=new RegExp(d,"g");f.test(i.slice(h.lastIndex)),l=h.lastIndex+f.lastIndex,this.input.nativeElement.setSelectionRange(l,l)}else if(u===o)"insert"===n||"delete-back-single"===n?this.input.nativeElement.setSelectionRange(l+1,l+1):"delete-single"===n?this.input.nativeElement.setSelectionRange(l-1,l-1):"delete-range"!==n&&"spin"!==n||this.input.nativeElement.setSelectionRange(l,l);else if("delete-back-single"===n){var p=r.charAt(l-1),_=r.charAt(l),g=o-u,v=this._group.test(_);v&&1===g?l+=1:!v&&this.isNumeralChar(p)&&(l+=-1*g+1),this._group.lastIndex=0,this.input.nativeElement.setSelectionRange(l,l)}else l+=u-o,this.input.nativeElement.setSelectionRange(l,l)}this.input.nativeElement.setAttribute("aria-valuenow",e)}},{key:"onInputFocus",value:function(e){this.focused=!0,this.onFocus.emit(e)}},{key:"onInputBlur",value:function(e){this.focused=!1;var t=this.validateValue(this.parseValue(this.input.nativeElement.value));this.input.nativeElement.value=this.formatValue(t),this.input.nativeElement.setAttribute("aria-valuenow",t),this.updateModel(e,t),this.onBlur.emit(e)}},{key:"formattedValue",value:function(){return this.formatValue(this.value)}},{key:"updateModel",value:function(e,t){this.value!==t&&(this.value=t,this.onModelChange(t)),this.onModelTouched()}},{key:"writeValue",value:function(e){this.value=e,this.cd.markForCheck()}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.cd.markForCheck()}},{key:"filled",get:function(){return null!=this.value&&this.value.toString().length>0}},{key:"clearTimer",value:function(){this.timer&&clearInterval(this.timer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-inputNumber"]],viewQuery:function(e,t){var n;(1&e&&r.Gf(Vn,5),2&e)&&(r.iGM(n=r.CRH())&&(t.input=n.first))},hostVars:4,hostBindings:function(e,t){2&e&&r.ekj("p-inputwrapper-filled",t.filled)("p-inputwrapper-focus",t.focused)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",step:"step",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown"},features:[r._Bn([jn])],decls:6,vars:30,consts:[[3,"ngClass","ngStyle"],["pInputText","",3,"ngClass","ngStyle","value","disabled","input","keydown","keypress","paste","click","focus","blur"],["input",""],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","",3,"ngClass","class","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[1,"p-inputnumber-button-group"],["type","button","pButton","",3,"ngClass","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup"]],template:function(e,t){1&e&&(r.TgZ(0,"span",0),r.TgZ(1,"input",1,2),r.NdJ("input",function(e){return t.onUserInput(e)})("keydown",function(e){return t.onInputKeyDown(e)})("keypress",function(e){return t.onInputKeyPress(e)})("paste",function(e){return t.onPaste(e)})("click",function(){return t.onInputClick()})("focus",function(e){return t.onInputFocus(e)})("blur",function(e){return t.onInputBlur(e)}),r.qZA(),r.YNc(3,zn,3,12,"span",3),r.YNc(4,Jn,1,6,"button",4),r.YNc(5,Gn,1,6,"button",4),r.qZA()),2&e&&(r.Tol(t.styleClass),r.Q6J("ngClass",r.kEZ(26,Yn,t.showButtons&&"stacked"===t.buttonLayout,t.showButtons&&"horizontal"===t.buttonLayout,t.showButtons&&"vertical"===t.buttonLayout))("ngStyle",t.style),r.xp6(1),r.Tol(t.inputStyleClass),r.Q6J("ngClass","p-inputnumber-input")("ngStyle",t.inputStyle)("value",t.formattedValue())("disabled",t.disabled),r.uIk("placeholder",t.placeholder)("title",t.title)("id",t.inputId)("size",t.size)("name",t.name)("autocomplete",t.autocomplete)("maxlength",t.maxlength)("tabindex",t.tabindex)("aria-label",t.ariaLabel)("aria-required",t.ariaRequired)("required",t.required)("aria-valuemin",t.min)("aria-valuemax",t.max),r.xp6(2),r.Q6J("ngIf",t.showButtons&&"stacked"===t.buttonLayout),r.xp6(1),r.Q6J("ngIf",t.showButtons&&"stacked"!==t.buttonLayout),r.xp6(1),r.Q6J("ngIf",t.showButtons&&"stacked"!==t.buttonLayout))},directives:[i.mk,i.PC,bt,i.O5,kt],styles:[".p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}"],encapsulation:2,changeDetection:0}),e}(),$n=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,Tt,Ot]]}),e}(),er=["container"],tr=["resizeHelper"],nr=["reorderIndicatorUp"],rr=["reorderIndicatorDown"],ir=["table"],or=["scrollableView"],ar=["scrollableFrozenView"];function sr(e,t){if(1&e&&(r.TgZ(0,"div",12),r._UZ(1,"i"),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Tol("p-datatable-loading-icon pi-spin "+n.loadingIcon)}}function lr(e,t){1&e&&r.GkF(0)}function ur(e,t){if(1&e&&(r.TgZ(0,"div",13),r.YNc(1,lr,1,0,"ng-container",14),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.captionTemplate)}}function cr(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"p-paginator",15),r.NdJ("onPageChange",function(e){return r.CHM(n),r.oxw().onPageChange(e)}),r.qZA()}if(2&e){var i=r.oxw();r.Q6J("rows",i.rows)("first",i.first)("totalRecords",i.totalRecords)("pageLinkSize",i.pageLinks)("alwaysShow",i.alwaysShowPaginator)("rowsPerPageOptions",i.rowsPerPageOptions)("templateLeft",i.paginatorLeftTemplate)("templateRight",i.paginatorRightTemplate)("dropdownAppendTo",i.paginatorDropdownAppendTo)("dropdownScrollHeight",i.paginatorDropdownScrollHeight)("currentPageReportTemplate",i.currentPageReportTemplate)("showFirstLastIcon",i.showFirstLastIcon)("dropdownItemTemplate",i.paginatorDropdownItemTemplate)("showCurrentPageReport",i.showCurrentPageReport)("showJumpToPageDropdown",i.showJumpToPageDropdown)("showPageLinks",i.showPageLinks)}}function Ar(e,t){1&e&&r.GkF(0)}function hr(e,t){1&e&&r.GkF(0)}function dr(e,t){1&e&&r.GkF(0)}var fr=function(e){return{$implicit:e}};function pr(e,t){if(1&e&&(r.TgZ(0,"tfoot",23),r.YNc(1,dr,1,0,"ng-container",19),r.qZA()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngTemplateOutlet",n.footerTemplate)("ngTemplateOutletContext",r.VKq(2,fr,n.columns))}}function _r(e,t){if(1&e&&(r.TgZ(0,"div",16),r.TgZ(1,"table",17,18),r.YNc(3,Ar,1,0,"ng-container",19),r.TgZ(4,"thead",20),r.YNc(5,hr,1,0,"ng-container",19),r.qZA(),r._UZ(6,"tbody",21),r.YNc(7,pr,2,4,"tfoot",22),r.qZA(),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngClass",n.tableStyleClass)("ngStyle",n.tableStyle),r.xp6(2),r.Q6J("ngTemplateOutlet",n.colGroupTemplate)("ngTemplateOutletContext",r.VKq(9,fr,n.columns)),r.xp6(2),r.Q6J("ngTemplateOutlet",n.headerTemplate)("ngTemplateOutletContext",r.VKq(11,fr,n.columns)),r.xp6(1),r.Q6J("pTableBody",n.columns)("pTableBodyTemplate",n.bodyTemplate),r.xp6(1),r.Q6J("ngIf",n.footerTemplate)}}var gr=function(e){return{width:e}};function vr(e,t){if(1&e&&r._UZ(0,"div",28,29),2&e){var n=r.oxw(2);r.Q6J("pScrollableView",n.frozenColumns)("frozen",!0)("ngStyle",r.VKq(4,gr,n.frozenWidth))("scrollHeight",n.scrollHeight)}}var mr=function(e,t){return{left:e,width:t}};function yr(e,t){if(1&e&&(r.TgZ(0,"div",24),r.YNc(1,vr,2,6,"div",25),r._UZ(2,"div",26,27),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngIf",n.frozenColumns||n.frozenBodyTemplate),r.xp6(1),r.Q6J("pScrollableView",n.columns)("frozen",!1)("scrollHeight",n.scrollHeight)("ngStyle",r.WLB(5,mr,n.frozenWidth,"calc(100% - "+n.frozenWidth+")"))}}function Er(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"p-paginator",30),r.NdJ("onPageChange",function(e){return r.CHM(n),r.oxw().onPageChange(e)}),r.qZA()}if(2&e){var i=r.oxw();r.Q6J("rows",i.rows)("first",i.first)("totalRecords",i.totalRecords)("pageLinkSize",i.pageLinks)("alwaysShow",i.alwaysShowPaginator)("rowsPerPageOptions",i.rowsPerPageOptions)("templateLeft",i.paginatorLeftTemplate)("templateRight",i.paginatorRightTemplate)("dropdownAppendTo",i.paginatorDropdownAppendTo)("dropdownScrollHeight",i.paginatorDropdownScrollHeight)("currentPageReportTemplate",i.currentPageReportTemplate)("showFirstLastIcon",i.showFirstLastIcon)("dropdownItemTemplate",i.paginatorDropdownItemTemplate)("showCurrentPageReport",i.showCurrentPageReport)("showJumpToPageDropdown",i.showJumpToPageDropdown)("showPageLinks",i.showPageLinks)}}function Cr(e,t){1&e&&r.GkF(0)}function wr(e,t){if(1&e&&(r.TgZ(0,"div",31),r.YNc(1,Cr,1,0,"ng-container",14),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.summaryTemplate)}}function Br(e,t){1&e&&r._UZ(0,"div",32,33)}function br(e,t){1&e&&r._UZ(0,"span",34,35)}function Tr(e,t){1&e&&r._UZ(0,"span",36,37)}var kr=function(e,t,n,r,i,o,a){return{"p-datatable p-component":!0,"p-datatable-hoverable-rows":e,"p-datatable-auto-layout":t,"p-datatable-resizable":n,"p-datatable-resizable-fit":r,"p-datatable-scrollable":i,"p-datatable-flex-scrollable":o,"p-datatable-responsive":a}},Or=["pTableBody",""];function Mr(e,t){1&e&&r.GkF(0)}var Dr=function(e,t,n,r){return{$implicit:e,rowIndex:t,columns:n,editing:r}};function Ir(e,t){if(1&e&&r.YNc(0,Mr,1,0,"ng-container",2),2&e){var n=t.$implicit,i=t.index,o=r.oxw(2);r.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",r.l5B(2,Dr,n,o.dt.paginator?o.dt.first+i:i,o.columns,"row"===o.dt.editMode&&o.dt.isRowEditing(n)))}}function Ur(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Ir,1,7,"ng-template",1),r.ALo(2,"slice"),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngForOf",n.dt.paginator&&!n.dt.lazy?r.Dn7(2,2,n.dt.filteredValue||n.dt.value,n.dt.first,n.dt.first+n.dt.rows):n.dt.filteredValue||n.dt.value)("ngForTrackBy",n.dt.rowTrackBy)}}function xr(e,t){1&e&&r.GkF(0)}function Pr(e,t){if(1&e&&r.YNc(0,xr,1,0,"ng-container",2),2&e){var n=t.$implicit,i=t.index,o=r.oxw(2);r.Q6J("ngTemplateOutlet",n?o.template:o.dt.loadingBodyTemplate)("ngTemplateOutletContext",r.l5B(2,Dr,n,o.dt.paginator?o.dt.first+i:i,o.columns,"row"===o.dt.editMode&&o.dt.isRowEditing(n)))}}function Sr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Pr,1,7,"ng-template",3),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("cdkVirtualForOf",n.dt.filteredValue||n.dt.value)("cdkVirtualForTrackBy",n.dt.rowTrackBy)("cdkVirtualForTemplateCacheSize",0)}}function Qr(e,t){1&e&&r.GkF(0)}function Fr(e,t){1&e&&r.GkF(0)}var Lr=function(e,t,n){return{$implicit:e,rowIndex:t,columns:n}};function Rr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Fr,1,0,"ng-container",2),r.BQk()),2&e){var n=r.oxw(),i=n.$implicit,o=n.index,a=r.oxw(2);r.xp6(1),r.Q6J("ngTemplateOutlet",a.dt.expandedRowTemplate)("ngTemplateOutletContext",r.kEZ(2,Lr,i,a.dt.paginator?a.dt.first+o:o,a.columns))}}var Nr=function(e,t,n,r,i){return{$implicit:e,rowIndex:t,columns:n,expanded:r,editing:i}};function Hr(e,t){if(1&e&&(r.YNc(0,Qr,1,0,"ng-container",2),r.YNc(1,Rr,2,6,"ng-container",0)),2&e){var n=t.$implicit,i=t.index,o=r.oxw(2);r.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",r.qbA(3,Nr,n,o.dt.paginator?o.dt.first+i:i,o.columns,o.dt.isRowExpanded(n),"row"===o.dt.editMode&&o.dt.isRowEditing(n))),r.xp6(1),r.Q6J("ngIf",o.dt.isRowExpanded(n))}}function Kr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Hr,2,9,"ng-template",1),r.ALo(2,"slice"),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngForOf",n.dt.paginator&&!n.dt.lazy?r.Dn7(2,2,n.dt.filteredValue||n.dt.value,n.dt.first,n.dt.first+n.dt.rows):n.dt.filteredValue||n.dt.value)("ngForTrackBy",n.dt.rowTrackBy)}}function Zr(e,t){1&e&&r.GkF(0)}function Vr(e,t){1&e&&r.GkF(0)}function Wr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Vr,1,0,"ng-container",2),r.BQk()),2&e){var n=r.oxw(),i=n.$implicit,o=n.index,a=r.oxw(2);r.xp6(1),r.Q6J("ngTemplateOutlet",a.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",r.kEZ(2,Lr,i,a.dt.paginator?a.dt.first+o:o,a.columns))}}function qr(e,t){if(1&e&&(r.YNc(0,Zr,1,0,"ng-container",2),r.YNc(1,Wr,2,6,"ng-container",0)),2&e){var n=t.$implicit,i=t.index,o=r.oxw(2);r.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",r.qbA(3,Nr,n,o.dt.paginator?o.dt.first+i:i,o.columns,o.dt.isRowExpanded(n),"row"===o.dt.editMode&&o.dt.isRowEditing(n))),r.xp6(1),r.Q6J("ngIf",o.dt.isRowExpanded(n))}}function zr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,qr,2,9,"ng-template",1),r.ALo(2,"slice"),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngForOf",n.dt.paginator&&!n.dt.lazy?r.Dn7(2,2,n.dt.filteredValue||n.dt.value,n.dt.first,n.dt.first+n.dt.rows):n.dt.filteredValue||n.dt.value)("ngForTrackBy",n.dt.rowTrackBy)}}function Jr(e,t){1&e&&r.GkF(0)}var Gr=function(e,t){return{$implicit:e,frozen:t}};function Yr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,Jr,1,0,"ng-container",2),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.dt.loadingBodyTemplate)("ngTemplateOutletContext",r.WLB(2,Gr,n.columns,n.frozen))}}function jr(e,t){1&e&&r.GkF(0)}function Xr(e,t){if(1&e&&(r.ynx(0),r.YNc(1,jr,1,0,"ng-container",2),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngTemplateOutlet",n.dt.emptyMessageTemplate)("ngTemplateOutletContext",r.WLB(2,Gr,n.columns,n.frozen))}}var $r=["scrollHeader"],ei=["scrollHeaderBox"],ti=["scrollBody"],ni=["scrollTable"],ri=["scrollFooter"],ii=["scrollFooterBox"],oi=["scrollableAligner"],ai=["pScrollableView",""];function si(e,t){1&e&&r.GkF(0)}function li(e,t){1&e&&r.GkF(0)}function ui(e,t){1&e&&r.GkF(0)}function ci(e,t){if(1&e&&r.YNc(0,ui,1,0,"ng-container",5),2&e){var n=t.$implicit,i=t.index,o=r.oxw();r.Q6J("ngTemplateOutlet",o.dt.frozenRowsTemplate)("ngTemplateOutletContext",r.kEZ(2,Lr,n,i,o.columns))}}function Ai(e,t){1&e&&r.GkF(0)}function hi(e,t){1&e&&r._UZ(0,"div",23,24)}var di=function(e,t){return{"max-height":e,"overflow-y":t}};function fi(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"div",17,18),r.TgZ(3,"table",19,20),r.YNc(5,Ai,1,0,"ng-container",5),r._UZ(6,"tbody",21),r.qZA(),r.YNc(7,hi,2,0,"div",22),r.qZA(),r.BQk()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngStyle",r.WLB(10,di,"flex"!==n.dt.scrollHeight?n.scrollHeight:void 0,!n.frozen&&n.dt.scrollHeight?"scroll":void 0)),r.xp6(2),r.Tol(n.dt.tableStyleClass),r.Q6J("ngStyle",n.dt.tableStyle),r.xp6(2),r.Q6J("ngTemplateOutlet",n.frozen&&n.dt.frozenColGroupTemplate||n.dt.colGroupTemplate)("ngTemplateOutletContext",r.VKq(13,fr,n.columns)),r.xp6(1),r.Q6J("pTableBody",n.columns)("pTableBodyTemplate",n.frozen&&n.dt.frozenBodyTemplate||n.dt.bodyTemplate)("frozen",n.frozen),r.xp6(1),r.Q6J("ngIf",n.frozen)}}function pi(e,t){1&e&&r.GkF(0)}function _i(e,t){1&e&&r._UZ(0,"div",23,24)}function gi(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"cdk-virtual-scroll-viewport",25),r.NdJ("scrolledIndexChange",function(e){return r.CHM(n),r.oxw().onScrollIndexChange(e)}),r.TgZ(1,"table",19,20),r.YNc(3,pi,1,0,"ng-container",5),r._UZ(4,"tbody",21),r.qZA(),r.YNc(5,_i,2,0,"div",22),r.qZA()}if(2&e){var i=r.oxw();r.Udp("height","flex"!==i.dt.scrollHeight?i.scrollHeight:void 0),r.Q6J("itemSize",i.dt.virtualRowHeight)("minBufferPx",i.dt.minBufferPx)("maxBufferPx",i.dt.maxBufferPx),r.xp6(1),r.Tol(i.dt.tableStyleClass),r.Q6J("ngStyle",i.dt.tableStyle),r.xp6(2),r.Q6J("ngTemplateOutlet",i.frozen&&i.dt.frozenColGroupTemplate||i.dt.colGroupTemplate)("ngTemplateOutletContext",r.VKq(14,fr,i.columns)),r.xp6(1),r.Q6J("pTableBody",i.columns)("pTableBodyTemplate",i.frozen&&i.dt.frozenBodyTemplate||i.dt.bodyTemplate)("frozen",i.frozen),r.xp6(1),r.Q6J("ngIf",i.frozen)}}function vi(e,t){1&e&&r.GkF(0)}function mi(e,t){1&e&&r.GkF(0)}function yi(e,t){if(1&e&&(r.TgZ(0,"span",2),r._uU(1),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Oqu(n.getMultiSortMetaIndex()+1)}}var Ei=function(e,t,n){return{"pi-sort-amount-up-alt":e,"pi-sort-amount-down":t,"pi-sort-alt":n}},Ci=["box"],wi=function(e,t){return{"p-checkbox-box p-component":!0,"p-highlight":e,"p-disabled":t}},Bi=function(e){return{"pi pi-check":e}},bi=function(e,t){return{"p-checkbox-box":!0,"p-highlight":e,"p-disabled":t}},Ti=function(){var e=function(){function e(){_classCallCheck(this,e),this.sortSource=new l.x,this.selectionSource=new l.x,this.contextMenuSource=new l.x,this.valueSource=new l.x,this.totalRecordsSource=new l.x,this.columnsSource=new l.x,this.resetSource=new l.x,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}return _createClass(e,[{key:"onSort",value:function(e){this.sortSource.next(e)}},{key:"onSelectionChange",value:function(){this.selectionSource.next()}},{key:"onResetChange",value:function(){this.resetSource.next()}},{key:"onContextMenu",value:function(e){this.contextMenuSource.next(e)}},{key:"onValueChange",value:function(e){this.valueSource.next(e)}},{key:"onTotalRecordsChange",value:function(e){this.totalRecordsSource.next(e)}},{key:"onColumnsChange",value:function(e){this.columnsSource.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),ki=function(){var e=function(){function e(t,n,i,o,a){_classCallCheck(this,e),this.el=t,this.zone=n,this.tableService=i,this.cd=o,this.filterService=a,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.paginatorDropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.showPageLinks=!0,this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new r.vpe,this.contextMenuSelectionChange=new r.vpe,this.contextMenuSelectionMode="separate",this.rowTrackBy=function(e,t){return t},this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.editingRowKeys={},this.rowExpandMode="multiple",this.virtualScrollDelay=250,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.showLoader=!0,this.showInitialSortBadge=!0,this.stateStorage="session",this.editMode="cell",this.onRowSelect=new r.vpe,this.onRowUnselect=new r.vpe,this.onPage=new r.vpe,this.onSort=new r.vpe,this.onFilter=new r.vpe,this.onLazyLoad=new r.vpe,this.onRowExpand=new r.vpe,this.onRowCollapse=new r.vpe,this.onContextMenuSelect=new r.vpe,this.onColResize=new r.vpe,this.onColReorder=new r.vpe,this.onRowReorder=new r.vpe,this.onEditInit=new r.vpe,this.onEditComplete=new r.vpe,this.onEditCancel=new r.vpe,this.onHeaderCheckboxToggle=new r.vpe,this.sortFunction=new r.vpe,this.firstChange=new r.vpe,this.rowsChange=new r.vpe,this.onStateSave=new r.vpe,this.onStateRestore=new r.vpe,this._value=[],this._totalRecords=0,this._first=0,this.selectionKeys={},this._sortOrder=1}return _createClass(e,[{key:"ngOnInit",value:function(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),this.initialized=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"caption":e.captionTemplate=t.template;break;case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"loadingbody":e.loadingBodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"summary":e.summaryTemplate=t.template;break;case"colgroup":e.colGroupTemplate=t.template;break;case"rowexpansion":e.expandedRowTemplate=t.template;break;case"frozenrows":e.frozenRowsTemplate=t.template;break;case"frozenheader":e.frozenHeaderTemplate=t.template;break;case"frozenbody":e.frozenBodyTemplate=t.template;break;case"frozenfooter":e.frozenFooterTemplate=t.template;break;case"frozencolgroup":e.frozenColGroupTemplate=t.template;break;case"frozenrowexpansion":e.frozenExpandedRowTemplate=t.template;break;case"emptymessage":e.emptyMessageTemplate=t.template;break;case"paginatorleft":e.paginatorLeftTemplate=t.template;break;case"paginatorright":e.paginatorRightTemplate=t.template;break;case"paginatordropdownitem":e.paginatorDropdownItemTemplate=t.template}})}},{key:"ngAfterViewInit",value:function(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths()}},{key:"ngOnChanges",value:function(e){e.value&&(this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(e.value.currentValue)),e.columns&&(this._columns=e.columns.currentValue,this.tableService.onColumnsChange(e.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),e.sortField&&(this._sortField=e.sortField.currentValue,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()),e.sortOrder&&(this._sortOrder=e.sortOrder.currentValue,this.lazy&&!this.initialized||"single"===this.sortMode&&this.sortSingle()),e.multiSortMeta&&(this._multiSortMeta=e.multiSortMeta.currentValue,"multiple"!==this.sortMode||!this.initialized&&(this.lazy||this.virtualScroll)||this.sortMultiple()),e.selection&&(this._selection=e.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1)}},{key:"value",get:function(){return this._value},set:function(e){this._value=e}},{key:"columns",get:function(){return this._columns},set:function(e){this._columns=e}},{key:"first",get:function(){return this._first},set:function(e){this._first=e}},{key:"rows",get:function(){return this._rows},set:function(e){this._rows=e}},{key:"totalRecords",get:function(){return this._totalRecords},set:function(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)}},{key:"sortField",get:function(){return this._sortField},set:function(e){this._sortField=e}},{key:"sortOrder",get:function(){return this._sortOrder},set:function(e){this._sortOrder=e}},{key:"multiSortMeta",get:function(){return this._multiSortMeta},set:function(e){this._multiSortMeta=e}},{key:"selection",get:function(){return this._selection},set:function(e){this._selection=e}},{key:"updateSelectionKeys",value:function(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection)){var e,t=_createForOfIteratorHelper(this._selection);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.selectionKeys[String(ie.gb.resolveFieldData(n,this.dataKey))]=1}}catch(r){t.e(r)}finally{t.f()}}else this.selectionKeys[String(ie.gb.resolveFieldData(this._selection,this.dataKey))]=1}},{key:"onPageChange",value:function(e){this.first=e.first,this.rows=e.rows,this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.onPage.emit({first:this.first,rows:this.rows}),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}},{key:"sort",value:function(e){var t=e.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===e.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=e.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){var n=t.metaKey||t.ctrlKey,r=this.getSortMeta(e.field);r?n?r.order=-1*r.order:(this._multiSortMeta=[{field:e.field,order:-1*r.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):(n&&this.multiSortMeta||(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:e.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}},{key:"sortSingle",value:function(){var e=this;if(this.sortField&&this.sortOrder){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:this.sortField,order:this.sortOrder}):(this.value.sort(function(t,n){var r,i=ie.gb.resolveFieldData(t,e.sortField),o=ie.gb.resolveFieldData(n,e.sortField);return r=null==i&&null!=o?-1:null!=i&&null==o?1:null==i&&null==o?0:"string"==typeof i&&"string"==typeof o?i.localeCompare(o):i<o?-1:i>o?1:0,e.sortOrder*r}),this._value=_toConsumableArray(this.value)),this.hasFilter()&&this._filter());var t={field:this.sortField,order:this.sortOrder};this.onSort.emit(t),this.tableService.onSort(t)}}},{key:"sortMultiple",value:function(){var e=this;this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort(function(t,n){return e.multisortField(t,n,e.multiSortMeta,0)}),this._value=_toConsumableArray(this.value)),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}},{key:"multisortField",value:function(e,t,n,r){var i=ie.gb.resolveFieldData(e,n[r].field),o=ie.gb.resolveFieldData(t,n[r].field),a=null;if(null==i&&null!=o)a=-1;else if(null!=i&&null==o)a=1;else if(null==i&&null==o)a=0;else if("string"==typeof i||i instanceof String){if(i.localeCompare&&i!=o)return n[r].order*i.localeCompare(o)}else a=i<o?-1:1;return i==o?n.length-1>r?this.multisortField(e,t,n,r+1):0:n[r].order*a}},{key:"getSortMeta",value:function(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(var t=0;t<this.multiSortMeta.length;t++)if(this.multiSortMeta[t].field===e)return this.multiSortMeta[t];return null}},{key:"isSorted",value:function(e){if("single"===this.sortMode)return this.sortField&&this.sortField===e;if("multiple"===this.sortMode){var t=!1;if(this.multiSortMeta)for(var n=0;n<this.multiSortMeta.length;n++)if(this.multiSortMeta[n].field==e){t=!0;break}return t}}},{key:"handleRowClick",value:function(e){var t=e.originalEvent.target,n=t.nodeName,r=t.parentElement&&t.parentElement.nodeName;if("INPUT"!=n&&"BUTTON"!=n&&"A"!=n&&"INPUT"!=r&&"BUTTON"!=r&&"A"!=r&&!ne.hasClass(e.originalEvent.target,"p-clickable")){if(this.selectionMode){if(this.preventSelectionSetterPropagation=!0,this.isMultipleSelectionMode()&&e.originalEvent.shiftKey&&null!=this.anchorRowIndex)ne.clearSelection(),null!=this.rangeRowIndex&&this.clearSelectionRange(e.originalEvent),this.rangeRowIndex=e.rowIndex,this.selectRange(e.originalEvent,e.rowIndex);else{var i=e.rowData,o=this.isSelected(i),a=!this.rowTouched&&this.metaKeySelection,s=this.dataKey?String(ie.gb.resolveFieldData(i,this.dataKey)):null;if(this.anchorRowIndex=e.rowIndex,this.rangeRowIndex=e.rowIndex,a){var l=e.originalEvent.metaKey||e.originalEvent.ctrlKey;if(o&&l){if(this.isSingleSelectionMode())this._selection=null,this.selectionKeys={},this.selectionChange.emit(null);else{var u=this.findIndexInSelection(i);this._selection=this.selection.filter(function(e,t){return t!=u}),this.selectionChange.emit(this.selection),s&&delete this.selectionKeys[s]}this.onRowUnselect.emit({originalEvent:e.originalEvent,data:i,type:"row"})}else this.isSingleSelectionMode()?(this._selection=i,this.selectionChange.emit(i),s&&(this.selectionKeys={},this.selectionKeys[s]=1)):this.isMultipleSelectionMode()&&(l?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[].concat(_toConsumableArray(this.selection),[i]),this.selectionChange.emit(this.selection),s&&(this.selectionKeys[s]=1)),this.onRowSelect.emit({originalEvent:e.originalEvent,data:i,type:"row",index:e.rowIndex})}else if("single"===this.selectionMode)o?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:i,type:"row",index:e.rowIndex})):(this._selection=i,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:i,type:"row",index:e.rowIndex}),s&&(this.selectionKeys={},this.selectionKeys[s]=1));else if("multiple"===this.selectionMode)if(o){var c=this.findIndexInSelection(i);this._selection=this.selection.filter(function(e,t){return t!=c}),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:i,type:"row",index:e.rowIndex}),s&&delete this.selectionKeys[s]}else this._selection=this.selection?[].concat(_toConsumableArray(this.selection),[i]):[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:i,type:"row",index:e.rowIndex}),s&&(this.selectionKeys[s]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}},{key:"handleRowTouchEnd",value:function(e){this.rowTouched=!0}},{key:"handleRowRightClick",value:function(e){if(this.contextMenu){var t=e.rowData;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=t,this.contextMenuSelectionChange.emit(t),this.onContextMenuSelect.emit({originalEvent:e.originalEvent,data:t,index:e.rowIndex}),this.contextMenu.show(e.originalEvent),this.tableService.onContextMenu(t);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;var n=this.isSelected(t),r=this.dataKey?String(ie.gb.resolveFieldData(t,this.dataKey)):null;n||(this.isSingleSelectionMode()?(this.selection=t,this.selectionChange.emit(t),r&&(this.selectionKeys={},this.selectionKeys[r]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[].concat(_toConsumableArray(this.selection),[t]):[t],this.selectionChange.emit(this.selection),r&&(this.selectionKeys[r]=1))),this.tableService.onSelectionChange(),this.contextMenu.show(e.originalEvent),this.onContextMenuSelect.emit({originalEvent:e,data:t,index:e.rowIndex})}}}},{key:"selectRange",value:function(e,t){var n,r;this.anchorRowIndex>t?(n=t,r=this.anchorRowIndex):this.anchorRowIndex<t?(n=this.anchorRowIndex,r=t):(n=t,r=t),this.lazy&&this.paginator&&(n-=this.first,r-=this.first);for(var i=[],o=n;o<=r;o++){var a=this.filteredValue?this.filteredValue[o]:this.value[o];if(!this.isSelected(a)){i.push(a),this._selection=[].concat(_toConsumableArray(this.selection),[a]);var s=this.dataKey?String(ie.gb.resolveFieldData(a,this.dataKey)):null;s&&(this.selectionKeys[s]=1)}}this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e,data:i,type:"row"})}},{key:"clearSelectionRange",value:function(e){var t,n,r=this;this.rangeRowIndex>this.anchorRowIndex?(t=this.anchorRowIndex,n=this.rangeRowIndex):this.rangeRowIndex<this.anchorRowIndex?(t=this.rangeRowIndex,n=this.anchorRowIndex):(t=this.rangeRowIndex,n=this.rangeRowIndex);for(var i=function(t){var n=r.value[t],i=r.findIndexInSelection(n);r._selection=r.selection.filter(function(e,t){return t!=i});var o=r.dataKey?String(ie.gb.resolveFieldData(n,r.dataKey)):null;o&&delete r.selectionKeys[o],r.onRowUnselect.emit({originalEvent:e,data:n,type:"row"})},o=t;o<=n;o++)i(o)}},{key:"isSelected",value:function(e){return!(!e||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[ie.gb.resolveFieldData(e,this.dataKey)]:this.selection instanceof Array?this.findIndexInSelection(e)>-1:this.equals(e,this.selection))}},{key:"findIndexInSelection",value:function(e){var t=-1;if(this.selection&&this.selection.length)for(var n=0;n<this.selection.length;n++)if(this.equals(e,this.selection[n])){t=n;break}return t}},{key:"toggleRowWithRadio",value:function(e,t){this.preventSelectionSetterPropagation=!0,this.selection!=t?(this._selection=t,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:t,type:"radiobutton"}),this.dataKey&&(this.selectionKeys={},this.selectionKeys[String(ie.gb.resolveFieldData(t,this.dataKey))]=1)):(this._selection=null,this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:t,type:"radiobutton"})),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}},{key:"toggleRowWithCheckbox",value:function(e,t){this.selection=this.selection||[];var n=this.isSelected(t),r=this.dataKey?String(ie.gb.resolveFieldData(t,this.dataKey)):null;if(this.preventSelectionSetterPropagation=!0,n){var i=this.findIndexInSelection(t);this._selection=this.selection.filter(function(e,t){return t!=i}),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:t,type:"checkbox"}),r&&delete this.selectionKeys[r]}else this._selection=this.selection?[].concat(_toConsumableArray(this.selection),[t]):[t],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:t,type:"checkbox"}),r&&(this.selectionKeys[r]=1);this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}},{key:"toggleRowsWithCheckbox",value:function(e,t){this._selection=t?this.filteredValue?this.filteredValue.slice():this.value.slice():[],this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:e,checked:t}),this.isStateful()&&this.saveState()}},{key:"equals",value:function(e,t){return"equals"===this.compareSelectionBy?e===t:ie.gb.equals(e,t,this.dataKey)}},{key:"filter",value:function(e,t,n){var r=this;this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(e)?this.filters[t]&&delete this.filters[t]:this.filters[t]={value:e,matchMode:n},this.filterTimeout=setTimeout(function(){r._filter(),r.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}},{key:"filterGlobal",value:function(e,t){this.filter(e,"global",t)}},{key:"isFilterBlank",value:function(e){return null==e||"string"==typeof e&&0==e.trim().length||e instanceof Array&&0==e.length}},{key:"_filter",value:function(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){var e;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");e=this.globalFilterFields||this.columns}this.filteredValue=[];for(var t=0;t<this.value.length;t++){var n=!0,r=!1,i=!1;for(var o in this.filters)if(this.filters.hasOwnProperty(o)&&"global"!==o){i=!0;var s=o,l=this.filters[s];if(Array.isArray(l)){var u,c=_createForOfIteratorHelper(l);try{for(c.s();!(u=c.n()).done;){var A=u.value;if(n=this.executeLocalFilter(s,this.value[t],A),A.operator===a.pg.OR&&n||A.operator===a.pg.AND&&!n)break}}catch(d){c.e(d)}finally{c.f()}}else n=this.executeLocalFilter(s,this.value[t],l);if(!n)break}if(this.filters.global&&!r&&e)for(var h=0;h<e.length&&!(r=this.filterService.filters[this.filters.global.matchMode](ie.gb.resolveFieldData(this.value[t],e[h].field||e[h]),this.filters.global.value,this.filterLocale));h++);(this.filters.global?i?i&&n&&r:r:i&&n)&&this.filteredValue.push(this.value[t])}this.filteredValue.length===this.value.length&&(this.filteredValue=null),this.paginator&&(this.totalRecords=this.filteredValue?this.filteredValue.length:this.value?this.value.length:0)}else this.filteredValue=null,this.paginator&&(this.totalRecords=this.value?this.value.length:0)}this.onFilter.emit({filters:this.filters,filteredValue:this.filteredValue||this.value}),this.tableService.onValueChange(this.value),this.isStateful()&&!this.restoringFilter&&this.saveState(),this.restoringFilter&&(this.restoringFilter=!1),this.cd.markForCheck(),this.scrollable&&this.resetScrollTop()}},{key:"executeLocalFilter",value:function(e,t,n){var r=n.value,i=n.matchMode||a.a6.STARTS_WITH,o=ie.gb.resolveFieldData(t,e);return(0,this.filterService.filters[i])(o,r,this.filterLocale)}},{key:"hasFilter",value:function(){var e=!0;for(var t in this.filters)if(this.filters.hasOwnProperty(t)){e=!1;break}return!e}},{key:"createLazyLoadMetadata",value:function(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta}}},{key:"clear",value:function(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.filteredValue=null,this.tableService.onResetChange(),this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}},{key:"reset",value:function(){this.clear()}},{key:"exportCSV",value:function(e){var t,n=this,r="",i=this.frozenColumns?[].concat(_toConsumableArray(this.frozenColumns),_toConsumableArray(this.columns)):this.columns;e&&e.selectionOnly?t=this.selection||[]:(t=this.filteredValue||this.value,this.frozenValue&&(t=t?[].concat(_toConsumableArray(this.frozenValue),_toConsumableArray(t)):this.frozenValue));for(var o=0;o<i.length;o++){var a=i[o];!1!==a.exportable&&a.field&&(r+='"'+(a.header||a.field)+'"',o<i.length-1&&(r+=this.csvSeparator))}t.forEach(function(e,t){r+="\n";for(var o=0;o<i.length;o++){var a=i[o];if(!1!==a.exportable&&a.field){var s=ie.gb.resolveFieldData(e,a.field);s=null!=s?n.exportFunction?n.exportFunction({data:s,field:a.field}):String(s).replace(/"/g,'""'):"",r+='"'+s+'"',o<i.length-1&&(r+=n.csvSeparator)}}});var s=new Blob([r],{type:"text/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(s,this.exportFilename+".csv");else{var l=document.createElement("a");l.style.display="none",document.body.appendChild(l),void 0!==l.download?(l.setAttribute("href",URL.createObjectURL(s)),l.setAttribute("download",this.exportFilename+".csv"),l.click()):(r="data:text/csv;charset=utf-8,"+r,window.open(encodeURI(r))),document.body.removeChild(l)}}},{key:"resetScrollTop",value:function(){this.virtualScroll?this.scrollToVirtualIndex(0):this.scrollTo({top:0})}},{key:"scrollToVirtualIndex",value:function(e){this.scrollableViewChild&&this.scrollableViewChild.scrollToVirtualIndex(e),this.scrollableFrozenViewChild&&this.scrollableFrozenViewChild.scrollToVirtualIndex(e)}},{key:"scrollTo",value:function(e){this.scrollableViewChild&&this.scrollableViewChild.scrollTo(e),this.scrollableFrozenViewChild&&this.scrollableFrozenViewChild.scrollTo(e)}},{key:"updateEditingCell",value:function(e,t,n,r){this.editingCell=e,this.editingCellData=t,this.editingCellField=n,this.editingCellRowIndex=r,this.bindDocumentEditListener()}},{key:"isEditingCellValid",value:function(){return this.editingCell&&0===ne.find(this.editingCell,".ng-invalid.ng-dirty").length}},{key:"bindDocumentEditListener",value:function(){var e=this;this.documentEditListener||(this.documentEditListener=function(t){e.editingCell&&!e.editingCellClick&&e.isEditingCellValid()&&(ne.removeClass(e.editingCell,"p-cell-editing"),e.editingCell=null,e.onEditComplete.emit({field:e.editingCellField,data:e.editingCellData,originalEvent:t,index:e.editingCellRowIndex}),e.editingCellField=null,e.editingCellData=null,e.editingCellRowIndex=null,e.unbindDocumentEditListener(),e.cd.markForCheck()),e.editingCellClick=!1},document.addEventListener("click",this.documentEditListener))}},{key:"unbindDocumentEditListener",value:function(){this.documentEditListener&&(document.removeEventListener("click",this.documentEditListener),this.documentEditListener=null)}},{key:"initRowEdit",value:function(e){var t=String(ie.gb.resolveFieldData(e,this.dataKey));this.editingRowKeys[t]=!0}},{key:"saveRowEdit",value:function(e,t){if(0===ne.find(t,".ng-invalid.ng-dirty").length){var n=String(ie.gb.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[n]}}},{key:"cancelRowEdit",value:function(e){var t=String(ie.gb.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[t]}},{key:"toggleRow",value:function(e,t){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");var n=String(ie.gb.resolveFieldData(e,this.dataKey));null!=this.expandedRowKeys[n]?(delete this.expandedRowKeys[n],this.onRowCollapse.emit({originalEvent:t,data:e})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[n]=!0,this.onRowExpand.emit({originalEvent:t,data:e})),t&&t.preventDefault(),this.isStateful()&&this.saveState()}},{key:"isRowExpanded",value:function(e){return!0===this.expandedRowKeys[String(ie.gb.resolveFieldData(e,this.dataKey))]}},{key:"isRowEditing",value:function(e){return!0===this.editingRowKeys[String(ie.gb.resolveFieldData(e,this.dataKey))]}},{key:"isSingleSelectionMode",value:function(){return"single"===this.selectionMode}},{key:"isMultipleSelectionMode",value:function(){return"multiple"===this.selectionMode}},{key:"onColumnResizeBegin",value:function(e){var t=ne.getOffset(this.containerViewChild.nativeElement).left;this.lastResizerHelperX=e.pageX-t+this.containerViewChild.nativeElement.scrollLeft,this.onColumnResize(e),e.preventDefault()}},{key:"onColumnResize",value:function(e){var t=ne.getOffset(this.containerViewChild.nativeElement).left;ne.addClass(this.containerViewChild.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=e.pageX-t+this.containerViewChild.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}},{key:"onColumnResizeEnd",value:function(e,t){var n=this.resizeHelperViewChild.nativeElement.offsetLeft-this.lastResizerHelperX,r=t.offsetWidth,i=parseInt(t.style.minWidth||15);r+n<i&&(n=i-r);var o=r+n;if(o>=i){if("fit"===this.columnResizeMode){for(var a=t.nextElementSibling;!a.offsetParent;)a=a.nextElementSibling;if(a){var s=a.offsetWidth-n,l=a.style.minWidth||15;if(o>15&&s>parseInt(l))if(this.scrollable){var u=this.findParentScrollableView(t),c=ne.findSingle(u,".p-datatable-scrollable-body table")||ne.findSingle(u,".p-datatable-virtual-scrollable-body table"),A=ne.findSingle(u,"table.p-datatable-scrollable-header-table"),h=ne.findSingle(u,"table.p-datatable-scrollable-footer-table"),d=ne.index(t);this.resizeColGroup(A,d,o,s),this.resizeColGroup(c,d,o,s),this.resizeColGroup(h,d,o,s)}else t.style.width=o+"px",a&&(a.style.width=s+"px")}}else"expand"===this.columnResizeMode&&o>=i&&(this.scrollable?this.setScrollableItemsWidthOnExpandResize(t,o,n):(this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+n+"px",t.style.width=o+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px"));this.onColResize.emit({element:t,delta:n}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",ne.removeClass(this.containerViewChild.nativeElement,"p-unselectable-text")}},{key:"setScrollableItemsWidthOnExpandResize",value:function(e,t,n){var r=e?this.findParentScrollableView(e):this.containerViewChild.nativeElement,i=ne.findSingle(r,".p-datatable-scrollable-body")||ne.findSingle(r,"cdk-virtual-scroll-viewport"),o=ne.findSingle(r,".p-datatable-scrollable-header"),a=ne.findSingle(r,".p-datatable-scrollable-footer"),s=ne.findSingle(i,".p-datatable-scrollable-body table")||ne.findSingle(r,"cdk-virtual-scroll-viewport table"),l=ne.findSingle(o,"table.p-datatable-scrollable-header-table"),u=ne.findSingle(a,"table.p-datatable-scrollable-footer-table"),c=e?s.offsetWidth+n:t,A=e?l.offsetWidth+n:t,h=this.containerViewChild.nativeElement.offsetWidth>=c,d=function(e,t,n,r){e&&t&&(e.style.width=r?n+ne.calculateScrollbarWidth(i)+"px":"auto",t.style.width=n+"px")};if(d(i,s,c,h),d(o,l,A,h),d(a,u,A,h),e){var f=ne.index(e);this.resizeColGroup(l,f,t,null),this.resizeColGroup(s,f,t,null),this.resizeColGroup(u,f,t,null)}}},{key:"findParentScrollableView",value:function(e){if(e){for(var t=e.parentElement;t&&!ne.hasClass(t,"p-datatable-scrollable-view");)t=t.parentElement;return t}return null}},{key:"resizeColGroup",value:function(e,t,n,r){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw"Scrollable tables require a colgroup to support resizable columns";var o=i.children[t],a=o.nextElementSibling;o.style.width=n+"px",a&&r&&(a.style.width=r+"px")}}},{key:"onColumnDragStart",value:function(e,t){this.reorderIconWidth=ne.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=ne.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=t,e.dataTransfer.setData("text","b")}},{key:"onColumnDragEnter",value:function(e,t){if(this.reorderableColumns&&this.draggedColumn&&t){e.preventDefault();var n=ne.getOffset(this.containerViewChild.nativeElement),r=ne.getOffset(t);if(this.draggedColumn!=t){var i=ne.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),o=ne.indexWithinGroup(t,"preorderablecolumn"),a=r.left-n.left,s=r.left+t.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=r.top-n.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=r.top-n.top+t.offsetHeight+"px",e.pageX>s?(this.reorderIndicatorUpViewChild.nativeElement.style.left=a+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=a+t.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=a-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=a-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),o-i==1&&-1===this.dropPosition||o-i==-1&&1===this.dropPosition?(this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none"):(this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block")}else e.dataTransfer.dropEffect="none"}}},{key:"onColumnDragLeave",value:function(e){this.reorderableColumns&&this.draggedColumn&&(e.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")}},{key:"onColumnDrop",value:function(e,t){var n=this;if(e.preventDefault(),this.draggedColumn){var r=ne.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),i=ne.indexWithinGroup(t,"preorderablecolumn"),o=r!=i;o&&(i-r==1&&-1===this.dropPosition||r-i==1&&1===this.dropPosition)&&(o=!1),o&&i<r&&1===this.dropPosition&&(i+=1),o&&i>r&&-1===this.dropPosition&&(i-=1),o&&(ie.gb.reorderArray(this.columns,r,i),this.onColReorder.emit({dragIndex:r,dropIndex:i,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(function(){setTimeout(function(){n.saveState()})})),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}},{key:"onRowDragStart",value:function(e,t){this.rowDragging=!0,this.draggedRowIndex=t,e.dataTransfer.setData("text","b")}},{key:"onRowDragOver",value:function(e,t,n){if(this.rowDragging&&this.draggedRowIndex!==t){var r=ne.getOffset(n).top+ne.getWindowScrollTop(),i=e.pageY,o=r+ne.getOuterHeight(n)/2,a=n.previousElementSibling;i<o?(ne.removeClass(n,"p-datatable-dragpoint-bottom"),this.droppedRowIndex=t,a?ne.addClass(a,"p-datatable-dragpoint-bottom"):ne.addClass(n,"p-datatable-dragpoint-top")):(a?ne.removeClass(a,"p-datatable-dragpoint-bottom"):ne.addClass(n,"p-datatable-dragpoint-top"),this.droppedRowIndex=t+1,ne.addClass(n,"p-datatable-dragpoint-bottom"))}}},{key:"onRowDragLeave",value:function(e,t){var n=t.previousElementSibling;n&&ne.removeClass(n,"p-datatable-dragpoint-bottom"),ne.removeClass(t,"p-datatable-dragpoint-bottom"),ne.removeClass(t,"p-datatable-dragpoint-top")}},{key:"onRowDragEnd",value:function(e){this.rowDragging=!1,this.draggedRowIndex=null,this.droppedRowIndex=null}},{key:"onRowDrop",value:function(e,t){if(null!=this.droppedRowIndex){var n=this.draggedRowIndex>this.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;ie.gb.reorderArray(this.value,this.draggedRowIndex,n),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:n})}this.onRowDragLeave(e,t),this.onRowDragEnd(e)}},{key:"isEmpty",value:function(){var e=this.filteredValue||this.value;return null==e||0==e.length}},{key:"getBlockableElement",value:function(){return this.el.nativeElement.children[0]}},{key:"getStorage",value:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}},{key:"isStateful",value:function(){return null!=this.stateKey}},{key:"saveState",value:function(){var e=this.getStorage(),t={};this.paginator&&(t.first=this.first,t.rows=this.rows),this.sortField&&(t.sortField=this.sortField,t.sortOrder=this.sortOrder),this.multiSortMeta&&(t.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(t.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(t),this.reorderableColumns&&this.saveColumnOrder(t),this.selection&&(t.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(t.expandedRowKeys=this.expandedRowKeys),e.setItem(this.stateKey,JSON.stringify(t)),this.onStateSave.emit(t)}},{key:"clearState",value:function(){var e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)}},{key:"restoreState",value:function(){var e=this,t=this.getStorage().getItem(this.stateKey),n=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(t){var r=JSON.parse(t,function(e,t){return"string"==typeof t&&n.test(t)?new Date(t):t});this.paginator&&(void 0!==this.first&&(this.first=r.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=r.rows,this.rowsChange.emit(this.rows))),r.sortField&&(this.restoringSort=!0,this._sortField=r.sortField,this._sortOrder=r.sortOrder),r.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=r.multiSortMeta),r.filters&&(this.restoringFilter=!0,this.filters=r.filters),this.resizableColumns&&(this.columnWidthsState=r.columnWidths,this.tableWidthState=r.tableWidth),r.expandedRowKeys&&(this.expandedRowKeys=r.expandedRowKeys),r.selection&&Promise.resolve(null).then(function(){return e.selectionChange.emit(r.selection)}),this.stateRestored=!0,this.onStateRestore.emit(r)}}},{key:"saveColumnWidths",value:function(e){var t=[];ne.find(this.containerViewChild.nativeElement,".p-datatable-thead > tr:first-child > th").map(function(e){return t.push(ne.getOuterWidth(e))}),e.columnWidths=t.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=this.scrollable?ne.findSingle(this.containerViewChild.nativeElement,".p-datatable-scrollable-header-table").style.width:ne.getOuterWidth(this.tableViewChild.nativeElement)+"px")}},{key:"restoreColumnWidths",value:function(){if(this.columnWidthsState){var e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&(this.scrollable?this.setScrollableItemsWidthOnExpandResize(null,this.tableWidthState,0):this.tableViewChild.nativeElement.style.width=this.tableWidthState),this.scrollable){var t=ne.find(this.containerViewChild.nativeElement,".p-datatable-scrollable-header-table > colgroup > col"),n=ne.find(this.containerViewChild.nativeElement,this.virtualScroll?"cdk-virtual-scroll-viewport table > colgroup > col":".p-datatable-scrollable-body table > colgroup > col");t.map(function(t,n){return t.style.width=e[n]+"px"}),n.map(function(t,n){return t.style.width=e[n]+"px"})}else ne.find(this.tableViewChild.nativeElement,".p-datatable-thead > tr:first-child > th").map(function(t,n){return t.style.width=e[n]+"px"})}}},{key:"saveColumnOrder",value:function(e){if(this.columns){var t=[];this.columns.map(function(e){t.push(e.field||e.key)}),e.columnOrder=t}}},{key:"restoreColumnOrder",value:function(){var e=this,t=this.getStorage().getItem(this.stateKey);if(t){var n=JSON.parse(t).columnOrder;if(n){var r=[];n.map(function(t){var n=e.findColumnByKey(t);n&&r.push(n)}),this.columnOrderStateRestored=!0,this.columns=r}}}},{key:"findColumnByKey",value:function(e){if(!this.columns)return null;var t,n=_createForOfIteratorHelper(this.columns);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.key===e||r.field===e)return r}}catch(i){n.e(i)}finally{n.f()}}},{key:"ngOnDestroy",value:function(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Ti),r.Y36(r.sBO),r.Y36(a.iZ))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-table"]],contentQueries:function(e,t,n){var i;(1&e&&r.Suo(n,a.jx,4),2&e)&&(r.iGM(i=r.CRH())&&(t.templates=i))},viewQuery:function(e,t){var n;(1&e&&(r.Gf(er,5),r.Gf(tr,5),r.Gf(nr,5),r.Gf(rr,5),r.Gf(ir,5),r.Gf(or,5),r.Gf(ar,5)),2&e)&&(r.iGM(n=r.CRH())&&(t.containerViewChild=n.first),r.iGM(n=r.CRH())&&(t.resizeHelperViewChild=n.first),r.iGM(n=r.CRH())&&(t.reorderIndicatorUpViewChild=n.first),r.iGM(n=r.CRH())&&(t.reorderIndicatorDownViewChild=n.first),r.iGM(n=r.CRH())&&(t.tableViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollableViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollableFrozenViewChild=n.first))},inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollDelay:"virtualScrollDelay",virtualRowHeight:"virtualRowHeight",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection"},outputs:{selectionChange:"selectionChange",contextMenuSelectionChange:"contextMenuSelectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[r._Bn([Ti]),r.TTD],decls:12,vars:22,consts:[["data-scrollselectors",".p-datatable-scrollable-body, .p-datatable-unfrozen-view .p-datatable-scrollable-body",3,"ngStyle","ngClass"],["container",""],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],["class","p-datatable-wrapper",4,"ngIf"],["class","p-datatable-scrollable-wrapper",4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","pi pi-arrow-down p-datatable-reorder-indicator-up","style","display:none",4,"ngIf"],["class","pi pi-arrow-up p-datatable-reorder-indicator-down","style","display:none",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[1,"p-datatable-header"],[4,"ngTemplateOutlet"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],[1,"p-datatable-wrapper"],["role","grid",3,"ngClass","ngStyle"],["table",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-datatable-thead"],[1,"p-datatable-tbody",3,"pTableBody","pTableBodyTemplate"],["class","p-datatable-tfoot",4,"ngIf"],[1,"p-datatable-tfoot"],[1,"p-datatable-scrollable-wrapper"],["class","p-datatable-scrollable-view p-datatable-frozen-view",3,"pScrollableView","frozen","ngStyle","scrollHeight",4,"ngIf"],[1,"p-datatable-scrollable-view",3,"pScrollableView","frozen","scrollHeight","ngStyle"],["scrollableView",""],[1,"p-datatable-scrollable-view","p-datatable-frozen-view",3,"pScrollableView","frozen","ngStyle","scrollHeight"],["scrollableFrozenView",""],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],["resizeHelper",""],[1,"pi","pi-arrow-down","p-datatable-reorder-indicator-up",2,"display","none"],["reorderIndicatorUp",""],[1,"pi","pi-arrow-up","p-datatable-reorder-indicator-down",2,"display","none"],["reorderIndicatorDown",""]],template:function(e,t){1&e&&(r.TgZ(0,"div",0,1),r.YNc(2,sr,2,2,"div",2),r.YNc(3,ur,2,1,"div",3),r.YNc(4,cr,1,16,"p-paginator",4),r.YNc(5,_r,8,13,"div",5),r.YNc(6,yr,4,8,"div",6),r.YNc(7,Er,1,16,"p-paginator",7),r.YNc(8,wr,2,1,"div",8),r.YNc(9,Br,2,0,"div",9),r.YNc(10,br,2,0,"span",10),r.YNc(11,Tr,2,0,"span",11),r.qZA()),2&e&&(r.Tol(t.styleClass),r.Q6J("ngStyle",t.style)("ngClass",r.Hh0(14,kr,t.rowHover||t.selectionMode,t.autoLayout,t.resizableColumns,t.resizableColumns&&"fit"===t.columnResizeMode,t.scrollable,t.scrollable&&"flex"===t.scrollHeight,t.responsive)),r.xp6(2),r.Q6J("ngIf",t.loading&&t.showLoader),r.xp6(1),r.Q6J("ngIf",t.captionTemplate),r.xp6(1),r.Q6J("ngIf",t.paginator&&("top"===t.paginatorPosition||"both"==t.paginatorPosition)),r.xp6(1),r.Q6J("ngIf",!t.scrollable),r.xp6(1),r.Q6J("ngIf",t.scrollable),r.xp6(1),r.Q6J("ngIf",t.paginator&&("bottom"===t.paginatorPosition||"both"==t.paginatorPosition)),r.xp6(1),r.Q6J("ngIf",t.summaryTemplate),r.xp6(1),r.Q6J("ngIf",t.resizableColumns),r.xp6(1),r.Q6J("ngIf",t.reorderableColumns),r.xp6(1),r.Q6J("ngIf",t.reorderableColumns))},directives:function(){return[i.PC,i.mk,i.O5,i.tP,wt,Oi,Mi]},styles:[".p-datatable{position:relative}.p-datatable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-badge,.p-datatable .p-sortable-column .p-sortable-column-icon{vertical-align:middle}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-auto-layout>.p-datatable-wrapper{overflow-x:auto}.p-datatable-auto-layout>.p-datatable-wrapper>table{table-layout:auto}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable-wrapper{position:relative}.p-datatable-scrollable-footer,.p-datatable-scrollable-header{overflow:hidden}.p-datatable-scrollable-body{overflow:auto;position:relative}.p-datatable-scrollable-body>table>.p-datatable-tbody>tr:first-child>td{border-top:0}.p-datatable-virtual-table{position:absolute}.p-datatable-frozen-view .p-datatable-scrollable-body{overflow:hidden}.p-datatable-frozen-view>.p-datatable-scrollable-body>table>.p-datatable-tbody>tr>td:last-child{border-right:0}.p-datatable-unfrozen-view{position:absolute;top:0}.p-datatable-flex-scrollable,.p-datatable-flex-scrollable .p-datatable-scrollable-view,.p-datatable-flex-scrollable .p-datatable-scrollable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-scrollable-body,.p-datatable-flex-scrollable .p-datatable-virtual-scrollable-body{flex:1}.p-datatable-resizable>.p-datatable-wrapper{overflow-x:auto}.p-datatable-resizable .p-datatable-tbody>tr>td,.p-datatable-resizable .p-datatable-tfoot>tr>td,.p-datatable-resizable .p-datatable-thead>tr>th{overflow:hidden;white-space:nowrap}.p-datatable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-cancel,.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-down,.p-datatable-reorder-indicator-up{position:absolute;display:none}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-clear-button,.p-column-filter-menu-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable.p-datatable-responsive .p-datatable-tbody>tr>td .p-column-title{display:none}cdk-virtual-scroll-viewport{outline:0 none}@media screen and (max-width:40em){.p-datatable.p-datatable-responsive .p-datatable-tfoot>tr>td,.p-datatable.p-datatable-responsive .p-datatable-thead>tr>th{display:none!important}.p-datatable.p-datatable-responsive .p-datatable-tbody>tr>td{text-align:left;display:block;width:100%;float:left;clear:left;border:0}.p-datatable.p-datatable-responsive .p-datatable-tbody>tr>td .p-column-title{padding:.4rem;min-width:30%;display:inline-block;margin:-.4em 1em -.4em -.4rem;font-weight:700}}"],encapsulation:2}),e}(),Oi=function(){var e=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.dt=t,this.tableService=n,this.cd=r,this.subscription=this.dt.tableService.valueSource$.subscribe(function(){i.dt.virtualScroll&&i.cd.detectChanges()})}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki),r.Y36(Ti),r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["","pTableBody",""]],inputs:{columns:["pTableBody","columns"],template:["pTableBodyTemplate","template"],frozen:"frozen"},attrs:Or,decls:6,vars:6,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"]],template:function(e,t){1&e&&(r.YNc(0,Ur,3,6,"ng-container",0),r.YNc(1,Sr,2,3,"ng-container",0),r.YNc(2,Kr,3,6,"ng-container",0),r.YNc(3,zr,3,6,"ng-container",0),r.YNc(4,Yr,2,5,"ng-container",0),r.YNc(5,Xr,2,5,"ng-container",0)),2&e&&(r.Q6J("ngIf",!t.dt.expandedRowTemplate&&!t.dt.virtualScroll),r.xp6(1),r.Q6J("ngIf",!t.dt.expandedRowTemplate&&t.dt.virtualScroll),r.xp6(1),r.Q6J("ngIf",t.dt.expandedRowTemplate&&!(t.frozen&&t.dt.frozenExpandedRowTemplate)),r.xp6(1),r.Q6J("ngIf",t.dt.frozenExpandedRowTemplate&&t.frozen),r.xp6(1),r.Q6J("ngIf",t.dt.loading),r.xp6(1),r.Q6J("ngIf",t.dt.isEmpty()&&!t.dt.loading))},directives:[i.O5,i.sg,i.tP,X],pipes:[i.OU],encapsulation:2}),e}(),Mi=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.dt=t,this.el=n,this.zone=r}return _createClass(e,[{key:"scrollHeight",get:function(){return this._scrollHeight},set:function(e){this._scrollHeight=e,null!=e&&(e.includes("%")||e.includes("calc"))&&console.log('Percentage scroll height calculation is removed in favor of the more performant CSS based flex mode, use scrollHeight="flex" instead.'),this.dt.virtualScroll&&this.virtualScrollBody&&this.virtualScrollBody.ngOnInit()}},{key:"ngAfterViewInit",value:function(){if(this.frozen)this.scrollableAlignerViewChild&&this.scrollableAlignerViewChild.nativeElement&&(this.scrollableAlignerViewChild.nativeElement.style.height=ne.calculateScrollbarHeight()+"px");else{(this.dt.frozenColumns||this.dt.frozenBodyTemplate)&&ne.addClass(this.el.nativeElement,"p-datatable-unfrozen-view");var e=this.el.nativeElement.previousElementSibling;e&&(this.frozenSiblingBody=ne.findSingle(e,this.dt.virtualScroll?".p-datatable-virtual-scrollable-body":".p-datatable-scrollable-body"));var t=ne.calculateScrollbarWidth();this.scrollHeaderBoxViewChild.nativeElement.style.paddingRight=t+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.paddingRight=t+"px")}this.bindEvents()}},{key:"bindEvents",value:function(){var e=this;this.zone.runOutsideAngular(function(){e.scrollHeaderViewChild&&e.scrollHeaderViewChild.nativeElement&&(e.headerScrollListener=e.onHeaderScroll.bind(e),e.scrollHeaderViewChild.nativeElement.addEventListener("scroll",e.headerScrollListener)),e.scrollFooterViewChild&&e.scrollFooterViewChild.nativeElement&&(e.footerScrollListener=e.onFooterScroll.bind(e),e.scrollFooterViewChild.nativeElement.addEventListener("scroll",e.footerScrollListener)),e.frozen||(e.bodyScrollListener=e.onBodyScroll.bind(e),e.dt.virtualScroll?e.virtualScrollBody.getElementRef().nativeElement.addEventListener("scroll",e.bodyScrollListener):e.scrollBodyViewChild.nativeElement.addEventListener("scroll",e.bodyScrollListener))})}},{key:"unbindEvents",value:function(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild&&this.scrollBodyViewChild.nativeElement&&this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener),this.virtualScrollBody&&this.virtualScrollBody.getElementRef()&&this.virtualScrollBody.getElementRef().nativeElement.removeEventListener("scroll",this.bodyScrollListener)}},{key:"onHeaderScroll",value:function(){var e=this.scrollHeaderViewChild.nativeElement.scrollLeft;this.scrollBodyViewChild.nativeElement.scrollLeft=e,this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterViewChild.nativeElement.scrollLeft=e),this.preventBodyScrollPropagation=!0}},{key:"onFooterScroll",value:function(){var e=this.scrollFooterViewChild.nativeElement.scrollLeft;this.scrollBodyViewChild.nativeElement.scrollLeft=e,this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderViewChild.nativeElement.scrollLeft=e),this.preventBodyScrollPropagation=!0}},{key:"onBodyScroll",value:function(e){this.preventBodyScrollPropagation?this.preventBodyScrollPropagation=!1:(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*e.target.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*e.target.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=e.target.scrollTop))}},{key:"onScrollIndexChange",value:function(e){var t=this;this.dt.lazy&&(this.virtualScrollTimeout&&clearTimeout(this.virtualScrollTimeout),this.virtualScrollTimeout=setTimeout(function(){var n=Math.floor(e/t.dt.rows),r=0===n?0:(n-1)*t.dt.rows,i=0===n?2*t.dt.rows:3*t.dt.rows;n!==t.virtualPage&&(t.virtualPage=n,t.dt.onLazyLoad.emit({first:r,rows:i,sortField:t.dt.sortField,sortOrder:t.dt.sortOrder,filters:t.dt.filters,globalFilter:t.dt.filters&&t.dt.filters.global?t.dt.filters.global.value:null,multiSortMeta:t.dt.multiSortMeta}))},this.dt.virtualScrollDelay))}},{key:"getPageCount",value:function(){var e=this.dt.filteredValue||this.dt.value;return Math.ceil((e?e.length:0)/this.dt.rows)}},{key:"scrollToVirtualIndex",value:function(e){this.virtualScrollBody&&this.virtualScrollBody.scrollToIndex(e)}},{key:"scrollTo",value:function(e){this.virtualScrollBody?this.virtualScrollBody.scrollTo(e):this.scrollBodyViewChild.nativeElement.scrollTo?this.scrollBodyViewChild.nativeElement.scrollTo(e):(this.scrollBodyViewChild.nativeElement.scrollLeft=e.left,this.scrollBodyViewChild.nativeElement.scrollTop=e.top)}},{key:"ngOnDestroy",value:function(){this.unbindEvents(),this.frozenSiblingBody=null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki),r.Y36(r.SBq),r.Y36(r.R0b))},e.\u0275cmp=r.Xpm({type:e,selectors:[["","pScrollableView",""]],viewQuery:function(e,t){var n;(1&e&&(r.Gf($r,5),r.Gf(ei,5),r.Gf(ti,5),r.Gf(ni,5),r.Gf(ri,5),r.Gf(ii,5),r.Gf(oi,5),r.Gf(Y,5)),2&e)&&(r.iGM(n=r.CRH())&&(t.scrollHeaderViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollHeaderBoxViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollBodyViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollTableViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollFooterViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollFooterBoxViewChild=n.first),r.iGM(n=r.CRH())&&(t.scrollableAlignerViewChild=n.first),r.iGM(n=r.CRH())&&(t.virtualScrollBody=n.first))},inputs:{columns:["pScrollableView","columns"],frozen:"frozen",scrollHeight:"scrollHeight"},attrs:ai,decls:21,vars:24,consts:[[1,"p-datatable-scrollable-header"],["scrollHeader",""],[1,"p-datatable-scrollable-header-box"],["scrollHeaderBox",""],[1,"p-datatable-scrollable-header-table",3,"ngClass","ngStyle"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-datatable-thead"],[1,"p-datatable-tbody"],["ngFor","",3,"ngForOf","ngForTrackBy"],[4,"ngIf","ngIfElse"],["virtualScrollTemplate",""],[1,"p-datatable-scrollable-footer"],["scrollFooter",""],[1,"p-datatable-scrollable-footer-box"],["scrollFooterBox",""],[1,"p-datatable-scrollable-footer-table",3,"ngClass","ngStyle"],[1,"p-datatable-tfoot"],[1,"p-datatable-scrollable-body",3,"ngStyle"],["scrollBody",""],[3,"ngStyle"],["scrollTable",""],[1,"p-datatable-tbody",3,"pTableBody","pTableBodyTemplate","frozen"],["style","background-color:transparent",4,"ngIf"],[2,"background-color","transparent"],["scrollableAligner",""],["tabindex","0",1,"p-datatable-virtual-scrollable-body",3,"itemSize","minBufferPx","maxBufferPx","scrolledIndexChange"]],template:function(e,t){if(1&e&&(r.TgZ(0,"div",0,1),r.TgZ(2,"div",2,3),r.TgZ(4,"table",4),r.YNc(5,si,1,0,"ng-container",5),r.TgZ(6,"thead",6),r.YNc(7,li,1,0,"ng-container",5),r.qZA(),r.TgZ(8,"tbody",7),r.YNc(9,ci,1,6,"ng-template",8),r.qZA(),r.qZA(),r.qZA(),r.qZA(),r.YNc(10,fi,8,15,"ng-container",9),r.YNc(11,gi,6,16,"ng-template",null,10,r.W1O),r.TgZ(13,"div",11,12),r.TgZ(15,"div",13,14),r.TgZ(17,"table",15),r.YNc(18,vi,1,0,"ng-container",5),r.TgZ(19,"tfoot",16),r.YNc(20,mi,1,0,"ng-container",5),r.qZA(),r.qZA(),r.qZA(),r.qZA()),2&e){var n=r.MAs(12);r.xp6(4),r.Q6J("ngClass",t.dt.tableStyleClass)("ngStyle",t.dt.tableStyle),r.xp6(1),r.Q6J("ngTemplateOutlet",t.frozen&&t.dt.frozenColGroupTemplate||t.dt.colGroupTemplate)("ngTemplateOutletContext",r.VKq(16,fr,t.columns)),r.xp6(2),r.Q6J("ngTemplateOutlet",t.frozen&&t.dt.frozenHeaderTemplate||t.dt.headerTemplate)("ngTemplateOutletContext",r.VKq(18,fr,t.columns)),r.xp6(2),r.Q6J("ngForOf",t.dt.frozenValue)("ngForTrackBy",t.dt.rowTrackBy),r.xp6(1),r.Q6J("ngIf",!t.dt.virtualScroll)("ngIfElse",n),r.xp6(7),r.Q6J("ngClass",t.dt.tableStyleClass)("ngStyle",t.dt.tableStyle),r.xp6(1),r.Q6J("ngTemplateOutlet",t.frozen&&t.dt.frozenColGroupTemplate||t.dt.colGroupTemplate)("ngTemplateOutletContext",r.VKq(20,fr,t.columns)),r.xp6(2),r.Q6J("ngTemplateOutlet",t.frozen&&t.dt.frozenFooterTemplate||t.dt.footerTemplate)("ngTemplateOutletContext",r.VKq(22,fr,t.columns))}},directives:[i.mk,i.PC,i.tP,i.sg,i.O5,Oi,Y,W],encapsulation:2}),e}(),Di=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.dt=t,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){n.updateSortState()}))}return _createClass(e,[{key:"ngOnInit",value:function(){this.isEnabled()&&this.updateSortState()}},{key:"updateSortState",value:function(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}},{key:"onClick",value:function(e){this.isEnabled()&&!this.isFilterElement(e.target)&&(this.updateSortState(),this.dt.sort({originalEvent:e,field:this.field}),ne.clearSelection())}},{key:"onEnterKey",value:function(e){this.onClick(e)}},{key:"isEnabled",value:function(){return!0!==this.pSortableColumnDisabled}},{key:"isFilterElement",value:function(e){return ne.hasClass(e,"pi-filter-icon")||ne.hasClass(e,"p-column-filter-menu-button")}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki))},e.\u0275dir=r.lG2({type:e,selectors:[["","pSortableColumn",""]],hostVars:7,hostBindings:function(e,t){1&e&&r.NdJ("click",function(e){return t.onClick(e)})("keydown.enter",function(e){return t.onEnterKey(e)}),2&e&&(r.uIk("tabindex",t.isEnabled()?"0":null)("role","columnheader")("aria-sort",t.sortOrder),r.ekj("p-sortable-column",t.isEnabled())("p-highlight",t.sorted))},inputs:{field:["pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}}),e}(),Ii=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.dt=t,this.cd=n,this.subscription=this.dt.tableService.sortSource$.subscribe(function(e){r.updateSortState()})}return _createClass(e,[{key:"ngOnInit",value:function(){this.updateSortState()}},{key:"onClick",value:function(e){e.preventDefault()}},{key:"updateSortState",value:function(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){var e=this.dt.getSortMeta(this.field);this.sortOrder=e?e.order:0}this.cd.markForCheck()}},{key:"getMultiSortMetaIndex",value:function(){var e=this.dt._multiSortMeta,t=-1;if(e&&"multiple"===this.dt.sortMode&&(this.dt.showInitialSortBadge||e.length>1))for(var n=0;n<e.length;n++){var r=e[n];if(r.field===this.field||r.field===this.field){t=n;break}}return t}},{key:"isMultiSorted",value:function(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki),r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-sortIcon"]],inputs:{field:"field"},decls:2,vars:6,consts:[[1,"p-sortable-column-icon","pi","pi-fw",3,"ngClass"],["class","p-sortable-column-badge",4,"ngIf"],[1,"p-sortable-column-badge"]],template:function(e,t){1&e&&(r._UZ(0,"i",0),r.YNc(1,yi,2,1,"span",1)),2&e&&(r.Q6J("ngClass",r.kEZ(2,Ei,1===t.sortOrder,-1===t.sortOrder,0===t.sortOrder)),r.xp6(1),r.Q6J("ngIf",t.isMultiSorted()))},directives:[i.mk,i.O5],encapsulation:2,changeDetection:0}),e}(),Ui=function(){var e=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.dt=t,this.tableService=n,this.cd=r,this.subscription=this.dt.tableService.selectionSource$.subscribe(function(){i.checked=i.dt.isSelected(i.value),i.cd.markForCheck()})}return _createClass(e,[{key:"ngOnInit",value:function(){this.checked=this.dt.isSelected(this.value)}},{key:"onClick",value:function(e){this.disabled||this.dt.toggleRowWithCheckbox({originalEvent:e,rowIndex:this.index},this.value),ne.clearSelection()}},{key:"onFocus",value:function(){ne.addClass(this.boxViewChild.nativeElement,"p-focus")}},{key:"onBlur",value:function(){ne.removeClass(this.boxViewChild.nativeElement,"p-focus")}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki),r.Y36(Ti),r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-tableCheckbox"]],viewQuery:function(e,t){var n;(1&e&&r.Gf(Ci,5),2&e)&&(r.iGM(n=r.CRH())&&(t.boxViewChild=n.first))},inputs:{disabled:"disabled",value:"value",index:"index",inputId:"inputId",name:"name",required:"required",ariaLabel:"ariaLabel"},decls:6,vars:14,consts:[[1,"p-checkbox","p-component",3,"click"],[1,"p-hidden-accessible"],["type","checkbox",3,"checked","disabled","focus","blur"],["role","checkbox",3,"ngClass"],["box",""],[1,"p-checkbox-icon",3,"ngClass"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.NdJ("click",function(e){return t.onClick(e)}),r.TgZ(1,"div",1),r.TgZ(2,"input",2),r.NdJ("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()}),r.qZA(),r.qZA(),r.TgZ(3,"div",3,4),r._UZ(5,"span",5),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.Q6J("checked",t.checked)("disabled",t.disabled),r.uIk("id",t.inputId)("name",t.name)("required",t.required)("aria-label",t.ariaLabel),r.xp6(1),r.Q6J("ngClass",r.WLB(9,wi,t.checked,t.disabled)),r.uIk("aria-checked",t.checked),r.xp6(2),r.Q6J("ngClass",r.VKq(12,Bi,t.checked)))},directives:[i.mk],encapsulation:2,changeDetection:0}),e}(),xi=function(){var e=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.dt=t,this.tableService=n,this.cd=r,this.valueChangeSubscription=this.dt.tableService.valueSource$.subscribe(function(){i.checked=i.updateCheckedState()}),this.selectionChangeSubscription=this.dt.tableService.selectionSource$.subscribe(function(){i.checked=i.updateCheckedState()})}return _createClass(e,[{key:"ngOnInit",value:function(){this.checked=this.updateCheckedState()}},{key:"onClick",value:function(e){this.disabled||this.dt.value&&this.dt.value.length>0&&this.dt.toggleRowsWithCheckbox(e,!this.checked),ne.clearSelection()}},{key:"onFocus",value:function(){ne.addClass(this.boxViewChild.nativeElement,"p-focus")}},{key:"onBlur",value:function(){ne.removeClass(this.boxViewChild.nativeElement,"p-focus")}},{key:"isDisabled",value:function(){return this.disabled||!this.dt.value||!this.dt.value.length}},{key:"ngOnDestroy",value:function(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()}},{key:"updateCheckedState",value:function(){if(this.cd.markForCheck(),this.dt.filteredValue){var e=this.dt.filteredValue;return e&&e.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.isAllFilteredValuesChecked()}var t=this.dt.value;return t&&t.length>0&&this.dt.selection&&this.dt.selection.length>0&&this.dt.selection.length===t.length}},{key:"isAllFilteredValuesChecked",value:function(){if(this.dt.filteredValue){var e,t=_createForOfIteratorHelper(this.dt.filteredValue);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(!this.dt.isSelected(n))return!1}}catch(r){t.e(r)}finally{t.f()}return!0}return!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(ki),r.Y36(Ti),r.Y36(r.sBO))},e.\u0275cmp=r.Xpm({type:e,selectors:[["p-tableHeaderCheckbox"]],viewQuery:function(e,t){var n;(1&e&&r.Gf(Ci,5),2&e)&&(r.iGM(n=r.CRH())&&(t.boxViewChild=n.first))},inputs:{disabled:"disabled",inputId:"inputId",name:"name",ariaLabel:"ariaLabel"},decls:7,vars:13,consts:[[1,"p-checkbox","p-component",3,"click"],[1,"p-hidden-accessible"],["type","checkbox",3,"checked","disabled","focus","blur"],["cb",""],["role","checkbox",3,"ngClass"],["box",""],[1,"p-checkbox-icon",3,"ngClass"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.NdJ("click",function(e){return t.onClick(e)}),r.TgZ(1,"div",1),r.TgZ(2,"input",2,3),r.NdJ("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()}),r.qZA(),r.qZA(),r.TgZ(4,"div",4,5),r._UZ(6,"span",6),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.Q6J("checked",t.checked)("disabled",t.isDisabled()),r.uIk("id",t.inputId)("name",t.name)("aria-label",t.ariaLabel),r.xp6(2),r.Q6J("ngClass",r.WLB(8,bi,t.checked,t.isDisabled())),r.uIk("aria-checked",t.checked),r.xp6(2),r.Q6J("ngClass",r.VKq(11,Bi,t.checked)))},directives:[i.mk],encapsulation:2,changeDetection:0}),e}(),Pi=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.ez,Bt,Tt,rt,ee,o.u5,Ot,Lt,Zn,$n,Wt],a.m8,ee]}),e}()},8807:function(e,t,n){"use strict";n.d(t,{gb:function(){return r}});var r=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"equals",value:function(e,t,n){return n?this.resolveFieldData(e,n)===this.resolveFieldData(t,n):this.equalsByValue(e,t)}},{key:"equalsByValue",value:function(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,r,i,o=Array.isArray(e),a=Array.isArray(t);if(o&&a){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!this.equalsByValue(e[n],t[n]))return!1;return!0}if(o!=a)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,c=t instanceof RegExp;if(u!=c)return!1;if(u&&c)return e.toString()==t.toString();var A=Object.keys(e);if((r=A.length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(t,A[n]))return!1;for(n=r;0!=n--;)if(!this.equalsByValue(e[i=A[n]],t[i]))return!1;return!0}return e!=e&&t!=t}},{key:"resolveFieldData",value:function(e,t){if(e&&t){if(this.isFunction(t))return t(e);if(-1==t.indexOf("."))return e[t];for(var n=t.split("."),r=e,i=0,o=n.length;i<o;++i){if(null==r)return null;r=r[n[i]]}return r}return null}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"reorderArray",value:function(e,t,n){e&&t!==n&&(n>=e.length&&(n%=e.length,t%=e.length),e.splice(n,0,e.splice(t,1)[0]))}},{key:"insertIntoOrderedArray",value:function(e,t,n,r){if(n.length>0){for(var i=!1,o=0;o<n.length;o++)if(this.findIndexInList(n[o],r)>t){n.splice(o,0,e),i=!0;break}i||n.push(e)}else n.push(e)}},{key:"findIndexInList",value:function(e,t){var n=-1;if(t)for(var r=0;r<t.length;r++)if(t[r]==e){n=r;break}return n}},{key:"removeAccents",value:function(e){return e&&e.search(/[\xC0-\xFF]/g)>-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e}}]),e}()},2391:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(9643),i=n(6042),o=n(3004),a=n(1879);function s(e){return 0===e.length?a.y:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var l=n(7296),u=n(7849),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,a=(o=e)&&o instanceof r.Lv||function(e){return e&&(0,u.m)(e.next)&&(0,u.m)(e.error)&&(0,u.m)(e.complete)}(o)&&(0,i.Nn)(o)?e:new r.Hp(e,t,n);if(l.v.useDeprecatedSynchronousErrorHandling)this._deprecatedSyncErrorSubscribe(a);else{var s=this.operator,c=this.source;a.add(s?s.call(a,c):c?this._subscribe(a):this._trySubscribe(a))}return a},e.prototype._deprecatedSyncErrorSubscribe=function(e){var t=e;t._syncErrorHack_isSubscribing=!0;var n=this.operator;if(n)e.add(n.call(e,this.source));else try{e.add(this._subscribe(e))}catch(i){t.__syncError=i}for(var r=t;r;){if("__syncError"in r)try{throw r.__syncError}finally{e.unsubscribe()}r=r.destination}t._syncErrorHack_isSubscribing=!1},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=A(t))(function(t,r){var i;i=n.subscribe(function(t){try{e(t)}catch(n){r(n),null==i||i.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.L]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?s(e)(this):this},e.prototype.toPromise=function(e){var t=this;return new(e=A(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function A(e){var t;return null!==(t=null!=e?e:l.v.Promise)&&void 0!==t?t:Promise}},6407:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(9162),i=n(9666),o=n(5170),a=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=o.l);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return(0,r.ZT)(t,e),t.prototype.next=function(t){var n=this,r=n._buffer,i=n._infiniteTimeWindow,o=n._timestampProvider,a=n._windowTime;n.isStopped||(r.push(t),!i&&r.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){for(var o=t.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},t}(i.x)},9666:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var r=n(9162),i=n(2391),o=n(6042),a=(0,n(9951).d)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),s=n(8764),l=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.ZT)(t,e),t.prototype.lift=function(e){var t=new u(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new a},t.prototype.next=function(e){var t,n;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var o=(0,r.XA)(i),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}},t.prototype.error=function(e){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;for(var t=this.observers;t.length;)t.shift().error(e)}},t.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var e=this.observers;e.length;)e.shift().complete()}},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this.observers;return this.hasError||this.isStopped?o.Lc:(t.push(e),new o.w0(function(){return(0,s.P)(t,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.isStopped;this.hasError?e.error(this.thrownError):t&&e.complete()},t.prototype.asObservable=function(){var e=new i.y;return e.source=this,e},t.create=function(e,t){return new u(e,t)},t}(i.y),u=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.ZT)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:o.Lc},t}(l)},9643:function(e,t,n){"use strict";n.d(t,{Hp:function(){return d},Lv:function(){return h}});var r=n(9162),i=n(7849),o=n(6042),a=n(7296),s=n(2765),l=n(5397),u=c("C",void 0,void 0);function c(e,t,n){return{kind:e,value:t,error:n}}var A=n(4490),h=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,o.Nn)(t)&&t.add(n)):n.destination=g,n}return(0,r.ZT)(t,e),t.create=function(e,t,n){return new d(e,t,n)},t.prototype.next=function(e){this.isStopped?_(function(e){return c("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?_(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?_(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(o.w0),d=function(e){function t(t,n,r){var o,s=e.call(this)||this;if((0,i.m)(t))o=t;else if(t){var u;o=t.next,n=t.error,r=t.complete,s&&a.v.useDeprecatedNextContext?(u=Object.create(t)).unsubscribe=function(){return s.unsubscribe()}:u=t,o=null==o?void 0:o.bind(u),n=null==n?void 0:n.bind(u),r=null==r?void 0:r.bind(u)}return s.destination={next:o?f(o,s):l.Z,error:f(null!=n?n:p,s),complete:r?f(r,s):l.Z},s}return(0,r.ZT)(t,e),t}(h);function f(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];try{e.apply(void 0,(0,r.ev)([],(0,r.CR)(n)))}catch(o){if(a.v.useDeprecatedSynchronousErrorHandling){if(!t._syncErrorHack_isSubscribing)throw o;t.__syncError=o}else(0,s.h)(o)}}}function p(e){throw e}function _(e,t){var n=a.v.onStoppedNotification;n&&A.z.setTimeout(function(){return n(e,t)})}var g={closed:!0,next:l.Z,error:p,complete:l.Z}},6042:function(e,t,n){"use strict";n.d(t,{Lc:function(){return l},w0:function(){return s},Nn:function(){return u}});var r=n(9162),i=n(7849),o=(0,n(9951).d)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}),a=n(8764),s=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,a,s;if(!this.closed){this.closed=!0;var l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var u=(0,r.XA)(l),A=u.next();!A.done;A=u.next())A.value.remove(this)}catch(g){e={error:g}}finally{try{A&&!A.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}else l.remove(this);var h=this.initialTeardown;if((0,i.m)(h))try{h()}catch(v){s=v instanceof o?v.errors:[v]}var d=this._teardowns;if(d){this._teardowns=null;try{for(var f=(0,r.XA)(d),p=f.next();!p.done;p=f.next()){var _=p.value;try{c(_)}catch(m){s=null!=s?s:[],m instanceof o?s=(0,r.ev)((0,r.ev)([],(0,r.CR)(s)),(0,r.CR)(m.errors)):s.push(m)}}}catch(y){n={error:y}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(n)throw n.error}}}if(s)throw new o(s)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(n=this._teardowns)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,a.P)(t,e)},e.prototype.remove=function(t){var n=this._teardowns;n&&(0,a.P)(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),l=s.EMPTY;function u(e){return e instanceof s||e&&"closed"in e&&(0,i.m)(e.remove)&&(0,i.m)(e.add)&&(0,i.m)(e.unsubscribe)}function c(e){(0,i.m)(e)?e():e.unsubscribe()}},7296:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4951:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var r=new(n(2391).y)(function(e){return e.complete()})},1929:function(e,t,n){"use strict";n.d(t,{Dp:function(){return y},OO:function(){return C},Xf:function(){return E}});var r=n(9162),i=n(3345),o=n(7849);function a(e){return(0,o.m)(null==e?void 0:e.then)}var s=n(3004),l=n(2391),u=n(6042),c=n(8006),A="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function h(e,t){if(!e)throw new Error("Iterable cannot be null");return new l.y(function(n){var r=new u.w0;return r.add(t.schedule(function(){var i=e[Symbol.asyncIterator]();r.add(t.schedule(function(){var e=this;i.next().then(function(t){t.done?n.complete():(n.next(t.value),e.schedule())})}))})),r})}function d(e){return(0,o.m)(e[s.L])}function f(e){return(0,o.m)(null==e?void 0:e[A])}function p(e){return Symbol.asyncIterator&&(0,o.m)(null==e?void 0:e[Symbol.asyncIterator])}function _(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function g(e){return(0,r.FC)(this,arguments,function(){var t,n,i;return(0,r.Jh)(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,(0,r.qq)(t.read())];case 3:return n=o.sent(),i=n.value,n.done?[4,(0,r.qq)(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,(0,r.qq)(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function v(e){return(0,o.m)(null==e?void 0:e.getReader)}var m=n(2765);function y(e,t){return t?function(e,t){if(null!=e){if(d(e))return function(e,t){return new l.y(function(n){var r=new u.w0;return r.add(t.schedule(function(){var i=e[s.L]();r.add(i.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}(e,t);if((0,i.z)(e))return(0,c.r)(e,t);if(a(e))return function(e,t){return new l.y(function(n){return t.schedule(function(){return e.then(function(e){n.add(t.schedule(function(){n.next(e),n.add(t.schedule(function(){return n.complete()}))}))},function(e){n.add(t.schedule(function(){return n.error(e)}))})})})}(e,t);if(p(e))return h(e,t);if(f(e))return function(e,t){return new l.y(function(n){var r;return n.add(t.schedule(function(){r=e[A](),function(e,t,n,r){void 0===r&&(r=0);var i=t.schedule(function(){try{n.call(this)}catch(t){e.error(t)}},r);e.add(i)}(n,t,function(){var e=r.next(),t=e.value;e.done?n.complete():(n.next(t),this.schedule())})})),function(){return(0,o.m)(null==r?void 0:r.return)&&r.return()}})}(e,t);if(v(e))return function(e,t){return h(g(e),t)}(e,t)}throw _(e)}(e,t):E(e)}function E(e){if(e instanceof l.y)return e;if(null!=e){if(d(e))return u=e,new l.y(function(e){var t=u[s.L]();if((0,o.m)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,i.z)(e))return C(e);if(a(e))return n=e,new l.y(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,m.h)});if(p(e))return w(e);if(f(e))return t=e,new l.y(function(e){var n,i;try{for(var o=(0,r.XA)(t),a=o.next();!a.done;a=o.next())if(e.next(a.value),e.closed)return}catch(s){n={error:s}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}e.complete()});if(v(e))return w(g(e))}var t,n,u;throw _(e)}function C(e){return new l.y(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function w(e){return new l.y(function(t){(function(e,t){var n,i,o,a;return(0,r.mG)(this,void 0,void 0,function(){var s;return(0,r.Jh)(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=(0,r.KL)(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(t.next(i.value),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}},5622:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(8006),i=n(1929);function o(e,t){return t?(0,r.r)(e,t):(0,i.OO)(e)}},5960:function(e,t,n){"use strict";n.d(t,{R:function(){return d}});var r=n(9162),i=n(2391),o=n(7228),a=n(3345),s=n(7849),l=n(8432),u=n(5622),c=["addListener","removeListener"],A=["addEventListener","removeEventListener"],h=["on","off"];function d(e,t,n,p){if((0,s.m)(n)&&(p=n,n=void 0),p)return d(e,t,n).pipe((0,l.Z)(p));var _=(0,r.CR)(function(e){return(0,s.m)(e.addEventListener)&&(0,s.m)(e.removeEventListener)}(e)?A.map(function(r){return function(i){return e[r](t,i,n)}}):function(e){return(0,s.m)(e.addListener)&&(0,s.m)(e.removeListener)}(e)?c.map(f(e,t)):function(e){return(0,s.m)(e.on)&&(0,s.m)(e.off)}(e)?h.map(f(e,t)):[],2),g=_[0],v=_[1];if(!g&&(0,a.z)(e))return(0,o.z)(function(e){return d(e,t,n)})((0,u.h)(e));if(!g)throw new TypeError("Invalid event target");return new i.y(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return g(t),function(){return v(t)}})}function f(e,t){return function(n){return function(r){return e[n](t,r)}}}},5446:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var r=n(5813),i=n(5622),o=n(1929),a=n(4951),s=n(7070);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,s.yG)(e),l=(0,s._6)(e,1/0),u=e;return u.length?1===u.length?(0,o.Xf)(u[0]):(0,r.J)(l)((0,i.h)(u,n)):a.E}},2041:function(e,t,n){"use strict";n.d(t,{of:function(){return a}});var r=n(5622),i=n(8006),o=n(7070);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,o.yG)(e);return n?(0,i.r)(e,n):(0,r.h)(e)}},4659:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(9162),i=function(e){function t(t,n,r,i,o){var a=e.call(this,t)||this;return a.onFinalize=o,a._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,a._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,r.ZT)(t,e),t.prototype.unsubscribe=function(){var t,n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))},t}(n(9643).Lv)},1520:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(2948),i=n(3386),o=n(1929),a=n(4659),s=n(2391),l=n(1495);function u(e,t){return void 0===t&&(t=r.P),n=function(){return function(e,t,n){void 0===e&&(e=0),void 0===n&&(n=r.P);var i=-1;return null!=t&&((0,l.K)(t)?n=t:i=t),new s.y(function(t){var r,o=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;o<0&&(o=0);var a=0;return n.schedule(function(){t.closed||(t.next(a++),0<=i?this.schedule(void 0,i):t.complete())},o)})}(e,t)},(0,i.e)(function(e,t){var r=!1,i=null,s=null,l=!1,u=function(){if(null==s||s.unsubscribe(),s=null,r){r=!1;var e=i;i=null,t.next(e)}l&&t.complete()},c=function(){s=null,l&&t.complete()};e.subscribe(new a.Q(t,function(e){r=!0,i=e,s||(0,o.Xf)(n()).subscribe(s=new a.Q(t,u,c))},function(){l=!0,(!r||!s||s.closed)&&t.complete()}))});var n}},8868:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(3386),i=n(4659);function o(e,t){return(0,r.e)(function(n,r){var o=0;n.subscribe(new i.Q(r,function(n){return e.call(t,n,o++)&&r.next(n)}))})}},1681:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(3386),i=n(4659);function o(e,t){return(0,r.e)(function(n,r){var o=0;n.subscribe(new i.Q(r,function(n){r.next(e.call(t,n,o++))}))})}},5813:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(7228),i=n(1879);function o(e){return void 0===e&&(e=1/0),(0,r.z)(i.y,e)}},7228:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(1681),i=n(1929),o=n(3386),a=n(4659),s=n(7849);function l(e,t,n){return void 0===n&&(n=1/0),(0,s.m)(t)?l(function(n,o){return(0,r.U)(function(e,r){return t(n,e,o,r)})((0,i.Xf)(e(n,o)))},n):("number"==typeof t&&(n=t),(0,o.e)(function(t,r){return function(e,t,n,r,o,s,l,u){var c=[],A=0,h=0,d=!1,f=function(){!d||c.length||A||t.complete()},p=function e(o){A++;var s=!1;(0,i.Xf)(n(o,h++)).subscribe(new a.Q(t,function(e){t.next(e)},function(){s=!0},void 0,function(){if(s)try{for(A--;c.length&&A<r;)n=c.shift(),e(n);f()}catch(i){t.error(i)}var n}))};return e.subscribe(new a.Q(t,function(e){return A<r?p(e):c.push(e)},function(){d=!0,f()})),function(){}}(t,r,e,n)}))}},5728:function(e,t,n){"use strict";n.d(t,{B:function(){return A}});var r=n(9162),i=n(1929),o=n(4951),a=n(3386),s=n(4659);function l(e){return e<=0?function(){return o.E}:(0,a.e)(function(t,n){var r=0;t.subscribe(new s.Q(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}var u=n(9666),c=n(9643);function A(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new u.x}:t,r=e.resetOnError,o=void 0===r||r,s=e.resetOnComplete,l=void 0===s||s,A=e.resetOnRefCountZero,d=void 0===A||A;return function(e){var t=null,r=null,s=null,u=0,A=!1,f=!1,p=function(){null==r||r.unsubscribe(),r=null},_=function(){p(),t=s=null,A=f=!1},g=function(){var e=t;_(),null==e||e.unsubscribe()};return(0,a.e)(function(e,a){u++,f||A||p();var v=s=null!=s?s:n();a.add(function(){0!=--u||f||A||(r=h(g,d))}),v.subscribe(a),t||(t=new c.Hp({next:function(e){return v.next(e)},error:function(e){f=!0,p(),r=h(_,o,e),v.error(e)},complete:function(){A=!0,p(),r=h(_,l),v.complete()}}),(0,i.Dp)(e).subscribe(t))})(e)}}function h(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return!0===t?(e(),null):!1===t?null:t.apply(void 0,(0,r.ev)([],(0,r.CR)(n))).pipe(l(1)).subscribe(function(){return e()})}},1423:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var r=n(5813);function i(){return(0,r.J)(1)}var o=n(5622),a=n(7070);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i()((0,o.h)(e,(0,a.yG)(e)))}var l=n(3386);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,a.yG)(e);return(0,l.e)(function(t,r){(n?s(e,t,n):s(e,t)).subscribe(r)})}},4324:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(1929),i=n(3386),o=n(4659);function a(e,t){return(0,i.e)(function(n,i){var a=null,s=0,l=!1,u=function(){return l&&!a&&i.complete()};n.subscribe(new o.Q(i,function(n){null==a||a.unsubscribe();var l=0,c=s++;(0,r.Xf)(e(n,c)).subscribe(a=new o.Q(i,function(e){return i.next(t?t(n,e,c,l++):e)},function(){a=null,u()}))},function(){l=!0,u()}))})}},9568:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(3386),i=n(4659),o=n(1929),a=n(5397);function s(e){return(0,r.e)(function(t,n){(0,o.Xf)(e).subscribe(new i.Q(n,function(){return n.complete()},a.Z)),!n.closed&&t.subscribe(n)})}},8006:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(2391);function i(e,t){return new r.y(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}},6551:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(9162),i=function(e){function t(t,n){return e.call(this)||this}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n(6042).w0),o={setInterval:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=o.delegate;return((null==n?void 0:n.setInterval)||setInterval).apply(void 0,(0,r.ev)([],(0,r.CR)(e)))}),clearInterval:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){var t=o.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)}),delegate:void 0},a=n(8764),s=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return(0,r.ZT)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),o.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;o.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.P)(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(i)},8106:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(9162),i=n(5170),o=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=i.l.now,e}(),a=function(e){function t(t,n){void 0===n&&(n=o.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r._scheduled=void 0,r}return(0,r.ZT)(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(o)},1994:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(9162),i=n(6551),o=n(6042),a={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=a.delegate;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);var i=t(function(t){n=void 0,e(t)});return new o.w0(function(){return null==n?void 0:n(i)})},requestAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a.delegate;return((null==n?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,(0,r.ev)([],(0,r.CR)(e)))}),cancelAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=a.delegate;return((null==n?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,(0,r.ev)([],(0,r.CR)(e)))}),delegate:void 0},s=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,r.ZT)(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=a.requestAnimationFrame(function(){return t.flush(void 0)})))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(a.cancelAnimationFrame(n),t._scheduled=void 0)},t}(i.o),l=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.flush=function(e){this._active=!0,this._scheduled=void 0;var t,n=this.actions,r=-1;e=e||n.shift();var i=n.length;do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this._active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}},t}(n(8106).v))(s)},7911:function(e,t,n){"use strict";n.d(t,{E:function(){return d}});var r,i=n(9162),o=n(6551),a=1,s={};function l(e){return e in s&&(delete s[e],!0)}var u=function(e){var t=a++;return s[t]=!0,r||(r=Promise.resolve()),r.then(function(){return l(t)&&e()}),t},c=function(e){l(e)},A={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=A.delegate;return((null==n?void 0:n.setImmediate)||u).apply(void 0,(0,i.ev)([],(0,i.CR)(e)))},clearImmediate:function(e){var t=A.delegate;return((null==t?void 0:t.clearImmediate)||c)(e)},delegate:void 0},h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,i.ZT)(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=A.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(A.clearImmediate(n),t._scheduled=void 0)},t}(o.o),d=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(t,e),t.prototype.flush=function(e){this._active=!0,this._scheduled=void 0;var t,n=this.actions,r=-1;e=e||n.shift();var i=n.length;do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this._active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}},t}(n(8106).v))(h)},2948:function(e,t,n){"use strict";n.d(t,{z:function(){return i},P:function(){return o}});var r=n(6551),i=new(n(8106).v)(r.o),o=i},5170:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var r={now:function(){return(r.delegate||Date).now()},delegate:void 0}},4490:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(9162),i={setTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=i.delegate;return((null==n?void 0:n.setTimeout)||setTimeout).apply(void 0,(0,r.ev)([],(0,r.CR)(e)))}),clearTimeout:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){var t=i.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)}),delegate:void 0}},3004:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},7070:function(e,t,n){"use strict";n.d(t,{jO:function(){return a},yG:function(){return s},_6:function(){return l}});var r=n(7849),i=n(1495);function o(e){return e[e.length-1]}function a(e){return(0,r.m)(o(e))?e.pop():void 0}function s(e){return(0,i.K)(o(e))?e.pop():void 0}function l(e,t){return"number"==typeof o(e)?e.pop():t}},8764:function(e,t,n){"use strict";function r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{P:function(){return r}})},9951:function(e,t,n){"use strict";function r(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{d:function(){return r}})},1879:function(e,t,n){"use strict";function r(e){return e}n.d(t,{y:function(){return r}})},3345:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7849:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{m:function(){return r}})},1495:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(7849);function i(e){return e&&(0,r.m)(e.schedule)}},3386:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(7849);function i(e){return function(t){if(function(e){return(0,r.m)(null==e?void 0:e.lift)}(t))return t.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},8432:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(9162),i=n(1681),o=Array.isArray;function a(e){return(0,i.U)(function(t){return function(e,t){return o(t)?e.apply(void 0,(0,r.ev)([],(0,r.CR)(t))):e(t)}(e,t)})}},5397:function(e,t,n){"use strict";function r(){}n.d(t,{Z:function(){return r}})},2765:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(7296),i=n(4490);function o(e){i.z.setTimeout(function(){var t=r.v.onUnhandledError;if(!t)throw e;t(e)})}},2782:function(){"use strict";Zone.__load_patch("Error",function(e,t,n){var r,i,o,a,s,l=n.symbol("zoneJsInternalStackFrames"),u=e[n.symbol("Error")]=e.Error,c={};e.Error=f;var A=e.__Zone_Error_BlacklistedStackFrames_policy||e.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";function h(e){for(var t={zoneName:e.zone.name},n=t;e.parent;){var r={zoneName:(e=e.parent).zone.name};t.parent=r,t=r}return n}function d(e,t){for(var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],l=e.split("\n"),u=0;l[u]!==r&&l[u]!==i&&l[u]!==o&&l[u]!==a&&l[u]!==s&&u<l.length;)u++;for(;u<l.length&&t;u++){var A=l[u];if(A.trim())switch(c[A]){case 0:l.splice(u,1),u--;break;case 1:t=t.parent?t.parent:null,l.splice(u,1),u--;break;default:l[u]+=" [".concat(n?t.zone.name:t.zoneName,"]")}}return l.join("\n")}function f(){var e=this,t=u.apply(this,arguments),r=t.originalStack=t.stack;if(f.stackRewrite&&r){var i=n.currentZoneFrame();if("lazy"===A)t[n.symbol("zoneFrameNames")]=h(i);else if("default"===A)try{t.stack=t.zoneAwareStack=d(r,i)}catch(o){}}return this instanceof u&&this.constructor!=u?(Object.keys(t).concat("stack","message").forEach(function(n){var r=t[n];if(void 0!==r)try{e[n]=r}catch(o){}}),this):t}f.prototype=u.prototype,f[l]=c,f.stackRewrite=!1;var p=n.symbol("zoneAwareStack");"lazy"===A&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){return this[p]||(this[p]=d(this.originalStack,this[n.symbol("zoneFrameNames")],!1)),this[p]},set:function(e){this.originalStack=e,this[p]=d(this.originalStack,this[n.symbol("zoneFrameNames")],!1)}});var _=["stackTraceLimit","captureStackTrace","prepareStackTrace"],g=Object.keys(u);if(g&&g.forEach(function(e){0===_.filter(function(t){return t===e}).length&&Object.defineProperty(f,e,{get:function(){return u[e]},set:function(t){u[e]=t}})}),u.hasOwnProperty("stackTraceLimit")&&(u.stackTraceLimit=Math.max(u.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return u.stackTraceLimit},set:function(e){return u.stackTraceLimit=e}})),u.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(e,t){u.captureStackTrace(e,t)}}),Object.defineProperty(f,"prepareStackTrace",{get:function(){return u.prepareStackTrace},set:function(e){return u.prepareStackTrace=e&&"function"==typeof e?function(t,n){if(n)for(var r=0;r<n.length;r++)if("zoneCaptureStackTrace"===n[r].getFunctionName()){n.splice(r,1);break}return e.call(this,t,n)}:e}}),"disable"!==A){var v=t.current.fork({name:"detect",onHandleError:function(e,t,n,l){if(l.originalStack&&Error===f)for(var u=l.originalStack.split(/\n/),A=!1,h=!1,d=!1;u.length;){var p=u.shift();if(/:\d+:\d+/.test(p)||"ZoneAwareError"===p){var _=p.split("(")[0].split("@")[0],g=1;if(-1!==_.indexOf("ZoneAwareError")&&(-1!==_.indexOf("new ZoneAwareError")?(r=p,i=p.replace("new ZoneAwareError","new Error.ZoneAwareError")):(o=p,a=p.replace("Error.",""),-1===p.indexOf("Error.ZoneAwareError")&&(s=p.replace("ZoneAwareError","Error.ZoneAwareError"))),c[i]=0),-1!==_.indexOf("runGuarded")?h=!0:-1!==_.indexOf("runTask")?d=!0:-1!==_.indexOf("run")?A=!0:g=0,c[p]=g,A&&h&&d){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,i,o){return e.invokeTask(n,r,i,o)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)},onInvoke:function(e,t,n,r,i,o,a){return e.invoke(n,r,i,o,a)}}),m=Error.stackTraceLimit;Error.stackTraceLimit=100,v.run(function(){v.runGuarded(function(){var e=function(){};v.scheduleEventTask(l,function(){v.scheduleMacroTask(l,function(){v.scheduleMicroTask(l,function(){throw new Error},void 0,function(t){t._transitionTo=e,t.invoke()}),v.scheduleMicroTask(l,function(){throw Error()},void 0,function(t){t._transitionTo=e,t.invoke()})},void 0,function(t){t._transitionTo=e,t.invoke()},function(){})},void 0,function(t){t._transitionTo=e,t.invoke()},function(){})})}),Error.stackTraceLimit=m}})},2167:function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var i=e.__Zone_symbol_prefix||"__zone_symbol__";function o(e){return i+e}var a=!0===e[o("forceDuplicateZoneCheck")];if(e.Zone){if(a||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var s=function(){function t(e,n){_classCallCheck(this,t),this._parent=e,this._name=n?n.name||"unnamed":"<root>",this._properties=n&&n.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,n)}return _createClass(t,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]}},{key:"getZoneWith",value:function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}},{key:"run",value:function(e,t,n,r){I={parent:I,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{I=I.parent}}},{key:"runGuarded",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;I={parent:I,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{I=I.parent}}},{key:"runTask",value:function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");if(e.state!==y||e.type!==O&&e.type!==k){var r=e.state!=w;r&&e._transitionTo(w,C),e.runCount++;var i=U;U=e,I={parent:I,zone:this};try{e.type==k&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{e.state!==y&&e.state!==b&&(e.type==O||e.data&&e.data.isPeriodic?r&&e._transitionTo(C,w):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(y,w,y))),I=I.parent,U=i}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));t=t.parent}e._transitionTo(E,y);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(b,E,y),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==E&&e._transitionTo(C,E),e}},{key:"scheduleMicroTask",value:function(e,t,n,r){return this.scheduleTask(new A(T,e,t,n,r,void 0))}},{key:"scheduleMacroTask",value:function(e,t,n,r,i){return this.scheduleTask(new A(k,e,t,n,r,i))}},{key:"scheduleEventTask",value:function(e,t,n,r,i){return this.scheduleTask(new A(O,e,t,n,r,i))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||m).name+"; Execution: "+this.name+")");e._transitionTo(B,C,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(b,B),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,B),e.runCount=0,e}},{key:"_updateTaskCount",value:function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}],[{key:"assertZonePatched",value:function(){if(e.Promise!==M.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var e=t.current;e.parent;)e=e.parent;return e}},{key:"current",get:function(){return I.zone}},{key:"currentTask",get:function(){return U}},{key:"__load_patch",value:function(i,o){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(M.hasOwnProperty(i)){if(!s&&a)throw Error("Already loaded patch: "+i)}else if(!e["__Zone_disable_"+i]){var l="Zone:"+i;n(l),M[i]=o(e,t,D),r(l,l)}}}]),t}();s.__symbol__=o;var l,u={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,i,o){return e.invokeTask(n,r,i,o)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},c=function(){function e(t,n,r){_classCallCheck(this,e),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=n,this._forkZS=r&&(r&&r.onFork?r:n._forkZS),this._forkDlgt=r&&(r.onFork?n:n._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:n._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:n._interceptZS),this._interceptDlgt=r&&(r.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:n._invokeZS),this._invokeDlgt=r&&(r.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:n._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:n._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:n._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:n._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var i=r&&r.onHasTask;(i||n&&n._hasTaskZS)&&(this._hasTaskZS=i?r:u,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,r.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}return _createClass(e,[{key:"fork",value:function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}},{key:"intercept",value:function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}},{key:"invoke",value:function(e,t,n,r,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,i):t.apply(n,r)}},{key:"handleError",value:function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}},{key:"scheduleTask",value:function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=T)throw new Error("Task is missing scheduleFn.");g(t)}return n}},{key:"invokeTask",value:function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}},{key:"cancelTask",value:function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}},{key:"hasTask",value:function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}},{key:"_updateTaskCount",value:function(e,t){var n=this._taskCounts,r=n[e],i=n[e]=r+t;if(i<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=i||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}]),e}(),A=function(){function t(n,r,i,o,a,s){if(_classCallCheck(this,t),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=o,this.scheduleFn=a,this.cancelFn=s,!i)throw new Error("callback is not defined");this.callback=i;var l=this;this.invoke=n===O&&o&&o.useG?t.invokeTask:function(){return t.invokeTask.call(e,l,this,arguments)}}return _createClass(t,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(y,E)}},{key:"_transitionTo",value:function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(e,"', expecting state '").concat(t,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=e,e==y&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(e,t,n){e||(e=this),x++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==x&&v(),x--}}}]),t}(),h=o("setTimeout"),d=o("Promise"),f=o("then"),p=[],_=!1;function g(t){if(0===x&&0===p.length)if(l||e[d]&&(l=e[d].resolve(0)),l){var n=l[f];n||(n=l.then),n.call(l,v)}else e[h](v,0);t&&p.push(t)}function v(){if(!_){for(_=!0;p.length;){var e=p;p=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){D.onUnhandledError(r)}}}D.microtaskDrainDone(),_=!1}}var m={name:"NO ZONE"},y="notScheduled",E="scheduling",C="scheduled",w="running",B="canceling",b="unknown",T="microTask",k="macroTask",O="eventTask",M={},D={symbol:o,currentZoneFrame:function(){return I},onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:g,showUncaughtError:function(){return!s[o("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:P,patchMethod:function(){return P},bindArguments:function(){return[]},patchThen:function(){return P},patchMacroTask:function(){return P},patchEventPrototype:function(){return P},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return P},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return P},wrapWithCurrentZone:function(){return P},filterProperties:function(){return[]},attachOriginToPatched:function(){return P},_redefineProperty:function(){return P},patchCallbacks:function(){return P}},I={parent:null,zone:new s(null,null)},U=null,x=0;function P(){}r("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,i=Array.prototype.slice,o=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function l(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,r,i){return Zone.current.scheduleMacroTask(e,t,n,r,i)}var c=Zone.__symbol__,A="undefined"!=typeof window,h=A?window:void 0,d=A&&h||"object"==typeof self&&self||global,f=[null];function p(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function _(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var g="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in d)&&void 0!==d.process&&"[object process]"==={}.toString.call(d.process),m=!v&&!g&&!(!A||!h.HTMLElement),y=void 0!==d.process&&"[object process]"==={}.toString.call(d.process)&&!g&&!(!A||!h.HTMLElement),E={},C=function(e){if(e=e||d.event){var t=E[e.type];t||(t=E[e.type]=c("ON_PROPERTY"+e.type));var n,r=this||e.target||d,i=r[t];if(m&&r===h&&"error"===e.type){var o=e;!0===(n=i&&i.call(this,o.message,o.filename,o.lineno,o.colno,o.error))&&e.preventDefault()}else null==(n=i&&i.apply(this,arguments))||n||e.preventDefault();return n}};function w(n,r,i){var o=e(n,r);if(!o&&i&&e(i,r)&&(o={enumerable:!0,configurable:!0}),o&&o.configurable){var a=c("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete o.writable,delete o.value;var s=o.get,l=o.set,u=r.substr(2),A=E[u];A||(A=E[u]=c("ON_PROPERTY"+u)),o.set=function(e){var t=this;t||n!==d||(t=d),t&&(t[A]&&t.removeEventListener(u,C),l&&l.apply(t,f),"function"==typeof e?(t[A]=e,t.addEventListener(u,C,!1)):t[A]=null)},o.get=function(){var e=this;if(e||n!==d||(e=d),!e)return null;var t=e[A];if(t)return t;if(s){var i=s&&s.call(this);if(i)return o.set.call(this,i),"function"==typeof e.removeAttribute&&e.removeAttribute(r),i}return null},t(n,r,o),n[a]=!0}}}function B(e,t,n){if(t)for(var r=0;r<t.length;r++)w(e,"on"+t[r],n);else{var i=[];for(var o in e)"on"==o.substr(0,2)&&i.push(o);for(var a=0;a<i.length;a++)w(e,i[a],n)}}var b=c("originalInstance");function T(e){var n=d[e];if(n){d[c(e)]=n,d[e]=function(){var t=p(arguments,e);switch(t.length){case 0:this[b]=new n;break;case 1:this[b]=new n(t[0]);break;case 2:this[b]=new n(t[0],t[1]);break;case 3:this[b]=new n(t[0],t[1],t[2]);break;case 4:this[b]=new n(t[0],t[1],t[2],t[3]);break;default:throw new Error("Arg list too long.")}},M(d[e],n);var r,i=new n(function(){});for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(n){"function"==typeof i[n]?d[e].prototype[n]=function(){return this[b][n].apply(this[b],arguments)}:t(d[e].prototype,n,{set:function(t){"function"==typeof t?(this[b][n]=l(t,e+"."+n),M(this[b][n],t)):this[b][n]=t},get:function(){return this[b][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(d[e][r]=n[r])}}function k(t,r,i){for(var o=t;o&&!o.hasOwnProperty(r);)o=n(o);!o&&t[r]&&(o=t);var a=c(r),s=null;if(o&&(!(s=o[a])||!o.hasOwnProperty(a))&&(s=o[a]=o[r],_(o&&e(o,r)))){var l=i(s,a,r);o[r]=function(){return l(this,arguments)},M(o[r],s)}return s}function O(e,t,n){var r=null;function i(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=k(e,t,function(e){return function(t,r){var o=n(t,r);return o.cbIdx>=0&&"function"==typeof r[o.cbIdx]?u(o.name,r[o.cbIdx],o,i):e.apply(t,r)}})}function M(e,t){e[c("OriginalDelegate")]=t}var D=!1,I=!1;function U(){if(D)return I;D=!0;try{var e=h.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(I=!0)}catch(t){}return I}Zone.__load_patch("ZoneAwarePromise",function(e,t,n){var r=Object.getOwnPropertyDescriptor,i=Object.defineProperty,o=n.symbol,a=[],s=!0===e[o("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=o("Promise"),u=o("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(var e=function(){var e=a.shift();try{e.zone.runGuarded(function(){if(e.throwOriginal)throw e.rejection;throw e})}catch(r){!function(e){n.onUnhandledError(e);try{var r=t[c];"function"==typeof r&&r.call(this,e)}catch(i){}}(r)}};a.length;)e()};var c=o("unhandledPromiseRejectionHandler");function A(e){return e&&e.then}function h(e){return e}function d(e){return T.reject(e)}var f=o("state"),p=o("value"),_=o("finally"),g=o("parentPromiseValue"),v=o("parentPromiseState");function m(e,t){return function(n){try{E(e,t,n)}catch(r){E(e,!1,r)}}}var y=o("currentTaskTrace");function E(e,r,o){var l,u,c=(l=!1,function(e){return function(){l||(l=!0,e.apply(null,arguments))}});if(e===o)throw new TypeError("Promise resolved with itself");if(null===e[f]){var A=null;try{"object"!=typeof o&&"function"!=typeof o||(A=o&&o.then)}catch(k){return c(function(){E(e,!1,k)})(),e}if(!1!==r&&o instanceof T&&o.hasOwnProperty(f)&&o.hasOwnProperty(p)&&null!==o[f])w(o),E(e,o[f],o[p]);else if(!1!==r&&"function"==typeof A)try{A.call(o,c(m(e,r)),c(m(e,!1)))}catch(k){c(function(){E(e,!1,k)})()}else{e[f]=r;var h=e[p];if(e[p]=o,e[_]===_&&!0===r&&(e[f]=e[v],e[p]=e[g]),!1===r&&o instanceof Error){var d=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;d&&i(o,y,{configurable:!0,enumerable:!1,writable:!0,value:d})}for(var C=0;C<h.length;)B(e,h[C++],h[C++],h[C++],h[C++]);if(0==h.length&&0==r){e[f]=0;var b=o;try{throw new Error("Uncaught (in promise): "+((u=o)&&u.toString===Object.prototype.toString?(u.constructor&&u.constructor.name||"")+": "+JSON.stringify(u):u?u.toString():Object.prototype.toString.call(u))+(o&&o.stack?"\n"+o.stack:""))}catch(k){b=k}s&&(b.throwOriginal=!0),b.rejection=o,b.promise=e,b.zone=t.current,b.task=t.currentTask,a.push(b),n.scheduleMicroTask()}}}return e}var C=o("rejectionHandledHandler");function w(e){if(0===e[f]){try{var n=t[C];n&&"function"==typeof n&&n.call(this,{rejection:e[p],promise:e})}catch(i){}e[f]=!1;for(var r=0;r<a.length;r++)e===a[r].promise&&a.splice(r,1)}}function B(e,t,n,r,i){w(e);var o=e[f],a=o?"function"==typeof r?r:h:"function"==typeof i?i:d;t.scheduleMicroTask("Promise.then",function(){try{var r=e[p],i=!!n&&_===n[_];i&&(n[g]=r,n[v]=o);var s=t.run(a,void 0,i&&a!==d&&a!==h?[]:[r]);E(n,!0,s)}catch(l){E(n,!1,l)}},n)}var b=function(){},T=function(){function e(t){_classCallCheck(this,e);var n=this;if(!(n instanceof e))throw new Error("Must be an instanceof Promise.");n[f]=null,n[p]=[];try{t&&t(m(n,!0),m(n,!1))}catch(r){E(n,!1,r)}}return _createClass(e,[{key:Symbol.toStringTag,get:function(){return"Promise"}},{key:Symbol.species,get:function(){return e}},{key:"then",value:function(n,r){var i=this.constructor[Symbol.species];i&&"function"==typeof i||(i=this.constructor||e);var o=new i(b),a=t.current;return null==this[f]?this[p].push(a,o,n,r):B(this,a,o,n,r),o}},{key:"catch",value:function(e){return this.then(null,e)}},{key:"finally",value:function(n){var r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=e);var i=new r(b);i[_]=_;var o=t.current;return null==this[f]?this[p].push(o,i,n,n):B(this,o,i,n,n),i}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(e){return E(new this(null),!0,e)}},{key:"reject",value:function(e){return E(new this(null),!1,e)}},{key:"race",value:function(e){var t,n,r=new this(function(e,r){t=e,n=r});function i(e){t(e)}function o(e){n(e)}var a,s=_createForOfIteratorHelper(e);try{for(s.s();!(a=s.n()).done;){var l=a.value;A(l)||(l=this.resolve(l)),l.then(i,o)}}catch(u){s.e(u)}finally{s.f()}return r}},{key:"all",value:function(t){return e.allWithCallback(t)}},{key:"allSettled",value:function(t){return(this&&this.prototype instanceof e?this:e).allWithCallback(t,{thenCallback:function(e){return{status:"fulfilled",value:e}},errorCallback:function(e){return{status:"rejected",reason:e}}})}},{key:"allWithCallback",value:function(e,t){var n,r,i,o=this,a=new this(function(e,t){n=e,r=t}),s=2,l=0,u=[],c=_createForOfIteratorHelper(e);try{var h=function(){var e=i.value;A(e)||(e=o.resolve(e));var a=l;try{e.then(function(e){u[a]=t?t.thenCallback(e):e,0===--s&&n(u)},function(e){t?(u[a]=t.errorCallback(e),0===--s&&n(u)):r(e)})}catch(c){r(c)}s++,l++};for(c.s();!(i=c.n()).done;)h()}catch(d){c.e(d)}finally{c.f()}return 0===(s-=2)&&n(u),a}}]),e}();T.resolve=T.resolve,T.reject=T.reject,T.race=T.race,T.all=T.all;var O=e[l]=e.Promise;e.Promise=T;var M=o("thenPatched");function D(e){var t=e.prototype,n=r(t,"then");if(!n||!1!==n.writable&&n.configurable){var i=t.then;t[u]=i,e.prototype.then=function(e,t){var n=this;return new T(function(e,t){i.call(n,e,t)}).then(e,t)},e[M]=!0}}return n.patchThen=D,O&&(D(O),k(e,"fetch",function(e){return t=e,function(e,n){var r=t.apply(e,n);if(r instanceof T)return r;var i=r.constructor;return i[M]||D(i),r};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=a,T}),Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,n=c("OriginalDelegate"),r=c("Promise"),i=c("Error"),o=function(){if("function"==typeof this){var o=this[n];if(o)return"function"==typeof o?t.call(o):Object.prototype.toString.call(o);if(this===Promise){var a=e[r];if(a)return t.call(a)}if(this===Error){var s=e[i];if(s)return t.call(s)}}return t.call(this)};o[n]=t,Function.prototype.toString=o;var a=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":a.call(this)}});var x=!1;if("undefined"!=typeof window)try{var P=Object.defineProperty({},"passive",{get:function(){x=!0}});window.addEventListener("test",P,P),window.removeEventListener("test",P,P)}catch(se){x=!1}var S={useG:!0},Q={},F={},L=new RegExp("^"+s+"(\\w+)(true|false)$"),R=c("propagationStopped");function N(e,t){var n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",i=s+n,o=s+r;Q[e]={},Q[e].false=i,Q[e].true=o}function H(e,t,r){var i=r&&r.add||"addEventListener",o=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",l=r&&r.rmAll||"removeAllListeners",u=c(i),A="."+i+":",h=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var i=e.options;i&&"object"==typeof i&&i.once&&t[o].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,i)}},d=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[Q[t.type].false];if(r)if(1===r.length)h(r[0],n,t);else for(var i=r.slice(),o=0;o<i.length&&(!t||!0!==t[R]);o++)h(i[o],n,t)}},f=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[Q[t.type].true];if(r)if(1===r.length)h(r[0],n,t);else for(var i=r.slice(),o=0;o<i.length&&(!t||!0!==t[R]);o++)h(i[o],n,t)}};function p(t,r){if(!t)return!1;var h=!0;r&&void 0!==r.useG&&(h=r.useG);var p=r&&r.vh,_=!0;r&&void 0!==r.chkDup&&(_=r.chkDup);var g=!1;r&&void 0!==r.rt&&(g=r.rt);for(var m=t;m&&!m.hasOwnProperty(i);)m=n(m);if(!m&&t[i]&&(m=t),!m)return!1;if(m[u])return!1;var y,E=r&&r.eventNameToString,C={},w=m[u]=m[i],B=m[c(o)]=m[o],b=m[c(a)]=m[a],T=m[c(l)]=m[l];function k(e,t){return!x&&"object"==typeof e&&e?!!e.capture:x&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}r&&r.prepend&&(y=m[c(r.prepend)]=m[r.prepend]);var O=h?function(e){if(!C.isExisting)return w.call(C.target,C.eventName,C.capture?f:d,C.options)}:function(e){return w.call(C.target,C.eventName,e.invoke,C.options)},D=h?function(e){if(!e.isRemoved){var t,n=Q[e.eventName];n&&(t=n[e.capture?"true":"false"]);var r=t&&e.target[t];if(r)for(var i=0;i<r.length;i++)if(r[i]===e){r.splice(i,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[t]=null);break}}if(e.allRemoved)return B.call(e.target,e.eventName,e.capture?f:d,e.options)}:function(e){return B.call(e.target,e.eventName,e.invoke,e.options)},I=r&&r.diff?r.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},U=Zone[c("UNPATCHED_EVENTS")],P=e[c("PASSIVE_EVENTS")],R=function(t,n,i,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var l=this||e,u=arguments[0];r&&r.transferEventName&&(u=r.transferEventName(u));var c=arguments[1];if(!c)return t.apply(this,arguments);if(v&&"uncaughtException"===u)return t.apply(this,arguments);var A=!1;if("function"!=typeof c){if(!c.handleEvent)return t.apply(this,arguments);A=!0}if(!p||p(t,c,l,arguments)){var d=x&&!!P&&-1!==P.indexOf(u),f=k(arguments[2],d);if(U)for(var g=0;g<U.length;g++)if(u===U[g])return d?t.call(l,u,c,f):t.apply(this,arguments);var m=!!f&&("boolean"==typeof f||f.capture),y=!(!f||"object"!=typeof f)&&f.once,w=Zone.current,B=Q[u];B||(N(u,E),B=Q[u]);var b,T=B[m?"true":"false"],O=l[T],M=!1;if(O){if(M=!0,_)for(var D=0;D<O.length;D++)if(I(O[D],c))return}else O=l[T]=[];var L=l.constructor.name,R=F[L];R&&(b=R[u]),b||(b=L+n+(E?E(u):u)),C.options=f,y&&(C.options.once=!1),C.target=l,C.capture=m,C.eventName=u,C.isExisting=M;var H=h?S:void 0;H&&(H.taskData=C);var K=w.scheduleEventTask(b,c,H,i,o);return C.target=null,H&&(H.taskData=null),y&&(f.once=!0),(x||"boolean"!=typeof K.options)&&(K.options=f),K.target=l,K.capture=m,K.eventName=u,A&&(K.originalDelegate=c),s?O.unshift(K):O.push(K),a?l:void 0}}};return m[i]=R(w,A,O,D,g),y&&(m.prependListener=R(y,".prependListener:",function(e){return y.call(C.target,C.eventName,e.invoke,C.options)},D,g,!0)),m[o]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));var i=arguments[2],o=!!i&&("boolean"==typeof i||i.capture),a=arguments[1];if(!a)return B.apply(this,arguments);if(!p||p(B,a,t,arguments)){var l,u=Q[n];u&&(l=u[o?"true":"false"]);var c=l&&t[l];if(c)for(var A=0;A<c.length;A++){var h=c[A];if(I(h,a))return c.splice(A,1),h.isRemoved=!0,0===c.length&&(h.allRemoved=!0,t[l]=null,"string"==typeof n)&&(t[s+"ON_PROPERTY"+n]=null),h.zone.cancelTask(h),g?t:void 0}return B.apply(this,arguments)}},m[a]=function(){var t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));for(var i=[],o=K(t,E?E(n):n),a=0;a<o.length;a++){var s=o[a];i.push(s.originalDelegate?s.originalDelegate:s.callback)}return i},m[l]=function(){var t=this||e,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));var i=Q[n];if(i){var a=t[i.false],s=t[i.true];if(a)for(var u=a.slice(),c=0;c<u.length;c++){var A=u[c];this[o].call(this,n,A.originalDelegate?A.originalDelegate:A.callback,A.options)}if(s)for(var h=s.slice(),d=0;d<h.length;d++){var f=h[d];this[o].call(this,n,f.originalDelegate?f.originalDelegate:f.callback,f.options)}}}else{for(var p=Object.keys(t),_=0;_<p.length;_++){var v=L.exec(p[_]),m=v&&v[1];m&&"removeListener"!==m&&this[l].call(this,m)}this[l].call(this,"removeListener")}if(g)return this},M(m[i],w),M(m[o],B),T&&M(m[l],T),b&&M(m[a],b),!0}for(var _=[],g=0;g<t.length;g++)_[g]=p(t[g],r);return _}function K(e,t){if(!t){var n=[];for(var r in e){var i=L.exec(r),o=i&&i[1];if(o&&(!t||o===t)){var a=e[r];if(a)for(var s=0;s<a.length;s++)n.push(a[s])}}return n}var l=Q[t];l||(N(t),l=Q[t]);var u=e[l.false],c=e[l.true];return u?c?u.concat(c):u.slice():c?c.slice():[]}function Z(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(t,n){t[R]=!0,e&&e.apply(t,n)}})}function V(e,t,n,r,i){var o=Zone.__symbol__(r);if(!t[o]){var a=t[o]=t[r];t[r]=function(o,s,l){return s&&s.prototype&&i.forEach(function(t){var i="".concat(n,".").concat(r,"::")+t,o=s.prototype;if(o.hasOwnProperty(t)){var a=e.ObjectGetOwnPropertyDescriptor(o,t);a&&a.value?(a.value=e.wrapWithCurrentZone(a.value,i),e._redefineProperty(s.prototype,t,a)):o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}else o[t]&&(o[t]=e.wrapWithCurrentZone(o[t],i))}),a.call(t,o,s,l)},e.attachOriginToPatched(t[r],a)}}var W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],z=["load"],J=["blur","error","focus","load","resize","scroll","messageerror"],G=["bounce","finish","start"],Y=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],j=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],X=["close","error","open","message"],$=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;var r=n.filter(function(t){return t.target===e});if(!r||0===r.length)return t;var i=r[0].ignoreProperties;return t.filter(function(e){return-1===i.indexOf(e)})}function ne(e,t,n,r){e&&B(e,te(e,t,n),r)}function re(e,t){if((!v||y)&&!Zone[e.symbol("patchEvents")]){var r="undefined"!=typeof WebSocket,i=t.__Zone_ignore_on_properties;if(m){var o=window,a=function(){try{var e=h.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:o,ignoreProperties:["error"]}]:[];ne(o,ee.concat(["messageerror"]),i?i.concat(a):i,n(o)),ne(Document.prototype,ee,i),void 0!==o.SVGElement&&ne(o.SVGElement.prototype,ee,i),ne(Element.prototype,ee,i),ne(HTMLElement.prototype,ee,i),ne(HTMLMediaElement.prototype,q,i),ne(HTMLFrameSetElement.prototype,W.concat(J),i),ne(HTMLBodyElement.prototype,W.concat(J),i),ne(HTMLFrameElement.prototype,z,i),ne(HTMLIFrameElement.prototype,z,i);var s=o.HTMLMarqueeElement;s&&ne(s.prototype,G,i);var l=o.Worker;l&&ne(l.prototype,$,i)}var u=t.XMLHttpRequest;u&&ne(u.prototype,Y,i);var c=t.XMLHttpRequestEventTarget;c&&ne(c&&c.prototype,Y,i),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,j,i),ne(IDBRequest.prototype,j,i),ne(IDBOpenDBRequest.prototype,j,i),ne(IDBDatabase.prototype,j,i),ne(IDBTransaction.prototype,j,i),ne(IDBCursor.prototype,j,i)),r&&ne(WebSocket.prototype,X,i)}}Zone.__load_patch("util",function(n,o,a){a.patchOnProperties=B,a.patchMethod=k,a.bindArguments=p,a.patchMacroTask=O;var u=o.__symbol__("BLACK_LISTED_EVENTS"),c=o.__symbol__("UNPATCHED_EVENTS");n[c]&&(n[u]=n[c]),n[u]&&(o[u]=o[c]=n[u]),a.patchEventPrototype=Z,a.patchEventTarget=H,a.isIEOrEdge=U,a.ObjectDefineProperty=t,a.ObjectGetOwnPropertyDescriptor=e,a.ObjectCreate=r,a.ArraySlice=i,a.patchClass=T,a.wrapWithCurrentZone=l,a.filterProperties=te,a.attachOriginToPatched=M,a._redefineProperty=Object.defineProperty,a.patchCallbacks=V,a.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:Q,eventNames:ee,isBrowser:m,isMix:y,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var ie=c("zoneTask");function oe(e,t,n,r){var i=null,o=null;n+=r;var a={};function s(t){var n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=i.apply(e,n.args),t}function l(t){return o.call(e,t.data.handleId)}i=k(e,t+=r,function(n){return function(i,o){if("function"==typeof o[0]){var c={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?o[1]||0:void 0,args:o},A=o[0];o[0]=function(){try{return A.apply(this,arguments)}finally{c.isPeriodic||("number"==typeof c.handleId?delete a[c.handleId]:c.handleId&&(c.handleId[ie]=null))}};var h=u(t,o[0],c,s,l);if(!h)return h;var d=h.data.handleId;return"number"==typeof d?a[d]=h:d&&(d[ie]=h),d&&d.ref&&d.unref&&"function"==typeof d.ref&&"function"==typeof d.unref&&(h.ref=d.ref.bind(d),h.unref=d.unref.bind(d)),"number"==typeof d||d?d:h}return n.apply(e,o)}}),o=k(e,n,function(t){return function(n,r){var i,o=r[0];"number"==typeof o?i=a[o]:(i=o&&o[ie])||(i=o),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete a[o]:o&&(o[ie]=null),i.zone.cancelTask(i)):t.apply(e,r)}})}function ae(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,i=n.zoneSymbolEventNames,o=n.TRUE_STR,a=n.FALSE_STR,s=n.ZONE_SYMBOL_PREFIX,l=0;l<r.length;l++){var u=r[l],c=s+(u+a),A=s+(u+o);i[u]={},i[u][a]=c,i[u][o]=A}var h=e.EventTarget;return h&&h.prototype?(t.patchEventTarget(e,[h&&h.prototype]),!0):void 0}}Zone.__load_patch("legacy",function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(e,t,n){n.patchMethod(e,"queueMicrotask",function(e){return function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])}})}),Zone.__load_patch("timers",function(e){oe(e,"set","clear","Timeout"),oe(e,"set","clear","Interval"),oe(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){oe(e,"request","cancel","AnimationFrame"),oe(e,"mozRequest","mozCancel","AnimationFrame"),oe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)k(e,n[r],function(n,r,i){return function(r,o){return t.current.run(n,e,o,i)}})}),Zone.__load_patch("EventTarget",function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),ae(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",function(e,t,n){T("MutationObserver"),T("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(e,t,n){T("IntersectionObserver")}),Zone.__load_patch("FileReader",function(e,t,n){T("FileReader")}),Zone.__load_patch("on_property",function(e,t,n){re(n,e)}),Zone.__load_patch("customElements",function(e,t,n){!function(e,t){var n=t.getGlobalObjects(),r=n.isBrowser,i=n.isMix;(r||i)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",function(e,t){!function(e){var h=e.XMLHttpRequest;if(h){var d=h.prototype,f=d[o],p=d[a];if(!f){var _=e.XMLHttpRequestEventTarget;if(_){var g=_.prototype;f=g[o],p=g[a]}}var v=k(d,"open",function(){return function(e,t){return e[r]=0==t[2],e[l]=t[1],v.apply(e,t)}}),m=c("fetchTaskAborting"),y=c("fetchTaskScheduling"),E=k(d,"send",function(){return function(e,n){if(!0===t.current[y])return E.apply(e,n);if(e[r])return E.apply(e,n);var i={target:e,url:e[l],isPeriodic:!1,args:n,aborted:!1},o=u("XMLHttpRequest.send",B,i,w,b);e&&!0===e[A]&&!i.aborted&&"scheduled"===o.state&&o.invoke()}}),C=k(d,"abort",function(){return function(e,r){var i=e[n];if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===t.current[m])return C.apply(e,r)}})}function w(e){var r=e.data,l=r.target;l[s]=!1,l[A]=!1;var u=l[i];f||(f=l[o],p=l[a]),u&&p.call(l,"readystatechange",u);var c=l[i]=function(){if(l.readyState===l.DONE)if(!r.aborted&&l[s]&&"scheduled"===e.state){var n=l[t.__symbol__("loadfalse")];if(0!==l.status&&n&&n.length>0){var i=e.invoke;e.invoke=function(){for(var n=l[t.__symbol__("loadfalse")],o=0;o<n.length;o++)n[o]===e&&n.splice(o,1);r.aborted||"scheduled"!==e.state||i.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==l[s]||(l[A]=!0)};return f.call(l,"readystatechange",c),l[n]||(l[n]=e),E.apply(l,r.args),l[s]=!0,e}function B(){}function b(e){var t=e.data;return t.aborted=!0,C.apply(t.target,t.args)}}(e);var n=c("xhrTask"),r=c("xhrSync"),i=c("xhrListener"),s=c("xhrScheduled"),l=c("xhrURL"),A=c("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(t){t.navigator&&t.navigator.geolocation&&function(t,n){for(var r=t.constructor.name,i=function(i){var o=n[i],a=t[o];if(a){if(!_(e(t,o)))return"continue";t[o]=function(e){var t=function(){return e.apply(this,p(arguments,r+"."+o))};return M(t,e),t}(a)}},o=0;o<n.length;o++)i(o)}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,t){function n(t){return function(n){K(e,t).forEach(function(r){var i=e.PromiseRejectionEvent;if(i){var o=new i(t,{promise:n.promise,reason:n.rejection});r.invoke(o)}})}}e.PromiseRejectionEvent&&(t[c("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[c("rejectionHandledHandler")]=n("rejectionhandled"))})},7404:function(e,t,n){"use strict";n.d(t,{C:function(){return ce}});var r=n(4762),i=n(5366),o=n(529),a=n(3943),s=n(1174),l=n(4213),u=n.n(l),c=n(8944),A=n(6138),h=n(8297),d=n(1116),f=n(2065),p=n(7431),_=n(2290),g=["network"];function v(e,t){if(1&e&&(i.TgZ(0,"p"),i._uU(1," Algorithm: "),i.TgZ(2,"strong"),i._uU(3),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(3),i.Oqu(n.algorithmNames[n.task.info.algorithm])}}function m(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Result Size"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.resultSize)}}function y(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"K"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.k)}}function E(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Number of trees"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.numTrees)}}function C(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Tolerance"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.tolerance)}}function w(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Damping Factor"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.dampingFactor)}}function B(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Maximum Degree"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.maxDeg)}}function b(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Hub Penality"),i.qZA(),i.TgZ(3,"td"),i._uU(4),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.task.info.parameters.hubPenalty)}}function T(e,t){1&e&&i._UZ(0,"i",18)}function k(e,t){1&e&&i._UZ(0,"i",19)}function O(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Include indirect drugs"),i.qZA(),i.TgZ(3,"td"),i.YNc(4,T,1,0,"i",16),i.YNc(5,k,1,0,"i",17),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Q6J("ngIf",n.task.info.parameters.includeIndirectDrugs),i.xp6(1),i.Q6J("ngIf",!n.task.info.parameters.includeIndirectDrugs)}}function M(e,t){1&e&&i._UZ(0,"i",18)}function D(e,t){1&e&&i._UZ(0,"i",19)}function I(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._uU(2,"Include non-approved drugs"),i.qZA(),i.TgZ(3,"td"),i.YNc(4,M,1,0,"i",16),i.YNc(5,D,1,0,"i",17),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Q6J("ngIf",n.task.info.parameters.includeNonApprovedDrugs),i.xp6(1),i.Q6J("ngIf",!n.task.info.parameters.includeNonApprovedDrugs)}}function U(e,t){if(1&e&&(i.TgZ(0,"div"),i.TgZ(1,"p"),i._uU(2," Algorithm: "),i.TgZ(3,"strong"),i._uU(4),i.qZA(),i.qZA(),i.TgZ(5,"table",15),i.TgZ(6,"tbody"),i.TgZ(7,"tr"),i.TgZ(8,"td"),i._uU(9,"Number of Trees"),i.qZA(),i.TgZ(10,"td"),i._uU(11,"1"),i.qZA(),i.qZA(),i.TgZ(12,"tr"),i.TgZ(13,"td"),i._uU(14,"Tolerance"),i.qZA(),i.TgZ(15,"td"),i._uU(16,"0"),i.qZA(),i.qZA(),i.TgZ(17,"tr"),i.TgZ(18,"td"),i._uU(19,"Hub Penality"),i.qZA(),i.TgZ(20,"td"),i._uU(21,"1"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(22,"p"),i._uU(23," Algorithm: "),i.TgZ(24,"strong"),i._uU(25),i.qZA(),i.qZA(),i.TgZ(26,"table",15),i.TgZ(27,"tbody"),i.TgZ(28,"tr"),i.TgZ(29,"td"),i._uU(30,"Include indirect drugs"),i.qZA(),i.TgZ(31,"td"),i._UZ(32,"i",19),i.qZA(),i.qZA(),i.TgZ(33,"tr"),i.TgZ(34,"td"),i._uU(35,"Include non-approved drugs"),i.qZA(),i.TgZ(36,"td"),i._UZ(37,"i",18),i.qZA(),i.qZA(),i.TgZ(38,"tr"),i.TgZ(39,"td"),i._uU(40,"Hub Penality"),i.qZA(),i.TgZ(41,"td"),i._uU(42,"1"),i.qZA(),i.qZA(),i.TgZ(43,"tr"),i.TgZ(44,"td"),i._uU(45,"Result Size"),i.qZA(),i.TgZ(46,"td"),i._uU(47,"10"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(4),i.Oqu(n.algorithmNames.multisteiner),i.xp6(21),i.Oqu(n.algorithmNames.closeness)}}function x(e,t){if(1&e&&(i.TgZ(0,"div"),i.YNc(1,v,4,1,"p",0),i.TgZ(2,"div"),i.TgZ(3,"table",15),i.TgZ(4,"tbody"),i.YNc(5,m,5,1,"tr",0),i.YNc(6,y,5,1,"tr",0),i.YNc(7,E,5,1,"tr",0),i.YNc(8,C,5,1,"tr",0),i.YNc(9,w,5,1,"tr",0),i.YNc(10,B,5,1,"tr",0),i.YNc(11,b,5,1,"tr",0),i.YNc(12,O,6,2,"tr",0),i.YNc(13,I,6,2,"tr",0),i.qZA(),i.qZA(),i.qZA(),i.YNc(14,U,48,2,"div",0),i.qZA()),2&e){var n=i.oxw(3);i.xp6(1),i.Q6J("ngIf","quick"!==n.task.info.algorithm&&"super"!==n.task.info.algorithm),i.xp6(4),i.Q6J("ngIf",void 0!==n.task.info.parameters.resultSize),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.k),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.numTrees),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.tolerance),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.dampingFactor),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.maxDeg),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.hubPenalty),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.includeIndirectDrugs&&"drug"===n.task.info.target),i.xp6(1),i.Q6J("ngIf",void 0!==n.task.info.parameters.includeNonApprovedDrugs&&"drug"===n.task.info.target),i.xp6(1),i.Q6J("ngIf","quick"===n.task.info.algorithm||"super"===n.task.info.algorithm)}}function P(e,t){if(1&e&&(i.TgZ(0,"div",14),i.YNc(1,x,15,11,"div",0),i.qZA()),2&e){var n=i.oxw(2);i.ekj("is-visible","meta"===n.tab),i.xp6(1),i.Q6J("ngIf",n.task)}}function S(e,t){1&e&&(i.TgZ(0,"span"),i._uU(1,"Tissue"),i.qZA())}function Q(e,t){if(1&e&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&e){var n=i.oxw(3);i.xp6(1),i.Oqu(n.selectedTissue.name)}}function F(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"a",42),i.NdJ("click",function(){var e=i.CHM(n).$implicit;return i.oxw(3).selectTissue(e)}),i._uU(1),i.qZA()}if(2&e){var r=t.$implicit,o=i.oxw(3);i.ekj("is-active",o.selectedTissue&&r.netexId===o.selectedTissue.netexId),i.xp6(1),i.hij(" ",r.name," ")}}function L(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"app-toggle",46),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(3).toggleDrugs(e)}),i.qZA()}if(2&e){var r=i.oxw(3);i.Q6J("value",r.showDrugs)}}function R(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",20),i.TgZ(1,"div",21),i.TgZ(2,"div",22,23),i.TgZ(4,"button",24),i._uU(5,"Loading"),i.qZA(),i.qZA(),i.TgZ(6,"div",25),i._UZ(7,"img",26),i.qZA(),i.qZA(),i.TgZ(8,"footer",27),i.TgZ(9,"div",28),i.TgZ(10,"p",29),i.TgZ(11,"button",30),i.NdJ("click",function(){return i.CHM(n),i.oxw(2).toCanvas()}),i.TgZ(12,"span",4),i._UZ(13,"i",31),i.qZA(),i.TgZ(14,"span"),i._uU(15," Screenshot "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(16,"div",28),i.TgZ(17,"p",29),i.TgZ(18,"a",32),i.TgZ(19,"span",4),i._UZ(20,"i",33),i.qZA(),i.TgZ(21,"span"),i._uU(22," Export as .graphml "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(23,"div",34),i.TgZ(24,"div",35),i.TgZ(25,"button",36),i.NdJ("click",function(){i.CHM(n);var e=i.oxw(2);return e.expressionExpanded=!e.expressionExpanded}),i.YNc(26,S,2,0,"span",0),i.YNc(27,Q,2,1,"span",0),i.TgZ(28,"span",37),i._UZ(29,"i",38),i.qZA(),i.qZA(),i.qZA(),i.TgZ(30,"div",39),i.TgZ(31,"div",40),i.TgZ(32,"div",41),i.TgZ(33,"a",42),i.NdJ("click",function(){return i.CHM(n),i.oxw(2).selectTissue(null)}),i._uU(34," None "),i.qZA(),i.YNc(35,F,2,3,"a",43),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.YNc(36,L,1,1,"app-toggle",44),i.TgZ(37,"app-toggle",45),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).updatePhysicsEnabled(e)}),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.ekj("is-visible","network"===r.tab),i.xp6(18),i.Q6J("href",r.graphmlLink(),i.LSH),i.xp6(5),i.ekj("is-active",r.expressionExpanded),i.xp6(2),i.ekj("is-outlined",!r.selectedTissue),i.xp6(1),i.Q6J("ngIf",!r.selectedTissue),i.xp6(1),i.Q6J("ngIf",r.selectedTissue),i.xp6(2),i.ekj("fa-angle-up",r.expressionExpanded)("fa-angle-left",!r.expressionExpanded),i.xp6(4),i.ekj("is-active",!r.selectedTissue),i.xp6(2),i.Q6J("ngForOf",r.analysis.getTissues()),i.xp6(1),i.Q6J("ngIf","drug-target"===r.task.info.target),i.xp6(1),i.Q6J("value",r.physicsEnabled)}}function N(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",52),i.TgZ(1,"p",53),i.TgZ(2,"button",54),i.NdJ("click",function(){return i.CHM(n),i.oxw(3).toggleNormalization(!0)}),i.TgZ(3,"span",37),i._UZ(4,"i",55),i.qZA(),i.TgZ(5,"span"),i._uU(6,"Normalization On"),i.qZA(),i.qZA(),i.qZA(),i.TgZ(7,"p",53),i.TgZ(8,"button",56),i.NdJ("click",function(){return i.CHM(n),i.oxw(3).toggleNormalization(!1)}),i.TgZ(9,"span"),i._uU(10,"Off"),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(3);i.xp6(2),i.ekj("is-primary",r.tableNormalize),i.xp6(6),i.ekj("is-primary",!r.tableNormalize)}}function H(e,t){1&e&&(i.TgZ(0,"div"),i.TgZ(1,"i"),i._uU(2,"No drugs have been found."),i.qZA(),i.qZA())}function K(e,t){if(1&e&&(i.TgZ(0,"div",57),i.TgZ(1,"h4",58),i.TgZ(2,"span",4),i._UZ(3,"i",59),i.qZA(),i.TgZ(4,"span"),i._uU(5,"Drugs"),i.qZA(),i.qZA(),i.TgZ(6,"a",60),i.TgZ(7,"span",4),i._UZ(8,"i",61),i.qZA(),i.TgZ(9,"span"),i._uU(10,"Download"),i.qZA(),i.qZA(),i.qZA()),2&e){var n=i.oxw(3);i.xp6(6),i.Q6J("href",n.downloadLink("drugs"),i.LSH)}}function Z(e,t){if(1&e&&(i.TgZ(0,"th",65),i._uU(1," Score "),i.TgZ(2,"button",68),i._uU(3," ? "),i.qZA(),i._UZ(4,"p-sortIcon",66),i.qZA()),2&e){var n=i.oxw(5);i.Q6J("pSortableColumn","score"),i.xp6(2),i.uIk("data-tooltip",n.tableDrugScoreTooltip),i.xp6(2),i.Q6J("field","score")}}function V(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"th",65),i._uU(2," ID "),i._UZ(3,"p-sortIcon",66),i.qZA(),i.TgZ(4,"th",65),i._uU(5," Name "),i._UZ(6,"p-sortIcon",66),i.qZA(),i.TgZ(7,"th",65),i._uU(8," Approved "),i._UZ(9,"p-sortIcon",66),i.qZA(),i.TgZ(10,"th",65),i._uU(11," In Trial "),i._UZ(12,"p-sortIcon",66),i.qZA(),i.TgZ(13,"th",65),i._uU(14," In Literature "),i._UZ(15,"p-sortIcon",66),i.qZA(),i.YNc(16,Z,5,3,"th",67),i.qZA()),2&e){var n=i.oxw(4);i.xp6(1),i.Q6J("pSortableColumn","drugId"),i.xp6(2),i.Q6J("field","drugId"),i.xp6(1),i.Q6J("pSortableColumn","name"),i.xp6(2),i.Q6J("field","name"),i.xp6(1),i.Q6J("pSortableColumn","status"),i.xp6(2),i.Q6J("field","status"),i.xp6(1),i.Q6J("pSortableColumn","inTrial"),i.xp6(2),i.Q6J("field","inTrial"),i.xp6(1),i.Q6J("pSortableColumn","inLiterature"),i.xp6(2),i.Q6J("field","inLiterature"),i.xp6(1),i.Q6J("ngIf",n.tableHasScores)}}function W(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",18),i._uU(2," Approved "),i.qZA())}function q(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",19),i.qZA())}function z(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",70),i._uU(2," Trial "),i.qZA())}function J(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",19),i.qZA())}function G(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",71),i._uU(2," Literature "),i.qZA())}function Y(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",19),i.qZA())}function j(e,t){if(1&e&&(i.TgZ(0,"td"),i._uU(1),i.ALo(2,"number"),i.qZA()),2&e){var n=i.oxw().$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,n.score))}}function X(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i.TgZ(2,"a",69),i._uU(3),i.qZA(),i.qZA(),i.TgZ(4,"td"),i._uU(5),i.qZA(),i.TgZ(6,"td"),i.YNc(7,W,3,0,"span",0),i.YNc(8,q,2,0,"span",0),i.qZA(),i.TgZ(9,"td"),i.YNc(10,z,3,0,"span",0),i.YNc(11,J,2,0,"span",0),i.qZA(),i.TgZ(12,"td"),i.YNc(13,G,3,0,"span",0),i.YNc(14,Y,2,0,"span",0),i.qZA(),i.YNc(15,j,3,3,"td",0),i.qZA()),2&e){var n=t.$implicit,r=i.oxw(4);i.xp6(2),i.MGl("href","https://www.drugbank.ca/drugs/",n.drugId,"",i.LSH),i.xp6(1),i.Oqu(n.drugId),i.xp6(2),i.Oqu(n.name),i.xp6(2),i.Q6J("ngIf","approved"===n.status),i.xp6(1),i.Q6J("ngIf","unapproved"===n.status),i.xp6(2),i.Q6J("ngIf",n.inTrial),i.xp6(1),i.Q6J("ngIf",!n.inTrial),i.xp6(2),i.Q6J("ngIf",n.inLiterature),i.xp6(1),i.Q6J("ngIf",!n.inLiterature),i.xp6(1),i.Q6J("ngIf",r.tableHasScores)}}function $(e,t){if(1&e&&(i.TgZ(0,"p-table",62),i.YNc(1,V,17,11,"ng-template",63),i.YNc(2,X,16,10,"ng-template",64),i.qZA()),2&e){var n=i.oxw(3);i.Q6J("value",n.tableDrugs)}}function ee(e,t){if(1&e&&(i.TgZ(0,"div",57),i.TgZ(1,"h4",58),i.TgZ(2,"span",4),i._UZ(3,"i",72),i.qZA(),i.TgZ(4,"span"),i._uU(5,"Proteins"),i.qZA(),i.qZA(),i.TgZ(6,"a",60),i.TgZ(7,"span",4),i._UZ(8,"i",61),i.qZA(),i.TgZ(9,"span"),i._uU(10,"Download"),i.qZA(),i.qZA(),i.qZA()),2&e){var n=i.oxw(3);i.xp6(6),i.Q6J("href",n.downloadLink("proteins"),i.LSH)}}function te(e,t){if(1&e&&(i.TgZ(0,"th",65),i._uU(1," Score "),i.TgZ(2,"button",68),i._uU(3," ? "),i.qZA(),i._UZ(4,"p-sortIcon",66),i.qZA()),2&e){var n=i.oxw(5);i.Q6J("pSortableColumn","score"),i.xp6(2),i.uIk("data-tooltip",n.tableProteinScoreTooltip),i.xp6(2),i.Q6J("field","score")}}function ne(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"th",74),i._UZ(2,"p-tableHeaderCheckbox"),i.qZA(),i.TgZ(3,"th",65),i._uU(4," UniProt Code "),i._UZ(5,"p-sortIcon",66),i.qZA(),i.TgZ(6,"th",65),i._uU(7," Gene "),i._UZ(8,"p-sortIcon",66),i.qZA(),i.TgZ(9,"th",65),i._uU(10," Name "),i._UZ(11,"p-sortIcon",66),i.qZA(),i.YNc(12,te,5,3,"th",67),i.TgZ(13,"th",65),i._uU(14," Seed "),i._UZ(15,"p-sortIcon",66),i.qZA(),i.qZA()),2&e){var n=i.oxw(4);i.xp6(3),i.Q6J("pSortableColumn","proteinAc"),i.xp6(2),i.Q6J("field","proteinAc"),i.xp6(1),i.Q6J("pSortableColumn","name"),i.xp6(2),i.Q6J("field","name"),i.xp6(1),i.Q6J("pSortableColumn","proteinName"),i.xp6(2),i.Q6J("field","proteinName"),i.xp6(1),i.Q6J("ngIf",n.tableHasScores),i.xp6(1),i.Q6J("pSortableColumn","isSeed"),i.xp6(2),i.Q6J("field","isSeed")}}function re(e,t){if(1&e&&(i.TgZ(0,"td"),i._uU(1),i.ALo(2,"number"),i.qZA()),2&e){var n=i.oxw().$implicit;i.xp6(1),i.Oqu(i.lcZ(2,1,n.score))}}function ie(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",18),i._uU(2," Seed "),i.qZA())}function oe(e,t){1&e&&(i.TgZ(0,"span"),i._UZ(1,"i",19),i.qZA())}function ae(e,t){if(1&e&&(i.TgZ(0,"tr"),i.TgZ(1,"td"),i._UZ(2,"p-tableCheckbox",62),i.qZA(),i.TgZ(3,"td"),i.TgZ(4,"a",69),i._uU(5),i.qZA(),i.qZA(),i.TgZ(6,"td"),i._uU(7),i.qZA(),i.TgZ(8,"td"),i._uU(9),i.qZA(),i.YNc(10,re,3,3,"td",0),i.TgZ(11,"td"),i.YNc(12,ie,3,0,"span",0),i.YNc(13,oe,2,0,"span",0),i.qZA(),i.qZA()),2&e){var n=t.$implicit,r=i.oxw(4);i.xp6(2),i.Q6J("value",n),i.xp6(2),i.MGl("href","https://www.uniprot.org/uniprot/",n.proteinAc,"",i.LSH),i.xp6(1),i.Oqu(n.proteinAc),i.xp6(2),i.Oqu(n.name),i.xp6(2),i.Oqu(n.proteinName),i.xp6(1),i.Q6J("ngIf",r.tableHasScores),i.xp6(2),i.Q6J("ngIf",n.isSeed),i.xp6(1),i.Q6J("ngIf",!n.isSeed)}}function se(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"p-table",73),i.NdJ("selectionChange",function(e){return i.CHM(n),i.oxw(3).tableProteinSelection(e)}),i.YNc(1,ne,16,9,"ng-template",63),i.YNc(2,ae,14,8,"ng-template",64),i.qZA()}if(2&e){var r=i.oxw(3);i.Q6J("value",r.tableProteins)("selection",r.tableSelectedProteins)}}function le(e,t){if(1&e&&(i.TgZ(0,"div",47),i.YNc(1,N,11,4,"div",48),i.YNc(2,H,3,0,"div",0),i.YNc(3,K,11,1,"div",49),i.YNc(4,$,3,1,"p-table",50),i.YNc(5,ee,11,1,"div",49),i.YNc(6,se,3,2,"p-table",51),i.qZA()),2&e){var n=i.oxw(2);i.ekj("is-visible","table"===n.tab),i.xp6(1),i.Q6J("ngIf",n.tableHasScores&&"proximity"!==n.task.info.algorithm),i.xp6(1),i.Q6J("ngIf",0===n.tableDrugs.length&&"drug"===n.task.info.target),i.xp6(1),i.Q6J("ngIf",n.tableDrugs.length>0),i.xp6(1),i.Q6J("ngIf",n.tableDrugs.length>0),i.xp6(1),i.Q6J("ngIf",n.tableProteins.length>0),i.xp6(1),i.Q6J("ngIf",n.tableProteins.length>0)}}function ue(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",1),i.TgZ(2,"header",2),i.TgZ(3,"p",3),i.TgZ(4,"span",4),i._UZ(5,"i",5),i.qZA(),i._uU(6," Analysis Results "),i.qZA(),i.TgZ(7,"a",6),i.NdJ("click",function(){return i.CHM(n),i.oxw().close()}),i.TgZ(8,"span",4),i._UZ(9,"i",7),i.qZA(),i.qZA(),i.qZA(),i.TgZ(10,"div",8),i.TgZ(11,"div",9),i.TgZ(12,"ul"),i.TgZ(13,"li"),i.TgZ(14,"a",10),i.NdJ("click",function(){return i.CHM(n),i.oxw().tab="table"}),i._uU(15,"Table"),i.qZA(),i.qZA(),i.TgZ(16,"li"),i.TgZ(17,"a",10),i.NdJ("click",function(){return i.CHM(n),i.oxw().tab="network"}),i._uU(18,"Network"),i.qZA(),i.qZA(),i.TgZ(19,"li"),i.TgZ(20,"a",10),i.NdJ("click",function(){return i.CHM(n),i.oxw().tab="meta"}),i._uU(21,"Parameters"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.YNc(22,P,2,3,"div",11),i.YNc(23,R,38,18,"div",12),i.YNc(24,le,7,8,"div",13),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(13),i.ekj("is-active","table"===r.tab),i.xp6(3),i.ekj("is-active","network"===r.tab),i.xp6(3),i.ekj("is-active","meta"===r.tab),i.xp6(3),i.Q6J("ngIf",r.task&&r.task.info.done),i.xp6(1),i.Q6J("ngIf",r.task&&r.task.info.done),i.xp6(1),i.Q6J("ngIf",r.task&&r.task.info.done)}}var ce=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.analysis=n,this.token=null,this.tokenChange=new i.vpe,this.showDetailsChange=new i.vpe,this.visibleItems=new i.vpe,this.task=null,this.nodeData={nodes:null,edges:null},this.drugNodes=[],this.drugEdges=[],this.showDrugs=!1,this.tab="table",this.physicsEnabled=!0,this.tableDrugs=[],this.tableProteins=[],this.tableSelectedProteins=[],this.tableViralProteins=[],this.tableSelectedViralProteins=[],this.tableNormalize=!1,this.tableHasScores=!1,this.expressionExpanded=!1,this.selectedTissue=null,this.algorithmNames=a.ck,this.tableDrugScoreTooltip="",this.tableProteinScoreTooltip=""}return _createClass(e,[{key:"ngOnInit",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}))}},{key:"ngOnChanges",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.refresh();case 2:case"end":return e.stop()}},e,this)}))}},{key:"refresh",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r,i,a,l,u,c,h,d=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.token,!e.t0){e.next=8;break}return e.next=4,this.getTask(this.token);case 4:this.task=e.sent,this.analysis.switchSelection(this.token),"degree"===this.task.info.algorithm?(this.tableDrugScoreTooltip="Normalized number of direct interactions of the drug with the seeds. The higher the score, the more relevant the drug.",this.tableProteinScoreTooltip="Normalized number of direct interactions of the protein with the seeds. The higher the score, the more relevant the protein."):"closeness"===this.task.info.algorithm||"quick"===this.task.info.algorithm||"super"===this.task.info.algorithm?(this.tableDrugScoreTooltip="Normalized inverse mean distance of the drug to the seeds. The higher the score, the more relevant the drug.",this.tableProteinScoreTooltip="Normalized inverse mean distance of the protein to the seeds. The higher the score, the more relevant the protein."):"trustrank"===this.task.info.algorithm?(this.tableDrugScoreTooltip="Amount of \u2018trust\u2019 on the drug at termination of the algorithm. The higher the score, the more relevant the drug.",this.tableProteinScoreTooltip="Amount of \u2018trust\u2019 on the protein at termination of the algorithm. The higher the score, the more relevant the protein."):"proximity"===this.task.info.algorithm&&(this.tableDrugScoreTooltip="Empirical z-score of mean minimum distance between the drug\u2019s targets and the seeds. The lower the score, the more relevant the drug.",this.tableProteinScoreTooltip="Empirical z-score of mean minimum distance between the drug\u2019s targets and the seeds. The lower the score, the more relevant the drug."),e.t0=this.task&&this.task.info.done;case 8:if(!e.t0){e.next=29;break}return e.next=11,this.http.get("".concat(o.N.backend,"task_result/?token=").concat(this.token)).toPromise();case 11:return t=e.sent,n=(t.nodeAttributes||{}).isSeed||{},this.nodeData={nodes:null,edges:null},this.networkEl.nativeElement.innerHTML="",this.network=null,this.showDrugs=!1,r=this.createNetwork(t),i=r.nodes,a=r.edges,this.nodeData.nodes=new vis.DataSet(i),this.nodeData.edges=new vis.DataSet(a),l=this.networkEl.nativeElement,u=i.length>100||a.length>100,c=A.S.getOptions(u?"analysis-big":"analysis"),this.physicsEnabled=!u,this.network=new vis.Network(l,this.nodeData,c),(h=[]).push(this.http.get("".concat(o.N.backend,"task_result/?token=").concat(this.token,"&view=drugs")).toPromise().then(function(e){d.tableDrugs=e,d.tableDrugs.forEach(function(e){e.rawScore=e.score})})),h.push(this.http.get("".concat(o.N.backend,"task_result/?token=").concat(this.token,"&view=proteins")).toPromise().then(function(e){d.tableProteins=e,d.tableSelectedProteins=[],d.tableProteins.forEach(function(e){e.rawScore=e.score,e.isSeed=n[e.id];var t=(0,s.h$)(e);d.analysis.inSelection(t)&&d.tableSelectedProteins.push(e)})})),e.next=23,Promise.all(h);case 23:this.tableHasScores=-1!==["trustrank","closeness","degree","proximity","betweenness","quick","super"].indexOf(this.task.info.algorithm),this.tableHasScores&&this.toggleNormalization("proximity"!==this.task.info.algorithm),this.network.on("deselectNode",function(e){d.showDetailsChange.emit(null)}),this.network.on("doubleClick",function(e){var t=e.nodes;if(t.length>0){var n=d.nodeData.nodes.get(t[0]);if("drug"===n.nodeType)return;var r=n.wrapper;d.analysis.inSelection(r)?(d.analysis.removeItems([r]),d.analysis.getCount()):(d.analysis.addItems([r]),d.analysis.getCount())}}),this.network.on("click",function(e){var t=d.nodeData.nodes.get(e.nodes);d.showDetailsChange.emit(t.length>0?t[0].wrapper:null)}),this.analysis.subscribeList(function(e,t){if(null!==t){var n,r=[],i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=d.nodeData.nodes.get(o.id);if(a){var l=d.network.getPositions([o.id]);a.x=l[o.id].x,a.y=l[o.id].y,Object.assign(a,A.S.getNodeStyle(a.wrapper.type,a.isSeed,t)),r.push(a)}}}catch(E){i.e(E)}finally{i.f()}d.nodeData.nodes.update(r);var u,c=d.tableSelectedProteins,h=d.tableSelectedViralProteins,f=_createForOfIteratorHelper(e);try{var p=function(){var e=u.value,n=c.findIndex(function(t){return(0,s.dV)(t)===e.id}),r=d.tableProteins.find(function(t){return(0,s.dV)(t)===e.id});t&&-1===n&&r&&c.push(r),!t&&-1!==n&&r&&c.splice(n,1)};for(f.s();!(u=f.n()).done;)p()}catch(E){f.e(E)}finally{f.f()}d.tableSelectedProteins=_toConsumableArray(c),d.tableSelectedViralProteins=_toConsumableArray(h)}else{var _=[];d.nodeData.nodes.forEach(function(e){var t,n,r=d.analysis.idInSelection(e.id);"drug"===e.wrapper.type&&(t=e.wrapper.data.status,n=e.wrapper.data.inTrial),Object.assign(e,A.S.getNodeStyle(e.wrapper.type,e.isSeed,r,t,n,e.gradient)),_.push(e)}),d.nodeData.nodes.update(_);var g,v=[],m=_createForOfIteratorHelper(e);try{var y=function(){var e=g.value,t=d.tableProteins.find(function(t){return(0,s.dV)(t)===e.id});t&&v.push(t)};for(m.s();!(g=m.n()).done;)y()}catch(E){m.e(E)}finally{m.f()}d.tableSelectedProteins=[].concat(v),d.tableSelectedViralProteins=[].concat([])}});case 29:this.emitVisibleItems(!0);case 30:case"end":return e.stop()}},e,this)}))}},{key:"emitVisibleItems",value:function(e){this.visibleItems.emit(e?[this.nodeData.nodes,[this.proteins,this.selectedTissue]]:null)}},{key:"getTask",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.http.get("".concat(o.N.backend,"task/?token=").concat(e)).toPromise();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},t,this)}))}},{key:"close",value:function(){this.analysis.switchSelection("main"),this.token=null,this.tokenChange.emit(this.token),this.emitVisibleItems(!1)}},{key:"toggleNormalization",value:function(e){this.tableNormalize=e;var t=function(e){var t=0;e.forEach(function(e){e.rawScore>t&&(t=e.rawScore)}),e.forEach(function(e){e.score=e.rawScore/t})},n=function(e){e.forEach(function(e){e.score=e.rawScore})};e?(t(this.tableDrugs),t(this.tableProteins),t(this.tableViralProteins)):(n(this.tableDrugs),n(this.tableProteins),n(this.tableViralProteins))}},{key:"downloadLink",value:function(e){return"".concat(o.N.backend,"task_result/?token=").concat(this.token,"&view=").concat(e,"&fmt=csv")}},{key:"graphmlLink",value:function(){return"".concat(o.N.backend,"graph_export/?token=").concat(this.token)}},{key:"inferNodeType",value:function(e){return e.startsWith("DB")?"drug":"gene"}},{key:"createNetwork",value:function(e){var t=[],n=[],r=e.nodeAttributes||{};this.proteins=[],this.effects=[];var i,o=e.network,a=r.nodeTypes||{},l=r.isSeed||{},u=r.scores||{},c=r.details||{},A={},h=_createForOfIteratorHelper(o.nodes);try{for(h.s();!(i=h.n()).done;){var d=i.value;"protein"===a[d]?(this.proteins.push(c[d]),A[d]=(0,s.h$)(c[d])):"drug"===a[d]&&(A[d]=(0,s.lt)(c[d])),t.push(this.mapNode(this.inferNodeType(d),c[d],l[d],u[d]))}}catch(g){h.e(g)}finally{h.f()}var f,p=_createForOfIteratorHelper(o.edges);try{for(p.s();!(f=p.n()).done;){var _=f.value;n.push(this.mapEdge(_,"protein-protein",A))}}catch(g){p.e(g)}finally{p.f()}return{nodes:t,edges:n}}},{key:"mapNode",value:function(e,t,n,r){var i=(0,s.h$)(t),o=A.S.getNodeStyle("gene",n,this.analysis.inSelection(i));return o.id=t.id,o.label=t.name,o.nodeType=e,o.isSeed=n,o.wrapper=t,o}},{key:"mapEdge",value:function(e,t,n){var r;if("protein-protein"===t){r={color:A.S.getColor("edgeGeneGene"),highlight:A.S.getColor("edgeGeneGeneHighlight")};var i=(0,s.s$)(e,n);return{from:i.from,to:i.to,color:r}}if("to-drug"===t){r={color:A.S.getColor("edgeHostDrug"),highlight:A.S.getColor("edgeHostDrugHighlight")};var o=(0,s.mG)(e);return{from:o.from,to:o.to,color:r}}}},{key:"toggleDrugs",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var n,r,i,a,s,l,u,A,h,d=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.showDrugs=e,this.nodeData.nodes.remove(this.drugNodes),this.nodeData.edges.remove(this.drugEdges),this.drugNodes=[],this.drugEdges=[],!this.showDrugs){t.next=7;break}return t.next=3,this.http.get("".concat(o.N.backend,"drug_interactions/?token=").concat(this.token)).toPromise().catch(function(e){(0,c.toast)({message:"An error occured while fetching the drugs.",duration:5e3,dismissible:!0,pauseOnHover:!0,type:"is-danger",position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}}),d.showDrugs=!1});case 3:if(n=t.sent,r=n.drugs,i=n.edges,0===r.length)(0,c.toast)({message:"No drugs found.",duration:5e3,dismissible:!0,pauseOnHover:!0,type:"is-warning",position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}});else{a=_createForOfIteratorHelper(r);try{for(a.s();!(s=a.n()).done;)l=s.value,this.drugNodes.push(this.mapNode("drug",l,!1,null))}catch(f){a.e(f)}finally{a.f()}u=_createForOfIteratorHelper(i);try{for(u.s();!(A=u.n()).done;)h=A.value,this.drugEdges.push(this.mapEdge({from:h.proteinAc,to:h.drugId},"to-drug"))}catch(f){u.e(f)}finally{u.f()}this.nodeData.nodes.add(Array.from(this.drugNodes.values())),this.nodeData.edges.add(Array.from(this.drugEdges.values()))}case 7:case"end":return t.stop()}},t,this)}))}},{key:"updatePhysicsEnabled",value:function(e){this.physicsEnabled=e,this.network.setOptions({physics:{enabled:this.physicsEnabled,stabilization:{enabled:!1}}})}},{key:"toCanvas",value:function(){u()(this.networkEl.nativeElement).then(function(e){var t=e.toDataURL("image/png").replace("image/png","image/octet-stream"),n=document.createElement("a");n.href=t,n.download="Network.png",n.click()})}},{key:"tableProteinSelection",value:function(e){var t=_toConsumableArray(this.tableSelectedProteins);this.tableSelectedProteins=e;var n,r=[],i=[],o=_createForOfIteratorHelper(this.tableSelectedProteins);try{for(o.s();!(n=o.n()).done;){var a=n.value,l=(0,s.h$)(a);-1===t.indexOf(a)&&r.push(l)}}catch(d){o.e(d)}finally{o.f()}var u,c=_createForOfIteratorHelper(t);try{for(c.s();!(u=c.n()).done;){var A=u.value,h=(0,s.h$)(A);-1===this.tableSelectedProteins.indexOf(A)&&i.push(h)}}catch(d){c.e(d)}finally{c.f()}this.analysis.addItems(r),this.analysis.removeItems(i)}},{key:"previewStringArray",value:function(e,t){return e.length<t?e.join(", "):e.slice(0,t).join(", ")+", ... (".concat(e.length,")")}},{key:"selectTissue",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(h.eN),i.Y36(a.Kt))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-analysis-panel"]],viewQuery:function(e,t){var n;(1&e&&i.Gf(g,5),2&e)&&(i.iGM(n=i.CRH())&&(t.networkEl=n.first))},inputs:{token:"token"},outputs:{tokenChange:"tokenChange",showDetailsChange:"showDetailsChange",visibleItems:"visibleItems"},features:[i.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[1,"card","analysis"],[1,"card-header"],[1,"card-header-title"],[1,"icon"],["aria-hidden","true",1,"fas","fa-flask"],["aria-label","close",1,"card-header-icon",3,"click"],["aria-hidden","true",1,"fas","fa-times"],[1,"card-content"],[1,"tabs","is-centered"],[3,"click"],["class","content tab-content meta",3,"is-visible",4,"ngIf"],["class","content tab-content",3,"is-visible",4,"ngIf"],["class","content tab-content scrollable",3,"is-visible",4,"ngIf"],[1,"content","tab-content","meta"],[1,"table","is-narrow"],["class","fa fa-check",4,"ngIf"],["class","fa fa-times",4,"ngIf"],[1,"fa","fa-check"],[1,"fa","fa-times"],[1,"content","tab-content"],[1,"card-image"],[1,"network","center","image1"],["network",""],[1,"button","is-loading","center"],[1,"image2"],["src","assets/ll2.png","width","200px"],[1,"card-footer","toolbar"],[1,"field"],[1,"control","footer-buttons"],["data-tooltip","Take a screenshot of the current network.",1,"button","is-primary","is-rounded","has-tooltip",3,"click"],["aria-hidden","true",1,"fas","fa-camera"],["data-tooltip","Export this network as .graphml file.",1,"button","is-success","is-rounded","has-tooltip",3,"href"],["aria-hidden","true",1,"fas","fa-download"],[1,"footer-buttons","dropdown","is-up"],[1,"dropdown-trigger"],["aria-haspopup","true","aria-controls","dropdown-menu",1,"button","is-rounded","is-primary",3,"click"],[1,"icon","is-small"],["aria-hidden","true",1,"fas"],["id","dropdown-menu","role","menu",1,"dropdown-menu"],[1,"dropdown-content","tissue-dropdown"],[1,"scroll-area"],[1,"dropdown-item",3,"click"],["class","dropdown-item",3,"is-active","click",4,"ngFor","ngForOf"],["class","footer-buttons","textOn","Drugs On","textOff","Off","tooltipOn","Display drugs in the network","tooltipOff","Hide drugs in the network",3,"value","valueChange",4,"ngIf"],["textOn","Animation On","textOff","Off","tooltipOn","Enable the network animation.","tooltipOff","Disable the network animation and freeze nodes.",1,"footer-buttons",3,"value","valueChange"],["textOn","Drugs On","textOff","Off","tooltipOn","Display drugs in the network","tooltipOff","Hide drugs in the network",1,"footer-buttons",3,"value","valueChange"],[1,"content","tab-content","scrollable"],["class","field has-addons",4,"ngIf"],["class","table-header",4,"ngIf"],[3,"value",4,"ngIf"],["selectionMode","multiple","dataKey","proteinAc",3,"value","selection","selectionChange",4,"ngIf"],[1,"field","has-addons"],[1,"control"],["data-tooltip","Normalize the scores",1,"button","is-rounded","has-tooltip",3,"click"],[1,"fa","fa-ruler-vertical"],["data-tooltip","Disable normalization of the scores.",1,"button","is-rounded","has-tooltip",3,"click"],[1,"table-header"],[1,"is-4"],[1,"fa","fa-capsules"],[1,"button","is-primary","is-outlined","is-pulled-right","is-small",3,"href"],[1,"fa","fa-download"],[3,"value"],["pTemplate","header"],["pTemplate","body"],[3,"pSortableColumn"],[3,"field"],[3,"pSortableColumn",4,"ngIf"],[1,"button","is-light","has-tooltip","tooltip-button"],["target","_blank",3,"href"],[1,"fa","fa-microscope","has-text-primary"],[1,"fa","fa-book","has-text-primary"],[1,"fa","fa-dna"],["selectionMode","multiple","dataKey","proteinAc",3,"value","selection","selectionChange"],[1,"checkbox-col"]],template:function(e,t){1&e&&i.YNc(0,ue,25,9,"div",0),2&e&&i.Q6J("ngIf",t.token)},directives:[d.O5,d.sg,f.n,p.iA,_.jx,p.lQ,p.fz,p.Mo,p.UA],pipes:[d.JJ],styles:[".analysis[_ngcontent-%COMP%]{position:absolute;height:100%;width:100%}div.network[_ngcontent-%COMP%]{height:calc(100vh - 210px - 52px)}.tab-content[_ngcontent-%COMP%]{visibility:hidden;position:absolute;width:calc(100% - 50px);height:calc(100vh - 210px - 24px)}.tab-content.is-visible[_ngcontent-%COMP%]{visibility:visible}.tab-content.scrollable[_ngcontent-%COMP%]{overflow-y:auto;padding-right:10px}.tab-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-top:60px}.table-header[_ngcontent-%COMP%]{margin-bottom:50px}.checkbox-col[_ngcontent-%COMP%]{width:50px}.meta[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:500px}.meta[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{width:50px}.tooltip-button[_ngcontent-%COMP%]{font-size:10px;width:10px}"]}),e}()},4907:function(e,t,n){"use strict";n.d(t,{Y:function(){return f}});var r=n(5366),i=n(3943),o=n(1116),a=n(2065),s=function(e){return{"text-normal":e}};function l(e,t){if(1&e&&(r.TgZ(0,"p",3),r.TgZ(1,"b"),r.TgZ(2,"span"),r._uU(3,"Name:"),r.qZA(),r.qZA(),r.TgZ(4,"span",4),r._uU(5),r.qZA(),r.qZA()),2&e){var n=r.oxw(2);r.Q6J("ngClass",r.VKq(2,s,n.smallStyle)),r.xp6(5),r.hij(" ",n.wrapper.data.name,"")}}function u(e,t){if(1&e&&(r.TgZ(0,"p",3),r.TgZ(1,"b"),r.TgZ(2,"span"),r._uU(3,"Type:"),r.qZA(),r.qZA(),r.TgZ(4,"span",4),r._uU(5),r.qZA(),r.qZA()),2&e){var n=r.oxw(2);r.Q6J("ngClass",r.VKq(2,s,n.smallStyle)),r.xp6(5),r.hij(" ",n.wrapper.type,"")}}function c(e,t){if(1&e&&(r.TgZ(0,"p",3),r.TgZ(1,"b"),r.TgZ(2,"span"),r._uU(3,"Group:"),r.qZA(),r.qZA(),r.TgZ(4,"span",4),r._uU(5),r.qZA(),r.qZA()),2&e){var n=r.oxw(2);r.Q6J("ngClass",r.VKq(2,s,n.smallStyle)),r.xp6(5),r.hij(" ",n.wrapper.data.group,"")}}function A(e,t){if(1&e&&(r.TgZ(0,"p",3),r.TgZ(1,"b"),r.TgZ(2,"span"),r._uU(3,"Access:"),r.qZA(),r.qZA(),r.TgZ(4,"a",5),r.TgZ(5,"span",4),r._uU(6),r.qZA(),r.qZA(),r.qZA()),2&e){var n=r.oxw(2);r.Q6J("ngClass",r.VKq(3,s,n.smallStyle)),r.xp6(4),r.MGl("href","https://www.uniprot.org/uniprot/",n.wrapper.data.uniprotAc,"",r.LSH),r.xp6(2),r.hij(" ",n.wrapper.data.uniprotAc,"")}}function h(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"div"),r.YNc(2,l,6,4,"p",1),r.YNc(3,u,6,4,"p",1),r.YNc(4,c,6,4,"p",1),r.YNc(5,A,7,5,"p",1),r.qZA(),r.TgZ(6,"app-toggle",2),r.NdJ("valueChange",function(e){r.CHM(n);var t=r.oxw();return e?t.analysis.addItems([t.wrapper]):t.analysis.removeItems([t.wrapper])}),r.qZA(),r.qZA()}if(2&e){var i=r.oxw();r.xp6(2),r.Q6J("ngIf",i.wrapper.data.name),r.xp6(1),r.Q6J("ngIf",i.wrapper.type),r.xp6(1),r.Q6J("ngIf",i.wrapper.data.group),r.xp6(1),r.Q6J("ngIf",i.wrapper.data.uniprotAc),r.xp6(1),r.Q6J("value",i.analysis.inSelection(i.wrapper))("smallStyle",i.smallStyle)}}function d(e,t){if(1&e&&(r.TgZ(0,"div",3),r._uU(1," Please select a node for further information.\n"),r.qZA()),2&e){var n=r.oxw();r.Q6J("ngClass",r.VKq(1,s,n.smallStyle))}}var f=function(){var e=function(){function e(t){_classCallCheck(this,e),this.analysis=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"beautify",value:function(e){e.startsWith("https://")?e=e.substr("https://".length):e.startsWith("http://")&&(e=e.substr("http://".length));var t=e.indexOf("/");return-1!==t?e.substr(0,t):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.Kt))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-info-tile"]],inputs:{wrapper:"wrapper",smallStyle:"smallStyle"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"ngClass",4,"ngIf"],["textOn","Selected","textOff","Deselected","tooltipOn","Add protein to selection.","tooltipOff","Remove protein from selection.",3,"value","smallStyle","valueChange"],[3,"ngClass"],[1,"is-capitalized"],["target","_blank",3,"href"]],template:function(e,t){1&e&&(r.YNc(0,h,7,6,"div",0),r.YNc(1,d,2,3,"div",1)),2&e&&(r.Q6J("ngIf",t.wrapper),r.xp6(1),r.Q6J("ngIf",!t.wrapper))},directives:[o.O5,a.n,o.mk],styles:["",".quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%]{padding:15px}.quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%] .digit[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.5);font-size:32px;border:2px solid hsla(0,0%,100%,.5);border-radius:30px;width:50px;height:50px;text-align:center;font-weight:700}.quick-find[_ngcontent-%COMP%] .divisor-rapid[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:10px;text-align:center}.align-vmiddle[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;height:50px}.align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}.align-vmiddle[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px;margin-right:5px}.mobile-fallback[_ngcontent-%COMP%]{padding:15px;font-weight:700}.card-footer[_ngcontent-%COMP%]{font-size:12px}.card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:3px}.text-small[_ngcontent-%COMP%]{font-size:11px}.text-normal[_ngcontent-%COMP%]{font-size:12px}.b-text-small[_ngcontent-%COMP%]{font-size:14px}.b-text-smaller[_ngcontent-%COMP%]{font-size:12px}.button-small[_ngcontent-%COMP%]{padding:3px 10px}"]}),e}()},1144:function(e,t,n){"use strict";n.d(t,{O:function(){return _}});var r=n(5366),i=n(1116);function o(e,t){if(1&e&&(r.ynx(0),r.TgZ(1,"td"),r._UZ(2,"img",5),r.qZA(),r.TgZ(3,"td"),r._uU(4),r.qZA(),r.BQk()),2&e){var n=r.oxw().$implicit;r.xp6(2),r.Q6J("src",n.value.image,r.LSH),r.xp6(2),r.hij("\xa0",n.value.name,"")}}function a(e,t){if(1&e&&(r.TgZ(0,"td"),r._UZ(1,"span"),r.qZA()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.Gre("node ",n.value.shape,""),r.Udp("background-color",n.value.color)}}function s(e,t){if(1&e&&(r.TgZ(0,"td"),r._UZ(1,"span"),r.qZA()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.Gre("node ",n.value.shape,""),r.Udp("border-bottom-color",n.value.color)}}function l(e,t){if(1&e&&(r.TgZ(0,"td"),r._UZ(1,"span"),r.qZA()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.Gre("node ",n.value.shape,""),r.Udp("border-bottom-color",n.value.color)("color",n.value.color)}}function u(e,t){if(1&e&&(r.ynx(0),r.YNc(1,a,2,5,"td",1),r.YNc(2,s,2,5,"td",1),r.YNc(3,l,2,7,"td",1),r.TgZ(4,"td"),r._uU(5),r.qZA(),r.BQk()),2&e){var n=r.oxw().$implicit;r.xp6(1),r.Q6J("ngIf","triangle"!==n.value.shape&&"star"!==n.value.shape),r.xp6(1),r.Q6J("ngIf","triangle"===n.value.shape),r.xp6(1),r.Q6J("ngIf","star"===n.value.shape),r.xp6(2),r.hij("\xa0",n.value.name,"")}}function c(e,t){if(1&e&&(r.TgZ(0,"tr",4),r.YNc(1,o,5,2,"ng-container",1),r.YNc(2,u,6,4,"ng-container",1),r.qZA()),2&e){var n=t.$implicit;r.xp6(1),r.Q6J("ngIf",n.value.image),r.xp6(1),r.Q6J("ngIf",!n.value.image)}}function A(e,t){if(1&e&&(r.ynx(0),r.YNc(1,c,3,2,"tr",3),r.ALo(2,"keyvalue"),r.BQk()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,1,n.config.nodeGroups))}}function h(e,t){if(1&e&&(r.TgZ(0,"tr",4),r.TgZ(1,"td"),r._UZ(2,"hr",6),r.qZA(),r.TgZ(3,"td"),r._uU(4),r.qZA(),r.qZA()),2&e){var n=t.$implicit;r.xp6(2),r.Udp("background-color",n.value.color),r.xp6(2),r.hij("\xa0",n.value.name,"")}}function d(e,t){if(1&e&&(r.ynx(0),r.YNc(1,h,5,3,"tr",3),r.ALo(2,"keyvalue"),r.BQk()),2&e){var n=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,1,n.config.edgeGroups))}}function f(e,t){if(1&e&&(r.TgZ(0,"table"),r.YNc(1,A,3,3,"ng-container",1),r.YNc(2,d,3,3,"ng-container",1),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Q6J("ngIf",n.config.showLegendNodes),r.xp6(1),r.Q6J("ngIf",n.config.showLegendEdges)}}function p(e,t){if(1&e&&r._UZ(0,"img",7),2&e){var n=r.oxw();r.Q6J("src",n.config.legendUrl,r.LSH)("ngClass",n.config.legendClass)}}var _=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-network-legend"]],inputs:{config:"config"},decls:3,vars:4,consts:[[1,"legend"],[4,"ngIf"],[3,"src","ngClass",4,"ngIf"],["class","list-item",4,"ngFor","ngForOf"],[1,"list-item"],[1,"legend-icon",3,"src"],[1,"edge"],[3,"src","ngClass"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.YNc(1,f,3,2,"table",1),r.YNc(2,p,1,2,"img",2),r.qZA()),2&e&&(r.ekj("right","right"===t.config.legendPos),r.xp6(1),r.Q6J("ngIf",!t.config.legendUrl.length),r.xp6(1),r.Q6J("ngIf",t.config.legendUrl.length))},directives:[i.O5,i.sg,i.mk],pipes:[i.Nd],styles:['div.legend[_ngcontent-%COMP%]{position:absolute;bottom:0}div.legend.right[_ngcontent-%COMP%]{right:0}div.legend[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:20vw}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%]{padding:0;height:40px}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:35px;vertical-align:middle!important;padding:0!important}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{background:#143d1f;border-radius:50%;width:35px;height:35px;display:inline-block}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-left:calc(35px / 2) solid transparent;border-right:calc(35px / 2) solid transparent;border-bottom:35px solid #000;display:inline-block}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .star[_ngcontent-%COMP%]{position:relative;display:inline-block;width:0;height:0;margin-left:.5em;margin-right:.9em;margin-bottom:1.2em;border-right:.3em solid transparent;border-bottom:.7em solid #fc0;border-left:.3em solid transparent;font-size:20px}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .star[_ngcontent-%COMP%]:after, div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .star[_ngcontent-%COMP%]:before{content:"";display:block;width:0;height:0;position:absolute;top:.6em;left:-1em;border-right:1em solid transparent;border-bottom:.7em solid;border-left:1em solid transparent;transform:rotate(-35deg)}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .star[_ngcontent-%COMP%]:after{transform:rotate(35deg)}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .square[_ngcontent-%COMP%]{background:#143d1f;width:35px;height:35px;display:inline-block}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .legend-icon[_ngcontent-%COMP%]{width:35px;height:35px}div.legend[_ngcontent-%COMP%] tr.list-item[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .edge[_ngcontent-%COMP%]{width:20px;height:3px}']}),e}()},3349:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(5366),i=n(4333),o=n(1116);function a(e,t){if(1&e&&(r.TgZ(0,"b"),r._uU(1),r.qZA()),2&e){var n=r.oxw().item;r.xp6(1),r.hij(" ",n.data.name,"")}}function s(e,t){1&e&&(r.TgZ(0,"small"),r._uU(1,"Host Protein"),r.qZA())}function l(e,t){if(1&e&&(r.TgZ(0,"span"),r.TgZ(1,"small"),r._uU(2,"AC: "),r.TgZ(3,"b"),r._uU(4),r.qZA(),r.qZA(),r.qZA()),2&e){var n=r.oxw().item;r.xp6(4),r.Oqu(n.data.proteinAc)}}function u(e,t){if(1&e&&(r.YNc(0,a,2,1,"b",3),r.TgZ(1,"span"),r.YNc(2,s,2,0,"small",3),r._uU(3," | "),r.qZA(),r.YNc(4,l,5,1,"span",3)),2&e){var n=t.item;r.Q6J("ngIf","protein"==n.type),r.xp6(2),r.Q6J("ngIf","protein"===n.type),r.xp6(2),r.Q6J("ngIf","protein"==n.type)}}var c=function(){var e=function(){function e(){_classCallCheck(this,e),this.selectItem=new r.vpe}return _createClass(e,[{key:"querySearch",value:function(e,t){return e=e.toLowerCase(),t.data.name.toLowerCase().indexOf(e)>-1||t.type.toLowerCase().indexOf(e)>-1}},{key:"select",value:function(e){this.selectItem.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-query-tile-component"]],inputs:{queryItems:"queryItems"},outputs:{selectItem:"selectItem"},decls:3,vars:4,consts:[[1,"content"],["bindLabel","id","bindValue","data","placeholder","Search...","data-tooltip","Find proteins in the network.",1,"custom",3,"items","virtualScroll","hideSelected","searchFn","change"],["ng-option-tmp",""],[4,"ngIf"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"ng-select",1),r.NdJ("change",function(e){return t.select(e)}),r.YNc(2,u,5,3,"ng-template",2),r.qZA(),r.qZA()),2&e&&(r.xp6(1),r.Q6J("items",t.queryItems)("virtualScroll",!0)("hideSelected",!0)("searchFn",t.querySearch))},directives:[i.w9,i.Z2,o.O5],styles:[""]}),e}()},9235:function(e,t,n){"use strict";n.d(t,{n:function(){return f}});var r=n(5366),i=n(3943),o=n(1116);function a(e,t){1&e&&(r.TgZ(0,"small"),r._uU(1," Queued: 1 other task to finish "),r.qZA())}function s(e,t){if(1&e&&(r.TgZ(0,"small"),r._uU(1),r.qZA()),2&e){var n=r.oxw(2).$implicit;r.xp6(1),r.hij(" Queued: ",n.stats.queuePosition," other tasks to finish ")}}function l(e,t){1&e&&(r.TgZ(0,"small"),r._uU(1," Execution imminent... "),r.qZA())}function u(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"p"),r.TgZ(2,"span",6),r._UZ(3,"i",7),r._uU(4),r.qZA(),r.TgZ(5,"span",8),r._UZ(6,"i",9),r.qZA(),r.qZA(),r.TgZ(7,"p"),r.YNc(8,a,2,0,"small",4),r.YNc(9,s,2,1,"small",4),r.YNc(10,l,2,0,"small",4),r.TgZ(11,"a",10),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw().analysis.removeTask(e.token)}),r.TgZ(12,"span",8),r._UZ(13,"i",11),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&e){var i=r.oxw().$implicit,o=r.oxw();r.xp6(3),r.ekj("fa-capsules","drug"===i.info.target)("fa-crosshairs","drug-target"===i.info.target),r.xp6(1),r.hij(" ",o.algorithmNames[i.info.algorithm],""),r.xp6(4),r.Q6J("ngIf",i.stats.queueLength>0&&1===i.stats.queuePosition),r.xp6(1),r.Q6J("ngIf",i.stats.queueLength>0&&i.stats.queuePosition>1),r.xp6(1),r.Q6J("ngIf",0===i.stats.queueLength||0===i.stats.queuePosition)}}function c(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"p"),r.TgZ(2,"span",6),r._UZ(3,"i",7),r._uU(4),r.qZA(),r.TgZ(5,"span",8),r._UZ(6,"i",12),r.qZA(),r.qZA(),r.TgZ(7,"p"),r.TgZ(8,"small"),r._uU(9),r.ALo(10,"date"),r.qZA(),r.TgZ(11,"a",13),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw().analysis.removeTask(e.token)}),r.TgZ(12,"span",8),r._UZ(13,"i",11),r.qZA(),r.qZA(),r.qZA(),r._UZ(14,"progress",14),r.qZA()}if(2&e){var i=r.oxw().$implicit,o=r.oxw();r.xp6(3),r.ekj("fa-capsules","drug"===i.info.target)("fa-crosshairs","drug-target"===i.info.target),r.xp6(1),r.hij(" ",o.algorithmNames[i.info.algorithm],""),r.xp6(5),r.hij("Started ",r.xi3(10,7,i.info.startedAt,"short"),""),r.xp6(5),r.Q6J("value",100*i.info.progress)}}function A(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div",15),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw().open(e.token)}),r.TgZ(1,"p"),r.TgZ(2,"span",6),r._UZ(3,"i",7),r._uU(4),r.qZA(),r.TgZ(5,"span",8),r._UZ(6,"i",16),r.qZA(),r.qZA(),r.TgZ(7,"p"),r.TgZ(8,"small"),r._uU(9),r.ALo(10,"date"),r.qZA(),r.TgZ(11,"a",13),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw().analysis.removeTask(e.token)}),r.TgZ(12,"span",8),r._UZ(13,"i",11),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&e){var i=r.oxw().$implicit,o=r.oxw();r.xp6(3),r.ekj("fa-capsules","drug"===i.info.target)("fa-crosshairs","drug-target"===i.info.target),r.xp6(1),r.hij(" ",o.algorithmNames[i.info.algorithm],""),r.xp6(5),r.hij("Finished ",r.xi3(10,6,i.info.finishedAt,"short"),"")}}function h(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"div"),r.TgZ(1,"p"),r.TgZ(2,"span",6),r._UZ(3,"i",7),r._uU(4),r.qZA(),r.TgZ(5,"span",8),r._UZ(6,"i",17),r.qZA(),r.qZA(),r.TgZ(7,"p",18),r.TgZ(8,"small",19),r._uU(9),r.qZA(),r.TgZ(10,"a",13),r.NdJ("click",function(){r.CHM(n);var e=r.oxw().$implicit;return r.oxw().analysis.removeTask(e.token)}),r.TgZ(11,"span",8),r._UZ(12,"i",11),r.qZA(),r.qZA(),r.qZA(),r.qZA()}if(2&e){var i=r.oxw().$implicit,o=r.oxw();r.xp6(3),r.ekj("fa-capsules","drug"===i.info.target)("fa-crosshairs","drug-target"===i.info.target),r.xp6(1),r.hij(" ",o.algorithmNames[i.info.algorithm],""),r.xp6(5),r.Oqu(i.info.status)}}function d(e,t){if(1&e&&(r.TgZ(0,"a",3),r.YNc(1,u,14,8,"div",4),r.YNc(2,c,15,10,"div",4),r.YNc(3,A,14,9,"div",5),r.YNc(4,h,13,6,"div",4),r.qZA()),2&e){var n=t.$implicit,i=r.oxw();r.ekj("is-active",n.token===i.token),r.xp6(1),r.Q6J("ngIf",!n.info.startedAt),r.xp6(1),r.Q6J("ngIf",!n.info.done&&!n.info.failed&&n.info.startedAt),r.xp6(1),r.Q6J("ngIf",n.info.done),r.xp6(1),r.Q6J("ngIf",n.info.failed)}}var f=function(){var e=function(){function e(t){_classCallCheck(this,e),this.analysis=t,this.tokenChange=new r.vpe,this.algorithmNames=i.ck}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(e){this.token=e,this.tokenChange.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.Kt))},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-task-list"]],inputs:{token:"token"},outputs:{tokenChange:"tokenChange"},decls:3,vars:1,consts:[[1,"content"],[1,"list","is-hoverable"],["class","list-item",3,"is-active",4,"ngFor","ngForOf"],[1,"list-item"],[4,"ngIf"],["data-tooltip","Show analysis results",3,"click",4,"ngIf"],[1,"is-capitalized"],[1,"fa"],[1,"icon","is-pulled-right"],["aria-hidden","true",1,"fas","fa-pause"],[1,"has-text-danger",3,"click"],[1,"fa","fa-trash"],["aria-hidden","true",1,"fas","fa-spinner","fa-spin"],[1,"is-pulled-right","has-text-danger",3,"click"],["max","100",1,"progress","is-success",3,"value"],["data-tooltip","Show analysis results",3,"click"],["aria-hidden","true",1,"fas","fa-check"],["aria-hidden","true",1,"fas","fa-exclamation-triangle"],[1,"has-text-danger"],[1,"status-field"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.YNc(2,d,5,6,"a",2),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.Q6J("ngForOf",t.analysis.tasks))},directives:[o.sg,o.O5],pipes:[o.uU],styles:[".list[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.list[_ngcontent-%COMP%] progress[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.status-field[_ngcontent-%COMP%]{background-color:#fff;padding:2px;font-size:10px;max-width:215px;height:20px;overflow:hidden;border:1px solid #e4e4e4;display:inline-block}"]}),e}()},2065:function(e,t,n){"use strict";n.d(t,{n:function(){return l}});var r=n(5366),i=n(1116);function o(e,t){if(1&e&&(r.TgZ(0,"span",3),r._UZ(1,"i"),r.qZA()),2&e){var n=r.oxw();r.xp6(1),r.Gre("fa ",n.iconOff,"")}}var a=function(e){return{"button-small":e}},s=function(e){return{"text-small":e}},l=function(){var e=function(){function e(){_classCallCheck(this,e),this.iconOn="fa-check",this.iconOff="fa-times",this.textOn="On",this.textOff="Off",this.valueChange=new r.vpe}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"toggle",value:function(e){this.value=e,this.valueChange.emit(this.value)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Xpm({type:e,selectors:[["app-toggle"]],inputs:{iconOn:"iconOn",iconOff:"iconOff",textOn:"textOn",textOff:"textOff",tooltipOn:"tooltipOn",tooltipOff:"tooltipOff",smallStyle:"smallStyle",value:"value"},outputs:{valueChange:"valueChange"},decls:12,vars:24,consts:[[1,"field","has-addons"],[1,"control","has-tooltip"],[1,"button","is-rounded","has-tooltip",3,"ngClass","click"],[1,"icon","is-small"],[3,"ngClass"],[1,"control"],["class","icon is-small",4,"ngIf"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r.TgZ(1,"p",1),r.TgZ(2,"button",2),r.NdJ("click",function(){return t.toggle(!0)}),r.TgZ(3,"span",3),r._UZ(4,"i"),r.qZA(),r.TgZ(5,"span",4),r._uU(6),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,"p",5),r.TgZ(8,"button",2),r.NdJ("click",function(){return t.toggle(!1)}),r.TgZ(9,"span",4),r._uU(10),r.qZA(),r.YNc(11,o,2,3,"span",6),r.qZA(),r.qZA(),r.qZA()),2&e&&(r.xp6(2),r.ekj("is-primary",t.value),r.Q6J("ngClass",r.VKq(16,a,t.smallStyle)),r.uIk("data-tooltip",t.tooltipOn),r.xp6(2),r.Gre("fa ",t.iconOn,""),r.xp6(1),r.Q6J("ngClass",r.VKq(18,s,t.smallStyle)),r.xp6(1),r.Oqu(t.textOn),r.xp6(2),r.ekj("is-primary",!t.value),r.Q6J("ngClass",r.VKq(20,a,t.smallStyle)),r.uIk("data-tooltip",t.tooltipOff),r.xp6(1),r.Q6J("ngClass",r.VKq(22,s,t.smallStyle)),r.xp6(1),r.Oqu(t.textOff),r.xp6(1),r.Q6J("ngIf",t.iconOff))},directives:[i.mk,i.O5],styles:["",".quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%]{padding:15px}.quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%] .digit[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.5);font-size:32px;border:2px solid hsla(0,0%,100%,.5);border-radius:30px;width:50px;height:50px;text-align:center;font-weight:700}.quick-find[_ngcontent-%COMP%] .divisor-rapid[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:10px;text-align:center}.align-vmiddle[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;height:50px}.align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}.align-vmiddle[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px;margin-right:5px}.mobile-fallback[_ngcontent-%COMP%]{padding:15px;font-weight:700}.card-footer[_ngcontent-%COMP%]{font-size:12px}.card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:3px}.text-small[_ngcontent-%COMP%]{font-size:11px}.text-normal[_ngcontent-%COMP%]{font-size:12px}.b-text-small[_ngcontent-%COMP%]{font-size:14px}.b-text-smaller[_ngcontent-%COMP%]{font-size:12px}.button-small[_ngcontent-%COMP%]{padding:3px 10px}"]}),e}()},5248:function(e,t,n){"use strict";n.d(t,{u:function(){return r}});var r={legendUrl:"",legendClass:"legend",legendPos:"left",taskName:"Run Task X",showLegendNodes:!0,showLegendEdges:!0,showLeftSidebar:!0,showRightSidebar:!0,showOverview:!0,showQuery:!0,showItemSelector:!0,showSimpleAnalysis:!1,showAdvAnalysis:!0,showSelection:!0,showTasks:!0,showFooter:!0,showLegend:!0,identifier:"hugo",nodeGroups:{default:{name:"Default Group",color:"yellow",shape:"triangle",type:"gene"},protein:{name:"Resulting Proteins",color:"red",shape:"circle",type:"protein"},drug:{name:"Possible Drugs",color:"green",shape:"star",type:"drug"}},edgeGroups:{default:{name:"Edgy edges",color:"black"}}}},6414:function(e,t,n){"use strict";n.d(t,{y:function(){return _}});var r=n(4762),i=n(5366),o=n(1174),a=n(529),s=n(8297),l=n(3943),u=n(1116),c=n(9879);function A(e,t){1&e&&(i.TgZ(0,"div",19),i._uU(1," No proteins have been selected or added. "),i.qZA())}function h(e,t){if(1&e&&(i.TgZ(0,"div",19),i._uU(1),i.qZA()),2&e){var n=i.oxw();i.xp6(1),i.hij(" ",n.addedCount," proteins have been selected or added. ")}}function d(e,t){1&e&&(i.TgZ(0,"p"),i.TgZ(1,"i"),i._uU(2," In order to add proteins expressed in specific tissues, please select a tissue in the main network window to the bottom. "),i.qZA(),i.qZA())}function f(e,t){if(1&e&&(i.TgZ(0,"p",20),i._uU(1," Currently selected tissue: "),i.TgZ(2,"strong"),i._uU(3),i.qZA(),i.qZA()),2&e){var n=i.oxw();i.xp6(3),i.Oqu(n.selectedTissue.name)}}function p(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",21),i.TgZ(1,"label",22),i._uU(2,"Threshold (TPM)"),i.qZA(),i.TgZ(3,"div",23),i.TgZ(4,"input",24),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().setThreshold(e)}),i.qZA(),i.qZA(),i.TgZ(5,"p",25),i._uU(6," All proteins above this threshold in transcripts per million (TPM) will be added or selected. "),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(4),i.Q6J("ngModel",r.threshold)}}var _=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.analysis=n,this.show=!1,this.showChange=new i.vpe,this.visibleNodes=[],this.currentViewProteins=[],this.selectedTissue=null,this.proteins=[],this.threshold=5,this.addedCount=null,this.loading=!1}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.setThreshold(this.threshold)}},{key:"addProteins",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r,i,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.next=3,this.http.post("".concat(a.N.backend,"query_tissue_proteins/"),{tissueId:this.selectedTissue.netexId,threshold:this.threshold}).toPromise();case 3:t=e.sent,n=[],r=_createForOfIteratorHelper(t);try{for(r.s();!(i=r.n()).done;)s=i.value,n.push((0,o.h$)(s))}catch(l){r.e(l)}finally{r.f()}this.addedCount=this.analysis.addItems(n),this.loading=!1;case 8:case"end":return e.stop()}},e,this)}))}},{key:"addVisibleProteins",value:function(){this.loading=!0,this.loading=!1}},{key:"setThreshold",value:function(e){this.threshold=e,this.currentViewProteins&&(this.proteins=this.currentViewProteins.filter(function(t){return t.expressionLevel>=e}))}},{key:"close",value:function(){this.show=!1,this.showChange.emit(this.show),this.addedCount=null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(s.eN),i.Y36(l.Kt))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-add-expressed-proteins"]],inputs:{show:"show",visibleNodes:"visibleNodes",currentViewProteins:"currentViewProteins",selectedTissue:"selectedTissue"},outputs:{showChange:"showChange"},features:[i.TTD],decls:28,vars:10,consts:[[1,"modal"],[1,"modal-background"],[1,"modal-card"],[1,"modal-card-head"],[1,"modal-card-title"],[1,"icon"],[1,"fa","fa-dna"],["aria-label","close",1,"delete",3,"click"],[1,"modal-card-body"],["class","notification is-warning",4,"ngIf"],[4,"ngIf"],["class","mb-3",4,"ngIf"],["class","field",4,"ngIf"],[1,"modal-card-foot"],["data-tooltip","Add all to the selection.",1,"button","is-success","is-rounded","has-tooltip",3,"disabled","click"],[1,"fas","fa-plus"],["data-tooltip","Add to selection if they appear in the current network.",1,"button","is-success","is-rounded","has-tooltip",3,"disabled","click"],[1,"fas","fa-expand"],["data-tooltip","Close the current window.",1,"button","is-rounded","has-tooltip",3,"click"],[1,"notification","is-warning"],[1,"mb-3"],[1,"field"],["for","threshold",1,"label"],[1,"control"],["id","threshold","type","number","placeholder","Threshold","required","",1,"input",3,"ngModel","ngModelChange"],[1,"help"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"header",3),i.TgZ(4,"p",4),i.TgZ(5,"span",5),i._UZ(6,"i",6),i.qZA(),i._uU(7," Add Tissue Proteins "),i.qZA(),i.TgZ(8,"button",7),i.NdJ("click",function(){return t.close()}),i.qZA(),i.qZA(),i.TgZ(9,"section",8),i.YNc(10,A,2,0,"div",9),i.YNc(11,h,2,1,"div",9),i.YNc(12,d,3,0,"p",10),i.YNc(13,f,4,1,"p",11),i.YNc(14,p,7,1,"div",12),i.qZA(),i.TgZ(15,"footer",13),i.TgZ(16,"button",14),i.NdJ("click",function(){return t.addProteins()}),i.TgZ(17,"span",5),i._UZ(18,"i",15),i.qZA(),i.TgZ(19,"span"),i._uU(20," Add proteins "),i.qZA(),i.qZA(),i.TgZ(21,"button",16),i.NdJ("click",function(){return t.addVisibleProteins()}),i.TgZ(22,"span",5),i._UZ(23,"i",17),i.qZA(),i.TgZ(24,"span"),i._uU(25),i.qZA(),i.qZA(),i.TgZ(26,"button",18),i.NdJ("click",function(){return t.close()}),i._uU(27," Close "),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.ekj("is-active",t.show),i.xp6(10),i.Q6J("ngIf",0===t.addedCount),i.xp6(1),i.Q6J("ngIf",t.addedCount>0),i.xp6(1),i.Q6J("ngIf",!t.selectedTissue),i.xp6(1),i.Q6J("ngIf",t.selectedTissue),i.xp6(1),i.Q6J("ngIf",t.selectedTissue),i.xp6(2),i.Q6J("disabled",0===t.proteins.length||!t.selectedTissue||t.loading),i.xp6(5),i.Q6J("disabled",0===t.proteins.length||!t.selectedTissue||t.loading),i.xp6(4),i.hij(" Select proteins (",t.proteins.length,") "))},directives:[u.O5,c.wV,c.Fj,c.Q7,c.JJ,c.On],styles:[""]}),e}()},3974:function(e,t,n){"use strict";n.d(t,{o:function(){return y}});var r=n(4762),i=n(5366),o=n(529),a=n(1174),s=n(8297),l=n(3943),u=n(1116),c=n(9879);function A(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.qZA()),2&e){var n=i.oxw(2);i.xp6(1),i.hij(" ",n.itemsFound.length-n.addedCount," proteins have already been selected before. ")}}function h(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.qZA()),2&e){var n=i.oxw(2);i.xp6(1),i.hij(" ",n.itemsFound.length-n.addedCount," proteins either have been selected already or did not appear in the current graph. ")}}function d(e,t){if(1&e&&(i.TgZ(0,"div",23),i._uU(1),i.YNc(2,A,2,1,"div",16),i.YNc(3,h,2,1,"div",16),i.qZA()),2&e){var n=i.oxw();i.xp6(1),i.hij(" ",n.addedCount," host proteins have been added to the selection. "),i.xp6(1),i.Q6J("ngIf",n.itemsFound.length>n.addedCount&&!n.selectOnly),i.xp6(1),i.Q6J("ngIf",n.itemsFound.length>n.addedCount&&n.selectOnly)}}function f(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.qZA()),2&e){var n=i.oxw(2);i.xp6(1),i.hij(" ",n.itemsFound.length-n.addedCount," proteins have already been selected before. ")}}function p(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1),i.qZA()),2&e){var n=i.oxw(2);i.xp6(1),i.hij(" ",n.itemsFound.length-n.addedCount," proteins either have been selected already or did not appear in the current graph. ")}}function _(e,t){if(1&e&&(i.TgZ(0,"div",24),i.YNc(1,f,2,1,"div",16),i.YNc(2,p,2,1,"div",16),i.qZA()),2&e){var n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.itemsFound.length>n.addedCount&&!n.selectOnly),i.xp6(1),i.Q6J("ngIf",n.itemsFound.length>n.addedCount&&n.selectOnly)}}function g(e,t){if(1&e&&(i.TgZ(0,"li",27),i._uU(1),i.qZA()),2&e){var n=t.$implicit;i.xp6(1),i.Oqu(n)}}function v(e,t){if(1&e&&(i.TgZ(0,"div",25),i._uU(1),i.TgZ(2,"ul"),i.YNc(3,g,2,1,"li",26),i.qZA(),i.qZA()),2&e){var n=i.oxw();i.xp6(1),i.hij(" The following ",n.notFound.length," items could not be found and have been ignored: "),i.xp6(2),i.Q6J("ngForOf",n.notFound)}}function m(e,t){if(1&e&&(i.TgZ(0,"p"),i._uU(1),i.qZA()),2&e){var n=i.oxw();i.xp6(1),i.hij(" Items parsed: ",n.proteins.length," ")}}var y=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.http=t,this.analysis=n,this.show=!1,this.showChange=new i.vpe,this.visibleNodes=[],this.textList="",this.proteins=[],this.notFound=[],this.itemsFound=[],this.addedCount=0,this.selectOnly=!1,this.loading=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.show=!1,this.textList="",this.proteins=[],this.notFound=[],this.itemsFound=[],this.showChange.emit(this.show),this.addedCount=0,this.selectOnly=!1}},{key:"addProteins",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r,i,s,l,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,this.notFound=[],this.itemsFound=[],t=this.proteins,this.changeTextList(""),e.next=5,this.http.post("".concat(o.N.backend,"query_proteins/"),t).toPromise();case 5:n=e.sent,this.notFound=n.notFound,r=n.details,i=[],s=_createForOfIteratorHelper(r);try{for(s.s();!(l=s.n()).done;)u=l.value,i.push((0,a.h$)(u))}catch(c){s.e(c)}finally{s.f()}this.itemsFound=i,this.addedCount=this.analysis.addItems(i),this.selectOnly=!1,this.loading=!1;case 11:case"end":return e.stop()}},e,this)}))}},{key:"addVisibleProteins",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r,i,s,l,u,c;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,this.notFound=[],this.itemsFound=[],t=this.proteins,this.changeTextList(""),e.next=5,this.http.post("".concat(o.N.backend,"query_proteins/"),t).toPromise();case 5:n=e.sent,this.notFound=n.notFound,r=n.details,i=[],s=[],l=_createForOfIteratorHelper(r);try{for(l.s();!(u=l.n()).done;)c=u.value,i.push(c),s.push((0,a.h$)(c))}catch(A){l.e(A)}finally{l.f()}this.itemsFound=s,this.selectOnly=!0,this.loading=!1;case 11:case"end":return e.stop()}},e,this)}))}},{key:"changeTextList",value:function(e){if(this.textList=e,e){for(var t,n=0,r=["\n",",",";"," "];n<r.length;n++){var i=r[n];if(-1!==e.indexOf(i)){t=e.split(i).map(function(e){return e.trim()}).filter(function(e){return!!e});break}}t||(t=[e]),this.proteins=t}else this.proteins=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(s.eN),i.Y36(l.Kt))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-custom-proteins"]],inputs:{show:"show",visibleNodes:"visibleNodes"},outputs:{showChange:"showChange"},decls:33,vars:9,consts:[[1,"modal"],[1,"modal-background"],[1,"modal-card"],[1,"modal-card-head"],[1,"modal-card-title"],[1,"icon"],[1,"fa","fa-dna"],["aria-label","close",1,"delete",3,"click"],[1,"modal-card-body"],["class","notification is-success",4,"ngIf"],["class","notification is-warning",4,"ngIf"],["class","notification is-danger",4,"ngIf"],[1,"field"],["for","protein-list",1,"label"],[1,"control"],["id","protein-list",1,"input",3,"ngModel","ngModelChange"],[4,"ngIf"],[1,"modal-card-foot"],["data-tooltip","Add all to the selection.",1,"button","is-success","is-rounded","has-tooltip",3,"disabled","click"],[1,"fa","fa-plus"],["data-tooltip","Add to selection if they appear in the current network.",1,"button","is-success","is-rounded","has-tooltip",3,"disabled","click"],[1,"fas","fa-expand"],["data-tooltip","Close the current window.",1,"button","is-rounded","has-tooltip",3,"click"],[1,"notification","is-success"],[1,"notification","is-warning"],[1,"notification","is-danger"],["class","not-found",4,"ngFor","ngForOf"],[1,"not-found"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"header",3),i.TgZ(4,"p",4),i.TgZ(5,"span",5),i._UZ(6,"i",6),i.qZA(),i._uU(7," Add Custom Proteins "),i.qZA(),i.TgZ(8,"button",7),i.NdJ("click",function(){return t.close()}),i.qZA(),i.qZA(),i.TgZ(9,"section",8),i.YNc(10,d,4,3,"div",9),i.YNc(11,_,3,2,"div",10),i.YNc(12,v,4,2,"div",11),i.TgZ(13,"div",12),i.TgZ(14,"label",13),i._uU(15,"List of items (Uniprot ids or Drugbank ids)"),i.qZA(),i.TgZ(16,"div",14),i.TgZ(17,"textarea",15),i.NdJ("ngModelChange",function(e){return t.changeTextList(e)}),i._uU(18," "),i.qZA(),i.qZA(),i.qZA(),i.YNc(19,m,2,1,"p",16),i.qZA(),i.TgZ(20,"footer",17),i.TgZ(21,"button",18),i.NdJ("click",function(){return t.addProteins()}),i.TgZ(22,"span",5),i._UZ(23,"i",19),i.qZA(),i.TgZ(24,"span"),i._uU(25," Add "),i.qZA(),i.qZA(),i.TgZ(26,"button",20),i.NdJ("click",function(){return t.addVisibleProteins()}),i.TgZ(27,"span",5),i._UZ(28,"i",21),i.qZA(),i.TgZ(29,"span"),i._uU(30," Select "),i.qZA(),i.qZA(),i.TgZ(31,"button",22),i.NdJ("click",function(){return t.close()}),i._uU(32,"Close "),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.ekj("is-active",t.show),i.xp6(10),i.Q6J("ngIf",t.addedCount>0),i.xp6(1),i.Q6J("ngIf",t.itemsFound.length>0&&0===t.addedCount),i.xp6(1),i.Q6J("ngIf",t.notFound.length>0),i.xp6(5),i.Q6J("ngModel",t.textList),i.xp6(2),i.Q6J("ngIf",t.proteins),i.xp6(2),i.Q6J("disabled",0===t.proteins.length||t.loading),i.xp6(5),i.Q6J("disabled",0===t.proteins.length||t.loading))},directives:[u.O5,c.Fj,c.JJ,c.On,u.sg],styles:["#protein-list[_ngcontent-%COMP%]{height:150px}.not-found[_ngcontent-%COMP%]{padding:4px;margin:4px;border-radius:3px;background-color:hsla(0,0%,100%,.33)}"]}),e}()},1690:function(e,t,n){"use strict";n.d(t,{M:function(){return b}});var r=n(4762),i=n(5366),o=n(3943),a=n(1116),s=n(9879),l=n(2065);function u(e,t){1&e&&(i.TgZ(0,"p",17),i.TgZ(1,"span",14),i._UZ(2,"i",18),i.qZA(),i._uU(3," Find Drugs "),i.qZA())}function c(e,t){1&e&&(i.TgZ(0,"p",17),i.TgZ(1,"span",14),i._UZ(2,"i",19),i.qZA(),i._uU(3," Find Drug Targets "),i.qZA())}function A(e,t){if(1&e&&(i.TgZ(0,"div"),i.TgZ(1,"div",20),i._uU(2),i.qZA(),i.qZA()),2&e){var n=i.oxw();i.xp6(2),i.hij(" You can only run ",n.maxTasks," tasks at once. Please wait for one of them to finish or delete it from the task list. ")}}function h(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"li"),i.TgZ(1,"a",21),i.NdJ("click",function(){var e=i.CHM(n).$implicit;return i.oxw().algorithm=e.slug}),i._uU(2),i.qZA(),i.qZA()}if(2&e){var r=t.$implicit,o=i.oxw();i.ekj("is-active",o.algorithm===r.slug),i.xp6(2),i.Oqu(r.name)}}function d(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",22),i.TgZ(1,"label",41),i._uU(2,"Indirect Drugs"),i.qZA(),i.TgZ(3,"app-toggle",42),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).trustrankIncludeIndirectDrugs=e}),i.qZA(),i.TgZ(4,"p",29),i._uU(5," Specifies whether also drugs targeting interactors of the seed nodes should be considered. "),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.xp6(3),i.Q6J("value",r.trustrankIncludeIndirectDrugs)}}function f(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",22),i.TgZ(1,"label",41),i._uU(2,"Non-approved Drugs"),i.qZA(),i.TgZ(3,"app-toggle",43),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).trustrankIncludeNonApprovedDrugs=e}),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.xp6(3),i.Q6J("value",r.trustrankIncludeNonApprovedDrugs)}}function p(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",23),i._uU(3,"Result Size"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"input",25),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().trustrankResultSize=e}),i.qZA(),i.qZA(),i.qZA(),i.YNc(6,d,6,1,"div",26),i.YNc(7,f,4,1,"div",26),i.TgZ(8,"div",22),i.TgZ(9,"label",27),i._uU(10,"Damping Factor"),i.qZA(),i.TgZ(11,"div",24),i.TgZ(12,"input",28),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().trustrankDampingFactor=e}),i.qZA(),i.qZA(),i.TgZ(13,"p",29),i._uU(14," The larger the damping factor, the faster the trust is propagated through the network. "),i.qZA(),i.qZA(),i.TgZ(15,"div",22),i.TgZ(16,"label",30),i._uU(17,"Maximum degree"),i.qZA(),i.TgZ(18,"div",24),i.TgZ(19,"input",31),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().trustrankMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(20,"p",29),i._uU(21," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(22,"div",22),i.TgZ(23,"label",32),i._uU(24,"Hub penalty"),i.qZA(),i.TgZ(25,"div",24),i.TgZ(26,"input",33),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().trustrankHubPenalty=e}),i.qZA(),i.qZA(),i.TgZ(27,"p",29),i._uU(28," Penalty parameter for hubs. "),i.qZA(),i.qZA(),i.TgZ(29,"div",34),i.TgZ(30,"article",35),i.TgZ(31,"div",36),i.TgZ(32,"span",14),i._UZ(33,"i",37),i.qZA(),i.qZA(),i.TgZ(34,"div",38),i.TgZ(35,"div",39),i.TgZ(36,"h6",40),i._uU(37,"About TrustRank"),i.qZA(),i.TgZ(38,"p"),i._uU(39," TrustRank is a node centrality measure that ranks nodes in a network based on how well they are connected to a (trusted) set of seed nodes. "),i.qZA(),i.TgZ(40,"p"),i.TgZ(41,"a",11),i._uU(42," Check the documentation for more info "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(5),i.Q6J("ngModel",r.trustrankResultSize),i.xp6(1),i.Q6J("ngIf","drug"===r.target),i.xp6(1),i.Q6J("ngIf","drug"===r.target),i.xp6(5),i.Q6J("ngModel",r.trustrankDampingFactor),i.xp6(7),i.Q6J("ngModel",r.trustrankMaxDeg),i.xp6(7),i.Q6J("ngModel",r.trustrankHubPenalty)}}function _(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",22),i.TgZ(1,"label",41),i._uU(2,"Indirect Drugs"),i.qZA(),i.TgZ(3,"app-toggle",42),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).closenessIncludeIndirectDrugs=e}),i.qZA(),i.TgZ(4,"p",29),i._uU(5," Specifies whether also drugs targeting interactors of the seed nodes should be considered. "),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.xp6(3),i.Q6J("value",r.closenessIncludeIndirectDrugs)}}function g(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",22),i.TgZ(1,"label",41),i._uU(2,"Non-approved Drugs"),i.qZA(),i.TgZ(3,"app-toggle",43),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).closenessIncludeNonApprovedDrugs=e}),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.xp6(3),i.Q6J("value",r.closenessIncludeNonApprovedDrugs)}}function v(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",44),i._uU(3,"Result Size"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"input",45),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().closenessResultSize=e}),i.qZA(),i.qZA(),i.qZA(),i.YNc(6,_,6,1,"div",26),i.YNc(7,g,4,1,"div",26),i.TgZ(8,"div",22),i.TgZ(9,"label",46),i._uU(10,"Maximum degree"),i.qZA(),i.TgZ(11,"div",24),i.TgZ(12,"input",47),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().closenessMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(13,"p",29),i._uU(14," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(15,"div",22),i.TgZ(16,"label",48),i._uU(17,"Hub penalty"),i.qZA(),i.TgZ(18,"div",24),i.TgZ(19,"input",49),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().closenessHubPenalty=e}),i.qZA(),i.qZA(),i.TgZ(20,"p",29),i._uU(21," Penalty parameter for hubs. "),i.qZA(),i.qZA(),i.TgZ(22,"div",34),i.TgZ(23,"article",35),i.TgZ(24,"div",36),i.TgZ(25,"span",14),i._UZ(26,"i",37),i.qZA(),i.qZA(),i.TgZ(27,"div",38),i.TgZ(28,"div",39),i.TgZ(29,"h6",40),i._uU(30,"About Closeness Centrality"),i.qZA(),i.TgZ(31,"p"),i._uU(32," Closeness Centrality is a node centrality measure that ranks the nodes in a network based on the lengths of their shortest paths to all other nodes in the network. "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(5),i.Q6J("ngModel",r.closenessResultSize),i.xp6(1),i.Q6J("ngIf","drug"===r.target),i.xp6(1),i.Q6J("ngIf","drug"===r.target),i.xp6(5),i.Q6J("ngModel",r.closenessMaxDeg),i.xp6(7),i.Q6J("ngModel",r.closenessHubPenalty)}}function m(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div",22),i.TgZ(1,"label",41),i._uU(2,"Non-approved Drugs"),i.qZA(),i.TgZ(3,"app-toggle",43),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw(2).degreeIncludeNonApprovedDrugs=e}),i.qZA(),i.qZA()}if(2&e){var r=i.oxw(2);i.xp6(3),i.Q6J("value",r.degreeIncludeNonApprovedDrugs)}}function y(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",50),i._uU(3,"Result Size"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"input",51),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().degreeResultSize=e}),i.qZA(),i.qZA(),i.qZA(),i.YNc(6,m,4,1,"div",26),i.TgZ(7,"div",22),i.TgZ(8,"label",52),i._uU(9,"Maximum degree"),i.qZA(),i.TgZ(10,"div",24),i.TgZ(11,"input",53),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().degreeMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(12,"p",29),i._uU(13," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(14,"div",34),i.TgZ(15,"article",35),i.TgZ(16,"div",36),i.TgZ(17,"span",14),i._UZ(18,"i",37),i.qZA(),i.qZA(),i.TgZ(19,"div",38),i.TgZ(20,"div",39),i.TgZ(21,"h6",40),i._uU(22,"About Degree Centrality"),i.qZA(),i.TgZ(23,"p"),i._uU(24," Degree Centrality assigns an importance score based simply on the number of links held by each node. In CoVex, we use a modified version which does not consider all links but only the neighbouring seeds. "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(5),i.Q6J("ngModel",r.degreeResultSize),i.xp6(1),i.Q6J("ngIf","drug"===r.target),i.xp6(5),i.Q6J("ngModel",r.degreeMaxDeg)}}function E(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",54),i._uU(3,"Result size"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"input",55),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().proximityResultSize=e}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",22),i.TgZ(7,"label",41),i._uU(8,"Non-approved drugs"),i.qZA(),i.TgZ(9,"app-toggle",43),i.NdJ("valueChange",function(e){return i.CHM(n),i.oxw().proximityIncludeNonApprovedDrugs=e}),i.qZA(),i.qZA(),i.TgZ(10,"div",22),i.TgZ(11,"label",56),i._uU(12,"Maximum degree"),i.qZA(),i.TgZ(13,"div",24),i.TgZ(14,"input",57),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().proximityMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(15,"p",29),i._uU(16," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(17,"div",22),i.TgZ(18,"label",58),i._uU(19,"Hub penalty"),i.qZA(),i.TgZ(20,"div",24),i.TgZ(21,"input",59),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().proximityHubPenalty=e}),i.qZA(),i.qZA(),i.TgZ(22,"p",29),i._uU(23," Penalty parameter for hubs. "),i.qZA(),i.qZA(),i.TgZ(24,"div",34),i.TgZ(25,"article",35),i.TgZ(26,"div",36),i.TgZ(27,"span",14),i._UZ(28,"i",37),i.qZA(),i.qZA(),i.TgZ(29,"div",38),i.TgZ(30,"div",39),i.TgZ(31,"h6",40),i._uU(32,"About Network Proximity"),i.qZA(),i.TgZ(33,"p"),i._uU(34," Network Proximity uses the average minimum distance from the drug\u2019s targets to all of the selected seeds as a measure of proximity. "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(5),i.Q6J("ngModel",r.proximityResultSize),i.xp6(4),i.Q6J("value",r.proximityIncludeNonApprovedDrugs),i.xp6(5),i.Q6J("ngModel",r.proximityMaxDeg),i.xp6(7),i.Q6J("ngModel",r.proximityHubPenalty)}}function C(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",54),i._uU(3,"Result size"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"input",60),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().betweennessResultSize=e}),i.qZA(),i.qZA(),i.qZA(),i.TgZ(6,"div",22),i.TgZ(7,"label",61),i._uU(8,"Maximum degree"),i.qZA(),i.TgZ(9,"div",24),i.TgZ(10,"input",62),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().betweennessMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(11,"p",29),i._uU(12," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(13,"div",22),i.TgZ(14,"label",63),i._uU(15,"Hub penalty"),i.qZA(),i.TgZ(16,"div",24),i.TgZ(17,"input",64),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().betweennessHubPenalty=e}),i.qZA(),i.qZA(),i.TgZ(18,"p",29),i._uU(19," Penalty parameter for hubs. "),i.qZA(),i.qZA(),i.TgZ(20,"div",34),i.TgZ(21,"article",35),i.TgZ(22,"div",36),i.TgZ(23,"span",14),i._UZ(24,"i",37),i.qZA(),i.qZA(),i.TgZ(25,"div",38),i.TgZ(26,"div",39),i.TgZ(27,"h6",40),i._uU(28,"About Betweenness Centrality"),i.qZA(),i.TgZ(29,"p"),i._uU(30," Betweenness Centrality ranks the proteins in a network based on how many shortest paths pass through them. "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(5),i.Q6J("ngModel",r.betweennessResultSize),i.xp6(5),i.Q6J("ngModel",r.betweennessMaxDeg),i.xp6(7),i.Q6J("ngModel",r.betweennessHubPenalty)}}function w(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",65),i._uU(3,"Additional proteins"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"div",66),i.TgZ(6,"select",67),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().keypathwayminerK=e}),i.TgZ(7,"option",68),i._uU(8,"1"),i.qZA(),i.TgZ(9,"option",68),i._uU(10,"2"),i.qZA(),i.TgZ(11,"option",68),i._uU(12,"3"),i.qZA(),i.TgZ(13,"option",68),i._uU(14,"5"),i.qZA(),i.TgZ(15,"option",68),i._uU(16,"10"),i.qZA(),i.TgZ(17,"option",68),i._uU(18,"15"),i.qZA(),i.TgZ(19,"option",68),i._uU(20,"20"),i.qZA(),i.TgZ(21,"option",68),i._uU(22,"25"),i.qZA(),i.TgZ(23,"option",68),i._uU(24,"30"),i.qZA(),i.TgZ(25,"option",68),i._uU(26,"40"),i.qZA(),i.TgZ(27,"option",68),i._uU(28,"50"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(29,"p",29),i._uU(30," Number of new proteins to be found. "),i.qZA(),i.qZA(),i.TgZ(31,"div",34),i.TgZ(32,"article",35),i.TgZ(33,"div",36),i.TgZ(34,"span",14),i._UZ(35,"i",37),i.qZA(),i.qZA(),i.TgZ(36,"div",38),i.TgZ(37,"div",39),i.TgZ(38,"h6",40),i._uU(39,"About KeyPathwayMiner"),i.qZA(),i.TgZ(40,"p"),i._uU(41," KeyPathwayMiner is a network enrichment tool that identifies condition-specific sub-networks (key pathways) (Alcaraz et al. 2016). "),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(6),i.Q6J("ngModel",r.keypathwayminerK),i.xp6(1),i.Q6J("ngValue",1),i.xp6(2),i.Q6J("ngValue",2),i.xp6(2),i.Q6J("ngValue",3),i.xp6(2),i.Q6J("ngValue",5),i.xp6(2),i.Q6J("ngValue",10),i.xp6(2),i.Q6J("ngValue",15),i.xp6(2),i.Q6J("ngValue",20),i.xp6(2),i.Q6J("ngValue",25),i.xp6(2),i.Q6J("ngValue",30),i.xp6(2),i.Q6J("ngValue",40),i.xp6(2),i.Q6J("ngValue",50)}}function B(e,t){if(1&e){var n=i.EpF();i.TgZ(0,"div"),i.TgZ(1,"div",22),i.TgZ(2,"label",69),i._uU(3,"Number of Steiner trees to return"),i.qZA(),i.TgZ(4,"div",24),i.TgZ(5,"div",66),i.TgZ(6,"select",70),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().multisteinerNumTrees=e}),i.TgZ(7,"option",68),i._uU(8,"1"),i.qZA(),i.TgZ(9,"option",68),i._uU(10,"2"),i.qZA(),i.TgZ(11,"option",68),i._uU(12,"3"),i.qZA(),i.TgZ(13,"option",68),i._uU(14,"5"),i.qZA(),i.TgZ(15,"option",68),i._uU(16,"10"),i.qZA(),i.TgZ(17,"option",68),i._uU(18,"15"),i.qZA(),i.TgZ(19,"option",68),i._uU(20,"20"),i.qZA(),i.TgZ(21,"option",68),i._uU(22,"25"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(23,"div",22),i.TgZ(24,"label",69),i._uU(25,"Tolerance for trees"),i.qZA(),i.TgZ(26,"div",24),i.TgZ(27,"div",66),i.TgZ(28,"select",71),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().multisteinerTolerance=e}),i.TgZ(29,"option",68),i._uU(30,"0"),i.qZA(),i.TgZ(31,"option",68),i._uU(32,"1"),i.qZA(),i.TgZ(33,"option",68),i._uU(34,"2"),i.qZA(),i.TgZ(35,"option",68),i._uU(36,"3"),i.qZA(),i.TgZ(37,"option",68),i._uU(38,"5"),i.qZA(),i.TgZ(39,"option",68),i._uU(40,"10"),i.qZA(),i.TgZ(41,"option",68),i._uU(42,"15"),i.qZA(),i.TgZ(43,"option",68),i._uU(44,"20"),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(45,"div",22),i.TgZ(46,"label",72),i._uU(47,"Maximum degree"),i.qZA(),i.TgZ(48,"div",24),i.TgZ(49,"input",73),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().multisteinerMaxDeg=e}),i.qZA(),i.qZA(),i.TgZ(50,"p",29),i._uU(51," All nodes with degree greater than this value will be ignored. Disabled if equal to 0. "),i.qZA(),i.qZA(),i.TgZ(52,"div",22),i.TgZ(53,"label",74),i._uU(54,"Hub penalty"),i.qZA(),i.TgZ(55,"div",24),i.TgZ(56,"input",75),i.NdJ("ngModelChange",function(e){return i.CHM(n),i.oxw().multisteinerHubPenalty=e}),i.qZA(),i.qZA(),i.TgZ(57,"p",29),i._uU(58," Penalty parameter for hubs. "),i.qZA(),i.qZA(),i.qZA()}if(2&e){var r=i.oxw();i.xp6(6),i.Q6J("ngModel",r.multisteinerNumTrees),i.xp6(1),i.Q6J("ngValue",1),i.xp6(2),i.Q6J("ngValue",2),i.xp6(2),i.Q6J("ngValue",3),i.xp6(2),i.Q6J("ngValue",5),i.xp6(2),i.Q6J("ngValue",10),i.xp6(2),i.Q6J("ngValue",15),i.xp6(2),i.Q6J("ngValue",20),i.xp6(2),i.Q6J("ngValue",25),i.xp6(7),i.Q6J("ngModel",r.multisteinerTolerance),i.xp6(1),i.Q6J("ngValue",0),i.xp6(2),i.Q6J("ngValue",1),i.xp6(2),i.Q6J("ngValue",2),i.xp6(2),i.Q6J("ngValue",3),i.xp6(2),i.Q6J("ngValue",5),i.xp6(2),i.Q6J("ngValue",10),i.xp6(2),i.Q6J("ngValue",15),i.xp6(2),i.Q6J("ngValue",20),i.xp6(6),i.Q6J("ngModel",r.multisteinerMaxDeg),i.xp6(7),i.Q6J("ngModel",r.multisteinerHubPenalty)}}var b=function(){var e=function(){function e(t){_classCallCheck(this,e),this.analysis=t,this.show=!1,this.showChange=new i.vpe,this.algorithms=[],this.trustrankIncludeIndirectDrugs=!1,this.trustrankIncludeNonApprovedDrugs=!1,this.trustrankIncludeViralNonSeeds=!0,this.trustrankDampingFactor=.85,this.trustrankMaxDeg=0,this.trustrankHubPenalty=0,this.trustrankResultSize=20,this.closenessIncludeIndirectDrugs=!1,this.closenessIncludeNonApprovedDrugs=!1,this.closenessIncludeViralNonSeeds=!0,this.closenessMaxDeg=0,this.closenessHubPenalty=0,this.closenessResultSize=20,this.degreeIncludeNonApprovedDrugs=!1,this.degreeIncludeViralNonSeeds=!0,this.degreeMaxDeg=0,this.degreeResultSize=20,this.proximityIncludeNonApprovedDrugs=!1,this.proximityMaxDeg=0,this.proximityHubPenalty=0,this.proximityResultSize=20,this.betweennessIncludeViralNonSeeds=!0,this.betweennessMaxDeg=0,this.betweennessHubPenalty=0,this.betweennessResultSize=20,this.keypathwayminerK=5,this.multisteinerNumTrees=5,this.multisteinerTolerance=10,this.multisteinerIncludeViralNonSeeds=!0,this.multisteinerMaxDeg=0,this.multisteinerHubPenalty=0,this.maxTasks=o.V1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(e){"drug-target"===this.target?(this.algorithms=[o.rO,o.B8,o.pt,o.u5,o.VR,o.u1],this.algorithm=o.rO.slug):"drug"===this.target&&(this.algorithms=[o.pt,o.u5,o.VR,o.x9],this.algorithm=o.pt.slug)}},{key:"close",value:function(){this.show=!1,this.showChange.emit(this.show)}},{key:"startTask",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(this.analysis.getSelection()),(t={seeds:this.analysis.getSelection().map(function(e){return e.data.netexId})}).target_or_drugs="drug"===this.target?"PPDr":"PPI","trustrank"===this.algorithm?(t.damping_factor=this.trustrankDampingFactor,t.include_indirect_drugs=this.trustrankIncludeIndirectDrugs,t.include_non_approved_drugs=this.trustrankIncludeNonApprovedDrugs,t.ignore_non_seed_baits=!this.trustrankIncludeViralNonSeeds,this.trustrankMaxDeg&&this.trustrankMaxDeg>0&&(t.max_deg=this.trustrankMaxDeg),t.hub_penalty=this.trustrankHubPenalty,t.result_size=this.trustrankResultSize):"closeness"===this.algorithm?(t.include_indirect_drugs=this.closenessIncludeIndirectDrugs,t.include_non_approved_drugs=this.closenessIncludeNonApprovedDrugs,t.ignore_non_seed_baits=!this.closenessIncludeViralNonSeeds,this.closenessMaxDeg&&this.closenessMaxDeg>0&&(t.max_deg=this.closenessMaxDeg),t.hub_penalty=this.closenessHubPenalty,t.result_size=this.closenessResultSize):"degree"===this.algorithm?(t.include_non_approved_drugs=this.degreeIncludeNonApprovedDrugs,t.ignore_non_seed_baits=!this.degreeIncludeViralNonSeeds,this.degreeMaxDeg&&this.degreeMaxDeg>0&&(t.max_deg=this.degreeMaxDeg),t.result_size=this.degreeResultSize):"proximity"===this.algorithm?(t.include_non_approved_drugs=this.proximityIncludeNonApprovedDrugs,this.proximityMaxDeg&&this.proximityMaxDeg>0&&(t.max_deg=this.proximityMaxDeg),t.hub_penalty=this.proximityHubPenalty,t.result_size=this.proximityResultSize):"betweenness"===this.algorithm?(t.ignore_non_seed_baits=!this.betweennessIncludeViralNonSeeds,this.betweennessMaxDeg&&this.betweennessMaxDeg>0&&(t.max_deg=this.betweennessMaxDeg),t.hub_penalty=this.betweennessHubPenalty,t.result_size=this.betweennessResultSize):"keypathwayminer"===this.algorithm?t.k=this.keypathwayminerK:"multisteiner"===this.algorithm&&(t.num_trees=this.multisteinerNumTrees,t.tolerance=this.multisteinerTolerance,t.ignore_non_seed_baits=!this.multisteinerIncludeViralNonSeeds,this.multisteinerMaxDeg&&this.multisteinerMaxDeg>0&&(t.max_deg=this.multisteinerMaxDeg),t.hub_penalty=this.multisteinerHubPenalty),e.next=6,this.analysis.startAnalysis(this.algorithm,this.target,t);case 6:case"end":return e.stop()}},e,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Y36(o.Kt))},e.\u0275cmp=i.Xpm({type:e,selectors:[["app-launch-analysis"]],inputs:{show:"show",target:"target"},outputs:{showChange:"showChange"},features:[i.TTD],decls:30,vars:14,consts:[[1,"modal"],[1,"modal-background"],[1,"modal-card"],[1,"modal-card-head"],["class","modal-card-title",4,"ngIf"],["aria-label","close",1,"delete",3,"click"],[1,"modal-card-body"],[4,"ngIf"],[1,"tabs","is-toggle","is-small","is-fullwidth","is-rounded","has-tooltip"],[3,"is-active",4,"ngFor","ngForOf"],[1,"doc-link"],["href","https://docs.google.com/document/d/1_SRnIx_UC8FR59rMyrf_r45fCIt3naP4t1qefYNp9vk","target","_blank"],[1,"modal-card-foot"],["data-tooltip","Run the analysis.",1,"button","is-success","is-rounded","has-tooltip",3,"disabled","click"],[1,"icon"],[1,"fa","fa-rocket"],["data-tooltip","Close the current window.",1,"button","is-rounded","has-tooltip",3,"click"],[1,"modal-card-title"],[1,"fa","fa-capsules"],[1,"fa","fa-crosshairs"],[1,"notification","is-warning","warning"],[1,"is-boxed","is-medium",3,"click"],[1,"field"],["for","trustrank-rs",1,"label"],[1,"control"],["id","trustrank-rs","type","number","placeholder","Result size","required","",1,"input",3,"ngModel","ngModelChange"],["class","field",4,"ngIf"],["for","trustrank-df",1,"label"],["id","trustrank-df","type","number","placeholder","Damping factor","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],[1,"help"],["for","trustrank-md",1,"label"],["id","trustrank-md","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","trustrank-hp",1,"label"],["id","trustrank-hp","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],[1,"box"],[1,"media"],[1,"media-left"],[1,"fa","fa-info"],[1,"media-content"],[1,"content"],[1,"is-6"],[1,"label"],["textOn","Include","textOff","Ignore","tooltipOn","Include indirect drugs.","tooltipOff","Exclude indirect drugs from the result.",3,"value","valueChange"],["textOn","Include","textOff","Ignore","tooltipOn","Include non-approved drugs.","tooltipOff","Exclude non-approved drugs from the result.",3,"value","valueChange"],["for","closeness-rs",1,"label"],["id","closeness-rs","type","number","placeholder","Result size","required","",1,"input",3,"ngModel","ngModelChange"],["for","closeness-md",1,"label"],["id","closeness-md","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","closeness-hp",1,"label"],["id","closeness-hp","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","degree-rs",1,"label"],["id","degree-rs","type","number","placeholder","Result size","required","",1,"input",3,"ngModel","ngModelChange"],["for","degree-md",1,"label"],["id","degree-md","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","proximity-rs",1,"label"],["id","proximity-rs","type","number","placeholder","Result size","required","",1,"input",3,"ngModel","ngModelChange"],["for","proximity-md",1,"label"],["id","proximity-md","type","number","placeholder","Maximum degree","required","",1,"input",3,"ngModel","ngModelChange"],["for","proximity-hp",1,"label"],["id","proximity-hp","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["id","betweenness-rs","type","number","placeholder","Result size","required","",1,"input",3,"ngModel","ngModelChange"],["for","betweenness-md",1,"label"],["id","betweenness-md","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","betweenness-hp",1,"label"],["id","betweenness-hp","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","keypathwayminer-k",1,"label"],[1,"select"],["id","keypathwayminer-k",3,"ngModel","ngModelChange"],[3,"ngValue"],["for","multisteiner-numtrees",1,"label"],["id","multisteiner-numtrees",3,"ngModel","ngModelChange"],["id","multisteiner-tolerance",3,"ngModel","ngModelChange"],["for","multisteiner-md",1,"label"],["id","multisteiner-md","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"],["for","multisteiner-hp",1,"label"],["id","multisteiner-hp","type","number","placeholder","Maximum degree","min","0","max","1","required","",1,"input",3,"ngModel","ngModelChange"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._UZ(1,"div",1),i.TgZ(2,"div",2),i.TgZ(3,"header",3),i.YNc(4,u,4,0,"p",4),i.YNc(5,c,4,0,"p",4),i.TgZ(6,"button",5),i.NdJ("click",function(){return t.close()}),i.qZA(),i.qZA(),i.TgZ(7,"section",6),i.YNc(8,A,3,1,"div",7),i.TgZ(9,"div",8),i.TgZ(10,"ul"),i.YNc(11,h,3,3,"li",9),i.qZA(),i.qZA(),i.YNc(12,p,43,6,"div",7),i.YNc(13,v,33,5,"div",7),i.YNc(14,y,25,3,"div",7),i.YNc(15,E,35,4,"div",7),i.YNc(16,C,31,3,"div",7),i.YNc(17,w,42,12,"div",7),i.YNc(18,B,59,20,"div",7),i.TgZ(19,"p",10),i.TgZ(20,"a",11),i._uU(21," Check the documentation for more info "),i.qZA(),i.qZA(),i.qZA(),i.TgZ(22,"footer",12),i.TgZ(23,"button",13),i.NdJ("click",function(){return t.startTask(),t.close()}),i.TgZ(24,"span",14),i._UZ(25,"i",15),i.qZA(),i.TgZ(26,"span"),i._uU(27," Launch "),i.qZA(),i.qZA(),i.TgZ(28,"button",16),i.NdJ("click",function(){return t.close()}),i._uU(29,"Close "),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&e&&(i.ekj("is-active",t.show),i.xp6(4),i.Q6J("ngIf","drug"===t.target),i.xp6(1),i.Q6J("ngIf","drug-target"===t.target),i.xp6(3),i.Q6J("ngIf",!t.analysis.canLaunchTask()),i.xp6(3),i.Q6J("ngForOf",t.algorithms),i.xp6(1),i.Q6J("ngIf","trustrank"===t.algorithm),i.xp6(1),i.Q6J("ngIf","closeness"===t.algorithm),i.xp6(1),i.Q6J("ngIf","degree"===t.algorithm),i.xp6(1),i.Q6J("ngIf","proximity"===t.algorithm),i.xp6(1),i.Q6J("ngIf","betweenness"===t.algorithm),i.xp6(1),i.Q6J("ngIf","keypathwayminer"===t.algorithm),i.xp6(1),i.Q6J("ngIf","multisteiner"===t.algorithm),i.xp6(5),i.Q6J("disabled",!t.analysis.canLaunchTask()))},directives:[a.O5,a.sg,s.wV,s.Fj,s.Q7,s.JJ,s.On,s.qQ,s.Fd,l.n,s.EJ,s.YN,s.Kr],styles:[".modal-card[_ngcontent-%COMP%]{height:800px;max-height:80vh}.modal-card-body[_ngcontent-%COMP%]{padding-left:40px;padding-right:40px}.warning[_ngcontent-%COMP%]{margin-bottom:15px}.help.info[_ngcontent-%COMP%]{margin-bottom:20px}.help.info[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background-color:blue}.doc-link[_ngcontent-%COMP%]{margin-top:15px;font-size:11px}"]}),e}()},1174:function(e,t,n){"use strict";function r(e){return"p_".concat(e.id)}function i(e,t){return{from:t[e.from].nodeId,to:t[e.to].nodeId}}function o(e){return{from:"p_".concat(e.from),to:"d_".concat(e.to)}}function a(e){return"d_".concat(e.id)}function s(e){return e.id}function l(e){return"".concat(e.id)}function u(e){return{id:(t=e,t.id.toString()),nodeId:l(e),type:"gene",data:e};var t}function c(e){return{id:s(e),nodeId:a(e),type:"drug",data:e}}n.d(t,{dV:function(){return r},s$:function(){return i},mG:function(){return o},h$:function(){return u},lt:function(){return c}})},4086:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(4762),i=n(1174),o=function(){function e(t,n){_classCallCheck(this,e),this.proteins=t,this.edges=n}return _createClass(e,[{key:"loadPositions",value:function(e,t){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.get("assets/positions/".concat(function(e){return"network-".concat(JSON.stringify(e).replace(/[\[\]\",]/g,""),".json")}(t))).toPromise();case 2:r=n.sent,this.proteins.forEach(function(e){var t=r[(0,i.dV)(e)];t&&(e.x=t.x,e.y=t.y)});case 4:case"end":return n.stop()}},n,this)}))}},{key:"getProtein",value:function(e){return this.proteins.find(function(t){return t.id===e})}},{key:"linkNodes",value:function(){var e=this;this.proteins.forEach(function(e){e.interactions=[]}),this.edges.forEach(function(t){var n=e.getProtein(t.from),r=e.getProtein(t.to);n&&r&&(n.interactions.push(r),r.interactions.push(n))})}}]),e}()},6138:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var r=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"getNodeSize",value:function(e){return"gene"===e?this.hostSize:"drug"===e?this.drugSize:void 0}},{key:"getNodeShape",value:function(e,t){return"gene"===e?this.hostShape:"drug"===e?t?this.drugInTrialShape:this.drugNotInTrialShape:void 0}},{key:"getOptions",value:function(e){return"main"===e?{layout:this.mainLayout,edges:this.mainEdges,physics:this.mainPhysics}:"analysis"===e?{layout:this.analysisLayout,edges:this.analysisEdges,physics:this.analysisPhysics}:"analysis-big"===e?{layout:this.analysisLayout,edges:this.analysisEdges,physics:this.analysisBigPhysics}:void 0}},{key:"getColor",value:function(e){return"gene"===e?this.hostColor:"approvedDrug"===e?this.approvedDrugColor:"unapprovedDrug"===e?this.unapprovedDrugColor:"hostFont"===e?this.hostFontColor:"drugFont"===e?this.drugFontColor:"nonSeedHost"===e?this.nonSeedHostColor:"edgeHostDrug"===e?this.edgeHostDrugColor:"edgeHostDrugHighlight"===e?this.edgeHostDrugHighlightColor:"edgeGeneGene"===e?this.edgeGeneGeneColor:"edgeGeneGeneHighlight"===e?this.edgeGeneGeneHighlightColor:void 0}},{key:"getFont",value:function(e,t){return"gene"===e?{color:this.hostFontColor,size:this.hostFontSize}:"drug"===e?t?{color:this.drugInTrialFontColor,size:this.drugFontSize}:{color:this.drugFontColor,size:this.drugFontSize}:void 0}},{key:"getNodeStyle",value:function(t,n,r,i,o,a){var s,l,u,c;a||(a=1),l=e.getNodeShape(t),u=e.getNodeSize(t),c=e.getFont(t),"gene"===t?(s=e.getColor(t),c=e.getFont("gene"),n||(s=e.getColor("nonSeedHost"))):"drug"===t&&(s=e.getColor("approved"===i?"approvedDrug":"unapprovedDrug"),o?(l=e.getNodeShape("drug",!0),c=e.getFont("drug",!0)):l=e.getNodeShape("drug",!1)),s=-1===a?"#A0A0A0":function(e,t,n){e=e.replace(/^\s*#|\s*$/g,""),t=t.replace(/^\s*#|\s*$/g,""),3===e.length&&(e=e.replace(/(.)/g,"$1$1")),3===t.length&&(t=t.replace(/(.)/g,"$1$1"));var r=parseInt(e.substr(0,2),16),i=parseInt(e.substr(2,2),16),o=parseInt(e.substr(4,2),16),a=parseInt(t.substr(0,2),16),s=parseInt(t.substr(2,2),16)-i,l=parseInt(t.substr(4,2),16)-o,u="".concat(((a-r)*n+r).toString(16).split(".")[0]),c="".concat((s*n+i).toString(16).split(".")[0]),A="".concat((l*n+o).toString(16).split(".")[0]);return 1===u.length&&(u="0"+u),1===c.length&&(c="0"+c),1===A.length&&(A="0"+A),"#"+u+c+A}("#FFFFFF",s,a);var A={size:u,shape:l,font:c,shadow:!0};return r?(A.color={background:s,border:this.selectedBorderColor,highlight:{border:this.selectBorderHighlightColor,background:s}},A.borderWidth=this.selectedBorderWidth,A.borderWidthSelected=this.selectedBorderWidthSelected):(A.color=s,A.borderWidth=this.borderWidth,A.borderWidthSelected=this.borderWidthSelected),A}}]),e}();return e.hostColor="#123456",e.approvedDrugColor="#48C774",e.unapprovedDrugColor="#F8981D",e.nonSeedHostColor="#3070B3",e.nonSeedVirusColor="#87082c",e.selectedBorderColor="#F8981D",e.selectBorderHighlightColor="#F8981D",e.edgeHostVirusColor="#686868",e.edgeHostVirusHighlightColor="#686868",e.edgeHostDrugColor="#686868",e.edgeHostDrugHighlightColor="#686868",e.edgeGeneGeneColor="#686868",e.edgeGeneGeneHighlightColor="#686868",e.selectedBorderWidth=3,e.selectedBorderWidthSelected=3,e.borderWidth=1,e.borderWidthSelected=3,e.hostFontSize=20,e.drugFontSize=30,e.hostFontColor="#FFFFFF",e.drugFontColor="#FFFFFF",e.drugInTrialFontColor="black",e.analysisLayout={improvedLayout:!0},e.analysisEdges={smooth:!1},e.analysisPhysics={enabled:!0,stabilization:{enabled:!0},repulsion:{centralGravity:0},solver:"repulsion"},e.analysisBigPhysics={enabled:!1},e.mainLayout={improvedLayout:!1},e.mainEdges={smooth:!1,length:250},e.mainPhysics={enabled:!1},e.hostSize=20,e.drugSize=15,e.hostShape="ellipse",e.drugNotInTrialShape="box",e.drugInTrialShape="triangle",e}()},5521:function _(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:function(){return ExplorerPageComponent}});var tslib__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(4762),_interfaces__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1174),_main_network__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4086),html2canvas__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4213),html2canvas__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(html2canvas__WEBPACK_IMPORTED_MODULE_0__),_network_settings__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(6138),_config__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5248),_angular_core__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(5366),_services_omnipath_controller_omnipath_controller_service__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(5171),_services_analysis_analysis_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3943),src_app_services_netex_controller_netex_controller_service__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9501),_dialogs_launch_analysis_launch_analysis_component__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1690),_dialogs_custom_proteins_custom_proteins_component__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(3974),_dialogs_add_expressed_proteins_add_expressed_proteins_component__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6414),_angular_common__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1116),_components_query_tile_query_tile_component__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3349),_components_analysis_panel_analysis_panel_component__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(7404),_components_network_legend_network_legend_component__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1144),_components_toggle_toggle_component__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(2065),_components_info_tile_info_tile_component__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(4907),_components_task_list_task_list_component__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(9235),_c0=["network"];function ExplorerPageComponent_div_5_div_1_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_5_div_1_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_5_div_1_div_10_nav_2_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"nav",34),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",35),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"p",36),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(4,"Proteins"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"p",37),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"div",35),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(8,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"p",36),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(10,"Interactions"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(11,"p",37),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(12),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Oqu(n.proteinData.proteins.length),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Oqu(n.proteinData.edges.length)}}function ExplorerPageComponent_div_5_div_1_div_10_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(2,ExplorerPageComponent_div_5_div_1_div_10_nav_2_Template,13,2,"nav",33),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.proteinData)}}var _c1=function(e){return{"b-text-small":e}};function ExplorerPageComponent_div_5_div_1_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",24),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",9),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",26),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5," Network Overview "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseOverview=!e.collapseOverview}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_5_div_1_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_5_div_1_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_5_div_1_div_10_Template,3,1,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(4,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(8),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseOverview),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseOverview),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseOverview)}}function ExplorerPageComponent_div_5_div_2_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_5_div_2_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_5_div_2_div_10_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"div",39),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"app-query-tile-component",41),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("selectItem",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).queryAction(e)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("queryItems",r.queryItems)}}function ExplorerPageComponent_div_5_div_2_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",24),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",9),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",38),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5," Query Protein/Gene "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseQuery=!e.collapseQuery}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_5_div_2_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_5_div_2_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_5_div_2_div_10_Template,5,1,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(4,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(8),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseQuery),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseQuery),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseQuery)}}function ExplorerPageComponent_div_5_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",22),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(1,ExplorerPageComponent_div_5_div_1_Template,11,6,"div",23),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(2,ExplorerPageComponent_div_5_div_2_Template,11,6,"div",23),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showOverview),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showQuery)}}function ExplorerPageComponent_div_7_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",42),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"app-analysis-panel",43),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("tokenChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().selectedAnalysisToken=e})("showDetailsChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().selectedWrapper=e})("visibleItems",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().analysisWindowChanged(e)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("token",r.selectedAnalysisToken)}}function ExplorerPageComponent_div_14_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(1,"app-network-legend",44),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("config",n.myConfig)}}var _c2=function(e){return{"text-small":e}};function ExplorerPageComponent_footer_20_span_9_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1,"Tissue"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(1,_c2,n.smallStyle))}}function ExplorerPageComponent_footer_20_span_10_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Oqu(n.selectedTissue.name)}}function ExplorerPageComponent_footer_20_a_18_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"a",58),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n).$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2).selectTissue(e)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=t.$implicit,i=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.ekj("is-active",i.selectedTissue&&r.netexId===i.selectedTissue.netexId),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.hij(" ",r.name," ")}}var _c3=function(e){return{"footer-small":e}},_c4=function(e){return{"text-normal":e}},_c5=function(e){return{"button-small":e}};function ExplorerPageComponent_footer_20_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"footer",45),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"button",46),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().toCanvas()}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(3,"i",47),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5,"Screenshot"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"div",49),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"div",50),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(8,"button",51),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();return e.expressionExpanded=!e.expressionExpanded}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_footer_20_span_9_Template,2,3,"span",52),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_footer_20_span_10_Template,2,1,"span",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(11,"span",53),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(12,"i",54),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(13,"div",55),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(14,"div",56),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(15,"div",57),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(16,"a",58),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().selectTissue(null)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(17," None "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(18,ExplorerPageComponent_footer_20_a_18_Template,2,3,"a",59),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(19,"app-toggle",60),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("valueChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw().updatePhysicsEnabled(e)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(18,_c3,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(20,_c4,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.ekj("is-active",r.expressionExpanded),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.ekj("is-outlined",!r.selectedTissue),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(22,_c5,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.selectedTissue),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.selectedTissue),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.ekj("fa-angle-up",r.expressionExpanded)("fa-angle-left",!r.expressionExpanded),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.ekj("is-active",!r.selectedTissue),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngForOf",r.analysis.getTissues()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("smallStyle",r.smallStyle)("value",r.physicsEnabled)}}function ExplorerPageComponent_div_21_div_1_i_4_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",26)}function ExplorerPageComponent_div_21_div_1_i_5_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",68)}function ExplorerPageComponent_div_21_div_1_i_6_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",69)}function ExplorerPageComponent_div_21_div_1_span_7_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1,"No item selected"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_1_span_8_span_1_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1,"Host Protein"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_1_span_8_span_2_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1,"Drug"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_1_span_8_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(1,ExplorerPageComponent_div_21_div_1_span_8_span_1_Template,2,0,"span",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(2,ExplorerPageComponent_div_21_div_1_span_8_span_2_Template,2,0,"span",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf","gene"===n.selectedWrapper.type),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf","drug"===n.selectedWrapper.type)}}function ExplorerPageComponent_div_21_div_1_i_11_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_21_div_1_i_12_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_21_div_1_div_13_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(2,"app-info-tile",70),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("wrapper",n.selectedWrapper)("smallStyle",n.smallStyle)}}function ExplorerPageComponent_div_21_div_1_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",63),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",64),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(4,ExplorerPageComponent_div_21_div_1_i_4_Template,1,0,"i",65),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(5,ExplorerPageComponent_div_21_div_1_i_5_Template,1,0,"i",66),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(6,ExplorerPageComponent_div_21_div_1_i_6_Template,1,0,"i",67),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(7,ExplorerPageComponent_div_21_div_1_span_7_Template,2,0,"span",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_21_div_1_span_8_Template,3,2,"span",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseDetails=!e.collapseDetails}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(10,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(11,ExplorerPageComponent_div_21_div_1_i_11_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(12,ExplorerPageComponent_div_21_div_1_i_12_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(13,ExplorerPageComponent_div_21_div_1_div_13_Template,3,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(9,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.selectedWrapper),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.selectedWrapper&&"gene"===r.selectedWrapper.type),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.selectedWrapper&&"drug"===r.selectedWrapper.type),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.selectedWrapper),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.selectedWrapper),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseDetails),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseDetails),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseDetails)}}function ExplorerPageComponent_div_21_div_2_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_21_div_2_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_21_div_2_div_10_i_10_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",84)}function ExplorerPageComponent_div_21_div_2_div_10_i_11_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",85)}function ExplorerPageComponent_div_21_div_2_div_10_div_18_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",75),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1,"1"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_2_div_10_div_19_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",75),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(1,"i",86),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_2_div_10_i_29_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",84)}function ExplorerPageComponent_div_21_div_2_div_10_i_30_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",85)}function ExplorerPageComponent_div_21_div_2_div_10_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",72),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"div",39),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"div",73),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"div",74),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"div",75),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(7,"i",76),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(8,"button",77),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).analysis.startQuickAnalysis(!0,null)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_2_div_10_i_10_Template,1,0,"i",78),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(11,ExplorerPageComponent_div_21_div_2_div_10_i_11_Template,1,0,"i",79),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(12,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(13," Quick Start "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(14,"div",80),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(15," \u2014 or \u2014 "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(16,"div",81),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(17,"div",74),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(18,ExplorerPageComponent_div_21_div_2_div_10_div_18_Template,2,0,"div",82),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(19,ExplorerPageComponent_div_21_div_2_div_10_div_19_Template,2,0,"div",82),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(20,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(21,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(22,"Select Proteins"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(23,"div",81),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(24,"div",74),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(25,"div",75),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(26,"2"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(27,"button",83),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).analysis.startQuickAnalysis(!1,null)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(28,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(29,ExplorerPageComponent_div_21_div_2_div_10_i_29_Template,1,0,"i",78),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(30,ExplorerPageComponent_div_21_div_2_div_10_i_30_Template,1,0,"i",79),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(31,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(32),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(8),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("disabled",r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(12,_c4,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",0==r.analysis.getCount()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.analysis.getCount()>0),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(14,_c4,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("disabled",0===r.analysis.getCount()||r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.analysis.isLaunchingQuick()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(16,_c4,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.hij(" ",r.myConfig.taskName," ")}}function ExplorerPageComponent_div_21_div_2_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",63),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",64),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",71),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5," Simple Analysis "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseAnalysisQuick=!e.collapseAnalysisQuick}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_21_div_2_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_21_div_2_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_2_div_10_Template,33,18,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(4,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseAnalysisQuick),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseAnalysisQuick),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseAnalysisQuick)}}function ExplorerPageComponent_div_21_div_3_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_21_div_3_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_21_div_3_div_10_a_18_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"a",92),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(2,"i",93),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(4," Enrichment Analysis "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("href",n.gProfilerLink(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.LSH),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(2,_c2,n.smallStyle))}}function ExplorerPageComponent_div_21_div_3_div_10_a_19_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"a",94),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(2,"i",93),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",48),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(4," Enrichment Analysis "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(1,_c2,n.smallStyle))}}function ExplorerPageComponent_div_21_div_3_div_10_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",32),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"div",39),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"button",87),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);return e.analysisDialogTarget="drug-target",e.showAnalysisDialog=!0}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(6,"i",88),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(8," Find Drug Targets "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"div",39),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(10,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(11,"button",89),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);return e.analysisDialogTarget="drug",e.showAnalysisDialog=!0}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(12,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(13,"i",84),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(14,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(15),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(16,"div",39),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(17,"div",40),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(18,ExplorerPageComponent_div_21_div_3_div_10_a_18_Template,5,4,"a",90),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(19,ExplorerPageComponent_div_21_div_3_div_10_a_19_Template,5,3,"a",91),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("disabled",0===r.analysis.getCount())("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(7,_c2,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("disabled",0===r.analysis.getCount())("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(9,_c2,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.hij(" ",r.myConfig.taskName," "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.analysis.getCount()>0),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",0===r.analysis.getCount())}}function ExplorerPageComponent_div_21_div_3_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",63),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",64),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",71),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5," Analysis "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseAnalysis=!e.collapseAnalysis}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_21_div_3_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_21_div_3_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_3_div_10_Template,20,11,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(4,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseAnalysis),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseAnalysis),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseAnalysis)}}function ExplorerPageComponent_div_21_div_4_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_21_div_4_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_21_div_4_div_10_div_1_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",99),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"app-task-list",100),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("tokenChange",function(e){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4).selectedAnalysisToken=e}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("token",r.selectedAnalysisToken)}}function ExplorerPageComponent_div_21_div_4_div_10_a_3_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"a",101),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);return e.analysis.removeAllTasks(),e.selectedAnalysisToken=null}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(2,"i",102),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(4," Delete all "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}}function ExplorerPageComponent_div_21_div_4_div_10_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(1,ExplorerPageComponent_div_21_div_4_div_10_div_1_Template,2,1,"div",96),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"footer",97),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(3,ExplorerPageComponent_div_21_div_4_div_10_a_3_Template,5,0,"a",98),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.analysis.tasks&&n.analysis.tasks.length>0),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.analysis.tasks&&n.analysis.tasks.length>0)}}function ExplorerPageComponent_div_21_div_4_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",63),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",64),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",95),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseTask=!e.collapseTask}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_21_div_4_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_21_div_4_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_4_div_10_Template,4,2,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(5,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.hij(" Tasks (",r.analysis.tasks.length,") "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseTask),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseTask),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseTask)}}function ExplorerPageComponent_div_21_div_5_i_8_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",30)}function ExplorerPageComponent_div_21_div_5_i_9_Template(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(0,"i",31)}function ExplorerPageComponent_div_21_div_5_div_10_table_2_tr_10_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"tr"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",118),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"p",118),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(8,"button",119),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n).$implicit;return _angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(5).analysis.removeItems([e])}),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(9,"i",102),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=t.$implicit;_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Oqu(r.type),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Oqu(r.data.label)}}function ExplorerPageComponent_div_21_div_5_div_10_table_2_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"table",116),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"thead"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"tr"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(4,"Type"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(6,"Name"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"td"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(8,"Actions"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"tbody"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_5_div_10_table_2_tr_10_Template,10,2,"tr",117),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngForOf",n.analysis.getSelection())}}function ExplorerPageComponent_div_21_div_5_div_10_i_3_Template(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"i"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(1," Double-click on a protein to select it for the analysis. "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA())}function ExplorerPageComponent_div_21_div_5_div_10_footer_4_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"footer",97),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"a",120),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);return e.analysis.addSeeds(e.currentViewNodes)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(3,"i",121),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5," Add seeds "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",122),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(4);return e.analysis.removeSeeds(e.currentViewNodes)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(8,"i",123),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(10," Remove seeds "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}}function ExplorerPageComponent_div_21_div_5_div_10_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",105),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"div",99),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(2,ExplorerPageComponent_div_21_div_5_div_10_table_2_Template,11,1,"table",106),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(3,ExplorerPageComponent_div_21_div_5_div_10_i_3_Template,2,0,"i",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(4,ExplorerPageComponent_div_21_div_5_div_10_footer_4_Template,11,0,"footer",107),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(5,"footer",97),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",108),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).showCustomProteinsDialog=!0}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(8,"i",109),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(10," Custom proteins "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(11,"a",110),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).showThresholdDialog=!0}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(12,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(13,"i",111),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(14,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(15," Tissue proteins "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(16,"footer",97),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(17,"a",112),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);return e.analysis.invertSelection(e.currentViewNodes)}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(18,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(19,"i",113),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(20,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(21," Invert "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(22,"a",114),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){return _angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n),_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3).analysis.resetSelection()}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(23,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(24,"i",115),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(25,"span"),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(26," Reset "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(3);_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(4,_c4,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.analysis.getCount()>0),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",0===r.analysis.getCount()),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.selectedAnalysisToken)}}function ExplorerPageComponent_div_21_div_5_Template(e,t){if(1&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.EpF();_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",63),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"header",64),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__._UZ(4,"i",103),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(5),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"a",27),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("click",function(){_angular_core__WEBPACK_IMPORTED_MODULE_10__.CHM(n);var e=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);return e.collapseSelection=!e.collapseSelection}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(7,"span",25),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(8,ExplorerPageComponent_div_21_div_5_i_8_Template,1,0,"i",28),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(9,ExplorerPageComponent_div_21_div_5_i_9_Template,1,0,"i",29),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(10,ExplorerPageComponent_div_21_div_5_div_10_Template,27,6,"div",104),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()}if(2&e){var r=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw(2);_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngClass",_angular_core__WEBPACK_IMPORTED_MODULE_10__.VKq(5,_c1,r.smallStyle)),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.hij(" Selection (",r.analysis.getCount(),") "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseSelection),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",!r.collapseSelection),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",r.collapseSelection)}}function ExplorerPageComponent_div_21_Template(e,t){if(1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",61),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(1,ExplorerPageComponent_div_21_div_1_Template,14,11,"div",62),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(2,ExplorerPageComponent_div_21_div_2_Template,11,6,"div",62),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(3,ExplorerPageComponent_div_21_div_3_Template,11,6,"div",62),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(4,ExplorerPageComponent_div_21_div_4_Template,11,7,"div",62),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(5,ExplorerPageComponent_div_21_div_5_Template,11,7,"div",62),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e){var n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.oxw();_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showItemSelector),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showSimpleAnalysis),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showAdvAnalysis),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showTasks),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",n.myConfig.showSelection)}}var ExplorerPageComponent=function(){var ExplorerPageComponent=function(){function ExplorerPageComponent(e,t,n){var r=this;_classCallCheck(this,ExplorerPageComponent),this.omnipath=e,this.analysis=t,this.netex=n,this.networkJSON='{"nodes": [], "edges": []}',this.myConfig=JSON.parse(JSON.stringify(_config__WEBPACK_IMPORTED_MODULE_1__.u)),this.windowWidth=0,this.smallStyle=!1,this.showDetails=!1,this.selectedWrapper=null,this.collapseAnalysisQuick=!0,this.collapseAnalysis=!0,this.collapseDetails=!0,this.collapseTask=!0,this.collapseSelection=!0,this.collapseBaitFilter=!0,this.collapseQuery=!0,this.collapseData=!0,this.collapseOverview=!0,this.nodeData={nodes:null,edges:null},this.dumpPositions=!1,this.physicsEnabled=!1,this.queryItems=[],this.showAnalysisDialog=!1,this.showThresholdDialog=!1,this.showCustomProteinsDialog=!1,this.selectedAnalysisToken=null,this.currentDataset=[],this.currentViewSelectedTissue=null,this.expressionExpanded=!1,this.selectedTissue=null,this.textColor="red",this.showDetails=!1,this.analysis.subscribeList(function(e,t){if(r.nodeData.nodes)if(null!==t){if(0===e.length)return;var n,i=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=r.nodeData.nodes.get(a.id);if(s){var l=r.networkInternal.getPositions([a.id]);s.x=l[a.id].x,s.y=l[a.id].y,Object.assign(s,r.myConfig.nodeGroups[s.group]),i.push(s)}}}catch(u){o.e(u)}finally{o.f()}r.nodeData.nodes.update(i)}else{r.nodeData.nodes.forEach(function(e){r.analysis.idInSelection(e.id),Object.assign(e,r.myConfig.nodeGroups[e.group])}),r.nodeData.nodes.update([])}})}return _createClass(ExplorerPageComponent,[{key:"config",set:function(e){if(void 0!==e)for(var t=JSON.parse(e),n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];"nodeGroups"!==i&&"edgeGroups"!==i?"interactions"!==i?("showLeftSidebar"===i?t[i]?document.getElementById("main-column").classList.remove("leftgone"):document.getElementById("main-column").classList.add("leftgone"):"showRightSidebar"===i&&(t[i]?document.getElementById("main-column").classList.remove("rightgone"):document.getElementById("main-column").classList.add("rightgone")),this.myConfig[i]=t[i]):this.getInteractions():this.myConfig[i]=Object.assign(Object.assign({},this.myConfig[i]),t[i])}}},{key:"network",get:function(){return this.networkJSON},set:function(e){void 0!==e&&(this.networkJSON=e,this.createNetwork())}},{key:"onResize",value:function(e){this.setWindowWidth(e.target.innerWidth)}},{key:"ngOnInit",value:function(){this.setWindowWidth(document.getElementById("appWindow").getBoundingClientRect().width)}},{key:"ngAfterViewInit",value:function ngAfterViewInit(){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function _callee11(){return regeneratorRuntime.wrap(function _callee11$(_context11){for(;;)switch(_context11.prev=_context11.next){case 0:this.createNetwork(),this.onload&&eval(this.onload);case 1:case"end":return _context11.stop()}},_callee11,this)}))}},{key:"getInteractions",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.nodeData.nodes.map(function(e){return e.label}),n={},this.nodeData.nodes.map(function(e){return n[e.label]=e.id}),e.next=4,this.omnipath.getInteractions(t,this.myConfig.identifier,n);case 4:r=e.sent,this.nodeData.edges.update(r);case 6:case"end":return e.stop()}},e,this)}))}},{key:"getNetwork",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=JSON.parse(this.networkJSON),e.t0=t.nodes.length,!e.t0){e.next=6;break}return e.next=5,this.netex.mapNodes(t.nodes,this.myConfig.identifier);case 5:t.nodes=e.sent;case 6:this.proteins=t.nodes,this.edges=t.edges;case 8:case"end":return e.stop()}},e,this)}))}},{key:"setWindowWidth",value:function(e){this.windowWidth=e,this.smallStyle=this.windowWidth<1250}},{key:"zoomToNode",value:function(e){this.nodeData.nodes.getIds();var t=this.networkInternal.getPositions(e)[e];if(t){var n;n=e.startsWith("eff")?1:3,this.networkInternal.moveTo({position:{x:t.x,y:t.y},scale:n,animation:!0})}}},{key:"openSummary",value:function(e,t){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:this.selectedWrapper=e,t&&this.zoomToNode(e.nodeId),this.showDetails=!0;case 1:case"end":return n.stop()}},n,this)}))}},{key:"closeSummary",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.selectedWrapper=null,this.showDetails=!1;case 1:case"end":return e.stop()}},e,this)}))}},{key:"createNetwork",value:function(){return(0,tslib__WEBPACK_IMPORTED_MODULE_11__.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,r,i,o,a=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.analysis.resetSelection(),this.selectedWrapper=null,e.next=4,this.getNetwork();case 4:this.proteinData=new _main_network__WEBPACK_IMPORTED_MODULE_12__.r(this.proteins,this.edges),this.proteinData.linkNodes(),t=this.mapDataToNodes(this.proteinData),n=t.nodes,r=t.edges,this.nodeData.nodes=new vis.DataSet(n),this.nodeData.edges=new vis.DataSet(r),i=this.networkEl.nativeElement,o=_network_settings__WEBPACK_IMPORTED_MODULE_13__.S.getOptions("main"),this.networkInternal=new vis.Network(i,this.nodeData,o),this.networkInternal.on("doubleClick",function(e){var t=e.nodes;if(t.length>0){var n=a.nodeData.nodes.get(t[0]),r=(0,_interfaces__WEBPACK_IMPORTED_MODULE_14__.h$)(n);a.analysis.inSelection(n)?a.analysis.removeItems([r]):a.analysis.addItems([r])}}),this.networkInternal.on("click",function(e){var t=e.nodes;if(t.length>0){var n=a.nodeData.nodes.get(t[0]),r=(0,_interfaces__WEBPACK_IMPORTED_MODULE_14__.h$)(n);a.openSummary(r,!1)}else a.closeSummary()}),this.networkInternal.on("deselectNode",function(e){a.closeSummary()}),this.selectedWrapper&&this.zoomToNode(this.selectedWrapper.nodeId),this.queryItems=[],this.fillQueryItems(this.proteins),this.selectedWrapper&&this.networkInternal.selectNodes([this.selectedWrapper.nodeId]);case 10:case"end":return e.stop()}},e,this)}))}},{key:"fillQueryItems",value:function(e){var t=this;this.queryItems=[],e.forEach(function(e){t.queryItems.push((0,_interfaces__WEBPACK_IMPORTED_MODULE_14__.h$)(e))}),this.currentViewNodes=this.nodeData.nodes,this.currentViewProteins=this.proteins}},{key:"queryAction",value:function(e){e&&this.openSummary(e,!0)}},{key:"updatePhysicsEnabled",value:function(e){this.physicsEnabled=e,this.networkInternal.setOptions({physics:{enabled:this.physicsEnabled,stabilization:{enabled:!1}}})}},{key:"setConfigEdgeGroup",value:function(e,t){this.myConfig[e]=Object.assign(Object.assign({},this.myConfig[e]),t)}},{key:"mapCustomNode",value:function(e){var t=e.group;void 0!==t&&void 0!==this.myConfig.nodeGroups[t]||(t="default");var n=JSON.parse(JSON.stringify(this.myConfig.nodeGroups[t])),r=e.name;return 0===e.name.length&&(r=e.userId),n.name=e.name,n.image&&(n.shape="image"),n.label=r,n.id=e.id,n.x=e.x,n.y=e.y,n.uniprotAc=e.uniprotAc,n.netexId=e.netexId,n}},{key:"mapCustomEdge",value:function(e){var t=e.group;void 0!==t&&void 0!==this.myConfig.edgeGroups[t]||(t="default");var n=JSON.parse(JSON.stringify(this.myConfig.edgeGroups[t]));return n.from=e.from,n.to=e.to,n}},{key:"mapDataToNodes",value:function(e){var t,n=[],r=[],i=_createForOfIteratorHelper(e.proteins);try{for(i.s();!(t=i.n()).done;){var o=t.value;n.push(this.mapCustomNode(o))}}catch(u){i.e(u)}finally{i.f()}var a,s=_createForOfIteratorHelper(e.edges);try{for(s.s();!(a=s.n()).done;){var l=a.value;r.push(this.mapCustomEdge(l))}}catch(u){s.e(u)}finally{s.f()}return{nodes:n,edges:r}}},{key:"toCanvas",value:function(){html2canvas__WEBPACK_IMPORTED_MODULE_0___default()(this.networkEl.nativeElement).then(function(e){var t=e.toDataURL("image/png").replace("image/png","image/octet-stream"),n=document.createElement("a");n.href=t,n.download="Network.png",n.click()})}},{key:"analysisWindowChanged",value:function(e){e?(this.currentViewNodes=e[0],this.currentViewProteins=e[1][0],this.currentViewSelectedTissue=e[1][1]):(this.currentViewNodes=this.nodeData.nodes,this.currentViewProteins=this.proteins,this.currentViewSelectedTissue=this.selectedTissue)}},{key:"gProfilerLink",value:function(){return"http://biit.cs.ut.ee/gprofiler/gost?organism=hsapiens&query=".concat(this.analysis.getSelection().filter(function(e){return"gene"===e.type}).map(function(e){return e.data.uniprotAc}).join("%0A"),"&ordered=false&all_results=false&no_iea=false&combined=false&measure_underrepresentation=false&domain_scope=annotated&significance_threshold_method=g_SCS&user_threshold=0.05&numeric_namespace=ENTREZGENE_ACC&sources=GO:MF,GO:CC,GO:BP,KEGG,TF,REAC,MIRNA,HPA,CORUM,HP,WP&background=")}},{key:"selectTissue",value:function(e){if(this.expressionExpanded=!1,e)this.selectedTissue=e;else{this.selectedTissue=null;var t,n=[],r=_createForOfIteratorHelper(this.proteins);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=this.nodeData.nodes.get(i.nodeId);if(o){var a=this.networkInternal.getPositions([i.nodeId]);o.x=a[i.nodeId].x,o.y=a[i.nodeId].y,Object.assign(o,_network_settings__WEBPACK_IMPORTED_MODULE_13__.S.getNodeStyle(o.wrapper.type,o.isSeed,this.analysis.inSelection(i),void 0,void 0,1)),o.wrapper=i,o.gradient=1,o.wrapper.data.expressionLevel=void 0,n.push(o)}}}catch(s){r.e(s)}finally{r.f()}this.nodeData.nodes.update(n)}this.currentViewSelectedTissue=this.selectedTissue}}]),ExplorerPageComponent}();return ExplorerPageComponent.\u0275fac=function(e){return new(e||ExplorerPageComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_10__.Y36(_services_omnipath_controller_omnipath_controller_service__WEBPACK_IMPORTED_MODULE_15__.N),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Y36(_services_analysis_analysis_service__WEBPACK_IMPORTED_MODULE_2__.Kt),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Y36(src_app_services_netex_controller_netex_controller_service__WEBPACK_IMPORTED_MODULE_3__.o))},ExplorerPageComponent.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_10__.Xpm({type:ExplorerPageComponent,selectors:[["app-explorer-page"]],viewQuery:function(e,t){var n;(1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__.Gf(_c0,5),2&e)&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.iGM(n=_angular_core__WEBPACK_IMPORTED_MODULE_10__.CRH())&&(t.networkEl=n.first))},hostBindings:function(e,t){1&e&&_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("resize",function(e){return t.onResize(e)},!1,_angular_core__WEBPACK_IMPORTED_MODULE_10__.Jf7)},inputs:{onload:"onload",config:"config",network:"network",textColor:"textColor"},decls:27,vars:15,consts:[["id","appWindow",1,"is-hidden-mobile","fullheight",3,"resize"],[3,"show","target","showChange"],[3,"show","visibleNodes","showChange"],[3,"show","selectedTissue","visibleNodes","currentViewProteins","showChange"],[1,"covex","explorer"],["class","covex sidebar bar-left",4,"ngIf"],["id","main-column",1,"covex","network","center-panel"],["class","analysis-view",4,"ngIf"],[1,"card","network"],[1,"card-header"],[1,"card-header-title"],[1,"card-content","fullheight"],["id","canvas-content",1,"card-image"],[4,"ngIf"],[1,"parent","fullheight"],[1,"center","image1","fullheight"],["network",""],["alt","loading...",1,"button","is-loading","center"],["class","card-footer toolbar explorer-footer",3,"ngClass",4,"ngIf"],["class","covex sidebar bar-right",4,"ngIf"],[1,"is-hidden-tablet","mobile-fallback"],["routerLink","/about"],[1,"covex","sidebar","bar-left"],["class","card bar-large",3,"ngClass",4,"ngIf"],[1,"card","bar-large",3,"ngClass"],[1,"icon"],["aria-hidden","true",1,"fas","fa-info"],["data-action","collapse","aria-label","more options",1,"card-header-icon","is-hidden-fullscreen",3,"click"],["class","fas fa-angle-down","aria-hidden","true",4,"ngIf"],["class","fas fa-angle-left","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"fas","fa-angle-down"],["aria-hidden","true",1,"fas","fa-angle-left"],[1,"card-content"],["class","level",4,"ngIf"],[1,"level"],[1,"level-item","has-text-centered"],[1,"heading"],[1,"title"],["aria-hidden","true",1,"fas","fa-search"],[1,"field"],[1,"control"],[3,"queryItems","selectItem"],[1,"analysis-view"],[3,"token","tokenChange","showDetailsChange","visibleItems"],[3,"config"],[1,"card-footer","toolbar","explorer-footer",3,"ngClass"],["data-tooltip","Take a screenshot of the current network.",1,"button","is-primary","is-rounded","has-tooltip",3,"click"],["aria-hidden","true",1,"fas","fa-camera"],[3,"ngClass"],[1,"footer-buttons","dropdown","is-up"],[1,"dropdown-trigger"],["aria-haspopup","true","aria-controls","dropdown-menu","data-tooltip","Tissue expression data is provided by the GTEx project.",1,"button","is-rounded","is-primary",3,"ngClass","click"],[3,"ngClass",4,"ngIf"],[1,"icon","is-small"],["aria-hidden","true",1,"fas"],["id","dropdown-menu","role","menu",1,"dropdown-menu"],[1,"dropdown-content","tissue-dropdown"],[1,"scroll-area"],[1,"dropdown-item",3,"click"],["class","dropdown-item",3,"is-active","click",4,"ngFor","ngForOf"],["textOn","Animation On","textOff","Off","tooltipOn","Enable the network animation.","tooltipOff","Disable the network animation and freeze nodes.",1,"footer-buttons",3,"smallStyle","value","valueChange"],[1,"covex","sidebar","bar-right"],["class","card bar-large",4,"ngIf"],[1,"card","bar-large"],[1,"card-header",3,"ngClass"],["class","fas fa-info","aria-hidden","true",4,"ngIf"],["class","fas fa-dna","aria-hidden","true",4,"ngIf"],["class","fas fa-capsules","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"fas","fa-dna"],["aria-hidden","true",1,"fas","fa-capsules"],[3,"wrapper","smallStyle"],["aria-hidden","true",1,"fas","fa-flask"],[1,"card-content","quick-find"],[1,"tile","notification","is-danger"],[1,"align-vmiddle"],[1,"digit"],[1,"fa","fa-fast-forward"],["data-tooltip","Find drugs for all proteins.",1,"button","is-white","is-rounded","has-tooltip",3,"disabled","click"],["class","fa fa-capsules",4,"ngIf"],["class","fa fa-spin fa-spinner",4,"ngIf"],[1,"divisor-rapid"],[1,"tile","notification","is-info"],["class","digit",4,"ngIf"],["data-tooltip","Find drugs for the selected proteins.",1,"button","is-white","is-rounded","has-tooltip",3,"disabled","click"],[1,"fa","fa-capsules"],[1,"fa","fa-spin","fa-spinner"],[1,"fa","fa-check"],["data-tooltip","Find drug targets for the selected proteins.",1,"button","is-primary","is-fullwidth","is-rounded","has-tooltip",3,"disabled","ngClass","click"],[1,"fa","fa-crosshairs"],["data-tooltip","Find drugs for the selected proteins.",1,"button","is-primary","is-fullwidth","is-rounded","has-tooltip",3,"disabled","ngClass","click"],["target","_blank","class","button is-primary is-fullwidth is-rounded has-tooltip","data-tooltip","Use enrichment analysis via g:Profiler (external).",3,"href",4,"ngIf"],["disabled","","class","button is-primary is-fullwidth is-rounded has-tooltip","data-tooltip","Use enrichment analysis via g:Profiler (external).",4,"ngIf"],["target","_blank","data-tooltip","Use enrichment analysis via g:Profiler (external).",1,"button","is-primary","is-fullwidth","is-rounded","has-tooltip",3,"href"],[1,"fa","fa-external-link-alt"],["disabled","","data-tooltip","Use enrichment analysis via g:Profiler (external).",1,"button","is-primary","is-fullwidth","is-rounded","has-tooltip"],["aria-hidden","true",1,"fas","fa-tasks"],["class","card-content overflow",4,"ngIf"],[1,"card-footer"],["class","card-footer-item has-text-danger","data-tooltip","Delete all tasks.",3,"click",4,"ngIf"],[1,"card-content","overflow"],[3,"token","tokenChange"],["data-tooltip","Delete all tasks.",1,"card-footer-item","has-text-danger",3,"click"],[1,"fa","fa-trash"],["aria-hidden","true",1,"fas","fa-filter"],["class","seed-selection",3,"ngClass",4,"ngIf"],[1,"seed-selection",3,"ngClass"],["class","table selection-table",4,"ngIf"],["class","card-footer",4,"ngIf"],["data-tooltip","Add a custom list of proteins.",1,"card-footer-item","has-text-primary",3,"click"],[1,"fa","fa-upload"],["data-tooltip","Add proteins expressed in the tissue.",1,"card-footer-item","has-text-primary",3,"click"],[1,"fa","fa-angle-double-up"],["data-tooltip","Invert the current selection.",1,"card-footer-item","has-text-primary",3,"click"],[1,"fa","fa-sync"],["data-tooltip","Remove all entries from the selection.",1,"card-footer-item","has-text-danger",3,"click"],[1,"fa","fa-broom"],[1,"table","selection-table"],[4,"ngFor","ngForOf"],[1,"is-capitalized"],["data-tooltip","Remove from selection.",1,"button","is-small","is-danger","is-outlined","has-tooltip",3,"click"],["data-tooltip","Add all visible seeds.",1,"card-footer-item","has-text-success",3,"click"],[1,"fa","fa-plus"],["data-tooltip","Remove all seeds.",1,"card-footer-item","has-text-danger",3,"click"],[1,"fa","fa-minus"]],template:function(e,t){1&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(0,"div",0),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("resize",function(e){return t.onResize(e)},!1,_angular_core__WEBPACK_IMPORTED_MODULE_10__.Jf7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(1,"app-launch-analysis",1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("showChange",function(e){return t.showAnalysisDialog=e}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(2,"app-custom-proteins",2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("showChange",function(e){return t.showCustomProteinsDialog=e}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(3,"app-add-expressed-proteins",3),_angular_core__WEBPACK_IMPORTED_MODULE_10__.NdJ("showChange",function(e){return t.showThresholdDialog=e}),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(4,"div",4),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(5,ExplorerPageComponent_div_5_Template,3,2,"div",5),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(6,"div",6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(7,ExplorerPageComponent_div_7_Template,2,1,"div",7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(8,"div",8),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(9,"header",9),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(10,"p",10),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(11," Protein-Protein Interaction Network "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(12,"div",11),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(13,"div",12),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(14,ExplorerPageComponent_div_14_Template,2,1,"div",13),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(15,"div",14),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(16,"div",15,16),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(18,"button",17),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(19,"Loading"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(20,ExplorerPageComponent_footer_20_Template,20,24,"footer",18),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.YNc(21,ExplorerPageComponent_div_21_Template,6,5,"div",19),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(22,"div",20),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(23," Sorry, CoVex is not available for mobile phones. To find information about CoVex, please check the "),_angular_core__WEBPACK_IMPORTED_MODULE_10__.TgZ(24,"a",21),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(25,"About"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA(),_angular_core__WEBPACK_IMPORTED_MODULE_10__._uU(26," page or visit this page with another device with a larger screen.\n"),_angular_core__WEBPACK_IMPORTED_MODULE_10__.qZA()),2&e&&(_angular_core__WEBPACK_IMPORTED_MODULE_10__.Udp("color",t.textColor),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("show",t.showAnalysisDialog)("target",t.analysisDialogTarget),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("show",t.showCustomProteinsDialog)("visibleNodes",t.currentViewNodes),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("show",t.showThresholdDialog)("selectedTissue",t.currentViewSelectedTissue)("visibleNodes",t.currentViewNodes)("currentViewProteins",t.currentViewProteins),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",t.myConfig.showLeftSidebar),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",t.selectedAnalysisToken),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(7),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",t.myConfig.showLegend),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(6),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",t.myConfig.showFooter),_angular_core__WEBPACK_IMPORTED_MODULE_10__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_10__.Q6J("ngIf",t.myConfig.showRightSidebar))},directives:[_dialogs_launch_analysis_launch_analysis_component__WEBPACK_IMPORTED_MODULE_4__.M,_dialogs_custom_proteins_custom_proteins_component__WEBPACK_IMPORTED_MODULE_5__.o,_dialogs_add_expressed_proteins_add_expressed_proteins_component__WEBPACK_IMPORTED_MODULE_6__.y,_angular_common__WEBPACK_IMPORTED_MODULE_16__.O5,_angular_common__WEBPACK_IMPORTED_MODULE_16__.mk,_components_query_tile_query_tile_component__WEBPACK_IMPORTED_MODULE_17__.q,_components_analysis_panel_analysis_panel_component__WEBPACK_IMPORTED_MODULE_7__.C,_components_network_legend_network_legend_component__WEBPACK_IMPORTED_MODULE_18__.O,_angular_common__WEBPACK_IMPORTED_MODULE_16__.sg,_components_toggle_toggle_component__WEBPACK_IMPORTED_MODULE_19__.n,_components_info_tile_info_tile_component__WEBPACK_IMPORTED_MODULE_8__.Y,_components_task_list_task_list_component__WEBPACK_IMPORTED_MODULE_9__.n],styles:[".quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%]{padding:15px}.quick-find[_ngcontent-%COMP%] .notification[_ngcontent-%COMP%] .digit[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.5);font-size:32px;border:2px solid hsla(0,0%,100%,.5);border-radius:30px;width:50px;height:50px;text-align:center;font-weight:700}.quick-find[_ngcontent-%COMP%] .divisor-rapid[_ngcontent-%COMP%]{margin-top:-10px;margin-bottom:10px;text-align:center}.align-vmiddle[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;height:50px}.align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}.align-vmiddle[_ngcontent-%COMP%] button[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] div[_ngcontent-%COMP%], .align-vmiddle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:middle;margin-left:5px;margin-right:5px}.mobile-fallback[_ngcontent-%COMP%]{padding:15px;font-weight:700}.card-footer[_ngcontent-%COMP%]{font-size:12px}.card-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:3px}.text-small[_ngcontent-%COMP%]{font-size:11px}.text-normal[_ngcontent-%COMP%]{font-size:12px}.b-text-small[_ngcontent-%COMP%]{font-size:14px}.b-text-smaller[_ngcontent-%COMP%]{font-size:12px}.button-small[_ngcontent-%COMP%]{padding:3px 10px}"]}),ExplorerPageComponent}()},3943:function(e,t,n){"use strict";n.d(t,{ck:function(){return c},pt:function(){return A},u5:function(){return h},VR:function(){return d},x9:function(){return f},u1:function(){return p},B8:function(){return _},rO:function(){return g},V1:function(){return v},Kt:function(){return m}});var r=n(4762),i=n(9666),o=n(529),a=n(8944),s=n(5366),l=n(8297),u=n(9501),c={trustrank:"TrustRank",keypathwayminer:"KeyPathwayMiner",multisteiner:"Multi-Steiner",closeness:"Closeness Centrality",degree:"Degree Centrality",proximity:"Network Proximity",betweenness:"Betweenness Centrality",quick:"Simple",super:"Quick-Start"},A={slug:"trustrank",name:c.trustrank},h={slug:"closeness",name:c.closeness},d={slug:"degree",name:c.degree},f={slug:"proximity",name:c.proximity},p={slug:"betweenness",name:c.betweenness},_={slug:"keypathwayminer",name:c.keypathwayminer},g={slug:"multisteiner",name:c.multisteiner},v=3,m=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.http=t,this.netex=n,this.selection="main",this.selectedItems=new Map,this.selectListSubject=new i.x,this.selections=new Map,this.tokens=[],this.finishedTokens=[],this.tasks=[],this.canLaunchNewTask=!0,this.launchingQuick=!1,this.tissues=[];var a=localStorage.getItem("tokens"),s=localStorage.getItem("finishedTokens");a&&(this.tokens=JSON.parse(a)),s&&(this.finishedTokens=JSON.parse(s)),this.startWatching(),this.http.get("".concat(o.N.backend,"tissues/")).subscribe(function(e){r.tissues=e})}return _createClass(e,[{key:"removeTask",value:function(e){this.tokens=this.tokens.filter(function(t){return t!==e}),this.finishedTokens=this.finishedTokens.filter(function(t){return t!==e}),this.tasks=this.tasks.filter(function(t){return t.token!==e}),localStorage.setItem("tokens",JSON.stringify(this.tokens))}},{key:"removeAllTasks",value:function(){this.tasks=[],this.finishedTokens=[],this.tokens=[],localStorage.removeItem("tokens")}},{key:"getTasks",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.netex.getTasks(this.tokens).catch(function(e){clearInterval(t.intervalId)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,this)}))}},{key:"getTissues",value:function(){return this.tissues}},{key:"switchSelection",value:function(e){this.selections.set(this.selection,this.selectedItems),this.selectedItems=this.selections.has(e)?this.selections.get(e):new Map,this.selectListSubject.next({items:Array.from(this.selectedItems.values()),selected:null}),this.selection=e}},{key:"addItems",value:function(e){var t,n=[],r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;this.inSelection(i)||(n.push(i),this.selectedItems.set(i.id,i))}}catch(o){r.e(o)}finally{r.f()}return this.selectListSubject.next({items:n,selected:!0}),n.length}},{key:"removeItems",value:function(e){var t,n=[],r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;this.selectedItems.delete(i.id)&&n.push(i)}}catch(o){r.e(o)}finally{r.f()}this.selectListSubject.next({items:n,selected:!1})}},{key:"addSeeds",value:function(e){var t=this,n=[];e.forEach(function(e){!0!==e.isSeed||t.inSelection(e)||(n.push(e),t.selectedItems.set(e.id,e))}),this.selectListSubject.next({items:n,selected:!0})}},{key:"removeSeeds",value:function(e){var t=this,n=[];e.forEach(function(e){!0===e.isSeed&&t.inSelection(e)&&(n.push(e),t.selectedItems.delete(e.id))}),this.selectListSubject.next({items:n,selected:!1})}},{key:"invertSelection",value:function(e){var t=this,n=[];e.forEach(function(e){t.inSelection(e)||n.push(e)}),this.selectedItems.clear();for(var r=0,i=n;r<i.length;r++){var o=i[r];this.selectedItems.set(o.nodeId,o)}this.selectListSubject.next({items:n,selected:null})}},{key:"resetSelection",value:function(){this.selectedItems.clear(),this.selectListSubject.next({items:[],selected:null})}},{key:"idInSelection",value:function(e){return this.selectedItems.has(e)}},{key:"inSelection",value:function(e){return this.selectedItems.has(e.id)}},{key:"getSelection",value:function(){return Array.from(this.selectedItems.values())}},{key:"getCount",value:function(){return this.selectedItems.size}},{key:"subscribeList",value:function(e){this.selectListSubject.subscribe(function(t){e(t.items,t.selected)})}},{key:"startQuickAnalysis",value:function(e,t){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(this.canLaunchTask()){n.next=2;break}return n.abrupt("return",void(0,a.toast)({message:"You can only run ".concat(v," tasks at once. Please wait for one of them to finish or delete it from the task list."),duration:5e3,dismissible:!0,pauseOnHover:!0,type:"is-danger",position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}}));case 2:return this.launchingQuick=!0,n.next=5,this.http.post("".concat(o.N.backend,"task/"),{algorithm:e?"super":"quick",target:"drug",parameters:{strain_or_drugs:t.id,bait_datasets:t.data,seeds:e?[]:this.getSelection().map(function(e){return e.id})}}).toPromise();case 5:r=n.sent,this.tokens.push(r.token),localStorage.setItem("tokens",JSON.stringify(this.tokens)),this.startWatching(),(0,a.toast)({message:"Quick analysis started. This may take a while. Once the computation finished you can view the results in the task list to the right.",duration:1e4,dismissible:!0,pauseOnHover:!0,type:"is-success",position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}});case 7:case"end":return n.stop()}},n,this)}))}},{key:"startAnalysis",value:function(e,t,n){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function r(){var i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(this.canLaunchTask()){r.next=2;break}return r.abrupt("return",void(0,a.toast)({message:"You can only run ".concat(v," tasks at once. Please wait for one of them to finish or delete it from the task list."),duration:5e3,dismissible:!0,pauseOnHover:!0,type:"is-danger",position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}}));case 2:return r.next=4,this.http.post("".concat(o.N.backend,"task/"),{algorithm:e,target:t,parameters:n}).toPromise();case 4:i=r.sent,this.tokens.push(i.token),localStorage.setItem("tokens",JSON.stringify(this.tokens)),this.startWatching();case 6:case"end":return r.stop()}},r,this)}))}},{key:"isLaunchingQuick",value:function(){return this.launchingQuick}},{key:"showToast",value:function(e,t){var n,r;"DONE"===t?(n="Computation finished successfully. Click the task in the task list to view the results.",r="is-success"):"FAILED"===t&&(n="Computation failed.",r="is-danger"),(0,a.toast)({message:n,duration:5e3,dismissible:!0,pauseOnHover:!0,type:r,position:"top-center",animate:{in:"fadeIn",out:"fadeOut"}})}},{key:"canLaunchTask",value:function(){return this.canLaunchNewTask}},{key:"startWatching",value:function(){var e=this,t=function(){return(0,r.mG)(e,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this.tokens.length>0)){e.next=10;break}return e.next=3,this.getTasks();case 3:if(this.tasks=e.sent,this.tasks){e.next=6;break}return e.abrupt("return");case 6:t=0,this.tasks.forEach(function(e){e.info.done||e.info.failed||t++,n.finishedTokens.find(function(t){return t===e.token})||(e.info.done?(n.finishedTokens.push(e.token),n.showToast(e,"DONE"),localStorage.setItem("finishedTokens",JSON.stringify(n.finishedTokens))):e.info.failed&&(n.finishedTokens.push(e.token),n.showToast(e,"FAILED"),localStorage.setItem("finishedTokens",JSON.stringify(n.finishedTokens))))}),this.canLaunchNewTask=t<v,e.next=11;break;case 10:this.canLaunchNewTask=!0;case 11:this.launchingQuick=!1;case 12:case"end":return e.stop()}},e,this)}))};t(),this.intervalId&&clearInterval(this.intervalId),this.intervalId=setInterval(t,5e3)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(l.eN),s.LFG(u.o))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},9501:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(4762),i=n(529),o=n(5366),a=n(8297),s=function(){var e=function(){function e(t){_classCallCheck(this,e),this.http=t}return _createClass(e,[{key:"getTask",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.get("".concat(i.N.backend,"task/?tokens=").concat(e)).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"getTasks",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.post("".concat(i.N.backend,"tasks/"),{tokens:JSON.stringify(e)}).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"getTaskResult",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.get("".concat(i.N.backend,"task_result/?token=").concat(e)).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"getTaskResultDrug",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.get("".concat(i.N.backend,"task_result/?token=").concat(e,"&view=drugs")).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"getTaskResultGene",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.get("".concat(i.N.backend,"task_result/?token=").concat(e,"&view=genes")).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"getTaskResultCancerNode",value:function(e){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.http.get("".concat(i.N.backend,"task_result/?token=").concat(e,"&view=cancer_driver_genes")).toPromise());case 1:case"end":return t.stop()}},t,this)}))}},{key:"postTask",value:function(e,t,n){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.http.post("".concat(i.N.backend,"task/"),{algorithm:e,target:t,parameters:n}).toPromise());case 1:case"end":return r.stop()}},r,this)}))}},{key:"mapNodes",value:function(e,t){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r={nodes:JSON.stringify(e),identifier:JSON.stringify(t)},n.abrupt("return",this.http.post("".concat(i.N.backend,"map_nodes/"),r).toPromise());case 2:case"end":return n.stop()}},n,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(a.eN))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},5171:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(4762),i=n(8297),o=n(5366),a=function(){var e=function(){function e(t){_classCallCheck(this,e),this.http=t,this.omnipathdb="https://omnipathdb.org/"}return _createClass(e,[{key:"processOmnipathInteractionData",value:function(e,t,n){var r=e.split("\n");r.shift();var i=[];return r.forEach(function(e){if(""!==e){var r,o,a=e.split("\t");"uniprot"===t?(r=a[0],o=a[1]):"hugo"===t&&(r=a[2],o=a[3]),i.push({from:n[r],to:n[o]})}}),i}},{key:"getInteractions",value:function(e,t,n){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function r(){var o,a,s,l=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=e.join(","),a=(new i.LE).set("genesymbols","1").set("fields","sources,references").set("sources",o).set("targets",o).set("source_target","AND"),s=null,r.next=4,this.http.get("".concat(this.omnipathdb,"interactions/"),{params:a}).toPromise().then(function(e){return s=l.processOmnipathInteractionData(e.text,t,n)}).catch(function(e){return s=l.processOmnipathInteractionData(e.error.text,t,n)});case 4:return r.abrupt("return",s);case 5:case"end":return r.stop()}},r,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.eN))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},529:function(e,t,n){"use strict";n.d(t,{N:function(){return r}}),n(2782);var r={production:!1,backend:"http://localhost:8001/"}},5881:function(e,t,n){"use strict";var r,i=n(1116),o=n(5366),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){e.parentNode&&e.parentNode.removeChild(e)}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getBaseHref",value:function(e){var t=(s=s||document.querySelector("base"))?s.getAttribute("href"):null;return null==t?null:function(e){(r=r||document.createElement("a")).setAttribute("href",e);var t=r.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(t)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(e){return(0,i.Mx)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){(0,i.HT)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).supportsDOMEvents=!0,e}return n}(i.w_)),s=null,l=new o.OlP("TRANSITION_ID"),u=[{provide:o.ip1,useFactory:function(e,t,n){return function(){n.get(o.CZH).donePromise.then(function(){var n=(0,i.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[l,i.K0,o.zs3],multi:!0}],c=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){o.dqk.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},o.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(function(e){var t=o.dqk.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?(0,i.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,o.VLi)(new e)}}]),e}(),A=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),h=new o.OlP("EventManagerPlugins"),d=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=r}),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event ".concat(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(h),o.LFG(o.R0b))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),f=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=(0,i.q)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),p=function(){var e=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Map,r._hostNodes.set(e.head,[]),r}return _createClass(n,[{key:"_addStylesToHost",value:function(e,t,n){var r=this;e.forEach(function(e){var i=r._doc.createElement("style");i.textContent=e,n.push(t.appendChild(i))})}},{key:"addHost",value:function(e){var t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}},{key:"removeHost",value:function(e){var t=this._hostNodes.get(e);t&&t.forEach(g),this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach(function(n,r){t._addStylesToHost(e,r,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(e){return e.forEach(g)})}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}();function g(e){(0,i.q)().remove(e)}var v={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},m=/%COMP%/g;function y(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?y(e,i,n):(i=i.replace(m,e),n.push(i))}return n}function E(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var C=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new w(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case o.ifc.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new B(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case o.ifc.ShadowDom:return new b(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=y(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(d),o.LFG(_),o.LFG(o.AFp))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(v[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=v[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=v[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&(o.JOm.DashCase|o.JOm.Important)?e.style.setProperty(t,n,r&o.JOm.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&o.JOm.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,E(n)):this.eventManager.addEventListener(e,t,E(n))}}]),e}(),B=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).component=i;var s=y(o+"-"+i.id,i.styles,[]);return r.addStyles(s),a.contentAttr="_ngcontent-%COMP%".replace(m,o+"-"+i.id),a.hostAttr="_nghost-%COMP%".replace(m,o+"-"+i.id),a}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(w),b=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).sharedStylesHost=r,a.hostEl=i,a.shadowRoot=i.attachShadow({mode:"open"}),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=y(o.id,o.styles,[]),l=0;l<s.length;l++){var u=document.createElement("style");u.textContent=s[l],a.shadowRoot.appendChild(u)}return a}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(w),T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),k=["alt","control","meta","shift"],O={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},D={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},I=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var o=n.parseEventName(t),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return(0,i.q)().onAndCancel(e,o.domEventName,a)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(k.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&M.hasOwnProperty(t)&&(t=M[t]))}return O[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),k.forEach(function(r){r!=n&&(0,D[r])(e)&&(t+=r+".")}),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded(function(){return t(i)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),U=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:i.bD},{provide:o.g9A,useValue:function(){a.makeCurrent(),c.init()},multi:!0},{provide:i.K0,useFactory:function(){return(0,o.RDi)(document),document},deps:[]}]),x=[[],{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function(){return new o.qLn},deps:[]},{provide:h,useClass:T,multi:!0,deps:[i.K0,o.R0b,o.Lbi]},{provide:h,useClass:I,multi:!0,deps:[i.K0]},[],{provide:C,useClass:C,deps:[d,_,o.AFp]},{provide:o.FYo,useExisting:C},{provide:p,useExisting:_},{provide:_,useClass:_,deps:[i.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:d,useClass:d,deps:[h,o.R0b]},{provide:i.JF,useClass:A,deps:[]},[]],P=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:o.AFp,useValue:t.appId},{provide:l,useExisting:o.AFp},u]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(e,12))},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:x,imports:[i.ez,o.hGG]}),e}();"undefined"!=typeof window&&window,n(2723);var S=n(4333),Q=n(9879),F=n(8297),L=n(9713);function R(){return"undefined"!=typeof window&&void 0!==window.document}function N(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function H(e){switch(e.length){case 0:return new L.ZN;case 1:return e[0];default:return new L.ZE(e)}}function K(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],l=-1,u=null;if(r.forEach(function(e){var n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case L.k1:s=i[n];break;case L.l3:s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}c[r]=s}),r||s.push(c),u=c,l=n}),a.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(a.join(c)))}return s}function Z(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&V(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&V(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&V(n,"destroy",e))})}}function V(e,t,n){var r=n.totalTime,i=W(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function W(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function q(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function z(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var J=function(e,t){return!1},G=function(e,t){return!1},Y=function(e,t,n){return[]},j=N();(j||"undefined"!=typeof Element)&&(J=R()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},G=function(){if(j||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:G}(),Y=function(e,t,n){var r=[];if(n)for(var i=e.querySelectorAll(t),o=0;o<i.length;o++)r.push(i[o]);else{var a=e.querySelector(t);a&&r.push(a)}return r});var X=null,$=!1;function ee(e){X||(X=("undefined"!=typeof document?document.body:null)||{},$=!!X.style&&"WebkitAppearance"in X.style);var t=!0;return X.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in X.style)&&$)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in X.style),t}var te=G,ne=J,re=Y;function ie(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var oe=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return ee(e)}},{key:"matchesElement",value:function(e,t){return te(e,t)}},{key:"containsElement",value:function(e,t){return ne(e,t)}},{key:"query",value:function(e,t,n){return re(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return new L.ZN(n,r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),ae=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new oe,e}();function se(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:le(parseFloat(t[1]),t[2])}function le(e,t){switch(t){case"s":return 1e3*e;default:return e}}function ue(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=le(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=le(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else ce(e,n);return n}function he(e,t,n){return n?t+":"+n+";":""}function de(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=he(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=he(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function fe(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=Ce(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),N()&&de(e))}function pe(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=Ce(t);e.style[n]=""}),N()&&de(e))}function _e(e){return Array.isArray(e)?1==e.length?e[0]:(0,L.vP)(e):e}var ge=new RegExp("{{\\s*(.+?)\\s*}}","g");function ve(e){var t=[];if("string"==typeof e){for(var n;n=ge.exec(e);)t.push(n[1]);ge.lastIndex=0}return t}function me(e,t,n){var r=e.toString(),i=r.replace(ge,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param ".concat(r)),i=""),i.toString()});return i==r?e:i}function ye(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Ee=/-+([a-z0-9])/g;function Ce(e){return e.replace(Ee,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function we(e,t){return 0===e||0===t}function Be(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach(function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var a=function(){var n=t[s];o.forEach(function(t){n[t]=Te(e,t)})},s=1;s<t.length;s++)a()}return t}function be(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #".concat(t.type))}}function Te(e,t){return window.getComputedStyle(e)[t]}var ke=new Set(["true","1"]),Oe=new Set(["false","0"]);function Me(e,t){var n=ke.has(e)||Oe.has(e),r=ke.has(t)||Oe.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?ke.has(e):Oe.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?ke.has(t):Oe.has(t)),a&&s}}var De=new RegExp("s*:selfs*,?","g");function Ie(e,t,n){return new Ue(e).build(t,n)}var Ue=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new xe(t);return this._resetContextStyleTimingState(n),be(this,_e(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(e){s.name=e,o.push(n.visitState(s,t))}),s.name=l}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,i+=u.depCount,a.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(e){if(Pe(e)){var t=e;Object.keys(t).forEach(function(e){ve(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var a=ye(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=be(this,_e(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=i[1],a=i[2],s=i[3];t.push(Me(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Me(s,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:Se(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return be(n,e,t)}),options:Se(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=be(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:Se(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Qe(ue(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=Qe(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Qe((n=n||ue(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:(0,L.oB)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=(0,L.oB)(s)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==L.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(Pe(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,l,u,c,A=t.collectedStyles[t.currentQuerySelector],h=A[r],d=!0;h&&(o!=i&&o>=h.startTime&&i<=h.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),d=!1),o=h.startTime),d&&(A[r]={startTime:o,endTime:i}),t.options&&(a=e[r],s=t.options,l=t.errors,u=s.params||{},(c=ve(a)).length&&c.forEach(function(e){u.hasOwnProperty(e)||l.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(Pe(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(Pe(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),r});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,A=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(A=1/(c-1));var h=c-1,d=t.currentTime,f=t.currentAnimateTimings,p=f.duration;return u.forEach(function(e,i){var a=A>0?i==h?1:A*i:o[i],s=a*p;t.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)}),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:be(this,_e(e.animation),t),options:Se(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:Se(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Se(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(De,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,q(t.collectedStyles,t.currentQuerySelector,{});var s=be(this,_e(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:Se(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:ue(e.timings,t.errors,!0);return{type:12,animation:be(this,_e(e.animation),t),timings:n,options:null}}}]),e}(),xe=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Pe(e){return!Array.isArray(e)&&"object"==typeof e}function Se(e){var t;return e?(e=ce(e)).params&&(e.params=(t=e.params)?ce(t):null):e={},e}function Qe(e,t,n){return{duration:e,delay:t,easing:n}}function Fe(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Le=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),Re=new RegExp(":enter","g"),Ne=new RegExp(":leave","g");function He(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new Ke).buildKeyframes(e,t,n,r,i,o,a,s,l,u)}var Ke=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,a,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new Le;var c=new Ve(e,t,l,r,i,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),be(this,n,c);var A=c.timelines.filter(function(e){return e.containsAnimation()});if(A.length&&Object.keys(a).length){var h=A[A.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,c.errors,s)}return A.length?A.map(function(e){return e.buildKeyframes()}):[Fe(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?se(n.duration):null,o=null!=n.delay?se(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),be(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Ze);var a=se(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return be(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?se(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),be(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return ue(t.params?me(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?se(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ze);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(l=s.currentTimeline),be(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;be(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}]),e}(),Ze={},Ve=function(){function e(t,n,r,i,o,a,s,l){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ze,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new We(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=se(r.duration)),null!=r.delay&&(i.delay=se(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=me(o[e],a,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Ze,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new qe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(Re,"."+this._enterClassName)).replace(Ne,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return i||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}}]),e}(),We=function(){function e(t,n,r,i){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||L.l3,t._currentKeyframe[e]=L.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=L.l3}):Ae(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=me(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:L.l3),i._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,a){var s=Ae(o,!0);Object.keys(s).forEach(function(e){var r=s[e];r==L.k1?t.add(e):r==L.l3&&n.add(e)}),r||(s.offset=a/e.duration),i.push(s)});var o=t.size?ye(t.values()):[],a=n.size?ye(n.values()):[];if(r){var s=i[0],l=ce(s);s.offset=0,l.offset=1,i=[s,l]}return Fe(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}}]),e}(),qe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(l=t.call(this,e,r,s.delay)).element=r,l.keyframes=i,l.preStyleProps=o,l.postStyleProps=a,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=Ae(e[0],!1);l.offset=0,o.push(l);var u=Ae(e[0],!1);u.offset=ze(s),o.push(u);for(var c=e.length-1,A=1;A<=c;A++){var h=Ae(e[A],!1);h.offset=ze((n+h.offset*r)/a),o.push(h)}r=a,n=0,i="",e=o}return Fe(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(We);function ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Je=function e(){_classCallCheck(this,e)},Ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return Ce(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(Ye[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(Je),Ye=function(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function je(e,t,n,r,i,o,a,s,l,u,c,A,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:A,errors:h}}var Xe={},$e=function(){function e(t,n,r){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return _createClass(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,a,s,l,u){var c=[],A=this.ast.options&&this.ast.options.params||Xe,h=this.buildStyles(n,a&&a.params||Xe,c),d=s&&s.params||Xe,f=this.buildStyles(r,d,c),p=new Set,_=new Map,g=new Map,v="void"===r,m={params:Object.assign(Object.assign({},A),d)},y=u?[]:He(e,t,this.ast.animation,i,o,h,f,m,l,c),E=0;if(y.forEach(function(e){E=Math.max(e.duration+e.delay,E)}),c.length)return je(t,this._triggerName,n,r,v,h,f,[],[],_,g,E,c);y.forEach(function(e){var n=e.element,r=q(_,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=q(g,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&p.add(n)});var C=ye(p.values());return je(t,this._triggerName,n,r,v,h,f,y,C,_,g,E)}}]),e}(),et=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},r=ce(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=me(o,r,t)),n[e]=o})}}),n}}]),e}(),tt=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){r.states[e.name]=new et(e.style,e.options&&e.options.params||{})}),nt(this.states,"true","1"),nt(this.states,"false","0"),n.transitions.forEach(function(e){r.transitionFactories.push(new $e(t,e,r.states))}),this.fallbackTransition=new $e(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find(function(i){return i.match(e,t,n,r)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function nt(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var rt=new Le,it=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],r=Ie(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=K(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=He(this._driver,t,a,"ng-enter","ng-leave",{},{},i,rt,o)).forEach(function(e){var t=q(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,L.l3)})});var l=H(n.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,r){var i=W(t,"","","");return Z(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),ot=[],at={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},st={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},lt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var r,i=t&&t.hasOwnProperty("value");if(this.value=null!=(r=i?t.value:t)?r:null,i){var o=ce(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),ut=new lt("void"),ct=function(){function e(t,n,r){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,gt(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=q(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var l=q(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(gt(e,"ng-trigger"),gt(e,"ng-trigger-"+t),l[t]=ut),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete l[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new ht(this.id,t,e),s=this._engine.statesByElement.get(e);s||(gt(e,"ng-trigger"),gt(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new lt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=ut),"void"===u.value||l.value!==u.value){var c=q(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()});var A=o.matchTransition(l.value,u.value,e,u.params),h=!1;if(!A){if(!i)return;A=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:A,fromState:l,toState:u,player:a,isFallbackTransition:h}),h||(gt(e,"ng-animate-queued"),a.onStart(function(){vt(e,"ng-animate-queued")})),a.onDone(function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,u.params)){var d=[],f=o.matchStyles(l.value,l.params,d),p=o.matchStyles(u.value,u.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){pe(e,f),fe(e,p)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,r){t._elementListeners.set(r,n.filter(function(t){return t.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach(function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return r.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach(function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&H(a).onDone(function(){return i._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){var i=new Set;n.forEach(function(n){var o=n.name;if(!i.has(o)){i.add(o);var a=t._triggers[o].fallbackTransition,s=r[o]||ut,l=new lt("void"),u=new ht(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:a,fromState:s,toState:l,player:u,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==at||(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){gt(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=t._elementListeners.get(o);a&&a.forEach(function(t){if(t.name==r.triggerName){var n=W(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,Z(r.player,t.phase,n,t.callback)}}),i.markedForDestroy?t._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),At=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return _createClass(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e}},{key:"createNamespace",value:function(e,t){var n=new ct(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,r){if(dt(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(dt(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),gt(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),vt(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(dt(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return dt(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return H(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=at,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)gt(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(var o=0;o<i.length;o++)i[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?H(n).onDone(function(){s.forEach(function(e){return e()})}):s.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(e.join("\n")))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new Le,i=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(function(e){c.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)c.add(t[r])});var A=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=_t(h,this.collectedEnterElements),f=new Map,p=0;d.forEach(function(e,t){var n="ng-enter"+p++;f.set(t,n),e.forEach(function(e){return gt(e,n)})});for(var _=[],g=new Set,v=new Set,m=0;m<this.collectedLeaveElements.length;m++){var y=this.collectedLeaveElements[m],E=y.__ng_removed;E&&E.setForRemoval&&(_.push(y),g.add(y),E.hasAnimation?this.driver.query(y,".ng-star-inserted",!0).forEach(function(e){return g.add(e)}):v.add(y))}var C=new Map,w=_t(h,Array.from(g));w.forEach(function(e,t){var n="ng-leave"+p++;C.set(t,n),e.forEach(function(e){return gt(e,n)})}),e.push(function(){d.forEach(function(e,t){var n=f.get(t);e.forEach(function(e){return vt(e,n)})}),w.forEach(function(e,t){var n=C.get(t);e.forEach(function(e){return vt(e,n)})}),_.forEach(function(e){n.processLeaveNode(e)})});for(var B=[],b=[],T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(B.push(t),n.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!A||!n.driver.containsElement(A,o),d=C.get(o),p=f.get(o),_=n._buildInstruction(e,r,p,d,h);if(_.errors&&_.errors.length)b.push(_);else{if(h)return t.onStart(function(){return pe(o,_.fromStyles)}),t.onDestroy(function(){return fe(o,_.toStyles)}),void i.push(t);if(e.isFallbackTransition)return t.onStart(function(){return pe(o,_.fromStyles)}),t.onDestroy(function(){return fe(o,_.toStyles)}),void i.push(t);_.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(o,_.timelines),a.push({instruction:_,player:t,element:o}),_.queriedElements.forEach(function(e){return q(s,e,[]).push(t)}),_.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),_.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(b.length){var k=[];b.forEach(function(e){k.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return k.push("- ".concat(e,"\n"))})}),B.forEach(function(e){return e.destroy()}),this.reportError(k)}var O=new Map,M=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(M.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,O))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){q(O,t,[]).push(e),e.destroy()})});var D=_.filter(function(e){return Et(e,l,u)}),I=new Map;pt(I,this.driver,v,u,L.l3).forEach(function(e){Et(e,l,u)&&D.push(e)});var U=new Map;d.forEach(function(e,t){pt(U,n.driver,new Set(e),l,L.k1)}),D.forEach(function(e){var t=I.get(e),n=U.get(e);I.set(e,Object.assign(Object.assign({},t),n))});var x=[],P=[],S={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(c.has(t))return a.onDestroy(function(){return fe(t,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void i.push(a);var l=S;if(M.size>1){for(var u=t,A=[];u=u.parentNode;){var h=M.get(u);if(h){l=h;break}A.push(u)}A.forEach(function(e){return M.set(e,l)})}var d=n._buildAnimation(a.namespaceId,s,O,o,U,I);if(a.setRealPlayer(d),l===S)x.push(a);else{var f=n.playersByElement.get(l);f&&f.length&&(a.parentPlayer=H(f)),i.push(a)}}else pe(t,s.fromStyles),a.onDestroy(function(){return fe(t,s.toStyles)}),P.push(a),c.has(t)&&i.push(a)}),P.forEach(function(e){var t=o.get(e.element);if(t&&t.length){var n=H(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var Q=0;Q<_.length;Q++){var F=_[Q],R=F.__ng_removed;if(vt(F,"ng-leave"),!R||!R.hasAnimation){var N=[];if(s.size){var K=s.get(F);K&&K.length&&N.push.apply(N,_toConsumableArray(K));for(var Z=this.driver.query(F,".ng-animating",!0),V=0;V<Z.length;V++){var W=s.get(Z[V]);W&&W.length&&N.push.apply(N,_toConsumableArray(W))}}var z=N.filter(function(e){return!e.destroyed});z.length?mt(this,F,z):this.processLeaveNode(F)}}return _.length=0,x.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),x}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var l=!i||"void"==i;s.forEach(function(e){e.queued||(l||e.triggerName==r)&&o.push(e)})}}return(n||r)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,i=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,l=_createForOfIteratorHelper(t.timelines);try{var u=function(){var e=r.value.element,l=e!==o,u=q(n,e,[]);i._getPreviousPlayers(e,l,a,s,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)})};for(l.s();!(r=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}pe(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var a=this,s=t.triggerName,l=t.element,u=[],c=new Set,A=new Set,h=t.timelines.map(function(t){var h=t.element;c.add(h);var d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new L.ZN(t.duration,t.delay);var f,p,_=h!==l,g=(f=(n.get(h)||ot).map(function(e){return e.getRealPlayer()}),p=[],yt(f,p),p).filter(function(e){return!!e.element&&e.element===h}),v=i.get(h),m=o.get(h),y=K(0,a._normalizer,0,t.keyframes,v,m),E=a._buildPlayer(t,y,g);if(t.subTimeline&&r&&A.add(h),_){var C=new ht(e,s,h);C.setRealPlayer(E),u.push(C)}return E});u.forEach(function(e){q(a.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(a.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return gt(e,"ng-animating")});var d=H(h);return d.onDestroy(function(){c.forEach(function(e){return vt(e,"ng-animating")}),fe(l,t.toStyles)}),A.forEach(function(e){q(r,e,[]).push(d)}),d}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new L.ZN(e.duration,e.delay)}}]),e}(),ht=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new L.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return Z(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){q(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function dt(e){return e&&1===e.nodeType}function ft(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function pt(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(ft(e))});var a=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=st,a.push(r))}),e.set(r,o)});var s=0;return n.forEach(function(e){return ft(e,o[s++])}),a}function _t(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;function o(e){if(!e)return 1;var t=i.get(e);if(t)return t;var a=e.parentNode;return t=n.has(a)?a:r.has(a)?1:o(a),i.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function gt(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function vt(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function mt(e,t,n){H(n).onDone(function(){return e.processLeaveNode(t)})}function yt(e,t){for(var n=0;n<e.length;n++){var r=e[n];r instanceof L.ZE?yt(r.players,t):t.push(r)}}function Et(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var Ct=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new At(t,n,r),this._timelineEngine=new it(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=Ie(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new tt(e,t)}(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var i=_slicedToArray(z(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,t,a,r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,i){if("@"==n.charAt(0)){var o=_slicedToArray(z(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,i)}return this._transitionEngine.listen(e,t,n,r,i)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function wt(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=bt(t[0]),t.length>1&&(r=bt(t[t.length-1]))):t&&(n=bt(t)),n||r?new Bt(e,n,r):null}var Bt=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&fe(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(fe(this._element,this._initialStyles),this._endStyles&&(fe(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(pe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pe(this._element,this._endStyles),this._endStyles=null),fe(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function bt(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];Tt(i)&&((t=t||{})[i]=e[i])}return t}function Tt(e){return"display"===e||"position"===e}var kt=function(){function e(t,n,r,i,o,a,s){var l=this;_classCallCheck(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=o,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return l._handleCallback(e)}}return _createClass(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=xt(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),Ut(e,"",t),It(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Ot(this._element,this._name,"paused")}},{key:"resume",value:function(){Ot(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=Mt(this._element,this._name);this._position=e*this._duration,Ut(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),It(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=xt(e,"").split(","),(r=Dt(n,t))>=0&&(n.splice(r,1),Ut(e,"",n.join(","))))}}]),e}();function Ot(e,t,n){Ut(e,"PlayState",n,Mt(e,t))}function Mt(e,t){var n=xt(e,"");return n.indexOf(",")>0?Dt(n.split(","),t):Dt([n],t)}function Dt(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function It(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ut(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function xt(e,t){return e.style["animation"+t]||""}var Pt=function(){function e(t,n,r,i,o,a,s,l){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new kt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:Te(e.element,r))})}this.currentSnapshot=t}}]),e}(),St=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=ie(r),i}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(L.ZN),Qt=function(){function e(){_classCallCheck(this,e),this._count=0}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return ee(e)}},{key:"matchesElement",value:function(e,t){return te(e,t)}},{key:"containsElement",value:function(e,t){return ne(e,t)}},{key:"query",value:function(e,t,n){return re(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return ie(e)});var r="@keyframes ".concat(t," {\n"),i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}}),r+="".concat(i,"}\n")}),r+="}\n";var o=document.createElement("style");return o.textContent=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=o.filter(function(e){return e instanceof Pt}),s={};we(n,r)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Be(e,t,s));if(0==n)return new St(e,l);var u="gen_css_kf_"+this._count++,c=this.buildKeyframeElement(e,u,t);(function(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(c);var A=wt(e,t),h=new Pt(e,t,u,n,r,i,l,A);return h.onDestroy(function(){var e;(e=c).parentNode.removeChild(e)}),h}}]),e}(),Ft=function(){function e(t,n,r,i){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:Te(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),Lt=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Rt().toString()),this._cssKeyframesDriver=new Qt}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return ee(e)}},{key:"matchesElement",value:function(e,t){return te(e,t)}},{key:"containsElement",value:function(e,t){return ne(e,t)}},{key:"query",value:function(e,t,n){return re(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var l={},u=o.filter(function(e){return e instanceof Ft});we(n,r)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=wt(e,t=Be(e,t=t.map(function(e){return Ae(e,!1)}),l));return new Ft(e,t,s,c)}}]),e}();function Rt(){return R()&&Element.prototype.animate||{}}var Nt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(r.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}}),i}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,L.vP)(e):e;return Zt(this._renderer,null,t,"register",[n]),new Ht(t,this._renderer)}}]),n}(L._j);return e.\u0275fac=function(t){return new(t||e)(o.LFG(o.FYo),o.LFG(i.K0))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),Ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._id=e,i._renderer=r,i}return _createClass(n,[{key:"create",value:function(e,t){return new Kt(this._id,e,t||{},this._renderer)}}]),n}(L.LC),Kt=function(){function e(t,n,r,i){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Zt(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function Zt(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var Vt,Wt=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return _createClass(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new qt("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);return t.data.animation.forEach(function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,a,e,r.name,r)}),new zt(this,a,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then(function(){e._microtaskId++})}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=_slicedToArray(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(o.FYo),o.LFG(Ct),o.LFG(o.R0b))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),qt=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return _createClass(e,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),zt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,r,i,o)).factory=e,a.namespaceId=r,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,i,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),u="";return"@"!=l.charAt(0)&&(i=(r=l).indexOf("."),l=(a=_slicedToArray([r.substring(0,i),r.substr(i+1)],2))[0],u=a[1]),this.engine.listen(this.namespaceId,s,l,u,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(qt),Jt=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){return _classCallCheck(this,n),t.call(this,e.body,r,i)}return _createClass(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(Ct);return e.\u0275fac=function(t){return new(t||e)(o.LFG(i.K0),o.LFG(ae),o.LFG(Je))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e}(),Gt=new o.OlP("AnimationModuleType"),Yt=[{provide:L._j,useClass:Nt},{provide:Je,useFactory:function(){return new Ge}},{provide:Ct,useClass:Jt},{provide:o.FYo,useFactory:function(e,t,n){return new Wt(e,t,n)},deps:[C,Ct,o.R0b]}],jt=[{provide:ae,useFactory:function(){return"function"==typeof Rt()?new Lt:new Qt}},{provide:Gt,useValue:"BrowserAnimations"}].concat(Yt),Xt=[{provide:ae,useClass:oe},{provide:Gt,useValue:"NoopAnimations"}].concat(Yt),$t=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Xt:jt}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:jt,imports:[P]}),e}(),en=n(7431),tn=n(5521),nn=n(3943),rn=n(6407),on=n(5446),an=n(4324),sn=n(1681),ln={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return ln.schedule(e,0);if(void 0===window.requestAnimationFrame)return ln.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function un(e,t,n){var r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(function(t,n){return!("*"===t||!function(e,t){if(!Vt){var n=Element.prototype;Vt=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Vt.call(e,t)}(e,t)||(r=n,0))}),r}var cn=function(){function e(t,n){_classCallCheck(this,e),this.componentFactory=n.get(o._Vd).resolveComponentFactory(t)}return _createClass(e,[{key:"create",value:function(e){return new An(this.componentFactory,e)}}]),e}(),An=function(){function e(t,n){_classCallCheck(this,e),this.componentFactory=t,this.injector=n,this.eventEmitters=new rn.t(1),this.events=this.eventEmitters.pipe((0,an.w)(function(e){return on.T.apply(void 0,_toConsumableArray(e))})),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(function(e){return e.propName})),this.ngZone=this.injector.get(o.R0b),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(function(){return Zone.current})}return _createClass(e,[{key:"connect",value:function(e){var t=this;this.runInZone(function(){if(null!==t.scheduledDestroyFn)return t.scheduledDestroyFn(),void(t.scheduledDestroyFn=null);null===t.componentRef&&t.initializeComponent(e)})}},{key:"disconnect",value:function(){var e=this;this.runInZone(function(){null!==e.componentRef&&null===e.scheduledDestroyFn&&(e.scheduledDestroyFn=ln.schedule(function(){null!==e.componentRef&&(e.componentRef.destroy(),e.componentRef=null,e.viewChangeDetectorRef=null)},10))})}},{key:"getInputValue",value:function(e){var t=this;return this.runInZone(function(){return null===t.componentRef?t.initialInputValues.get(e):t.componentRef.instance[e]})}},{key:"setInputValue",value:function(e,t){var n=this;this.runInZone(function(){var r,i;null!==n.componentRef?((r=t)!==(i=n.getInputValue(e))&&(r==r||i==i)||void 0===t&&n.unchangedInputs.has(e))&&(n.recordInputChange(e,t),n.unchangedInputs.delete(e),n.hasInputChanges=!0,n.componentRef.instance[e]=t,n.scheduleDetectChanges()):n.initialInputValues.set(e,t)})}},{key:"initializeComponent",value:function(e){var t=o.zs3.create({providers:[],parent:this.injector}),n=function(e,t){var n=e.childNodes,r=t.map(function(){return[]}),i=-1;t.some(function(e,t){return"*"===e&&(i=t,!0)});for(var o=0,a=n.length;o<a;++o){var s=n[o],l=un(s,t,i);-1!==l&&r[l].push(s)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(o.sBO),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(o.z2F).attachView(this.componentRef.hostView)}},{key:"initializeInputs",value:function(){var e=this;this.componentFactory.inputs.forEach(function(t){var n=t.propName;e.initialInputValues.has(n)&&e.setInputValue(n,e.initialInputValues.get(n))}),this.initialInputValues.clear()}},{key:"initializeOutputs",value:function(e){var t=this.componentFactory.outputs.map(function(t){var n=t.propName,r=t.templateName;return e.instance[n].pipe((0,sn.U)(function(e){return{name:r,value:e}}))});this.eventEmitters.next(t)}},{key:"callNgOnChanges",value:function(e){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}}},{key:"markViewForCheck",value:function(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}},{key:"scheduleDetectChanges",value:function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ln.scheduleBeforeRender(function(){e.scheduledChangeDetectionFn=null,e.detectChanges()}))}},{key:"recordInputChange",value:function(e,t){if(this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.unchangedInputs.has(e),i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new o.WD2(i,t,r)}}}},{key:"detectChanges",value:function(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}},{key:"runInZone",value:function(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}]),e}(),hn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).ngElementEventsSubscription=null,e}return n}(_wrapNativeSuper(HTMLElement));new o.GfV("12.0.3");var dn=function(){var e=function(){function e(t){_classCallCheck(this,e);var n,r,i,a,s,l,u=(n=tn.Q,i=function(e,t){return t.get(o._Vd).resolveComponentFactory(e).inputs}(n,(r={injector:t}).injector),a=r.strategyFactory||new cn(n,r.injector),s=function(e){var t={};return e.forEach(function(e){var n,r=e.propName,i=e.templateName;t[(n=i,n.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}))]=r}),t}(i),(l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).injector=e,r}return _createClass(n,[{key:"ngElementStrategy",get:function(){var e=this;if(!this._ngElementStrategy){var t=this._ngElementStrategy=a.create(this.injector||r.injector);i.forEach(function(n){var r=n.propName;if(e.hasOwnProperty(r)){var i=e[r];delete e[r],t.setInputValue(r,i)}})}return this._ngElementStrategy}},{key:"attributeChangedCallback",value:function(e,t,n,r){this.ngElementStrategy.setInputValue(s[e],n)}},{key:"connectedCallback",value:function(){var e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}},{key:"disconnectedCallback",value:function(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}},{key:"subscribeToEvents",value:function(){var e=this;this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(t){var n=function(e,t,n){if("function"!=typeof CustomEvent){var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(e.ownerDocument,t.name,t.value);e.dispatchEvent(n)})}}]),n}(hn)).observedAttributes=Object.keys(s),i.forEach(function(e){var t=e.propName;Object.defineProperty(l.prototype,t,{get:function(){return this.ngElementStrategy.getInputValue(t)},set:function(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),l);customElements.define("network-expander",u)}return _createClass(e,[{key:"ngDoBootstrap",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.LFG(o.zs3))},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({providers:[nn.Kt],imports:[[P,S.A0,Q.u5,i.ez,F.JF,$t,en.U$]]}),e}();n(529).N.production&&(0,o.G48)(),U().bootstrapModule(dn).catch(function(e){return console.error(e)})},2723:function(e,t,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis,i="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,a="undefined"!=typeof global&&global;function s(e,t){return":"===t.charAt(0)?e.substring(function(e,t){for(var n=1,r=1;n<e.length;n++,r++)if("\\"===t[r])r++;else if(":"===e[n])return n;throw new Error('Unterminated $localize metadata block in "'.concat(t,'".'))}(e,t)+1):e}(r||a||i||o).$localize=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(e.translate){var o=e.translate(t,r);t=o[0],r=o[1]}for(var a=s(t[0],t.raw[0]),l=1;l<t.length;l++)a+=r[l-1]+s(t[l],t.raw[l]);return a},n(2167),n(5022)},9162:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},mG:function(){return o},Jh:function(){return a},XA:function(){return s},CR:function(){return l},ev:function(){return u},qq:function(){return c},FC:function(){return A},KL:function(){return h}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function a(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function u(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function c(e){return this instanceof c?(this.v=e,this):new c(e)}function A(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof c?Promise.resolve(n.value.v).then(l,u):A(o[0][2],n)}catch(r){A(o[0][3],r)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function A(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function h(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=s(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}},4762:function(e,t,n){"use strict";function r(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}n.d(t,{mG:function(){return r}})}},function(e){"use strict";e(e.s=5881)}])})();