(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"++hd":function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("+rOU"),r=n("ofXK"),a=n("Qu3c"),o=n("e8Yk"),s=n("fXoL"),l=n("rDax"),c=n("vxfF"),u=n("nLfN"),h=n("u47x"),d=n("cH1L");let p=(()=>{class t extends a.c{constructor(t,e,n,r,a,s,l,c,u,h,d,p){super(t,e,n,r,a,s,l,c,u,h,d),this._tooltipComponent=o.a,super._portal=new i.d(this._tooltipComponent,r)}set template(t){this.message="...",this._template=t}show(t=this.showDelay){super.show(t);const e=this._tooltipInstance;e&&(e.template=this._template)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(l.c),s.Ob(s.l),s.Ob(c.c),s.Ob(s.R),s.Ob(s.B),s.Ob(u.a),s.Ob(h.c),s.Ob(h.h),s.Ob(a.b),s.Ob(d.b,8),s.Ob(a.a,8),s.Ob(r.d))},t.\u0275dir=s.Jb({type:t,selectors:[["","matTooltipTemplate",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{template:["matTooltipTemplate","template"]},features:[s.zb]}),t})()},"+0xr":function(t,e,n){"use strict";n.d(e,"a",function(){return D}),n.d(e,"b",function(){return b}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return C}),n.d(e,"e",function(){return w}),n.d(e,"f",function(){return P}),n.d(e,"g",function(){return T}),n.d(e,"h",function(){return j}),n.d(e,"i",function(){return R}),n.d(e,"j",function(){return A}),n.d(e,"k",function(){return _}),n.d(e,"l",function(){return V}),n.d(e,"m",function(){return F});var i=n("f6nW"),r=n("0EQZ"),a=n("FKr1"),o=n("8LU1"),s=n("2Vo4"),l=n("XNiG"),c=n("quSY"),u=n("VRyK"),h=n("LRne"),d=n("itXk"),p=n("lJxs"),f=n("fXoL");const m=[[["caption"]],[["colgroup"],["col"]]],g=["caption","colgroup, col"];let _=(()=>{class t extends i.q{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return y(e||t)},t.\u0275cmp=f.Ib({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&f.Gb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[f.Bb([{provide:r.g,useClass:r.e},{provide:i.q,useExisting:t},{provide:i.a,useExisting:t},{provide:i.x,useClass:i.y}]),f.zb],ngContentSelectors:g,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(f.kc(m),f.jc(0),f.jc(1,1),f.Qb(2,0),f.Qb(3,1),f.Qb(4,2),f.Qb(5,3))},directives:[i.v,i.t,i.w,i.u],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const y=f.Wb(_);let b=(()=>{class t extends i.c{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["","matCellDef",""]],features:[f.Bb([{provide:i.c,useExisting:t}]),f.zb]}),t})();const v=f.Wb(b);let w=(()=>{class t extends i.k{}return t.\u0275fac=function(e){return x(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["","matHeaderCellDef",""]],features:[f.Bb([{provide:i.k,useExisting:t}]),f.zb]}),t})();const x=f.Wb(w);let M=(()=>{class t extends i.e{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}return t.\u0275fac=function(e){return S(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[f.Bb([{provide:i.e,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),f.zb]}),t})();const S=f.Wb(M);let C=(()=>{class t extends i.j{}return t.\u0275fac=function(e){return k(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[f.zb]}),t})();const k=f.Wb(C);let D=(()=>{class t extends i.b{}return t.\u0275fac=function(e){return O(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[f.zb]}),t})();const O=f.Wb(D);let T=(()=>{class t extends i.m{}return t.\u0275fac=function(e){return L(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[f.Bb([{provide:i.m,useExisting:t}]),f.zb]}),t})();const L=f.Wb(T);let A=(()=>{class t extends i.p{}return t.\u0275fac=function(e){return I(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[f.Bb([{provide:i.p,useExisting:t}]),f.zb]}),t})();const I=f.Wb(A);let P=(()=>{class t extends i.l{}return t.\u0275fac=function(e){return E(e||t)},t.\u0275cmp=f.Ib({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[f.Bb([{provide:i.l,useExisting:t}]),f.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&f.Qb(0,0)},directives:[i.d],encapsulation:2}),t})();const E=f.Wb(P);let R=(()=>{class t extends i.o{}return t.\u0275fac=function(e){return Y(e||t)},t.\u0275cmp=f.Ib({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[f.Bb([{provide:i.o,useExisting:t}]),f.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&f.Qb(0,0)},directives:[i.d],encapsulation:2}),t})();const Y=f.Wb(R);let j=(()=>{class t extends i.n{}return t.\u0275fac=function(e){return N(e||t)},t.\u0275dir=f.Jb({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[f.Bb([{provide:i.n,useExisting:t}]),f.zb]}),t})();const N=f.Wb(j);let F=(()=>{class t{}return t.\u0275mod=f.Mb({type:t}),t.\u0275inj=f.Lb({factory:function(e){return new(e||t)},imports:[[i.r,a.j],a.j]}),t})();class V extends r.b{constructor(t=[]){super(),this._renderData=new s.a([]),this._filter=new s.a(""),this._internalPageChanges=new l.a,this._renderChangesSubscription=c.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(o.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,i=e.direction;return n&&""!=i?t.sort((t,e)=>{let r=this.sortingDataAccessor(t,n),a=this.sortingDataAccessor(e,n);const o=typeof r,s=typeof a;o!==s&&("number"===o&&(r+=""),"number"===s&&(a+=""));let l=0;return null!=r&&null!=a?r>a?l=1:r{const n=Object.keys(t).reduce((e,n)=>e+t[n]+"\u25ec","").toLowerCase(),i=e.trim().toLowerCase();return-1!=n.indexOf(i)},this._data=new s.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(u.a)(this._sort.sortChange,this._sort.initialized):Object(h.a)(null),e=this._paginator?Object(u.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(h.a)(null),n=this._data,i=Object(d.b)([n,this._filter]).pipe(Object(p.a)(([t])=>this._filterData(t))),r=Object(d.b)([i,t]).pipe(Object(p.a)(([t])=>this._orderData(t))),a=Object(d.b)([r,e]).pipe(Object(p.a)(([t])=>this._pageData(t)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=a.subscribe(t=>this._renderData.next(t))}_filterData(t){return this.filteredData=null==this.filter||""===this.filter?t:t.filter(t=>this.filterPredicate(t,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}},"+Xah":function(t,e,n){"use strict";e.a=function(t){return t}},"+qE3":function(t,e,n){"use strict";var i,r="object"==typeof Reflect?Reflect:null,a=r&&"function"==typeof r.apply?r.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};i=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise(function(n,i){function r(){void 0!==a&&t.removeListener("error",a),n([].slice.call(arguments))}var a;"error"!==e&&(a=function(n){t.removeListener(e,r),i(n)},t.once("error",a)),t.once(e,r)})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,n,i){var r,a,o;if(c(n),void 0===(a=t._events)?(a=t._events=Object.create(null),t._eventsCount=0):(void 0!==a.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),a=t._events),o=a[e]),void 0===o)o=a[e]=n,++t._eventsCount;else if("function"==typeof o?o=a[e]=i?[n,o]:[o,n]:i?o.unshift(n):o.push(n),(r=u(t))>0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=t,s.type=e,s.count=o.length,console&&console.warn&&console.warn(s)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,n){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},r=d.bind(i);return r.listener=n,i.wrapFn=r,r}function f(t,e,n){var i=t._events;if(void 0===i)return[];var r=i[e];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=r[t];if(void 0===l)return!1;if("function"==typeof l)a(l,this,e);else{var c=l.length,u=g(l,c);for(n=0;n=0;a--)if(n[a]===e||n[a].listener===e){o=n[a].listener,r=a;break}if(r<0)return this;0===r?n.shift():function(t,e){for(;e+1=0;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return f(this,t,!0)},s.prototype.rawListeners=function(t){return f(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},"+rOU":function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return m}),n.d(e,"g",function(){return _}),n.d(e,"h",function(){return s}),n.d(e,"i",function(){return d});var i=n("fXoL"),r=n("ofXK");class a{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends a{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class s extends a{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends a{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class c{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends c{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends s{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.N),i.Ob(i.R))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.zb]}),t})(),d=(()=>{class t extends h{}return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[i.Bb([{provide:h,useExisting:t}]),i.zb]}),t})();const p=i.Wb(d);let f=(()=>{class t extends c{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.j),i.Ob(i.R),i.Ob(r.d))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),t})(),m=(()=>{class t extends f{}return t.\u0275fac=function(e){return g(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Bb([{provide:f,useExisting:t}]),i.zb]}),t})();const g=i.Wb(m);let _=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})()},"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/1FC":function(t,e,n){"use strict";e.a=Array.isArray},"/1cH":function(t,e,n){"use strict";n.d(e,"a",function(){return j}),n.d(e,"b",function(){return U}),n.d(e,"c",function(){return B});var i=n("u47x"),r=n("8LU1"),a=n("fXoL"),o=n("FKr1"),s=n("quSY"),l=n("XNiG"),c=n("NXyV"),u=n("VRyK"),h=n("LRne"),d=n("xgIS"),p=n("ofXK"),f=n("rDax"),m=n("vxfF"),g=n("FtGj"),_=n("nLfN"),y=n("+rOU"),b=n("3Pt+"),v=n("kmnG"),w=n("IzEk"),x=n("eIep"),M=n("pLZG"),S=n("lJxs"),C=n("vkgz"),k=n("3E0/"),D=n("cH1L");const O=["panel"];function T(t,e){if(1&t&&(a.Ub(0,"div",0,1),a.jc(2),a.Tb()),2&t){const t=e.id,n=a.fc();a.lc("id",n.id)("ngClass",n._classList),a.Db("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(t))}}const L=["*"];let A=0;class I{constructor(t,e){this.source=t,this.option=e}}class P{}const E=Object(o.z)(P),R=new a.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let Y=(()=>{class t extends E{constructor(t,e,n){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=s.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new a.o,this.opened=new a.o,this.closed=new a.o,this.optionActivated=new a.o,this._classList={},this.id="mat-autocomplete-"+A++,this._autoActiveFirstOption=!!n.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(r.c)(t)}set classList(t){this._classList=t&&t.length?Object(r.g)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new i.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new I(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.h),a.Ob(a.l),a.Ob(R))},t.\u0275dir=a.Jb({type:t,viewQuery:function(t,e){if(1&t&&(a.Bc(a.N,!0),a.Oc(O,!0)),2&t){let t;a.tc(t=a.cc())&&(e.template=t.first),a.tc(t=a.cc())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[a.zb]}),t})(),j=(()=>{class t extends Y{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(e){return N(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,n){if(1&t&&(a.Hb(n,o.g,!0),a.Hb(n,o.o,!0)),2&t){let t;a.tc(t=a.cc())&&(e.optionGroups=t),a.tc(t=a.cc())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[a.Bb([{provide:o.h,useExisting:t}]),a.zb],ngContentSelectors:L,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(a.kc(),a.Fc(0,T,3,4,"ng-template"))},directives:[p.l],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})();const N=a.Wb(j),F=new a.s("mat-autocomplete-scroll-strategy"),V={provide:F,deps:[f.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},H={provide:b.l,useExisting:Object(a.V)(()=>B),multi:!0};let z=(()=>{class t{constructor(t,e,n,i,r,a,o,h,d,p,f){this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=i,this._changeDetectorRef=r,this._dir=o,this._formField=h,this._document=d,this._viewportRuler=p,this._defaults=f,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=s.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(c.a)(()=>this.autocomplete&&this.autocomplete.options?Object(u.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Object(w.a)(1),Object(x.a)(()=>this.optionSelections))),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(r.c)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(u.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(M.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(M.a)(()=>this._overlayAttached)):Object(h.a)()).pipe(Object(S.a)(t=>t instanceof o.q?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(u.a)(Object(d.a)(this._document,"click"),Object(d.a)(this._document,"touchend")).pipe(Object(M.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,n=this._formField?this._formField._elementRef.nativeElement:null,i=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!n||!n.contains(e))&&(!i||!i.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==g.g||Object(g.s)(t)||t.preventDefault(),this.activeOption&&e===g.f&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const n=this.autocomplete._keyManager.activeItem,i=e===g.p||e===g.d;this.panelOpen||e===g.o?this.autocomplete._keyManager.onKeydown(t):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe(Object(w.a)(1)),e=this.autocomplete.options.changes.pipe(Object(C.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(k.a)(0));return Object(u.a)(t,e).pipe(Object(x.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(w.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(_.c)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new y.h(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===g.g&&!Object(g.s)(t)||t.keyCode===g.p&&Object(g.s)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new f.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],n=this._aboveClass,i=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:n},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:n}];let r;r="above"===this.position?i:"below"===this.position?e:[...e,...i],t.withPositions(r)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,n=Object(o.w)(t,e.options,e.optionGroups);if(0===t&&1===n)e._setScrollTop(0);else{const n=e.options.toArray()[t];if(n){const t=n._getHostElement(),i=Object(o.x)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(i)}}}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(f.c),a.Ob(a.R),a.Ob(a.B),a.Ob(a.h),a.Ob(F),a.Ob(D.b,8),a.Ob(v.a,9),a.Ob(p.d,8),a.Ob(m.e),a.Ob(R,8))},t.\u0275dir=a.Jb({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[a.Ab]}),t})(),B=(()=>{class t extends z{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(e){return W(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&a.bc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&a.Db("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[a.Bb([H]),a.zb]}),t})();const W=a.Wb(B);let U=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[V],imports:[[f.f,o.p,o.j,p.c],m.b,o.p,o.j]}),t})()},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/t3+":function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return p});var i=n("FKr1"),r=n("ofXK"),a=n("fXoL"),o=n("nLfN");const s=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"];class c{constructor(t){this._elementRef=t}}const u=Object(i.y)(c);let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),d=(()=>{class t extends u{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(o.a),a.Ob(r.d))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&a.Hb(n,h,!0),2&t){let t;a.tc(t=a.cc())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&a.Gb("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.zb],ngContentSelectors:l,decls:2,vars:0,template:function(t,e){1&t&&(a.kc(s),a.jc(0),a.jc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[i.j],i.j]}),t})()},"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return n=>n.lift(new a(t,e))}class a{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0EQZ":function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return p}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"h",function(){return l});var i=n("7+OI"),r=n("LRne"),a=n("XNiG"),o=n("fXoL");class s{}function l(t){return t&&"function"==typeof t.connect}class c extends s{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class u{applyChanges(t,e,n,i,r){t.forEachOperation((t,i,a)=>{let o,s;if(null==t.previousIndex){const r=n(t,i,a);o=e.createEmbeddedView(r.templateRef,r.context,r.index),s=1}else null==a?(e.remove(i),s=3):(o=e.get(i),e.move(o,a),s=2);r&&r({context:null==o?void 0:o.context,operation:s,record:t})})}detach(){}}class h{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,r){t.forEachOperation((t,a,o)=>{let s,l;null==t.previousIndex?(s=this._insertView(()=>n(t,a,o),o,e,i(t)),l=s?1:0):null==o?(this._detachAndCacheView(a,e),l=3):(s=this._moveView(a,o,e,i(t)),l=2),r&&r({context:null==s?void 0:s.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy()}_insertView(t,e,n,i){let r=this._insertViewFromCache(e,n);if(r)return void(r.context.$implicit=i);const a=t();return n.createEmbeddedView(a.templateRef,a.context,a.index)}_detachAndCacheView(t,e){const n=this._detachView(t,e);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let p=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const f=new o.s("_ViewRepeater")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("bHdf");function r(){return Object(i.a)(1)}},"0IaG":function(t,e,n){"use strict";n.d(e,"a",function(){return D}),n.d(e,"b",function(){return I}),n.d(e,"c",function(){return j}),n.d(e,"d",function(){return E}),n.d(e,"e",function(){return Y}),n.d(e,"f",function(){return F}),n.d(e,"g",function(){return C}),n.d(e,"h",function(){return R});var i=n("rDax"),r=n("+rOU"),a=n("fXoL"),o=n("FKr1"),s=n("cH1L"),l=n("ofXK"),c=n("XNiG"),u=n("NXyV"),h=n("LRne"),d=n("pLZG"),p=n("IzEk"),f=n("JX91"),m=n("R0Ic"),g=n("FtGj"),_=n("u47x");function y(t,e){}class b{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(m.m)("dialogContainer",[Object(m.j)("void, exit",Object(m.k)({opacity:0,transform:"scale(0.7)"})),Object(m.j)("enter",Object(m.k)({transform:"none"})),Object(m.l)("* => enter",Object(m.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(m.k)({transform:"none",opacity:1}))),Object(m.l)("* => void, * => exit",Object(m.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(m.k)({opacity:0})))])};let w=(()=>{class t extends r.a{constructor(t,e,n,i,r,o){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=r,this._focusMonitor=o,this._animationStateChanged=new a.o,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=i}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(_.i),a.Ob(a.h),a.Ob(l.d,8),a.Ob(b),a.Ob(_.h))},t.\u0275dir=a.Jb({type:t,viewQuery:function(t,e){if(1&t&&a.Bc(r.c,!0),2&t){let t;a.tc(t=a.cc())&&(e._portalOutlet=t.first)}},features:[a.zb]}),t})(),x=(()=>{class t extends w{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return M(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&a.Dc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(a.Xb("id",e._id),a.Db("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),a.Ec("@dialogContainer",e._state))},features:[a.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&a.Fc(0,y,0,0,"ng-template",0)},directives:[r.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[v.dialogContainer]}}),t})();const M=a.Wb(x);let S=0;class C{constructor(t,e,n="mat-dialog-"+S++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new c.a,this._afterClosed=new c.a,this._beforeClosed=new c.a,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(d.a)(t=>"opened"===t.state),Object(p.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(d.a)(t=>"closed"===t.state),Object(p.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(d.a)(t=>t.keyCode===g.g&&!this.disableClose&&!Object(g.s)(t))).subscribe(t=>{t.preventDefault(),k(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():k(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(d.a)(t=>"closing"===t.state),Object(p.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function k(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const D=new a.s("MatDialogData"),O=new a.s("mat-dialog-default-options"),T=new a.s("mat-dialog-scroll-strategy"),L={provide:T,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.block()}};let A=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=o,this._dialogContainerType=s,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new c.a,this._afterOpenedAtThisLevel=new c.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(u.a)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(f.a)(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new b)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new i.d({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=a.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:e}]}),i=new r.d(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const o=new this._dialogRefConstructor(n,e,i.id);if(t instanceof a.N)e.attachTemplatePortal(new r.h(t,null,{$implicit:i.data,dialogRef:o}));else{const n=this._createInjector(i,o,e),a=e.attachComponentPortal(new r.d(t,i.viewContainerRef,n));o.componentInstance=a.instance}return o.updateSize(i.width,i.height).updatePosition(i.position),o}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||i&&i.get(s.b,null)||r.push({provide:s.b,useValue:{value:t.direction,change:Object(h.a)()}}),a.t.create({parent:i||this._injector,providers:r})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(i.c),a.Ob(a.t),a.Ob(void 0),a.Ob(void 0),a.Ob(i.e),a.Ob(void 0),a.Ob(a.P),a.Ob(a.P),a.Ob(a.s))},t.\u0275dir=a.Jb({type:t}),t})(),I=(()=>{class t extends A{constructor(t,e,n,i,r,a,o){super(t,e,i,a,o,r,C,x,D)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(i.c),a.Yb(a.t),a.Yb(l.i,8),a.Yb(O,8),a.Yb(T),a.Yb(t,12),a.Yb(i.e))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t})(),P=0,E=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=N(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){k(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(C,8),a.Ob(a.l),a.Ob(I))},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&a.bc("click",function(t){return e._onButtonClick(t)}),2&t&&a.Db("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[a.Ab]}),t})(),R=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=N(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(C,8),a.Ob(a.l),a.Ob(I))},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&a.Xb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function N(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let F=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[I,L],imports:[[i.f,r.g,o.j],o.j]}),t})()},"0MNC":function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return S});var i=n("fXoL"),r=n("8LU1"),a=n("XNiG"),o=n("itXk"),s=n("GyhO"),l=n("HDdC"),c=n("IzEk"),u=n("7o/Q");class h{constructor(t){this.total=t}call(t,e){return e.subscribe(new d(t,this.total))}}class d extends u.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}var p=n("Kj3r"),f=n("lJxs"),m=n("JX91"),g=n("1G5W"),_=n("nLfN");const y=new Set;let b,v=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!y.has(t))try{b||(b=document.createElement("style"),b.setAttribute("type","text/css"),document.head.appendChild(b)),b.sheet&&(b.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),y.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(_.a))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(_.a))},token:t,providedIn:"root"}),t})();function w(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let x=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new a.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return M(Object(r.b)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=M(Object(r.b)(t)).map(t=>this._registerQuery(t).observable);let n=Object(o.b)(e);return n=Object(s.a)(n.pipe(Object(c.a)(1)),n.pipe(t=>t.lift(new h(1)),Object(p.a)(0))),n.pipe(Object(f.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new l.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(m.a)(e),Object(f.a)(({matches:e})=>({query:t,matches:e})),Object(g.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(v),i.Yb(i.B))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(v),Object(i.Yb)(i.B))},token:t,providedIn:"root"}),t})();function M(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}const S={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return e=>e.lift(new a(t))}class a{constructor(t){this.notifier=t}call(t,e){const n=new o(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1dzw":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL");let r=(()=>{class t{constructor(t){this._elementRef=t,this._value=null}ngAfterViewInit(){0!=this._value&&setTimeout(()=>this._elementRef.nativeElement.focus())}set focus(t){0!=(this._value=t)&&setTimeout(()=>this._elementRef.nativeElement.focus())}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["","focus",""]],inputs:{focus:"focus"}}),t})()},"1jcm":function(t,e,n){"use strict";n.d(e,"a",function(){return w}),n.d(e,"b",function(){return M});var i=n("GU7r"),r=n("fXoL"),a=n("FKr1"),o=n("8LU1"),s=n("3Pt+"),l=n("R1ws"),c=n("u47x");const u=["thumbContainer"],h=["toggleBar"],d=["input"],p=function(){return{enterDuration:150}},f=["*"],m=new r.s("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let g=0;const _={provide:s.l,useExisting:Object(r.V)(()=>w),multi:!0};class y{constructor(t,e){this.source=t,this.checked=e}}class b{constructor(t){this._elementRef=t}}const v=Object(a.D)(Object(a.y)(Object(a.z)(Object(a.A)(b)),"accent"));let w=(()=>{class t extends v{constructor(t,e,n,i,a,o){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=a,this._animationMode=o,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++g,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new r.o,this.toggleChange=new r.o,this.tabIndex=parseInt(i)||0}get required(){return this._required}set required(t){this._required=Object(o.c)(t)}get checked(){return this._checked}set checked(t){this._checked=Object(o.c)(t),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new y(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(c.h),r.Ob(r.h),r.Zb("tabindex"),r.Ob(m),r.Ob(l.a,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(r.Oc(u,!0),r.Oc(h,!0),r.Oc(d,!0)),2&t){let t;r.tc(t=r.cc())&&(e._thumbEl=t.first),r.tc(t=r.cc())&&(e._thumbBarEl=t.first),r.tc(t=r.cc())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),r.Gb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[r.Bb([_]),r.zb],ngContentSelectors:f,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"div",2,3),r.Ub(4,"input",4,5),r.bc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Tb(),r.Ub(6,"div",6,7),r.Pb(8,"div",8),r.Ub(9,"div",9),r.Pb(10,"div",10),r.Tb(),r.Tb(),r.Tb(),r.Ub(11,"span",11,12),r.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Ub(13,"span",13),r.Hc(14,"\xa0"),r.Tb(),r.jc(15),r.Tb(),r.Tb()),2&t){const t=r.uc(1),n=r.uc(12);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),r.Cb(2),r.lc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),r.Db("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),r.Cb(5),r.lc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",r.oc(17,p))}},directives:[a.t,i.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),x=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),M=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[x,a.u,a.j,i.c],x,a.j]}),t})()},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"25cm":function(t,e,n){"use strict";var i=n("tPH9"),r=n("/1FC");e.a=function(t,e,n){var a=e(t);return Object(r.a)(t)?a:Object(i.a)(a,n(t))}},"26kz":function(t,e,n){"use strict";var i,r=n("G5n0"),a=n("5WsY"),o=(i=r.a,function(t,e){if(null==t)return t;if(!Object(a.a)(t))return i(t,e);for(var n=t.length,r=-1,o=Object(t);++r"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("XNiG"),r=n("9ppp");class a extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("D0XW"),r=n("7o/Q"),a=n("WMd4");function o(t,e=i.a){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new s(r,e))}class s{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))}}class l extends r.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new c(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(a.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(a.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.time=t,this.notification=e}}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];t.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class a extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3Pt+":function(t,e,n){"use strict";n.d(e,"a",function(){return Lt}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return p}),n.d(e,"d",function(){return jt}),n.d(e,"e",function(){return dt}),n.d(e,"f",function(){return kt}),n.d(e,"g",function(){return St}),n.d(e,"h",function(){return Nt}),n.d(e,"i",function(){return Rt}),n.d(e,"j",function(){return Pt}),n.d(e,"k",function(){return g}),n.d(e,"l",function(){return l}),n.d(e,"m",function(){return P}),n.d(e,"n",function(){return R}),n.d(e,"o",function(){return Y}),n.d(e,"p",function(){return _t}),n.d(e,"q",function(){return vt}),n.d(e,"r",function(){return N}),n.d(e,"s",function(){return Ft}),n.d(e,"t",function(){return Tt}),n.d(e,"u",function(){return b}),n.d(e,"v",function(){return wt});var i=n("fXoL"),r=n("ofXK"),a=n("cp0P"),o=n("Cfvw"),s=n("lJxs");const l=new i.s("NgValueAccessor"),c={provide:l,useExisting:Object(i.V)(()=>u),multi:!0};let u=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i.Bb([c])]}),t})();const h={provide:l,useExisting:Object(i.V)(()=>p),multi:!0},d=new i.s("CompositionEventMode");let p=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(r.A)()?Object(r.A)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l),i.Ob(d,8))},t.\u0275dir=i.Jb({type:t,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(t,e){1&t&&i.bc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i.Bb([h])]}),t})();function f(t){return null==t||0===t.length}function m(t){return null!=t&&"number"==typeof t.length}const g=new i.s("NgValidators"),_=new i.s("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class b{static min(t){return e=>{if(f(e.value)||f(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(f(e.value)||f(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return f(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return f(t.value)||y.test(t.value)?null:{email:!0}}static minLength(t){return e=>f(e.value)||!m(e.value)?null:e.value.lengthm(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return b.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(f(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){return x(M(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(v);return 0==e.length?null:function(t){const n=M(t,e).map(w);return Object(a.a)(n).pipe(Object(s.a)(x))}}}function v(t){return null!=t}function w(t){const e=Object(i.ub)(t)?Object(o.a)(t):t;return Object(i.tb)(e),e}function x(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function M(t,e){return e.map(e=>e(t))}function S(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function C(t){return null!=t?b.compose(S(t)):null}function k(t){return null!=t?b.composeAsync(S(t)):null}function D(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function O(t){return t._rawValidators}function T(t){return t._rawAsyncValidators}let L=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=C(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=k(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t}),t})(),A=(()=>{class t extends L{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return I(e||t)},t.\u0275dir=i.Jb({type:t,features:[i.zb]}),t})();const I=i.Wb(A);class P extends L{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class E{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let R=(()=>{class t extends E{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(P,2))},t.\u0275dir=i.Jb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Gb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})(),Y=(()=>{class t extends E{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(A,2))},t.\u0275dir=i.Jb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Gb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})();const j={provide:l,useExisting:Object(i.V)(()=>N),multi:!0};let N=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([j])]}),t})();const F={provide:l,useExisting:Object(i.V)(()=>H),multi:!0};let V=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(P),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l),i.Ob(V),i.Ob(i.t))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([F])]}),t})();const z={provide:l,useExisting:Object(i.V)(()=>B),multi:!0};let B=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([z])]}),t})();const W={provide:l,useExisting:Object(i.V)(()=>U),multi:!0};let U=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(i.l))},t.\u0275dir=i.Jb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([W])]}),t})();const G={provide:l,useExisting:Object(i.V)(()=>q),multi:!0};let q=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Q(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function K(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function J(t,e,n){const i=O(t);null!==e.validator?t.setValidators(D(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const r=T(t);if(null!==e.asyncValidator?t.setAsyncValidators(D(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]),n){const n=()=>t.updateValueAndValidity();K(e._rawValidators,n),K(e._rawAsyncValidators,n)}}function $(t,e,n){if(null!==t){if(null!==e.validator){const n=O(t);Array.isArray(n)&&n.length>0&&t.setValidators(n.filter(t=>t!==e.validator))}if(null!==e.asyncValidator){const n=T(t);Array.isArray(n)&&n.length>0&&t.setAsyncValidators(n.filter(t=>t!==e.asyncValidator))}}if(n){const t=()=>{};K(e._rawValidators,t),K(e._rawAsyncValidators,t)}}function Q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function tt(t,e){J(t,e,!1)}function et(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const nt=[u,B,N,U,q,H];function it(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){if(!e)return null;Array.isArray(e);let n=void 0,i=void 0,r=void 0;return e.forEach(t=>{var e;t.constructor===p?n=t:(e=t,nt.some(t=>e.constructor===t)?i=t:r=t)}),r||i||n||null}function at(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ot(t){return(ut(t)?t.validators:t)||null}function st(t){return Array.isArray(t)?C(t):t||null}function lt(t,e){return(ut(e)?e.asyncValidators:t)||null}function ct(t){return Array.isArray(t)?k(t):t||null}function ut(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class ht{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=st(this._rawValidators),this._composedAsyncValidatorFn=ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=st(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ct(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=w(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof pt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof ft&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ut(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class dt extends ht{constructor(t=null,e,n){super(ot(e),lt(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){at(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){at(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class pt extends ht{constructor(t,e,n){super(ot(e),lt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof dt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ft extends ht{constructor(t,e,n){super(ot(e),lt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof dt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const mt={provide:A,useExisting:Object(i.V)(()=>_t)},gt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends A{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new pt({},C(t),k(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){gt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Z(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),at(this._directives,t)})}addFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path),n=new pt({});tt(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){gt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){gt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,it(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(g,10),i.Ob(_,10))},t.\u0275dir=i.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([mt]),i.zb]}),t})();const yt={provide:P,useExisting:Object(i.V)(()=>vt)},bt=(()=>Promise.resolve(null))();let vt=(()=>{class t extends P{constructor(t,e,n,r){super(),this.control=new dt,this._registered=!1,this.update=new i.o,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),et(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?X(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){bt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;bt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(A,9),i.Ob(g,10),i.Ob(_,10),i.Ob(l,10))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([yt]),i.zb,i.Ab]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const xt=new i.s("NgModelWithFormControlWarning"),Mt={provide:A,useExisting:Object(i.V)(()=>St)};let St=(()=>{class t extends A{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Z(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){at(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);tt(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,it(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){const n=()=>{};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),$(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}(t.control||null,t),e&&Z(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J(this.form,this,!1),this._oldForm&&$(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(g,10),i.Ob(_,10))},t.\u0275dir=i.Jb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([Mt]),i.zb,i.Ab]}),t})();const Ct={provide:P,useExisting:Object(i.V)(()=>kt)};let kt=(()=>{class t extends P{constructor(t,e,n,r,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=rt(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),et(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return X(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(A,13),i.Ob(g,10),i.Ob(_,10),i.Ob(l,10),i.Ob(xt,8))},t.\u0275dir=i.Jb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Bb([Ct]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})();const Dt={provide:g,useExisting:Object(i.V)(()=>Tt),multi:!0},Ot={provide:g,useExisting:Object(i.V)(()=>Lt),multi:!0};let Tt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?b.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},inputs:{required:"required"},features:[i.Bb([Dt])]}),t})(),Lt=(()=>{class t extends Tt{validate(t){return this.required?b.requiredTrue(t):null}}return t.\u0275fac=function(e){return At(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("required",e.required?"":null)},features:[i.Bb([Ot]),i.zb]}),t})();const At=i.Wb(Lt),It={provide:g,useExisting:Object(i.V)(()=>Pt),multi:!0};let Pt=(()=>{class t{constructor(){this._validator=b.nullValidator}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=b.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[i.Bb([It]),i.Ab]}),t})();const Et={provide:g,useExisting:Object(i.V)(()=>Rt),multi:!0};let Rt=(()=>{class t{constructor(){this._validator=b.nullValidator}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=b.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Db("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([Et]),i.Ab]}),t})(),Yt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})(),jt=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,r=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new pt(n,{asyncValidators:r,updateOn:a,validators:i})}control(t,e,n){return new dt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new ft(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof dt||t instanceof pt||t instanceof ft?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),Nt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[V],imports:[Yt]}),t})(),Ft=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:xt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[jt,V],imports:[Yt]}),t})()},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("D0XW"),r=n("zx2A");class a{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends r.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(r.c)(n,new r.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var s=n("PqYM");function l(t,e=i.a){return n=()=>Object(s.a)(t,e),function(t){return t.lift(new a(n))};var n}},"3cmB":function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"Map");e.a=a},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+WD":function(t,e,n){"use strict";n.d(e,"a",function(){return ft}),n.d(e,"b",function(){return ut}),n.d(e,"c",function(){return gt}),n.d(e,"d",function(){return q});var i=n("fXoL"),r=n("ofXK"),a=n("vxfF"),o=n("nLfN"),s=n("8LU1"),l=n("XNiG"),c=n("quSY"),u=n("HDdC"),h=n("D0XW"),d=n("Y7HM");function p(t){const{subscriber:e,counter:n,period:i}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:i},i)}var f=n("eNwd"),m=n("VRyK"),g=n("1G5W"),_=n("JX91"),y=n("lJxs"),b=n("IzEk"),v=n("vkgz"),w=n("eIep"),x=n("cH1L");function M(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function S(t,e){const n=e?"":"none";M(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function C(t,e){const n=t.style;n.position=e?"":"fixed",n.top=n.opacity=e?"":"0",n.left=e?"":"-999em"}function k(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function D(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function O(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function T(t,e,n){const{top:i,bottom:r,left:a,right:o}=t;return n>=i&&n<=r&&e>=a&&e<=o}function L(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function A(t,e,n,i){const{top:r,right:a,bottom:o,left:s,width:l,height:c}=t,u=l*e,h=c*e;return i>r-h&&is-u&&n{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:O(t)})})}handleScroll(t){const e=t.target,n=this.positions.get(e);if(!n)return null;const i=e===this._document?e.documentElement:e,r=n.scrollPosition;let a,o;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();a=t.top,o=t.left}else a=e.scrollTop,o=e.scrollLeft;const s=r.top-a,l=r.left-o;return this.positions.forEach((t,n)=>{t.clientRect&&e!==n&&i.contains(n)&&L(t.clientRect,s,l)}),r.top=a,r.left=o,{top:s,left:l}}}function P(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();e.removeAttribute("id");for(let r=0;r{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{t.preventDefault();const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),n=this._dropContainer;if(!e)return void this._endDragSequence(t);n&&(n.isDragging()||n.isReceiving())||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const n=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,e);else{const t=this._activeTransform;t.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:t,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),this._parentPositions=new I(n,r),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(s.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>S(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>Object(s.e)(t)),this._handles.forEach(t=>S(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(s.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,F),e.addEventListener("touchstart",this._pointerDown,N)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Object(s.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&B(this._rootElement),B(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),S(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),S(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&B(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&B(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){W(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,n=t.parentNode,i=this._preview=this._createPreviewElement(),r=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();n.insertBefore(a,t),C(t,!1),this._document.body.appendChild(n.replaceChild(r,t)),function(t,e){return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}(this._document,o).appendChild(i),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),i=W(e),r=!i&&0!==e.button,a=this._rootElement,o=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||r||o)return;this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=O(this._boundaryElement));const s=this._previewTemplate;this._pickupPositionInElement=s&&s.template&&!s.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){C(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),i=this._getPointerPositionOnPage(t),r=this._getDragDistance(this._getPointerPositionOnPage(t)),a=e._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:r}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:r}),e.drop(this,n,this._initialIndex,this._initialContainer,a,r),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:n,y:i}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(n,i),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=H(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,n=t?t.template:null;let i;if(n&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,r=t.viewContainer.createEmbeddedView(n,t.context);r.detectChanges(),i=U(r,this._document),this._previewRef=r,t.matchSize?G(i,e):i.style.transform=H(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;i=P(t),G(i,t.getBoundingClientRect())}return M(i.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),S(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>i.classList.add(t)):i.classList.add(e)),i}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=H(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=D(e,"transition-property"),i=n.find(t=>"transform"===t||"all"===t);if(!i)return 0;const r=n.indexOf(i),a=D(e,"transition-duration"),o=D(e,"transition-delay");return k(a[r])+k(o[r])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(i))},i=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),n=U(this._placeholderRef,this._document)):n=P(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),i=t===this._rootElement?null:t,r=i?i.getBoundingClientRect():n,a=W(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:r.left-n.left+(a.pageX-r.left-o.left),y:r.top-n.top+(a.pageY-r.top-o.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),n=W(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,i=n.pageX-e.left,r=n.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=i,e.y=r,e.matrixTransform(t.inverse())}}return{x:i,y:r}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:i}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?i=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,r=this._boundaryRect,a=this._previewRect,o=r.top+e,s=r.bottom-(a.height-e);n=z(n,r.left+t,r.right-(a.width-t)),i=z(i,o,s)}return{x:n,y:i}}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,i=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-r.x),o=Math.abs(n-r.y);return a>this._config.pointerDirectionChangeThreshold&&(i.x=e>r.x?1:-1,r.x=e),o>this._config.pointerDirectionChangeThreshold&&(i.y=n>r.y?1:-1,r.y=n),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,S(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,F),t.removeEventListener("touchstart",this._pointerDown,N)}_applyRootElementTransform(t,e){const n=H(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===i.width&&0===i.height)return;const r=n.left-i.left,a=i.right-n.right,o=n.top-i.top,s=i.bottom-n.bottom;n.width>i.width?(r>0&&(t+=r),a>0&&(t-=a)):t=0,n.height>i.height?(o>0&&(e+=o),s>0&&(e-=s)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:W(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const n=t.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&L(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Object(o.c)(this._rootElement)),this._cachedShadowRoot}}function H(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function z(t,e,n){return Math.max(e,Math.min(n,t))}function B(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function W(t){return"t"===t.type[0]}function U(t,e){const n=t.rootNodes;if(1===n.length&&n[0].nodeType===e.ELEMENT_NODE)return n[0];const i=e.createElement("div");return n.forEach(t=>i.appendChild(t)),i}function G(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=H(e.left,e.top)}function q(t,e,n){const i=X(e,t.length-1),r=X(n,t.length-1);if(i===r)return;const a=t[i],o=r!0,this.sortPredicate=()=>!0,this.beforeStarted=new l.a,this.entered=new l.a,this.exited=new l.a,this.dropped=new l.a,this.sorted=new l.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=c.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new l.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=h.a){return(!Object(d.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=h.a),new u.a(n=>(n.add(e.schedule(p,t,{subscriber:n,counter:0,period:t})),n))}(0,f.a).pipe(Object(g.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?J(t,-2):2===this._verticalScrollDirection&&J(t,2),1===this._horizontalScrollDirection?$(t,-2):2===this._horizontalScrollDirection&&$(t,2)})},this.element=Object(s.e)(t),this._document=n,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new I(n,r)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(s.e)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,n,i){let r;this.start(),null==i?(r=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===r&&(r=this._getItemIndexFromPointerPosition(t,e,n))):r=i;const a=this._activeDraggables,o=a.indexOf(t),l=t.getPlaceholderElement();let c=a[r];if(c===t&&(c=a[r+1]),o>-1&&a.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(l,e),a.splice(r,0,t)}else if(this._shouldEnterAsFirstChild(e,n)){const e=a[0].getRootElement();e.parentNode.insertBefore(l,e),a.unshift(t)}else Object(s.e)(this.element).appendChild(l),a.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,i,r,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:n,container:this,previousContainer:i,isPointerOverContainer:r,distance:a})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Object(s.e)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?K("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,i){if(this.sortingDisabled||!A(this._clientRect,.05,e,n))return;const r=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,n,i);if(-1===a&&r.length>0)return;const o="horizontal"===this._orientation,s=K(r,e=>e.drag===t),l=r[a],c=l.clientRect,u=s>a?1:-1,h=this._getItemOffsetPx(r[s].clientRect,c,u),d=this._getSiblingOffsetPx(s,r,u),p=r.slice();q(r,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:t}),r.forEach((e,n)=>{if(p[n]===e)return;const i=e.drag===t,r=i?h:d,a=i?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=r,o?(a.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,L(e.clientRect,0,r)):(a.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,L(e.clientRect,r,0))}),this._previousSwap.overlaps=T(c,e,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=o?i.x:i.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let n,i=0,r=0;if(this._parentPositions.positions.forEach((a,o)=>{o!==this._document&&a.clientRect&&!n&&A(a.clientRect,.05,t,e)&&([i,r]=function(t,e,n,i){const r=Q(e,i),a=tt(e,n);let o=0,s=0;if(r){const e=t.scrollTop;1===r?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(a){const e=t.scrollLeft;1===a?e>0&&(s=1):t.scrollWidth-e>t.clientWidth&&(s=2)}return[o,s]}(o,a.clientRect,t,e),(i||r)&&(n=o))}),!i&&!r){const{width:a,height:o}=this._viewportRuler.getViewportSize(),s={width:a,height:o,top:0,right:a,bottom:o,left:0};i=Q(s,e),r=tt(s,t),n=window}!n||i===this._verticalScrollDirection&&r===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=r,this._scrollNode=n,(i||r)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const t=Object(s.e)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,clientRect:O(e)}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const t=Object(s.e)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,n){const i="horizontal"===this._orientation,r=e[t].clientRect,a=e[t+-1*n];let o=r[i?"width":"height"]*n;if(a){const t=i?"left":"top",e=i?"right":"bottom";-1===n?o-=a.clientRect[t]-r[e]:o+=r[t]-a.clientRect[e]}return o}_getItemOffsetPx(t,e,n){const i="horizontal"===this._orientation;let r=i?e.left-t.left:e.top-t.top;return-1===n&&(r+=i?e.width-t.width:e.height-t.height),r}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,i="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const r=n[n.length-1].clientRect;return i?t>=r.right:e>=r.bottom}{const r=n[0].clientRect;return i?t<=r.left:e<=r.top}}_getItemIndexFromPointerPosition(t,e,n,i){const r="horizontal"===this._orientation,a=K(this._itemPositions,({drag:a,clientRect:o},s,l)=>{if(a===t)return l.length<2;if(i){const t=r?i.x:i.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return r?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&ni._canReceive(t,e,n))}_canReceive(t,e,n){if(!T(this._clientRect,e,n)||!this.enterPredicate(t,this))return!1;const i=this._getShadowRoot().elementFromPoint(e,n);if(!i)return!1;const r=Object(s.e)(this.element);return i===r||r.contains(i)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{L(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=Object(o.c)(Object(s.e)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function K(t,e){for(let n=0;n=n-a&&e<=n+a?1:e>=i-a&&e<=i+a?2:0}function tt(t,e){const{left:n,right:i,width:r}=t,a=.05*r;return e>=n-a&&e<=n+a?1:e>=i-a&&e<=i+a?2:0}const et=Object(o.f)({passive:!1,capture:!0});let nt=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new l.a,this.pointerUp=new l.a,this.scroll=new l.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.size&&(t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,et)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,et)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:et}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:et}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.B),i.Yb(r.d))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(i.B),Object(i.Yb)(r.d))},token:t,providedIn:"root"}),t})();const it={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let rt=(()=>{class t{constructor(t,e,n,i){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=i}createDrag(t,e=it){return new V(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new Z(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.d),i.Yb(i.B),i.Yb(a.e),i.Yb(nt))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(r.d),Object(i.Yb)(i.B),Object(i.Yb)(a.e),Object(i.Yb)(nt))},token:t,providedIn:"root"}),t})();const at=new i.s("CDK_DRAG_PARENT"),ot=new i.s("CdkDropListGroup"),st=new i.s("CDK_DRAG_CONFIG");let lt=0;const ct=new i.s("CdkDropList");let ut=(()=>{class t{constructor(e,n,r,a,o,s,c){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=a,this._dir=o,this._group=s,this._destroyed=new l.a,this.connectedTo=[],this.id="cdk-drop-list-"+lt++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new i.o,this.entered=new i.o,this.exited=new i.o,this.sorted=new i.o,this._unsortedItems=new Set,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,n)=>this.sortPredicate(t,e.data,n.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),s&&s._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Object(s.c)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(_.a)(this._dir.value),Object(g.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=Object(s.b)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Object(s.c)(this.sortingDisabled),e.autoScrollDisabled=Object(s.c)(this.autoScrollDisabled),e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:n,sortingDisabled:i,listAutoScrollDisabled:r,listOrientation:a}=t;this.disabled=null!=n&&n,this.sortingDisabled=null!=i&&i,this.autoScrollDisabled=null!=r&&r,this.orientation=a||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(rt),i.Ob(i.h),i.Ob(a.c),i.Ob(x.b,8),i.Ob(ot,12),i.Ob(st,8))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("id",e.id),i.Gb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[i.Bb([{provide:ot,useValue:void 0},{provide:ct,useExisting:t}])]}),t._dropLists=[],t})();const ht=new i.s("CdkDragHandle"),dt=new i.s("CdkDragPlaceholder"),pt=new i.s("CdkDragPreview");let ft=(()=>{class t{constructor(t,e,n,r,a,o,s,c,h,d){this.element=t,this.dropContainer=e,this._ngZone=r,this._viewContainerRef=a,this._dir=s,this._changeDetectorRef=h,this._selfHandle=d,this._destroyed=new l.a,this.started=new i.o,this.released=new i.o,this.ended=new i.o,this.entered=new i.o,this.exited=new i.o,this.dropped=new i.o,this.moved=new u.a(t=>{const e=this._dragRef.moved.pipe(Object(y.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=c.createDrag(t,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,o&&this._assignDefaults(o),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(s.c)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(Object(b.a)(1),Object(g.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(_.a)(this._handles),Object(v.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),Object(w.a)(t=>Object(m.a)(...t.map(t=>t._stateChanges.pipe(Object(_.a)(t))))),Object(g.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?mt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?mt(this.element.nativeElement,t):Object(s.e)(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,r=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:Object(s.f)(n),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(r),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:n,constrainPosition:i,previewClass:r,boundaryElement:a,draggingDisabled:o,rootElementSelector:s}=t;this.disabled=null!=o&&o,this.dragStartDelay=n||0,e&&(this.lockAxis=e),i&&(this.constrainPosition=i),r&&(this.previewClass=r),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(ct,12),i.Ob(r.d),i.Ob(i.B),i.Ob(i.R),i.Ob(st,8),i.Ob(x.b,8),i.Ob(rt),i.Ob(i.h),i.Ob(ht,10))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,n){if(1&t&&(i.Hb(n,pt,!0),i.Hb(n,dt,!0),i.Hb(n,ht,!0)),2&t){let t;i.tc(t=i.cc())&&(e._previewTemplate=t.first),i.tc(t=i.cc())&&(e._placeholderTemplate=t.first),i.tc(t=i.cc())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&i.Gb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[i.Bb([{provide:at,useExisting:t}]),i.Ab]}),t})();function mt(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}let gt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[rt],imports:[a.b]}),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?a=>a.pipe(o((n,a)=>Object(r.a)(t(n,a)).pipe(Object(i.a)((t,i)=>e(n,t,a,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new s(t,n)))}class s{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends a.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5WsY":function(t,e,n){"use strict";var i=n("vJtL"),r=n("Js68");e.a=function(t){return null!=t&&Object(r.a)(t.length)&&!Object(i.a)(t)}},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";n.d(e,"a",function(){return d});let i=1;const r=(()=>Promise.resolve())(),a={};function o(t){return t in a&&(delete a[t],!0)}const s={setImmediate(t){const e=i++;return a[e]=!0,r.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n("3N8a");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=s.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(s.clearImmediate(e),t.scheduled=void 0)}}var u=n("IjjT");class h extends u.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i0?e:0,this.numeralDecimalScale=n>=0?n:2,this.numeralThousandsGroupStyle=i||r.groupStyle.thousand,this.numeralPositiveOnly=!!a,this.stripLeadingZeroes=!1!==o,this.prefix=s||""===s?s:"",this.signBeforePrefix=!!l,this.tailPrefix=!!c,this.delimiter=u||""===u?u:",",this.delimiterRE=u?new RegExp("\\"+u,"g"):""};r.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},r.prototype={getRawValue:function(t){return t.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(t){var e,n,i,a,o="";switch(t=t.replace(/[A-Za-z]/g,"").replace(this.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",this.numeralPositiveOnly?"":"-").replace("M",this.numeralDecimalMark),this.stripLeadingZeroes&&(t=t.replace(/^(-)?0+(?=\d)/,"$1")),n="-"===t.slice(0,1)?"-":"",i=void 0!==this.prefix?this.signBeforePrefix?n+this.prefix:this.prefix+n:n,a=t,t.indexOf(this.numeralDecimalMark)>=0&&(a=(e=t.split(this.numeralDecimalMark))[0],o=this.numeralDecimalMark+e[1].slice(0,this.numeralDecimalScale)),"-"===n&&(a=a.slice(1)),this.numeralIntegerScale>0&&(a=a.slice(0,this.numeralIntegerScale)),this.numeralThousandsGroupStyle){case r.groupStyle.lakh:a=a.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+this.delimiter);break;case r.groupStyle.wan:a=a.replace(/(\d)(?=(\d{4})+$)/g,"$1"+this.delimiter);break;case r.groupStyle.thousand:a=a.replace(/(\d)(?=(\d{3})+$)/g,"$1"+this.delimiter)}return this.tailPrefix?n+a.toString()+(this.numeralDecimalScale>0?o.toString():"")+this.prefix:i+a.toString()+(this.numeralDecimalScale>0?o.toString():"")}};var a=r,o=function(t,e,n){this.date=[],this.blocks=[],this.datePattern=t,this.dateMin=e.split("-").reverse().map(function(t){return parseInt(t,10)}),2===this.dateMin.length&&this.dateMin.unshift(0),this.dateMax=n.split("-").reverse().map(function(t){return parseInt(t,10)}),2===this.dateMax.length&&this.dateMax.unshift(0),this.initBlocks()};o.prototype={initBlocks:function(){var t=this;t.datePattern.forEach(function(e){t.blocks.push("Y"===e?4:2)})},getISOFormatDate:function(){var t=this.date;return t[2]?t[2]+"-"+this.addLeadingZero(t[1])+"-"+this.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(t){var e=this,n="";return t=t.replace(/[^\d]/g,""),e.blocks.forEach(function(i,r){if(t.length>0){var a=t.slice(0,i),o=a.slice(0,1),s=t.slice(i);switch(e.datePattern[r]){case"d":"00"===a?a="01":parseInt(o,10)>3?a="0"+o:parseInt(a,10)>31&&(a="31");break;case"m":"00"===a?a="01":parseInt(o,10)>1?a="0"+o:parseInt(a,10)>12&&(a="12")}n+=a,t=s}}),this.getFixedDateString(n)},getFixedDateString:function(t){var e,n,i,r=this,a=r.datePattern,o=[],s=0,l=0,c=0,u=0,h=0,d=0,p=!1;return 4===t.length&&"y"!==a[0].toLowerCase()&&"y"!==a[1].toLowerCase()&&(h=2-(u="d"===a[0]?0:2),e=parseInt(t.slice(u,u+2),10),n=parseInt(t.slice(h,h+2),10),o=this.getFixedDate(e,n,0)),8===t.length&&(a.forEach(function(t,e){switch(t){case"d":s=e;break;case"m":l=e;break;default:c=e}}),d=2*c,u=s<=c?2*s:2*s+2,h=l<=c?2*l:2*l+2,e=parseInt(t.slice(u,u+2),10),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+4),10),p=4===t.slice(d,d+4).length,o=this.getFixedDate(e,n,i)),4!==t.length||"y"!==a[0]&&"y"!==a[1]||(d=2-(h="m"===a[0]?0:2),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),p=2===t.slice(d,d+2).length,o=[0,n,i]),6!==t.length||"Y"!==a[0]&&"Y"!==a[1]||(d=2-.5*(h="m"===a[0]?0:4),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+4),10),p=4===t.slice(d,d+4).length,o=[0,n,i]),o=r.getRangeFixedDate(o),r.date=o,0===o.length?t:a.reduce(function(t,e){switch(e){case"d":return t+(0===o[0]?"":r.addLeadingZero(o[0]));case"m":return t+(0===o[1]?"":r.addLeadingZero(o[1]));case"y":return t+(p?r.addLeadingZeroForYear(o[2],!1):"");case"Y":return t+(p?r.addLeadingZeroForYear(o[2],!0):"")}},"")},getRangeFixedDate:function(t){var e=this.dateMin||[],n=this.dateMax||[];return!t.length||e.length<3&&n.length<3||this.datePattern.find(function(t){return"y"===t.toLowerCase()})&&0===t[2]?t:n.length&&(n[2]t[2]||e[2]===t[2]&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0]))?e:t},getFixedDate:function(t,e,n){return t=Math.min(t,31),e=Math.min(e,12),n=parseInt(n||0,10),(e<7&&e%2==0||e>8&&e%2==1)&&(t=Math.min(t,2===e?this.isLeapYear(n)?29:28:30)),[t,e,n]},isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},addLeadingZero:function(t){return(t<10?"0":"")+t},addLeadingZeroForYear:function(t,e){return e?(t<10?"000":t<100?"00":t<1e3?"0":"")+t:(t<10?"0":"")+t}};var s=o,l=function(t,e){this.time=[],this.blocks=[],this.timePattern=t,this.timeFormat=e,this.initBlocks()};l.prototype={initBlocks:function(){var t=this;t.timePattern.forEach(function(){t.blocks.push(2)})},getISOFormatTime:function(){var t=this.time;return t[2]?this.addLeadingZero(t[0])+":"+this.addLeadingZero(t[1])+":"+this.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(t){var e=this,n="";t=t.replace(/[^\d]/g,"");var i=e.getTimeFormatOptions();return e.blocks.forEach(function(r,a){if(t.length>0){var o=t.slice(0,r),s=o.slice(0,1),l=t.slice(r);switch(e.timePattern[a]){case"h":parseInt(s,10)>i.maxHourFirstDigit?o="0"+s:parseInt(o,10)>i.maxHours&&(o=i.maxHours+"");break;case"m":case"s":parseInt(s,10)>i.maxMinutesFirstDigit?o="0"+s:parseInt(o,10)>i.maxMinutes&&(o=i.maxMinutes+"")}n+=o,t=l}}),this.getFixedTimeString(n)},getFixedTimeString:function(t){var e,n,i,r=this,a=r.timePattern,o=[],s=0,l=0,c=0,u=0,h=0,d=0;return 6===t.length&&(a.forEach(function(t,e){switch(t){case"s":s=2*e;break;case"m":l=2*e;break;case"h":c=2*e}}),d=c,h=l,u=s,e=parseInt(t.slice(u,u+2),10),n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),o=this.getFixedTime(i,n,e)),4===t.length&&r.timePattern.indexOf("s")<0&&(a.forEach(function(t,e){switch(t){case"m":l=2*e;break;case"h":c=2*e}}),d=c,h=l,e=0,n=parseInt(t.slice(h,h+2),10),i=parseInt(t.slice(d,d+2),10),o=this.getFixedTime(i,n,e)),r.time=o,0===o.length?t:a.reduce(function(t,e){switch(e){case"s":return t+r.addLeadingZero(o[2]);case"m":return t+r.addLeadingZero(o[1]);case"h":return t+r.addLeadingZero(o[0])}},"")},getFixedTime:function(t,e,n){return n=Math.min(parseInt(n||0,10),60),e=Math.min(e,60),[t=Math.min(t,60),e,n]},addLeadingZero:function(t){return(t<10?"0":"")+t}};var c=l,u=function(t,e){this.delimiter=e||""===e?e:" ",this.delimiterRE=e?new RegExp("\\"+e,"g"):"",this.formatter=t};u.prototype={setFormatter:function(t){this.formatter=t},format:function(t){this.formatter.clear();for(var e,n="",i=!1,r=0,a=(t=(t=(t=t.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(this.delimiterRE,"")).length;r0,l="";return 0===n?t:(e.forEach(function(e,c){if(t.length>0){var u=t.slice(0,e),h=t.slice(e);l=s?r[a?c-1:c]||l:i,a?(c>0&&(o+=l),o+=u):(o+=u,u.length===e&&c0?e.numeralIntegerScale:0,t.numeralDecimalScale=e.numeralDecimalScale>=0?e.numeralDecimalScale:2,t.numeralDecimalMark=e.numeralDecimalMark||".",t.numeralThousandsGroupStyle=e.numeralThousandsGroupStyle||"thousand",t.numeralPositiveOnly=!!e.numeralPositiveOnly,t.stripLeadingZeroes=!1!==e.stripLeadingZeroes,t.signBeforePrefix=!!e.signBeforePrefix,t.tailPrefix=!!e.tailPrefix,t.swapHiddenInput=!!e.swapHiddenInput,t.numericOnly=t.creditCard||t.date||!!e.numericOnly,t.uppercase=!!e.uppercase,t.lowercase=!!e.lowercase,t.prefix=t.creditCard||t.date?"":e.prefix||"",t.noImmediatePrefix=!!e.noImmediatePrefix,t.prefixLength=t.prefix.length,t.rawValueTrimPrefix=!!e.rawValueTrimPrefix,t.copyDelimiter=!!e.copyDelimiter,t.initValue=null!=e.initValue?e.initValue.toString():"",t.delimiter=e.delimiter||""===e.delimiter?e.delimiter:e.date?"/":e.time?":":e.numeral?",":" ",t.delimiterLength=t.delimiter.length,t.delimiterLazyShow=!!e.delimiterLazyShow,t.delimiters=e.delimiters||[],t.blocks=e.blocks||[],t.blocksLength=t.blocks.length,t.root="object"==typeof i&&i?i:window,t.document=e.document||t.root.document,t.maxLength=0,t.backspace=!1,t.result="",t.onValueChanged=e.onValueChanged||function(){},t}},g=function(t,e){var n=!1;if("string"==typeof t?(this.element=document.querySelector(t),n=document.querySelectorAll(t).length>1):void 0!==t.length&&t.length>0?(this.element=t[0],n=t.length>1):this.element=t,!this.element)throw new Error("[cleave.js] Please check the element");if(n)try{console.warn("[cleave.js] Multiple input fields matched, cleave.js will only take the first one.")}catch(i){}e.initValue=this.element.value,this.properties=g.DefaultProperties.assign({},e),this.init()};g.prototype={init:function(){var t=this.properties;t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix?(t.maxLength=g.Util.getMaxLength(t.blocks),this.isAndroid=g.Util.isAndroid(),this.lastInputValue="",this.isBackward="",this.onChangeListener=this.onChange.bind(this),this.onKeyDownListener=this.onKeyDown.bind(this),this.onFocusListener=this.onFocus.bind(this),this.onCutListener=this.onCut.bind(this),this.onCopyListener=this.onCopy.bind(this),this.initSwapHiddenInput(),this.element.addEventListener("input",this.onChangeListener),this.element.addEventListener("keydown",this.onKeyDownListener),this.element.addEventListener("focus",this.onFocusListener),this.element.addEventListener("cut",this.onCutListener),this.element.addEventListener("copy",this.onCopyListener),this.initPhoneFormatter(),this.initDateFormatter(),this.initTimeFormatter(),this.initNumeralFormatter(),(t.initValue||t.prefix&&!t.noImmediatePrefix)&&this.onInput(t.initValue)):this.onInput(t.initValue)},initSwapHiddenInput:function(){if(this.properties.swapHiddenInput){var t=this.element.cloneNode(!0);this.element.parentNode.insertBefore(t,this.element),this.elementSwapHidden=this.element,this.elementSwapHidden.type="hidden",this.element=t,this.element.id=""}},initNumeralFormatter:function(){var t=this.properties;t.numeral&&(t.numeralFormatter=new g.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.prefix,t.signBeforePrefix,t.tailPrefix,t.delimiter))},initTimeFormatter:function(){var t=this.properties;t.time&&(t.timeFormatter=new g.TimeFormatter(t.timePattern,t.timeFormat),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=g.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var t=this.properties;t.date&&(t.dateFormatter=new g.DateFormatter(t.datePattern,t.dateMin,t.dateMax),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=g.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var t=this.properties;if(t.phone)try{t.phoneFormatter=new g.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(e){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(t){var e=t.which||t.keyCode;this.lastInputValue=this.element.value,this.isBackward=8===e},onChange:function(t){var e=this.properties,n=g.Util;this.isBackward=this.isBackward||"deleteContentBackward"===t.inputType;var i=n.getPostDelimiter(this.lastInputValue,e.delimiter,e.delimiters);e.postDelimiterBackspace=!(!this.isBackward||!i)&&i,this.onInput(this.element.value)},onFocus:function(){var t=this.properties;this.lastInputValue=this.element.value,t.prefix&&t.noImmediatePrefix&&!this.element.value&&this.onInput(t.prefix),g.Util.fixPrefixCursor(this.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(t){g.Util.checkFullSelection(this.element.value)&&(this.copyClipboardData(t),this.onInput(""))},onCopy:function(t){g.Util.checkFullSelection(this.element.value)&&this.copyClipboardData(t)},copyClipboardData:function(t){var e,n=this.properties,i=this.element.value;e=n.copyDelimiter?i:g.Util.stripDelimiters(i,n.delimiter,n.delimiters);try{t.clipboardData?t.clipboardData.setData("Text",e):window.clipboardData.setData("Text",e),t.preventDefault()}catch(r){}},onInput:function(t){var e=this.properties,n=g.Util,i=n.getPostDelimiter(t,e.delimiter,e.delimiters);return e.numeral||!e.postDelimiterBackspace||i||(t=n.headStr(t,t.length-e.postDelimiterBackspace.length)),e.phone?(e.result=!e.prefix||e.noImmediatePrefix&&!t.length?e.phoneFormatter.format(t):e.prefix+e.phoneFormatter.format(t).slice(e.prefix.length),void this.updateValueState()):e.numeral?(e.result=e.prefix&&e.noImmediatePrefix&&0===t.length?"":e.numeralFormatter.format(t),void this.updateValueState()):(e.date&&(t=e.dateFormatter.getValidatedDate(t)),e.time&&(t=e.timeFormatter.getValidatedTime(t)),t=n.stripDelimiters(t,e.delimiter,e.delimiters),t=n.getPrefixStrippedValue(t,e.prefix,e.prefixLength,e.result,e.delimiter,e.delimiters,e.noImmediatePrefix,e.tailPrefix,e.signBeforePrefix),t=e.numericOnly?n.strip(t,/[^\d]/g):t,t=e.uppercase?t.toUpperCase():t,t=e.lowercase?t.toLowerCase():t,e.prefix&&(e.tailPrefix?t+=e.prefix:t=e.prefix+t,0===e.blocksLength)?(e.result=t,void this.updateValueState()):(e.creditCard&&this.updateCreditCardPropsByValue(t),t=n.headStr(t,e.maxLength),e.result=n.getFormattedValue(t,e.blocks,e.blocksLength,e.delimiter,e.delimiters,e.delimiterLazyShow),void this.updateValueState()))},updateCreditCardPropsByValue:function(t){var e,n=this.properties,i=g.Util;i.headStr(n.result,4)!==i.headStr(t,4)&&(e=g.CreditCardDetector.getInfo(t,n.creditCardStrictMode),n.blocks=e.blocks,n.blocksLength=n.blocks.length,n.maxLength=i.getMaxLength(n.blocks),n.creditCardType!==e.type&&(n.creditCardType=e.type,n.onCreditCardTypeChanged.call(this,n.creditCardType)))},updateValueState:function(){var t=this,e=g.Util,n=t.properties;if(t.element){var i=t.element.selectionEnd,r=n.result;i=e.getNextCursorPosition(i,t.element.value,r,n.delimiter,n.delimiters),t.isAndroid?window.setTimeout(function(){t.element.value=r,e.setSelection(t.element,i,n.document,!1),t.callOnValueChanged()},1):(t.element.value=r,n.swapHiddenInput&&(t.elementSwapHidden.value=t.getRawValue()),e.setSelection(t.element,i,n.document,!1),t.callOnValueChanged())}},callOnValueChanged:function(){var t=this.properties;t.onValueChanged.call(this,{target:{name:this.element.name,value:t.result,rawValue:this.getRawValue()}})},setPhoneRegionCode:function(t){this.properties.phoneRegionCode=t,this.initPhoneFormatter(),this.onChange()},setRawValue:function(t){var e=this.properties;t=null!=t?t.toString():"",e.numeral&&(t=t.replace(".",e.numeralDecimalMark)),e.postDelimiterBackspace=!1,this.element.value=t,this.onInput(t)},getRawValue:function(){var t=this.properties,e=g.Util,n=this.element.value;return t.rawValueTrimPrefix&&(n=e.getPrefixStrippedValue(n,t.prefix,t.prefixLength,t.result,t.delimiter,t.delimiters,t.noImmediatePrefix,t.tailPrefix,t.signBeforePrefix)),t.numeral?t.numeralFormatter.getRawValue(n):e.stripDelimiters(n,t.delimiter,t.delimiters)},getISOFormatDate:function(){var t=this.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var t=this.properties;return t.time?t.timeFormatter.getISOFormatTime():""},getFormattedValue:function(){return this.element.value},destroy:function(){this.element.removeEventListener("input",this.onChangeListener),this.element.removeEventListener("keydown",this.onKeyDownListener),this.element.removeEventListener("focus",this.onFocusListener),this.element.removeEventListener("cut",this.onCutListener),this.element.removeEventListener("copy",this.onCopyListener)},toString:function(){return"[Cleave Object]"}},g.NumeralFormatter=a,g.DateFormatter=s,g.TimeFormatter=c,g.PhoneFormatter=h,g.CreditCardDetector=p,g.Util=f,g.DefaultProperties=m,("object"==typeof i&&i?i:window).Cleave=g;var _=g,y=n("fXoL");let b=(()=>{class t{constructor(t){this._elementRef=t}set cleave(t){this._instance&&this._instance.destroy(),this._instance=new _(this._elementRef.nativeElement,t)}}return t.\u0275fac=function(e){return new(e||t)(y.Ob(y.l))},t.\u0275dir=y.Jb({type:t,selectors:[["","cleave",""]],inputs:{cleave:"cleave"}}),t})()},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(t){return t+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(t){return"\u0db4.\u0dc0."===t||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===t},meridiem:function(t,e,n){return t>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7gMY":function(t,e,n){"use strict";var i=n("9f76"),r=n("/1FC"),a=n("WOAq"),o=n("cSlR"),s=n("oYcn"),l=Object.prototype.hasOwnProperty;e.a=function(t,e){var n=Object(r.a)(t),c=!n&&Object(i.a)(t),u=!n&&!c&&Object(a.a)(t),h=!n&&!c&&!u&&Object(s.a)(t),d=n||c||u||h,p=d?function(t,e){for(var n=-1,i=Array(t);++nthis._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8LU1":function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return a}),n.d(e,"g",function(){return u});var i=n("fXoL");function r(t){return null!=t&&""+t!="false"}function a(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function s(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:t+"px"}function c(t){return t instanceof i.l?t.nativeElement:t}function u(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:(""+t).split(e);for(const t of i){const e=(""+t).trim();e&&n.push(e)}}return n}},"8M4i":function(t,e,n){"use strict";var i=n("ylTp"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i.a?i.a.toStringTag:void 0,l=Object.prototype.toString,c=i.a?i.a.toStringTag:void 0;e.a=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(l){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r}(t):function(t){return l.call(t)}(t)}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8yBR":function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return g}),n.d(e,"h",function(){return b});var i=n("FvrZ"),r=n("FKr1"),a=n("8LU1"),o=n("0EQZ"),s=n("2Vo4"),l=n("VRyK"),c=(n("IzEk"),n("lJxs")),u=n("fXoL");const h=Object(r.D)(Object(r.A)(i.e));let d=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this.tabIndex=Number(n)||0,this._elementRef.nativeElement.classList.add("mat-tree-node")}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(u.Ob(u.l),u.Ob(i.c),u.Zb("tabindex"))},t.\u0275dir=u.Jb({type:t,selectors:[["mat-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[u.Bb([{provide:i.e,useExisting:t}]),u.zb]}),t})(),p=(()=>{class t extends i.f{}return t.\u0275fac=function(e){return f(e||t)},t.\u0275dir=u.Jb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[u.Bb([{provide:i.f,useExisting:t}]),u.zb]}),t})();const f=u.Wb(p);let m=(()=>{class t extends i.b{constructor(t,e,n,i){super(t,e,n),this._elementRef=t,this._tree=e,this._differs=n,this._disabled=!1,this.tabIndex=Number(i)||0,this._elementRef.nativeElement.classList.add("mat-nested-tree-node")}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:0}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return t.\u0275fac=function(e){return new(e||t)(u.Ob(u.l),u.Ob(i.c),u.Ob(u.u),u.Zb("tabindex"))},t.\u0275dir=u.Jb({type:t,selectors:[["mat-nested-tree-node"]],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[u.Bb([{provide:i.b,useExisting:t},{provide:i.e,useExisting:t},{provide:i.a,useExisting:t}]),u.zb]}),t})(),g=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(u.Ob(u.R),u.Ob(i.a,8))},t.\u0275dir=u.Jb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[u.Bb([{provide:i.g,useExisting:t}])]}),t})(),_=(()=>{class t extends i.c{}return t.\u0275fac=function(e){return y(e||t)},t.\u0275cmp=u.Ib({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){if(1&t&&u.Bc(g,!0),2&t){let t;u.tc(t=u.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"mat-tree","cdk-tree"],exportAs:["matTree"],features:[u.Bb([{provide:i.c,useExisting:t}]),u.zb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&u.Qb(0,0)},directives:[g],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const y=u.Wb(_);let b=(()=>{class t extends i.i{get recursive(){return this._recursive}set recursive(t){this._recursive=Object(a.c)(t)}}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=u.Jb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[u.Bb([{provide:i.i,useExisting:t}]),u.zb]}),t})();const v=u.Wb(b);let w=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[i.d,r.j],r.j]}),t})();class x extends o.b{constructor(){super(...arguments),this._data=new s.a([])}get data(){return this._data.value}set data(t){this._data.next(t)}connect(t){return Object(l.a)(t.viewChange,this._data).pipe(Object(c.a)(()=>this.data))}disconnect(){}}},"95ze":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("PCNd"),r=n("fXoL");let a=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.a]]}),t})()},"9f76":function(t,e,n){"use strict";var i=n("8M4i"),r=n("EUcb"),a=function(t){return Object(r.a)(t)&&"[object Arguments]"==Object(i.a)(t)},o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(t){return Object(r.a)(t)&&s.call(t,"callee")&&!l.call(t,"callee")};e.a=c},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},A5z7:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return R}),n.d(e,"c",function(){return P}),n.d(e,"d",function(){return D}),n.d(e,"e",function(){return j});var i=n("FtGj"),r=n("fXoL"),a=n("FKr1"),o=n("8LU1"),s=n("ofXK"),l=n("R1ws"),c=n("XNiG"),u=n("VRyK"),h=n("IzEk"),d=n("1G5W"),p=n("JX91"),f=n("u47x"),m=n("0EQZ"),g=n("kmnG"),_=n("nLfN"),y=n("cH1L"),b=n("3Pt+");const v=["*"],w=new r.s("MatChipRemove"),x=new r.s("MatChipAvatar"),M=new r.s("MatChipTrailingIcon");class S{constructor(t){this._elementRef=t}}const C=Object(a.D)(Object(a.y)(Object(a.z)(S),"primary"),-1);let k=(()=>{class t extends C{constructor(t,e,n,i,o,s,l,u){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new c.a,this._onBlur=new c.a,this.selectionChange=new r.o,this.destroyed=new r.o,this.removed=new r.o,this._addHostClassName(),this._chipRippleTarget=s.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new a.v(this,e,this._chipRippleTarget,n),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=i||{},this._animationsDisabled="NoopAnimations"===l,this.tabIndex=null!=u&&parseInt(u)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=Object(o.c)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=Object(o.c)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}get removable(){return this._removable}set removable(t){this._removable=Object(o.c)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case i.c:case i.b:this.remove(),t.preventDefault();break;case i.n:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe(Object(h.a)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.B),r.Ob(_.a),r.Ob(a.i,8),r.Ob(r.h),r.Ob(s.d),r.Ob(l.a,8),r.Zb("tabindex"))},t.\u0275dir=r.Jb({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,n){if(1&t&&(r.Hb(n,x,!0),r.Hb(n,M,!0),r.Hb(n,w,!0)),2&t){let t;r.tc(t=r.cc())&&(e.avatar=t.first),r.tc(t=r.cc())&&(e.trailingIcon=t.first),r.tc(t=r.cc())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&r.bc("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(r.Db("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),r.Gb("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[r.zb]}),t})(),D=(()=>{class t{constructor(t,e){this._parentChip=t,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}_handleClick(t){const e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(k),r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&r.bc("click",function(t){return e._handleClick(t)})},features:[r.Bb([{provide:w,useExisting:t}])]}),t})();const O=new r.s("mat-chips-default-options");class T{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const L=Object(a.B)(T);let A=0;class I{constructor(t,e){this.source=t,this.value=e}}let P=(()=>{class t extends L{constructor(t,e,n,i,a,o,s){super(o,i,a,s),this._elementRef=t,this._changeDetectorRef=e,this._dir=n,this.ngControl=s,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new c.a,this._uid="mat-chip-list-"+A++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new r.o,this.valueChange=new r.o,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(o.c)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=Object(o.c)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(o.c)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=Object(o.c)(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return Object(u.a)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return Object(u.a)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return Object(u.a)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return Object(u.a)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new f.g(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(d.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(Object(p.a)(null),Object(d.a)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new m.c(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;t.keyCode===i.b&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&tt.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const n=this._selectValue(t,e);n&&e&&this._keyManager.setActiveItem(n)}}_selectValue(t,e=!0){const n=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return n&&(e?n.selectViaInteraction():n.select(),this._selectionModel.select(n)),n}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new I(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,n=this.chips.toArray().indexOf(t.chip);this._isValidIndex(n)&&e._hasFocus&&(this._lastDestroyedChipIndex=n)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(y.b,8),r.Ob(b.p,8),r.Ob(b.g,8),r.Ob(a.d),r.Ob(b.m,10))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,n){if(1&t&&r.Hb(n,k,!0),2&t){let t;r.tc(t=r.cc())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&r.bc("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(r.Xb("id",e._uid),r.Db("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),r.Gb("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[r.Bb([{provide:g.c,useExisting:t}]),r.zb],ngContentSelectors:v,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(r.kc(),r.Ub(0,"div",0),r.jc(1),r.Tb())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),E=0,R=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new r.o,this.placeholder="",this.id="mat-chip-list-input-"+E++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=Object(o.c)(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=Object(o.c)(t)}get empty(){return!this._inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}_keydown(t){t&&t.keyCode===i.o&&!Object(i.s)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this._inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),t&&t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this._inputElement.focus(t)}_isSeparatorKey(t){return!Object(i.s)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(O))},t.\u0275dir=r.Jb({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&r.bc("keydown",function(t){return e._keydown(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(r.Xb("id",e.id),r.Db("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[r.Ab]}),t})();const Y={separatorKeyCodes:[i.f]};let j=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[a.d,{provide:O,useValue:Y}],imports:[[a.j]]}),t})()},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?a+(n||r?"sek\xfandur":"sek\xfandum"):a+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?a+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?a+"m\xedn\xfata":a+"m\xedn\xfatu";case"hh":return e(t)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(r?"daga":"d\xf6gum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?a+"m\xe1nu\xf0ir":a+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?a+"m\xe1nu\xf0ur":a+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return e(t)?a+(n||r?"\xe1r":"\xe1rum"):a+(n||r?"\xe1r":"\xe1ri")}}t.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Ce4a:function(t,e,n){"use strict";var i=n("Ju5/");e.a=i.a.Uint8Array},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var i=n("HDdC"),r=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new a.a;return i.add(e.schedule(()=>{const r=t[o.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new a.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(u.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new a.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},CpTu:function(t,e,n){"use strict";var i,r=n("fywt"),a=n("5WsY"),o=n("mkut"),s=n("G3A0"),l=n("SiRs"),c=Math.max,u=(i=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var a,o,u=null==n?0:(a=function(t){return t?1/0===(t=Object(l.a)(t))||-1/0===t?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}(n),o=a%1,a==a?o?a-o:a:0);return u<0&&(u=c(i+u,0)),Object(s.a)(t,Object(r.a)(e,3),u)},function(t,e,n){var s=Object(t);if(!Object(a.a)(t)){var l=Object(r.a)(e,3);t=Object(o.a)(t),e=function(t){return l(s[t],t,s)}}var c=i(t,e,n);return c>-1?s[l?t[c]:c]:void 0});e.a=u},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dh3D:function(t,e,n){"use strict";n.d(e,"a",function(){return _}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return k});var i=n("fXoL"),r=n("8LU1"),a=n("FKr1"),o=n("FtGj"),s=n("XNiG"),l=n("VRyK"),c=n("R0Ic"),u=n("ofXK"),h=n("u47x");const d=["mat-sort-header",""];function p(t,e){if(1&t){const t=i.Vb();i.Ub(0,"div",3),i.bc("@arrowPosition.start",function(){return i.wc(t),i.fc()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return i.wc(t),i.fc()._disableViewStateAnimation=!1}),i.Pb(1,"div",4),i.Ub(2,"div",5),i.Pb(3,"div",6),i.Pb(4,"div",7),i.Pb(5,"div",8),i.Tb(),i.Tb()}if(2&t){const t=i.fc();i.lc("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),i.Cb(2),i.lc("@indicator",t._getArrowDirectionState()),i.Cb(1),i.lc("@leftPointer",t._getArrowDirectionState()),i.Cb(1),i.lc("@rightPointer",t._getArrowDirectionState())}}const f=["*"];class m{}const g=Object(a.C)(Object(a.A)(m));let _=(()=>{class t extends g{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new s.a,this.start="asc",this._direction="",this.sortChange=new i.o}get direction(){return this._direction}set direction(t){this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(r.c)(t)}register(t){this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";let e=function(t,e){let n=["asc","desc"];return"desc"==t&&n.reverse(),e||n.push(""),n}(t.start||this.start,null!=t.disableClear?t.disableClear:this.disableClear),n=e.indexOf(this.direction)+1;return n>=e.length&&(n=0),e[n]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return y(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[i.zb,i.Ab]}),t})();const y=i.Wb(_),b=a.b.ENTERING+" "+a.a.STANDARD_CURVE,v={indicator:Object(c.m)("indicator",[Object(c.j)("active-asc, asc",Object(c.k)({transform:"translateY(0px)"})),Object(c.j)("active-desc, desc",Object(c.k)({transform:"translateY(10px)"})),Object(c.l)("active-asc <=> active-desc",Object(c.e)(b))]),leftPointer:Object(c.m)("leftPointer",[Object(c.j)("active-asc, asc",Object(c.k)({transform:"rotate(-45deg)"})),Object(c.j)("active-desc, desc",Object(c.k)({transform:"rotate(45deg)"})),Object(c.l)("active-asc <=> active-desc",Object(c.e)(b))]),rightPointer:Object(c.m)("rightPointer",[Object(c.j)("active-asc, asc",Object(c.k)({transform:"rotate(45deg)"})),Object(c.j)("active-desc, desc",Object(c.k)({transform:"rotate(-45deg)"})),Object(c.l)("active-asc <=> active-desc",Object(c.e)(b))]),arrowOpacity:Object(c.m)("arrowOpacity",[Object(c.j)("desc-to-active, asc-to-active, active",Object(c.k)({opacity:1})),Object(c.j)("desc-to-hint, asc-to-hint, hint",Object(c.k)({opacity:.54})),Object(c.j)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(c.k)({opacity:0})),Object(c.l)("* => asc, * => desc, * => active, * => hint, * => void",Object(c.e)("0ms")),Object(c.l)("* <=> *",Object(c.e)(b))]),arrowPosition:Object(c.m)("arrowPosition",[Object(c.l)("* => desc-to-hint, * => desc-to-active",Object(c.e)(b,Object(c.g)([Object(c.k)({transform:"translateY(-25%)"}),Object(c.k)({transform:"translateY(0)"})]))),Object(c.l)("* => hint-to-desc, * => active-to-desc",Object(c.e)(b,Object(c.g)([Object(c.k)({transform:"translateY(0)"}),Object(c.k)({transform:"translateY(25%)"})]))),Object(c.l)("* => asc-to-hint, * => asc-to-active",Object(c.e)(b,Object(c.g)([Object(c.k)({transform:"translateY(25%)"}),Object(c.k)({transform:"translateY(0)"})]))),Object(c.l)("* => hint-to-asc, * => active-to-asc",Object(c.e)(b,Object(c.g)([Object(c.k)({transform:"translateY(0)"}),Object(c.k)({transform:"translateY(-25%)"})]))),Object(c.j)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(c.k)({transform:"translateY(0)"})),Object(c.j)("hint-to-desc, active-to-desc, desc",Object(c.k)({transform:"translateY(-25%)"})),Object(c.j)("hint-to-asc, active-to-asc, asc",Object(c.k)({transform:"translateY(25%)"}))]),allowChildren:Object(c.m)("allowChildren",[Object(c.l)("* <=> *",[Object(c.h)("@*",Object(c.f)(),{optional:!0})])])};let w=(()=>{class t{constructor(){this.changes=new s.a,this.sortButtonLabel=t=>"Change sorting for "+t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const x={provide:w,deps:[[new i.C,new i.L,w]],useFactory:function(t){return t||new w}};class M{}const S=Object(a.A)(M);let C=(()=>{class t extends S{constructor(t,e,n,i,r,a){super(),this._intl=t,this._sort=n,this._columnDef=i,this._focusMonitor=r,this._elementRef=a,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=Object(l.a)(n.sortChange,n._stateChanges,t.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(r.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>this._setIndicatorHintVisible(!!t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(t){this._isDisabled()||t.keyCode!==o.n&&t.keyCode!==o.f||(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(w),i.Ob(i.h),i.Ob(_,8),i.Ob("MAT_SORT_HEADER_COLUMN_DEF",8),i.Ob(h.h),i.Ob(i.l))},t.\u0275cmp=i.Ib({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._handleClick()})("keydown",function(t){return e._handleKeydown(t)})("mouseenter",function(){return e._setIndicatorHintVisible(!0)})("mouseleave",function(){return e._setIndicatorHintVisible(!1)}),2&t&&(i.Db("aria-sort",e._getAriaSortAttribute()),i.Gb("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[i.zb],attrs:d,ngContentSelectors:f,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(i.kc(),i.Ub(0,"div",0),i.Ub(1,"div",1),i.jc(2),i.Tb(),i.Fc(3,p,6,6,"div",2),i.Tb()),2&t&&(i.Gb("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),i.Db("tabindex",e._isDisabled()?null:0),i.Cb(3),i.lc("ngIf",e._renderArrow()))},directives:[u.n],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[v.indicator,v.leftPointer,v.rightPointer,v.arrowOpacity,v.arrowPosition,v.allowChildren]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[x],imports:[[u.c,a.j]]}),t})()},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},DlmY:function(t,e,n){"use strict";var i=n("Y7yP"),r=Object(i.a)(Object,"create"),a=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EUcb:function(t,e,n){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return a});var i=n("HDdC");const r=new i.a(t=>t.complete());function a(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},FFMq:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("weu1"),r=n("fXoL");let a=(()=>{class t{transform(t,e){return Object(i.a)(t,e||"\uff0c")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Nb({name:"join",type:t,pure:!0}),t})()},FKr1:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return v}),n.d(e,"c",function(){return A}),n.d(e,"d",function(){return B}),n.d(e,"e",function(){return I}),n.d(e,"f",function(){return L}),n.d(e,"g",function(){return ut}),n.d(e,"h",function(){return mt}),n.d(e,"i",function(){return tt}),n.d(e,"j",function(){return M}),n.d(e,"k",function(){return W}),n.d(e,"l",function(){return q}),n.d(e,"m",function(){return z}),n.d(e,"n",function(){return ht}),n.d(e,"o",function(){return _t}),n.d(e,"p",function(){return vt}),n.d(e,"q",function(){return ft}),n.d(e,"r",function(){return it}),n.d(e,"s",function(){return rt}),n.d(e,"t",function(){return et}),n.d(e,"u",function(){return nt}),n.d(e,"v",function(){return Q}),n.d(e,"w",function(){return yt}),n.d(e,"x",function(){return bt}),n.d(e,"y",function(){return C}),n.d(e,"z",function(){return k}),n.d(e,"A",function(){return S}),n.d(e,"B",function(){return O}),n.d(e,"C",function(){return T}),n.d(e,"D",function(){return D}),n.d(e,"E",function(){return U});var i=n("fXoL"),r=n("u47x"),a=n("cH1L");const o=new i.Q("11.0.3");var s=n("ofXK"),l=n("8LU1"),c=n("XNiG"),u=n("HDdC"),h=n("nLfN"),d=n("JX91"),p=n("R1ws"),f=n("FtGj");const m=["*",[["mat-option"],["ng-container"]]],g=["*","mat-option, ng-container"];function _(t,e){if(1&t&&i.Pb(0,"mat-pseudo-checkbox",3),2&t){const t=i.fc();i.lc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const y=["*"];let b=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),v=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const w=new i.Q("11.0.3"),x=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let M=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&w.full!==o.full&&console.warn("The Angular Material version ("+w.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)(i.Yb(r.j),i.Yb(x,8),i.Yb(s.d))},imports:[[a.a],a.a]}),t})();function S(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}function k(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(l.c)(t)}}}function D(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(l.f)(t):this.defaultTabIndex}}}function O(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}function T(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new u.a(t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}const L=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.W)(i.w)}});class A{constructor(){this._localeChanges=new c.a,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const I=new i.s("mat-date-formats");let P;try{P="undefined"!=typeof Intl}catch(wt){P=!1}const E={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},R=N(31,t=>String(t+1)),Y={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},j=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function N(t,e){const n=Array(t);for(let i=0;i{class t extends A{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return N(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return E[t]}getDateNames(){if(P){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return N(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return R}getDayOfWeekNames(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return N(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Y[t]}getYearName(t){if(P){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(P){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(j.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(L,8),i.Yb(h.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[{provide:A,useClass:F}],imports:[[h.b]]}),t})();const H={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let z=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[{provide:I,useValue:H}],imports:[[V]]}),t})(),B=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function U(t,e,n="mat"){t.changes.pipe(Object(d.a)(t)).subscribe(({length:t})=>{G(e,n+"-2-line",!1),G(e,n+"-3-line",!1),G(e,n+"-multi-line",!1),2===t||3===t?G(e,`${n}-${t}-line`,!0):t>3&&G(e,n+"-multi-line",!0)})}function G(t,e,n){const i=t.nativeElement.classList;n?i.add(e):i.remove(e)}let q=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[M],M]}),t})();class X{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Z={enterDuration:450,exitDuration:400},K=Object(h.f)({passive:!0}),J=["mousedown","touchstart"],$=["mouseup","mouseleave","touchend","touchcancel"];class Q{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(l.e)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},Z),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const a=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,s=e-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-a+"px",c.style.top=s-a+"px",c.style.height=2*a+"px",c.style.width=2*a+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new X(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},Z),t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(l.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(J))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents($),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(r.l)(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,K)})})}_removeTriggerEvents(){this._triggerElement&&(J.forEach(t=>{this._triggerElement.removeEventListener(t,this,K)}),this._pointerUpEventsRegistered&&$.forEach(t=>{this._triggerElement.removeEventListener(t,this,K)}))}}const tt=new i.s("mat-ripple-global-options");let et=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new Q(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.B),i.Ob(h.a),i.Ob(tt,8),i.Ob(p.a,8))},t.\u0275dir=i.Jb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Gb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),nt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[M,h.b],M]}),t})(),it=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(p.a,8))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Gb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),rt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[M]]}),t})();class at{}const ot=S(at);let st=0,lt=(()=>{class t extends ot{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+st++}}return t.\u0275fac=function(e){return ct(e||t)},t.\u0275dir=i.Jb({type:t,inputs:{label:"label"},features:[i.zb]}),t})();const ct=i.Wb(lt),ut=new i.s("MatOptgroup");let ht=(()=>{class t extends lt{}return t.\u0275fac=function(e){return dt(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),i.Gb("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[i.Bb([{provide:ut,useExisting:t}]),i.zb],ngContentSelectors:g,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(i.kc(m),i.Ub(0,"label",0),i.Hc(1),i.jc(2),i.Tb(),i.jc(3,1)),2&t&&(i.lc("id",e._labelId),i.Cb(1),i.Jc("",e.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();const dt=i.Wb(ht);let pt=0;class ft{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const mt=new i.s("MAT_OPTION_PARENT_COMPONENT");let gt=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+pt++,this.onSelectionChange=new i.o,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==f.f&&t.keyCode!==f.n||Object(f.s)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ft(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.h),i.Ob(void 0),i.Ob(lt))},t.\u0275dir=i.Jb({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),_t=(()=>{class t extends gt{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.h),i.Ob(mt,8),i.Ob(ut,8))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Xb("id",e.id),i.Db("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Gb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.zb],ngContentSelectors:y,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(i.kc(),i.Fc(0,_,1,2,"mat-pseudo-checkbox",0),i.Ub(1,"span",1),i.jc(2),i.Tb(),i.Pb(3,"div",2)),2&t&&(i.lc("ngIf",e.multiple),i.Cb(3),i.lc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[s.n,et,it],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function yt(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),a=0;for(let e=0;en+i?Math.max(0,t-i+e):n}let vt=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[nt,s.c,M,rt]]}),t})()},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},FtGj:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return g}),n.d(e,"d",function(){return m}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return a}),n.d(e,"g",function(){return o}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return d}),n.d(e,"j",function(){return y}),n.d(e,"k",function(){return c}),n.d(e,"l",function(){return l}),n.d(e,"m",function(){return f}),n.d(e,"n",function(){return s}),n.d(e,"o",function(){return r}),n.d(e,"p",function(){return p}),n.d(e,"q",function(){return v}),n.d(e,"r",function(){return _}),n.d(e,"s",function(){return w});const i=8,r=9,a=13,o=27,s=32,l=33,c=34,u=35,h=36,d=37,p=38,f=39,m=40,g=46,_=48,y=57,b=65,v=90;function w(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},FvrZ:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return x}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return k}),n.d(e,"e",function(){return v}),n.d(e,"f",function(){return y}),n.d(e,"g",function(){return g}),n.d(e,"h",function(){return S}),n.d(e,"i",function(){return C}),n.d(e,"j",function(){return f});var i=n("0EQZ"),r=n("7+OI"),a=n("XNiG"),o=n("2Vo4"),s=n("LRne"),l=n("IzEk"),c=n("pLZG"),u=n("1G5W"),h=n("fXoL"),d=n("8LU1"),p=n("cH1L");class f extends class{constructor(){this.expansionModel=new i.c(!0)}toggle(t){this.expansionModel.toggle(this._trackByValue(t))}expand(t){this.expansionModel.select(this._trackByValue(t))}collapse(t){this.expansionModel.deselect(this._trackByValue(t))}isExpanded(t){return this.expansionModel.isSelected(this._trackByValue(t))}toggleDescendants(t){this.expansionModel.isSelected(this._trackByValue(t))?this.collapseDescendants(t):this.expandDescendants(t)}collapseAll(){this.expansionModel.clear()}expandDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.select(...e.map(t=>this._trackByValue(t)))}collapseDescendants(t){let e=[t];e.push(...this.getDescendants(t)),this.expansionModel.deselect(...e.map(t=>this._trackByValue(t)))}_trackByValue(t){return this.trackBy?this.trackBy(t):t}}{constructor(t,e){super(),this.getChildren=t,this.options=e,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const t=this.dataNodes.reduce((t,e)=>[...t,...this.getDescendants(e),e],[]);this.expansionModel.select(...t.map(t=>this._trackByValue(t)))}getDescendants(t){const e=[];return this._getDescendants(e,t),e.splice(1)}_getDescendants(t,e){t.push(e);const n=this.getChildren(e);Array.isArray(n)?n.forEach(e=>this._getDescendants(t,e)):Object(r.a)(n)&&n.pipe(Object(l.a)(1),Object(c.a)(Boolean)).subscribe(e=>{for(const n of e)this._getDescendants(t,n)})}}const m=new h.s("CDK_TREE_NODE_OUTLET_NODE");let g=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(h.R),h.Ob(m,8))},t.\u0275dir=h.Jb({type:t,selectors:[["","cdkTreeNodeOutlet",""]]}),t})();class _{constructor(t){this.$implicit=t}}let y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(h.N))},t.\u0275dir=h.Jb({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),t})(),b=(()=>{class t{constructor(t,e){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new a.a,this._levels=new Map,this.viewChange=new o.a({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const t=this._nodeDefs.filter(t=>!t.when);this._defaultNodeDef=t[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(t){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),t||this._nodeOutlet.viewContainer.clear(),this._dataSource=t,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let t;Object(i.h)(this._dataSource)?t=this._dataSource.connect(this):Object(r.a)(this._dataSource)?t=this._dataSource:Array.isArray(this._dataSource)&&(t=Object(s.a)(this._dataSource)),t&&(this._dataSubscription=t.pipe(Object(u.a)(this._onDestroy)).subscribe(t=>this.renderNodeChanges(t)))}renderNodeChanges(t,e=this._dataDiffer,n=this._nodeOutlet.viewContainer,i){const r=e.diff(t);r&&(r.forEachOperation((e,r,a)=>{if(null==e.previousIndex)this.insertNode(t[a],a,n,i);else if(null==a)n.remove(r),this._levels.delete(e.item);else{const t=n.get(r);n.move(t,a)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(t,e){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(n=>n.when&&n.when(e,t))||this._defaultNodeDef}insertNode(t,e,n,i){const r=this._getNodeDef(t,e),a=new _(t);a.level=this.treeControl.getLevel?this.treeControl.getLevel(t):void 0!==i&&this._levels.has(i)?this._levels.get(i)+1:0,this._levels.set(t,a.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(r.template,a,e),v.mostRecentTreeNode&&(v.mostRecentTreeNode.data=t)}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(h.u),h.Ob(h.h))},t.\u0275cmp=h.Ib({type:t,selectors:[["cdk-tree"]],contentQueries:function(t,e,n){if(1&t&&h.Hb(n,y,!0),2&t){let t;h.tc(t=h.cc())&&(e._nodeDefs=t)}},viewQuery:function(t,e){if(1&t&&h.Bc(g,!0),2&t){let t;h.tc(t=h.cc())&&(e._nodeOutlet=t.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(t,e){1&t&&h.Qb(0,0)},directives:[g],encapsulation:2}),t})(),v=(()=>{class t{constructor(e,n){this._elementRef=e,this._tree=n,this._destroyed=new a.a,this._dataChanges=new a.a,t.mostRecentTreeNode=this,this._elementRef.nativeElement.classList.add("cdk-tree-node"),this.role="treeitem"}get role(){return"treeitem"}set role(t){this._elementRef.nativeElement.setAttribute("role",t)}get data(){return this._data}set data(t){t!==this._data&&(this._data=t,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}_setExpanded(t){this._isAriaExpanded=t,this._elementRef.nativeElement.setAttribute("aria-expanded",""+t)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}ngOnInit(){this._parentNodeAriaLevel=function(t){let e=t.parentElement;for(;e&&!w(e);)e=e.parentElement;return e?e.classList.contains("cdk-nested-tree-node")?Object(d.f)(e.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",""+(this.level+1))}ngDoCheck(){this.isExpanded!=this._isAriaExpanded&&this._setExpanded(this.isExpanded)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(h.l),h.Ob(b))},t.\u0275dir=h.Jb({type:t,selectors:[["cdk-tree-node"]],inputs:{role:"role"},exportAs:["cdkTreeNode"]}),t.mostRecentTreeNode=null,t})();function w(t){const e=t.classList;return!(!(null==e?void 0:e.contains("cdk-nested-tree-node"))&&!(null==e?void 0:e.contains("cdk-tree")))}let x=(()=>{class t extends v{constructor(t,e,n){super(t,e),this._elementRef=t,this._tree=e,this._differs=n,this._elementRef.nativeElement.classList.add("cdk-nested-tree-node")}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(r.a)(t)&&t.pipe(Object(u.a)(this._destroyed)).subscribe(t=>this.updateChildrenNodes(t)),this.nodeOutlet.changes.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(t){const e=this._getNodeOutlet();t&&(this._children=t),e&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,e.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const t=this._getNodeOutlet();t&&(t.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const t=this.nodeOutlet;return t&&t.find(t=>!t._node||t._node===this)}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(h.l),h.Ob(b),h.Ob(h.u))},t.\u0275dir=h.Jb({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(t,e,n){if(1&t&&h.Hb(n,g,!0),2&t){let t;h.tc(t=h.cc())&&(e.nodeOutlet=t)}},inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[h.Bb([{provide:v,useExisting:t},{provide:m,useExisting:t}]),h.zb]}),t})();const M=/([A-Za-z%]+)$/;let S=(()=>{class t{constructor(t,e,n,i){this._treeNode=t,this._tree=e,this._element=n,this._dir=i,this._destroyed=new a.a,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Object(u.a)(this._destroyed)).subscribe(()=>this._setPadding(!0)),t._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(t){this._setLevelInput(t)}get indent(){return this._indent}set indent(t){this._setIndentInput(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const t=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,e=null==this._level?t:this._level;return"number"==typeof e?`${e*this._indent}${this.indentUnits}`:null}_setPadding(t=!1){const e=this._paddingIndent();if(e!==this._currentPadding||t){const t=this._element.nativeElement,n=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===n?"paddingRight":"paddingLeft";t.style[n]=e||"",t.style[i]="",this._currentPadding=e}}_setLevelInput(t){this._level=Object(d.f)(t,null),this._setPadding()}_setIndentInput(t){let e=t,n="px";if("string"==typeof t){const i=t.split(M);e=i[0],n=i[1]||n}this.indentUnits=n,this._indent=Object(d.f)(e),this._setPadding()}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(v),h.Ob(b),h.Ob(h.l),h.Ob(p.b,8))},t.\u0275dir=h.Jb({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),t})(),C=(()=>{class t{constructor(t,e){this._tree=t,this._treeNode=e,this._recursive=!1}get recursive(){return this._recursive}set recursive(t){this._recursive=Object(d.c)(t)}_toggle(t){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(h.Ob(b),h.Ob(v))},t.\u0275dir=h.Jb({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(t,e){1&t&&h.bc("click",function(t){return e._toggle(t)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),t})(),k=(()=>{class t{}return t.\u0275mod=h.Mb({type:t}),t.\u0275inj=h.Lb({factory:function(e){return new(e||t)}}),t})()},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G3A0:function(t,e,n){"use strict";e.a=function(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new a.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(l))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(s.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(c),r.Ob(r.l),r.Ob(r.B))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[l]}),t})()},GYlH:function(t,e,n){"use strict";e.a=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("LRne"),r=n("0EUg");function a(...t){return Object(r.a)()(Object(i.a)(...t))}},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7o/Q"),r=n("2QA8"),a=n("gRHU"),o=n("kJWO"),s=n("SpAZ"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,s=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(a.a)}(t,e,n);if(s.add(o?o.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?s.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,r,a,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HqcR:function(t,e,n){"use strict";n.d(e,"b",function(){return ht}),n.d(e,"a",function(){return dt});var i,r=(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e,n){var i=this,r=this.constructor.prototype;return(i=t.call(this,e)||this).statusCode=n,i.__proto__=r,i}return r(e,t),e}(Error),o=function(t){function e(e){void 0===e&&(e="A timeout occurred.");var n=this,i=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=i,n}return r(e,t),e}(Error),s=function(t){function e(e){void 0===e&&(e="An abort occurred.");var n=this,i=this.constructor.prototype;return(n=t.call(this,e)||this).__proto__=i,n}return r(e,t),e}(Error),l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]-1&&this.subject.observers.splice(t,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch(function(t){})},t}(),v=function(){function t(t){this.minimumLogLevel=t,this.outputConsole=console}return t.prototype.log=function(t,e){if(t>=this.minimumLogLevel)switch(t){case h.Critical:case h.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+h[t]+": "+e);break;case h.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+h[t]+": "+e);break;case h.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+h[t]+": "+e);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+h[t]+": "+e)}},t}();function w(){var t,e,n,i,r,a="X-SignalR-User-Agent";return m.isNode&&(a="User-Agent"),[a,("5.0.3",t=x(),e=m.isNode?"NodeJS":"Browser",n=M(),i="Microsoft SignalR/",r="5.0.3".split("."),i+=r[0]+"."+r[1],i+=" (5.0.3; ",i+=t&&""!==t?t+"; ":"Unknown OS; ",i+=""+e,i+=n?"; "+n:"; Unknown Runtime Version",i+=")")]}function x(){if(!m.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function M(){if(m.isNode)return process.versions.node}var S=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]=200&&r.status<300?n(new c(r.status,r.statusText,r.response||r.responseText)):i(new a(r.statusText,r.status))},r.onerror=function(){e.logger.log(h.Warning,"Error from HTTP request. "+r.status+": "+r.statusText+"."),i(new a(r.statusText,r.status))},r.ontimeout=function(){e.logger.log(h.Warning,"Timeout from HTTP request."),i(new o)},r.send(t.content||"")}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e}(u),T=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),L=function(t){function e(e){var n=t.call(this)||this;if("undefined"!=typeof fetch||m.isNode)n.httpClient=new k(e);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");n.httpClient=new O(e)}return n}return T(e,t),e.prototype.send=function(t){return t.abortSignal&&t.abortSignal.aborted?Promise.reject(new s):t.method?t.url?this.httpClient.send(t):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},e.prototype.getCookieString=function(t){return this.httpClient.getCookieString(t)},e}(u),A=function(){function t(){}return t.write=function(e){return""+e+t.RecordSeparator},t.parse=function(e){if(e[e.length-1]!==t.RecordSeparator)throw new Error("Message is incomplete.");var n=e.split(t.RecordSeparator);return n.pop(),n},t.RecordSeparatorCode=30,t.RecordSeparator=String.fromCharCode(t.RecordSeparatorCode),t}(),I=function(){function t(){}return t.prototype.writeHandshakeRequest=function(t){return A.write(JSON.stringify(t))},t.prototype.parseHandshakeResponse=function(t){var e,n;if(_(t)||"undefined"!=typeof Buffer&&t instanceof Buffer){var i=new Uint8Array(t);if(-1===(a=i.indexOf(A.RecordSeparatorCode)))throw new Error("Message is incomplete.");var r=a+1;e=String.fromCharCode.apply(null,i.slice(0,r)),n=i.byteLength>r?i.slice(r).buffer:null}else{var a,o=t;if(-1===(a=o.indexOf(A.RecordSeparator)))throw new Error("Message is incomplete.");e=o.substring(0,r=a+1),n=o.length>r?o.substring(r):null}var s=A.parse(e),l=JSON.parse(s[0]);if(l.type)throw new Error("Expected a handshake response from the server.");return[n,l]},t}(),P=function(t){return t[t.Invocation=1]="Invocation",t[t.StreamItem=2]="StreamItem",t[t.Completion=3]="Completion",t[t.StreamInvocation=4]="StreamInvocation",t[t.CancelInvocation=5]="CancelInvocation",t[t.Ping=6]="Ping",t[t.Close=7]="Close",t}({}),E=function(){function t(){this.observers=[]}return t.prototype.next=function(t){for(var e=0,n=this.observers;e0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+a.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}})})},t.prototype.constructTransport=function(t){switch(t){case H.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new Q(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket,this.options.headers||{});case H.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new J(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource,this.options.withCredentials,this.options.headers||{});case H.LongPolling:return new q(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.withCredentials,this.options.headers||{});default:throw new Error("Unknown transport: "+t+".")}},t.prototype.startTransport=function(t,e){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(t){return n.stopConnection(t)},this.transport.connect(t,e)},t.prototype.resolveTransportOrError=function(t,e,n){var i=H[t.transport];if(null==i)return this.logger.log(h.Debug,"Skipping transport '"+t.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+t.transport+"' because it is not supported by this client.");if(!function(t,e){return!t||0!=(e&t)}(e,i))return this.logger.log(h.Debug,"Skipping transport '"+H[i]+"' because it was disabled by the client."),new Error("'"+H[i]+"' is disabled by the client.");if(!(t.transferFormats.map(function(t){return z[t]}).indexOf(n)>=0))return this.logger.log(h.Debug,"Skipping transport '"+H[i]+"' because it does not support the requested transfer format '"+z[n]+"'."),new Error("'"+H[i]+"' does not support "+z[n]+".");if(i===H.WebSockets&&!this.options.WebSocket||i===H.ServerSentEvents&&!this.options.EventSource)return this.logger.log(h.Debug,"Skipping transport '"+H[i]+"' because it is not supported in your environment.'"),new Error("'"+H[i]+"' is not supported in your environment.");this.logger.log(h.Debug,"Selecting transport '"+H[i]+"'.");try{return this.constructTransport(i)}catch(r){return r}},t.prototype.isITransport=function(t){return t&&"object"==typeof t&&"connect"in t},t.prototype.stopConnection=function(t){var e=this;if(this.logger.log(h.Debug,"HttpConnection.stopConnection("+t+") called while in state "+this.connectionState+"."),this.transport=void 0,t=this.stopError||t,this.stopError=void 0,"Disconnected"!==this.connectionState){if("Connecting"===this.connectionState)throw this.logger.log(h.Warning,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is still in the connecting state."),new Error("HttpConnection.stopConnection("+t+") was called while the connection is still in the connecting state.");if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),t?this.logger.log(h.Error,"Connection disconnected with error '"+t+"'."):this.logger.log(h.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch(function(t){e.logger.log(h.Error,"TransportSendQueue.stop() threw error '"+t+"'.")}),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(t)}catch(n){this.logger.log(h.Error,"HttpConnection.onclose("+t+") threw error '"+n+"'.")}}}else this.logger.log(h.Debug,"Call to HttpConnection.stopConnection("+t+") was ignored because the connection is already in the disconnected state.")},t.prototype.resolveUrl=function(t){if(0===t.lastIndexOf("https://",0)||0===t.lastIndexOf("http://",0))return t;if(!m.isBrowser||!window.document)throw new Error("Cannot resolve '"+t+"'.");var e=window.document.createElement("a");return e.href=t,this.logger.log(h.Information,"Normalizing '"+t+"' to '"+e.href+"'."),e.href},t.prototype.resolveNegotiateUrl=function(t){var e=t.indexOf("?"),n=t.substring(0,-1===e?t.length:e);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===e?"":t.substring(e)).indexOf("negotiateVersion")&&(n+=-1===e?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},t}(),rt=function(){function t(t){this.transport=t,this.buffer=[],this.executing=!0,this.sendBufferedData=new at,this.transportResult=new at,this.sendLoopPromise=this.sendLoop()}return t.prototype.send=function(t){return this.bufferData(t),this.transportResult||(this.transportResult=new at),this.transportResult.promise},t.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},t.prototype.bufferData=function(t){if(this.buffer.length&&typeof this.buffer[0]!=typeof t)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof t);this.buffer.push(t),this.sendBufferedData.resolve()},t.prototype.sendLoop=function(){return et(this,void 0,void 0,function(){var e,n,i;return nt(this,function(r){switch(r.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(r.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new at,e=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):t.concatBuffers(this.buffer),this.buffer.length=0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return r.sent(),e.resolve(),[3,5];case 4:return i=r.sent(),e.reject(i),[3,5];case 5:return[3,0];case 6:return[2]}})})},t.concatBuffers=function(t){for(var e=t.map(function(t){return t.byteLength}).reduce(function(t,e){return t+e}),n=new Uint8Array(e),i=0,r=0,a=t;r{class t{connect(t,e){return new Promise((n,i)=>{const r=localStorage.getItem("token");if(r){const a=(new ct).withUrl("string"==typeof t?`${ht.default}/signalr/${t}`:`${ht[t[0]]}/${t[1]}`,{accessTokenFactory:()=>r}).withAutomaticReconnect({nextRetryDelayInMilliseconds:()=>5e3}).build();for(const t in e)a.on(t,e[t]);a.start().then(()=>n(a)).catch(t=>i(t))}else i()})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"})},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IlA0:function(t,e,n){"use strict";var i=n("/1FC"),r=n("vY+C"),a=n("DlmY");function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(o.Cache||a.a),n}o.Cache=a.a;var s,l,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,h=(s=o(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(c,function(t,n,i,r){e.push(i?r.replace(u,"$1"):n||t)}),e},function(t){return 500===l.size&&l.clear(),t}),l=s.cache,s),d=n("ylTp"),p=n("twO/"),f=n("G8aS"),m=d.a?d.a.prototype:void 0,g=m?m.toString:void 0,_=function t(e){if("string"==typeof e)return e;if(Object(i.a)(e))return Object(p.a)(e,t)+"";if(Object(f.a)(e))return g?g.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},y=function(t){return null==t?"":_(t)};e.a=function(t,e){return Object(i.a)(t)?t:Object(r.a)(t,e)?[t]:h(y(t))}},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("4I5i"),a=n("EY2u");function o(t){return e=>0===t?Object(a.b)():e.lift(new s(t))}class s{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},IzLi:function(t,e,n){"use strict";e.a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){const n=new a(t),i=e.lift(n);return n.caught=i}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.a(this);this.add(r);const a=Object(i.c)(n,r);a!==r&&this.add(a)}}}},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("GyhO"),r=n("z+Ro");function a(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},Js68:function(t,e,n){"use strict";e.a=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},"Ju5/":function(t,e,n){"use strict";var i=n("XqMk"),r="object"==typeof self&&self&&self.Object===Object&&self,a=i.a||r||Function("return this")();e.a=a},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function a(t,e,a,o){var s=t+" ";return 1===t?s+n(0,e,a[0],o):e?s+(i(t)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(t)?r(a)[1]:r(a)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("D0XW");function a(t,e=r.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}class s extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},KpOL:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("0IaG"),r=n("fXoL"),a=n("bTqV"),o=n("sYmb"),s=n("ofXK");let l=(()=>{class t{constructor(t){this._data=t}get content(){return this._data}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-alert"]],decls:10,vars:9,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary","mat-dialog-close","","cdkFocusInitial",""]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Pb(4,"p",2),r.Tb(),r.Ub(5,"div",3),r.Ub(6,"button",4),r.Hc(7),r.gc(8,"uppercase"),r.gc(9,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,3,"shared.dialog.title")),r.Cb(3),r.lc("innerHTML",e.content,r.xc),r.Cb(3),r.Ic(r.hc(8,5,r.hc(9,7,"shared.dialog.ok"))))},directives:[i.h,i.e,i.c,a.a,i.d],pipes:[o.d,s.v],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t})()},L3Qv:function(t,e,n){"use strict";e.a=function(){return!1}},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),r=n("yCtX"),a=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(a.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return r});const r=i()},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},M9IT:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return y}),n.d(e,"d",function(){return C});var i=n("ofXK"),r=n("fXoL"),a=n("FKr1"),o=n("bTqV"),s=n("d3UM"),l=n("Qu3c"),c=n("8LU1"),u=n("XNiG"),h=n("kmnG");function d(t,e){if(1&t&&(r.Ub(0,"mat-option",19),r.Hc(1),r.Tb()),2&t){const t=e.$implicit;r.lc("value",t),r.Cb(1),r.Jc(" ",t," ")}}function p(t,e){if(1&t){const t=r.Vb();r.Ub(0,"mat-form-field",16),r.Ub(1,"mat-select",17),r.bc("selectionChange",function(e){return r.wc(t),r.fc(2)._changePageSize(e.value)}),r.Fc(2,d,2,2,"mat-option",18),r.Tb(),r.Tb()}if(2&t){const t=r.fc(2);r.lc("appearance",t._formFieldAppearance)("color",t.color),r.Cb(1),r.lc("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),r.Cb(1),r.lc("ngForOf",t._displayedPageSizeOptions)}}function f(t,e){if(1&t&&(r.Ub(0,"div",20),r.Hc(1),r.Tb()),2&t){const t=r.fc(2);r.Cb(1),r.Ic(t.pageSize)}}function m(t,e){if(1&t&&(r.Ub(0,"div",12),r.Ub(1,"div",13),r.Hc(2),r.Tb(),r.Fc(3,p,3,6,"mat-form-field",14),r.Fc(4,f,2,1,"div",15),r.Tb()),2&t){const t=r.fc();r.Cb(2),r.Jc(" ",t._intl.itemsPerPageLabel," "),r.Cb(1),r.lc("ngIf",t._displayedPageSizeOptions.length>1),r.Cb(1),r.lc("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=r.Vb();r.Ub(0,"button",21),r.bc("click",function(){return r.wc(t),r.fc().firstPage()}),r.ec(),r.Ub(1,"svg",7),r.Pb(2,"path",22),r.Tb(),r.Tb()}if(2&t){const t=r.fc();r.lc("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),r.Db("aria-label",t._intl.firstPageLabel)}}function _(t,e){if(1&t){const t=r.Vb();r.ec(),r.dc(),r.Ub(0,"button",23),r.bc("click",function(){return r.wc(t),r.fc().lastPage()}),r.ec(),r.Ub(1,"svg",7),r.Pb(2,"path",24),r.Tb(),r.Tb()}if(2&t){const t=r.fc();r.lc("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),r.Db("aria-label",t._intl.lastPageLabel)}}let y=(()=>{class t{constructor(){this.changes=new u.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return"0 of "+n;const i=t*e;return`${i+1} \u2013 ${i<(n=Math.max(n,0))?Math.min(i+e,n):i+e} of ${n}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const b={provide:y,deps:[[new r.C,new r.L,y]],useFactory:function(t){return t||new y}},v=new r.s("MAT_PAGINATOR_DEFAULT_OPTIONS");class w{}const x=Object(a.A)(Object(a.C)(w));let M=(()=>{class t extends x{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new r.o,this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:i,showFirstLastButtons:r}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=i&&(this._hidePageSize=i),null!=r&&(this._showFirstLastButtons=r)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(t=>Object(c.f)(t)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(c.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(c.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndext-e),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(y),r.Ob(r.h),r.Ob(void 0))},t.\u0275dir=r.Jb({type:t,inputs:{pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},features:[r.zb]}),t})(),S=(()=>{class t extends M{constructor(t,e,n){super(t,e,n),n&&null!=n.formFieldAppearance&&(this._formFieldAppearance=n.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(y),r.Ob(r.h),r.Ob(v,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[r.zb],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Fc(2,m,5,3,"div",2),r.Ub(3,"div",3),r.Ub(4,"div",4),r.Hc(5),r.Tb(),r.Fc(6,g,3,5,"button",5),r.Ub(7,"button",6),r.bc("click",function(){return e.previousPage()}),r.ec(),r.Ub(8,"svg",7),r.Pb(9,"path",8),r.Tb(),r.Tb(),r.dc(),r.Ub(10,"button",9),r.bc("click",function(){return e.nextPage()}),r.ec(),r.Ub(11,"svg",7),r.Pb(12,"path",10),r.Tb(),r.Tb(),r.Fc(13,_,3,5,"button",11),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(2),r.lc("ngIf",!e.hidePageSize),r.Cb(3),r.Jc(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),r.Cb(1),r.lc("ngIf",e.showFirstLastButtons),r.Cb(1),r.lc("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),r.Db("aria-label",e._intl.previousPageLabel),r.Cb(3),r.lc("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),r.Db("aria-label",e._intl.nextPageLabel),r.Cb(3),r.lc("ngIf",e.showFirstLastButtons))},directives:[i.n,o.a,l.c,h.b,s.a,i.m,a.o],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[b],imports:[[i.c,o.b,s.b,l.d,a.j]]}),t})()},NFeN:function(t,e,n){"use strict";n.d(e,"a",function(){return P}),n.d(e,"b",function(){return E});var i=n("fXoL"),r=n("FKr1"),a=n("8LU1"),o=n("ofXK"),s=n("LRne"),l=n("z6cu"),c=n("cp0P"),u=n("quSY"),h=n("vkgz"),d=n("lJxs"),p=n("JIr8"),f=n("nYR2"),m=n("w1tV"),g=n("IzEk"),_=n("tk/3"),y=n("jhN1");const b=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function w(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function x(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class M{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let S=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new M(n,null,i))}addSvgIconLiteralInNamespace(t,e,n,r){const a=this._sanitizer.sanitize(i.K.HTML,n);if(!a)throw x(n);return this._addSvgIconConfig(t,e,new M("",a,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new M(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.K.HTML,e);if(!r)throw x(e);return this._addSvgIconSetConfig(t,new M("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!e)throw w(t);const n=this._cachedIconsByUrl.get(e);return n?Object(s.a)(C(n)):this._loadSvgIconFromConfig(new M(t,null)).pipe(Object(h.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(d.a)(t=>C(t)))}getNamedSvgIcon(t,e=""){const n=k(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(l.a)(v(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(s.a)(C(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(d.a)(t=>C(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(s.a)(n);const r=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(p.a)(e=>{const n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(s.a)(null)})));return Object(c.a)(r).pipe(Object(d.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(h.a)(e=>t.svgText=e),Object(d.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(s.a)(null):this._fetchIcon(t).pipe(Object(h.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString(""),n=t.attributes;for(let i=0;ithis._inProgressUrlFetches.delete(o)),Object(m.a)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(k(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(_.b,8),i.Yb(y.b),i.Yb(o.d,8),i.Yb(i.n))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(_.b,8),Object(i.Yb)(y.b),Object(i.Yb)(o.d,8),Object(i.Yb)(i.n))},token:t,providedIn:"root"}),t})();function C(t){return t.cloneNode(!0)}function k(t,e){return t+":"+e}class D{constructor(t){this._elementRef=t}}const O=Object(r.y)(D),T=new i.s("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(i.W)(o.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),L=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A=L.map(t=>`[${t}]`).join(", "),I=/^url\(['"]?#(.*?)['"]?\)$/;let P=(()=>{class t extends O{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=u.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(a.c)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=e[i],a=r.getAttribute(t),o=a?a.match(I):null;if(o){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(g.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(S),i.Zb("aria-hidden"),i.Ob(T),i.Ob(i.n))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Gb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.zb],ngContentSelectors:b,decls:1,vars:0,template:function(t,e){1&t&&(i.kc(),i.jc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),E=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[r.j],r.j]}),t})()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},NXfZ:function(t,e,n){"use strict";n.d(e,"a",function(){return vV});var i={};n.r(i),n.d(i,"updateProps",function(){return ll}),n.d(i,"initProps",function(){return cl}),n.d(i,"removeElement",function(){return hl}),n.d(i,"removeElementWithFadeOut",function(){return pl}),n.d(i,"isElementRemoved",function(){return ul}),n.d(i,"extendShape",function(){return Zp}),n.d(i,"extendPath",function(){return Kp}),n.d(i,"registerShape",function(){return Jp}),n.d(i,"getShapeClass",function(){return $p}),n.d(i,"makePath",function(){return Qp}),n.d(i,"makeImage",function(){return tf}),n.d(i,"mergePath",function(){return nf}),n.d(i,"resizePath",function(){return rf}),n.d(i,"subPixelOptimizeLine",function(){return af}),n.d(i,"subPixelOptimizeRect",function(){return of}),n.d(i,"subPixelOptimize",function(){return sf}),n.d(i,"getTransform",function(){return lf}),n.d(i,"applyTransform",function(){return cf}),n.d(i,"transformDirection",function(){return uf}),n.d(i,"groupTransition",function(){return df}),n.d(i,"clipPointsByRect",function(){return pf}),n.d(i,"clipRectByRect",function(){return ff}),n.d(i,"createIcon",function(){return mf}),n.d(i,"linePolygonIntersect",function(){return gf}),n.d(i,"lineLineIntersect",function(){return _f}),n.d(i,"setTooltipConfig",function(){return bf}),n.d(i,"traverseElements",function(){return wf}),n.d(i,"Group",function(){return ir}),n.d(i,"Image",function(){return Vo}),n.d(i,"Text",function(){return us}),n.d(i,"Circle",function(){return Zd}),n.d(i,"Ellipse",function(){return $d}),n.d(i,"Sector",function(){return dp}),n.d(i,"Ring",function(){return mp}),n.d(i,"Polygon",function(){return bp}),n.d(i,"Polyline",function(){return xp}),n.d(i,"Rect",function(){return Xo}),n.d(i,"Line",function(){return kp}),n.d(i,"BezierCurve",function(){return Ap}),n.d(i,"Arc",function(){return Ep}),n.d(i,"IncrementalDisplayable",function(){return Up}),n.d(i,"CompoundPath",function(){return Rp}),n.d(i,"LinearGradient",function(){return jp}),n.d(i,"RadialGradient",function(){return Np}),n.d(i,"BoundingRect",function(){return Yi}),n.d(i,"OrientedBoundingRect",function(){return Bp}),n.d(i,"Point",function(){return Di}),n.d(i,"Path",function(){return Po});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},s=new function(){this.browser=new o,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(s.wxa=!0,s.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?s.worker=!0:"undefined"==typeof navigator?(s.node=!0,s.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18),o&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,s);var l,c,u=s,h="12px sans-serif",d=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)a=r*t.length;else for(var o=0;o>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,a),a,r);if(o)return o(t,n,i),!0}return!1}function Vt(t){return"CANVAS"===t.nodeName.toUpperCase()}var Ht=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zt=[],Bt=u.browser.firefox&&+u.browser.version.split(".")[0]<39;function Wt(t,e,n,i){return n=n||{},i?Ut(t,e,n):Bt&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Ut(t,e,n),n}function Ut(t,e,n){if(u.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(Vt(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(Ft(zt,t,i,r))return n.zrX=zt[0],void(n.zrY=zt[1])}n.zrX=n.zrY=0}function Gt(t){return t||window.event}function qt(t,e,n){if(null!=(e=Gt(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&Wt(t,r,e,n)}else{Wt(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var o=e.button;return null==e.which&&void 0!==o&&Ht.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function Xt(t,e,n,i){t.addEventListener(e,n,i)}var Zt=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Kt(t){return 2===t.which||3===t.which}var Jt=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a1&&r&&r.length>1){var o=$t(r)/$t(a);!isFinite(o)&&(o=1),e.pinchScale=o;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function te(){Zt(this.event)}var ee=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return a(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Et),ne=function(t,e){this.x=t,this.y=e},ie=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],re=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a._hovered=new ne(0,0),a.storage=e,a.painter=n,a.painterRoot=r,i=i||new ee,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Pt(a),a}return a(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(R(ie,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=oe(this,e,n),r=this._hovered,a=r.target;a&&!a.__zr&&(a=(r=this.findHover(r.x,r.y)).target);var o=this._hovered=i?new ne(e,n):this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ne(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,a=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:te}}(e,t,n);i&&(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new ne(t,e),a=i.length-1;a>=0;a--){var o=void 0;if(i[a]!==n&&!i[a].ignore&&(o=ae(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),"silent"!==o)){r.target=i[a];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new Jt);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var a=new ne;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(Et);function ae(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,a=!1;i;){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(e,n))return!1;i.silent&&(r=!0)}i=i.__hostTarget||i.parent}return!r||"silent"}return!1}function oe(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}R(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){re.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=oe(this,r,a);if("mouseup"===t&&o||(i=(n=this.findHover(r,a)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||kt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var se=re;function le(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function ce(t,e,n,i,r){for(i===e&&i++;i>>1])<0?l=a:s=a+1;var c=i-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;c>0;)t[s+c]=t[s+c-1],c--}t[s]=o}}function ue(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){for(s=i-r;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;ls&&(l=s);var c=o;o=r-l,l=r-c}for(o++;o>>1);a(t,e[n+u])>0?o=u+1:l=u}return l}function he(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var c=o;o=r-l,l=r-c}else{for(s=i-r;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o>>1);a(t,e[n+u])<0?l=u:o=u+1}return l}function de(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<32)ce(t,n,i,n+(a=le(t,n,i,e)),e);else{var o=function(t,e){var n,i,r=7,a=0,o=[];function s(s){var l=n[s],c=i[s],u=n[s+1],h=i[s+1];i[s]=c+h,s===a-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),a--;var d=he(t[u],t,l,c,0,e);l+=d,0!=(c-=d)&&0!==(h=ue(t[l+c-1],t,u,h,h-1,e))&&(c<=h?function(n,i,a,s){var l=0;for(l=0;l=7||p>=7);if(f)break;m<0&&(m=0),m+=2}if((r=m)<1&&(r=1),1===i){for(l=0;l=0;l--)t[p+l]=t[d+l];if(0===i){_=!0;break}}if(t[h--]=o[u--],1==--s){_=!0;break}if(0!=(g=s-ue(t[c],o,0,s,s-1,e))){for(s-=g,p=1+(h-=g),d=1+(u-=g),l=0;l=7||g>=7);if(_)break;f<0&&(f=0),f+=2}if((r=f)<1&&(r=1),1===s){for(p=1+(h-=i),d=1+(c-=i),l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=o[u]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l=0;l--)t[p+l]=t[d+l];t[h]=o[u]}else for(d=h-(s-1),l=0;l1;){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;s(t)}},forceMergeRuns:function(){for(;a>1;){var t=a-2;t>0&&i[t-1]=32;)e|=1&t,t>>=1;return t+e}(r);do{if((a=le(t,n,i,e))s&&(l=s),ce(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}}var pe=!1;function fe(){pe||(pe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function me(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var ge=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=me}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(fe(),c.z=0),isNaN(c.z2)&&(fe(),c.z2=0),isNaN(c.zlevel)&&(fe(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),_e=u.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},ye={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-ye.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*ye.bounceIn(2*t):.5*ye.bounceOut(2*t-1)+.5}},be=ye,ve=Math.pow,we=Math.sqrt,xe=we(3),Me=1/3,Se=gt(),Ce=gt(),ke=gt();function De(t){return t>-1e-8&&t<1e-8}function Oe(t){return t>1e-8||t<-1e-8}function Te(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function Le(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function Ae(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),c=t-r,u=s*s-3*o*l,h=s*l-9*o*c,d=l*l-3*s*c,p=0;if(De(u)&&De(h))De(s)?a[0]=0:(S=-l/s)>=0&&S<=1&&(a[p++]=S);else{var f=h*h-4*u*d;if(De(f)){var m=h/u,g=-m/2;(S=-s/o+m)>=0&&S<=1&&(a[p++]=S),g>=0&&g<=1&&(a[p++]=g)}else if(f>0){var _=we(f),y=u*s+1.5*o*(-h+_),b=u*s+1.5*o*(-h-_);(S=(-s-((y=y<0?-ve(-y,Me):ve(y,Me))+(b=b<0?-ve(-b,Me):ve(b,Me))))/(3*o))>=0&&S<=1&&(a[p++]=S)}else{var v=(2*u*s-3*o*h)/(2*we(u*u*u)),w=Math.acos(v)/3,x=we(u),M=Math.cos(w),S=(-s-2*x*M)/(3*o),C=(g=(-s+x*(M+xe*Math.sin(w)))/(3*o),(-s+x*(M-xe*Math.sin(w)))/(3*o));S>=0&&S<=1&&(a[p++]=S),g>=0&&g<=1&&(a[p++]=g),C>=0&&C<=1&&(a[p++]=C)}}return p}function Ie(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(De(o))Oe(a)&&(u=-s/a)>=0&&u<=1&&(r[l++]=u);else{var c=a*a-4*o*s;if(De(c))r[0]=-a/(2*o);else if(c>0){var u,h=we(c),d=(-a-h)/(2*o);(u=(-a+h)/(2*o))>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function Pe(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,c=(s-o)*r+o,u=(l-s)*r+s,h=(u-c)*r+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=u,a[6]=l,a[7]=i}function Ee(t,e,n,i,r,a,o,s,l,c,u){var h,d,p,f,m,g=.005,_=1/0;Se[0]=l,Se[1]=c;for(var y=0;y<1;y+=.05)Ce[0]=Te(t,n,r,o,y),Ce[1]=Te(e,i,a,s,y),(f=Dt(Se,Ce))<_&&(h=y,_=f);_=1/0;for(var b=0;b<32&&!(g<1e-4);b++)p=h+g,Ce[0]=Te(t,n,r,o,d=h-g),Ce[1]=Te(e,i,a,s,d),f=Dt(Ce,Se),d>=0&&f<_?(h=d,_=f):(ke[0]=Te(t,n,r,o,p),ke[1]=Te(e,i,a,s,p),m=Dt(ke,Se),p<=1&&m<_?(h=p,_=m):g*=.5);return u&&(u[0]=Te(t,n,r,o,h),u[1]=Te(e,i,a,s,h)),we(_)}function Re(t,e,n,i,r,a,o,s,l){for(var c=t,u=e,h=0,d=1/l,p=1;p<=l;p++){var f=p*d,m=Te(t,n,r,o,f),g=Te(e,i,a,s,f),_=m-c,y=g-u;h+=Math.sqrt(_*_+y*y),c=m,u=g}return h}function Ye(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function je(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Ne(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Fe(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function Ve(t,e,n,i,r,a,o,s,l){var c,u=.005,h=1/0;Se[0]=o,Se[1]=s;for(var d=0;d<1;d+=.05)Ce[0]=Ye(t,n,r,d),Ce[1]=Ye(e,i,a,d),(g=Dt(Se,Ce))=0&&g=1?1:Ae(0,i,a,1,t,s)&&Te(0,r,o,1,s[0])}}}var We=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||ft,this.ondestroy=t.ondestroy||ft,this.onrestart=t.onrestart||ft,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var a=this.easingFunc,o=a?a(r):r;if(this.onframe(o),1===r){if(!this.loop)return!0;this._startTime=t-i%n,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=B(t)?t:be[t]||Be(t)},t}(),Ue=function(t){this.value=t},Ge=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Ue(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),qe=function(){function t(t){this._list=new Ge,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}o?o.value=e:o=new Ue(e),o.key=t,n.insertEntry(o),i[t]=o}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),Xe={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ze(t){return(t=Math.round(t))<0?0:t>255?255:t}function Ke(t){return t<0?0:t>1?1:t}function Je(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Ze(parseFloat(e)/100*255):Ze(parseInt(e,10))}function $e(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Ke(parseFloat(e)/100):Ke(parseFloat(e))}function Qe(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function tn(t,e,n){return t+(e-t)*n}function en(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function nn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var rn=new qe(20),an=null;function on(t,e){an&&nn(an,e),an=rn.put(t,an||e.slice())}function sn(t,e){if(t){e=e||[];var n=rn.get(t);if(n)return nn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Xe)return nn(e,Xe[i]),on(t,e),e;var r,a=i.length;if("#"===i.charAt(0))return 4===a||5===a?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(en(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===a?parseInt(i.slice(4),16)/15:1),on(t,e),e):void en(e,0,0,0,1):7===a||9===a?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(en(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===a?parseInt(i.slice(7),16)/255:1),on(t,e),e):void en(e,0,0,0,1):void 0;var o=i.indexOf("("),s=i.indexOf(")");if(-1!==o&&s+1===a){var l=i.substr(0,o),c=i.substr(o+1,s-(o+1)).split(","),u=1;switch(l){case"rgba":if(4!==c.length)return 3===c.length?en(e,+c[0],+c[1],+c[2],1):en(e,0,0,0,1);u=$e(c.pop());case"rgb":return 3!==c.length?void en(e,0,0,0,1):(en(e,Je(c[0]),Je(c[1]),Je(c[2]),u),on(t,e),e);case"hsla":return 4!==c.length?void en(e,0,0,0,1):(c[3]=$e(c[3]),ln(c,e),on(t,e),e);case"hsl":return 3!==c.length?void en(e,0,0,0,1):(ln(c,e),on(t,e),e);default:return}}en(e,0,0,0,1)}}function ln(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=$e(t[1]),r=$e(t[2]),a=r<=.5?r*(i+1):r+i-r*i,o=2*r-a;return en(e=e||[],Ze(255*Qe(o,a,n+1/3)),Ze(255*Qe(o,a,n)),Ze(255*Qe(o,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function cn(t,e){var n=sn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return fn(n,4===n.length?"rgba":"rgb")}}function un(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=e[r],s=e[a],l=i-r;return n[0]=Ze(tn(o[0],s[0],l)),n[1]=Ze(tn(o[1],s[1],l)),n[2]=Ze(tn(o[2],s[2],l)),n[3]=Ke(tn(o[3],s[3],l)),n}}function hn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=sn(e[r]),s=sn(e[a]),l=i-r,c=fn([Ze(tn(o[0],s[0],l)),Ze(tn(o[1],s[1],l)),Ze(tn(o[2],s[2],l)),Ke(tn(o[3],s[3],l))],"rgba");return n?{color:c,leftIndex:r,rightIndex:a,value:i}:c}}function dn(t,e,n,i){var r,a=sn(t);if(t)return a=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,c=(s+o)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+o):l/(2-s-o);var u=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+u-d:a===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,c];return null!=t[3]&&p.push(t[3]),p}}(a),null!=e&&(a[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(a[1]=$e(n)),null!=i&&(a[2]=$e(i)),fn(ln(a),"rgba")}function pn(t,e){var n=sn(t);if(n&&null!=e)return n[3]=Ke(e),fn(n,"rgba")}function fn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function mn(t,e){var n=sn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var gn=Math.round;function _n(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=sn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function yn(t){return t<1e-4&&t>-1e-4}function bn(t){return gn(1e3*t)/1e3}function vn(t){return gn(1e4*t)/1e4}var wn={left:"start",right:"end",center:"middle",middle:"middle"};function xn(t){return t&&!!t.image}function Mn(t){return"linear"===t.type}function Sn(t){return"radial"===t.type}function Cn(t){return"url(#"+t+")"}function kn(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Dn(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*mt,r=tt(t.scaleX,1),a=tt(t.scaleY,1),o=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===a||l.push("scale("+r+","+a+")"),(o||s)&&l.push("skew("+gn(o*mt)+"deg, "+gn(s*mt)+"deg)"),l.join(" ")}var On=u.hasGlobalWindow&&B(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Tn=Array.prototype.slice;function Ln(t,e,n){return(e-t)*n+t}function An(t,e,n,i){for(var r=e.length,a=0;ai?e:t,a=Math.min(n,i),o=r[a-1]||{color:[0,0,0,0],offset:0},s=a;so)i.length=o;else for(var s=a;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,a=!1,o=6,s=e;if(E(e)){var l=function(t){return E(t&&t[0])?2:1}(e);o=l,(1===l&&!G(e[0])||2===l&&!G(e[0][0]))&&(a=!0)}else if(G(e)&&!$(e))o=0;else if(W(e))if(isNaN(+e)){var c=sn(e);c&&(s=c,o=3)}else o=0;else if(J(e)){var u=L({},s);u.colorStops=Y(e.colorStops,function(t){return{offset:t.offset,color:sn(t.color)}}),Mn(e)?o=4:Sn(e)&&(o=5),s=u}0===r?this.valType=o:o===this.valType&&6!==o||(a=!0),this.discrete=this.discrete||a;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=B(n)?n:be[n]||Be(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=Fn(i),l=Nn(i),c=0;c=0&&!(l[n].percent<=e);n--);n=p(n,c-2)}else{for(n=d;ne);n++);n=p(n-1,c-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,m=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(m=r.easingFunc(m));var g=a?this._additiveValue:h?Vn:t[u];if(!Fn(s)&&!h||g||(g=this._additiveValue=[]),this.discrete)t[u]=m<1?i.rawValue:r.rawValue;else if(Fn(s))1===s?An(g,i[o],r[o],m):function(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o0&&s.addKeyframe(0,Yn(l),i),this._trackKeys.push(o)}s.addKeyframe(t,Yn(e[o]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var o=a.pop();r.addKeyframe(o.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Bn(){return(new Date).getTime()}var Wn,Un,Gn=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,n.stage=(e=e||{}).stage||{},n}return a(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Bn()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,_e(function e(){t._running&&(_e(e),!t._paused&&t.update())})},e.prototype.start=function(){this._running||(this._time=Bn(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Bn(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Bn()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new zn(t,e.loop);return this.addAnimator(n),n},e}(Et),qn=u.domSupported,Xn=(Un={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Wn=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:Y(Wn,function(t){var e=t.replace("mouse","pointer");return Un.hasOwnProperty(e)?e:t})}),Zn=["mousemove","mouseup"],Kn=["pointermove","pointerup"],Jn=!1;function $n(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Qn(t){t&&(t.zrByTouch=!0)}function ti(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var ei=function(t,e){this.stopPropagation=ft,this.stopImmediatePropagation=ft,this.preventDefault=ft,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},ni={mousedown:function(t){t=qt(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=qt(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=qt(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){ti(this,(t=qt(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Jn=!0,t=qt(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Jn||(t=qt(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Qn(t=qt(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),ni.mousemove.call(this,t),ni.mousedown.call(this,t)},touchmove:function(t){Qn(t=qt(this.dom,t)),this.handler.processGesture(t,"change"),ni.mousemove.call(this,t)},touchend:function(t){Qn(t=qt(this.dom,t)),this.handler.processGesture(t,"end"),ni.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&ni.click.call(this,t)},pointerdown:function(t){ni.mousedown.call(this,t)},pointermove:function(t){$n(t)||ni.mousemove.call(this,t)},pointerup:function(t){ni.mouseup.call(this,t)},pointerout:function(t){$n(t)||ni.mouseout.call(this,t)}};R(["click","dblclick","contextmenu"],function(t){ni[t]=function(e){e=qt(this.dom,e),this.trigger(t,e)}});var ii={pointermove:function(t){$n(t)||ii.mousemove.call(this,t)},pointerup:function(t){ii.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function ri(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,Xt(t.domTarget,e,n,i)}function ai(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&t.domTarget.removeEventListener(n,e[n],t.listenerOpts[n]);t.mounted={}}var oi=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},si=function(t){function e(e,n){var i,r,a,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new oi(e,ni),qn&&(o._globalHandlerScope=new oi(document,ii)),i=o,a=(r=o._localHandlerScope).domHandlers,u.pointerEventsSupported?R(Xn.pointer,function(t){ri(r,t,function(e){a[t].call(i,e)})}):(u.touchEventsSupported&&R(Xn.touch,function(t){ri(r,t,function(e){a[t].call(i,e),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}(r)})}),R(Xn.mouse,function(t){ri(r,t,function(e){e=Gt(e),r.touching||a[t].call(i,e)})})),o}return a(e,t),e.prototype.dispose=function(){ai(this._localHandlerScope),qn&&ai(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,qn&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){function n(n){ri(e,n,function(i){i=Gt(i),ti(t,i.target)||(i=function(t,e){return qt(t.dom,new ei(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))},{capture:!0})}u.pointerEventsSupported?R(Kn,n):u.touchEventsSupported||R(Zn,n)}(this,e):ai(e)}},e}(Et),li=1;u.hasGlobalWindow&&(li=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ci=li;function ui(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function hi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function di(t,e,n){var i=e[1]*n[0]+e[3]*n[1],r=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],o=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=e[0]*n[0]+e[2]*n[1],t[1]=i,t[2]=r,t[3]=a,t[4]=o,t[5]=s,t}function pi(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function fi(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],c=Math.sin(n),u=Math.cos(n);return t[0]=i*u+o*c,t[1]=-i*c+o*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*a+c*l,t[5]=u*l-c*a,t}function mi(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function gi(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(t[0]=o*(l=1/l),t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}var _i=ui;function yi(t){return t>5e-5||t<-5e-5}var bi=[],vi=[],wi=[1,0,0,1,0,0],xi=Math.abs,Mi=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return yi(this.rotation)||yi(this.x)||yi(this.y)||yi(this.scaleX-1)||yi(this.scaleY-1)||yi(this.skewX)||yi(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):_i(n),t&&(e?di(n,t,n):hi(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&_i(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(bi);var n=bi[0]<0?-1:1,i=bi[1]<0?-1:1,r=((bi[0]-n)*e+n)/bi[0]||0,a=((bi[1]-i)*e+i)/bi[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||[1,0,0,1,0,0],gi(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(di(vi,t.invTransform,e),e=vi);var n=this.originX,i=this.originY;(n||i)&&(wi[4]=n,wi[5]=i,di(vi,e,wi),vi[4]-=n,vi[5]-=i,e=vi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Tt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Tt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&xi(t[0]-1)>1e-10&&xi(t[3]-1)>1e-10?Math.sqrt(xi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Ci(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,l=t.rotation||0,c=t.x,u=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||s){var p=n+o,f=i+s;e[4]=-p*r-h*f*a,e[5]=-f*a-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=a,e[1]=d*r,e[2]=h*a,l&&fi(e,e,l),e[4]+=n+c,e[5]+=i+u,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),Si=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Ci(t,e){for(var n=0;nf&&(f=b,Di.set(Ri,mf&&(f=v,Di.set(Ri,0,_=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],a=i[3],o=i[5];return e.x=n.x*r+i[4],e.y=n.y*a+o,e.width=n.width*r,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Li.x=Ii.x=n.x,Li.y=Pi.y=n.y,Ai.x=Pi.x=n.x+n.width,Ai.y=Ii.y=n.y+n.height,Li.transform(i),Pi.transform(i),Ai.transform(i),Ii.transform(i),e.x=Oi(Li.x,Ai.x,Ii.x,Pi.x),e.y=Oi(Li.y,Ai.y,Ii.y,Pi.y);var s=Ti(Li.x,Ai.x,Ii.x,Pi.x),l=Ti(Li.y,Ai.y,Ii.y,Pi.y);e.width=s-e.x,e.height=l-e.y}else e!==n&&t.copy(e,n)},t}(),ji={};function Ni(t,e){var n=ji[e=e||h];n||(n=ji[e]=new qe(500));var i=n.get(t);return null==i&&(i=p.measureText(t,e).width,n.put(t,i)),i}function Fi(t,e,n,i){var r=Ni(t,e),a=Bi(e),o=Hi(0,r,n),s=zi(0,a,i);return new Yi(o,s,r,a)}function Vi(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return Fi(r[0],e,n,i);for(var a=new Yi(0,0,0,0),o=0;o=0?parseFloat(t)/100*e:parseFloat(t):t}function Ui(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,c=n.y,u="left",h="top";if(i instanceof Array)l+=Wi(i[0],n.width),c+=Wi(i[1],n.height),u=null,h=null;else switch(i){case"left":l-=r,c+=s,u="right",h="middle";break;case"right":l+=r+o,c+=s,h="middle";break;case"top":l+=o/2,c-=r,u="center",h="bottom";break;case"bottom":l+=o/2,c+=a+r,u="center";break;case"inside":l+=o/2,c+=s,u="center",h="middle";break;case"insideLeft":l+=r,c+=s,h="middle";break;case"insideRight":l+=o-r,c+=s,u="right",h="middle";break;case"insideTop":l+=o/2,c+=r,u="center";break;case"insideBottom":l+=o/2,c+=a-r,u="center",h="bottom";break;case"insideTopLeft":l+=r,c+=r;break;case"insideTopRight":l+=o-r,c+=r,u="right";break;case"insideBottomLeft":l+=r,c+=a-r,h="bottom";break;case"insideBottomRight":l+=o-r,c+=a-r,u="right",h="bottom"}return(t=t||{}).x=l,t.y=c,t.align=u,t.verticalAlign=h,t}var Gi=Si.concat(["ignore"]),qi=j(Si,function(t,e){return t[e]=!0,t},{ignore:!1}),Xi={},Zi=new Yi(0,0,0,0),Ki=function(){function t(t){this.id=C(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var c=Zi;c.copy(n.layoutRect?n.layoutRect:this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Xi,n,c):Ui(Xi,n,c),r.x=Xi.x,r.y=Xi.y,a=Xi.align,o=Xi.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var h=void 0,d=void 0;"center"===u?(h=.5*c.width,d=.5*c.height):(h=Wi(u[0],c.width),d=Wi(u[1],c.height)),l=!0,r.originX=-r.x+h+(i?0:c.x),r.originY=-r.y+d+(i?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,_=void 0,y=void 0;f&&this.canBeInsideText()?(_=n.insideStroke,null!=(g=n.insideFill)&&"auto"!==g||(g=this.getInsideTextFill()),null!=_&&"auto"!==_||(_=this.getInsideTextStroke(g),y=!0)):(_=n.outsideStroke,null!=(g=n.outsideFill)&&"auto"!==g||(g=this.getOutsideFill()),null!=_&&"auto"!==_||(_=this.getOutsideStroke(g),y=!0)),(g=g||"#000")===m.fill&&_===m.stroke&&y===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=_,m.autoStroke=y,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?"#ccc":"#333"},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&sn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*i+(r?0:255)*(1-i);return n[3]=1,fn(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},L(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(q(t))for(var n=F(t),i=0;i0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState("__zr_normal__",!1,t)},t.prototype.useState=function(t,e,n,i){var r="__zr_normal__"===t;if(this.hasState()||!r){var a=this.currentStates,o=this.stateTransition;if(!(I(a,t)>=0)||!e&&1!==a.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&o&&o.duration>0,o);var c=this._textContent,u=this._textGuide;return c&&c.useState(t,e,n,l),u&&u.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}k("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s0,p);var f=this._textContent,m=this._textGuide;f&&f.useStates(t,e,h),m&&m.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=I(i,t),a=I(i,e)>=0;r>=0?a?i.splice(r,1):i[r]=e:n&&!a&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],a=0;a0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var d=0;d0||r.force&&!o.length){var w,x=void 0,M=void 0,S=void 0;if(s)for(M={},d&&(x={}),b=0;b=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=I(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=I(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){this.painter.resize((t=t||{}).width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return o;if(t>=a)return s}else{if(t>=r)return o;if(t<=a)return s}else{if(t===r)return o;if(t===a)return s}return(t-r)/l*c+o}function cr(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return W(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function ur(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function hr(t){return t.sort(function(t,e){return t-e}),t}function dr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,a=e.indexOf(".");return Math.max(0,(a<0?0:r-1-a)-i)}(t)}function pr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function fr(t,e){var n=Math.max(dr(t),dr(e)),i=t+e;return n>20?i:ur(i,n)}function mr(t){var e=2*Math.PI;return(t%e+e)%e}function gr(t){return t>-1e-4&&t<1e-4}var _r=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function yr(t){if(t instanceof Date)return t;if(W(t)){var e=_r.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function br(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function vr(t,e){var n=br(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function wr(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],a=n-i;return a?r+a*(t[i]-r):r}function xr(t){t.sort(function(t,e){return s(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i=0||r&&I(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(a[t[o][0]]=l)}}return a}}var oa=aa([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),sa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return oa(this,t,e)},t}(),la=new qe(50);function ca(t){if("string"==typeof t){var e=la.get(t);return e&&e.image}return t}function ua(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=la.get(t),o={hostEl:n,cb:i,cbPayload:r};if(a)!da(e=a.image)&&a.pending.push(o);else{var s=p.loadImage(t,ha,ha);s.__zrImageSrc=t,la.put(t,s.__cachedImgObj={image:s,pending:[o]})}return e}return t}return e}function ha(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=o;l++)s-=o;var c=Ni(n,e);return c>s&&(n="",c=0),s=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=s,r.containerWidth=t,r}function ga(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=Ni(t,i);if(a<=n)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?_a(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;a=Ni(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function _a(t,e,n,i){for(var r=0,a=0,o=t.length;a0&&f+i.accumWidth>i.width&&(a=e.split("\n"),h=!0),i.accumWidth=f}else{var m=Sa(e,u,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+p,o=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var g=0;g=33&&e<=383}(t)||!!xa[t]}function Sa(t,e,n,i,r){for(var a=[],o=[],s="",l="",c=0,u=0,h=0;hn:r+u+p>n)?u?(s||l)&&(f?(s||(s=l,l="",u=c=0),a.push(s),o.push(u-c),l+=d,s="",u=c+=p):(l&&(s+=l,l="",c=0),a.push(s),o.push(u),s=d,u=p)):f?(a.push(l),o.push(c),l=d,c=p):(a.push(d),o.push(p)):(u+=p,f?(l+=d,c+=p):(l&&(s+=l,l="",c=0),s+=d))}else l&&(s+=l,u+=c),a.push(s),o.push(u),s="",l="",c=0,u=0}return a.length||s||(s=t,l="",c=0),l&&(s+=l),s&&(a.push(s),o.push(u)),1===a.length&&(u+=r),{accumWidth:u,lines:a,linesWidths:o}}var Ca="__zr_style_"+Math.round(10*Math.random()),ka={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Da={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ka[Ca]=!0;var Oa=["z","z2","invisible"],Ta=["invisible"],La=function(t){function e(e){return t.call(this,e)||this}var n;return a(e,t),e.prototype._init=function(e){for(var n=F(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Fa[0]=ja(r)*n+t,Fa[1]=Ya(r)*i+e,Va[0]=ja(a)*n+t,Va[1]=Ya(a)*i+e,c(s,Fa,Va),u(l,Fa,Va),(r%=Na)<0&&(r+=Na),(a%=Na)<0&&(a+=Na),r>a&&!o?a+=Na:rr&&(Ha[0]=ja(p)*n+t,Ha[1]=Ya(p)*i+e,c(s,Ha,s),u(l,Ha,l))}var Za={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ka=[],Ja=[],$a=[],Qa=[],to=[],eo=[],no=Math.min,io=Math.max,ro=Math.cos,ao=Math.sin,oo=Math.abs,so=Math.PI,lo=2*so,co="undefined"!=typeof Float32Array,uo=[];function ho(t){return Math.round(t/so*1e8)/1e8%2*so}var po=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=oo(n/ci/t)||0,this._uy=oo(n/ci/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Za.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=oo(t-this._xi),i=oo(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Za.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=n*n+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){return this._drawPendingPt(),this.addData(Za.C,t,e,n,i,r,a),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,a),this._xi=r,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Za.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,a){return this._drawPendingPt(),uo[0]=i,uo[1]=r,function(t,e){var n=ho(t[0]);n<0&&(n+=lo);var i=t[1];i+=n-t[0],!e&&i-n>=lo?i=n+lo:e&&n-i>=lo?i=n-lo:!e&&n>i?i=n+(lo-ho(n-i)):e&&nc.length&&(this._expandData(),c=this.data);for(var u=0;u0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){$a[0]=$a[1]=to[0]=to[1]=Number.MAX_VALUE,Qa[0]=Qa[1]=eo[0]=eo[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,a=0;for(t=0;tn||oo(g)>i||h===e-1)&&(f=Math.sqrt(T*T+g*g),r=m,a=b);break;case Za.C:var _=t[h++],y=t[h++],b=(m=t[h++],t[h++]),v=t[h++],w=t[h++];f=Re(r,a,_,y,m,b,v,w,10),r=v,a=w;break;case Za.Q:f=He(r,a,_=t[h++],y=t[h++],m=t[h++],b=t[h++],10),r=m,a=b;break;case Za.A:var x=t[h++],M=t[h++],S=t[h++],C=t[h++],k=t[h++],D=t[h++],O=D+k;h+=1,h++,p&&(o=ro(k)*S+x,s=ao(k)*C+M),f=io(S,C)*no(lo,Math.abs(D)),r=ro(O)*S+x,a=ao(O)*C+M;break;case Za.R:o=r=t[h++],s=a=t[h++],f=2*t[h++]+2*t[h++];break;case Za.Z:var T=o-r;g=s-a,f=Math.sqrt(T*T+g*g),r=o,a=s}f>=0&&(l[u++]=f,c+=f)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,i,r,a,o,s,l,c,u,h,d=this.data,p=this._ux,f=this._uy,m=this._len,g=e<1,_=0,y=0,b=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,c=e*this._pathLen))t:for(var v=0;v0&&(t.lineTo(u,h),b=0),w){case Za.M:n=r=d[v++],i=a=d[v++],t.moveTo(r,a);break;case Za.L:o=d[v++],s=d[v++];var M=oo(o-r),S=oo(s-a);if(M>p||S>f){if(g){if(_+(q=l[y++])>c){t.lineTo(r*(1-(X=(c-_)/q))+o*X,a*(1-X)+s*X);break t}_+=q}t.lineTo(o,s),r=o,a=s,b=0}else{var C=M*M+S*S;C>b&&(u=o,h=s,b=C)}break;case Za.C:var k=d[v++],D=d[v++],O=d[v++],T=d[v++],L=d[v++],A=d[v++];if(g){if(_+(q=l[y++])>c){Pe(r,k,O,L,X=(c-_)/q,Ka),Pe(a,D,T,A,X,Ja),t.bezierCurveTo(Ka[1],Ja[1],Ka[2],Ja[2],Ka[3],Ja[3]);break t}_+=q}t.bezierCurveTo(k,D,O,T,L,A),r=L,a=A;break;case Za.Q:if(k=d[v++],D=d[v++],O=d[v++],T=d[v++],g){if(_+(q=l[y++])>c){Fe(r,k,O,X=(c-_)/q,Ka),Fe(a,D,T,X,Ja),t.quadraticCurveTo(Ka[1],Ja[1],Ka[2],Ja[2]);break t}_+=q}t.quadraticCurveTo(k,D,O,T),r=O,a=T;break;case Za.A:var I=d[v++],P=d[v++],E=d[v++],R=d[v++],Y=d[v++],j=d[v++],N=d[v++],F=!d[v++],V=E>R?E:R,H=oo(E-R)>.001,z=Y+j,B=!1;if(g&&(_+(q=l[y++])>c&&(z=Y+j*(c-_)/q,B=!0),_+=q),H&&t.ellipse?t.ellipse(I,P,E,R,N,Y,z,F):t.arc(I,P,V,Y,z,F),B)break t;x&&(n=ro(Y)*E+I,i=ao(Y)*R+P),r=ro(z)*E+I,a=ao(z)*R+P;break;case Za.R:n=r=d[v],i=a=d[v+1],o=d[v++],s=d[v++];var W=d[v++],U=d[v++];if(g){if(_+(q=l[y++])>c){var G=c-_;t.moveTo(o,s),t.lineTo(o+no(G,W),s),(G-=W)>0&&t.lineTo(o+W,s+no(G,U)),(G-=U)>0&&t.lineTo(o+io(W-G,0),s+U),(G-=W)>0&&t.lineTo(o,s+io(U-G,0));break t}_+=q}t.rect(o,s,W,U);break;case Za.Z:if(g){var q;if(_+(q=l[y++])>c){var X;t.lineTo(r*(1-(X=(c-_)/q))+n*X,a*(1-X)+i*X);break t}_+=q}t.closePath(),r=n,a=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Za,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function fo(t,e,n,i,r,a,o){if(0===r)return!1;var s,l=r;if(o>e+l&&o>i+l||ot+l&&a>n+l||ae+h&&u>i+h&&u>a+h&&u>s+h||ut+h&&c>n+h&&c>r+h&&c>o+h||ce+c&&l>i+c&&l>a+c||lt+c&&s>n+c&&s>r+c||sn||u+cr&&(r+=bo);var d=Math.atan2(l,s);return d<0&&(d+=bo),d>=i&&d<=r||d+bo>=i&&d+bo<=r}function wo(t,e,n,i,r,a){if(a>e&&a>i||ar?s:0}var xo=po.CMD,Mo=2*Math.PI,So=[-1,-1,-1],Co=[-1,-1];function ko(t,e,n,i,r,a,o,s,l,c){if(c>e&&c>i&&c>a&&c>s||c1&&(u=Co[0],Co[0]=Co[1],Co[1]=u),f=Te(e,i,a,s,Co[0]),p>1&&(m=Te(e,i,a,s,Co[1]))),d+=2===p?_e&&s>i&&s>a||s=0&&u<=1&&(r[l++]=u);else{var c=o*o-4*a*s;if(De(c))(u=-o/(2*a))>=0&&u<=1&&(r[l++]=u);else if(c>0){var u,h=we(c),d=(-o-h)/(2*a);(u=(-o+h)/(2*a))>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,a,s,So);if(0===l)return 0;var c=Ne(e,i,a);if(c>=0&&c<=1){for(var u=0,h=Ye(e,i,a,c),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);So[0]=-l,So[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c>=Mo-1e-4){i=0,r=Mo;var u=a?1:-1;return o>=So[0]+t&&o<=So[1]+t?u:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Mo,r+=Mo);for(var d=0,p=0;p<2;p++){var f=So[p];if(f+t>o){var m=Math.atan2(s,f);u=a?1:-1,m<0&&(m=Mo+m),(m>=i&&m<=r||m+Mo>=i&&m+Mo<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(u=-u),d+=u)}}return d}function To(t,e,n,i,r){for(var a,o,s=t.data,l=t.len(),c=0,u=0,h=0,d=0,p=0,f=0;f1&&(n||(c+=wo(u,h,d,p,i,r))),g&&(d=u=s[f],p=h=s[f+1]),m){case xo.M:u=d=s[f++],h=p=s[f++];break;case xo.L:if(n){if(fo(u,h,s[f],s[f+1],e,i,r))return!0}else c+=wo(u,h,s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case xo.C:if(n){if(mo(u,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else c+=ko(u,h,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case xo.Q:if(n){if(go(u,h,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else c+=Do(u,h,s[f++],s[f++],s[f],s[f+1],i,r)||0;u=s[f++],h=s[f++];break;case xo.A:var _=s[f++],y=s[f++],b=s[f++],v=s[f++],w=s[f++],x=s[f++];f+=1;var M=!!(1-s[f++]);a=Math.cos(w)*b+_,o=Math.sin(w)*v+y,g?(d=a,p=o):c+=wo(u,h,a,o,i,r);var S=(i-_)*v/b+_;if(n){if(vo(_,y,v,w,w+x,M,e,S,r))return!0}else c+=Oo(_,y,v,w,w+x,M,S,r);u=Math.cos(w+x)*b+_,h=Math.sin(w+x)*v+y;break;case xo.R:if(d=u=s[f++],p=h=s[f++],a=d+s[f++],o=p+s[f++],n){if(fo(d,p,a,p,e,i,r)||fo(a,p,a,o,e,i,r)||fo(a,o,d,o,e,i,r)||fo(d,o,d,p,e,i,r))return!0}else c+=wo(a,p,a,o,i,r),c+=wo(d,o,d,p,i,r);break;case xo.Z:if(n){if(fo(u,h,d,p,e,i,r))return!0}else c+=wo(u,h,d,p,i,r);u=d,h=p}}return n||Math.abs(h-p)<1e-4||(c+=wo(u,h,d,p,i,r)||0),0!==c}var Lo=A({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ka),Ao={style:A({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Da.style)},Io=Si.concat(["invisible","culling","z","z2","zlevel","parent"]),Po=function(t){function e(e){return t.call(this,e)||this}var n;return a(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var a=r.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s.5?"#333":e>.2?"#eee":"#ccc"}if(t)return"#ccc"}return"#333"},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(W(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==mn(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new po(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(i.contain(t=n[0],e=n[1])){var a=this.path;if(this.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,i){return To(t,e,!0,n,i)}(a,o/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return To(t,0,!1,e,n)}(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:L(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return ht(Lo,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=L({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,a,o){t.prototype._applyStateObj.call(this,e,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.shape?a?r?s=n.shape:(s=L({},i.shape),L(s,n.shape)):(s=L({},r?this.shape:i.shape),L(s,n.shape)):l&&(s=i.shape),s)if(a){this.shape=L({},this.shape);for(var c={},u=F(s),h=0;h0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return ht(Eo,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Vi(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Pa);Ro.prototype.type="tspan";var Yo=Ro,jo=A({x:0,y:0},ka),No={style:A({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Da.style)},Fo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.createStyle=function(t){return ht(jo,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var a="width"===t?"height":"width",o=e[a];return null==o?r[t]:r[t]/r[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return No},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Yi(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Pa);Fo.prototype.type="image";var Vo=Fo,Ho=Math.round;function zo(t,e,n){if(e){var i=e.x1,r=e.x2,a=e.y1,o=e.y2;t.x1=i,t.x2=r,t.y1=a,t.y2=o;var s=n&&n.lineWidth;return s?(Ho(2*i)===Ho(2*r)&&(t.x1=t.x2=Wo(i,s,!0)),Ho(2*a)===Ho(2*o)&&(t.y1=t.y2=Wo(a,s,!0)),t):t}}function Bo(t,e,n){if(e){var i=e.x,r=e.y,a=e.width,o=e.height;t.x=i,t.y=r,t.width=a,t.height=o;var s=n&&n.lineWidth;return s?(t.x=Wo(i,s,!0),t.y=Wo(r,s,!0),t.width=Math.max(Wo(i+a,s,!1)-t.x,0===a?0:1),t.height=Math.max(Wo(r+o,s,!1)-t.y,0===o?0:1),t):t}}function Wo(t,e,n){if(!e)return t;var i=Ho(2*t);return(i+Ho(e))%2==0?i/2:(i+(n?1:-1))/2}var Uo=function(){this.x=0,this.y=0,this.width=0,this.height=0},Go={},qo=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new Uo},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=Bo(Go,e,this.style);n=o.x,i=o.y,r=o.width,a=o.height,o.r=e.r,e=o}else n=e.x,i=e.y,r=e.width,a=e.height;e.r?function(t,e){var n,i,r,a,o,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"==typeof h?n=i=r=a=h:h instanceof Array?1===h.length?n=i=r=a=h[0]:2===h.length?(n=r=h[0],i=a=h[1]):3===h.length?(n=h[0],i=a=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],a=h[3]):n=i=r=a=0,n+i>c&&(n*=c/(o=n+i),i*=c/o),r+a>c&&(r*=c/(o=r+a),a*=c/o),i+r>u&&(i*=u/(o=i+r),r*=u/o),n+a>u&&(n*=u/(o=n+a),a*=u/o),t.moveTo(s+n,l),t.lineTo(s+c-i,l),0!==i&&t.arc(s+c-i,l+i,i,-Math.PI/2,0),t.lineTo(s+c,l+u-r),0!==r&&t.arc(s+c-r,l+u-r,r,0,Math.PI/2),t.lineTo(s+a,l+u),0!==a&&t.arc(s+a,l+u-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Po);qo.prototype.type="rect";var Xo=qo,Zo={fill:"#000"},Ko={style:A({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Da.style)},Jo=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Zo,n.attr(e),n}return a(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;ep&&u){var f=Math.floor(p/l);n=n.slice(0,f)}if(t&&o&&null!=h)for(var m=ma(h,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;g0,k=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),D=i.calculatedLineHeight,O=0;Ol&&wa(n,t.substring(l,c),e,s),wa(n,i[2],e,s,i[1]),l=pa.lastIndex}la){w>0?(y.tokens=y.tokens.slice(0,w),g(y,v,b),n.lines=n.lines.slice(0,_+1)):n.lines=n.lines.slice(0,_);break t}var D=x.width,O=null==D||"auto"===D;if("string"==typeof D&&"%"===D.charAt(D.length-1))I.percentWidth=D,u.push(I),I.contentWidth=Ni(I.text,C);else{if(O){var T=x.backgroundColor,L=T&&T.image;L&&da(L=ca(L))&&(I.width=Math.max(I.width,L.width*k/L.height))}var A=f&&null!=r?r-v:null;null!=A&&A=0&&"right"===(C=_[S]).align;)this._placeToken(C,t,b,d,M,"right",f),v-=C.width,M-=C.width,S--;for(x+=(n-(x-h)-(p-M)-v)/2;w<=S;)this._placeToken(C=_[w],t,b,d,x+C.width/2,"center",f),x+=C.width,w++;d+=b}},e.prototype._placeToken=function(t,e,n,i,r,a,o){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,c=i+n/2;"top"===l?c=i+t.height/2:"bottom"===l&&(c=i+n-t.height/2),!t.isLineHolder&&cs(s)&&this._renderBackground(s,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,c-t.height/2,t.width,t.height);var u=!!s.backgroundColor,d=t.textPadding;d&&(r=ss(r,a,d),c-=t.height/2-d[0]-t.innerHeight/2);var p=this._getOrCreateChild(Yo),f=p.createStyle();p.useStyle(f);var m=this._defaultStyle,g=!1,_=0,y=os("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,m.fill)),b=as("stroke"in s?s.stroke:"stroke"in e?e.stroke:u||o||m.autoStroke&&!g?null:(_=2,m.stroke)),v=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=c,v&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=a,f.textBaseline="middle",f.font=t.font||h,f.opacity=et(s.opacity,e.opacity,1),ns(f,s),b&&(f.lineWidth=et(s.lineWidth,e.lineWidth,_),f.lineDash=tt(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=b),y&&(f.fill=y);var w=t.contentWidth,x=t.contentHeight;p.setBoundingRect(new Yi(Hi(f.x,w,f.textAlign),zi(f.y,x,f.textBaseline),w,x))},e.prototype._renderBackground=function(t,e,n,i,r,a){var o,s,l,c=t.backgroundColor,u=t.borderWidth,h=t.borderColor,d=c&&c.image,p=c&&!d,f=t.borderRadius,m=this;if(p||t.lineHeight||u&&h){(o=this._getOrCreateChild(Xo)).useStyle(o.createStyle()),o.style.fill=null;var g=o.shape;g.x=n,g.y=i,g.width=r,g.height=a,g.r=f,o.dirtyShape()}if(p)(l=o.style).fill=c||null,l.fillOpacity=tt(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(Vo)).onload=function(){m.dirtyStyle()};var _=s.style;_.image=c.image,_.x=n,_.y=i,_.width=r,_.height=a}u&&h&&((l=o.style).lineWidth=u,l.stroke=h,l.strokeOpacity=tt(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(o||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=et(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return is(t)&&(e=[t.fontStyle,t.fontWeight,es(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&at(e)||t.textFont||t.font},e}(Pa),$o={left:!0,right:1,center:1},Qo={top:1,bottom:1,middle:1},ts=["fontStyle","fontWeight","fontSize","fontFamily"];function es(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function ns(t,e){for(var n=0;n=0,a=!1;if(t instanceof Po){var o=ms(t),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(bs(s)||bs(l)){var c=(i=i||{}).style||{};"inherit"===c.fill?(a=!0,i=L({},i),(c=L({},c)).fill=s):!bs(c.fill)&&bs(s)?(a=!0,i=L({},i),(c=L({},c)).fill=ws(s)):!bs(c.stroke)&&bs(l)&&(a||(i=L({},i),c=L({},c)),c.stroke=ws(l)),i.style=c}}if(i&&null==i.z2){a||(i=L({},i));var u=t.z2EmphasisLift;i.z2=t.z2+(null!=u?u:10)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=I(t.currentStates,e)>=0,r=t.style.opacity,a=i?null:function(t,e,n,i){for(var r=t.style,a={},o=0;o0){var a={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(a.dataType=i),e.push(a)}})}),e}function Zs(t,e,n){el(t,!0),Ls(t,Ps),Js(t,e,n)}function Ks(t,e,n,i){i?function(t){el(t,!1)}(t):Zs(t,e,n)}function Js(t,e,n){var i=hs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var $s=["emphasis","blur","select"],Qs={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tl(t,e,n,i){n=n||"itemStyle";for(var r=0;r<$s.length;r++){var a=$s[r],o=e.getModel([a,n]);t.ensureState(a).style=i?i(o):o[Qs[n]]()}}function el(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function nl(t){return!(!t||!t.__highDownDispatcher)}function il(t){var e=t.type;return"select"===e||"unselect"===e||"toggleSelect"===e}function rl(t){var e=t.type;return"highlight"===e||"downplay"===e}var al=Hr();function ol(t,e,n,i,r){var a;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();a=o&&o.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,c=void 0,u=void 0;return i?(l=tt(i.duration,200),c=tt(i.easing,"cubicOut"),u=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),c=e.getShallow(s?"animationEasingUpdate":"animationEasing"),u=e.getShallow(s?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(u=a.delay)),B(u)&&(u=u(n,r)),B(l)&&(l=l(n)),{duration:l||0,delay:u,easing:c}}return null}function sl(t,e,n,i,r,a,o){var s,l=!1;B(r)?(o=a,a=r,r=null):q(r)&&(a=r.cb,o=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var u=ol(t,i,r,c?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(u&&u.duration>0){var h={duration:u.duration,delay:u.delay||0,easing:u.easing,done:a,force:!!a||!!o,setToFinal:!c,scope:t,during:o};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),o&&o(1),a&&a()}function ll(t,e,n,i,r,a){sl("update",t,e,n,i,r,a)}function cl(t,e,n,i,r,a){sl("enter",t,e,n,i,r,a)}function ul(t){if(!t.__zr)return!0;for(var e=0;e-1?"ZH":"EN";function Kl(t,e){t=t.toUpperCase(),Xl[t]=new Bl(e),ql[t]=e}function Jl(t){return Xl[t]}Kl("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),Kl("ZH",{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}});var $l={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Ql={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+$l.hour,minute:"{yyyy}-{MM}-{dd} "+$l.minute,second:"{yyyy}-{MM}-{dd} "+$l.second,millisecond:$l.none},tc=["year","month","day","hour","minute","second","millisecond"],ec=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function nc(t,e){return"0000".substr(0,e-(t+="").length)+t}function ic(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function rc(t,e,n,i){var r=yr(t),a=r[sc(n)](),o=r[lc(n)]()+1,s=Math.floor((o-1)/4)+1,l=r[cc(n)](),c=r["get"+(n?"UTC":"")+"Day"](),u=r[uc(n)](),h=(u-1)%12+1,d=r[hc(n)](),p=r[dc(n)](),f=r[pc(n)](),m=(i instanceof Bl?i:Jl(i||Zl)||Xl.EN).getModel("time"),g=m.get("month"),_=m.get("monthAbbr"),y=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[o-1]).replace(/{MMM}/g,_[o-1]).replace(/{MM}/g,nc(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,nc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,y[c]).replace(/{ee}/g,b[c]).replace(/{e}/g,c+"").replace(/{HH}/g,nc(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,nc(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,nc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,nc(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,nc(f,3)).replace(/{S}/g,f+"")}function ac(t,e){var n=yr(t),i=n[lc(e)]()+1,r=n[cc(e)](),a=n[uc(e)](),o=n[hc(e)](),s=n[dc(e)](),l=0===n[pc(e)](),c=l&&0===s,u=c&&0===o,h=u&&0===a,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":u?"hour":c?"minute":l?"second":"millisecond"}function oc(t,e,n){var i=G(t)?yr(t):t;switch(e=e||ac(t,n)){case"year":return i[sc(n)]();case"half-year":return i[lc(n)]()>=6?1:0;case"quarter":return Math.floor((i[lc(n)]()+1)/4);case"month":return i[lc(n)]();case"day":return i[cc(n)]();case"half-day":return i[uc(n)]()/24;case"hour":return i[uc(n)]();case"minute":return i[hc(n)]();case"second":return i[dc(n)]();case"millisecond":return i[pc(n)]()}}function sc(t){return t?"getUTCFullYear":"getFullYear"}function lc(t){return t?"getUTCMonth":"getMonth"}function cc(t){return t?"getUTCDate":"getDate"}function uc(t){return t?"getUTCHours":"getHours"}function hc(t){return t?"getUTCMinutes":"getMinutes"}function dc(t){return t?"getUTCSeconds":"getSeconds"}function pc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function fc(t){return t?"setUTCFullYear":"setFullYear"}function mc(t){return t?"setUTCMonth":"setMonth"}function gc(t){return t?"setUTCDate":"setDate"}function _c(t){return t?"setUTCHours":"setHours"}function yc(t){return t?"setUTCMinutes":"setMinutes"}function bc(t){return t?"setUTCSeconds":"setSeconds"}function vc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function wc(t){if(!Sr(t))return W(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function xc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Mc=it,Sc=/([&<>"'])/g,Cc={"&":"&","<":"<",">":">",'"':""","'":"'"};function kc(t){return null==t?"":(t+"").replace(Sc,function(t,e){return Cc[e]})}function Dc(t,e,n){function i(t){return t&&at(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,o=t instanceof Date;if(a||o){var s=a?yr(t):t;if(!isNaN(+s))return rc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(o)return"-"}if("ordinal"===e)return U(t)?i(t):G(t)&&r(t)?t+"":"-";var l=Mr(t);return r(l)?wc(l):U(t)?i(t):"boolean"==typeof t?t+"":"-"}var Oc=["a","b","c","d","e","f","g"],Tc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Lc(t,e,n){z(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],a=0;ai||l.newline?(a=0,u=m,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var g=d.height+(f?-f.y+d.y:0);(h=o+g)>r||l.newline?(a+=s+n,o=0,h=g,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===t?a=u+n:o=h+n)})}var jc=Yc;function Nc(t,e,n){n=Mc(n||0);var i=e.width,r=e.height,a=cr(t.left,i),o=cr(t.top,r),s=cr(t.right,i),l=cr(t.bottom,r),c=cr(t.width,i),u=cr(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(c)&&(c=i-s-d-a),isNaN(u)&&(u=r-l-h-o),null!=p&&(isNaN(c)&&isNaN(u)&&(p>i/r?c=.8*i:u=.8*r),isNaN(c)&&(c=p*u),isNaN(u)&&(u=c/p)),isNaN(a)&&(a=i-s-c-d),isNaN(o)&&(o=r-l-u-h),t.left||t.right){case"center":a=i/2-c/2-n[3];break;case"right":a=i-c-d}switch(t.top||t.bottom){case"middle":case"center":o=r/2-u/2-n[0];break;case"bottom":o=r-u-h}a=a||0,o=o||0,isNaN(c)&&(c=i-d-a-(s||0)),isNaN(u)&&(u=r-h-o-(l||0));var f=new Yi(a+n[3],o+n[0],c,u);return f.margin=n,f}function Fc(t,e,n,i,r,a){var o,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],c=r&&r.boundingMode||"all";if((a=a||t).x=t.x,a.y=t.y,!s&&!l)return!1;if("raw"===c)o="group"===t.type?new Yi(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(o=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();(o=o.clone()).applyTransform(u)}var h=Nc(A({width:o.width,height:o.height},e),n,i),d=s?h.x-o.x:0,p=l?h.y-o.y:0;return"raw"===c?(a.x=d,a.y=p):(a.x+=d,a.y+=p),a===t&&t.markRedraw(),!0}function Vc(t){var e=t.layoutMode||t.constructor.layoutMode;return q(e)?e:e?{type:e}:null}function Hc(t,e,n){var i=n&&n.ignoreSize;!z(i)&&(i=[i,i]);var r=o(Rc[0],0),a=o(Rc[1],1);function o(n,r){var a={},o=0,c={},u=0;if(Pc(n,function(e){c[e]=t[e]}),Pc(n,function(t){s(e,t)&&(a[t]=c[t]=e[t]),l(a,t)&&o++,l(c,t)&&u++}),i[r])return l(e,n[1])?c[n[2]]=null:l(e,n[2])&&(c[n[1]]=null),c;if(2!==u&&o){if(o>=2)return a;for(var h=0;h=0;o--)a=O(a,n[o],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Id";return qr(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(n,!0)},e)},e.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(Bl);ta(Uc,Bl),ra(Uc),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=$r(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=$r(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r}}(Uc),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,i,r){if(t.length){var a=function(t){var e={},i=[];return R(t,function(r){var a,o,s=n(e,r),l=function(t,e){var n=[];return R(t,function(t){I(e,t)>=0&&n.push(t)}),n}(s.originalDeps=(o=[],R(Uc.getClassesByMainType(a=r),function(t){o=o.concat(t.dependencies||t.prototype.dependencies||[])}),o=Y(o,function(t){return $r(t).main}),"dataset"!==a&&I(o,"dataset")<=0&&o.unshift("dataset"),o),t);s.entryCount=l.length,0===s.entryCount&&i.push(r),R(l,function(t){I(s.predecessor,t)<0&&s.predecessor.push(t);var i=n(e,t);I(i.successor,t)<0&&i.successor.push(r)})}),{graph:e,noEntryList:i}}(e),o=a.graph,s=a.noEntryList,l={};for(R(t,function(t){l[t]=!0});s.length;){var c=s.pop(),u=o[c],h=!!l[c];h&&(i.call(r,c,u.originalDeps.slice()),delete l[c]),R(u.successor,h?p:d)}R(l,function(){throw new Error("")})}function d(t){o[t].entryCount--,0===o[t].entryCount&&s.push(t)}function p(t){l[t]=!0,d(t)}}}(Uc);var Gc=Uc,qc="";"undefined"!=typeof navigator&&(qc=navigator.platform||"");var Xc="rgba(0, 0, 0, 0.2)",Zc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Xc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Xc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Xc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Xc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Xc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Xc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:qc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Kc=ct(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Jc=Hr();function $c(t,e,n){var i={},r=tu(e);if(!r||!t)return i;var a,o,s=[],l=[],c=Jc(e.ecModel).datasetMap,u=r.uid+"_"+n.seriesLayoutBy;R(t=t.slice(),function(e,n){var r=q(e)?e:t[n]={name:e};"ordinal"===r.type&&null==a&&(a=n,o=p(r)),i[r.name]=[]});var h=c.get(u)||c.set(u,{categoryWayDim:o,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}(i,o):n;if((u=u||n)&&u.length){var h=u[l];return r&&(c[r]=h),s.paletteIdx=(l+1)%u.length,h}}function du(t){throw new Error(t)}"undefined"!=typeof console&&console.warn&&console;var pu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.init=function(t,e,n,i,r,a){i=i||{},this.option=null,this._theme=new Bl(i),this._locale=new Bl(r),this._optionManager=a},e.prototype.setOption=function(t,e,n){var i=gu(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,gu(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):au(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this);o.length&&R(o,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],o=ct(),s=e&&e.replaceMergeMainTypeMap;Jc(this).datasetMap=ct(),R(t,function(t,e){null!=t&&(Gc.hasClass(e)?e&&(a.push(e),o.set(e,!0)):n[e]=null==n[e]?D(t):O(n[e],t,!0))}),s&&s.each(function(t,e){Gc.hasClass(e)&&!o.get(e)&&(a.push(e),o.set(e,!0))}),Gc.topologicalTravel(a,Gc.getAllClassMainTypes(),function(e){var a=function(t,e,n){var i=ou.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Tr(t[e])),o=i.get(e),l=Er(o,a,o?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll");(function(t,e,n){R(t,function(t){var i=t.newOption;q(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))})})(l,e,Gc),n[e]=null,i.set(e,null),r.set(e,0);var c,u=[],h=[],d=0;R(l,function(t,n){var i=t.existing,r=t.newOption;if(r){var a=Gc.getClass(e,t.keyInfo.subType,!("series"===e));if(!a)return;if("tooltip"===e){if(c)return;c=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var o=L({componentIndex:n},t.keyInfo);L(i=new a(r,this,this,o),o),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(u.push(i.option),h.push(i),d++):(u.push(void 0),h.push(void 0))},this),n[e]=u,i.set(e,h),r.set(e,d),"series"===e&&iu(this)},this),this._seriesIndices||iu(this)},e.prototype.getOption=function(){var t=D(this.option);return R(t,function(e,n){if(Gc.hasClass(n)){for(var i=Tr(e),r=i.length,a=!1,o=r-1;o>=0;o--)i[o]&&!Fr(i[o])?a=!0:(i[o]=null,!a&&r--);i.length=r,t[n]=i}}),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e})(i[o],t,a)||(r=!1)}}),r}var Su=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(R(Tr(t.series),function(t){t&&t.data&&Z(t.data)&&ot(t.data)}),R(Tr(t.dataset),function(t){t&&t.source&&Z(t.source)&&ot(t.source)})),t=D(t);var i=this._optionBackup,r=function(t,e,n){var i,r,a=[],o=t.baseOption,s=t.timeline,l=t.options,c=t.media,u=!!t.media,h=!!(l||s||o&&o.timeline);function d(t){R(e,function(e){e(t,n)})}return o?(r=o).timeline||(r.timeline=s):((h||u)&&(t.options=t.media=null),r=t),u&&z(c)&&R(c,function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))}),d(r),R(l,function(t){return d(t)}),R(a,function(t){return d(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],D(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=D(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n=this._api.getWidth(),i=this._api.getHeight(),r=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!r.length&&!a)return s;for(var l=0,c=r.length;l=0;f--){var m=t[f];if(o||(h=m.data.rawIndexOf(m.stackedByDimension,u)),h>=0){var g=m.data.getByRawIndex(m.stackResultDimension,h);if(d>=0&&g>0||d<=0&&g<0){d=fr(d,g),p=g;break}}}return i[0]=d,i[1]=p,i})})}var Uu,Gu,qu,Xu,Zu,Ku=function(t){this.data=t.data||("keyedColumns"===t.sourceFormat?{}:[]),this.sourceFormat=t.sourceFormat||"unknown",this.seriesLayoutBy=t.seriesLayoutBy||"column",this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nc&&(c=p)}s[0]=l,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=a.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return mh(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function yh(t){var e,n;return q(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function bh(t){return new vh(t)}var vh=function(){function t(t){this._reset=(t=t||{}).reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var a,o=u(this._modBy),s=this._modDataCount||0,l=u(t&&t.modBy),c=t&&t.modDataCount||0;function u(t){return!(t>=1)&&(t=1),t}o===l&&s===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=c;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(a||d1&&i>0?s:o}};return a;function o(){return e=t?null:ae},gte:function(t,e){return t>=e}},kh=function(){function t(t,e){G(e)||du(""),this._opFn=Ch[t],this._rvalFloat=Mr(e)}return t.prototype.evaluate=function(t){return G(t)?this._opFn(t,this._rvalFloat):this._opFn(Mr(t),this._rvalFloat)},t}(),Dh=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=G(t)?t:Mr(t),i=G(e)?e:Mr(e),r=isNaN(n),a=isNaN(i);if(r&&(n=this._incomparable),a&&(i=this._incomparable),r&&a){var o=W(t),s=W(e);o&&(n=s?t:0),s&&(i=o?e:0)}return ni?-this._resultLT:0},t}(),Oh=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Mr(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Mr(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Th(t,e){return"eq"===t||"ne"===t?new Oh("eq"===t,e):pt(Ch,t)?new kh(t,e):null}var Lh=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return xh(t,e)},t}();function Ah(t){return jh(t.sourceFormat)||du(""),t.data}function Ih(t){var e=t.sourceFormat,n=t.data;if(jh(e)||du(""),"arrayRows"===e){for(var i=[],r=0,a=n.length;r65535?Fh:Vh}function Uh(t,e,n,i,r){var a=Bh[n||"float"];if(r){var o=t[e],s=o&&o.length;if(s!==i){for(var l=new a(i),c=0;cf[1]&&(f[1]=p)}return this._rawCount=this._count=s,{start:o,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Y(a,function(t){return t.property}),c=0;cg[1]&&(g[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;r=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var a=1/0,o=-1,s=0,l=0,c=this.count();l=0&&o<0)&&(a=h,o=u,s=0),u===o&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=this._count;if((r=e.constructor)===Array){t=new r(n);for(var i=0;i=c&&M<=u||isNaN(M))&&(o[s++]=p),p++;d=!0}else if(2===r){f=h[i[0]];var g=h[i[1]],_=t[i[1]][0],y=t[i[1]][1];for(m=0;m=c&&M<=u||isNaN(M))&&(b>=_&&b<=y||isNaN(b))&&(o[s++]=p),p++}d=!0}}if(!d)if(1===r)for(m=0;m=c&&M<=u||isNaN(M))&&(o[s++]=v)}else for(m=0;mt[S][1])&&(w=!1)}w&&(o[s++]=e.getRawIndex(m))}return sg[1]&&(g[1]=m)}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,a=this.clone([t],!0),o=a._chunks[t],s=this.count(),l=0,c=Math.floor(1/e),u=this.getRawIndex(0),h=new(Wh(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));h[l++]=u;for(var d=1;dn&&(n=i,r=C)}S>0&&Sc-p&&(o.length=s=c-p);for(var f=0;fu[1]&&(u[1]=g),h[d++]=_}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,a=this.count();ro&&(o=l)}return this._extent[t]=i=[a,o],i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return xh(t[i],this._dimensions[i])}Nh={arrayRows:t,objectRows:function(t,e,n,i){return xh(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return xh(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),qh=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Zh(n)){var a=n,o=void 0,s=void 0,l=void 0;if(r){var c=i[0];c.prepareSource(),o=(l=c.getSource()).data,s=l.sourceFormat,e=[c._getVersionSign()]}else s=Z(o=a.get("data",!0))?"typedArray":"original",e=[];var u=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=tt(u.seriesLayoutBy,h.seriesLayoutBy)||null,p=tt(u.sourceHeader,h.sourceHeader),f=tt(u.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||f?[$u(o,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var m=n;if(r){var g=this._applyTransform(i);t=g.sourceList,e=g.upstreamSignList}else t=[$u(m.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);null!=r&&1!==t.length&&Kh("");var a,o=[],s=[];return R(t,function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||Kh(""),o.push(e),s.push(t._getVersionSign())}),i?e=function(t,e,n){var i=Tr(t),r=i.length;r||du("");for(var a=0,o=r;a1||n>0&&!t.noHeader;return R(t.blocks,function(t){var n=id(t);n>=e&&(e=n+ +(i&&(!n||ed(t)&&!t.noHeader)))}),e}return 0}function rd(t,e,n,i){var r,a=e.noHeader,o=(r=id(e),{html:$h[r],richText:Qh[r]}),s=[],l=e.blocks||[];rt(!l||z(l)),l=l||[];var c=t.orderMode;if(e.sortBlocks&&c){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(pt(u,c)){var h=new Dh(u[c],null);l.sort(function(t,e){return h.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===c&&l.reverse()}R(l,function(n,r){var a=e.valueFormatter,l=nd(n)(a?L(L({},t),{valueFormatter:a}):t,n,r>0?o.html:0,i);null!=l&&s.push(l)});var d="richText"===t.renderMode?s.join(o.richText):sd(s.join(""),a?n:o.html);if(a)return d;var p=Dc(e.header,"ordinal",t.useUTC),f=Jh(i,t.renderMode).nameStyle;return"richText"===t.renderMode?ld(t,p,f)+o.richText+d:sd('
'+kc(p)+"
"+d,n)}function ad(t,e,n,i){var r=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,l=e.name,c=t.useUTC,u=e.valueFormatter||t.valueFormatter||function(t){return Y(t=z(t)?t:[t],function(t,e){return Dc(t,z(p)?p[e]:p,c)})};if(!a||!o){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=a?"":Dc(l,"ordinal",c),p=e.valueType,f=o?[]:u(e.value),m=!s||!a,g=!s&&a,_=Jh(i,r),y=_.nameStyle,b=_.valueStyle;return"richText"===r?(s?"":h)+(a?"":ld(t,d,y))+(o?"":function(t,e,n,i,r){var a=[r];return n&&a.push({padding:[0,0,0,i?10:20],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,a)}(t,f,m,g,b)):sd((s?"":h)+(a?"":function(t,e,n){return''+kc(t)+""}(d,!s,y))+(o?"":function(t,e,n,i){return''+Y(t=z(t)?t:[t],function(t){return kc(t)}).join("  ")+""}(f,m,g,b)),n)}}function od(t,e,n,i,r,a){if(t)return nd(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,a)}function sd(t,e){return'
'+t+'
'}function ld(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function cd(t,e){return Ac(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function ud(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var hd=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Cr()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=W(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var a=n.renderMode||"html";return i?"html"===a?"subItem"===r?'':'':{renderMode:a,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return W(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};z(e)?R(e,function(t){return L(n,t)}):L(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function dd(t){var e,n,i,r,a=t.series,o=t.dataIndex,s=t.multipleSeries,l=a.getData(),c=l.mapDimensionsAll("defaultedTooltip"),u=c.length,h=a.getRawValue(o),d=z(h),p=cd(a,o);if(u>1||d&&!u){var f=function(t,e,n,i,r){var a=e.getData(),o=j(t,function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),s=[],l=[],c=[];function u(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?c.push(td("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?R(i,function(t){u(mh(a,n,t),t)}):R(t,u),{inlineValues:s,inlineValueTypes:l,blocks:c}}(h,a,o,c,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(u){var m=l.getDimensionInfo(c[0]);r=e=mh(l,o,c[0]),n=m.type}else r=e=d?h[0]:h;var g=Nr(a),_=g&&a.name||"",y=l.getName(o),b=s?_:y;return td("section",{header:_,noHeader:s||!g,sortParam:r,blocks:[td("nameValue",{markerType:"item",markerColor:p,name:b,noName:!at(b),value:e,valueType:n})].concat(i||[])})}var pd=Hr();function fd(t,e){return t.getName(e)||t.getId(e)}var md=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return a(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=bh({count:_d,reset:yd}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(pd(this).sourceManager=new qh(this)).prepareSource();var i=this.getInitialData(t,n);vd(i,this),this.dataTask.context.data=i,pd(this).dataBeforeProcessed=i,gd(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Vc(this),i=n?zc(t):{},r=this.subType;Gc.hasClass(r)&&(r+="Series"),O(t,e.getTheme().get(this.subType)),O(t,this.getDefaultOption()),Lr(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Hc(t,i,n)},e.prototype.mergeOption=function(t,e){t=O(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Vc(this);n&&Hc(this.option,t,n);var i=pd(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);vd(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,pd(this).dataBeforeProcessed=r,gd(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!Z(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=cu.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[fd(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,a=r.selectedMode,o=e.length;if(a&&o)if("series"===a)r.selectedMap="all";else if("multiple"===a){q(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Gc.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(Gc);function gd(t){var e=t.name;Nr(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return R(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function _d(t){return t.model.getRawData().count()}function yd(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),bd}function bd(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function vd(t,e){R(ut(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,H(wd,e))})}function wd(t,e){var n=xd(t);return n&&n.setOutputEnd((e||this).count()),e}function xd(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}P(md,_h),P(md,cu),ta(md,Gc);var Md=md,Sd=function(){function t(){this.group=new ir,this.uid=Ul("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.blurSeries=function(t,e){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Qr(Sd),ra(Sd);var Cd=Sd;function kd(){var t=Hr();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,a=!!n.progressiveRender,o=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===o&&a===s)&&"reset"}}var Dd=po.CMD,Od=[[],[],[]],Td=Math.sqrt,Ld=Math.atan2;function Ad(t,e){if(e){var n,i,r,a,o,s,l=t.data,c=t.len(),u=Dd.M,h=Dd.C,d=Dd.L,p=Dd.R,f=Dd.A,m=Dd.Q;for(r=0,a=0;r1&&(o*=Id(f),s*=Id(f));var m=(r===a?-1:1)*Id((o*o*(s*s)-o*o*(p*p)-s*s*(d*d))/(o*o*(p*p)+s*s*(d*d)))||0,g=m*o*p/s,_=m*-s*d/o,y=(t+n)/2+Ed(h)*g-Pd(h)*_,b=(e+i)/2+Pd(h)*g+Ed(h)*_,v=Nd([1,0],[(d-g)/o,(p-_)/s]),w=[(d-g)/o,(p-_)/s],x=[(-1*d-g)/o,(-1*p-_)/s],M=Nd(w,x);if(jd(w,x)<=-1&&(M=Rd),jd(w,x)>=1&&(M=0),M<0){var S=Math.round(M/Rd*1e6)/1e6;M=2*Rd+S%2*Rd}u.addData(c,y,b,o,s,v,M,h,a)}var Vd=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Hd=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,zd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.applyTransform=function(t){},e}(Po);function Bd(t){return null!=t.setData}function Wd(t,e){var n=function(t){var e=new po;if(!t)return e;var n,i=0,r=0,a=i,o=r,s=po.CMD,l=t.match(Vd);if(!l)return e;for(var c=0;cL*L+A*A&&(S=k,C=D),{cx:S,cy:C,x0:-u,y0:-h,x1:S*(r/w-1),y1:C*(r/w-1)}}var up=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},hp=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new up},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=sp(e.r,0),r=sp(e.r0||0,0),a=i>0;if(a||r>0){if(a||(i=r,r=0),r>i){var o=i;i=r,r=o}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var c=e.cx,u=e.cy,h=!!e.clockwise,d=ap(l-s),p=d>tp&&d%tp;if(p>1e-4&&(d=p),i>1e-4)if(d>tp-1e-4)t.moveTo(c+i*np(s),u+i*ep(s)),t.arc(c,u,i,s,l,!h),r>1e-4&&(t.moveTo(c+r*np(l),u+r*ep(l)),t.arc(c,u,r,l,s,h));else{var f=void 0,m=void 0,g=void 0,_=void 0,y=void 0,b=void 0,v=void 0,w=void 0,x=void 0,M=void 0,S=void 0,C=void 0,k=void 0,D=void 0,O=void 0,T=void 0,L=i*np(s),A=i*ep(s),I=r*np(l),P=r*ep(l),E=d>1e-4;if(E){var R=e.cornerRadius;R&&(f=(n=function(t){var e;if(z(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R))[0],m=n[1],g=n[2],_=n[3]);var Y=ap(i-r)/2;if(y=lp(Y,g),b=lp(Y,_),v=lp(Y,f),w=lp(Y,m),S=x=sp(y,b),C=M=sp(v,w),(x>1e-4||M>1e-4)&&(k=i*np(l),D=i*ep(l),O=r*np(s),T=r*ep(s),d1e-4){var U=lp(g,S),G=lp(_,S),q=cp(O,T,L,A,i,U,h),X=cp(k,D,I,P,i,G,h);t.moveTo(c+q.cx+q.x0,u+q.cy+q.y0),S0&&t.arc(c+q.cx,u+q.cy,U,rp(q.y0,q.x0),rp(q.y1,q.x1),!h),t.arc(c,u,i,rp(q.cy+q.y1,q.cx+q.x1),rp(X.cy+X.y1,X.cx+X.x1),!h),G>0&&t.arc(c+X.cx,u+X.cy,G,rp(X.y1,X.x1),rp(X.y0,X.x0),!h))}else t.moveTo(c+L,u+A),t.arc(c,u,i,s,l,!h);else t.moveTo(c+L,u+A);r>1e-4&&E?C>1e-4?(U=lp(f,C),q=cp(I,P,k,D,r,-(G=lp(m,C)),h),X=cp(L,A,O,T,r,-U,h),t.lineTo(c+q.cx+q.x0,u+q.cy+q.y0),C0&&t.arc(c+q.cx,u+q.cy,G,rp(q.y0,q.x0),rp(q.y1,q.x1),!h),t.arc(c,u,r,rp(q.cy+q.y1,q.cx+q.x1),rp(X.cy+X.y1,X.cx+X.x1),h),U>0&&t.arc(c+X.cx,u+X.cy,U,rp(X.y1,X.x1),rp(X.y0,X.x0),!h))):(t.lineTo(c+I,u+P),t.arc(c,u,r,l,s,h)):t.lineTo(c+I,u+P)}else t.moveTo(c,u);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Po);hp.prototype.type="sector";var dp=hp,pp=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},fp=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultShape=function(){return new pp},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Po);fp.prototype.type="ring";var mp=fp;function gp(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var a=function(t,e,n,i){var r,a,o,s,l=[],c=[],u=[],h=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;dVp[1]){if(o=!1,r)return o;var c=Math.abs(Vp[0]-Fp[1]),u=Math.abs(Fp[0]-Vp[1]);Math.min(c,u)>i.len()&&Di.scale(i,l,cMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function hf(t){return!t.isGroup}function df(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){hf(t)&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(hf(t)&&t.anid){var e=r[t.anid];if(e){var i=a(t);t.attr(a(e)),ll(t,i,n,hs(t).dataIndex)}}})}function a(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=L({},t.shape)),e}}function pf(t,e){return Y(t,function(t){var n=t[0];n=Gp(n,e.x),n=qp(n,e.x+e.width);var i=t[1];return i=Gp(i,e.y),[n,i=qp(i,e.y+e.height)]})}function ff(t,e){var n=Gp(t.x,e.x),i=qp(t.x+t.width,e.x+e.width),r=Gp(t.y,e.y),a=qp(t.y+t.height,e.y+e.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}}function mf(t,e,n){var i=L({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),A(r,n),new Vo(i)):Qp(t.replace("path://",""),i,n,"center")}function gf(t,e,n,i,r){for(var a=0,o=r[r.length-1];a=-1e-6)return!1;var f=t-r,m=e-a,g=yf(f,m,c,u)/p;if(g<0||g>1)return!1;var _=yf(f,m,h,d)/p;return!(_<0||_>1)}function yf(t,e,n,i){return t*i-n*e}function bf(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=W(e)?{formatter:e}:e,a=n.mainType,o=n.componentIndex,s={componentType:a,name:i,$vars:["name"]};s[a+"Index"]=o;var l=t.formatterParamsExtra;l&&R(F(l),function(t){pt(s,t)||(s[t]=l[t],s.$vars.push(t))});var c=hs(t.el);c.componentMainType=a,c.componentIndex=o,c.tooltipConfig={name:i,option:A({content:i,formatterParams:s},r)}}function vf(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function wf(t,e){if(t)if(z(t))for(var n=0;n=0?h():u=setTimeout(h,-r),l=i};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function Ef(t,e,n,i){var r=t[e];if(r){var a=r[Af]||r;if(r[If]!==n||r["\0__throttleType"]!==i){if(null==n||!i)return t[e]=a;(r=t[e]=Pf(a,n,"debounce"===i))[Af]=a,r["\0__throttleType"]=i,r[If]=n}return r}}function Rf(t,e){var n=t[e];n&&n[Af]&&(n.clear&&n.clear(),t[e]=n[Af])}var Yf=Hr(),jf={itemStyle:aa(Fl,!0),lineStyle:aa(Yl,!0)},Nf={lineStyle:"stroke",itemStyle:"fill"};function Ff(t,e){return t.visualStyleMapper||jf[e]||(console.warn("Unkown style type '"+e+"'."),jf.itemStyle)}function Vf(t,e){return t.visualDrawType||Nf[e]||(console.warn("Unkown style type '"+e+"'."),"fill")}var Hf={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=Ff(t,i)(r),o=r.getShallow("decal");o&&(n.setVisual("decal",o),o.dirty=!0);var s=Vf(t,i),l=a[s],c=B(l)?l:null;if(!a[s]||c||"auto"===a.fill||"auto"===a.stroke){var u=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[s]||(a[s]=u,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||B(a.fill)?u:a.fill,a.stroke="auto"===a.stroke||B(a.stroke)?u:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=L({},a);r[s]=c(i),e.setItemVisual(n,"style",r)}}}},zf=new Bl,Bf={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Ff(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){zf.option=n[i];var o=r(zf);L(t.ensureUniqueItemVisual(e,"style"),o),zf.option.decal&&(t.setItemVisual(e,"decal",zf.option.decal),zf.option.decal.dirty=!0),a in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Wf={performRawSeries:!0,overallReset:function(t){var e=ct();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||e.set(i,r={}),Yf(t).scope=r}}),t.eachSeries(function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),a=Yf(e).scope,o=Vf(e,e.visualStyleAccessPath||"itemStyle");r.each(function(t){var e=r.getRawIndex(t);i[e]=t}),n.each(function(t){var s=i[t];if(r.getItemVisual(s,"colorFromPalette")){var l=r.ensureUniqueItemVisual(s,"style"),c=n.getName(t)||t+"",u=n.count();l[o]=e.getColorFromPalette(c,a,u)}})}})}},Uf=Math.PI,Gf=function(){function t(t,e,n,i){this._stageTaskMap=ct(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,a=i&&i.modDataCount;return{step:r,modBy:null!=a?Math.ceil(a/r):null,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,a=t.get("large")&&i>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:o,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ct();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;R(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});rt(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}R(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each(function(t){o(i,t)&&(t.dirty(),h=!0)}),h&&u.dirty(),a.updatePayload(u,n);var p=a.getPerformArgs(u,i.block);d.each(function(t){t.perform(p)}),u.perform(p)&&(r=!0)}else c&&c.each(function(s,l){o(i,s)&&s.dirty();var c=a.getPerformArgs(s,i.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(c)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,o=e.seriesTaskMap=ct(),s=t.seriesType,l=t.getTargetSeries;function c(e){var s=e.uid,l=o.set(s,a&&a.get(s)||bh({plan:Jf,reset:$f,count:em}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):l&&l(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||bh({reset:qf});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var o=a.agentStubMap,s=a.agentStubMap=ct(),l=t.seriesType,c=t.getTargetSeries,u=!0,h=!1;function d(t){var e=t.uid,n=s.set(e,o&&o.get(e)||(h=!0,bh({reset:Xf,onDirty:Kf})));n.context={model:t,overallProgress:u},n.agent=a,n.__block=u,r._pipe(t,n)}rt(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):c?c(n,i).each(d):(u=!1,R(n.getSeries(),d)),h&&a.dirty()},t.prototype._pipe=function(t,e){var n=this._pipelineMap.get(t.uid);!n.head&&(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return B(t)&&(t={overallReset:t,seriesType:nm(t)}),t.uid=Ul("stageHandler"),e&&(t.visualType=e),t},t}();function qf(t){t.overallReset(t.ecModel,t.api,t.payload)}function Xf(t){return t.overallProgress&&Zf}function Zf(){this.agent.dirty(),this.getDownstream().dirty()}function Kf(){this.agent&&this.agent.dirty()}function Jf(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function $f(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Tr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Y(e,function(t,e){return tm(e)}):Qf}var Qf=tm(0);function tm(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a0&&u===r.length-c.length){var h=r.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,s=!0)}}o.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=e.cptQuery,l=e.dataQuery;return c(s,a,"mainType")&&c(s,a,"subType")&&c(s,a,"index","componentIndex")&&c(s,a,"name")&&c(s,a,"id")&&c(l,r,"name")&&c(l,r,"dataIndex")&&c(l,r,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,i,r));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),fm=["symbol","symbolSize","symbolRotate","symbolOffset"],mm=fm.concat(["symbolKeepAspect"]),gm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,o=0;o0&&(n=i.lineWidth,(e=i.lineDash)&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:G(e)?[e]:z(e)?e:null:null),a=i.lineDashOffset;if(r){var o=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;o&&1!==o&&(r=Y(r,function(t){return t/o}),a/=o)}return[r,a]}var zm=new po(!0);function Bm(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function Wm(t){return"string"==typeof t&&"none"!==t}function Um(t){var e=t.fill;return null!=e&&"none"!==e}function Gm(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function qm(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Xm(t,e,n){var i=ua(e.image,e.__image,n);if(da(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*mt),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var Zm=["shadowBlur","shadowOffsetX","shadowOffsetY"],Km=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Jm(t,e,n,i,r){var a=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){tg(t,r),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?ka.opacity:o}(i||e.blend!==n.blend)&&(a||(tg(t,r),a=!0),t.globalCompositeOperation=e.blend||ka.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this.__flagInMainProcess)if(this._disposed);else{var i,r,a;if(q(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var o=new Su(this._api),s=this._theme,l=this._model=new _u;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:r},Wg);var c={seriesTransition:a,optionChanged:!0};if(n)this.__pendingUpdate={silent:i,updateParams:c},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{yg(this),wg.update.call(this,null,c)}catch(u){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,u}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Cg.call(this,i),kg.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||pg&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return this._zr.painter.getRenderedCanvas({backgroundColor:(t=t||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return this._zr.painter.renderToString({useViewBox:(t=t||{}).useViewBox})},e.prototype.getSvgDataURL=function(){if(u.svgSupported){var t=this._zr;return R(t.storage.getDisplayList(),function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=this._model,n=[],i=this;R((t=t||{}).excludeComponents,function(t){e.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)})});var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return R(n,function(t){t.group.ignore=!1}),r}},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max;if(Zg[n]){var a=1/0,o=1/0,s=-1/0,l=-1/0,c=[],u=t&&t.pixelRatio||this.getDevicePixelRatio();R(Xg,function(u,h){if(u.group===n){var d=e?u.getZr().painter.getSvgDom().innerHTML:u.renderToCanvas(D(t)),p=u.getDom().getBoundingClientRect();a=i(p.left,a),o=i(p.top,o),s=r(p.right,s),l=r(p.bottom,l),c.push({dom:d,left:p.left,top:p.top})}});var h=(s*=u)-(a*=u),d=(l*=u)-(o*=u),f=p.createCanvas(),m=sr(f,{renderer:e?"svg":"canvas"});if(m.resize({width:h,height:d}),e){var g="";return R(c,function(t){g+=''+t.dom+""}),m.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new Xo({shape:{x:0,y:0,width:h,height:d},style:{fill:t.connectedBackgroundColor}})),R(c,function(t){var e=new Vo({style:{x:t.left*u-a,y:t.top*u-o,image:t.dom}});m.add(e)}),m.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return xg(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return xg(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return R(Br(this._model,t),function(t,i){i.indexOf("Models")>=0&&R(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=Br(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?ym(i,r,e):bm(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n=this;R(Vg,function(t){var e=function(e){var i,r=n.getModel(),a=e.target;if("globalout"===t?i={}:a&&Mm(a,function(t){var e=hs(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=L({},e.eventData),!0},!0),i){var o=i.componentType,s=i.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",s=i.seriesIndex);var l=o&&null!=s&&r.getComponent(o,s),c=l&&n["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];i.event=e,i.type=t,n._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:l,view:c},n.trigger(t,i)}};e.zrEventfulCallAtLast=!0,n._zr.on(t,e,n)}),R(zg,function(t,e){n._messageCenter.on(e,function(t){this.trigger(e,t)},n)}),R(["selectchanged"],function(t){n._messageCenter.on(t,function(e){this.trigger(t,e)},n)}),t=this,e=this._api,this._messageCenter.on("selectchanged",function(n){var i=e.getModel();n.isFromClick?(xm("map","selectchanged",t,i,n),xm("pie","selectchanged",t,i,n)):"select"===n.fromAction?(xm("map","selected",t,i,n),xm("pie","selected",t,i,n)):"unselect"===n.fromAction&&(xm("map","unselected",t,i,n),xm("pie","unselected",t,i,n))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed||this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed);else{this._disposed=!0,this.getDom()&&Xr(this.getDom(),Jg,"");var t=this._api,e=this._model;R(this._componentsViews,function(n){n.dispose(e,t)}),R(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Xg[this.id]}},e.prototype.resize=function(t){if(!this.__flagInMainProcess)if(this._disposed);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this.__pendingUpdate&&(null==i&&(i=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&yg(this),wg.update.call(this,{type:"resize",animation:L({duration:0},t&&t.animation)})}catch(r){throw this.__flagInMainProcess=!1,r}this.__flagInMainProcess=!1,Cg.call(this,i),kg.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed);else if(q(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),qg[t]){var n=qg[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=L({},t);return e.type=zg[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed);else if(q(e)||(e={silent:!!e}),Hg[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;Sg.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&u.browser.weChat&&this._throttledZrFlush(),Cg.call(this,n),kg.call(this,n)}},e.prototype.updateLabelLayout=function(){hg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed);else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i0?{duration:a,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis){if(ul(t))return;if(t instanceof Po&&function(t){var e=ms(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=o;var i=t.getTextContent(),a=t.getTextGuideLine();i&&(i.stateTransition=o),a&&(a.stateTransition=o)}t.__dirty&&e(t)}})}yg=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),bg(t,!0),bg(t,!1),e.plan()},bg=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,a=e?t._componentsMap:t._chartsMap,o=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!u.node&&!u.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}(t,e),hg.trigger("series:afterupdate",e,i,s)},Eg=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},Rg=function(t){t.__needsUpdateStatus&&(t.getZr().storage.traverse(function(t){ul(t)||e(t)}),t.__needsUpdateStatus=!1)},Ig=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){Ys(e,n),Eg(t)},n.prototype.leaveEmphasis=function(e,n){js(e,n),Eg(t)},n.prototype.enterBlur=function(e){Ns(e),Eg(t)},n.prototype.leaveBlur=function(e){Fs(e),Eg(t)},n.prototype.enterSelect=function(e){Vs(e),Eg(t)},n.prototype.leaveSelect=function(e){Hs(e),Eg(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(bu))(t)},Pg=function(t){function e(t,e){for(var n=0;n=0)){r_.push(n);var a=sm.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function o_(t,e){qg[t]=e}i_(2e3,Hf),i_(4500,Bf),i_(4500,Wf),i_(2e3,gm),i_(4500,_m),i_(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=sg(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=sg(r,e))}})}),Qg(Bu),t_(900,function(t){var e=ct();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),e.each(Wu)}),o_("default",function(t,e){A(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new ir,i=new Xo({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new us({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new Xo({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&((r=new Ep({shape:{startAngle:-Uf/2,endAngle:-Uf/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Uf/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Uf/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),c=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:c}),o.setShape({x:l-s,y:c-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}),n_({type:"highlight",event:"highlight",update:"highlight"},ft),n_({type:"downplay",event:"downplay",update:"downplay"},ft),n_({type:"select",event:"select",update:"select"},ft),n_({type:"unselect",event:"unselect",update:"unselect"},ft),n_({type:"toggleSelect",event:"toggleSelect",update:"toggleSelect"},ft),$g("light",cm),$g("dark",dm);var s_=[],l_={registerPreprocessor:Qg,registerProcessor:t_,registerPostInit:function(t){e_("afterinit",t)},registerPostUpdate:function(t){e_("afterupdate",t)},registerUpdateLifecycle:e_,registerAction:n_,registerCoordinateSystem:function(t,e){wu.register(t,e)},registerLayout:function(t,e){a_(Ug,t,e,1e3,"layout")},registerVisual:i_,registerTransform:function(t){var e=(t=D(t)).type;e||du("");var n=e.split(":");2!==n.length&&du("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,Rh.set(e,t)},registerLoading:o_,registerMap:function(t,e,n){var i=dg.registerMap;i&&i(t,e,n)},registerImpl:function(t,e){dg[t]=e},PRIORITY:{PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ComponentModel:Gc,ComponentView:Cd,SeriesModel:Md,ChartView:Lf,registerComponentModel:function(t){Gc.registerClass(t)},registerComponentView:function(t){Cd.registerClass(t)},registerSeriesModel:function(t){Md.registerClass(t)},registerChartView:function(t){Lf.registerClass(t)},registerSubTypeDefaulter:function(t,e){Gc.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){rr[t]=e}};function c_(t){z(t)?R(t,function(t){c_(t)}):I(s_,t)>=0||(s_.push(t),B(t)&&(t={install:t}),t.install(l_))}var u_=2*Math.PI,h_=po.CMD,d_=["top","right","bottom","left"];function p_(t,e,n,i,r){var a=n.width,o=n.height;switch(t){case"top":i.set(n.x+a/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+a/2,n.y+o+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+o/2),r.set(-1,0);break;case"right":i.set(n.x+a+e,n.y+o/2),r.set(1,0)}}function f_(t,e,n,i,r,a,o,s,l){o-=t,s-=e;var c=Math.sqrt(o*o+s*s),u=(o/=c)*n+t,h=(s/=c)*n+e;if(Math.abs(i-r)%u_<1e-4)return l[0]=u,l[1]=h,c-n;if(a){var d=i;i=yo(r),r=yo(d)}else i=yo(i),r=yo(r);i>r&&(r+=u_);var p=Math.atan2(s,o);if(p<0&&(p+=u_),p>=i&&p<=r||p+u_>=i&&p+u_<=r)return l[0]=u,l[1]=h,c-n;var f=n*Math.cos(i)+t,m=n*Math.sin(i)+e,g=n*Math.cos(r)+t,_=n*Math.sin(r)+e,y=(f-o)*(f-o)+(m-s)*(m-s),b=(g-o)*(g-o)+(_-s)*(_-s);return y0){e=e/180*Math.PI,v_.fromArray(t[0]),w_.fromArray(t[1]),x_.fromArray(t[2]),Di.sub(M_,v_,w_),Di.sub(S_,x_,w_);var n=M_.len(),i=S_.len();if(!(n<.001||i<.001)){M_.scale(1/n),S_.scale(1/i);var r=M_.dot(S_);if(Math.cos(e)1&&Di.copy(D_,x_),D_.toArray(t[1])}}}}function T_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,v_.fromArray(t[0]),w_.fromArray(t[1]),x_.fromArray(t[2]),Di.sub(M_,w_,v_),Di.sub(S_,x_,w_);var i=M_.len(),r=S_.len();if(!(i<.001||r<.001)&&(M_.scale(1/i),S_.scale(1/r),M_.dot(e)=o)Di.copy(D_,x_);else{D_.scaleAndAdd(S_,a/Math.tan(Math.PI/2-s));var l=x_.x!==w_.x?(D_.x-w_.x)/(x_.x-w_.x):(D_.y-w_.y)/(x_.y-w_.y);if(isNaN(l))return;l<0?Di.copy(D_,w_):l>1&&Di.copy(D_,x_)}D_.toArray(t[1])}}}function L_(t,e,n,i){var r="normal"===n,a=r?t:t.ensureState(n);a.ignore=e;var o=i.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):a.style=s}function A_(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=kt(i[0],i[1]),a=kt(i[1],i[2]);if(!r||!a)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var o=Math.min(r,a)*n,s=Ot([],i[1],i[0],o/r),l=Ot([],i[1],i[2],o/a),c=Ot([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var u=1;u0&&a&&x(-h/o,0,o);var g,_,y=t[0],b=t[o-1];return v(),g<0&&M(-g,.8),_<0&&M(_,.8),v(),w(g,_,1),w(_,g,-1),v(),g<0&&S(-g),_<0&&S(_),c}function v(){g=y.rect[e]-i,_=r-b.rect[e]-b.rect[n]}function w(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,o);var r=i+t;r<0&&M(-r*n,1)}else M(-t*n,1)}}function x(n,i,r){0!==n&&(c=!0);for(var a=i;a0)for(l=0;l0;l--)x(-a[l-1]*h,l,o)}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),i=0;i0?x(n,0,i+1):x(-n,o-i-1,o),(t-=n)<=0)return}}function Y_(t,e,n,i){return R_(t,"y","height",e,n,i)}function j_(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new Yi(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(p.oldLayoutSelect),I(c,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),ll(n,s,e,o)}else if(n.attr(s),!Dl(n).valueAnimation){var u=tt(n.style.opacity,1);n.style.opacity=0,cl(n,{style:{opacity:u}},e,o)}if(p.oldLayout=s,n.states.select){var h=p.oldLayoutSelect={};W_(h,s,U_),W_(h,n.states.select,U_)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};W_(d,s,U_),W_(d,n.states.emphasis,U_)}Tl(n,o,l,e,e)}if(i&&!i.ignore&&!i.invisible){var p=B_(i),f={points:i.shape.points};(r=p.oldLayout)?(i.attr({shape:r}),ll(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,cl(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}(),q_=Hr();function X_(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=q_(e).labelManager;i||(i=q_(e).labelManager=new G_),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=q_(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}function Z_(t,e,n){var i=p.createCanvas(),r=e.getWidth(),a=e.getHeight(),o=i.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=a*n,i}c_(X_);var K_=function(t){function e(e,n,i){var r,a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,i=i||ci,"string"==typeof e?r=Z_(e,n,i):q(e)&&(e=(r=e).id),a.id=e,a.dom=r;var o=r.style;return o&&(dt(r),r.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=i,a}return a(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=Z_("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,a=[],o=this.maxRepaintRectCount,s=!1,l=new Yi(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===a.length)(e=new Yi(0,0,0,0)).copy(t),a.push(e);else{for(var e,n=!1,i=1/0,r=0,c=0;c=o)}}for(var u=this.__startIndex;u15)break}n.prevElClipPaths&&h.restore()};if(p)if(0===p.length)s=u.__endIndex;else for(var v=d.dpr,w=0;w0&&t>i[0]){for(s=0;st);s++);o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(e.dom,l.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?.01:0),this._needsManuallyCompositing),c.__builtin__||k("ZLevel "+l+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==r&&(c.__dirty=!0),c.__startIndex=r,c.__drawIndex=c.incremental?-1:r,e(r),a=c),1&s.__dirty&&!s.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=r))}e(r),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,R(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?O(n[t],e,!0):n[t]=e;for(var i=0;i=ey:-c>=ey),p=c>0?c%ey:c%ey+ey;l=!!d||!yn(h)&&p>=ty==!!u;var f=t+n*Q_(a),m=e+i*$_(a);this._start&&this._add("M",f,m);var g=Math.round(r*ny);if(d){var _=1/this._p,y=(u?1:-1)*(ey-_);this._add("A",n,i,g,1,+u,t+n*Q_(a+y),e+i*$_(a+y)),_>.01&&this._add("A",n,i,g,0,+u,f,m)}else{var b=t+n*Q_(o),v=e+i*$_(o);this._add("A",n,i,g,+l,+u,b,v)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,a,o,s,l){for(var c=[],u=this._p,h=1;h"}(r,e.attrs)+(e.text||"")+(i?""+n+Y(i,function(e){return t(e)}).join(n)+n:"")+""}(t)}function dy(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function py(t,e,n,i){return uy("svg","root",{width:t,height:e,xmlns:sy,"xmlns:xlink":ly,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var fy={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"};function my(t,e,n){var i=L({},t.shape);L(i,e),t.buildPath(n,i);var r=new iy;return r.reset(kn(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function gy(t,e){var n=e.originX,i=e.originY;(n||i)&&(t["transform-origin"]=n+"px "+i+"px")}var _y={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function yy(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function by(t){return W(t)?fy[t]?"cubic-bezier("+fy[t]+")":Be(t)?t:"":""}function vy(t,e,n,i){var r=t.animators,a=r.length,o=[];if(t instanceof Rp){if(g=function(t,e,n){var i,r,a={};if(R(t.shape.paths,function(t){var e=dy(n.zrId);e.animation=!0,vy(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=F(o),c=l.length;if(c){var u=o[r=l[c-1]];for(var h in u){var d=u[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}}),i){e.d=!1;var o=yy(a,n);return i.replace(r,o)}}(t,e,n))o.push(g);else if(!a)return}else if(!a)return;for(var s={},l=0;l0}).length)return yy(u,n)+" "+r[0]+" both"}for(var m in s){var g;(g=f(s[m]))&&o.push(g)}if(o.length){var _=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+_]={animation:o.join(",")},e.class=_}}var wy=Math.round;function xy(t){return t&&W(t.src)}function My(t){return t&&B(t.toDataURL)}function Sy(t,e,n,i){!function(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof Vo)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&"none"!==e}(e)){var a=_n(e.fill);t("fill",a.color);var o=null!=e.fillOpacity?e.fillOpacity*a.opacity*r:a.opacity*r;o<1&&t("fill-opacity",o)}else t("fill","none");if(function(t){var e=t.stroke;return null!=e&&"none"!==e}(e)){var s=_n(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,c=l?(e.lineWidth||0)/l:0,u=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if(1!==c&&t("stroke-width",c),h&&t("paint-order",h?"stroke":"fill"),u<1&&t("stroke-opacity",u),e.lineDash){var d=Hm(n),p=d[0],f=d[1];p&&(f=ry(f||0),t("stroke-dasharray",p.join(",")),f&&t("stroke-dashoffset",f))}for(var m=0;ml?Xy(t,null==n[h+1]?null:n[h+1].elm,n,s,h):Zy(t,e,o,l))}(n,i,r):Wy(r)?(Wy(t.text)&&Hy(n,""),Xy(n,null,r,0,r.length-1)):Wy(i)?Zy(n,i,0,i.length-1):Wy(t.text)&&Hy(n,""):t.text!==e.text&&(Wy(i)&&Zy(n,i,0,i.length-1),Hy(n,e.text)))}var $y=0,Qy=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=L({},n),this.root=t,this._id="zr"+$y++,this._oldVNode=py(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=cy("svg");Ky(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Gy(t,e))Jy(t,e);else{var n=t.elm,i=Fy(n);qy(e),null!==i&&(Yy(i,e.elm,Vy(n)),Zy(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Py(t,dy(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,r=this._height,a=dy(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress;var o=[];if(n&&"none"!==n){var s=_n(n);this._bgVNode=uy("rect","bg",{width:i,height:r,x:"0",y:"0",id:"0",fill:s.color,"fill-opacity":s.opacity}),o.push(this._bgVNode)}else this._bgVNode=null;var l=t.compress?null:this._mainVNode=uy("g","main",{},[]);this._paintList(e,a,l?l.children:o),l&&o.push(l);var c=Y(F(a.defs),function(t){return a.defs[t]});if(c.length&&o.push(uy("defs","defs",{},c)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,a=i+"}",o=Y(F(t),function(e){return e+r+Y(F(t[e]),function(n){return n+":"+t[e][n]+";"}).join(i)+a}).join(i),s=Y(F(e),function(t){return"@keyframes "+t+r+Y(F(e[t]),function(n){return n+r+Y(F(e[t][n]),function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"}).join(i)+a}).join(i)+a}).join(i);return o||s?[""].join(i):""}(a.cssNodes,a.cssAnims,{newline:!0});if(u){var h=uy("style","stl",{},[],u);o.push(h)}}return py(i,r,o,t.useViewBox)},t.prototype.renderToString=function(t){return hy(this.renderToVNode({animation:tt((t=t||{}).cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:tt(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=_n(t),i=n.opacity;e.elm.setAttribute("fill",n.color),i<1&&e.elm.setAttribute("fill-opacity",i)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,a=t.length,o=[],s=0,l=0,c=0;c=0&&(!h||!r||h[f]!==r[f]);f--);for(var m=p-1;m>f;m--)i=o[--s-1];for(var g=f+1;g1){var c=s.shift();1===s.length&&(n[o]=s[0]),this._update&&this._update(c,a)}else 1===l?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._new,e={},n={},i=[],r=[];this._initIndexMap(this._old,e,i,"_oldKeyGetter"),this._initIndexMap(t,n,r,"_newKeyGetter");for(var a=0;a1&&1===u)this._updateManyToOne&&this._updateManyToOne(l,s),n[o]=null;else if(1===c&&u>1)this._updateOneToMany&&this._updateOneToMany(l,s),n[o]=null;else if(1===c&&1===u)this._update&&this._update(l,s),n[o]=null;else if(c>1&&u>1)this._updateManyToMany&&this._updateManyToMany(l,s),n[o]=null;else if(c>1)for(var h=0;h1)for(var o=0;o30}var fb,mb,gb,_b,yb,bb,vb,wb=q,xb=Y,Mb="undefined"==typeof Int32Array?Array:Int32Array,Sb=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Cb=["_approximateExtent"],kb=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;ub(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},a=[],o={},s=!1,l={},c=0;c=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if("original"===n.getSource().sourceFormat&&!n.pure)for(var a=[],o=t;o0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(z(r=this.getVisual(e))?r=r.slice():wb(r)&&(r=L({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,wb(e)?L(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){wb(t)?L(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?L(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){ds(this.hostModel&&this.hostModel.seriesIndex,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){R(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:xb(this.dimensions,this._getDimInfo,this),this.hostModel)),yb(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];B(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(nt(arguments)))})},t.internalField=(fb=function(t){var e=t._invertedIndicesMap;R(e,function(n,i){var r=t._dimInfos[i],a=r.ordinalMeta,o=t._store;if(a){n=e[i]=new Mb(a.categories.length);for(var s=0;s1&&(s+="__ec__"+c),i[e]=s}})),t}();function Db(t,e){Ju(t)||(t=Qu(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=ct(),a=[],o=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return R(e,function(t){var e;q(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))}),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&pb(o),l=i===t.dimensionsDefine,c=l?db(t):hb(i),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(t,o));for(var h=ct(u),d=new Hh(o),p=0;p0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(a),new cb({source:t,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function Ob(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){for(var r=0;i.hasOwnProperty(t+r);)r++;t+=r}return e.set(t,!0),t}var Tb=function(t){this.coordSysDims=[],this.axisMap=ct(),this.categoryAxisMap=ct(),this.coordSysName=t},Lb={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Ur).models[0],a=t.getReferringComponents("yAxis",Ur).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),Ab(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Ab(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Ur).models[0];e.coordSysDims=["single"],n.set("single",r),Ab(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Ur).models[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),Ab(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),Ab(o)&&(i.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();R(a.parallelAxisIndex,function(t,a){var s=r.getComponent("parallelAxis",t),l=o[a];n.set(l,s),Ab(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=a))})}};function Ab(t){return"category"===t.get("type")}function Ib(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Pb(t,e){return Ib(t,e)?t.getCalculationInfo("stackResultDimension"):e}var Eb=function(t,e,n){n=n||{};var i,r=e.getSourceManager(),a=!1;t?(a=!0,i=Qu(t)):a="original"===(i=r.getSource()).sourceFormat;var o=function(t){var e=t.get("coordinateSystem"),n=new Tb(e),i=Lb[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=wu.get(i);return e&&e.coordSysDims&&(n=Y(e.coordSysDims,function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=ab(r)}return n})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,o),l=n.useEncodeDefaulter,c=B(l)?l:l?H($c,s,e):null,u=Db(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!a}),h=function(t,e,n){var i,r;return n&&R(t,function(t,a){var o=n.categoryAxisMap.get(t.coordDim);o&&(null==i&&(i=a),t.ordinalMeta=o.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==i||(t[i].otherDims.itemName=0),i}(u.dimensions,n.createInvertedIndices,o),d=a?null:r.getSharedDataStore(u),p=function(t,e,n){var i,r,a,o=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!ub(t.schema)}(e)?(i=(r=e.schema).dimensions,a=e.store):i=e;var l,c,u,h,d=!(!t||!t.get("stack"));if(R(i,function(t,e){W(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(o||l||!t.ordinalMeta||(l=t),c||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(c=t))}),!c||o||l||(o=!0),c){u="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=c.coordDim,f=c.type,m=0;R(i,function(t){t.coordDim===p&&m++});var g={name:u,coordDim:p,coordDimIndex:m,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},_={name:h,coordDim:h,coordDimIndex:m+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(a&&(g.storeDimIndex=a.ensureCalculationDimension(h,f),_.storeDimIndex=a.ensureCalculationDimension(u,f)),r.appendCalculationDimension(g),r.appendCalculationDimension(_)):(i.push(g),i.push(_))}return{stackedDimension:c&&c.name,stackedByDimension:l&&l.name,isStackedByIndex:o,stackedOverDimension:h,stackResultDimension:u}}(e,{schema:u,store:d}),f=new kb(u,e);f.setCalculationInfo(p);var m=null!=h&&function(t){if("original"===t.sourceFormat)return!z(Ir(function(t){for(var e=0;e-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Md);function Yb(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=mh(t,e,n[0]);return null!=r?r+"":null}if(i){for(var a=[],o=0;o=0&&i.push(e[a])}return i.join(" ")}function Nb(t,e){this.parent.drift(t,e)}var Fb=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a.updateData(e,n,i,r),a}return a(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var a=Rm(t,-1,-1,2,2,null,r);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=Nb,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ys(this.childAt(0))},e.prototype.downplay=function(){js(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var a=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,n),l=a!==this._symbolType,c=r&&r.disableAnimation;if(l){var u=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,s,u)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?d.attr(h):ll(d,h,o,n),fl(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);c||(h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,cl(d,h,o,n))}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var a,o,s,l,c,u,h,d,p,f=this.childAt(0),m=t.hostModel;if(i&&(a=i.emphasisItemStyle,o=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,c=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,u=i.emphasisDisabled),!i||t.hasItemOption){var g=i&&i.itemModel?i.itemModel:t.getItemModel(e),_=g.getModel("emphasis");a=_.getModel("itemStyle").getItemStyle(),s=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),l=_.get("focus"),c=_.get("blurScope"),u=_.get("disabled"),h=bl(g),d=_.getShallow("scale"),p=g.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(y||0)*Math.PI/180||0);var b=jm(t.getItemVisual(e,"symbolOffset"),n);b&&(f.x=b[0],f.y=b[1]),p&&f.attr("cursor",p);var v=t.getItemVisual(e,"style"),w=v.fill;if(f instanceof Vo){var x=f.style;f.useStyle(L({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},v))}else f.useStyle(f.__isEmptyBrush?L({},v):v),f.style.decal=null,f.setColor(w,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var M=t.getItemVisual(e,"liftZ"),S=this._z2;null!=M?null==S&&(this._z2=f.z2,f.z2+=M):null!=S&&(f.z2=S,this._z2=null);var C=r&&r.useNameLabel;yl(f,h,{labelFetcher:m,labelDataIndex:e,defaultText:function(e){return C?t.getName(e):Yb(t,e)},inheritColor:w,defaultOpacity:v.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var k=f.ensureState("emphasis");if(k.style=a,f.ensureState("select").style=s,f.ensureState("blur").style=o,d){var D=Math.max(1.1,3/this._sizeY);k.scaleX=this._sizeX*D,k.scaleY=this._sizeY*D}this.setSymbolScale(1),Ks(this,l,c,u)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=hs(this).dataIndex,a=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var o=i.getTextContent();o&&hl(o,{style:{opacity:0}},e,{dataIndex:r,removeOpt:a,cb:function(){i.removeTextContent()}})}else i.removeTextContent();hl(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){return Ym(t.getItemVisual(e,"symbolSize"))},e}(ir);function Vb(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function Hb(t){return null==t||q(t)||(t={isIgnore:t}),t||{}}function zb(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:bl(e),cursorStyle:e.get("cursor")}}var Bb=function(){function t(t){this.group=new ir,this._SymbolCtor=t||Fb}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=Hb(e);var n=this.group,i=t.hostModel,r=this._data,a=this._SymbolCtor,o=e.disableAnimation,s=zb(t),l={disableAnimation:o},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add(function(i){var r=c(i);if(Vb(t,r,i,e)){var o=new a(t,i,s,l);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}}).update(function(u,h){var d=r.getItemGraphicEl(h),p=c(u);if(Vb(t,p,u,e)){var f=t.getItemVisual(u,"symbol")||"circle",m=d&&d.getSymbolType&&d.getSymbolType();if(!d||m&&m!==f)n.remove(d),(d=new a(t,u,s,l)).setPosition(p);else{d.updateData(t,u,s,l);var g={x:p[0],y:p[1]};o?d.attr(g):ll(d,g,i)}n.add(d),t.setItemGraphicEl(u,d)}else n.remove(d)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=zb(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=Hb(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}(r,n),o=i.dim,s=r.dim,l=e.mapDimension(s),c=e.mapDimension(o),u="x"===s||"radius"===s?1:0,h=Y(t.dimensions,function(t){return e.mapDimension(t)}),d=!1,p=e.getCalculationInfo("stackResultDimension");return Ib(e,h[0])&&(d=!0,h[0]=p),Ib(e,h[1])&&(d=!0,h[1]=p),{dataDimsForPoint:h,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!d,valueDim:l,baseDim:c,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Ub(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}var Gb="undefined"!=typeof Float32Array,qb=Gb?Float32Array:Array;function Xb(t){return z(t)?Gb?new Float32Array(t):t:new qb(t)}var Zb=Math.min,Kb=Math.max;function Jb(t,e){return isNaN(t)||isNaN(e)}function $b(t,e,n,i,r,a,o,s,l){for(var c,u,h,d,p,f,m=n,g=0;g=r||m<0)break;if(Jb(_,y)){if(l){m+=a;continue}break}if(m===n)t[a>0?"moveTo":"lineTo"](_,y),h=_,d=y;else{var b=_-c,v=y-u;if(b*b+v*v<.5){m+=a;continue}if(o>0){for(var w=m+a,x=e[2*w],M=e[2*w+1];x===_&&M===y&&g=i||Jb(x,M))p=_,f=y;else{k=x-c,D=M-u;var L=_-c,A=x-_,I=y-u,P=M-y,E=void 0,R=void 0;if("x"===s){var Y=k>0?1:-1;p=_-Y*(E=Math.abs(L))*o,f=y,O=_+Y*(R=Math.abs(A))*o,T=y}else if("y"===s){var j=D>0?1:-1;p=_,f=y-j*(E=Math.abs(I))*o,O=_,T=y+j*(R=Math.abs(P))*o}else E=Math.sqrt(L*L+I*I),p=_-k*o*(1-(C=(R=Math.sqrt(A*A+P*P))/(R+E))),f=y-D*o*(1-C),T=y+D*o*C,O=Zb(O=_+k*o*C,Kb(x,_)),T=Zb(T,Kb(M,y)),O=Kb(O,Zb(x,_)),f=y-(D=(T=Kb(T,Zb(M,y)))-y)*E/R,p=Zb(p=_-(k=O-_)*E/R,Kb(c,_)),f=Zb(f,Kb(u,y)),O=_+(k=_-(p=Kb(p,Zb(c,_))))*R/E,T=y+(D=y-(f=Kb(f,Zb(u,y))))*R/E}t.bezierCurveTo(h,d,p,f,_,y),h=O,d=T}else t.lineTo(_,y)}c=_,u=y,m+=a}return g}var Qb=function(){this.smooth=0,this.smoothConstraint=!0},tv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Qb},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Jb(n[2*r-2],n[2*r-1]);r--);for(;i=0){var g=o?(u-i)*m+i:(c-n)*m+n;return o?[t,g]:[g,t]}n=c,i=u;break;case a.C:c=r[l++],u=r[l++],h=r[l++],d=r[l++],p=r[l++],f=r[l++];var _=o?Ae(n,c,h,p,t,s):Ae(i,u,d,f,t,s);if(_>0)for(var y=0;y<_;y++){var b=s[y];if(b<=1&&b>=0)return g=o?Te(i,u,d,f,b):Te(n,c,h,p,b),o?[t,g]:[g,t]}n=p,i=f}}},e}(Po),ev=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e}(Qb),nv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return a(e,t),e.prototype.getDefaultShape=function(){return new ev},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;a>0&&Jb(n[2*a-2],n[2*a-1]);a--);for(;ri)return!1;return!0}(a,e))){var o=e.mapDimension(a.dim),s={};return R(a.getViewLabels(),function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1}),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}(t,o,r),S=this._data;S&&S.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),S.setItemGraphicEl(e,null))}),w||d.remove(),a.add(m);var C,k=!u&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(C=r.getArea()).width?(C.x-=.1,C.y-=.1,C.width+=.2,C.height+=.2):C.r0&&(C.r0-=.5,C.r+=.5)),this._clipShapeForSymbol=C;var D=function(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,a,o=i.length-1;o>=0;o--){var s=t.getDimensionInfo(i[o].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){a=i[o];break}}if(a){var l=e.getAxis(r),c=Y(a.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),u=c.length,h=a.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),h.reverse());var d=function(t,e){var n,i,r=[],a=t.length;function o(t,e,n){var i=t.coord;return{coord:n,color:hn((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;se){i?r.push(o(i,l,e)):n&&r.push(o(n,l,0),o(n,l,e));break}n&&(r.push(o(n,l,0)),n=null),r.push(l),i=l}}return r}(c,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&u)return c[0].coord<0?h[1]?h[1]:c[u-1].color:h[0]?h[0]:c[0].color;var f=d[0].coord-10,m=d[p-1].coord+10,g=m-f;if(g<.001)return"transparent";R(d,function(t){t.offset=(t.coord-f)/g}),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var _=new jp(0,0,0,0,d,!0);return _[r]=f,_[r+"2"]=m,_}}}(o,r,n)||o.getVisual("style")[o.getVisual("drawType")];if(p&&h.type===r.type&&k===this._step){_&&!f?f=this._newPolygon(c,v):f&&!_&&(m.remove(f),f=this._polygon=null),u||this._initOrUpdateEndLabel(t,r,Ac(D));var O=m.getClipPath();O?cl(O,{shape:fv(this,r,!1,t).shape},t):m.setClipPath(fv(this,r,!0,t)),w&&d.updateData(o,{isIgnore:M,clipShape:C,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),sv(this._stackedOnPoints,v)&&sv(this._points,c)||(g?this._doUpdateAnimation(o,v,r,n,k,y,x):(k&&(c=hv(c,r,k,x),v&&(v=hv(v,r,k,x))),p.setShape({points:c}),f&&f.setShape({points:c,stackedOnPoints:v})))}else w&&d.updateData(o,{isIgnore:M,clipShape:C,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,r,C),k&&(c=hv(c,r,k,x),v&&(v=hv(v,r,k,x))),p=this._newPolyline(c),_&&(f=this._newPolygon(c,v)),u||this._initOrUpdateEndLabel(t,r,Ac(D)),m.setClipPath(fv(this,r,!0,t));var T=t.getModel("emphasis"),L=T.get("focus"),I=T.get("blurScope"),P=T.get("disabled");p.useStyle(A(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),tl(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1),hs(p).seriesIndex=t.seriesIndex,Ks(p,L,I,P);var E=uv(t.get("smooth")),j=t.get("smoothMonotone");if(p.setShape({smooth:E,smoothMonotone:j,connectNulls:x}),f){var N=o.getCalculationInfo("stackedOnSeries"),F=0;f.useStyle(A(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(F=uv(N.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:F,smoothMonotone:j,connectNulls:x}),tl(f,t,"areaStyle"),hs(f).seriesIndex=t.seriesIndex,Ks(f,L,I,P)}var V=function(t){i._changePolyState(t)};o.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=V)}),this._polyline.onHoverStateChange=V,this._data=o,this._coordSys=r,this._stackedOnPoints=v,this._points=c,this._step=k,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){hs(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),a=Vr(r,i);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],c=o[2*a+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=t.get("zlevel"),h=t.get("z");(s=new Fb(r,a)).x=l,s.y=c,s.setZ(u,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=u,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Lf.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),a=Vr(r,i);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else Lf.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;As(this._polyline,t),e&&As(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new tv({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new nv({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,a=e.getBaseAxis(),o=a.inverse;"cartesian2d"===e.type?(i=a.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===a.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");B(l)&&(l=l(null));var c=s.get("animationDelay")||0,u=B(c)?c(null):c;t.eachItemGraphicEl(function(t,a){var s=t;if(s){var h=void 0,d=void 0,p=void 0;if(n)if(r){var f=n,m=e.pointToCoord([t.x,t.y]);i?(h=f.startAngle,d=f.endAngle,p=-m[1]/180*Math.PI):(h=f.r0,d=f.r,p=m[0])}else i?(h=n.x,d=n.x+n.width,p=t.x):(h=n.y+n.height,d=n.y,p=t.y);var g=d===h?0:(p-h)/(d-h);o&&(g=1-g);var _=B(c)?c(a):l*g+u,y=s.getSymbolPath(),b=y.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),y.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(pv(t)){var r=t.getData(),a=this._polyline,o=r.getLayout("points");if(!o)return a.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new us({z2:200})).ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var l=function(t){for(var e,n=t.length/2;n>0&&(e=t[2*n-1],isNaN(t[2*n-2])||isNaN(e));n--);return n-1}(o);l>=0&&(yl(a,bl(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?jb(r,n):Yb(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,a=i?r?"right":"left":"center",o=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||a,verticalAlign:t.get("verticalAlign")||o}}}(i,e)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,a,o){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var c=n.getLayout("points"),u=n.hostModel,h=u.get("connectNulls"),d=a.get("precision"),p=a.get("distance")||0,f=o.getBaseAxis(),m=f.isHorizontal(),g=f.inverse,_=e.shape,y=g?m?_.x:_.y+_.height:m?_.x+_.width:_.y,b=(m?p:0)*(g?-1:1),v=(m?0:-p)*(g?-1:1),w=m?"x":"y",x=function(t,e,n){for(var i,r,a=t.length/2,o="x"===n?0:1,s=0,l=-1,c=0;c=e||i>=e&&r<=e){l=c;break}s=c,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(c,y,w),M=x.range,S=M[1]-M[0],C=void 0;if(S>=1){if(S>1&&!h){var k=dv(c,M[0]);s.attr({x:k[0]+b,y:k[1]+v}),r&&(C=u.getRawValue(M[0]))}else{(k=l.getPointOn(y,w))&&s.attr({x:k[0]+b,y:k[1]+v});var D=u.getRawValue(M[0]),O=u.getRawValue(M[1]);r&&(C=Kr(n,d,D,O,x.t))}i.lastFrameIndex=M[0]}else{var T=1===t||i.lastFrameIndex>0?M[0]:0;k=dv(c,T),r&&(C=u.getRawValue(T)),s.attr({x:k[0]+b,y:k[1]+v})}r&&Dl(s).setLabelText(C)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,a,o){var s=this._polyline,l=this._polygon,c=t.hostModel,u=function(t,e,n,i,r,a,o,s){for(var l=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),c=[],u=[],h=[],d=[],p=[],f=[],m=[],g=Wb(r,e,o),_=t.getLayout("points")||[],y=e.getLayout("points")||[],b=0;b3e3||l&&cv(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=u.current,s.shape.points=h;var m={shape:{points:p}};u.current!==h&&(m.shape.__points=u.next),s.stopAnimation(),ll(s,m,c),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),ll(l,{shape:{stackedOnPoints:f}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],_=u.status,y=0;y<_.length;y++)if("="===_[y].cmd){var b=t.getItemGraphicEl(_[y].idx1);b&&g.push({el:b,ptIdx:y})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;ee&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===a.type&&r){var s=a.getBaseAxis(),l=a.getOtherAxis(s),c=s.getExtent(),u=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(u||1),d=Math.round(o/h);if(isFinite(d)&&d>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var p=void 0;W(r)?p=_v[r]:B(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,yv))}}}}}function vv(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function wv(t){return t.dim+t.index}function xv(t,e){var n=[];return e.eachSeriesByType(t,function(t){Dv(t)&&n.push(t)}),n}function Mv(t){var e=function(t){var e={};R(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,a=i.getDimensionIndex(i.mapDimension(n.dim)),o=i.getStore(),s=0,l=o.count();s0&&(a=null===a?s:Math.min(a,s))}n[i]=a}}return n}(t),n=[];return R(t,function(t){var i,r=t.coordinateSystem.getBaseAxis(),a=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var o=e[r.dim+"_"+r.index],s=Math.abs(a[1]-a[0]),l=r.scale.getExtent(),c=Math.abs(l[1]-l[0]);i=o?s/c*o:s}else{var u=t.getData();i=Math.abs(a[1]-a[0])/u.count()}var h=cr(t.get("barWidth"),i),d=cr(t.get("barMaxWidth"),i),p=cr(t.get("barMinWidth")||(Ov(t)?.5:1),i),f=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:h,barMaxWidth:d,barMinWidth:p,barGap:f,barCategoryGap:m,axisKey:wv(r),stackId:vv(t)})}),Sv(n)}function Sv(t){var e={};R(t,function(t,n){var i=t.axisKey,r=t.bandWidth,a=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[i]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var u=t.barMinWidth;u&&(o[s].minWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var d=t.barCategoryGap;null!=d&&(a.categoryGap=d)});var n={};return R(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=t.categoryGap;if(null==a){var o=F(i).length;a=Math.max(35-4*o,15)+"%"}var s=cr(a,r),l=cr(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),R(i,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)i=t.width,e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+l*i,u--;else{var i=h;e&&ei&&(i=n),i!==h&&(t.width=i,c-=i+l*i,u--)}}),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,p=0;R(i,function(t,e){t.width||(t.width=h),d=t,p+=t.width*(1+l)}),d&&(p-=d.width*l);var f=-p/2;R(i,function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)})}),n}function Cv(t,e){var n=xv(t,e),i=Mv(n);R(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=vv(t),a=i[wv(n)][r];e.setLayout({bandWidth:a.bandWidth,offset:a.offset,size:a.width})})}function kv(t){return{seriesType:t,plan:kd(),reset:function(t){if(Dv(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=e.getDimensionIndex(e.mapDimension(r.dim)),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),c=e.getCalculationInfo("stackResultDimension"),u=Ib(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),p=Ov(t),f=t.get("barMinHeight")||0,m=c&&e.getDimensionIndex(c),g=e.getLayout("size"),_=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&Xb(3*r),c=p&&s&&Xb(3*r),y=p&&Xb(r),b=n.master.getRect(),v=h?b.width:b.height,w=e.getStore(),x=0;null!=(i=t.next());){var M=w.get(u?m:a,i),S=w.get(o,i),C=d,k=void 0;u&&(k=+M-w.get(a,i));var D=void 0,O=void 0,T=void 0,L=void 0;if(h){var A=n.dataToPoint([M,S]);u&&(C=n.dataToPoint([k,S])[0]),D=C,O=A[1]+_,T=A[0]-C,L=g,Math.abs(T)t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Gl(Lv.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Lv),Iv=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Pv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return a(e,t),e.prototype.getDefaultShape=function(){return new Iv},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-r),s=r+o,l=e.startAngle,c=e.endAngle,u=e.clockwise,h=2*Math.PI,d=u?c-la)return!0;a=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),a=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=a;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){pl(e,t,hs(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Lf),Fv={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,a=t.y+t.height,o=Yv(e.x,t.x),s=jv(e.x+e.width,r),l=Yv(e.y,t.y),c=jv(e.y+e.height,a),u=sr?s:o,e.y=h&&l>a?c:l,e.width=u?0:s-o,e.height=h?0:c-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),u||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=jv(e.r,t.r),a=Yv(e.r0,t.r0);e.r=r,e.r0=a;var o=r-a<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),o}},Vv={cartesian2d:function(t,e,n,i,r,a,o,s,l){var c=new Xo({shape:L({},i),z2:1});return c.__dataIndex=n,c.name="item",a&&(c.shape[r?"height":"width"]=0),c},polar:function(t,e,n,i,r,a,o,s,l){var c=!r&&l?Pv:dp,u=new c({shape:i,z2:1});u.name="item";var h,d,p=qv(r);if(u.calculateTextPosition=(h=p,d=({isRoundCap:c===Pv}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Ui(t,e,n);var r=h(i),a=null!=e.distance?e.distance:5,o=this.shape,s=o.cx,l=o.cy,c=o.r,u=o.r0,p=(c+u)/2,f=o.startAngle,m=o.endAngle,g=(f+m)/2,_=d?Math.abs(c-u)/2:0,y=Math.cos,b=Math.sin,v=s+c*y(f),w=l+c*b(f),x="left",M="top";switch(r){case"startArc":v=s+(u-a)*y(g),w=l+(u-a)*b(g),x="center",M="top";break;case"insideStartArc":v=s+(u+a)*y(g),w=l+(u+a)*b(g),x="center",M="bottom";break;case"startAngle":v=s+p*y(f)+Ev(f,a+_,!1),w=l+p*b(f)+Rv(f,a+_,!1),x="right",M="middle";break;case"insideStartAngle":v=s+p*y(f)+Ev(f,-a+_,!1),w=l+p*b(f)+Rv(f,-a+_,!1),x="left",M="middle";break;case"middle":v=s+p*y(g),w=l+p*b(g),x="center",M="middle";break;case"endArc":v=s+(c+a)*y(g),w=l+(c+a)*b(g),x="center",M="bottom";break;case"insideEndArc":v=s+(c-a)*y(g),w=l+(c-a)*b(g),x="center",M="top";break;case"endAngle":v=s+p*y(m)+Ev(m,a+_,!0),w=l+p*b(m)+Rv(m,a+_,!0),x="left",M="middle";break;case"insideEndAngle":v=s+p*y(m)+Ev(m,-a+_,!0),w=l+p*b(m)+Rv(m,-a+_,!0),x="right",M="middle";break;default:return Ui(t,e,n)}return(t=t||{}).x=v,t.y=w,t.align=x,t.verticalAlign=M,t}),a){var f=r?"r":"endAngle",m={};u.shape[f]=r?0:i.startAngle,m[f]=i[f],(s?ll:cl)(u,{shape:m},a)}return u}};function Hv(t,e,n,i,r,a,o,s){var l,c;a?(c={x:i.x,width:i.width},l={y:i.y,height:i.height}):(c={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(o?ll:cl)(n,{shape:l},e,r,null),(o?ll:cl)(n,{shape:c},e?t.baseAxis.model:null,r)}function zv(t,e){for(var n=0;n0?1:-1,o=i.height>0?1:-1;return{x:i.x+a*r/2,y:i.y+o*r/2,width:i.width-a*r,height:i.height-o*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function qv(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function Xv(t,e,n,i,r,a,o,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var u=s?o?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":o?r.height>=0?"bottom":"top":r.width>=0?"right":"left",h=bl(i);yl(t,h,{labelFetcher:a,labelDataIndex:n,defaultText:Yb(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:u});var d=t.getTextContent();if(s&&d){var p=i.get(["label","position"]);t.textConfig.inside="middle"===p||null,function(t,e,n,i){if(G(i))t.setTextConfig({rotation:i});else if(z(e))t.setTextConfig({rotation:0});else{var r,a=t.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,l=(o+s)/2,c=n(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var u=1.5*Math.PI-r;"middle"===c&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}}(t,"outside"===p?u:p,qv(o),i.get(["label","rotate"]))}Ol(d,h,a.getRawValue(n),function(t){return jb(e,t)});var f=i.getModel(["emphasis"]);Ks(t,f.get("focus"),f.get("blurScope"),f.get("disabled")),tl(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",R(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var Zv=function(){},Kv=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return a(e,t),e.prototype.getDefaultShape=function(){return new Zv},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[u]}return-1}(this,t.offsetX,t.offsetY);hs(this).dataIndex=e>=0?e:null},30,!1);function Qv(t,e,n){if(ov(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:e.r0,r:t?r.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}var tw=Nv,ew=2*Math.PI,nw=Math.PI/180;function iw(t,e){return Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function rw(t,e){var n=iw(t,e),i=t.get("center"),r=t.get("radius");z(r)||(r=[0,r]),z(i)||(i=[i,i]);var a=cr(n.width,e.getWidth()),o=cr(n.height,e.getHeight()),s=Math.min(a,o);return{cx:cr(i[0],a)+n.x,cy:cr(i[1],o)+n.y,r0:cr(r[0],s/2),r:cr(r[1],s/2)}}function aw(t,e,n){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),r=iw(t,n),a=rw(t,n),o=a.cx,s=a.cy,l=a.r,c=a.r0,u=-t.get("startAngle")*nw,h=t.get("minAngle")*nw,d=0;e.each(i,function(t){!isNaN(t)&&d++});var p=e.getSum(i),f=Math.PI/(p||d)*2,m=t.get("clockwise"),g=t.get("roseType"),_=t.get("stillShowZeroSum"),y=e.getDataExtent(i);y[0]=0;var b=ew,v=0,w=u,x=m?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:o,cy:s,r0:c,r:g?NaN:l});else{(i="area"!==g?0===p&&_?f:t*f:ew/d)n?o:a,u=Math.abs(l.label.y-n);if(u>=c.maxY){var h=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(h)t.unconstrainedWidth?null:p:null)}var f=i.getBoundingRect();a.width=f.width,a.height=f.height+((i.style.margin||0)+2.1),a.y-=(a.height-h)/2}}}function uw(t){return"center"===t.position}function hw(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;z(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Y(i,function(t){return Wi(t,r)})}}var dw=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var a=new us;return r.setTextContent(a),r.updateData(e,n,i,!0),r}return a(e,t),e.prototype.updateData=function(t,e,n,i){var r=t.hostModel,a=t.getItemModel(e),o=a.getModel("emphasis"),s=t.getItemLayout(e),l=L(hw(a.getModel("itemStyle"),s,!0),s);if(isNaN(l.startAngle))this.setShape(l);else{if(i){this.setShape(l);var c=r.getShallow("animationType");r.ecModel.ssr?(cl(this,{scaleX:0,scaleY:0},r,{dataIndex:e,isFrom:!0}),this.originX=l.cx,this.originY=l.cy):"scale"===c?(this.shape.r=s.r0,cl(this,{shape:{r:s.r}},r,e)):null!=n?(this.setShape({startAngle:n,endAngle:n}),cl(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},r,e)):(this.shape.endAngle=s.startAngle,ll(this,{shape:{endAngle:s.endAngle}},r,e))}else fl(this),ll(this,{shape:l},r,e);this.useStyle(t.getItemVisual(e,"style")),tl(this,a);var u=(s.startAngle+s.endAngle)/2,h=r.get("selectedOffset"),d=Math.cos(u)*h,p=Math.sin(u)*h,f=a.getShallow("cursor");f&&this.attr("cursor",f),this._updateLabel(r,t,e),this.ensureState("emphasis").shape=L({r:s.r+(o.get("scale")&&o.get("scaleSize")||0)},hw(o.getModel("itemStyle"),s)),L(this.ensureState("select"),{x:d,y:p,shape:hw(a.getModel(["select","itemStyle"]),s)}),L(this.ensureState("blur"),{shape:hw(a.getModel(["blur","itemStyle"]),s)});var m=this.getTextGuideLine(),g=this.getTextContent();m&&L(m.ensureState("select"),{x:d,y:p}),L(g.ensureState("select"),{x:d,y:p}),Ks(this,o.get("focus"),o.get("blurScope"),o.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=e.getItemModel(n),r=i.getModel("labelLine"),a=e.getItemVisual(n,"style"),o=a&&a.fill,s=a&&a.opacity;yl(this,bl(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:o,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var l=this.getTextContent();this.setTextConfig({position:null,rotation:null}),l.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)this.removeTextGuideLine();else{var u=this.getTextGuideLine();u||(u=new xp,this.setTextGuideLine(u)),I_(this,P_(i),{stroke:o,opacity:et(r.get(["lineStyle","opacity"]),s,1)})}},e}(dp),pw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return a(e,t),e.prototype.render=function(t,e,n,i){var r,a=t.getData(),o=this._data,s=this.group;if(!o&&a.count()>0){for(var l=a.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c0?"right":"left":L>0?"left":"right"}var F=Math.PI,V=0,H=g.get("rotate");if(G(H))V=H*(F/180);else if("center"===_)V=0;else if("radial"===H||!0===H)V=L<0?-T+F:-T;else if("tangential"===H&&"outside"!==_&&"outer"!==_){var z=Math.atan2(L,A);z<0&&(z=2*F+z),A>0&&(z=F+z),V=z-F}if(a=!!V,d.x=C,d.y=k,d.rotation=V,d.setStyle({verticalAlign:"middle"}),I){d.setStyle({align:O});var B=d.states.select;B&&(B.x+=d.x,B.y+=d.y)}else{var W=d.getBoundingRect().clone();W.applyTransform(d.getComputedTransform());var U=(d.style.margin||0)+2.1;W.y-=U/2,W.height+=U,r.push({label:d,labelLine:f,position:_,len:M,len2:S,minTurnAngle:x.get("minTurnAngle"),maxSurfaceAngle:x.get("maxSurfaceAngle"),surfaceNormal:new Di(L,A),linePoints:D,textAlign:O,labelDistance:y,labelAlignTo:b,edgeDistance:v,bleedMargin:w,rect:W,unconstrainedWidth:W.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:I})}}),!a&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,a,o,s){for(var l=[],c=[],u=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d=n.r0}},e.type="pie",e}(Lf);function fw(t,e,n){e=z(e)&&{coordDimensions:e}||L({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Db(i,e).dimensions,a=new kb(r,t);return a.initData(i,n),a}var mw=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),gw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new mw(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return fw(this,{coordDimensions:["value"],encodeDefaulter:H(Qc,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),function(t){r.push(t)}),i.percent=function(t,e,n){if(!t[e])return 0;var i=j(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return 0;for(var r=Math.pow(10,n),a=Y(t,function(t){return(isNaN(t)?0:t)/i*r*100}),o=100*r,s=Y(a,function(t){return Math.floor(t)}),l=j(s,function(t,e){return t+e},0),c=Y(a,function(t,e){return t-s[e]});lu&&(u=c[d],h=d);++s[h],c[h]=0,++l}return s[e]/r}(r,e,n.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},e.prototype._defaultLabelLine=function(t){Lr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Md),_w=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){return Eb(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Md),yw=function(){},bw=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(e,t),e.prototype.getDefaultShape=function(){return new yw},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,a=this.symbolProxy,o=a.shape,s=t.getContext?t.getContext():t,l=this.softClipShape;if(s&&r[0]<4)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,c=i[l]-a/2,u=i[l+1]-o/2;if(t>=c&&e>=u&&t<=c+a&&e<=u+o)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(t=n[0],e=n[1])?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],a=i[1],o=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),ww=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=gv("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new vw:new Bb,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Lf),xw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Gc),Mw=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),Sw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ur).models[0]},e.type="cartesian2dAxis",e}(Gc);P(Sw,Mw);var Cw={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},kw=O({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Cw),Dw=O({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Cw),Ow={category:kw,value:Dw,time:O({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Dw),log:A({logBase:10},Dw)},Tw=0;function Lw(t){return q(t)&&null!=t.value?t.value:t+""}var Aw=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Tw}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&Y(i,Lw);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!W(t)&&!n)return t;if(n&&!this._deduplication)return this.categories[e=this.categories.length]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(this.categories[e=this.categories.length]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=ct(this.categories))},t}(),Iw={value:1,category:1,time:1,log:1};function Pw(t,e,n,i){R(Iw,function(r,o){var s=O(O({},Ow[o],!0),i,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return a(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Vc(this),i=n?zc(t):{};O(t,e.getTheme().get(o+"Axis")),O(t,this.getDefaultOption()),t.type=Ew(t),n&&Hc(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=Aw.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=s,n}(n);t.registerComponentModel(l)}),t.registerSubTypeDefaulter(e+"Axis",Ew)}function Ew(t){return t.type||(t.data?"category":"value")}var Rw=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ra(Rw);var Yw=Rw;function jw(t){return"interval"===t.type||"log"===t.type}function Nw(t){var e=Math.pow(10,br(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,ur(n*e)}function Fw(t){return dr(t)+2}function Vw(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Hw(t,e){return t>=e[0]&&t<=e[1]}function zw(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Bw(t,e){return t*(e[1]-e[0])+e[0]}var Ww=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Aw({})),z(i)&&(i=new Aw({categories:Y(i,function(t){return q(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return a(e,t),e.prototype.parse=function(t){return W(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Hw(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return zw(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Bw(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,a=this._ordinalMeta.categories.length,o=Math.min(a,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Yw);Yw.registerClass(Ww);var Uw=Ww,Gw=ur,qw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return a(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Hw(t,this._extent)},e.prototype.normalize=function(t){return zw(t,this._extent)},e.prototype.scale=function(t){return Bw(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=Fw(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;n[0]1e4)return[];var s=a.length?a[a.length-1].value:i[1];return n[1]>s&&a.push(t?{value:Gw(s+e,r)}:{value:n[1]}),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&ci&&(a=r.interval=i);var o=r.intervalPrecision=Fw(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Vw(t,0,e),Vw(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[ur(Math.ceil(t[0]/a)*a,o),ur(Math.floor(t[1]/a)*a,o)],t),r}(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=Gw(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=Gw(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(Yw);Yw.registerClass(qw);var Xw=qw,Zw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return a(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return rc(t.value,Ql[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(ic(this._minLevelUnit))]||Ql.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var a=null;if(W(n))a=n;else if(B(n))a=n(t.value,e,{level:t.level});else{var o=L({},$l);if(t.level>0)for(var s=0;s=0;--s)if(l[c]){a=l[c];break}a=a||o.none}if(z(a)){var u=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[u=Math.min(u,a.length-1)]}}return rc(new Date(t.value),a,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._extent,e=[];if(!this._interval)return e;e.push({value:t[0],level:0});var n=this.getSetting("useUTC"),i=function(t,e,n,i){var r,a=ec,o=0;function s(t,e,n,r,a,o,s){for(var l=new Date(e),c=e,u=l[r]();c1&&0===c&&a.unshift({value:a[0].value-d})}}for(c=0;c=i[0]&&_<=i[1]&&h++)}var y=(i[1]-i[0])/e;if(h>1.5*y&&d>y/1.5)break;if(c.push(m),h>y||t===a[p])break}u=[]}}var b=N(Y(c,function(t){return N(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),v=[],w=b.length-1;for(p=0;pn&&(this._approxInterval=n);var r=Kw.length,a=Math.min(function(t,e,n,i){for(;n>>1;t[r][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function $w(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function Qw(t){return(t/=36e5)>12?12:t>6?6:t>3.5?4:t>2?2:1}function tx(t,e){return(t/=e?6e4:1e3)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function ex(t){return vr(t,!0)}function nx(t,e,n){var i=new Date(t);switch(ic(e)){case"year":case"month":i[mc(n)](0);case"day":i[gc(n)](1);case"hour":i[_c(n)](0);case"minute":i[yc(n)](0);case"second":i[bc(n)](0),i[vc(n)](0)}return i.getTime()}Yw.registerClass(Zw);var ix=Zw,rx=Yw.prototype,ax=Xw.prototype,ox=ur,sx=Math.floor,lx=Math.ceil,cx=Math.pow,ux=Math.log,hx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Xw,e._interval=0,e}return a(e,t),e.prototype.getTicks=function(t){var e=this._extent,n=this._originalScale.getExtent();return Y(ax.getTicks.call(this,t),function(t){var i=t.value,r=ur(cx(this.base,i));return r=i===e[0]&&this._fixMin?px(r,n[0]):r,{value:r=i===e[1]&&this._fixMax?px(r,n[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=this.base;t=ux(t)/ux(n),e=ux(e)/ux(n),ax.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=rx.getExtent.call(this);e[0]=cx(t,e[0]),e[1]=cx(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=px(e[0],n[0])),this._fixMax&&(e[1]=px(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=ux(t[0])/ux(e),t[1]=ux(t[1])/ux(e),rx.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Math.pow(10,br(n));for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[ur(lx(e[0]/i)*i),ur(sx(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){ax.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Hw(t=ux(t)/ux(this.base),this._extent)},e.prototype.normalize=function(t){return zw(t=ux(t)/ux(this.base),this._extent)},e.prototype.scale=function(t){return t=Bw(t,this._extent),cx(this.base,t)},e.type="log",e}(Yw),dx=hx.prototype;function px(t,e){return ox(t,dr(e))}dx.getMinorTicks=ax.getMinorTicks,dx.getLabel=ax.getLabel,Yw.registerClass(hx);var fx=hx,mx=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(o=0),o<0&&s<0&&!c&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(o=h,l=!0),null!=d&&(s=d,c=!0),{min:o,max:s,minFixed:l,maxFixed:c,isBlank:u}},t.prototype.modifyDataMinMax=function(t,e){this[_x[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[gx[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),gx={min:"_determinedMin",max:"_determinedMax"},_x={min:"_dataMin",max:"_dataMax"};function yx(t,e,n){var i=t.rawExtentInfo;return i||(i=new mx(t,e,n),t.rawExtentInfo=i,i)}function bx(t,e){return null==e?null:$(e)?NaN:t.parse(e)}function vx(t,e){var n=t.type,i=yx(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,a=i.max,o=e.ecModel;if(o&&"time"===n){var s=xv("bar",o),l=!1;if(R(s,function(t){l=l||t.getBaseAxis()===e.axis}),l){var c=Mv(s),u=function(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=function(t,e,n){if(t&&e)return t[wv(e)]}(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;R(o,function(t){s=Math.min(t.offset,s)});var l=-1/0;R(o,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var c=s+l,u=e-t,h=u/(1-(s+l)/a)-u;return{min:t-=h*(s/c),max:e+=h*(l/c)}}(r,a,e,c);r=u.min,a=u.max}}return{extent:[r,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function xx(t,e){var n=e,i=vx(t,n),r=i.extent,a=n.get("splitNumber");t instanceof fx&&(t.base=n.get("logBase"));var o=t.type,s=n.get("interval"),l="interval"===o||"time"===o;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function Mx(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Uw({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new ix({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(Yw.getClass(e)||Xw)}}function Sx(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):W(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):B(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(Cx(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function Cx(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function kx(t){var e=t.get("interval");return null==e?"auto":e}function Dx(t){return"category"===t.type&&0===kx(t.getLabelModel())}function Ox(t,e){var n={};return R(t.mapDimensionsAll(e),function(e){n[Pb(t,e)]=!0}),F(n)}var Tx=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return Y(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),N(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),Lx=["x","y"];function Ax(t){return"interval"===t.type||"time"===t.type}var Ix=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Lx,e}return a(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(Ax(t)&&Ax(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),a=this.dataToPoint([n[1],i[1]]),o=n[1]-n[0],s=i[1]-i[0];if(o&&s){var l=(a[0]-r[0])/o,c=(a[1]-r[1])/s,u=this._transform=[l,0,0,c,r[0]-n[0]*l,r[1]-i[0]*c];this._invTransform=gi([],u)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Tt(n,t,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i,e)),n[1]=o.toGlobalCoord(o.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Tt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i;return new Yi(n,i,r,a)},e}(Tx),Px=Hr();function Ex(t,e){var n,i,r=Rx(t,"labels"),a=kx(e);return Yx(r,a)||(B(a)?n=Fx(t,a):(i="auto"===a?function(t){var e=Px(t).autoInterval;return null!=e?e:Px(t).autoInterval=t.calculateCategoryInterval()}(t):a,n=Nx(t,i)),jx(r,a,{labels:n,labelCategoryInterval:i}))}function Rx(t,e){return Px(t)[e]||(Px(t)[e]=[])}function Yx(t,e){for(var n=0;n1&&u/l>2&&(c=Math.round(Math.ceil(c/l)*l));var h=Dx(t),d=o.get("showMinLabel")||h,p=o.get("showMaxLabel")||h;d&&c!==a[0]&&m(a[0]);for(var f=c;f<=a[1];f+=l)m(f);function m(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==a[1]&&m(a[1]),s}function Fx(t,e,n){var i=t.scale,r=Sx(t),a=[];return R(i.getTicks(),function(t){var o=i.getLabel(t),s=t.value;e(t.value,o)&&a.push(n?s:{formattedLabel:r(t),rawLabel:o,tickValue:s})}),a}var Vx=[0,1];function Hx(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var zx=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return pr(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&Hx(n=n.slice(),i.count()),lr(t,Vx,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&Hx(n=n.slice(),i.count());var r=lr(t,n,Vx,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=Y(function(t,e){return"category"===t.type?function(t,e){var n,i,r=Rx(t,"ticks"),a=kx(e),o=Yx(r,a);if(o)return o;if(e.get("show")&&!t.scale.isBlank()||(n=[]),B(a))n=Fx(t,a,!0);else if("auto"===a){var s=Ex(t,t.getLabelModel());i=s.labelCategoryInterval,n=Y(s.labels,function(t){return t.tickValue})}else n=Nx(t,i=a,!0);return jx(r,a,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:Y(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var a,o=t.getExtent();if(1===r)e[0].coord=o[0],a=e[1]={coord:o[0]};else{var s=(e[r-1].coord-e[0].coord)/(e[r-1].tickValue-e[0].tickValue);R(e,function(t){t.coord-=s/2});var l=t.scale.getExtent();e.push(a={coord:e[r-1].coord+s*(1+l[1]-e[r-1].tickValue)})}var c=o[0]>o[1];u(e[0].coord,o[0])&&(i?e[0].coord=o[0]:e.shift()),i&&u(o[0],e[0].coord)&&e.unshift({coord:o[0]}),u(o[1],a.coord)&&(i?a.coord=o[1]:e.pop()),i&&u(a.coord,o[1])&&e.push({coord:o[1]})}function u(t,e){return t=ur(t),e=ur(e),c?t>e:t0&&t<100||(t=5),Y(this.scale.getMinorTicks(t),function(t){return Y(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return(this,"category"===this.type?function(t){var e=t.getLabelModel(),n=Ex(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(this):function(t){var e=t.scale.getTicks(),n=Sx(t);return{labels:Y(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}(this)).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=Sx(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),o=r.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],c=t.dataToCoord(l+1)-t.dataToCoord(l),u=Math.abs(c*Math.cos(i)),h=Math.abs(c*Math.sin(i)),d=0,p=0;l<=a[1];l+=s){var f,m=Vi(n({value:l}),e.font,"center","top");f=1.3*m.height,d=Math.max(d,1.3*m.width,7),p=Math.max(p,f,7)}var g=d/u,_=p/h;isNaN(g)&&(g=1/0),isNaN(_)&&(_=1/0);var y=Math.max(0,Math.floor(Math.min(g,_))),b=Px(t.model),v=t.getExtent(),w=b.lastAutoInterval,x=b.lastTickCount;return null!=w&&null!=x&&Math.abs(w-y)<=1&&Math.abs(x-o)<=1&&w>y&&b.axisExtent0===v[0]&&b.axisExtent1===v[1]?y=w:(b.lastTickCount=o,b.lastAutoInterval=y,b.axisExtent0=v[0],b.axisExtent1=v[1]),y}(this)},t}(),Bx=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.index=0,o.type=r||"value",o.position=a||"bottom",o}return a(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(zx);function Wx(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,a={},o=r.getAxesOnZeroOf()[0],s=r.position,l=o?"onZero":s,c=r.dim,u=i.getRect(),h=[u.x,u.x+u.width,u.y,u.y+u.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));f[d.onZero]=Math.max(Math.min(m,f[1]),f[0])}a.position=["y"===c?f[d[l]]:h[0],"x"===c?f[d[l]]:h[3]],a.rotation=Math.PI/2*("x"===c?0:1),a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=o?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Q(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var g=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-g:g,a.z2=1,a}function Ux(t){return"cartesian2d"===t.get("coordinateSystem")}function Gx(t){var e={xAxisModel:null,yAxisModel:null};return R(e,function(n,i){var r=i.replace(/Model$/,""),a=t.getReferringComponents(r,Ur).models[0];e[i]=a}),e}var qx=Math.log;function Xx(t,e,n){var i=Xw.prototype,r=i.getTicks.call(n),a=i.getTicks.call(n,!0),o=r.length-1,s=i.getInterval.call(n),l=vx(t,e),c=l.extent,u=l.fixMin,h=l.fixMax;if("log"===t.type){var d=qx(t.base);c=[qx(c[0])/d,qx(c[1])/d]}t.setExtent(c[0],c[1]),t.calcNiceExtent({splitNumber:o,fixMin:u,fixMax:h});var p=i.getExtent.call(t);u&&(c[0]=p[0]),h&&(c[1]=p[1]);var f=i.getInterval.call(t),m=c[0],g=c[1];if(u&&h)f=(g-m)/o;else if(u)for(g=c[0]+f*o;gc[0]&&isFinite(m)&&isFinite(c[0]);)f=Nw(f),m=c[1]-f*o;else{t.getTicks().length-1>o&&(f=Nw(f));var _=f*o;(m=ur((g=Math.ceil(c[1]/f)*f)-_))<0&&c[0]>=0?(m=0,g=ur(_)):g>0&&c[1]<=0&&(g=0,m=-ur(_))}var y=(r[0].value-a[0].value)/s,b=(r[o].value-a[o].value)/s;i.setExtent.call(t,m+f*y,g+f*b),i.setInterval.call(t,f),(y||b)&&i.setNiceExtent.call(t,m+f,g-f)}function Zx(t,e){return t.getCoordSysModel()===e}function Kx(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],o=n.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)Jx(a[l])&&(r=a[l]);else for(var c in a)if(a.hasOwnProperty(c)&&Jx(a[c])&&!i[u(a[c])]){r=a[c];break}r&&(i[u(r)]=!0)}function u(t){return t.dim+"_"+t.index}}function Jx(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var $x=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Lx,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=F(t),i=n.length;if(i){for(var r=[],a=i-1;a>=0;a--){var o=t[+n[a]],s=o.model,l=o.scale;jw(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(o):(xx(l,s),jw(l)&&(e=o))}r.length&&(e||xx((e=r.pop()).scale,e.model),R(r,function(t){Xx(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};R(n.x,function(t){Kx(n,"y",t,r)}),R(n.y,function(t){Kx(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),a=Nc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var o=this._axesList;function s(){R(o,function(t){var e=t.isHorizontal(),n=e?[0,a.width]:[0,a.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?a.x:a.y)})}s(),r&&(R(o,function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.scale;if(t.model.get(["axisLabel","show"])&&!e.isBlank()){var n,i,r=e.getExtent();i=e instanceof Uw?e.count():(n=e.getTicks()).length;var a,o,s,l,c,u,h,d=t.getLabelModel(),p=Sx(t),f=1;i>40&&(f=Math.ceil(i/40));for(var m=0;m0?"top":"bottom",i="center"):gr(a-Qx)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),eM={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var a=e.axis.getExtent(),o=i.transform,s=[a[0],0],l=[a[1],0];o&&(Tt(s,s,o),Tt(l,l,o));var c=L({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),u=new kp({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});u.anid="line",n.add(u);var h=e.get(["axisLine","symbol"]);if(null!=h){var d=e.get(["axisLine","symbolSize"]);W(h)&&(h=[h,h]),(W(d)||G(d))&&(d=[d,d]);var p=jm(e.get(["axisLine","symbolOffset"])||0,d),f=d[0],m=d[1];R([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(e,i){if("none"!==h[i]&&null!=h[i]){var r=Rm(h[i],-f/2,-m/2,f,m,c.stroke,!0),a=e.r+e.offset;r.attr({rotation:e.rotate,x:s[0]+a*Math.cos(t.rotation),y:s[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,a=n.getModel("axisTick"),o=a.get("show");if("auto"===o&&i.handleAutoShown&&(o=i.handleAutoShown("axisTick")),o&&!r.scale.isBlank()){for(var s=a.getModel("lineStyle"),l=i.tickDirection*a.get("length"),c=aM(r.getTicksCoords(),e.transform,l,A(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;uh[1]?-1:1,p=["start"===s?h[0]-d*u:"end"===s?h[1]+d*u:(h[0]+h[1])/2,rM(s)?t.labelOffset+l*u:0],f=e.get("nameRotate");null!=f&&(f=f*Qx/180),rM(s)?a=tM.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(a=function(t,e,n,i){var r,a,o=mr(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return gr(o-Qx/2)?(a=l?"bottom":"top",r="center"):gr(o-1.5*Qx)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*Qx&&o>Qx/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}(t.rotation,s,f||0,h),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var m=c.getFont(),g=e.get("nameTruncate",!0)||{},_=g.ellipsis,y=Q(t.nameTruncateMaxWidth,g.maxWidth,o),b=new us({x:p[0],y:p[1],rotation:a.rotation,silent:tM.isLabelSilent(e),style:vl(c,{text:r,font:m,overflow:"truncate",width:y,ellipsis:_,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||a.textAlign,verticalAlign:c.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(bf({el:b,componentModel:e,itemName:r}),b.__fullText=r,b.anid="name",e.get("triggerEvent")){var v=tM.makeAxisEventDataBase(e);v.targetType="axisName",v.name=r,hs(b).eventData=v}i.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function nM(t){t&&(t.ignore=!0)}function iM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ui([]);return fi(r,r,-t.rotation),n.applyTransform(di([],r,t.getLocalTransform())),i.applyTransform(di([],r,e.getLocalTransform())),n.intersect(i)}}function rM(t){return"middle"===t||"center"===t}function aM(t,e,n,i,r){for(var a=[],o=[],s=[],l=0;l=0||t===e}function lM(t){var e=cM(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=uM(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=o;null!=h.color&&(d=A({color:h.color},o));var p=O(D(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:a,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:u},!1);if(s||(p.name=""),W(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else B(l)&&(p.name=l(p.name,p));var m=new Bl(p,null,this.ecModel);return P(m,Mw.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:O({lineStyle:{color:"#bbb"}},IM.axisLine),axisLabel:PM(IM.axisLabel,!1),axisTick:PM(IM.axisTick,!1),splitLine:PM(IM.splitLine,!0),splitArea:PM(IM.splitArea,!0),indicator:[]},e}(Gc),RM=["axisLine","axisTickLabel","axisName"],YM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;R(Y(e.getIndicatorAxes(),function(t){var n=t.model.get("showName")?t.name:"";return new oM(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}),function(t){R(RM,t.add,t),this.group.add(t.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),a=t.getModel("splitArea"),o=r.getModel("lineStyle"),s=a.getModel("areaStyle"),l=r.get("show"),c=a.get("show"),u=o.get("color"),h=s.get("color"),d=z(u)?u:[u],p=z(h)?h:[h],f=[],m=[];if("circle"===i)for(var g=n[0].getTicksCoords(),_=e.cx,y=e.cy,b=0;b3?1.4:r>1?1.2:1.1;BM(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:a,originY:o,isAvailableBehavior:null})}if(n){var l=Math.abs(i);BM(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){HM(this._zr,"globalPan")||BM(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Et);function qM(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function XM(t,e,n,i){var r=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0;o=Math.max(Math.min(a.max||1/0,o),s)}var l=o/t.zoom;t.zoom=o,r.x-=(n-r.x)*(l-1),r.y-=(i-r.y)*(l-1),r.scaleX*=l,r.scaleY*=l,r.dirty()}var ZM,KM={axisPointer:1,tooltip:1,brush:1};function JM(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!KM.hasOwnProperty(i.mainType)&&r&&r.model!==n}function $M(t){W(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var QM={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},tS=F(QM),eS={"alignment-baseline":"textBaseline","stop-color":"stopColor"},nS=F(eS),iS=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=$M(t);this._defsUsePending=[];var i=new ir;this._root=i;var r=[],a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(s)&&(s=null),cS(n,i,null,!0,!1);for(var l,c,u=n.firstChild;u;)this._parseNode(u,i,r,null,!1,!1),u=u.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=o&&null!=s&&(c=yS(l,{x:0,y:0,width:o,height:s}),!e.ignoreViewBox)){var d=i;(i=new ir).add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==o||null==s||i.setClipPath(new Xo({shape:{x:0,y:0,width:o,height:s}})),{root:i,width:o,height:s,viewBoxRect:l,viewBoxTransform:c,named:r}},t.prototype._parseNode=function(t,e,n,i,r,a){var o,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(a=!0),"defs"===s||"switch"===s)o=e;else{if(!r){var c=ZM[s];if(c&&pt(ZM,s)){o=c.call(this,t,e);var u=t.getAttribute("name");if(u){var h={name:u,namedFrom:null,svgNodeTagLower:s,el:o};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:o});e.add(o)}}var d=rS[s];if(d&&pt(rS,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(o&&o.isGroup)for(var m=t.firstChild;m;)1===m.nodeType?this._parseNode(m,o,n,l,r,a):3===m.nodeType&&a&&this._parseText(m,o),m=m.nextSibling},t.prototype._parseText=function(t,e){var n=new Yo({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});sS(e,n),cS(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var a=e.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void(ZM={g:function(t,e){var n=new ir;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Xo;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Zd;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new kp;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new $d;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=lS(i));var r=new bp({shape:{points:n||[]},silent:!0});return sS(e,r),cS(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=lS(i));var r=new xp({shape:{points:n||[]},silent:!0});return sS(e,r),cS(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Vo;return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var o=new ir;return sS(e,o),cS(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",o=new ir;return sS(e,o),cS(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(a),o},path:function(t,e){var n=Ud(t.getAttribute("d")||"");return sS(e,n),cS(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),rS={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),a=new jp(e,n,i,r);return aS(t,a),oS(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Np(e,n,i);return aS(t,r),oS(t,r),r}};function aS(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function oS(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i,r=n.getAttribute("offset");i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};_S(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function sS(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),A(e.__inheritedStyle,t.__inheritedStyle))}function lS(t){for(var e=pS(t),n=[],i=0;i0;a-=2){var o=i[a-1],s=pS(i[a]);switch(r=r||[1,0,0,1,0,0],o){case"translate":pi(r,r,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":mi(r,r,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":fi(r,r,-parseFloat(s[0])*mS);break;case"skewX":di(r,[1,0,Math.tan(parseFloat(s[0])*mS),1,0,0],r);break;case"skewY":di(r,[1,Math.tan(parseFloat(s[0])*mS),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(s[0]),r[1]=parseFloat(s[1]),r[2]=parseFloat(s[2]),r[3]=parseFloat(s[3]),r[4]=parseFloat(s[4]),r[5]=parseFloat(s[5])}}e.setLocalTransform(r)}}(t,e),_S(t,o,s),i||function(t,e,n){for(var i=0;in&&(t=r,n=o)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,a=t[r-1][0],o=t[r-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),r=s+=r,a=l+=a,i.push([s/n,l/n])}return i}for(var PS=[126,25],ES=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],RS=0;RS0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var a=i.coordinates;r.push(new CS(a[0],a.slice(1)));break;case"MultiPolygon":R(i.coordinates,function(t){t[0]&&r.push(new CS(t[0],t.slice(1)))});break;case"LineString":r.push(new kS([i.coordinates]));break;case"MultiLineString":r.push(new kS(i.coordinates))}var o=new DS(n[e||"name"],r,n.cp);return o.properties=n,o})}(i,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return function(t,e){if("china"===t){for(var n=0;n=0)&&(d=r);var p=o?{normal:{align:"center",verticalAlign:"middle"}}:null;yl(e,bl(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(XS(f).ignore=f.ignore,e.textConfig&&o)){var m=e.getBoundingRect().clone();e.textConfig.layoutRect=m,e.textConfig.position=[(o[0]-m.x)/m.width*100+"%",(o[1]-m.y)/m.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function QS(t,e,n,i,r,a){t.data?t.data.setItemGraphicEl(a,e):hs(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function tC(t,e,n,i,r){t.data||bf({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function eC(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var a=i.getModel("emphasis"),o=a.get("focus");return Ks(e,o,a.get("blurScope"),a.get("disabled")),t.isGeo&&function(t,e,n){var i=hs(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),o}function nC(t,e,n){var i,r=[];function a(){i=[]}function o(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),R(t,function(t){s.lineStart();for(var e=0;e0,f={api:n,geo:s,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ct(),n=ct(),i=this._regionsGroup,r=t.transformInfoRaw,a=t.mapOrGeoModel,o=t.data,s=t.geo.projection,l=s&&s.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function u(t){for(var e=[],n=!l&&s&&s.project,i=0;i-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Md);function oC(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),R(e,function(t,e){for(var n,i,r,a=(n=Y(t,function(t){return t.getData()}),i=t[0].get("mapValueCalculation"),r={},R(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var a="ec-"+n[0].getName(e),o=0,s=1/0,l=-1/0,c=r[a].length,u=0;u1?(p.width=d,p.height=d/b):(p.height=d,p.width=d*b),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var w=t.getBoxLayoutParams();w.aspect=b,p=Nc(w,{width:_,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}var _C=new(function(){function t(){this.dimensions=dC}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",function(t,r){var a=t.get("map"),o=new mC(a+r,a,L({nameMap:t.get("nameMap")},i(t)));o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=gC,o.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),R(r,function(t,r){var a=Y(t,function(t){return t.get("nameMap")}),o=new mC(r,r,L({nameMap:T(a)},i(t[0])));o.zoomLimit=Q.apply(null,Y(t,function(t){return t.get("scaleLimit")})),n.push(o),o.resize=gC,o.resize(t[0],e),R(t,function(t){t.coordinateSystem=o,function(t,e){R(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}(o,t)})}),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),a=ct(),o=0;o=0;){var a=e[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,i+=a.hierNode.shift+(r+=a.hierNode.change)}}(t);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,a=t,o=a.parentNode.children[0],s=e,l=r.hierNode.modifier,c=a.hierNode.modifier,u=o.hierNode.modifier,h=s.hierNode.modifier;s=OC(s),a=TC(a),s&&a;){r=OC(r),o=TC(o),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-a.hierNode.prelim-c+i(s,a);d>0&&(AC(LC(s,t,n),t,d),c+=d,l+=d),h+=s.hierNode.modifier,c+=a.hierNode.modifier,l+=r.hierNode.modifier,u+=o.hierNode.modifier}s&&!OC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),a&&!TC(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=c-u,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function CC(t){t.setLayout({x:t.hierNode.prelim+t.parentNode.hierNode.modifier},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function kC(t){return arguments.length?t:IC}function DC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function OC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function TC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function LC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function AC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function IC(t,e){return t.parentNode===e.parentNode?1:2}var PC=function(){this.parentPoint=[],this.childPoints=[]},EC=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new PC},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,a=n[0],o=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(a[0],a[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=cr(e.forkPosition,1),h=[];h[l]=r[l],h[c]=r[c]+(o[c]-r[c])*u,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(a[0],a[1]),h[l]=a[l],t.lineTo(h[0],h[1]),h[l]=o[l],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var d=1;dy.x)||(v-=Math.PI);var M=w?"left":"right",S=s.getModel("label"),C=S.get("rotate"),k=C*(Math.PI/180),D=g.getTextContent();D&&(g.setTextConfig({position:S.get("position")||M,rotation:null==C?-v:k,origin:"center"}),D.setStyle("verticalAlign","middle"))}var O=s.get(["emphasis","focus"]),T="ancestor"===O?o.getAncestorsIndices():"descendant"===O?o.getDescendantIndices():null;T&&(hs(n).focus=T),function(t,e,n,i,r,a,o,s){var l=e.getModel(),c=t.get("edgeShape"),u=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(m||(m=i.__edge=new Ap({shape:VC(u,h,d,r,r)})),ll(m,{shape:VC(u,h,d,a,o)},t));else if("polyline"===c&&"orthogonal"===u&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var g=e.children,_=[],y=0;ye&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(W(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var a=t.targetNodeId;if(null!=a&&(r=i.getNodeById(a)))return{node:r}}}function tk(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function ek(t,e){return I(tk(t),e)>=0}function nk(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var ik=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return a(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=new Bl(t.leaves||{},this,this.ecModel),i=$C.createTree(e,this,function(t){t.wrapMethod("getItemModel",function(t,e){var r=i.getNodeByDataIndex(e);return r&&r.children.length&&r.isExpand||(t.parentModel=n),t})}),r=0;i.eachNode("preorder",function(t){t.depth>r&&(r=t.depth)});var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a}),i.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(t),o=a.getValue(),s=a.name;a&&a!==r;)s=a.parentNode.name+"."+s,a=a.parentNode;return td("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=nk(i,this),n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Md);function rk(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var a=r.length-1;a>=0;a--)i.push(r[a])}}function ak(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=function(t,e){return Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,a=0,o=null;"radial"===i?(r=2*Math.PI,a=Math.min(n.height,n.width)/2,o=kC(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,a=n.height,o=kC());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var a=i.length-1;a>=0;a--){var o=i[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(o)}}(s),function(t,e,n){for(var i,r=[t],a=[];i=r.pop();)if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;su.getLayout().x&&(u=t),t.depth>h.depth&&(h=t)});var d=c===u?1:o(c,u)/2,p=d-c.getLayout().x,f=0,m=0,g=0,_=0;if("radial"===i)f=r/(u.getLayout().x+d+p),m=a/(h.depth-1||1),rk(l,function(t){var e=DC(g=(t.getLayout().x+p)*f,_=(t.depth-1)*m);t.setLayout({x:e.x,y:e.y,rawX:g,rawY:_},!0)});else{var y=t.getOrient();"RL"===y||"LR"===y?(m=a/(u.getLayout().x+d+p),f=r/(h.depth-1||1),rk(l,function(t){_=(t.getLayout().x+p)*m,t.setLayout({x:g="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,y:_},!0)})):"TB"!==y&&"BT"!==y||(f=r/(u.getLayout().x+d+p),m=a/(h.depth-1||1),rk(l,function(t){g=(t.getLayout().x+p)*f,t.setLayout({x:g,y:_="TB"===y?(t.depth-1)*m:a-(t.depth-1)*m},!0)}))}}}(t,e)})}function ok(t){t.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();L(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)})})}var sk=["treemapZoomToNode","treemapRender","treemapMove"];function lk(t){var e=t.getData(),n={};e.tree.eachNode(function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=uu(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)})}function ck(t){var e=0;R(t.children,function(t){ck(t);var n=t.value;z(n)&&(n=n[0]),e+=n});var n=t.value;z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),z(t.value)?t.value[0]=n:t.value=n}var uk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};ck(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},a=new Bl({itemStyle:r},this,e),o=Y((i=t.levels=function(t,e){var n,i,r=Tr(e.get("color")),a=Tr(e.get(["aria","decal","decals"]));if(r){R(t=t||[],function(t){var e=new Bl(t),r=e.get("color"),a=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||a&&"none"!==a)&&(i=!0)});var o=t[0]||(t[0]={});return n||(o.color=r.slice()),!i&&a&&(o.decal=a.slice()),t}}(i,e))||[],function(t){return new Bl(t,a,e)},this),s=$C.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=s.getNodeByDataIndex(e);return t.parentModel=(n?o[n.depth]:null)||a,t})});return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return td("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=nk(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},L(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=ct(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){lk(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Md);function hk(t,e,n,i,r,a){var o=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!a&&o.splice(2,0,[t+n+5,e+i/2]),!r&&o.push([t,e+i/2]),o}function dk(t,e,n){hs(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&nk(n,e)}}var pk=function(){function t(t){this.group=new ir,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),r.get("show")&&n){var o=r.getModel("itemStyle"),s=o.getModel("textStyle"),l={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,o,s,i),Fc(a,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=jr(i.getModel().get("name"),""),a=n.getTextRect(r),o=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:i,text:r,width:o})}},t.prototype._renderContent=function(t,e,n,i,r){for(var a,o,s,l,c,u,h,d,p,f=0,m=e.emptyItemWidth,g=t.get(["breadcrumb","height"]),_=(c=(o=e.box).height,u=cr((a=e.pos).left,l=o.width),h=cr(a.top,c),d=cr(a.right,l),p=cr(a.bottom,c),(isNaN(u)||isNaN(parseFloat(a.left)))&&(u=0),(isNaN(d)||isNaN(parseFloat(a.right)))&&(d=l),(isNaN(h)||isNaN(parseFloat(a.top)))&&(h=0),(isNaN(p)||isNaN(parseFloat(a.bottom)))&&(p=c),s=Mc(s||0),{width:Math.max(d-u-s[1]-s[3],0),height:Math.max(p-h-s[0]-s[2],0)}),y=e.totalWidth,b=e.renderList,v=b.length-1;v>=0;v--){var w=b[v],x=w.node,M=w.width,S=w.text;y>_.width&&(y-=M-m,M=m,S=null);var C=new bp({shape:{points:hk(f,0,M,g,v===b.length-1,0===v)},style:A(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new us({style:{text:S,fill:i.getTextColor(),font:i.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:H(r,x)});C.disableLabelAnimation=!0,this.group.add(C),dk(C,t,x),f+=M+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),fk=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var a=new Yi(r.x,r.y,r.width,r.height),o=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];pi(s,s,[-(e-=o.x),-(n-=o.y)]),mi(s,s,[t.scale,t.scale]),pi(s,s,[e,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var a=r.hostTree.data.getItemModel(r.dataIndex),o=a.get("link",!0),s=a.get("target",!0)||"blank";o&&Ic(o,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new pk(this.group))).render(t,e,n.node,function(e){"animating"!==i._state&&(ek(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var a=r.transformCoordToLocal(t,e),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}},this),n},e.type="treemap",e}(Lf),wk=R,xk=q,Mk=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=D(e);this.type=i,this.mappingMethod=n,this._normalizeData=Pk[n];var a=t.visualHandlers[i];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(Sk(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,R(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(wk(e,function(t,e){n[t]=e}),!z(i)){var r=[];q(i)?wk(i,function(t,e){var i=n[e];r[null!=i?i:-1]=t}):r[-1]=i,i=Ik(t,r)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}(r):Sk(r,!0):(rt("linear"!==n||r.dataExtent),Sk(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return V(this._normalizeData,this)},t.listVisualTypes=function(){return F(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){q(t)?R(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,a=z(e)?[]:q(e)?{}:(r=!0,null);return t.eachVisual(e,function(t,e){var o=n.call(i,t,e);r?a=o:a[e]=o}),a},t.retrieveVisuals=function(e){var n,i={};return e&&wk(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)}),n?i:null},t.prepareVisualTypes=function(t){if(z(t))t=t.slice();else{if(!xk(t))return[];var e=[];wk(t,function(t,n){e.push(n)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,a=0,o=e.length;ac[1]&&(c[1]=l);var u=e.get("colorMappingBy"),h={type:o.name,dataExtent:c,visual:o.range};"color"!==h.type||"index"!==u&&"id"!==u?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new Rk(h);return Yk(d).drColorMappingBy=u,d}}}(0,r,a,0,c,p);R(p,function(t,e){if(t.depth>=n.length||t===n[t.depth]){var a=function(t,e,n,i,r,a){var o=L({},e);if(r){var s=r.type,l="color"===s&&Yk(r).drColorMappingBy,c="index"===l?i:"id"===l?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[s]=r.mapValueToVisual(c)}return o}(r,c,t,e,f,i);Nk(t,a,n,i)}})}else s=Fk(c),u.fill=s}}function Fk(t){var e=Vk(t,"color");if(e){var n=Vk(t,"colorAlpha"),i=Vk(t,"colorSaturation");return i&&(e=dn(e,null,null,i)),n&&(e=pn(e,n)),e}}function Vk(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function Hk(t,e){var n=t.get(e);return z(n)&&n.length?{name:e,range:n}:null}var zk=Math.max,Bk=Math.min,Wk=Q,Uk=R,Gk=["itemStyle","borderWidth"],qk=["itemStyle","gapWidth"],Xk=["upperLabel","show"],Zk=["upperLabel","height"],Kk={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),a=n.getHeight(),o=t.option,s=Nc(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=o.size||[],c=cr(Wk(s.width,l[0]),r),u=cr(Wk(s.height,l[1]),a),h=i&&i.type,d=QC(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===h||"treemapMove"===h?i.rootRect:null,f=t.getViewRoot(),m=tk(f);if("treemapMove"!==h){var g="treemapZoomToNode"===h?function(t,e,n,i,r){var a,o=(e||{}).node,s=[i,r];if(!o||o===n)return s;for(var l=i*r,c=l*t.option.zoomToNodeRatio;a=o.parentNode;){for(var u=0,h=a.children,d=0,p=h.length;d9007199254740991&&(c=9007199254740991),o=a}co[1]&&(o[1]=e)})):o=[NaN,NaN],{sum:i,dataExtent:o}}(e,o,s);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,r){if(!i)return n;for(var a=t.get("visibleMin"),o=r.length,s=o,l=o-1;l>=0;l--){var c=r["asc"===i?o-l-1:l].getValue();c/n*ei&&(i=o));var l=t.area*t.area,c=e*e*n;return l?zk(c*i/l,l/(c*r)):1/0}function Qk(t,e,n,i,r){var a=e===n.width?0:1,o=1-a,s=["x","y"],l=["width","height"],c=n[s[a]],u=e?t.area/e:0;(r||u>n[l[o]])&&(u=n[l[o]]);for(var h=0,d=t.length;hi&&(i=e);var a=i%2?i+2:i+3;r=[];for(var o=0;o0&&(_[0]=-_[0],_[1]=-_[1]);var b=g[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var v=-Math.atan2(g[1],g[0]);l[0].8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*p+s[0],n.y=-c[1]*f+s[1],u=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=p*b+s[0],n.y=s[1]+w,u=g[0]<0?"right":"left",n.originX=-p*b,n.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=y[0],n.y=y[1]+w,u="center",n.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-p*b+l[0],n.y=l[1]+w,u=g[0]>=0?"right":"left",n.originX=p*b,n.originY=-w}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||u})}}}function x(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(ir);function YD(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:bl(e)}}function jD(t){return isNaN(t[0])||isNaN(t[1])}function ND(t){return t&&!jD(t[0])&&!jD(t[1])}var FD=function(){function t(t){this.group=new ir,this._LineCtor=t||RD}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=YD(t);t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,a){e._doUpdate(i,t,a,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=YD(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i=0?i+=c:i-=c:f>=0?i-=c:i+=c}return i}function qD(t,e){var n=[],i=Fe,r=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge(function(t,s){var l=t.getLayout(),c=t.getVisual("fromSymbol"),u=t.getVisual("toSymbol");l.__original||(l.__original=[yt(l[0]),yt(l[1])],l[2]&&l.__original.push(yt(l[2])));var h=l.__original;if(null!=l[2]){if(_t(r[0],h[0]),_t(r[1],h[2]),_t(r[2],h[1]),c&&"none"!==c){var d=gD(t.node1),p=GD(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}u&&"none"!==u&&(d=gD(t.node2),p=GD(r,h[1],d*e),i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]),_t(l[0],r[0]),_t(l[1],r[2]),_t(l[2],r[1])}else _t(a[0],h[0]),_t(a[1],h[1]),wt(o,a[1],a[0]),St(o,o),c&&"none"!==c&&(d=gD(t.node1),vt(a[0],a[0],o,d*e)),u&&"none"!==u&&(d=gD(t.node2),vt(a[1],a[1],o,-d*e)),_t(l[0],a[0]),_t(l[1],a[1])})}function XD(t){return"view"===t.type}var ZD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){var n=new Bb,i=new FD,r=this.group;this._controller=new GM(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var a=this._symbolDraw,o=this._lineDraw,s=this.group;if(XD(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):ll(s,l,t)}qD(t.getGraph(),mD(t));var c=t.getData();a.updateData(c);var u=t.getEdgeData();o.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d),c.graph.eachNode(function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();if(n){n.off("drag").off("dragend");var a=r.get("draggable");a&&n.on("drag",function(){h&&(h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(e),c.setItemLayout(e,[n.x,n.y]))}).on("dragend",function(){h&&h.setUnfixed(e)}),n.setDraggable(a&&!!h),"adjacency"===r.get(["emphasis","focus"])&&(hs(n).focus=t.getAdjacentDataIndices())}}),c.graph.eachEdge(function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(hs(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})});var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),f=c.getLayout("cx"),m=c.getLayout("cy");c.eachItemGraphicEl(function(t,e){var n=c.getItemModel(e).get(["label","rotate"])||0,i=t.getSymbolPath();if(p){var r=c.getItemLayout(e),a=Math.atan2(r[1]-m,r[0]-f);a<0&&(a=2*Math.PI+a);var o=r[0]=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof $D||(e=this._nodesMap[KD(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0}),r=0,a=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}P($D,tO("hostGraph","data")),P(QD,tO("hostGraph","edgeData"));var eO=JD;function nO(t,e,n,i,r){for(var a=new eO(i),o=0;o "+d)),c++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Eb(t,n);else{var m=wu.get(f),g=m&&m.dimensions||[];I(g,"value")<0&&g.concat(["value"]);var _=Db(t,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;(p=new kb(_,n)).initData(t)}var y=new kb(["value"],n);return y.initData(l,s),r&&r(p,y),KC({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var iO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new mw(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Lr(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){oD(this)&&(this.__curvenessList=[],this.__edgeMap={},sD(this));var a=nO(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t});var n=Bl.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=a,i}function a(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=a,t.getModel=i,t})});return R(a.edges,function(t){!function(t,e,n,i){if(oD(n)){var r=lD(t,e,n),a=n.__edgeMap,o=a[cD(r)];a[r]&&!o?a[r].isForward=!0:o&&a[r]&&(o.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)},this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),a=i.graph.getEdgeByIndex(t),o=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),td("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return dd({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=Y(this.option.categories||[],function(t){return null!=t.value?t:L({value:0},t)}),e=new kb(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Md),rO={type:"graphRoam",event:"graphRoam",update:"none"},aO=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},oO=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return a(e,t),e.prototype.getDefaultShape=function(){return new aO},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,a=e.width,o=e.angle,s=e.x-n(o)*a*(a>=r/3?1:2),l=e.y-i(o)*a*(a>=r/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*a,e.y+i(o)*a),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(o)*a,e.y-i(o)*a),t.lineTo(s,l)},e}(Po);function sO(t,e){var n=null==t?"":t+"";return e&&(W(e)?n=e.replace("{value}",n):B(e)&&(n=e(t))),n}var lO=2*Math.PI,cO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r);return{cx:cr(n[0],e.getWidth()),cy:cr(n[1],e.getHeight()),r:cr(t.get("radius"),a/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){for(var a=this.group,o=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,c=t.getModel("axisLine"),u=c.get("roundCap")?Pv:dp,h=c.get("show"),d=c.getModel("lineStyle"),p=d.get("width"),f=(l-s)%lO||l===s?(l-s)%lO:lO,m=s,g=0;h&&g=t&&(0===e?0:i[e-1][0]).8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:E}),silent:!0}))}if(y.get("show")&&L!==v){I=(I=y.get("distance"))?I+l:l;for(var R=0;R<=w;R++){c=Math.cos(S),u=Math.sin(S);var Y=new kp({shape:{x1:c*(f-I)+d,y1:u*(f-I)+p,x2:c*(f-M-I)+d,y2:u*(f-M-I)+p},silent:!0,style:O});"auto"===O.stroke&&Y.setStyle({stroke:i((L+R/w)/v)}),h.add(Y),S+=k}S-=k}else S+=C}},e.prototype._renderPointer=function(t,e,n,i,r,a,o,s,l){var c=this.group,u=this._data,h=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),m=f.get("show"),g=t.getData(),_=g.mapDimension("value"),y=+t.get("min"),b=+t.get("max"),v=[y,b],w=[a,o];function x(e,n){var i,a=g.getItemModel(e).getModel("pointer"),o=cr(a.get("width"),r.r),s=cr(a.get("length"),r.r),l=t.get(["pointer","icon"]),c=a.get("offsetCenter"),u=cr(c[0],r.r),h=cr(c[1],r.r),d=a.get("keepAspect");return(i=l?Rm(l,u-o/2,h-s,o,s,null,d):new oO({shape:{angle:-Math.PI/2,width:o,r:s,x:u,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function M(t,e){var n=f.get("roundCap")?Pv:dp,i=f.get("overlap"),o=i?f.get("width"):l/g.count(),c=new n({shape:{startAngle:a,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:i?r.r-o:r.r-(t+1)*o,r:i?r.r:r.r-t*o}});return i&&(c.z2=b-g.get(_,t)%b),c}(m||p)&&(g.diff(u).add(function(e){var n=g.get(_,e);if(p){var i=x(e,a);cl(i,{rotation:-((isNaN(+n)?w[0]:lr(n,v,w,!0))+Math.PI/2)},t),c.add(i),g.setItemGraphicEl(e,i)}if(m){var r=M(e,a),o=f.get("clip");cl(r,{shape:{endAngle:lr(n,v,w,o)}},t),c.add(r),ds(t.seriesIndex,g.dataType,e,r),d[e]=r}}).update(function(e,n){var i=g.get(_,e);if(p){var r=u.getItemGraphicEl(n),o=r?r.rotation:a,s=x(e,o);s.rotation=o,ll(s,{rotation:-((isNaN(+i)?w[0]:lr(i,v,w,!0))+Math.PI/2)},t),c.add(s),g.setItemGraphicEl(e,s)}if(m){var l=h[n],y=M(e,l?l.shape.endAngle:a),b=f.get("clip");ll(y,{shape:{endAngle:lr(i,v,w,b)}},t),c.add(y),ds(t.seriesIndex,g.dataType,e,y),d[e]=y}}).execute(),g.each(function(t){var e=g.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(p){var s=g.getItemGraphicEl(t),l=g.getItemVisual(t,"style"),c=l.fill;if(s instanceof Vo){var u=s.style;s.useStyle(L({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(c);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(lr(g.get(_,t),v,[0,1],!0))),s.z2EmphasisLift=0,tl(s,e),Ks(s,r,a,o)}if(m){var h=d[t];h.useStyle(g.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,tl(h,e),Ks(h,r,a,o)}}),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),a=n.get("offsetCenter"),o=n.get("keepAspect"),s=Rm(r,e.cx-i/2+cr(a[0],e.r),e.cy-i/2+cr(a[1],e.r),i,i,null,o);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var a=this,o=t.getData(),s=o.mapDimension("value"),l=+t.get("min"),c=+t.get("max"),u=new ir,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);o.diff(this._data).add(function(t){h[t]=new us({silent:!0}),d[t]=new us({silent:!0})}).update(function(t,e){h[t]=a._titleEls[e],d[t]=a._detailEls[e]}).execute(),o.each(function(e){var n=o.getItemModel(e),a=o.get(s,e),m=new ir,g=i(lr(a,[l,c],[0,1],!0)),_=n.getModel("title");if(_.get("show")){var y=_.get("offsetCenter"),b=r.cx+cr(y[0],r.r),v=r.cy+cr(y[1],r.r);(O=h[e]).attr({z2:f?0:2,style:vl(_,{x:b,y:v,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:g})}),m.add(O)}var w=n.getModel("detail");if(w.get("show")){var x=w.get("offsetCenter"),M=r.cx+cr(x[0],r.r),S=r.cy+cr(x[1],r.r),C=cr(w.get("width"),r.r),k=cr(w.get("height"),r.r),D=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:g,O=d[e],T=w.get("formatter");O.attr({z2:f?0:2,style:vl(w,{x:M,y:S,text:sO(a,T),width:isNaN(C)?null:C,height:isNaN(k)?null:k,align:"center",verticalAlign:"middle"},{inheritColor:D})}),Ol(O,{normal:w},a,function(t){return sO(t,T)}),p&&Tl(O,e,o,t,{getFormattedLabel:function(t,e,n,i,r,o){return sO(o?o.interpolatedValue:a,T)}}),m.add(O)}u.add(m)}),this.group.add(u),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(Lf),uO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return a(e,t),e.prototype.getInitialData=function(t,e){return fw(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Md),hO=["itemStyle","opacity"],dO=function(t){function e(e,n){var i=t.call(this)||this,r=i,a=new xp,o=new us;return r.setTextContent(o),i.setTextGuideLine(a),i.updateData(e,n,!0),i}return a(e,t),e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=t.getItemModel(e),a=t.getItemLayout(e),o=r.getModel("emphasis"),s=r.get(hO);s=null==s?1:s,n||fl(this),this.useStyle(t.getItemVisual(e,"style")),this.style.lineJoin="round",n?(this.setShape({points:a.points}),this.style.opacity=0,cl(this,{style:{opacity:s}},i,e)):ll(this,{style:{opacity:s},shape:{points:a.points}},i,e),tl(this,r),this._updateLabel(t,e),Ks(this,o.get("focus"),o.get("blurScope"),o.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this.getTextGuideLine(),i=this.getTextContent(),r=t.hostModel,a=t.getItemModel(e),o=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),l=s.fill;yl(i,bl(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:o.textAlign,verticalAlign:o.verticalAlign}}),this.setTextConfig({local:!0,inside:!!o.inside,insideStroke:l,outsideFill:l});var c=o.linePoints;n.setShape({points:c}),this.textGuideLineConfig={anchor:c?new Di(c[0][0],c[0][1]):null},ll(i,{style:{x:o.x,y:o.y}},r,e),i.attr({rotation:o.rotation,originX:o.x,originY:o.y,z2:10}),I_(this,P_(a),{stroke:l})},e}(bp),pO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,a=this.group;i.diff(r).add(function(t){var e=new dO(i,t);i.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),a.add(n),i.setItemGraphicEl(t,n)}).remove(function(e){pl(r.getItemGraphicEl(e),t,e)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Lf),fO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new mw(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return fw(this,{coordDimensions:["value"],encodeDefaulter:H(Qc,this)})},e.prototype._defaultLabelLine=function(t){Lr(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),a=n.getSum(r);return i.percent=a?+(n.get(r,e)/a*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Md);function mO(t,e){t.eachSeriesByType("funnel",function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),a=function(t,e){return Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),o=t.get("orient"),s=a.width,l=a.height,c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),r=[],a="ascending"===e,o=0,s=t.count();o5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&OO(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function OO(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var TO=kO,LO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){t&&O(this.option,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){R(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];R(N(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this),function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Gc),AO=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o.axisIndex=a,o}return a(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(zx);function IO(t,e,n,i,r,a){t=t||0;var o=n[1]-n[0];if(null!=r&&(r=EO(r,[0,o])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=EO(s,[0,o]),r=a=EO(s,[r,a]),i=0}e[0]=EO(e[0],n),e[1]=EO(e[1],n);var l=PO(e,i);e[i]+=t;var c,u=r||0,h=n.slice();return l.sign<0?h[0]+=u:h[1]-=u,e[i]=EO(e[i],h),c=PO(e,i),null!=r&&(c.sign!==l.sign||c.spana&&(e[1-i]=e[i]+c.sign*a),e}function PO(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function EO(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var RO=R,YO=Math.min,jO=Math.max,NO=Math.floor,FO=Math.ceil,VO=ur,HO=Math.PI;function zO(t,e){return YO(jO(t,e[0]),e[1])}function BO(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function WO(t,e){var n,i,r=e.axisExpandWidth,a=e.axisCollapseWidth,o=e.winInnerIndices,s=a,l=!1;return t=n&&a<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();RO(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),xx(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],a=e.get("layout"),o="horizontal"===a?0:1,s=n[r[o]],l=[0,s],c=this.dimensions.length,u=zO(e.get("axisExpandWidth"),l),h=zO(e.get("axisExpandCount")||0,[0,c]),d=e.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,p=e.get("axisExpandWindow");p?(t=zO(p[1]-p[0],l),p[1]=p[0]+t):(t=zO(u*(h-1),l),(p=[u*(e.get("axisExpandCenter")||NO(c/2))-t/2])[1]=p[0]+t);var f=(s-t)/(c-h);f<3&&(f=0);var m=[NO(VO(p[0]/u,1))+1,FO(VO(p[1]/u,1))-1];return{layout:a,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[r[1-o]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:f,axisExpandWindow:p,axisCount:c,winInnerIndices:m,axisExpandWindow0Pos:f/u*p[0]}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),RO(n,function(e,n){var a=(i.axisExpandable?WO:BO)(n,i),o={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},s=[o[r].x+t.x,o[r].y+t.y],l={horizontal:HO/2,vertical:0}[r],c=[1,0,0,1,0,0];fi(c,c,l),pi(c,c,s),this._axesLayout[e]={position:s,rotation:l,transform:c,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,a=this.dimensions,o=[],s=[];R(a,function(e){o.push(t.mapDimension(e)),s.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),c=n;cr*(1-u[0])?(l="jump",o=s-r*(1-u[2])):(o=s-r*u[1])>=0&&(o=s-r*(1-u[1]))<=0&&(o=0),(o*=e.axisExpandWidth/c)?IO(o,i,a,"all"):l="none";else{var d=i[1]-i[0];(i=[jO(0,a[1]*s/d-d/2)])[1]=YO(a[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}(),GO={create:function(t,e){var n=[];return t.eachComponent("parallel",function(i,r){var a=new UO(i,t,e);a.name="parallel_"+r,a.resize(i,e),i.coordinateSystem=a,a.model=i,n.push(a)}),t.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Ur).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},qO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return a(e,t),e.prototype.getAreaSelectStyle=function(){return aa([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=D(t);if(e)for(var n=e.length-1;n>=0;n--)hr(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i6}(t)||a){if(o&&!a){"single"===s.brushMode&&hT(t);var l=D(s);l.brushType=OT(l.brushType,o),l.panelId=!0===o?null:o.panelId,a=t._creatingCover=iT(t,l),t._covers.push(a)}if(a){var c=AT[OT(t._brushType,o)];a.__brushOption.range=c.getCreatingRange(ST(t,a,t._track)),i&&(rT(t,a),c.updateCommon(t,a)),aT(t,a),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&cT(t,e,n)&&hT(t)&&(r={isEnd:i,removeOnClick:!0});return r}function OT(t,e){return"auto"===t?e.defaultBrushType:t}var TT={mousedown:function(t){if(this._dragging)LT(this,t);else if(!t.target||!t.target.draggable){CT(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=cT(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,a=cT(t,e,n);if(!t._dragging)for(var o=0;o=0&&(a[r[o].depth]=new Bl(r[o],this,e));if(i&&n)return nO(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=n.levelModels[i.depth];r&&(t.parentModel=r)}return t}),e.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=n.levelModels[i.depth];r&&(t.parentModel=r)}return t})}).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),a=r.data,o=r.value;return td("nameValue",{name:a.source+" -- "+a.target,value:o,noValue:i(o)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return td("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Md);function qT(t,e){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var a=r.width,o=r.height,s=t.getGraph(),l=s.nodes,c=s.edges;!function(t){R(t,function(t){var e=iL(t.outEdges,nL),n=iL(t.inEdges,nL),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}(l),function(t,e,n,i,r,a,o,s,l){(function(t,e,n,i,r,a,o){for(var s=[],l=[],c=[],u=[],h=0,d=0;d=0;_&&g.depth>p&&(p=g.depth),m.setLayout({depth:_?g.depth:h},!0),m.setLayout("vertical"===a?{dy:n}:{dx:n},!0);for(var y=0;yh-1?p:h-1;o&&"left"!==o&&function(t,e,n,i){if("right"===e){for(var r=[],a=t,o=0;a.length;){for(var s=0;s0;a--)KT(s,l*=.99,o),ZT(s,r,n,i,o),rL(s,l,o),ZT(s,r,n,i,o)}(t,e,a,r,i,o,s),function(t,e){var n="vertical"===e?"x":"y";R(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),R(t,function(t){var e=0,n=0;R(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),R(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,s)}(l,c,n,i,a,o,0!==N(l,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function XT(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function ZT(t,e,n,i,r){var a="vertical"===r?"x":"y";R(t,function(t){var o,s,l;t.sort(function(t,e){return t.getLayout()[a]-e.getLayout()[a]});for(var c=0,u=t.length,h="vertical"===r?"dx":"dy",d=0;d0&&(o=s.getLayout()[a]+l,s.setLayout("vertical"===r?{x:o}:{y:o},!0)),c=s.getLayout()[a]+s.getLayout()[h]+e;if((l=c-e-("vertical"===r?i:n))>0)for(o=s.getLayout()[a]-l,s.setLayout("vertical"===r?{x:o}:{y:o},!0),c=o,d=u-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[h]+e-c)>0&&(o=s.getLayout()[a]-l,s.setLayout("vertical"===r?{x:o}:{y:o},!0)),c=s.getLayout()[a]})}function KT(t,e,n){R(t.slice().reverse(),function(t){R(t,function(t){if(t.outEdges.length){var i=iL(t.outEdges,JT,n)/iL(t.outEdges,nL);if(isNaN(i)){var r=t.outEdges.length;i=r?iL(t.outEdges,$T,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-eL(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-eL(t,n))*e;t.setLayout({y:o},!0)}}})})}function JT(t,e){return eL(t.node2,e)*t.getValue()}function $T(t,e){return eL(t.node2,e)}function QT(t,e){return eL(t.node1,e)*t.getValue()}function tL(t,e){return eL(t.node1,e)}function eL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function nL(t){return t.getValue()}function iL(t,e,n){for(var i=0,r=t.length,a=-1;++ai&&(i=e)}),R(e,function(e){var r=new Rk({type:"color",mappingMethod:"linear",dataExtent:[n,i],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",r),e.setVisual("style",{fill:r}))})}})}var oL=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),o=r.get("type"),s=a.get("type");"category"===o?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=a.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],c="horizontal"===t.layout?0:1,u=this._baseAxisDim=l[c],h=l[1-c],d=[r,a],p=d[c].get("type"),f=d[1-c].get("type"),m=t.data;if(m&&i){var g=[];R(m,function(t,e){var n;z(t)?(n=t.slice(),t.unshift(e)):z(t.value)?((n=L({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,g.push(n)}),t.data=g}var _=this.defaultValueDimensions,y=[{name:u,type:ab(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:ab(f),dimsDef:_.slice()}];return fw(this,{coordDimensions:y,dimensionsCount:_.length+1,encodeDefaulter:H($c,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),sL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return a(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Md);P(sL,oL,!0);var lL=sL,cL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===t.get("layout")?1:0;i.diff(a).add(function(t){if(i.hasValue(t)){var e=dL(i.getItemLayout(t),i,t,o,!0);i.setItemGraphicEl(t,e),r.add(e)}}).update(function(t,e){var n=a.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(fl(n),pL(s,n,i,t)):n=dL(s,i,t,o),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type="boxplot",e}(Lf),uL=function(){},hL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return a(e,t),e.prototype.getDefaultShape=function(){return new uL},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();im)&&i.push([_,b])}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},vL=["color","borderColor"],wL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){wf(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),a=t.get("clip",!0),o=t.coordinateSystem,s=o.getArea&&o.getArea();this._data||i.removeAll(),e.diff(n).add(function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(a&&CL(s,o))return;var l=SL(o,0,!0);cl(l,{shape:{points:o.ends}},t,n),kL(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}}).update(function(o,l){var c=n.getItemGraphicEl(l);if(e.hasValue(o)){var u=e.getItemLayout(o);a&&CL(s,u)?i.remove(c):(c?(ll(c,{shape:{points:u.ends}},t,o),fl(c)):c=SL(u),kL(c,e,o,r),i.add(c),e.setItemGraphicEl(o,c))}else i.remove(c)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),LL(t,this.group);var e=t.get("clip",!0)?av(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var a=SL(i.getItemLayout(n));kL(a,i,n,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){LL(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Lf),xL=function(){},ML=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return a(e,t),e.prototype.getDefaultShape=function(){return new xL},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Po);function SL(t,e,n){var i=t.ends;return new ML({shape:{points:n?DL(i,t):i},z2:100})}function CL(t,e){for(var n=!0,i=0;i0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),a=n.getModel("itemStyle").getItemStyle(vL);e.useStyle(a),e.style.fill=null,e.style.stroke=r}var IL=wL,PL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return a(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Md);P(PL,oL,!0);var EL=PL;function RL(t){t&&z(t.series)&&R(t.series,function(t){q(t)&&"k"===t.type&&(t.type="candlestick")})}var YL=["itemStyle","borderColor"],jL=["itemStyle","borderColor0"],NL=["itemStyle","color"],FL=["itemStyle","color0"],VL={seriesType:"candlestick",plan:kd(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?NL:FL)}function i(t,e){return e.get(t>0?YL:jL)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var a=e.getItemModel(r),o=e.getItemLayout(r).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=i(o,a)||s.fill,L(e.ensureUniqueItemVisual(r,"style"),s)}}}}};function HL(t,e,n,i,r){return n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1}var zL={seriesType:"candlestick",plan:kd(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=cr(tt(t.get("barMaxWidth"),r),r),o=cr(tt(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?cr(s,r):Math.max(Math.min(r/2,a),o)}(t,n),r=["x","y"],a=n.getDimensionIndex(n.mapDimension(r[0])),o=Y(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=o[0],l=o[1],c=o[2],u=o[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(a<0||o.length<4))return{progress:t.pipelineContext.large?function(t,n){for(var i,r,o=Xb(4*t.count),h=0,d=[],p=[],f=n.getStore();null!=(r=t.next());){var m=f.get(a,r),g=f.get(s,r),_=f.get(l,r),y=f.get(c,r),b=f.get(u,r);isNaN(m)||isNaN(y)||isNaN(b)?(o[h++]=NaN,h+=3):(o[h++]=HL(f,r,g,_,l),d[0]=m,d[1]=y,i=e.dataToPoint(d,null,p),o[h++]=i?i[0]:NaN,o[h++]=i?i[1]:NaN,d[1]=b,i=e.dataToPoint(d,null,p),o[h++]=i?i[1]:NaN)}n.setLayout("largePoints",o)}:function(t,n){for(var r,o=n.getStore();null!=(r=t.next());){var h=o.get(a,r),d=o.get(s,r),p=o.get(l,r),f=o.get(c,r),m=o.get(u,r),g=Math.min(d,p),_=Math.max(d,p),y=M(g,h),b=M(_,h),v=M(f,h),w=M(m,h),x=[];S(x,b,0),S(x,y,1),x.push(k(w),k(b),k(v),k(y)),n.setItemLayout(r,{sign:HL(o,r,d,p,l),initBaseline:d>p?b[1]:y[1],ends:x,brushRect:C(f,m,h)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function S(t,e,n){var r=e.slice(),a=e.slice();r[0]=sf(r[0]+i/2,1,!1),a[0]=sf(a[0]-i/2,1,!0),n?t.push(r,a):t.push(a,r)}function C(t,e,n){var r=M(t,n),a=M(e,n);return r[0]-=i/2,a[0]-=i/2,{x:r[0],y:r[1],width:i,height:a[1]-r[1]}}function k(t){return t[0]=sf(t[0],1),t}}}}};function BL(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}var WL=function(t){function e(e,n){var i=t.call(this)||this,r=new Fb(e,n),a=new ir;return i.add(r),i.add(a),i.updateData(e,n),i}return a(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),a=0;a0&&(a=this._getLineLength(i)/s*1e3),a!==this._period||o!==this._loop){i.stopAnimation();var c=void 0;c=B(l)?l(n):l,i.__t>0&&(c=-a*i.__t),this._animateSymbol(i,a,c,o)}this._period=a,this._loop=o}},e.prototype._animateSymbol=function(t,e,n,i){if(e>0){t.__t=0;var r=this,a=t.animate("",i).when(e,{__t:1}).delay(n).during(function(){r._updateSymbolPosition(t)});i||a.done(function(){r.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return kt(t.__p1,t.__cp1)+kt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,a=[t.x,t.y],o=a.slice(),s=Ye,l=je;a[0]=s(e[0],i[0],n[0],r),a[1]=s(e[1],i[1],n[1],r);var c=l(e[0],i[0],n[0],r),u=l(e[1],i[1],n[1],r);t.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(i[a]<=e);a--);a=Math.min(a,r-2)}else{for(a=o;ae);a++);a=Math.min(a-1,r-2)}var s=(e-i[a])/(i[a+1]-i[a]),l=n[a],c=n[a+1];t.x=l[0]*(1-s)+s*c[0],t.y=l[1]*(1-s)+s*c[1],t.rotation=-Math.atan2(c[1]-l[1],c[0]-l[0])-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(qL),KL=function(){this.polyline=!1,this.curveness=0,this.segs=[]},JL=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return a(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new KL},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var o=1;o0?t.quadraticCurveTo((s+c)/2-(l-u)*r,(l+u)/2-(c-s)*r,c,u):t.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s0)for(var c=i[s++],u=i[s++],h=1;h0){if(go(c,u,(c+d)/2-(u-p)*r,(u+p)/2-(d-c)*r,d,p,a,t,e))return o}else if(fo(c,u,d,p,a,t,e))return o;o++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(t=n[0],e=n[1])?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,a=-1/0,o=0;o0&&(a.dataIndex=n+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),QL={seriesType:"lines",plan:kd(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,a){var o=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var c=0,u=r.start;u0&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),r.updateData(i);var c=t.get("clip",!0)&&av(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var a=QL.reset(t,e,n);a.progress&&a.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),a=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new $L:new FD(r?i?ZL:XL:i?qL:RD),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Lf),eA="undefined"==typeof Uint32Array?Array:Uint32Array,nA="undefined"==typeof Float64Array?Array:Float64Array;function iA(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Y(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),T([e,t[0],t[1]])}))}var rA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return a(e,t),e.prototype.init=function(e){e.data=e.data||[],iA(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(iA(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=ut(this._flatCoords,e.flatCoords),this._flatCoordsOffset=ut(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Md);function aA(t){return t instanceof Array||(t=[t,t]),t}var oA={seriesType:"lines",reset:function(t){var e=aA(t.get("symbol")),n=aA(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=aA(n.getShallow("symbol",!0)),r=aA(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}},sA=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=p.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,a){var o=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=t.length;u.width=e,u.height=n;for(var p=0;p0){var C=a(_)?s:l;_>0&&(_=_*M+x),b[v++]=C[S],b[v++]=C[S+1],b[v++]=C[S+2],b[v++]=C[S+3]*_*256}else v+=4}return h.putImageData(y,0,0),u},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=p.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)t[e](o/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i},t}();function lA(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var cA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):lA(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(lA(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){wf(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var a,o,s,l,c=t.coordinateSystem;if(ov(c,"cartesian2d")){var u=c.getAxis("x"),h=c.getAxis("y");a=u.getBandWidth(),o=h.getBandWidth(),s=u.scale.getExtent(),l=h.scale.getExtent()}for(var d=this.group,p=t.getData(),f=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),g=t.getModel(["select","itemStyle"]).getItemStyle(),_=t.get(["itemStyle","borderRadius"]),y=bl(t),b=t.getModel("emphasis"),v=b.get("focus"),w=b.get("blurScope"),x=b.get("disabled"),M=ov(c,"cartesian2d")?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],S=n;Ss[1]||Ol[1])continue;var T=c.dataToPoint([D,O]);C=new Xo({shape:{x:Math.floor(Math.round(T[0])-a/2),y:Math.floor(Math.round(T[1])-o/2),width:Math.ceil(a),height:Math.ceil(o)},style:k})}else{if(isNaN(p.get(M[1],S)))continue;C=new Xo({z2:1,shape:c.dataToRect([p.get(M[0],S)]).contentShape,style:k})}if(p.hasItemOption){var L=p.getItemModel(S),A=L.getModel("emphasis");f=A.getModel("itemStyle").getItemStyle(),m=L.getModel(["blur","itemStyle"]).getItemStyle(),g=L.getModel(["select","itemStyle"]).getItemStyle(),_=L.get(["itemStyle","borderRadius"]),v=A.get("focus"),w=A.get("blurScope"),x=A.get("disabled"),y=bl(L)}C.shape.r=_;var I=t.getRawValue(S),P="-";I&&null!=I[2]&&(P=I[2]+""),yl(C,y,{labelFetcher:t,labelDataIndex:S,defaultOpacity:k.opacity,defaultText:P}),C.ensureState("emphasis").style=f,C.ensureState("blur").style=m,C.ensureState("select").style=g,Ks(C,v,w,x),C.incremental=r,r&&(C.states.emphasis.hoverLayer=!0),d.add(C),p.setItemGraphicEl(S,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=e.getData(),s=this._hmLayer||this._hmLayer||new sA;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),c=t.getRoamTransform();l.applyTransform(c);var u=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-u,m=p-h,g=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],_=o.mapArray(g,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=u,r[1]-=h,r.push(i),r}),y=n.getExtent(),b="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=Y(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,a=0;return function(t){var i;for(i=a;i=0;i--){var o;if((o=e[i].interval)[0]<=t&&t<=o[1]){a=i;break}}return i>=0&&i0?1:-1}(n,a,r,i,h),function(t,e,n,i,r,a,o,s,l,c){var u,h=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");(u=z(f)?f.slice():null==f?["100%","100%"]:[f,f])[d.index]=cr(u[d.index],p),u[h.index]=cr(u[h.index],i?p:Math.abs(a)),c.symbolSize=u,(c.symbolScale=[u[0]/s,u[1]/s])[h.index]*=(l.isHorizontal?-1:1)*o}(t,e,r,a,0,h.boundingLength,h.pxSign,c,i,h),function(t,e,n,i,r){var a=t.get(hA)||0;a&&(pA.attr({scaleX:e[0],scaleY:e[1],rotation:n}),pA.updateTransform(),a/=pA.getLineScale(),a*=e[i.valueDim.index]),r.valueLineWidth=a||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize,p=jm(n.get("symbolOffset"),d);return function(t,e,n,i,r,a,o,s,l,c,u,h){var d=u.categoryDim,p=u.valueDim,f=h.pxSign,m=Math.max(e[p.index]+s,0),g=m;if(i){var _=Math.abs(l),y=Q(t.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var v=cr(y,e[p.index]),w=Math.max(m+2*v,0),x=b?0:2*v,M=Sr(i),S=M?i:LA((_+x)/w);w=m+2*(v=(_-S*m)/2/(b?S:Math.max(S-1,1))),x=b?0:2*v,M||"fixed"===i||(S=c?LA((Math.abs(c)+x)/w):0),g=S*w-x,h.repeatTimes=S,h.symbolMargin=v}var C=f*(g/2),k=h.pathPosition=[];k[d.index]=n[d.wh]/2,k[p.index]="start"===o?C:"end"===o?l-C:l/2,a&&(k[0]+=a[0],k[1]+=a[1]);var D=h.bundlePosition=[];D[d.index]=n[d.xy],D[p.index]=n[p.xy];var O=h.barRectShape=L({},n);O[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(k[p.index]+C)),O[d.wh]=n[d.wh];var T=h.clipShape={};T[d.xy]=-n[d.xy],T[d.wh]=u.ecSize[d.wh],T[p.xy]=0,T[p.wh]=n[p.wh]}(n,d,r,a,0,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function mA(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function gA(t){var e=t.symbolPatternSize,n=Rm(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function _A(t,e,n,i){var r=t.__pictorialBundle,a=n.pathPosition,o=e.valueDim,s=n.repeatTimes||0,l=0,c=n.symbolSize[e.valueDim.index]+n.valueLineWidth+2*n.symbolMargin;for(DA(t,function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=s,l0:i<0)&&(r=s-1-t),e[o.index]=c*(r-s/2+.5)+a[o.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function yA(t,e,n,i){var r=t.__pictorialBundle,a=t.__pictorialMainPath;a?OA(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(a=t.__pictorialMainPath=gA(n),r.add(a),OA(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function bA(t,e,n){var i=L({},e.barRectShape),r=t.__pictorialBarRect;r?OA(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Xo({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function vA(t,e,n,r){if(n.symbolClip){var a=t.__pictorialClipPath,o=L({},n.clipShape),s=e.valueDim,l=n.animationModel,c=n.dataIndex;if(a)ll(a,{shape:o},l,c);else{o[s.wh]=0,a=new Xo({shape:o}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var u={};u[s.wh]=n.clipShape[s.wh],i[r?"updateProps":"initProps"](a,{shape:u},l,c)}}}function wA(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=xA,n.isAnimationEnabled=MA,n}function xA(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function MA(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function SA(t,e,n,i){var r=new ir,a=new ir;return r.add(a),r.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?_A(r,e,n):yA(r,0,n),bA(r,n,i),vA(r,e,n,i),r.__pictorialShapeStr=kA(t,n),r.__pictorialSymbolMeta=n,r}function CA(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var a=[];DA(i,function(t){a.push(t)}),i.__pictorialMainPath&&a.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),R(a,function(t){hl(t,{scaleX:0,scaleY:0},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function kA(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function DA(t,e,n){R(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function OA(t,e,n,r,a,o){e&&t.attr(e),r.symbolClip&&!a?n&&t.attr(n):n&&i[a?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function TA(t,e,n){var i=n.dataIndex,r=n.itemModel,a=r.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),u=a.get("focus"),h=a.get("blurScope"),d=a.get("scale");DA(t,function(t){if(t instanceof Vo){var e=t.style;t.useStyle(L({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=o,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,c&&(t.cursor=c),t.z2=n.z2});var p=e.valueDim.posDesc[+(n.boundingLength>0)];yl(t.__pictorialBarRect,bl(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:Yb(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),Ks(t,u,h,a.get("disabled"))}function LA(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var AA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),a=this._data,o=t.coordinateSystem,s=o.getBaseAxis().isHorizontal(),l=o.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:dA[+s],categoryDim:dA[1-+s]};return r.diff(a).add(function(t){if(r.hasValue(t)){var e=wA(r,t),n=fA(r,t,e,c),a=SA(r,c,n);r.setItemGraphicEl(t,a),i.add(a),TA(a,c,n)}}).update(function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var o=wA(r,t),s=fA(r,t,o,c),l=kA(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){ll(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},n.animationModel,n.dataIndex),n.symbolRepeat?_A(t,e,n,!0):yA(t,0,n,!0),bA(t,n,!0),vA(t,e,n,!0)}(n,c,s):n=SA(r,c,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),TA(n,c,s)}else i.remove(n)}).remove(function(t){var e=a.getItemGraphicEl(t);e&&CA(a,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){CA(i,hs(e).dataIndex,t,e)}):n.removeAll()},e.type="pictorialBar",e}(Lf),IA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return a(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Gl(Lv.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Lv),PA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return a(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,a=this.group,o=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,c=s.boundaryGap;function u(t){return t.name}a.x=0,a.y=l.y+c[0];var h=new nb(this._layersSeries||[],o,u,u),d=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var c,u,h=[],p=[],f=o[n].indices,m=0;ma&&(a=s),i.push(s)}for(var c=0;ca&&(a=h)}return{y0:r,max:a}}(l),u=c.y0,h=n/c.max,d=a.length,p=a[0].indices.length,f=0;fMath.PI/2?"right":"left"):M&&"center"!==M?"left"===M?(y=r.r0+x,o>Math.PI/2&&(M="right")):"right"===M&&(y=r.r-x,o>Math.PI/2&&(M="left")):(y=a===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,M="center"),m.style.align=M,m.style.verticalAlign=f(d,"verticalAlign")||"middle",m.x=y*s+r.cx,m.y=y*l+r.cy;var S=f(d,"rotate"),C=0;"radial"===S?(C=-o)<-Math.PI/2&&(C+=Math.PI):"tangential"===S?(C=Math.PI/2-o)>Math.PI/2?C-=Math.PI:C<-Math.PI/2&&(C+=Math.PI):G(S)&&(C=S*Math.PI/180),m.rotation=C}),u.dirtyStyle()},e}(dp),NA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var a=t.getData(),o=a.tree.root,s=t.getViewRoot(),l=this.group,c=t.get("renderLabelForZeroData"),u=[];s.eachNode(function(t){u.push(t)}),function(i,r){function s(t){return t.getId()}function u(s,u){!function(i,r){if(c||!i||i.getValue()||(i=null),i!==o&&r!==o)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),a.setItemGraphicEl(i.dataIndex,r.piece)):(u=r)&&u.piece&&(l.remove(u.piece),u.piece=null);else if(i){var s=new jA(i,t,e,n);l.add(s),a.setItemGraphicEl(i.dataIndex,s)}var u}(null==s?null:i[s],null==u?null:r[u])}0===i.length&&0===r.length||new nb(r,i,s,s).add(u).update(u).remove(H(u,null)).execute()}(u,this._oldChildren||[]),function(i,a){a.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new jA(i,t,e,n),l.add(r.virtualPiece)),a.piece.off("click"),r.virtualPiece.on("click",function(t){r._rootToNode(a.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(o,s),this._initEvents(),this._oldChildren=u},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var a=i.getModel(),o=a.get("link");o&&Ic(o,a.get("target",!0)||"_blank")}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,a=Math.sqrt(i*i+r*r);return a<=n.r&&a>=n.r0}},e.type="sunburst",e}(Lf);function FA(t){var e=0;R(t.children,function(t){FA(t);var n=t.value;z(n)&&(n=n[0]),e+=n});var n=t.value;z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),z(t.value)?t.value[0]=n:t.value=n}var VA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return a(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};FA(n);var i=this._levelModels=Y(t.levels||[],function(t){return new Bl(t,this,e)},this),r=$C.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e),a=i[n.depth];return a&&(t.parentModel=a),t})});return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=nk(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){lk(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Md),HA=Math.PI/180;function zA(t,e,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),i=t.get("radius");z(i)||(i=[0,i]),z(e)||(e=[e,e]);var r=n.getWidth(),a=n.getHeight(),o=Math.min(r,a),s=cr(e[0],r),l=cr(e[1],a),c=cr(i[0],o/2),u=cr(i[1],o/2),h=-t.get("startAngle")*HA,d=t.get("minAngle")*HA,p=t.getData().tree.root,f=t.getViewRoot(),m=f.depth,g=t.get("sort");null!=g&&BA(f,g);var _=0;R(f.children,function(t){!isNaN(t.getValue())&&_++});var y=f.getValue(),b=Math.PI/(y||_)*2,v=f.depth>0,w=(u-c)/(f.height-(v?-1:1)||1),x=t.get("clockwise"),M=t.get("stillShowZeroSum"),S=x?1:-1,C=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),a=0===y&&M?b:r*b;a1;)r=r.parentNode;var a=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&W(a)&&(a=cn(a,(t.depth-1)/(i-1)*.5)),a}(r,t,i.root.height)),L(n.ensureUniqueItemVisual(r.dataIndex,"style"),a)})})}var UA={color:"fill",borderColor:"stroke"},GA={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},qA=Hr(),XA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Eb(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=qA(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Md);function ZA(t,e){return e=e||[0,0],Y(["x","y"],function(n,i){var r=this.getAxis(n),a=e[i],o=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))},this)}function KA(t,e){return e=e||[0,0],Y([0,1],function(n){var i=e[n],r=t[n]/2,a=[],o=[];return a[n]=i-r,o[n]=i+r,a[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])},this)}function JA(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function $A(t,e){return e=e||[0,0],Y(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),a=e[i],o=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function QA(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||pt(t,"text")))}function tI(t,e,n){var i,r,a,o=t;if("text"===e)a=o;else{a={},pt(o,"text")&&(a.text=o.text),pt(o,"rich")&&(a.rich=o.rich),pt(o,"textFill")&&(a.fill=o.textFill),pt(o,"textStroke")&&(a.stroke=o.textStroke),pt(o,"fontFamily")&&(a.fontFamily=o.fontFamily),pt(o,"fontSize")&&(a.fontSize=o.fontSize),pt(o,"fontStyle")&&(a.fontStyle=o.fontStyle),pt(o,"fontWeight")&&(a.fontWeight=o.fontWeight),r={type:"text",style:a,silent:!0},i={};var s=pt(o,"textPosition");n?i.position=s?o.textPosition:"inside":s&&(i.position=o.textPosition),pt(o,"textPosition")&&(i.position=o.textPosition),pt(o,"textOffset")&&(i.offset=o.textOffset),pt(o,"textRotation")&&(i.rotation=o.textRotation),pt(o,"textDistance")&&(i.distance=o.textDistance)}return eI(a,t),R(a.rich,function(t){eI(t,t)}),{textConfig:i,textContent:r}}function eI(t,e){e&&(e.font=e.textFont||e.font,pt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),pt(e,"textAlign")&&(t.align=e.textAlign),pt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),pt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),pt(e,"textWidth")&&(t.width=e.textWidth),pt(e,"textHeight")&&(t.height=e.textHeight),pt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),pt(e,"textPadding")&&(t.padding=e.textPadding),pt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),pt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),pt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),pt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),pt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),pt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),pt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function nI(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,a=t.fill||"#000";iI(i,e);var o=null==i.textFill;return r?o&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=a),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(o&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,R(e.rich,function(t){iI(t,t)}),i}function iI(t,e){e&&(pt(e,"fill")&&(t.textFill=e.fill),pt(e,"stroke")&&(t.textStroke=e.fill),pt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),pt(e,"font")&&(t.font=e.font),pt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),pt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),pt(e,"fontSize")&&(t.fontSize=e.fontSize),pt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),pt(e,"align")&&(t.textAlign=e.align),pt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),pt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),pt(e,"width")&&(t.textWidth=e.width),pt(e,"height")&&(t.textHeight=e.height),pt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),pt(e,"padding")&&(t.textPadding=e.padding),pt(e,"borderColor")&&(t.textBorderColor=e.borderColor),pt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),pt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),pt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),pt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),pt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),pt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),pt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),pt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),pt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),pt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var rI={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},aI=F(rI),oI=(j(Si,function(t,e){return t[e]=1,t},{}),Si.join(", "),["","style","shape","extra"]),sI=Hr();function lI(t,e,n,i,r){var a=t+"Animation",o=ol(t,i,r)||{},s=sI(e).userDuring;return o.duration>0&&(o.during=s?V(mI,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=t),L(o,n[a]),o}function cI(t,e,n,i){var r=(i=i||{}).dataIndex,a=i.isInit,o=i.clearStyle,s=n.isAnimationEnabled(),l=sI(t),c=e.style;l.userDuring=e.during;var u={},h={};if(function(t,e,n){for(var i=0;i=0)){var u=t.getAnimationStyleProps(),h=u?u.style:null;if(h){!r&&(r=i.style={});var d=F(n);for(c=0;c0&&t.animateFrom(d,p)}else!function(t,e,n,i,r){if(r){var a=lI("update",t,e,i,n);a.duration>0&&t.animateFrom(r,a)}}(t,e,r||0,n,u);uI(t,e),c?t.dirty():t.markRedraw()}function uI(t,e){for(var n=sI(t).leaveToProps,i=0;i=0){!a&&(a=i[t]={});var h=F(o);for(u=0;ui[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),a=n.dataToAngle(i[1]),o=t.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:V($A,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function TI(t){return t instanceof Po}function LI(t){return t instanceof Pa}var AI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,a=t.getData(),o=this.group,s=YI(t,a,e,n);r||o.removeAll(),a.diff(r).add(function(e){NI(n,null,e,s(e,i),t,o,a)}).remove(function(e){var n=r.getItemGraphicEl(e);hI(n,qA(n).option,t)}).update(function(e,l){var c=r.getItemGraphicEl(l);NI(n,c,e,s(e,i),t,o,a)}).execute();var l=t.get("clip",!0)?av(t.coordinateSystem,!1,t):null;l?o.setClipPath(l):o.removeClipPath(),this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var a=e.getData(),o=YI(e,a,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var c=t.start;c=0?e.getStore().get(r,n):void 0}var a=e.get(i.name,n),o=i&&i.ordinalMeta;return o?o.categories[a]:a},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,"emphasis").getItemStyle(),a=b(i,"emphasis"),o=vl(a,null,null,!0,!0);o.text=a.getShallow("show")?et(t.getFormattedLabel(i,"emphasis"),t.getFormattedLabel(i,"normal"),Yb(e,i)):null;var l=wl(a,null,!0);return w(n,r),r=nI(r,o,l),n&&v(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),pt(UA,t)){var i=e.getItemVisual(n,"style");return i?i[UA[t]]:null}if(pt(GA,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===a.type)return function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),r=0;r=h;d--)hI(e.childAt(d),qA(e).option,r)}}(t,h,n,i,r),o>=0?a.replaceAt(h,o):a.add(h),h}function VI(t,e,n){var i,r=qA(t),a=e.type,o=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=a&&a!==r.customGraphicType||"path"===a&&(i=o)&&(pt(i,"pathData")||pt(i,"d"))&&qI(o)!==r.customPathData||"image"===a&&pt(s,"image")&&s.image!==r.customImagePath}function HI(t,e,n){var i=e?zI(t,e):t,r=e?BI(t,i,"emphasis"):t.style,a=t.type,o=i?i.textConfig:null,s=t.textContent,l=s?e?zI(s,e):s:null;if(r&&(n.isLegacy||QA(r,a,!!o,!!l))){n.isLegacy=!0;var c=tI(r,a,!e);!o&&c.textConfig&&(o=c.textConfig),!l&&c.textContent&&(l=c.textContent)}!e&&l&&!l.type&&(l.type="text");var u=e?n[e]:n.normal;u.cfg=o,u.conOpt=l}function zI(t,e){return e?t?t[e]:null:t}function BI(t,e,n){var i=e&&e.style;return null==i&&"emphasis"===n&&t&&(i=t.styleEmphasis),i}function WI(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function UI(t,e){var n=this.context;FI(n.api,null!=e?n.oldChildren[e]:null,n.dataIndex,null!=t?n.newChildren[t]:null,n.seriesModel,n.group)}function GI(t){var e=this.context,n=e.oldChildren[t];hI(n,qA(n).option,e.seriesModel)}function qI(t){return t&&(t.pathData||t.d)}var XI=Hr(),ZI=D,KI=V;function JI(t,e,n,i){$I(XI(n).lastProp,i)||(XI(n).lastProp=i,e?ll(n,i,t):(n.stopAnimation(),n.attr(i)))}function $I(t,e){if(q(t)&&q(e)){var n=!0;return R(e,function(e,i){n=n&&$I(t[i],e)}),!!n}return t===e}function QI(t,e){t[e.get(["label","show"])?"show":"hide"]()}function tP(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function eP(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var nP=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(t,e);if(o){var h=H(JI,e,u);this.updatePointerEl(o,l,h),this.updateLabelEl(o,l,h,e)}else o=this._group=new ir,this.createPointerEl(o,l,t,e),this.createLabelEl(o,l,t,e),n.getZr().add(o);eP(o,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(r&&i.getBandWidth()>o)return!0;if(a){var s=cM(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var a=e.pointer;if(a){var o=XI(t).pointerEl=new i[a.type](ZI(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=XI(t).labelEl=new us(ZI(e.label));t.add(r),QI(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=XI(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=XI(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),QI(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||"hide"===o)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=mf(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Zt(t.event)},onmousedown:KI(this._onHandleDragMove,this,0,0),drift:KI(this._onHandleDragMove,this),ondragend:KI(this._onHandleDragEnd,this)}),i.add(r)),eP(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");z(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Ef(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){JI(this._axisPointerModel,!e&&this._moveAnimation,this._handle,tP(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(tP(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(tP(i)),XI(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Rf(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function iP(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function rP(t,e,n,i,r){var a=aP(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),o=n.getModel("label"),s=Mc(o.get("padding")||0),l=o.getFont(),c=Vi(a,l),u=r.position,h=c.width+s[1]+s[3],d=c.height+s[0]+s[2],p=r.align;"right"===p&&(u[0]-=h),"center"===p&&(u[0]-=h/2);var f=r.verticalAlign;"bottom"===f&&(u[1]-=d),"middle"===f&&(u[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),a=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(u,h,d,i);var m=o.get("backgroundColor");m&&"auto"!==m||(m=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:vl(o,{text:a,font:l,fill:o.getTextColor(),padding:s,backgroundColor:m}),z2:10}}function aP(t,e,n,i,r){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:r.precision}),o=r.formatter;if(o){var s={value:Cx(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};R(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=e&&e.getDataParams(t.dataIndexInside);i&&s.seriesData.push(i)}),W(o)?a=o.replace("{value}",a):B(o)&&(a=o(s))}return a}function oP(t,e,n){var i=[1,0,0,1,0,0];return fi(i,i,n.rotation),pi(i,i,n.position),cf([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function sP(t,e,n,i,r,a){var o=oM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),rP(e,i,r,a,{position:oP(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function lP(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function cP(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function uP(t,e,n,i,r,a){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}var hP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=dP(o,a).getOtherAxis(a).getGlobalExtent(),c=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var u=iP(i),h=pP[s](a,c,l);h.style=u,t.graphicKey=h.type,t.pointer=h}sP(e,t,Wx(o.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=Wx(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=oP(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=dP(a,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,c=[t.x,t.y];c[l]+=e[l],c[l]=Math.min(o[1],c[l]),c[l]=Math.max(o[0],c[l]);var u=(s[1]+s[0])/2,h=[u,u];return h[l]=c[l],{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(nP);function dP(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var pP={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:lP([e,n[0]],[e,n[1]],fP(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth());return{type:"Rect",shape:cP([e-i/2,n[0]],[i,n[1]-n[0]],fP(t))}}};function fP(t){return"x"===t.dim?0:1}var mP=hP,gP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Gc),_P=Hr(),yP=R;function bP(t,e,n){if(!u.node){var i=e.getZr();_P(i).records||(_P(i).records={}),function(t,e){function n(n,i){t.on(n,function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);yP(_P(t).records,function(t){t&&i(t,n,r.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)})}_P(t).initialized||(_P(t).initialized=!0,n("click",H(wP,"click")),n("mousemove",H(wP,"mousemove")),n("globalout",vP))}(i,e),(_P(i).records[t]||(_P(i).records[t]={})).handler=n}}function vP(t,e,n){t.handler("leave",null,n)}function wP(t,e,n,i){e.handler(t,n,i)}function xP(t,e){if(!u.node){var n=e.getZr();(_P(n).records||{})[t]&&(_P(n).records[t]=null)}}var MP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";bP("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){xP("axisPointer",e)},e.prototype.dispose=function(t,e){xP("axisPointer",e)},e.type="axisPointer",e}(Cd);function SP(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),o=Vr(a,t);if(null==o||o<0||z(o))return{point:[]};var s=a.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(t.isStacked){var c=l.getBaseAxis(),u=l.getOtherAxis(c).dim,h="x"===u||"radius"===u?1:0,d=a.mapDimension(c.dim),p=[];p[h]=a.get(d,o),p[1-h]=a.get(a.getCalculationInfo("stackResultDimension"),o),i=l.dataToPoint(p)||[]}else i=l.dataToPoint(a.getValues(Y(l.dimensions,function(t){return a.mapDimension(t)}),o))||[];else if(s){var f=s.getBoundingRect().clone();f.applyTransform(s.transform),i=[f.x+f.width/2,f.y+f.height/2]}return{point:i,el:s}}var CP=Hr();function kP(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||V(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){AP(r)&&(r=SP({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=AP(r),c=a.axesInfo,u=s.axesInfo,h="leave"===i||AP(r),d={},p={},f={list:[],map:{}},m={showPointer:H(OP,p),showTooltip:H(TP,f)};R(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);R(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,a=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(c,t);if(!h&&n&&(!c||a)){var o=a&&a.value;null!=o||l||(o=i.pointToData(r)),null!=o&&DP(t,o,m,!1,d)}})});var g={};return R(u,function(t,e){var n=t.linkGroup;n&&!p[e]&&R(n.axesInfo,function(e,i){var r=p[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,LP(e),LP(t)))),g[t.key]=a}})}),R(g,function(t,e){DP(u[e],t,m,!0,d)}),function(t,e,n){var i=n.axesInfo=[];R(e,function(e,n){var r=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(p,u,d),function(t,e,n,i){if(!AP(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}(f,r,t,o),function(t,e,n){var i=n.getZr(),r=CP(i).axisPointerLastHighlights||{},a=CP(i).axisPointerLastHighlights={};R(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&R(n.seriesDataIndices,function(t){a[t.seriesIndex+" | "+t.dataIndex]=t})});var o=[],s=[];R(r,function(t,e){!a[e]&&s.push(t)}),R(a,function(t,e){!r[e]&&o.push(t)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),o.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:o})}(u,0,n),d}}function DP(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=function(t,e){var n=e.axis,i=n.dim,r=t,a=[],o=Number.MAX_VALUE,s=-1;return R(e.seriesModels,function(e,l){var c,u,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);u=d.dataIndices,c=d.nestestValue}else{if(!(u=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var p=t-c,f=Math.abs(p);f<=o&&((f=0&&s<0)&&(o=f,s=p,r=c,a.length=0),R(u,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:r}}(e,t),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&L(r,s[0]),!i&&t.snap&&a.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,o,l)}else n.showPointer(t,e)}function OP(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function TP(t,e,n,i){var r=n.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,c=hM(l),u=t.map[c];u||(u=t.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function LP(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function AP(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function IP(t){pM.registerAxisPointerClass("CartesianAxisPointer",mP),t.registerComponentModel(gP),t.registerComponentView(MP),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!z(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),a=r.get("link",!0)||[],o=[];R(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=hM(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var c=n.model.getModel("tooltip",i);if(R(n.getAxes(),H(p,!1,null)),n.getTooltipAxes&&i&&c.get("show")){var u="axis"===c.get("trigger"),h="cross"===c.get(["axisPointer","type"]),d=n.getTooltipAxes(c.get(["axisPointer","axis"]));(u||h)&&R(d.baseAxes,H(p,!h||"cross",u)),h&&R(d.otherAxes,H(p,"cross",!1))}}function p(i,s,u){var h=u.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||uM(h))){null==s&&(s=h.get("triggerTooltip"));var p=(h=i?function(t,e,n,i,r,a){var o=e.getModel("axisPointer"),s={};R(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=D(o.get(t))}),s.snap="category"!==t.type&&!!a,"cross"===o.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var c=o.get(["label","show"]);if(l.show=null==c||c,!a){var u=s.lineStyle=o.get("crossStyle");u&&A(l,u.textStyle)}}return t.model.getModel("axisPointer",new Bl(s,n,i))}(u,c,r,e,i,s):h).get("snap"),f=hM(u.model),m=s||p||"category"===u.type,g=t.axesInfo[f]={key:f,axis:u,coordSys:n,axisPointerModel:h,triggerTooltip:s,involveSeries:m,snap:p,useHandle:uM(h),seriesModels:[],linkGroup:null};l[f]=g,t.seriesInvolved=t.seriesInvolved||m;var _=function(t,e){for(var n=e.model,i=e.dim,r=0;rg?"left":"right",u=Math.abs(l[1]-_)/m<.3?"middle":l[1]>_?"top":"bottom"}return{position:l,align:c,verticalAlign:u}}(e,n,0,o,i.get(["label","margin"]));rP(t,n,i,r,d)},e}(nP),EP={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:lP(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:uP(e.cx,e.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:uP(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},RP=PP,YP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Gc),jP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ur).models[0]},e.type="polarAxis",e}(Gc);P(jP,Mw);var NP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="angleAxis",e}(jP),FP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="radiusAxis",e}(jP),VP=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return a(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(zx);VP.prototype.dataToRadius=zx.prototype.dataToCoord,VP.prototype.radiusToData=zx.prototype.coordToData;var HP=VP,zP=Hr(),BP=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return a(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var r=n[0],a=this.dataToCoord(r+1)-this.dataToCoord(r),o=Math.abs(a),s=Vi(null==r?"":r+"",t.getFont(),"center","top"),l=Math.max(s.height,7)/o;isNaN(l)&&(l=1/0);var c=Math.max(0,Math.floor(l)),u=zP(this.model),h=u.lastAutoInterval,d=u.lastTickCount;return null!=h&&null!=d&&Math.abs(h-c)<=1&&Math.abs(d-i)<=1&&h>c?c=h:(u.lastTickCount=i,u.lastAutoInterval=c),c},e}(zx);BP.prototype.dataToAngle=zx.prototype.dataToCoord,BP.prototype.angleToData=zx.prototype.coordToData;var WP=BP,UP=["radius","angle"];function GP(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var qP=function(){function t(t){this.dimensions=UP,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new HP,this._angleAxis=new WP,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);i.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,c=lo;)l+=360*c;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},t.prototype.convertToPixel=function(t,e,n){return GP(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return GP(e)===this?this.pointToData(n):null},t}();function XP(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();R(Ox(e,"radius"),function(t){r.scale.unionExtentFromData(e,t)}),R(Ox(e,"angle"),function(t){i.scale.unionExtentFromData(e,t)})}}),xx(i.scale,i.model),xx(r.scale,r.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),o=360/i.scale.count();i.inverse?a[1]+=o:a[1]-=o,i.setExtent(a[0],a[1])}}function ZP(t,e){if(t.type=e.get("type"),t.scale=Mx(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var KP={dimensions:UP,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var r=new qP(i+"");r.update=XP;var a=r.getRadiusAxis(),o=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");ZP(a,s),ZP(o,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),a=n.getHeight();t.cx=cr(i[0],r),t.cy=cr(i[1],a);var o=t.getRadiusAxis(),s=Math.min(r,a)/2,l=e.get("radius");null==l?l=[0,"100%"]:z(l)||(l=[0,l]);var c=[cr(l[0],s),cr(l[1],s)];o.inverse?o.setExtent(c[1],c[0]):o.setExtent(c[0],c[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Ur).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},JP=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function $P(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function QP(t){return t.getRadiusAxis().inverse?0:1}function tE(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var eE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return a(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),o=n.getMinorTicksCoords(),s=Y(n.getViewLabels(),function(t){t=D(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t});tE(s),tE(a),R(JP,function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||nE[e](this.group,t,i,a,o,r,s)},this)}},e.type="angleAxis",e}(pM),nE={axisLine:function(t,e,n,i,r,a){var o,s=e.getModel(["axisLine","lineStyle"]),l=QP(n),c=l?0:1;(o=0===a[c]?new Zd({shape:{cx:n.cx,cy:n.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new mp({shape:{cx:n.cx,cy:n.cy,r:a[l],r0:a[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(o)},axisTick:function(t,e,n,i,r,a){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=a[QP(n)],c=Y(i,function(t){return new kp({shape:$P(n,[l,l+s],t.coord)})});t.add(nf(c,{style:A(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,a){if(r.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),c=a[QP(n)],u=[],h=0;hf?"left":"right",_=Math.abs(p[1]-m)/d<.3?"middle":p[1]>m?"top":"bottom";if(s&&s[h]){var y=s[h];q(y)&&y.textStyle&&(o=new Bl(y.textStyle,l,l.ecModel))}var b=new us({silent:oM.isLabelSilent(e),style:vl(o,{x:p[0],y:p[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:g,verticalAlign:_})});if(t.add(b),u){var v=oM.makeAxisEventDataBase(e);v.targetType="axisLabel",v.value=i.rawLabel,hs(b).eventData=v}},this)},splitLine:function(t,e,n,i,r,a){var o=e.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u=0?"p":"n",k=v;y&&(i[s][S]||(i[s][S]={p:v,n:v}),k=i[s][S][C]);var D=void 0,O=void 0,T=void 0,L=void 0;if("radius"===h.dim){var A=h.dataToCoord(M)-v,I=a.dataToCoord(S);Math.abs(A)=L})}}})},dE={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},pE={splitNumber:5},fE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="polar",e}(Cd);function mE(t,e){e=e||{};var n=t.axis,i={},r=n.position,a=n.orient,o=t.coordinateSystem.getRect(),s=[o.x,o.x+o.width,o.y,o.y+o.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};i.position=["vertical"===a?l.vertical[r]:s[0],"horizontal"===a?l.horizontal[r]:s[3]],i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),Q(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),i.labelRotation="top"===r?-c:c,i.z2=1,i}var gE=["axisLine","axisTickLabel","axisName"],_E=["splitArea","splitLine"],yE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return a(e,t),e.prototype.render=function(e,n,i,r){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new ir;var s=mE(e),l=new oM(e,s);R(gE,l.add,l),a.add(this._axisGroup),a.add(l.getGroup()),R(_E,function(t){e.get([t,"show"])&&bE[t](this,this.group,this._axisGroup,e)},this),df(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){gM(this)},e.type="singleAxis",e}(pM),bE={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var a=i.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=i.coordinateSystem.getRect(),c=r.isHorizontal(),u=[],h=0,d=r.getTicksCoords({tickModel:a}),p=[],f=[],m=0;m=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return CE(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return CE(e)===this?this.pointToData(n):null},t}(),DE={create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(i,r){var a=new kE(i,t,e);a.name="single_"+r,a.resize(i,e),i.coordinateSystem=a,n.push(a)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Ur).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),n},dimensions:SE},OE=["x","y"],TE=["width","height"],LE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.coordinateSystem,s=PE(o,1-IE(a)),l=o.dataToPoint(e)[0],c=i.get("type");if(c&&"none"!==c){var u=iP(i),h=AE[c](a,l,s);h.style=u,t.graphicKey=h.type,t.pointer=h}sP(e,t,mE(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=mE(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=oP(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.coordinateSystem,o=IE(r),s=PE(a,o),l=[t.x,t.y];l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var c=PE(a,1-o),u=(c[1]+c[0])/2,h=[u,u];return h[o]=l[o],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(nP),AE={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:lP([e,n[0]],[e,n[1]],IE(t))}},shadow:function(t,e,n){var i=t.getBandWidth();return{type:"Rect",shape:cP([e-i/2,n[0]],[i,n[1]-n[0]],IE(t))}}};function IE(t){return t.isHorizontal()?0:1}function PE(t,e){var n=t.getRect();return[n[OE[e]],n[OE[e]]+n[TE[e]]]}var EE=LE,RE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="single",e}(Cd);function YE(t,e){var n,i=t.cellSize;1===(n=z(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=Y([0,1],function(t){return function(t,e){return null!=t[Rc[e][0]]||null!=t[Rc[e][1]]&&null!=t[Rc[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});Hc(t,e,{type:"box",ignoreSize:r})}var jE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(e,n,i){var r=zc(e);t.prototype.init.apply(this,arguments),YE(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),YE(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Gc),NE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,a=r.getRangeInfo(),o=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,s,o,i),this._renderWeekText(t,s,a,o,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),o=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,c=new Xo({shape:{x:l[0],y:l[1],width:a,height:o},cursor:"default",style:r});n.add(c)}},e.prototype._renderLines=function(t,e,n,i){var r=this,a=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=a.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=a.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(a.getDateInfo(e)),r._firstDayPoints.push(a.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,o,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),o,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),o,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new xp({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),a=[],o=0;o<7;o++){var s=i.getNextNDay(r.time,o),l=i.dataToRect([s.time],!1);a[2*s.day]=l.tl,a[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return a},e.prototype._formatterLabel=function(t,e){return W(t)&&t?(n=t,R(e,function(t,e){n=n.replace("{"+e+"}",t)}),n):B(t)?t(e):e.nameMap;var n},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var a=e[0],o=e[1],s=["center","bottom"];"bottom"===i?(o+=r,s=["center","top"]):"left"===i?a-=r:"right"===i?(a+=r,s=["center","top"]):o-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),o=r.get("position");o||(o="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,h={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f=this._formatterLabel(p,{start:e.start.y,end:e.end.y,nameMap:d}),m=new us({z2:30,style:vl(r,{text:f})});m.attr(this._yearTextPositionControl(m,h[o],n,o,a)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var a="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(a="center"),"start"===i&&(o="bottom")):(s+=r,e&&(o="middle"),"start"===i&&(a="right")),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),o=r.get("margin"),s=r.get("position"),l=r.get("align"),c=[this._tlpoints,this._blpoints];a&&!W(a)||(a&&(e=Jl(a)||e),a=e.get(["time","monthAbbr"])||[]);var u="start"===s?0:1,h="horizontal"===n?0:1;o="start"===s?-o:o;for(var d="center"===l,p=0;p=i.start.time&&n.timeo.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/864e5)-Math.floor(n[0].time/864e5)+1,r=new Date(n[0].time),a=r.getDate(),o=n[1].date.getDate();r.setDate(a+i-1);var s=r.getDate();if(s!==o)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==o&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var c=Math.floor((i+n[0].day+6)/7),u=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,a=new Date(i.start.time);return a.setDate(+i.start.d+r),this.getDateInfo(a)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(r){var a=new t(r,e,n);i.push(a),r.coordinateSystem=a}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},t.dimensions=["time","value"],t}();function HE(t,e){var n;return R(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var zE=["transition","enterFrom","leaveTo"],BE=zE.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function WE(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?zE:BE,r=0;r=0;l--){var d,p,f;if(f=null!=(p=jr((d=n[l]).id,null))?r.get(p):null){h=qE(m=f.parent);var m,g={},_=Fc(f,d,m===i?{width:a,height:o}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},g);if(!qE(f).isNew&&_){for(var y=d.transition,b={},v=0;v=0)?b[w]=x:f[w]=x}ll(f,b,t,0)}else f.attr(g)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){JE(n,qE(n).option,e,t._lastGraphicModel)}),this._elMap=ct()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Cd);function ZE(t){var e=new(pt(GE,t)?GE[t]:$p(t))({});return qE(e).type=t,e}function KE(t,e,n,i){var r=ZE(n);return e.add(r),i.set(t,r),qE(r).id=t,qE(r).isNew=!0,r}function JE(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse(function(t){JE(t,e,n,i)}),hI(t,e,i),n.removeKey(qE(t).id))}function $E(t,e,n,i){if(!t.isGroup){var r=t;r.cursor=tt(e.cursor,Pa.prototype.cursor),r.z=tt(e.z,n||0),r.zlevel=tt(e.zlevel,i||0);var a=e.z2;null!=a&&(r.z2=a||0)}R(F(e),function(n){var i=e[n];0===n.indexOf("on")&&B(i)&&(t[n]=i)}),t.draggable=e.draggable,null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var QE=["x","y","radius","angle","single"],tR=["cartesian2d","polar","singleAxis"];function eR(t){return t+"Axis"}function nR(t){var e=t.ecModel,n={infoList:[],infoMap:ct()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(eR(t),i);if(r){var a=r.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(n.infoList.push(s={model:a,axisModels:[]}),n.infoMap.set(o,s)),s.axisModels.push(r)}}}),n}var iR=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function rR(t){var e={};return R(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var aR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return a(e,t),e.prototype.init=function(t,e,n){var i=rR(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=rR(t);O(this.option,t,!0),O(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;R([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=ct();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return R(QE,function(n){var i=this.getReferringComponents(eR(n),Gr);if(i.specified){e=!0;var r=new iR;R(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";a(n.findComponents({mainType:r+"Axis"}),r)}function a(e,n){var r=e[0];if(r){var a=new iR;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var o=r.getReferringComponents("grid",Ur).models[0];o&&R(e,function(t){r.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",Ur).models[0]&&a.add(t.componentIndex)})}}}i&&a(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),i&&R(QE,function(e){if(i){var r=n.findComponents({mainType:eR(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var a=new iR;a.add(r[0].componentIndex),t.set(e,a),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");R([["start","startValue"],["end","endValue"]],function(i,r){var a=null!=t[i[0]],o=null!=t[i[1]];a&&!o?e[r]="percent":!a&&o?e[r]="value":n?e[r]=n[r]:a&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(eR(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){R(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(eR(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;R([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;R(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i=0}(e)){var n=eR(this._dimName),i=e.getReferringComponents(n,Ur).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return D(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[];cR(["start","end"],function(l,c){var u=t[l],h=t[l+"Value"];"percent"===r[c]?(null==u&&(u=a[c]),h=i.parse(lr(u,a,n))):(e=!0,u=lr(h=null==h?n[c]:i.parse(h),n,a)),s[c]=h,o[c]=u}),uR(s),uR(o);var l=this._minMaxSpan;function c(t,e,n,r,a){var o=a?"Span":"ValueSpan";IO(0,t,n,"all",l["min"+o],l["max"+o]);for(var s=0;s<2;s++)e[s]=lr(t[s],n,r,!0),a&&(e[s]=i.parse(e[s]))}return e?c(s,o,n,a,!1):c(o,s,a,n,!0),{valueWindow:s,percentWindow:o}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];cR(n,function(t){!function(t,e,n){e&&R(Ox(e,n),function(n){var i=e.getApproximateExtent(n);i[0]t[1]&&(t[1]=i[1])})}(i,t.getData(),e)});var r=t.getAxisModel(),a=yx(r.axis.scale,r,i).calculate();return[a.min,a.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow;"none"!==r&&cR(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var o=e.getStore(),s=Y(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,l=0;la[1];if(u&&!h&&!d)return!0;u&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n})}else cR(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN}));else{var i={};i[n]=a,e.selectRange(i)}});cR(i,function(t){e.setApproximateExtent(a,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;cR(["min","max"],function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=lr(n[0]+a,n,[0,100],!0):null!=r&&(a=lr(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=pr(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),dR={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){var a=t.getComponent(eR(i),r);e(i,r,a,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,a){r.__dzAxisProxy||(r.__dzAxisProxy=new hR(e,i,a,t),n.push(r.__dzAxisProxy))});var i=ct();return R(n,function(t){R(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}},pR=!1;function fR(t){pR||(pR=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,dR),function(t){t.registerAction("dataZoom",function(t,e){R(function(t,e){var n,i=ct(),r=[],a=ct();t.eachComponent({mainType:"dataZoom",query:e},function(t){a.get(t.uid)||s(t)});do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!a.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis(function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)}),e}(t)&&(s(t),n=!0)}function s(t){a.set(t.uid,!0),r.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return r}(e,t),function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function mR(t){t.registerComponentModel(oR),t.registerComponentView(lR),fR(t)}var gR=function(){},_R={};function yR(t,e){_R[t]=e}function bR(t){return _R[t]}var vR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;R(this.option.feature,function(t,n){var i=bR(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),O(t,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Gc);function wR(t,e){var n=Mc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new Xo({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var xR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var a=+t.get("itemSize"),o=t.get("feature")||{},s=this._features||(this._features={}),l=[];R(o,function(t,e){l.push(e)}),new nb(this._featureNames||[],l).add(c).update(c).remove(H(c,null)).execute(),this._featureNames=l,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=Nc(i,a,r);jc(e.get("orient"),t,e.get("itemGap"),o.width,o.height),Fc(t,i,a,r)}(r,t,n),r.add(wR(r.getBoundingRect(),t)),r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.states.emphasis;if(l&&!B(l)&&e){var c=l.style||(l.style={}),u=Vi(e,us.makeFont(c)),h=t.x+r.x,d=!1;t.y+r.y+a+u.height>n.getHeight()&&(o.position="top",d=!0);var p=d?-5-u.height:a+8;h+u.width/2>n.getWidth()?(o.position=["100%",p],c.align="right"):h-u.width/2<0&&(o.position=[0,p],c.align="left")}})}function c(c,u){var h,d=l[c],p=l[u],f=o[d],m=new Bl(f,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(f.title=i.newTitle),d&&!p){if(function(t){return 0===t.indexOf("my")}(d))h={onclick:m.option.onclick,featureName:d};else{var g=bR(d);if(!g)return;h=new g}s[d]=h}else if(!(h=s[p]))return;h.uid=Ul("toolbox-feature"),h.model=m,h.ecModel=e,h.api=n;var _=h instanceof gR;d||!p?!m.get("show")||_&&h.unusable?_&&h.remove&&h.remove(e,n):(function(i,o,s){var l,c,u=i.getModel("iconStyle"),h=i.getModel(["emphasis","iconStyle"]),d=o instanceof gR&&o.getIcons?o.getIcons():i.get("icon"),p=i.get("title")||{};W(d)?(l={})[s]=d:l=d,W(p)?(c={})[s]=p:c=p;var f=i.iconPaths={};R(l,function(s,l){var d=mf(s,{},{x:-a/2,y:-a/2,width:a,height:a});d.setStyle(u.getItemStyle()),d.ensureState("emphasis").style=h.getItemStyle();var p=new us({style:{text:c[l],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});d.setTextContent(p),bf({el:d,componentModel:t,itemName:l,formatterParamsExtra:{title:c[l]}}),d.__title=c[l],d.on("mouseover",function(){var e=h.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),d.setTextConfig({position:h.get("textPosition")||n}),p.ignore=!t.get("showTitle"),Ys(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",l])&&js(this),p.hide()}),("emphasis"===i.get(["iconStatus",l])?Ys:js)(d),r.add(d),d.on("click",V(o.onclick,o,e,n,l)),f[l]=d})}(m,h,d),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ys:js)(i[t])},h instanceof gR&&h.render&&h.render(m,e,n,i)):_&&h.dispose&&h.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){R(this._features,function(t){t instanceof gR&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.remove=function(t,e){R(this._features,function(n){n instanceof gR&&n.remove&&n.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){R(this._features,function(n){n instanceof gR&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(Cd),MR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=u.browser;if(B(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+a,l.target="_blank",l.href=o;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||r){var h=o.split(","),d=h[0].indexOf("base64")>-1,p=r?decodeURIComponent(h[1]):h[1];d&&(p=window.atob(p));var f=i+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var m=p.length,g=new Uint8Array(m);m--;)g[m]=p.charCodeAt(m);var _=new Blob([g]);window.navigator.msSaveOrOpenBlob(_,f)}else{var y=document.createElement("iframe");document.body.appendChild(y);var b=y.contentWindow,v=b.document;v.open("image/svg+xml","replace"),v.write(p),v.close(),b.focus(),v.execCommand("SaveAs",!0,f),document.body.removeChild(y)}}else{var w=n.get("lang"),x='',M=window.open();M.document.write(x),M.document.title=i}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(gR),SR=[["line","bar"],["stack"]],CR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return R(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(kR[n]){var a,o={series:[]};R(SR,function(t){I(t,n)>=0&&R(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(t){var e=kR[n](t.subType,t.id,t,i);e&&(A(e,t.option),o.series.push(e));var r=t.coordinateSystem;if(r&&"cartesian2d"===r.type&&("line"===n||"bar"===n)){var a=r.getAxesByScale("ordinal")[0];if(a){var s=a.dim+"Axis",l=t.getReferringComponents(s,Ur).models[0].componentIndex;o[s]=o[s]||[];for(var c=0;c<=l;c++)o[s][l]=o[s][l]||{};o[s][l].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(a=O({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:o,newTitle:a,featureName:"magicType"})}},e}(gR),kR={line:function(t,e,n,i){if("bar"===t)return O({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return O({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r="__ec_magicType_stack__"===n.get("stack");if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),O({id:e,stack:r?"":"__ec_magicType_stack__"},i.get(["option","stack"])||{},!0)}};n_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var DR=CR,OR=new Array(60).join("-");function TR(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var LR=new RegExp("[\t]+","g"),AR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var a=document.createElement("h4"),o=i.get("lang")||[];a.innerHTML=o[0]||i.get("title"),a.style.cssText="margin:10px 20px",a.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var c=i.get("optionToContent"),u=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var a=r.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),e[o].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:N([(n=r.seriesGroupByCategoryAxis,i=[],R(n,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,a=[" "].concat(Y(t.series,function(t){return t.name})),o=[n.model.getCategories()];R(t.series,function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var s=[a.join("\t")],l=0;l=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=Y(TR(e.shift()).split(LR),function(t){return{name:t,data:[]}}),r=0;r=0)&&t(r,i._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=GR[t.brushType](0,n,e);t.__rangeOffset={offset:XR[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){R(t,function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&R(i.coordSyses,function(i){var r=GR[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){R(t,function(t){var n,i,r,a,o=this.findTargetInfo(t,e);if(t.range=t.range||[],o&&!0!==o){t.panelId=o.panelId;var s=GR[t.brushType](0,o.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?XR[t.brushType](s.values,l.offset,(n=l.xyMinMax,i=KR(s.xyMinMax),r=KR(n),a=[i[0]/r[0],i[1]/r[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):s.values}},this)},t.prototype.makePanelOpts=function(t,e){return Y(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:ET(i),isTargetByCursor:YT(i,t,n.coordSysModel),getLinearBrushOtherExtent:RT(i)}})},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&I(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=zR(e,t),r=0;rt[1]&&t.reverse(),t}function zR(t,e){return Br(t,e,{includeMainTypes:FR})}var BR={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,a=ct(),o={},s={};(n||i||r)&&(R(n,function(t){var e=t.axis.grid.model;a.set(e.id,e),o[e.id]=!0}),R(i,function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0}),R(r,function(t){a.set(t.id,t),o[t.id]=!0,s[t.id]=!0}),a.each(function(t){var r=[];R(t.coordinateSystem.getCartesians(),function(t,e){(I(n,t.getAxis("x").model)>=0||I(i,t.getAxis("y").model)>=0)&&r.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:UR.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){R(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:UR.geo})})}},WR=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],UR={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(lf(t)),e}},GR={lineX:H(qR,0),lineY:H(qR,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),a=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),o=[HR([r[0],a[0]]),HR([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:Y(n,function(n){var a=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a}),xyMinMax:r}}};function qR(t,e,n,i){var r=n.getAxis(["x","y"][t]),a=HR(Y([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))})),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var XR={lineX:H(ZR,0),lineY:H(ZR,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return Y(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function ZR(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function KR(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var JR,$R=VR,QR=R,tY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new PT(n.getZr()),this._brushController.on("brush",V(this._onBrush,this)).mount()),function(t,e,n,i,r){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var o=new $R(nY(t),e,{include:["grid"]}).makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(o).enableBrush(!(!a||!o.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return YR(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){eY[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new $R(nY(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}}),function(t,e){var n=YR(t);ER(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var o=a.getPercentRange();n[0][i]={dataZoomId:i,start:o[0],end:o[1]}}}}),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var a=e.getAxis(t),o=a.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,o,i),l=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=IO(0,r.slice(),a.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];QR(t,function(t,n){e.push(D(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(gR),eY={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(function(t){var e=YR(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return ER(n,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i}(this.ecModel))}};function nY(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}JR=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],a=Br(t,nY(i));return QR(a.xAxisModels,function(t){return o(t,"xAxis","xAxisIndex")}),QR(a.yAxisModels,function(t){return o(t,"yAxis","yAxisIndex")}),r}function o(t,e,n){var a=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:"\0_ec_\0toolbox-dataZoom_"+e+a};o[n]=a,r.push(o)}},rt(null==ou.get("dataZoom")&&JR),ou.set("dataZoom",JR);var iY=tY,rY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Gc);function aY(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function oY(t){if(u.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(c+="top:50%",u+="translateY(-50%) rotate("+(o="left"===s?-225:-45)+"deg)"):(c+="left:50%",u+="translateX(-50%) rotate("+(o="top"===s?225:45)+"deg)");var h=o*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=e+" solid "+r+"px;";return'
'}(n,i,r)),W(t))a.innerHTML=t+o;else if(t){a.innerHTML="",z(t)||(t=[t]);for(var s=0;s=0;a--){var o=t[a];o&&(o instanceof Bl&&(o=o.get("tooltip",!0)),W(o)&&(o={formatter:o}),o&&(i=new Bl(o,i,r)))}return i}function wY(t,e){return t.dispatchAction||V(e.dispatchAction,e)}function xY(t){return"center"===t||"middle"===t}var MY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){if(!u.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?u.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new yY(e):new fY(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!u.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Ef(this,"_updatePosition",50,"fixRate"):Rf(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");bP("itemTooltip",this._api,V(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!u.node&&n.getDom()){var r=wY(i,n);this._ticket="";var a=i.dataByCoordSys,o=function(t,e,n){var i=Wr(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var a,o=qr(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(o)return n.getViewOfComponentModel(o).group.traverse(function(e){var n=hs(e).tooltipConfig;if(n&&n.name===t.name)return a=e,!0}),a?{componentMainType:r,componentIndex:o.componentIndex,el:a}:void 0}}(i,e,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=bY;l.x=i.x,l.y=i.y,l.update(),hs(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=SP(i,e),h=c.point[0],d=c.point[1];null!=h&&null!=d&&this._tryShow({offsetX:h,offsetY:d,target:c.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(wY(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,a=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s&&"axis"===vY([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,a;this._lastDataByCoordSys=null,Mm(n,function(t){return null!=hs(t).dataIndex?(r=t,!0):null!=hs(t).tooltipConfig?(a=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=V(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],a=vY([e.tooltipOption],i),o=this._renderMode,s=[],l=td("section",{blocks:[],noHeader:!0}),c=[],u=new hd;R(t,function(t){R(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var a=aP(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=td("section",{header:a,noHeader:!at(a),sortBlocks:!0,blocks:[]});l.blocks.push(h),R(t.seriesDataIndices,function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Cx(e.axis,{value:r}),f.axisValueLabel=a,f.marker=u.makeTooltipMarker("item",Ac(f.color),o);var m=yh(d.formatTooltip(p,!0,null)),g=m.frag;if(g){var _=vY([d],i).get("valueFormatter");h.blocks.push(_?L({valueFormatter:_},g):g)}m.text&&c.push(m.text),s.push(f)}})}})}),l.blocks.reverse(),c.reverse();var h=e.position,d=a.get("order"),p=od(l,u,o,d,n.get("useUTC"),a.get("textStyle"));p&&c.unshift(p);var f=c.join("richText"===o?"\n\n":"
");this._showOrMove(a,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(a,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(a,f,s,Math.random()+"",r[0],r[1],h,null,u)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=hs(e),a=r.seriesIndex,o=i.getSeriesByIndex(a),s=r.dataModel||o,l=r.dataIndex,c=r.dataType,u=s.getData(c),h=this._renderMode,d=t.positionDefault,p=vY([u.getItemModel(l),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var m=s.getDataParams(l,c),g=new hd;m.marker=g.makeTooltipMarker("item",Ac(m.color),h);var _=yh(s.formatTooltip(l,!1,c)),y=p.get("order"),b=p.get("valueFormatter"),v=_.frag,w=v?od(b?L({valueFormatter:b},v):v,g,h,y,i.get("useUTC"),p.get("textStyle")):_.text,x="item_"+s.name+"_"+l;this._showOrMove(p,function(){this._showTooltipContent(p,w,m,x,t.offsetX,t.offsetY,t.position,t.target,g)}),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=hs(e),r=i.tooltipConfig.option||{};W(r)&&(r={content:r,formatter:r});var a=[r],o=this._ecModel.getComponent(i.componentMainType,i.componentIndex);o&&a.push(o),a.push({formatter:r.content});var s=t.positionDefault,l=vY(a,this._tooltipModel,s?{position:s}:null),c=l.get("content"),u=Math.random()+"",h=new hd;this._showOrMove(l,function(){var n=D(l.get("formatterParams")||{});this._showTooltipContent(l,c,n,u,t.offsetX,t.offsetY,t.position,e,h)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,a,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var u=t.get("formatter");o=o||t.get("position");var h=e,d=this._getNearestPoint([r,a],n,t.get("trigger"),t.get("borderColor")).color;if(u)if(W(u)){var p=t.ecModel.get("useUTC"),f=z(n)?n[0]:n;h=u,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(h=rc(f.axisValue,h,p)),h=Lc(h,n,!0)}else if(B(u)){var m=V(function(e,i){e===this._ticket&&(c.setContent(i,l,t,d,o),this._updatePosition(t,o,r,a,c,n,s))},this);this._ticket=i,h=u(n,i,m)}else h=u;c.setContent(h,l,t,d,o),c.show(t,d),this._updatePosition(t,o,r,a,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||z(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:z(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,a,o){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),u=t.get("align"),h=t.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),B(e)&&(e=e([n,i],a,r.el,d,{viewSize:[s,l],contentSize:c.slice()})),z(e))n=cr(e[0],s),i=cr(e[1],l);else if(q(e)){var p=e;p.width=c[0],p.height=c[1];var f=Nc(p,{width:s,height:l});n=f.x,i=f.y,u=null,h=null}else if(W(e)&&o){var m=function(t,e,n,i){var r=n[0],a=n[1],o=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,c=e.width,u=e.height;switch(t){case"inside":s=e.x+c/2-r/2,l=e.y+u/2-a/2;break;case"top":s=e.x+c/2-r/2,l=e.y-a-o;break;case"bottom":s=e.x+c/2-r/2,l=e.y+u+o;break;case"left":s=e.x-r-o,l=e.y+u/2-a/2;break;case"right":s=e.x+c+o,l=e.y+u/2-a/2}return[s,l]}(e,d,c,t.get("borderWidth"));n=m[0],i=m[1]}else m=function(t,e,n,i,r,a,o){var s=n.getSize(),l=s[0],c=s[1];return null!=a&&(t+l+a+2>i?t-=l+a:t+=a),null!=o&&(e+c+o>r?e-=c+o:e+=o),[t,e]}(n,i,r,s,l,u?null:20,h?null:20),n=m[0],i=m[1];u&&(n-=xY(u)?c[0]/2:"right"===u?c[0]:0),h&&(i-=xY(h)?c[1]/2:"bottom"===h?c[1]:0),aY(t)&&(m=function(t,e,n,i,r){var a=n.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,i)-o,e=Math.min(e+s,r)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,i,r,s,l),n=m[0],i=m[1]),r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&R(n,function(n,a){var o=n.dataByAxis||[],s=(t[a]||{}).dataByAxis||[];(r=r&&o.length===s.length)&&R(o,function(t,n){var a=s[n]||{},o=t.seriesDataIndices||[],l=a.seriesDataIndices||[];(r=r&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&o.length===l.length)&&R(o,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&R(t.seriesDataIndices,function(t){var n=t.seriesIndex,a=e[n],o=i[n];a&&o&&o.data!==a.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!u.node&&e.getDom()&&(Rf(this,"_updatePosition"),this._tooltipContent.dispose(),xP("itemTooltip",e))},e.type="tooltip",e}(Cd),SY=["rect","polygon","keep","clear"];function CY(t,e){var n=Tr(t?t.brush:[]);if(n.length){var i=[];R(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var r=t&&t.toolbox;z(r)&&(r=r[0]),r||(t.toolbox=[r={feature:{}}]);var a,o,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),c=l.type||(l.type=[]);c.push.apply(c,i),o={},R(a=c,function(t){o[t]=1}),a.length=0,R(o,function(t,e){a.push(e)}),e&&!c.length&&c.push.apply(c,SY)}}var kY=R;function DY(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function OY(t,e,n){var i={};return kY(e,function(e){var r,a=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);kY(t[e],function(t,i){if(Rk.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),a[i]=new Rk(r),"opacity"===i&&((r=D(r)).type="colorAlpha",a.__hidden.__alphaForOpacity=new Rk(r))}})}),i}function TY(t,e,n){var i;R(n,function(t){e.hasOwnProperty(t)&&DY(e[t])&&(i=!0)}),i&&R(n,function(n){e.hasOwnProperty(n)&&DY(e[n])?t[n]=D(e[n]):delete t[n]})}var LY={lineX:AY(0),lineY:AY(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&vS(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,a=t.y,o=t.width,s=t.height,l=i[0];return!!(vS(i,r,a)||vS(i,r+o,a)||vS(i,r,a+s)||vS(i,r+o,a+s)||Yi.create(t).contain(l[0],l[1])||gf(r,a,r+o,a,i)||gf(r,a,r,a+s,i)||gf(r+o,a,r+o,a+s,i)||gf(r,a+s,r+o,a+s,i))||void 0}}};function AY(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e)return IY(e[t],i.range)},rect:function(i,r,a){if(i){var o=a.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]e[0][1]&&(e[0][1]=a[0]),a[1]e[1][1]&&(e[1][1]=a[1])}return e&&FY(e)}};function FY(t){return new Yi(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var VY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,(this._brushController=new PT(e.getZr())).on("brush",V(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){EY(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:D(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:D(n),$from:e})},e.type="brush",e}(Cd);function HY(t,e){return O({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Bl(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var zY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return a(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&TY(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=Y(t,function(t){return HY(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=HY(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Gc),BY=["rect","polygon","lineX","lineY","keep","clear"],WY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t,e,n){var i,r,a;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",a=a||!!t.areas.length}),this._brushType=i,this._brushMode=r,R(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return R(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:BY.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(gR),UY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return a(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Gc),GY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),a=t.getModel("subtextStyle"),o=t.get("textAlign"),s=tt(t.get("textBaseline"),t.get("textVerticalAlign")),l=new us({style:vl(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=l.getBoundingRect(),u=t.get("subtext"),h=new us({style:vl(a,{text:u,fill:a.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",function(){Ic(d,"_"+t.get("target"))}),p&&h.on("click",function(){Ic(p,"_"+t.get("subtarget"))}),hs(l).eventData=hs(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),u&&i.add(h);var m=i.getBoundingRect(),g=t.getBoxLayoutParams();g.width=m.width,g.height=m.height;var _=Nc(g,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||("middle"===(o=t.get("left")||t.get("right"))&&(o="center"),"right"===o?_.x+=_.width:"center"===o&&(_.x+=_.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?_.y+=_.height:"middle"===s&&(_.y+=_.height/2),s=s||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var y={align:o,verticalAlign:s};l.setStyle(y),h.setStyle(y),m=i.getBoundingRect();var b=_.margin,v=t.getItemStyle(["color","opacity"]);v.fill=t.get("backgroundColor");var w=new Xo({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2],r:t.get("borderRadius")},style:v,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Cd),qY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],R(n,function(e,n){var i,a=jr(Ir(e),"");q(e)?(i=D(e)).value=n:i=n,t.push(i),r.push(a)})):t=n,(this._data=new kb([{name:"value",type:{category:"ordinal",time:"time",value:"number"}[i]||"number"}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Gc),XY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="timeline.slider",e.defaultOption=Gl(qY.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(qY);P(XY,_h.prototype);var ZY=XY,KY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="timeline",e}(Cd),JY=function(t){function e(e,n,i,r){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a}return a(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(zx),$Y=Math.PI,QY=Hr();function tj(t,e,n,i,r,a){var o=e.get("color");r?(r.setColor(o),n.add(r),a&&a.onUpdate(r)):((r=Rm(t.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),n.add(r),a&&a.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=O({rectHover:!0,z2:100},i,!0);var l=Ym(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var c=jm(t.get("symbolOffset"),l);c&&(i.x=(i.x||0)+c[0],i.y=(i.y||0)+c[1]);var u=t.get("symbolRotate");return i.rotation=(u||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function ej(t,e,n,i,r,a){if(!t.dragging){var o=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(a||!o.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var nj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return td("nameValue",{noName:!0,value:o.scale.getLabel({value:t})})},R(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](i,r,o,t)},this),this._renderAxisLabel(i,a,o,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,a,o=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return Nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),c={horizontal:"center",vertical:(n=null==o||"auto"===o?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:$Y/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),m=f?p.get("itemSize"):0,g=f?p.get("itemGap"):0,_=m+g,y=t.get(["label","rotate"])||0;y=y*$Y/180;var b=p.get("position",!0),v=f&&p.get("showPlayBtn",!0),w=f&&p.get("showPrevBtn",!0),x=f&&p.get("showNextBtn",!0),M=0,S=d;"left"===b||"bottom"===b?(v&&(i=[0,0],M+=_),w&&(r=[M,0],M+=_),x&&(a=[S-m,0],S-=_)):(v&&(i=[S-m,0],S-=_),w&&(r=[0,0],M+=_),x&&(a=[S-m,0],S-=_));var C=[M,S];return t.get("inverse")&&C.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:a,axisExtent:C,controlSize:m,controlGap:g}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=[1,0,0,1,0,0],o=r.x,s=r.y+r.height;pi(a,a,[-o,-s]),fi(a,a,-$Y/2),pi(a,a,[o,s]),(r=r.clone()).applyTransform(a)}var l=g(r),c=g(n.getBoundingRect()),u=g(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var p,f=t.labelPosOpt;function m(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function g(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function _(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}null==f||W(f)?(_(h,c,l,1,p="+"===f?0:1),_(d,u,l,1,1-p)):(_(h,c,l,1,p=f>=0?0:1),d[1]=h[1]+f),n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,m(n),m(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Uw({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new ix({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Xw}}(e,i);r.getTicks=function(){return n.mapArray(["value"],function(t){return{value:t}})};var a=n.getDataExtent("value");r.setExtent(a[0],a[1]),r.calcNiceTicks();var o=new JY("value",r,t.axisExtent,i);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new ir;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var a=new kp({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:L({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(a);var o=this._progressLine=new kp({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:A({lineCap:"round",lineWidth:a.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,a=i.getData(),o=n.scale.getTicks();this._tickSymbols=[],R(o,function(t){var o=n.dataToCoord(t.value),s=a.getItemModel(t.value),l=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),u=s.getModel(["progress","itemStyle"]),h={x:o,y:0,onclick:V(r._changeTimeline,r,t.value)},d=tj(s,l,e,h);d.ensureState("emphasis").style=c.getItemStyle(),d.ensureState("progress").style=u.getItemStyle(),Zs(d);var p=hs(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(d)})},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var a=i.getData(),o=n.getViewLabels();this._tickLabels=[],R(o,function(i){var o=i.tickValue,s=a.getItemModel(o),l=s.getModel("label"),c=s.getModel(["emphasis","label"]),u=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new us({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:V(r._changeTimeline,r,o),silent:!1,style:vl(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=vl(c),d.ensureState("progress").style=vl(u),e.add(d),Zs(d),QY(d).dataIndex=o,r._tickLabels.push(d)})}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,a=t.rotation,o=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),c=i.get("inverse",!0);function u(t,n,l,c){if(t){var u=Wi(tt(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,a=mf(t.get(["controlStyle",e]),i||{},new Yi(n[0],n[1],n[2],n[3]));return r&&a.setStyle(r),a}(i,n+"Icon",[0,-u/2,u,u],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-a:0,rectHover:!0,style:o,onclick:l});h.ensureState("emphasis").style=s,e.add(h),Zs(h)}}u(t.nextBtnPosition,"next",V(this._changeTimeline,this,c?"-":"+")),u(t.prevBtnPosition,"prev",V(this._changeTimeline,this,c?"+":"-")),u(t.playPosition,l?"stop":"play",V(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),a=i.getCurrentIndex(),o=r.getItemModel(a).getModel("checkpointStyle"),s=this;this._currentPointer=tj(o,o,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=V(s._handlePointerDrag,s),t.ondragend=V(s._handlePointerDragend,s),ej(t,s._progressLine,a,n,i,!0)},onUpdate:function(t){ej(t,s._progressLine,a,n,i)}})},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=hr(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n=0&&(o[a]=+o[a].toFixed(h)),[o,u]}var pj={min:H(dj,"min"),max:H(dj,"max"),average:H(dj,"average"),median:H(dj,"median")};function fj(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!z(e.coord)&&i){var r=i.dimensions,a=mj(e,n,i,t);if((e=D(e)).type&&pj[e.type]&&a.baseAxis&&a.valueAxis){var o=I(r,a.baseAxis.dim),s=I(r,a.valueAxis.dim),l=pj[e.type](n,a.baseDataDim,a.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else{for(var c=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],u=0;u<2;u++)pj[c[u]]&&(c[u]=yj(n,n.mapDimension(r[u]),c[u]));e.coord=c}}return e}function mj(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function gj(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function _j(t,e){return t?function(t,n,i,r){return xh(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return xh(t.value,e[r])}}function yj(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var bj=Hr(),vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.init=function(){this.markerGroupMap=ct()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each(function(t){bj(t).keep=!1}),e.eachSeries(function(t){var r=uj.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)}),r.each(function(t){!bj(t).keep&&i.group.remove(t.group)})},e.prototype.markKeep=function(t){bj(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;R(t,function(t){var n=uj.getMarkerModelFromSeries(t,e.type);n&&n.getData().eachItemGraphicEl(function(t){t&&Ns(t)})})},e.type="marker",e}(Cd);function wj(t,e,n){var i=e.coordinateSystem;t.each(function(r){var a,o=t.getItemModel(r),s=cr(o.get("x"),n.getWidth()),l=cr(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var c=t.get(i.dimensions[0],r),u=t.get(i.dimensions[1],r);a=i.dataToPoint([c,u])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),t.setItemLayout(r,a)})}var xj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=uj.getMarkerModelFromSeries(t,"markPoint");e&&(wj(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new Bb),c=function(t,e,n){var i;i=t?Y(t&&t.dimensions,function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new kb(i,n),a=Y(n.get("data"),H(fj,e));t&&(a=N(a,H(gj,t)));var o=_j(!!t,i);return r.initData(a,null,o),r}(r,t,e);e.setData(c),wj(e.getData(),t,i),c.each(function(t){var n=c.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(B(i)||B(r)||B(a)||B(s)){var u=e.getRawValue(t),h=e.getDataParams(t);B(i)&&(i=i(u,h)),B(r)&&(r=r(u,h)),B(a)&&(a=a(u,h)),B(s)&&(s=s(u,h))}var d=n.getModel("itemStyle").getItemStyle(),p=bm(o,"color");d.fill||(d.fill=p),c.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:a,symbolOffset:s,symbolKeepAspect:l,style:d})}),l.updateData(c),this.group.add(l.group),c.eachItemGraphicEl(function(t){t.traverse(function(t){hs(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(vj),Mj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(uj),Sj=Hr(),Cj=function(t,e,n,i){var r,a=t.getData();if(z(i))r=i;else{var o=i.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=Q(i.yAxis,i.xAxis);else{var c=mj(i,a,e,t);s=c.valueAxis,l=yj(a,Pb(a,c.valueDataDim),o)}var u="x"===s.dim?0:1,h=1-u,d=D(i),p={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,p.coord[h]=1/0;var f=n.get("precision");f>=0&&G(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[u]=p.coord[u]=l,r=[d,p,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var m=[fj(t,r[0]),fj(t,r[1]),L({},r[2])];return m[2].type=m[2].type||null,O(m[2],m[0]),O(m[2],m[1]),m};function kj(t){return!isNaN(t)&&!isFinite(t)}function Dj(t,e,n,i){var r=1-t,a=i.dimensions[t];return kj(e[r])&&kj(n[r])&&e[t]===n[t]&&i.getAxis(a).containData(e[t])}function Oj(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(Dj(1,n,i,t)||Dj(0,n,i,t)))return!0}return gj(t,e[0])&&gj(t,e[1])}function Tj(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=cr(s.get("x"),r.getWidth()),c=cr(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var u=t.get((d=o.dimensions)[0],e),h=t.get(d[1],e);a=o.dataToPoint([u,h])}if(ov(o,"cartesian2d")){var d,p=o.getAxis("x"),f=o.getAxis("y");kj(t.get((d=o.dimensions)[0],e))?a[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):kj(t.get(d[1],e))&&(a[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(a[0]=l),isNaN(c)||(a[1]=c)}else a=[l,c];t.setItemLayout(e,a)}var Lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=uj.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=Sj(e).from,a=Sj(e).to;r.each(function(e){Tj(r,e,!0,t,n),Tj(a,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new FD);this.group.add(l.group);var c=function(t,e,n){var i;i=t?Y(t&&t.dimensions,function(t){return L(L({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new kb(i,n),a=new kb(i,n),o=new kb([],n),s=Y(n.get("data"),H(Cj,e,t,n));t&&(s=N(s,H(Oj,t)));var l=_j(!!t,i);return r.initData(Y(s,function(t){return t[0]}),null,l),a.initData(Y(s,function(t){return t[1]}),null,l),o.initData(Y(s,function(t){return t[2]})),o.hasItemOption=!0,{from:r,to:a,line:o}}(r,t,e),u=c.from,h=c.to,d=c.line;Sj(e).from=u,Sj(e).to=h,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),m=e.get("symbolRotate"),g=e.get("symbolOffset");function _(e,n,r){var a=e.getItemModel(n);Tj(e,n,r,t,i);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=bm(o,"color")),e.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:tt(a.get("symbolOffset",!0),g[r?0:1]),symbolRotate:tt(a.get("symbolRotate",!0),m[r?0:1]),symbolSize:tt(a.get("symbolSize"),f[r?0:1]),symbol:tt(a.get("symbol",!0),p[r?0:1]),style:s})}z(p)||(p=[p,p]),z(f)||(f=[f,f]),z(m)||(m=[m,m]),z(g)||(g=[g,g]),c.from.each(function(t){_(u,t,!0),_(h,t,!1)}),d.each(function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[u.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=u.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:u.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(t,"symbolOffset"),fromSymbolRotate:u.getItemVisual(t,"symbolRotate"),fromSymbolSize:u.getItemVisual(t,"symbolSize"),fromSymbol:u.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})}),l.updateData(d),c.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){hs(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(vj),Aj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(uj),Ij=Hr(),Pj=function(t,e,n,i){var r=fj(t,i[0]),a=fj(t,i[1]),o=r.coord,s=a.coord;o[0]=Q(o[0],-1/0),o[1]=Q(o[1],-1/0),s[0]=Q(s[0],1/0),s[1]=Q(s[1],1/0);var l=T([{},r,a]);return l.coord=[r.coord,a.coord],l.x0=r.x,l.y0=r.y,l.x1=a.x,l.y1=a.y,l};function Ej(t){return!isNaN(t)&&!isFinite(t)}function Rj(t,e,n,i){var r=1-t;return Ej(e[r])&&Ej(n[r])}function Yj(t,e){var n=e.coord[0],i=e.coord[1];return!!(ov(t,"cartesian2d")&&n&&i&&(Rj(1,n,i)||Rj(0,n,i)))||gj(t,{coord:n,x:e.x0,y:e.y0})||gj(t,{coord:i,x:e.x1,y:e.y1})}function jj(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=cr(s.get(n[0]),r.getWidth()),c=cr(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(n,e));else{var u=[p=t.get(n[0],e),f=t.get(n[1],e)];o.clampData&&o.clampData(u,u),a=o.dataToPoint(u,!0)}if(ov(o,"cartesian2d")){var h=o.getAxis("x"),d=o.getAxis("y"),p=t.get(n[0],e),f=t.get(n[1],e);Ej(p)?a[0]=h.toGlobalCoord(h.getExtent()["x0"===n[0]?0:1]):Ej(f)&&(a[1]=d.toGlobalCoord(d.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(a[0]=l),isNaN(c)||(a[1]=c)}else a=[l,c];return a}var Nj=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Fj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=uj.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=Y(Nj,function(r){return jj(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,{group:new ir});this.group.add(l.group),this.markKeep(l);var c=function(t,e,n){var i,r;if(t){var a=Y(t&&t.dimensions,function(t){var n=e.getData();return L(L({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})});r=Y(["x0","y0","x1","y1"],function(t,e){return{name:t,type:a[e%2].type}}),i=new kb(r,n)}else i=new kb(r=[{name:"value",type:"float"}],n);var o=Y(n.get("data"),H(Pj,e,t,n));return t&&(o=N(o,H(Yj,t))),i.initData(o,null,t?function(t,e,n,i){return xh(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return xh(t.value,r[i])}),i.hasItemOption=!0,i}(r,t,e);e.setData(c),c.each(function(e){var n=Y(Nj,function(n){return jj(c,e,n,t,i)}),a=r.getAxis("x").scale,s=r.getAxis("y").scale,l=a.getExtent(),u=s.getExtent(),h=[a.parse(c.get("x0",e)),a.parse(c.get("x1",e))],d=[s.parse(c.get("y0",e)),s.parse(c.get("y1",e))];hr(h),hr(d),c.setItemLayout(e,{points:n,allClipped:!!(l[0]>h[1]||l[1]d[1]||u[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Gc),Hj=H,zj=R,Bj=ir;function Wj(t,e,n,i){qj(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),Gj(t,e,n,i)}function Uj(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i0?2:0),zj(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var s=e.getModel("itemStyle").getItemStyle(),l=0===t.lastIndexOf("empty",0)?"fill":"stroke";s.decal=i.decal,"inherit"===s.fill&&(s.fill=i[r]),"inherit"===s.stroke&&(s.stroke=i[l]),"inherit"===s.opacity&&(s.opacity=("fill"===r?i:n).opacity),o(s,i);var c=e.getModel("lineStyle"),u=c.getLineStyle();if(o(u,n),"auto"===s.fill&&(s.fill=i.fill),"auto"===s.stroke&&(s.stroke=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),!a){var h=e.get("inactiveBorderWidth");s.lineWidth="auto"===h?i.lineWidth>0&&s[l]?2:0:s.lineWidth,s.fill=e.get("inactiveColor"),s.stroke=e.get("inactiveBorderColor"),u.stroke=c.get("inactiveColor"),u.lineWidth=c.get("inactiveWidth")}return{itemStyle:s,lineStyle:u}}(l=b||l||"roundRect",i,o,s,p,g),w=new Bj,x=i.getModel("textStyle");if(!B(t.getLegendIcon)||b&&"inherit"!==b){var M="inherit"===b&&t.getData().getVisual("symbol")?"inherit"===_?t.getData().getVisual("symbolRotate"):_:0;w.add(((d=Rm(h=(u={itemWidth:f,itemHeight:m,icon:l,iconRotate:M,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:y}).icon||"roundRect",0,0,u.itemWidth,u.itemHeight,u.itemStyle.fill,u.symbolKeepAspect)).setStyle(u.itemStyle),d.rotation=(u.iconRotate||0)*Math.PI/180,d.setOrigin([u.itemWidth/2,u.itemHeight/2]),h.indexOf("empty")>-1&&(d.style.stroke=d.style.fill,d.style.fill="#fff",d.style.lineWidth=2),d))}else w.add(t.getLegendIcon({itemWidth:f,itemHeight:m,icon:l,iconRotate:_,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:y}));var S="left"===a?f+5:-5,C=a,k=r.get("formatter"),D=e;W(k)&&k?D=k.replace("{name}",null!=e?e:""):B(k)&&(D=k(e));var O=i.get("inactiveColor");w.add(new us({style:vl(x,{text:D,x:S,y:m/2,fill:g?x.getTextColor():O,align:C,verticalAlign:"middle"})}));var T=new Xo({shape:w.getBoundingRect(),invisible:!0}),L=i.getModel("tooltip");return L.get("show")&&bf({el:T,componentModel:r,itemName:e,itemTooltipOption:L.option}),w.add(T),w.eachChild(function(t){t.silent=!0}),T.silent=!c,this.getContentGroup().add(w),Zs(w),w.__legendDataIndex=n,w},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();jc(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),o.markRedraw(),r){jc("horizontal",s,t.get("selectorItemGap",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",m=0===p?"height":"width",g=0===p?"y":"x";"end"===a?h[p]+=l[f]+d:c[p]+=u[f]+d,h[1-p]+=l[m]/2-u[m]/2,s.x=h[0],s.y=h[1],o.x=c[0],o.y=c[1];var _={x:0,y:0};return _[f]=l[f]+d+u[f],_[m]=Math.max(l[m],u[m]),_[g]=Math.min(0,u[g]+h[1-p]),_}return o.x=c[0],o.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Cd);function Zj(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;nn[r],f=[-h.x,-h.y];e||(f[i]=l[s]);var m=[0,0],g=[-d.x,-d.y],_=tt(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?g[i]+=n[r]-d[r]:m[i]+=d[r]+_),g[1-i]+=h[a]/2-d[a]/2,l.setPosition(f),c.setPosition(m),u.setPosition(g);var y={x:0,y:0};if(y[r]=p?n[r]:h[r],y[a]=Math.max(h[a],d[a]),y[o]=Math.min(0,d[o]+g[1-i]),c.__rectSize=n[r],p){var b={x:0,y:0};b[r]=Math.max(n[r]-d[r]-_,0),b[a]=y[a],c.setClipPath(new Xo({shape:b})),c.__rectSize=b[r]}else u.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var v=this._getPageInfo(t);return null!=v.pageIndex&&ll(l,{x:v.contentPosition[0],y:v.contentPosition[1]},p?t:null),this._updatePageInfoView(t,v),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;R(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",t.get(r?"pageIconColor":"pageIconInactiveColor",!0)),a.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,o=null!=a?a+1:0,s=e.pageCount;i&&r&&i.setStyle("text",W(r)?r.replace("{current}",null==o?"":o+"").replace("{total}",null==s?"":s+""):r({current:o,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,a=eN[r],o=nN[r],s=this._findTargetItemIndex(e),l=n.children(),c=l[s],u=l.length,h=u?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var p=y(c);d.contentPosition[r]=-p.s;for(var f=s+1,m=p,g=p,_=null;f<=u;++f)(!(_=y(l[f]))&&g.e>m.s+i||_&&!b(_,m.s))&&(m=g.i>m.i?g:_)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=m.i),++d.pageCount),g=_;for(f=s-1,m=p,g=p,_=null;f>=-1;--f)(_=y(l[f]))&&b(g,_.s)||!(m.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(i,r){var a=i.__legendDataIndex;null==n&&null!=a&&(n=r),a===t&&(e=r)}),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(Xj);function rN(t){c_(Jj),t.registerComponentModel(Qj),t.registerComponentView(iN),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}var aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.inside",e.defaultOption=Gl(aR.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(aR),oN=Hr();function sN(t,e,n){oN(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}function lN(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function cN(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function uN(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}var hN=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return a(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),sN(i,e,{pan:V(dN.pan,this),zoom:V(dN.zoom,this),scrollMove:V(dN.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=oN(t).coordSysRecordMap,i=n.keys(),r=0;r0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/i.scale,0);a[0]=(a[0]-l)*c+l,a[1]=(a[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return IO(0,a,[0,100],0,u.minSpan,u.maxSpan),this.range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:pN(function(t,e,n,i,r,a){var o=fN[i]([a.oldX,a.oldY],[a.newX,a.newY],e,r,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:pN(function(t,e,n,i,r,a){return fN[i]([0,0],[a.scrollDelta,a.scrollDelta],e,r,n).signal*(t[1]-t[0])*a.scrollDelta})};function pN(t){return function(e,n,i,r){var a=this.range,o=a.slice(),s=e.axisModels[0];if(s)return IO(t(o,s,e,n,i,r),o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}var fN={grid:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,n,i,r){var a=n.axis,o=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},mN=hN;function gN(t){fR(t),t.registerComponentModel(aN),t.registerComponentView(mN),function(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=oN(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=ct());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){R(nR(t).infoList,function(n){var r=n.model.uid,a=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:H(uN,e),dispatchAction:H(cN,t),dataZoomInfoMap:null,controller:null},i=n.controller=new GM(t.getZr());return R(["pan","zoom","scrollMove"],function(t){i.on(t,function(e){var i=[];n.dataZoomInfoMap.each(function(r){if(e.isAvailableBehavior(r.model.option)){var a=(r.getRange||{})[t],o=a&&a(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&o&&i.push({dataZoomId:r.model.id,start:o[0],end:o[1]})}}),i.length&&n.dispatchAction(i)})}),n}(e,n.model));(a.dataZoomInfoMap||(a.dataZoomInfoMap=ct())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var a=r.keys()[0];null!=a&&(e=r.get(a))}if(e){var o=function(t){var e,n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each(function(t){var r=t.model,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");n["type_"+a]>n["type_"+e]&&(e=a),i=i&&r.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(r);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),Ef(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else lN(i,t)})})}(t)}var _N=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Gl(aR.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(aR),yN=Xo,bN=["line","bar","candlestick","scatter"],vN={easing:"cubicOut",duration:100,delay:0};function wN(t){return"vertical"===t?"ns-resize":"ew-resize"}var xN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return a(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=V(this._onBrush,this),this._onBrushEnd=V(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Ef(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Rf(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new ir;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},a="horizontal"===this._orient?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},o=zc(t.option);R(["right","top","width","height"],function(t){"ph"===o[t]&&(o[t]=a[t])});var s=Nc(o,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr("horizontal"!==n||r?"horizontal"===n&&r?{scaleY:o?1:-1,scaleX:-1}:"vertical"!==n||r?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=t.getBoundingRect([a]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new yN({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new yN({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:V(this._onClickPanel,this)}),a=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),a=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=a){var o=this._shadowPolygonPts,s=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var l=r.getDataExtent(a),c=.3*(l[1]-l[0]);l=[l[0]-c,l[1]+c];var u,h=[0,e[1]],d=[[e[0],0],[0,0]],p=[],f=e[0]/(r.count()-1),m=0,g=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(g>0&&e%g)m+=f;else{var n=null==t||isNaN(t)||""===t,i=n?0:lr(t,l,h,!0);n&&!u&&e?(d.push([d[d.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(d.push([m,0]),p.push([m,0])),d.push([m,i]),p.push([m,i]),m+=f,u=n}}),o=this._shadowPolygonPts=d,s=this._shadowPolylinePts=p}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,y=0;y<3;y++){var b=v(1===y);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function v(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new ir,i=new bp({shape:{points:o},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new xp({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis(function(r,a){R(t.getAxisProxy(r,a).getTargetSeriesModels(),function(t){if(!(n||!0!==e&&I(bN,t.get("type"))<0)){var o,s=i.getComponent(eR(r),a).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=t.coordinateSystem;null!=l&&c.getOtherAxis&&(o=c.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:o}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,l=o.get("borderRadius")||0,c=o.get("brushSelect"),u=e.filler=new yN({silent:c,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});r.add(u),r.add(new yN({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:l},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),R([0,1],function(e){var a=o.get("handleIcon");!Im[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=Rm(a,-1,0,2,2,null,!0);s.attr({cursor:wN(this._orient),draggable:!0,drift:V(this._onDragMove,this,e),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),c=o.get("handleSize");this._handleHeight=cr(c,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(o.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),Zs(s);var u=o.get("handleColor");null!=u&&(s.style.fill=u),r.add(n[e]=s);var h=o.getModel("textStyle");t.add(i[e]=new us({silent:!0,invisible:!0,style:vl(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))},this);var h=u;if(c){var d=cr(o.get("moveHandleSize"),a[1]),p=e.moveHandle=new Xo({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:d}}),f=.8*d,m=e.moveHandleIcon=Rm(o.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);m.silent=!0,m.y=a[1]+d/2-.5,p.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(a[1]/2,Math.max(d,10));(h=e.moveZone=new Xo({invisible:!0,shape:{y:a[1]-g,height:d+g}})).on("mouseover",function(){s.enterEmphasis(p)}).on("mouseout",function(){s.leaveEmphasis(p)}),r.add(p),r.add(m),r.add(h)}h.attr({draggable:!0,cursor:wN(this._orient),drift:V(this._onDragMove,this,"all"),ondragstart:V(this._showDataInfo,this,!0),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[lr(t[0],[0,100],e,!0),lr(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];IO(e,i,r,n.get("zoomLock")?"all":t,null!=a.minSpan?lr(a.minSpan,o,r,!0):null,null!=a.maxSpan?lr(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=hr([lr(i[0],r,o,!0),lr(i[1],r,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=hr(n.slice()),r=this._size;R([0,1],function(t){var i=this._handleHeight;e.handles[t].attr({scaleX:i/2,scaleY:i/2,x:n[t]+(t?-1:1),y:r[1]/2-i/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var a={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var o=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=this._updateInterval("all",n[0]-(i[0]+i[1])/2);this._updateView(),r&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){this._brushStart=new Di(t.offsetX,t.offsetY),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=hr([lr(n.x,i,r,!0),lr(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Zt(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=n.brushRect;i||(i=n.brushRect=new yN({silent:!0,style:this.dataZoomModel.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var r=this._brushStart,a=this._displayables.sliderGroup,o=a.transformCoordToLocal(t,e),s=a.transformCoordToLocal(r.x,r.y),l=this._size;o[0]=Math.max(Math.min(l[0],o[0]),0),i.setShape({x:s[0],y:0,width:o[0]-s[0],height:l[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?vN:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=nR(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(sR);function MN(t){t.registerComponentModel(_N),t.registerComponentView(xN),fR(t)}var SN={get:function(t,e,n){var i=D((CN[t]||{})[e]);return n&&z(i)?i[i.length-1]:i}},CN={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},kN=SN,DN=Rk.mapVisual,ON=Rk.eachVisual,TN=z,LN=R,AN=hr,IN=lr,PN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return a(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){!e&&TY(this.option,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=V(t,this),this.controllerVisuals=OY(this.option.controller,e,t),this.targetVisuals=OY(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,n){e.push(n)}):e=Tr(t),e},e.prototype.eachTargetSeries=function(t,e){R(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,a=r.precision,o=this.dataBound,s=r.formatter;n=n||["<",">"],z(t)&&(t=t.slice(),i=!0);var l=e?t:i?[c(t[0]),c(t[1])]:c(t);return W(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):B(s)?i?s(t[0],t[1]):s(t):i?t[0]===o[0]?n[0]+" "+l[1]:t[1]===o[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function c(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=AN([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=t.getDimensionInfo(n[i]);if(!r.isCalculationCoord)return r.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});O(i,n),O(r,n);var a=this.isCategory();function o(n){TN(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}o.call(this,i),o.call(this,r),(function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},LN(i,function(t,e){if(Rk.isValidType(e)){var n=kN.get(e,"inactive",a);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}).call(this,i,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";LN(this.stateList,function(o){var s=this.itemSize,l=t[o];l||(l=t[o]={color:a?i:[i]}),null==l.symbol&&(l.symbol=e&&D(e)||(a?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&D(n)||(a?s[0]:[s[0],s[0]])),l.symbol=DN(l.symbol,function(t){return"none"===t?r:t});var c=l.symbolSize;if(null!=c){var u=-1/0;ON(c,function(t){t>u&&(u=t)}),l.symbolSize=DN(c,function(t){return IN(t,[0,u],[0,s[0]],!0)})}},this)}).call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Gc),EN=[20,140];function RN(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],a=[],o=0;o<=200&&re[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),R(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=hr((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=RN(0,0,this.getExtent()),n=RN(0,0,this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,o=0,s=n.length,l=e.length;ot[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new ir("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,a=n.handleLabels,o=i.itemSize,s=i.getExtent();zN([0,1],function(l){var c=r[l];c.setStyle("fill",e.handlesColor[l]),c.y=t[l];var u=HN(t[l],[0,o[1]],s,!0),h=this.getControllerVisual(u,"symbolSize");c.scaleX=c.scaleY=h/o[0],c.x=o[0]-h/2;var d=cf(n.handleLabelPoints[l],lf(c,this.group));a[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,c=l.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=HN(t,a,s,!0),p=o[0]-h/2,f={x:c.x,y:c.y};c.y=d,c.x=p;var m=cf(l.indicatorLabelPoint,lf(c,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var _=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;g.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?_:"middle",align:y?"center":_});var b={x:p,y:d,style:{fill:u}},v={style:{x:m[0],y:m[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};c.x=f.x,c.y=f.y,c.animateTo(b,w),g.animateTo(v,w)}else c.attr(b),g.attr(v);this._firstShowIndicator=!1;var x=this._shapes.handleLabels;if(x)for(var M=0;Mi[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(s,l[1],"< ",a):l[1]===1/0?this._showIndicator(s,l[0],"> ",a):this._showIndicator(s,s,"\u2248 ",a));var c=this._hoverLinkDataIndices,u=[];(e||GN(n))&&(u=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var h=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[a(n),a(i)];function r(t,e,n){for(var i=0,r=t.length;i=0&&(r.dimension=a,i.push(r))}}),t.getData().setVisual("visualMeta",i)}}];function $N(t,e,n,i){for(var r=e.targetVisuals[i],a=Rk.prepareVisualTypes(r),o={color:bm(t.getData(),"color")},s=0,l=a.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(ZN,KN),R(JN,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(tF))}function rF(t){t.registerComponentModel(YN),t.registerComponentView(XN),iF(t)}var aF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return a(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],oF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=D(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=Y(this._pieceList,function(t){return t=D(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=Rk.listVisualTypes(),r=this.isCategory();function a(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}R(e.pieces,function(t){R(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),R(n,function(t,n){var i=!1;R(this.stateList,function(t){i=i||a(e,t,n)||a(e.target,t,n)},this),!i&&R(this.stateList,function(t){(e[t]||(e[t]={}))[n]=kN.get(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,R(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var a=!1;R(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=D(t)},e.prototype.getValueState=function(t){var e=Rk.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],a=i.getData();a.each(this.getDataDimensionIndex(a),function(e,i){Rk.findPieceIndex(e,n)===t&&r.push(i)},this),e.push({seriesId:i.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var a=r[0].interval[0];a!==-1/0&&r.unshift({interval:[-1/0,a]}),(a=r[r.length-1].interval[1])!==1/0&&r.push({interval:[a,1/0]})}else r.push({interval:[-1/0,1/0]});var o=-1/0;return R(r,function(t){var e=t.interval;e&&(e[0]>o&&s([o,e[0]],"outOfRange"),s(e.slice()),o=e[1])},this),{stops:e,outerColors:n}}function s(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=t(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Gl(PN.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(PN),oF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var a=(i[1]-i[0])/r;+a.toFixed(n)!==a&&n<5;)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var o=0,s=i[0];o","\u2265"][e[0]]])},this)}};function sF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var lF=aF,cF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return a(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),a=i.getTextColor(),o=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),c=l.endsText,u=Q(e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],s,u,o),R(l.viewPieceList,function(i){var l=i.piece,c=new ir;c.onclick=V(this._onItemClick,this,l),this._enableHoverLink(c,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),u){var d=this.visualMapModel.getValueState(h);c.add(new us({style:{x:"right"===o?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:o,font:r,fill:a,opacity:"outOfRange"===d?.5:1}}))}t.add(c)},this),c&&this._renderEndsText(t,c[1],s,u,o),jc(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:VN(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return FN(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var a=new ir,o=this.visualMapModel.textStyleModel;a.add(new us({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e,font:o.getFont(),fill:o.getTextColor()}})),t.add(a)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=Y(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Rm(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=D(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[r]=!0,R(i,function(t,e){i[e]=e===r})):i[r]=!i[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})},e.type="visualMap.piecewise",e}(jN);function uF(t){t.registerComponentModel(lF),t.registerComponentView(cF),iF(t)}var hF={label:{enabled:!0},decal:{show:!1}},dF=Hr(),pF={};function fF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=D(hF);O(i.label,t.getLocaleModel().get("aria"),!1),O(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=ct();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||e.set(t.type,n={}),dF(t).scope=n}}),t.eachRawSeries(function(e){if(!t.isSeriesFiltered(e))if(B(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=uu(e.ecModel,e.name,pF,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",c(r,i))}else{var a=e.getRawData(),o={},s=dF(e).scope;n.each(function(t){var e=n.getRawIndex(t);o[e]=t});var l=a.count();a.each(function(t){var i=o[t],r=a.getName(t)||t+"",u=uu(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",c(h,u))})}}function c(t,e){var n=t?L(L({},e),t):e;return n.dirty=!0,n}})}}(),function(){var i=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=A(a.option,i),a.get("enabled")){var o=e.getZr().dom;if(a.get("description"))o.setAttribute("aria-label",a.get("description"));else{var s,l=t.getSeriesCount(),c=a.get(["data","maxCount"])||10,u=a.get(["series","maxCount"])||10,h=Math.min(l,u);if(!(l<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();s=d?r(a.get(["general","withTitle"]),{title:d}):a.get(["general","withoutTitle"]);var p=[];s+=r(a.get(l>1?["series","multiple","prefix"]:["series","single","prefix"]),{seriesCount:l}),t.eachSeries(function(e,n){if(n1?["series","multiple",o]:["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(b=e.subType,t.getLocaleModel().get(["series","typeNames"])[b]||"\u81ea\u5b9a\u4e49\u56fe")});var s=e.getData();s.count()>c?i+=r(a.get(["data","partialData"]),{displayCnt:c}):i+=a.get(["data","allData"]);for(var u=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),f=[],m=0;m":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},_F=function(){function t(t){null==(this._condVal=W(t)?new RegExp(t):"[object RegExp]"===g.call(t)?t:null)&&du("")}return t.prototype.evaluate=function(t){var e=typeof t;return W(e)?this._condVal.test(t):!!G(e)&&this._condVal.test(t+"")},t}(),yF=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),bF=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){IF(t,i)&&IF(n,r)||e.push(t,n,i,r,i,r)}function m(t,n,i,r,a,o){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,c=nS:D2&&l.push(e),l}function EF(t,e,n,i,r,a,o,s,l,c){if(IF(t,n)&&IF(e,i)&&IF(r,o)&&IF(a,s))l.push(o,s);else{var u=2/c,h=u*u,d=o-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var m=n-t,g=i-e,_=r-o,y=a-s,b=m*m+g*g,v=_*_+y*y;if(b=0&&v-x*x=0)l.push(o,s);else{var M=[],S=[];Pe(t,n,r,o,.5,M),Pe(e,i,a,s,.5,S),EF(M[0],S[0],M[1],S[1],M[2],S[2],M[3],S[3],l,c),EF(M[4],S[4],M[5],S[5],M[6],S[6],M[7],S[7],l,c)}}}}function RF(t,e,n){var i=Math.abs(t[e]/t[1-e]),r=Math.ceil(Math.sqrt(i*n)),a=Math.floor(n/r);0===a&&(a=1,r=n);for(var o=[],s=0;s0)for(s=0;sMath.abs(l),u=RF([s,l],c?0:1,e),h=(c?o:l)/u.length,d=0;d1?null:new Di(p*l+t,p*c+e)}function FF(t,e,n){var i=new Di;Di.sub(i,n,e),i.normalize();var r=new Di;return Di.sub(r,t,e),r.dot(i)}function VF(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function HF(t){var e=t.points,n=[],i=[];za(e,n,i);var r=new Yi(n[0],n[1],i[0]-n[0],i[1]-n[1]),a=r.width,o=r.height,s=r.x,l=r.y,c=new Di,u=new Di;return a>o?(c.x=u.x=s+a/2,c.y=l,u.y=l+o):(c.y=u.y=l+o/2,c.x=s,u.x=s+a),function(t,e,n){for(var i=t.length,r=[],a=0;a0;l/=2){var c=0,u=0;(t&l)>0&&(c=1),(e&l)>0&&(u=1),s+=l*l*(3*c^u),0===u&&(1===c&&(t=l-1-t,e=l-1-e),o=t,t=e,e=o)}return s}function nV(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,a=Y(t,function(t){var a=t.getBoundingRect(),o=t.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),l=a.y+a.height/2+(o?o[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]});return Y(a,function(a,o){return{cp:a,z:eV(a[0],a[1],e,n,i,r),path:t[o]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function iV(t){return function(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,a=i>r,o=RF([i,r],a?0:1,e),s=a?"width":"height",l=a?"height":"width",c=a?"x":"y",u=a?"y":"x",h=t[s]/o.length,d=0;d=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var c=Math.ceil(a/2);n[r].many=l.slice(c,a),n[s].many=l.slice(0,c),s++}return n}var oV={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,c=i.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},o);rV(t)&&(s=t,l=e),rV(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?aV(l,s):aV(h?e:t,[h?t:e]),p=0,f=0;f1e4))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n0&&i.group.traverse(function(t){t instanceof Po&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)})})}function mV(t){return t.getModel("universalTransition").get("seriesKey")||t.id}function gV(t){return z(t)?t.sort().join(","):t}function _V(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function yV(t,e){for(var n=0;n=0&&r.push({data:e.oldData[n],divide:_V(e.oldData[n]),dim:t.dimension})}),R(Tr(t.to),function(t){var e=yV(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();a.push({data:i,divide:_V(i),dim:t.dimension})}}),r.length>0&&a.length>0&&fV(r,a,i)}(t,i,n,e)});else{var a=function(t,e){var n=ct(),i=ct(),r=ct();return R(t.oldSeries,function(e,n){var a=t.oldData[n],o=mV(e),s=gV(o);i.set(s,a),z(o)&&R(o,function(t){r.set(t,{data:a,key:s})})}),R(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),a=mV(t),o=gV(a),s=i.get(o);if(s)n.set(o,{oldSeries:[{divide:_V(s),data:s}],newSeries:[{divide:_V(e),data:e}]});else if(z(a)){var l=[];R(a,function(t){var e=i.get(t);e&&l.push({divide:_V(e),data:e})}),l.length&&n.set(o,{oldSeries:l,newSeries:[{data:e,divide:_V(e)}]})}else{var c=r.get(a);if(c){var u=n.get(c.key);u||(u={oldSeries:[{data:c.data,divide:_V(c.data)}],newSeries:[]},n.set(c.key,u)),u.newSeries.push({data:e,divide:_V(e)})}}}}),n}(i,n);R(a.keys(),function(t){var n=a.get(t);fV(n.oldSeries,n.newSeries,e)})}R(n.updatedSeries,function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)})}for(var o=t.getSeries(),s=i.oldSeries=[],l=i.oldData=[],c=0;c{class t{constructor(t){this._elementRef=t}ngAfterViewInit(){this._echarts=function(t,e,n){var i=function(t){return Xg[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,Jg)]}(t);if(i)return i;var r=new Ng(t,void 0,void 0);return r.id="ec_"+Kg++,Xg[r.id]=r,Xr(t,Jg,r.id),Pg(r),hg.trigger("afterinit",r),r}(this._elementRef.nativeElement),this._options&&(this._echarts.clear(),this._echarts.setOption(this._options))}set echarts(t){(this._options=t)&&this._echarts&&(this._echarts.clear(),this._echarts.setOption(t))}}return t.\u0275fac=function(e){return new(e||t)(bV.Ob(bV.l))},t.\u0275dir=bV.Jb({type:t,selectors:[["","echarts",""]],inputs:{echarts:"echarts"}}),t})()},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("Cfvw"),a=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(a.b)()).subscribe(e)})}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},Oaa7:function(t,e,n){!function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(t,e,n,i){var r="";if(e)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,t)}t.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Olgc:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("dNgK"),a=n("blSl");let o=(()=>{class t{constructor(t,e){this._snackBar=t,this._mediaService=e,this._horizontalPosition="center",this._verticalPosition="top",this._mediaService.onchange.subscribe(t=>{switch(t){case"mobile":this._horizontalPosition="center";break;default:this._horizontalPosition="center",this._verticalPosition="top"}})}show(t){const e={duration:6e3,horizontalPosition:this._horizontalPosition,verticalPosition:this._verticalPosition};return"string"==typeof t?this._snackBar.open(t,null,e):this._snackBar.openFromComponent(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.a),i.Yb(a.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},OmwH:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function a(t){return t>1&&t<5&&1!=~~(t/10)}function o(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||i?r+(a(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(a(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(a(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(a(t)?"dny":"dn\xed"):r+"dny";case"M":return e||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||i?r+(a(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(a(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PCNd:function(t,e,n){"use strict";n.d(e,"a",function(){return Ot});var i=n("ofXK"),r=n("3Pt+"),a=n("tk/3"),o=n("tyNb"),s=n("sYmb"),l=n("zM63"),c=n("mrSG"),u=n("fXoL"),h=n("LRne"),d=n("vkgz"),p=n("3E0/"),f=n("pLZG"),m=n("eIep");const g=new u.s("ngProgressRouterConfig");function _(t,e){let n=!1;return e.map(e=>n=n||t instanceof e),n}let y=(()=>{let t=class{constructor(t,e,n){this._config={id:"root",delay:0,startEvents:[o.e],completeEvents:[o.c,o.b,o.d]},this._config=n?Object.assign(Object.assign({},this._config),n):this._config;const i=t.ref(this._config.id),r=Object(h.a)({}).pipe(Object(d.a)(()=>i.start())),a=Object(h.a)({}).pipe(Object(p.a)(this._config.delay),Object(d.a)(()=>i.complete())),s=[...this._config.startEvents,...this._config.completeEvents];e.events.pipe(Object(f.a)(t=>_(t,s)),Object(m.a)(t=>_(t,this._config.startEvents)?r:a)).subscribe()}};return t.\u0275fac=function(e){return new(e||t)(u.Yb(l.a),u.Yb(o.f),u.Yb(g,8))},t.\u0275prov=Object(u.Kb)({factory:function(){return new t(Object(u.Yb)(l.a),Object(u.Yb)(o.f),Object(u.Yb)(g,8))},token:t,providedIn:"root"}),t=Object(c.b)([Object(c.c)(2,Object(u.C)()),Object(c.c)(2,Object(u.q)(g))],t),t})();var b;let v=(()=>{let t=b=class{constructor(t){}static withConfig(t){return{ngModule:b,providers:[{provide:g,useValue:t}]}}};return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)(u.Yb(y))}}),t})();var w=n("u47x"),x=n("5+WD"),M=n("rDax"),S=n("+rOU"),C=n("vxfF"),k=n("cH1L"),D=(n("8LU1"),n("FtGj"),n("XNiG"));n("JX91"),n("1G5W");let O=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[k.a]]}),t})();var T=n("f6nW"),L=n("FvrZ"),A=n("/1cH"),I=n("TU8p"),P=n("FKr1");n("0MNC"),n("R0Ic"),n("VRyK"),n("IzEk");let E=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[M.f,P.j,S.g],P.j]}),t})();var R=n("bTqV");n("0EQZ");let Y=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[P.j,P.u],P.j]}),t})();var j=n("Wp6s"),N=n("bSwM"),F=n("A5z7"),V=n("iadO"),H=n("0IaG"),z=n("f0Cb");n("quSY");let B=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)}}),t})();n("/uUt"),n("R1ws"),n("EY2u");let W=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[i.c,P.j,B,S.g]]}),t})(),U=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[P.l,P.j],P.l,P.j]}),t})();var G=n("NFeN"),q=n("qFsG");let X=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[P.l,P.u,P.j,P.s,i.c],P.l,P.j,P.s,z.b]}),t})();var Z=n("STbY"),K=n("M9IT"),J=n("bv9b"),$=n("Xa2L"),Q=n("QibW"),tt=n("d3UM"),et=n("XhcP"),nt=n("1jcm");n("nLfN");let it=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[i.c,P.j],P.j]}),t})();var rt=n("dNgK"),at=n("Dh3D");let ot=(()=>{class t{constructor(){this.changes=new D.a,this.optionalLabel="Optional"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(u.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const st={provide:ot,deps:[[new u.C,new u.L,ot]],useFactory:function(t){return t||new ot}};let lt=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},providers:[st,P.d],imports:[[P.j,i.c,S.g,R.b,O,G.b,P.u],P.j]}),t})();var ct=n("+0xr"),ut=n("wZkO"),ht=n("/t3+"),dt=n("Qu3c"),pt=n("8yBR"),ft=n("wd/R"),mt=n.n(ft);const gt=mt.a||ft,_t=new u.s("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function yt(t,e){const n=Array(t);for(let i=0;i{class t extends P.c{constructor(t,e){super(),this._options=e,this.setLocale(t||gt.locale())}setLocale(t){super.setLocale(t);let e=gt.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:yt(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,n){const i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);return i.isValid(),i}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){return t=this.clone(t),this.isValid(t),t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,gt.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return gt.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return gt.invalid()}_createMoment(t,e,n){const{strict:i,useUtc:r}=this._options||{};return r?gt.utc(t,e,n,i):gt(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(u.Yb(P.f,8),u.Yb(_t,8))},t.\u0275prov=u.Kb({token:t,factory:t.\u0275fac}),t})();var vt=n("n1FK");const wt=mt.a||ft,xt=new u.s("NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function Mt(t,e){const n=Array(t);for(let i=0;i{class t extends vt.b{constructor(t,e){super(),this._options=e,this.setLocale(t||wt.locale())}setLocale(t){super.setLocale(t);let e=wt.localeData(t);this._localeData={firstDayOfWeek:e.firstDayOfWeek(),longMonths:e.months(),shortMonths:e.monthsShort(),dates:Mt(31,t=>this.createDate(2017,0,t+1).format("D")),longDaysOfWeek:e.weekdays(),shortDaysOfWeek:e.weekdaysShort(),narrowDaysOfWeek:e.weekdaysMin()}}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}getDayOfWeek(t){return this.clone(t).day()}getMonthNames(t){return"long"==t?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(t){return"long"==t?this._localeData.longDaysOfWeek:"short"==t?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(t){return this.clone(t).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}clone(t){return t.clone().locale(this.locale)}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);const i=this._createMoment({year:t,month:e,date:n}).locale(this.locale);if(!i.isValid())throw Error(`Invalid date "${n}" for month with index "${e}".`);return i}today(){return this._createMoment().locale(this.locale)}parse(t,e){return t&&"string"==typeof t?this._createMoment(t,e,this.locale):t?this._createMoment(t).locale(this.locale):null}format(t,e){if(t=this.clone(t),!this.isValid(t))throw Error("MomentDateAdapter: Cannot format invalid date.");return t.format(e)}addCalendarYears(t,e){return this.clone(t).add({years:e})}addCalendarMonths(t,e){return this.clone(t).add({months:e})}addCalendarDays(t,e){return this.clone(t).add({days:e})}toIso8601(t){return this.clone(t).format()}deserialize(t){let e;if(t instanceof Date)e=this._createMoment(t).locale(this.locale);else if(this.isDateInstance(t))return this.clone(t);if("string"==typeof t){if(!t)return null;e=this._createMoment(t,wt.ISO_8601).locale(this.locale)}return e&&this.isValid(e)?this._createMoment(e).locale(this.locale):super.deserialize(t)}isDateInstance(t){return wt.isMoment(t)}isValid(t){return this.clone(t).isValid()}invalid(){return wt.invalid()}getHour(t){return t.hours()}getMinute(t){return t.minutes()}getSecond(t){return t.seconds()}setHour(t,e){t.hours(e)}setMinute(t,e){t.minutes(e)}setSecond(t,e){t.seconds(e)}_createMoment(t,e,n){const{strict:i,useUtc:r}=this._options||{};return r?wt.utc(t,e,n,i):wt(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(u.Yb(P.f,8),u.Yb(xt,8))},t.\u0275prov=u.Kb({token:t,factory:t.\u0275fac}),t})();n("2Vo4"),n("jtHE");let Ct=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[J.b,j.d,R.b,G.b,a.c,i.c]]}),t})(),kt=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},providers:[{provide:P.e,useValue:{parse:{dateInput:"YYYY-MM-DD"},display:{dateInput:"YYYY-MM-DD",monthYearLabel:"YYYY-MM",dateA11yLabel:"YYYY-MM-DD",monthYearA11yLabel:"YYYY-MM"}}},{provide:_t,useValue:{useUtc:!0}},{provide:vt.a,useValue:{parse:{dateInput:"YYYY-MM-DD HH:mm"},display:{dateInput:"YYYY-MM-DD HH:mm",monthYearLabel:"YYYY-MM",dateA11yLabel:"YYYY-MM-DD",monthYearA11yLabel:"YYYY-MM"}}},{provide:xt,useValue:{useUtc:!0}},{provide:N.a,useValue:{color:"primary"}},{provide:Q.a,useValue:{color:"primary"}},{provide:K.a,useValue:{pageSize:50,pageSizeOptions:[10,30,50,100]}},{provide:K.c,deps:[s.e],useFactory:t=>{const e=new K.c,n=function(){e.firstPageLabel=t.instant("shared.data.page.first"),e.previousPageLabel=t.instant("shared.data.page.previous"),e.nextPageLabel=t.instant("shared.data.page.next"),e.lastPageLabel=t.instant("shared.data.page.last"),e.itemsPerPageLabel=t.instant("shared.data.page.size"),e.getRangeLabel=(e,n,i)=>{const r={from:0,to:0,total:i};return i>0&&(r.from=n*e+1,r.to=Math.min(i,n*(e+1))),t.instant("shared.data.page.range",r)}};return n(),t.onLangChange.subscribe(()=>{n(),e.changes.next()}),e}},{provide:P.c,useClass:bt,deps:[P.f,_t]},{provide:vt.b,useClass:St,deps:[P.f,xt]}],imports:[w.a,x.c,M.f,S.g,C.d,O,T.r,L.d,A.b,I.b,E,R.b,Y,j.d,N.c,F.e,lt,V.i,H.f,z.b,W,Ct,U,G.b,q.c,X,Z.d,P.m,K.d,J.b,$.a,Q.d,P.u,tt.b,et.d,it,nt.b,rt.b,at.c,ct.m,ut.e,ht.b,dt.d,pt.c,vt.e,vt.f,vt.g]}),t})();n("KpOL"),n("tySk"),n("R4KR"),n("ppsF"),n("c8N8"),n("e8Yk"),n("7OFo"),n("NXfZ"),n("1dzw"),n("qUOr"),n("Vc0j"),n("++hd"),n("bUwk"),n("hZOD"),n("ZCbZ"),n("FFMq"),n("aip8"),n("jhN1");const Dt=[kt,l.c,v,s.c];let Ot=(()=>{class t{}return t.\u0275mod=u.Mb({type:t}),t.\u0275inj=u.Lb({factory:function(e){return new(e||t)},imports:[[i.c,r.h,r.s,...Dt],i.c,r.h,r.s,a.c,o.h,kt,l.c,v,s.c]}),t})()},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("D0XW"),a=n("Y7HM"),o=n("z+Ro");function s(t=0,e,n){let s=-1;return Object(a.a)(e)?s=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new i.a(e=>{const i=Object(a.a)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},QibW:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return b}),n.d(e,"d",function(){return C});var i=n("fXoL"),r=n("FKr1"),a=n("8LU1"),o=n("3Pt+"),s=n("R1ws"),l=n("u47x"),c=n("0EQZ");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let f=0;const m={provide:o.l,useExisting:Object(i.V)(()=>b),multi:!0};class g{constructor(t,e){this.source=t,this.value=e}}const _=new i.s("MatRadioGroup");let y=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+f++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.c)(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=Object(a.c)(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new g(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.h))},t.\u0275dir=i.Jb({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),b=(()=>{class t extends y{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Hb(n,S,!0),2&t){let t;i.tc(t=i.cc())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Bb([m,{provide:_,useExisting:t}]),i.zb]}),t})();const v=i.Wb(b);class w{constructor(t){this._elementRef=t}}const x=Object(r.z)(Object(r.D)(w));let M=(()=>{class t extends x{constructor(t,e,n,r,o,s,l,c){super(e),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=o,this._animationMode=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++f,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,c&&(this.tabIndex=Object(a.f)(c,0)),this._removeUniqueSelectionListener=o.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=Object(a.c)(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(Object(a.c)(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=Object(a.c)(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return(this.id||this._uniqueId)+"-input"}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new g(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(y),i.Ob(i.l),i.Ob(i.h),i.Ob(l.h),i.Ob(c.d),i.Ob(String),i.Ob(void 0),i.Ob(String))},t.\u0275dir=i.Jb({type:t,viewQuery:function(t,e){if(1&t&&i.Oc(u,!0),2&t){let t;i.tc(t=i.cc())&&(e._inputElement=t.first)}},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[i.zb]}),t})(),S=(()=>{class t extends M{constructor(t,e,n,i,r,a,o,s){super(t,e,n,i,r,a,o,s)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(_,8),i.Ob(i.l),i.Ob(i.h),i.Ob(l.h),i.Ob(c.d),i.Ob(s.a,8),i.Ob(p,8),i.Zb("tabindex"))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Db("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Gb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:d,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(t,e){if(1&t&&(i.kc(),i.Ub(0,"label",0,1),i.Ub(2,"span",2),i.Pb(3,"span",3),i.Pb(4,"span",4),i.Ub(5,"input",5,6),i.bc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Tb(),i.Ub(7,"span",7),i.Pb(8,"span",8),i.Tb(),i.Tb(),i.Ub(9,"span",9),i.Ub(10,"span",10),i.Hc(11,"\xa0"),i.Tb(),i.jc(12),i.Tb(),i.Tb()),2&t){const t=i.uc(1);i.Db("for",e.inputId),i.Cb(5),i.lc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Db("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Cb(2),i.lc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.oc(18,h)),i.Cb(2),i.Gb("mat-radio-label-before","before"==e.labelPosition)}},directives:[r.t],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),C=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[r.u,r.j],r.j]}),t})()},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qu3c:function(t,e,n){"use strict";n.d(e,"a",function(){return M}),n.d(e,"b",function(){return w}),n.d(e,"c",function(){return S}),n.d(e,"d",function(){return k}),n.d(e,"e",function(){return C}),n.d(e,"f",function(){return b});var i=n("rDax"),r=n("u47x"),a=n("ofXK"),o=n("fXoL"),s=n("FKr1"),l=n("vxfF"),c=n("8LU1"),u=n("FtGj"),h=n("0MNC"),d=n("nLfN"),p=n("+rOU"),f=n("XNiG"),m=n("1G5W"),g=n("IzEk"),_=n("R0Ic"),y=n("cH1L");const b={tooltipState:Object(_.m)("state",[Object(_.j)("initial, void, hidden",Object(_.k)({opacity:0,transform:"scale(0)"})),Object(_.j)("visible",Object(_.k)({transform:"scale(1)"})),Object(_.l)("* => visible",Object(_.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(_.g)([Object(_.k)({opacity:0,transform:"scale(0)",offset:0}),Object(_.k)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(_.k)({opacity:1,transform:"scale(1)",offset:1})]))),Object(_.l)("* => hidden",Object(_.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(_.k)({opacity:0})))])},v=Object(d.f)({passive:!0}),w=new o.s("mat-tooltip-scroll-strategy"),x={provide:w,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},M=new o.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let S=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,h){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=a,this._ariaDescriber=o,this._focusMonitor=s,this._dir=c,this._defaultOptions=h,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new f.a,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===u.g&&!Object(u.s)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),r.runOutsideAngular(()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(m.a)(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([e,n])=>{t.removeEventListener(e,n,v)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new p.d(C,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(m.a)(this._destroyed)).subscribe(t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(m.a)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e||"below"==e?n={originX:"center",originY:"above"==e?"top":"bottom"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={originX:"start",originY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={originX:"end",originY:"center"});const{x:i,y:r}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:i,originY:r}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;"above"==e?n={overlayX:"center",overlayY:"bottom"}:"below"==e?n={overlayX:"center",overlayY:"top"}:"before"==e||"left"==e&&t||"right"==e&&!t?n={overlayX:"end",overlayY:"center"}:("after"==e||"right"==e&&t||"left"==e&&!t)&&(n={overlayX:"start",overlayY:"center"});const{x:i,y:r}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:i,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(g.a)(1),Object(m.a)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,v)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(i.c),o.Ob(o.l),o.Ob(l.c),o.Ob(o.R),o.Ob(o.B),o.Ob(d.a),o.Ob(r.c),o.Ob(r.h),o.Ob(w),o.Ob(y.b,8),o.Ob(M,8))},t.\u0275dir=o.Jb({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t})(),C=(()=>{class t{constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new f.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.h),o.Ob(h.a))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("click",function(){return e._handleBodyInteraction()},!1,o.vc),2&t&&o.Cc("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(o.Ub(0,"div",0),o.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),o.gc(1,"async"),o.Hc(2),o.Tb()),2&t){let t=null;o.Gb("mat-tooltip-handset",null==(t=o.hc(1,5,e._isHandset))?null:t.matches),o.lc("ngClass",e.tooltipClass)("@state",e._visibility),o.Cb(2),o.Ic(e.message)}},directives:[a.l],pipes:[a.b],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[b.tooltipState]},changeDetection:0}),t})(),k=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[x],imports:[[r.a,a.c,i.f,s.j],s.j,l.b]}),t})()},R0Ic:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return g}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return h}),n.d(e,"h",function(){return f}),n.d(e,"i",function(){return l}),n.d(e,"j",function(){return u}),n.d(e,"k",function(){return c}),n.d(e,"l",function(){return d}),n.d(e,"m",function(){return o}),n.d(e,"n",function(){return _}),n.d(e,"o",function(){return y});class i{}class r{}const a="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function s(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function f(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function m(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){m(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?m(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const y="!"},R1ws:function(t,e,n){"use strict";n.d(e,"a",function(){return ge}),n.d(e,"b",function(){return ye});var i=n("fXoL"),r=n("jhN1"),a=n("R0Ic");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function s(t){switch(t.length){case 0:return new a.d;case 1:return t[0];default:return new a.n(t)}}function l(t,e,n,i,r={},o={}){const s=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,s),l){case a.o:l=r[n];break;case a.a:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,s)}h[i]=l}),i||l.push(h),u=h,c=n}),s.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${s.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&u(n,"start",t)));break;case"done":t.onDone(()=>i(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&u(n,"destroy",t)))}}function u(t,e,n){const i=n.totalTime,r=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function h(t,e,n,i,r="",a=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,m=(t,e)=>!1,g=(t,e,n)=>[];const _=o();(_||"undefined"!=typeof Element)&&(f=(t,e)=>t.contains(e),m=(()=>{if(_||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):m}})(),g=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let C=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return M(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],s){return new a.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{}return t.NOOP=new C,t})();function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:O(parseFloat(e[1]),e[2])}function O(t,e){switch(e){case"s":return 1e3*t;default:return t}}function T(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,a="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=O(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=O(parseFloat(o),n[4]));const s=n[5];s&&(a=s)}else i=t;if(!n){let n=!1,a=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(a,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:a}}(t,e,n)}function L(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function A(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else L(t,n);return n}function I(t,e,n){return n?e+":"+n+";":""}function P(t){let e="";for(let n=0;n{const r=z(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),o()&&P(t))}function R(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=z(e);t.style[n]=""}),o()&&P(t))}function Y(t){return Array.isArray(t)?1==t.length?t[0]:Object(a.i)(t):t}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function N(t){let e=[];if("string"==typeof t){let n;for(;n=j.exec(t);)e.push(n[1]);j.lastIndex=0}return e}function F(t,e,n){const i=t.toString(),r=i.replace(j,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function V(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function z(t){return t.replace(H,(...t)=>t[1].toUpperCase())}function B(t,e){return 0===t||0===e}function W(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let a=e[0],o=[];if(i.forEach(t=>{a.hasOwnProperty(t)||o.push(t),a[t]=n[t]}),o.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],a=i[2],o=i[3];e.push(K(r,o)),"<"!=a[0]||"*"==r&&"*"==o||e.push(K(o,r))}(t,n,e)):n.push(t),n}const X=new Set(["true","1"]),Z=new Set(["false","0"]);function K(t,e){const n=X.has(t)||Z.has(t),i=X.has(e)||Z.has(e);return(r,a)=>{let o="*"==t||t==r,s="*"==e||e==a;return!o&&n&&"boolean"==typeof r&&(o=r?X.has(t):Z.has(t)),!s&&i&&"boolean"==typeof a&&(s=a?X.has(e):Z.has(e)),o&&s}}const J=new RegExp("s*:selfs*,?","g");function $(t,e,n){return new Q(t).build(e,n)}class Q{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),U(this,Y(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,a.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:a,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,a=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{N(e[t]).forEach(t=>{a.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=V(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=U(this,Y(t.animation),e);return{type:1,matchers:q(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>U(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=U(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return it(T(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=it(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||T(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(a.k)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(a.k)(t)}e.currentTime+=n.duration+n.delay;const s=this.visitStyle(r,e);s.isEmptyStep=o,i=s}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==a.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const a=e.collectedStyles[e.currentQuerySelector],o=a[n];let s=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),s=!1),r=o.startTime),s&&(a[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=N(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let a=!1,o=!1,s=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,a=a||c0&&i{const a=u>0?i==h?1:u*i:r[i],o=a*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=a,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:U(this,Y(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,a]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(J,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const o=U(this,Y(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:T(t.timings,e.errors,!0);return{type:12,animation:U(this,Y(t.animation),e),timings:n,options:null}}}class tt{constructor(t){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 et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=L(t)).params&&(t.params=(e=t.params)?L(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,i,r,a,o=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}class at{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function lt(t,e,n,i,r,a={},o={},s,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,r,a,o,s,l,c)}class ct{buildKeyframes(t,e,n,i,r,a,o,s,l,c=[]){l=l||new at;const u=new ht(t,e,l,i,r,c,[]);u.options=s,u.currentTimeline.setStyles([a],null,u.errors,s),U(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,s)}return h.length?h.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?D(n.duration):null,a=null!=n.delay?D(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),U(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ut);const t=D(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>U(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(a=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),U(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return T(e.params?F(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach(t=>{a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?D(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);let a=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let s=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(s=o.currentTimeline),U(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1);let s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}const l=e.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;U(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ut={};class ht{constructor(t,e,n,i,r,a,o,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new dt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=F(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new ht(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,a){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||a.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class dt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new dt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){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))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||a.a,this._currentKeyframe[t]=a.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=a.a})):A(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=F(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:a.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const s=A(r,!0);Object.keys(s).forEach(n=>{const i=s[n];i==a.o?t.add(n):i==a.a&&e.add(n)}),n||(s.offset=o/this.duration),i.push(s)});const r=t.size?V(t.values()):[],o=e.size?V(e.values()):[];if(n){const t=i[0],e=L(t);t.offset=0,e.offset=1,i=[t,e]}return rt(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class pt extends dt{constructor(t,e,n,i,r,a,o=!1){super(t,e,a.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],a=n+e,o=e/a,s=A(t[0],!1);s.offset=0,r.push(s);const l=A(t[0],!1);l.offset=ft(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=A(t[i],!1);o.offset=ft((e+o.offset*n)/a),r.push(o)}n=a,e=0,i="",t=r}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function ft(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class mt{}class gt extends mt{normalizePropertyName(t,e){return z(t)}normalizeStyleValue(t,e,n,i){let r="";const a=n.toString().trim();if(_t[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return a+r}}const _t=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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 yt(t,e,n,i,r,a,o,s,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const bt={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}build(t,e,n,i,r,a,o,s,l,c){const u=[],h=this.ast.options&&this.ast.options.params||bt,p=this.buildStyles(n,o&&o.params||bt,u),f=s&&s.params||bt,m=this.buildStyles(i,f,u),g=new Set,_=new Map,y=new Map,b="void"===i,v={params:Object.assign(Object.assign({},h),f)},w=c?[]:lt(t,e,this.ast.animation,r,a,p,m,v,l,u);let x=0;if(w.forEach(t=>{x=Math.max(t.duration+t.delay,x)}),u.length)return yt(e,this._triggerName,n,i,b,p,m,[],[],_,y,x,u);w.forEach(t=>{const n=t.element,i=d(_,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=d(y,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&g.add(n)});const M=V(g.values());return yt(e,this._triggerName,n,i,b,p,m,w,M,_,y,x)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=L(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let a=r[t];a.length>1&&(a=F(a,i,e)),n[t]=a})}}),n}}class xt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Mt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const St=new at;class Ct{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=$(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let o;const l=new Map;if(r?(o=lt(this._driver,e,r,"ng-enter","ng-leave",{},{},n,St,i),o.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,a.a)})});const c=s(o.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const r=h(e,"","","");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const kt=[],Dt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ot={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Tt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=L(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Lt=new Tt("void");class At{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Nt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const a=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};a.push(o);const s=d(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(Nt(t,"ng-trigger"),Nt(t,"ng-trigger-"+e),s[e]=Lt),()=>{this._engine.afterFlush(()=>{const t=a.indexOf(o);t>=0&&a.splice(t,1),this._triggers[e]||delete s[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),a=new Pt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Nt(t,"ng-trigger"),Nt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let s=o[e];const l=new Tt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o[e]=l,s||(s=Lt),"void"!==l.value&&s.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{R(t,n),E(t,i)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(s.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:s,toState:l,player:a,isFallbackTransition:h}),h||(Nt(t,"ng-animate-queued"),a.onStart(()=>{Ft(t,"ng-animate-queued")})),a.onDone(()=>{let e=this.players.indexOf(a);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(a);t>=0&&n.splice(t,1)}}),this.players.push(a),c.push(a),a}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const a=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,a=this._engine.statesByElement.get(t)[i]||Lt,o=new Tt("void"),s=new Pt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:a,toState:o,player:s,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Dt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Nt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,a=this._elementListeners.get(r);a&&a.forEach(e=>{if(e.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class It{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new At(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Nt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ft(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(Et(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Et(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return s(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Dt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new at,i=[],r=new Map,o=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+_++;g.set(e,n),t.forEach(t=>Nt(t,n))});const y=[],b=new Set,v=new Set;for(let a=0;ab.add(t)):v.add(t))}const w=new Map,x=jt(f,Array.from(b));x.forEach((t,e)=>{const n="ng-leave"+_++;w.set(e,n),t.forEach(t=>Nt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=g.get(e);t.forEach(t=>Ft(t,n))}),x.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Ft(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const M=[],S=[];for(let a=this._namespaceList.length-1;a>=0;a--)this._namespaceList[a].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(M.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const a=!p||!this.driver.containsElement(p,r),s=w.get(r),h=g.get(r),f=this._buildInstruction(t,n,h,s,a);if(f.errors&&f.errors.length)S.push(f);else{if(a)return e.onStart(()=>R(r,f.fromStyles)),e.onDestroy(()=>E(r,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>R(r,f.fromStyles)),e.onDestroy(()=>E(r,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,f.timelines),o.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>d(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(S.length){const t=[];S.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),M.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,k=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(k.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(C,e,[]).push(t),t.destroy()})});const D=y.filter(t=>zt(t,c,u)),O=new Map;Yt(O,this.driver,v,u,a.a).forEach(t=>{zt(t,c,u)&&D.push(t)});const T=new Map;m.forEach((t,e)=>{Yt(T,this.driver,new Set(t),c,a.o)}),D.forEach(t=>{const e=O.get(t),n=T.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const L=[],A=[],I={};o.forEach(t=>{const{element:e,player:a,instruction:o}=t;if(n.has(e)){if(h.has(e))return a.onDestroy(()=>E(e,o.toStyles)),a.disabled=!0,a.overrideTotalTime(o.totalTime),void i.push(a);let t=I;if(k.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=k.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>k.set(e,t))}const n=this._buildAnimation(a.namespaceId,o,C,r,T,O);if(a.setRealPlayer(n),t===I)L.push(a);else{const e=this.playersByElement.get(t);e&&e.length&&(a.parentPlayer=s(e)),i.push(a)}}else R(e,o.fromStyles),a.onDestroy(()=>E(e,o.toStyles)),A.push(a),h.has(e)&&i.push(a)}),A.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let a=0;a!t.destroyed);i.length?Vt(this,t,i):this.processLeaveNode(t)}return y.length=0,L.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),L}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let a=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(a=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||"void"==r;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&a.push(e)})}}return(n||i)&&(a=a.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),a}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,s=t!==i,l=d(n,t,[]);this._getPreviousPlayers(t,s,r,a,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}R(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,o){const c=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,m=e.timelines.map(e=>{const s=e.element;p.add(s);const d=s.__ng_removed;if(d&&d.removedBeforeQueried)return new a.d(e.duration,e.delay);const m=s!==u,g=function(t){const e=[];return Ht(t,e),e}((n.get(s)||kt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===s),_=r.get(s),y=o.get(s),b=l(0,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(s),m){const e=new Pt(t,c,s);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Nt(t,"ng-animating"));const g=s(m);return g.onDestroy(()=>{p.forEach(t=>Ft(t,"ng-animating")),E(u,e.toStyles)}),f.forEach(t=>{d(i,t,[]).push(g)}),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new a.d(t.duration,t.delay)}}class Pt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new a.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Et(t){return t&&1===t.nodeType}function Rt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Yt(t,e,n,i,r){const a=[];n.forEach(t=>a.push(Rt(t)));const o=[];i.forEach((n,i)=>{const a={};n.forEach(t=>{const n=a[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Ot,o.push(i))}),t.set(i,a)});let s=0;return n.forEach(t=>Rt(t,a[s++])),o}function jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function a(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:a(o),r.set(t,e),e}return e.forEach(t=>{const e=a(t);1!==e&&n.get(e).push(t)}),n}function Nt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ft(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Vt(t,e,n){s(n).onDone(()=>t.processLeaveNode(e))}function Ht(t,e){for(let n=0;nr.add(t)):e.set(t,i),n.delete(t),!0}class Bt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new It(t,e,n),this._timelineEngine=new Ct(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const a=t+"-"+i;let o=this._triggerCache[a];if(!o){const t=[],e=$(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new xt(t,e)}(i,e),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Wt(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Gt(e[0]),e.length>1&&(i=Gt(e[e.length-1]))):e&&(n=Gt(e)),n||i?new Ut(t,n,i):null}let Ut=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&E(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(E(this._element,this._initialStyles),this._endStyles&&(E(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),E(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Gt(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=te(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),$t(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=te(t,"").split(","),i=Jt(n,e);i>=0&&(n.splice(i,1),Qt(t,"",n.join(",")))}(this._element,this._name))}}function Zt(t,e,n){Qt(t,"PlayState",n,Kt(t,e))}function Kt(t,e){const n=te(t,"");return n.indexOf(",")>0?Jt(n.split(","),e):Jt([n],e)}function Jt(t,e){for(let n=0;n=0)return n;return-1}function $t(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Qt(t,e,n,i){const r="animation"+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function te(t,e){return t.style["animation"+e]||""}class ee{constructor(t,e,n,i,r,a,o,s){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Xt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:G(this.element,n))})}this.currentSnapshot=t}}class ne extends a.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ie{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return M(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>S(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=r+"}\n"}),i+="}\n";const a=document.createElement("style");return a.textContent=i,a}animate(t,e,n,i,r,a=[],o){const s=a.filter(t=>t instanceof ee),l={};B(n,i)&&s.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=W(t,e,l));if(0==n)return new ne(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=Wt(t,e),p=new ee(t,e,u,n,i,r,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class re{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:G(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class ae{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(oe().toString()),this._cssKeyframesDriver=new ie}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return x(t,e)}query(t,e,n){return M(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,a=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const l={},c=a.filter(t=>t instanceof re);B(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Wt(t,e=W(t,e=e.map(t=>A(t,!1)),l));return new re(t,e,s,u)}}function oe(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var se=n("ofXK");let le=(()=>{class t extends a.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.S.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(a.i)(t):t;return he(this._renderer,null,e,"register",[n]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.H),i.Yb(se.d))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();class ce extends a.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ue(this._id,t,e||{},this._renderer)}}class ue{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return he(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function he(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}let de=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new pe("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const a=e=>{Array.isArray(e)?e.forEach(a):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(a),new fe(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.H),i.Yb(Bt),i.Yb(i.B))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();class pe{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class fe extends pe{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),a="";return"@"!=r.charAt(0)&&([r,a]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,a,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let me=(()=>{class t extends Bt{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(se.d),i.Yb(k),i.Yb(mt))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const ge=new i.s("AnimationModuleType"),_e=[{provide:k,useFactory:function(){return"function"==typeof oe()?new ae:new ie}},{provide:ge,useValue:"BrowserAnimations"},{provide:a.b,useClass:le},{provide:mt,useFactory:function(){return new gt}},{provide:Bt,useClass:me},{provide:i.H,useFactory:function(t,e,n){return new de(t,e,n)},deps:[r.e,Bt,i.B]}];let ye=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:_e,imports:[r.a]}),t})()},R4KR:function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n("0IaG"),r=n("fXoL"),a=n("kmnG"),o=n("ofXK"),s=n("bTqV"),l=n("d3UM"),c=n("3Pt+"),u=n("FKr1"),h=n("qFsG"),d=n("sYmb");function p(t,e){if(1&t&&(r.Ub(0,"mat-option",12),r.Hc(1),r.Tb()),2&t){const t=e.$implicit;r.lc("value",t.key),r.Cb(1),r.Ic(t.value)}}function f(t,e){if(1&t){const t=r.Vb();r.Ub(0,"mat-select",10),r.bc("ngModelChange",function(e){return r.wc(t),r.fc().value=e}),r.Fc(1,p,2,2,"mat-option",11),r.gc(2,"keyvalue"),r.Tb()}if(2&t){const t=r.fc();r.lc("ngModel",t.value)("required",t.required),r.Cb(1),r.lc("ngForOf",r.hc(2,3,t.range))}}function m(t,e){if(1&t){const t=r.Vb();r.Ub(0,"input",13),r.bc("ngModelChange",function(e){return r.wc(t),r.fc().value=e}),r.Tb()}if(2&t){const t=r.fc();r.lc("min",t.range&&t.range[0])("max",t.range&&t.range[1])("ngModel",t.value)("required",t.required)}}function g(t,e){if(1&t){const t=r.Vb();r.Ub(0,"input",14),r.bc("ngModelChange",function(e){return r.wc(t),r.fc().value=e}),r.Tb()}if(2&t){const t=r.fc();r.lc("type",t.type)("ngModel",t.value)("minlength",t.range&&t.range[0])("maxlength",t.range&&t.range[1])("required",t.required)}}const _=function(t){return{submit:!0,data:t}};let y=(()=>{class t{constructor(t){this._data=t}get text(){return this._data.content}get type(){return this._data.type||"text"}get required(){return this._data.required}get range(){return this._data.range}get value(){return this._data.value}set value(t){this._data.value=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-prompt"]],decls:18,vars:21,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"ngSwitch"],[3,"innerHTML"],[3,"ngModel","required","ngModelChange",4,"ngSwitchCase"],["matInput","","type","number",3,"min","max","ngModel","required","ngModelChange",4,"ngSwitchCase"],["matInput","",3,"type","ngModel","minlength","maxlength","required","ngModelChange",4,"ngSwitchDefault"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary",3,"disabled","mat-dialog-close"],["mat-button","","mat-dialog-close",""],[3,"ngModel","required","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","number",3,"min","max","ngModel","required","ngModelChange"],["matInput","",3,"type","ngModel","minlength","maxlength","required","ngModelChange"]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Ub(4,"mat-form-field",2),r.Pb(5,"mat-label",3),r.Fc(6,f,3,5,"mat-select",4),r.Fc(7,m,1,4,"input",5),r.Fc(8,g,1,5,"input",6),r.Tb(),r.Tb(),r.Ub(9,"div",7),r.Ub(10,"button",8),r.Hc(11),r.gc(12,"uppercase"),r.gc(13,"translate"),r.Tb(),r.Ub(14,"button",9),r.Hc(15),r.gc(16,"uppercase"),r.gc(17,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,9,"shared.dialog.edit")),r.Cb(3),r.lc("ngSwitch",e.type),r.Cb(1),r.lc("innerHTML",e.text,r.xc),r.Cb(1),r.lc("ngSwitchCase","select"),r.Cb(1),r.lc("ngSwitchCase","number"),r.Cb(3),r.lc("disabled",e.required&&!e.value)("mat-dialog-close",r.pc(19,_,e.value)),r.Cb(1),r.Ic(r.hc(12,11,r.hc(13,13,"shared.dialog.ok"))),r.Cb(4),r.Ic(r.hc(16,15,r.hc(17,17,"shared.dialog.cancel"))))},directives:[i.h,i.e,a.b,o.p,a.e,o.q,o.r,i.c,s.a,i.d,l.a,c.n,c.q,c.t,o.m,u.o,h.b,c.r,c.c,c.j,c.i],pipes:[d.d,o.v,o.g],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t})()},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="RnhZ"},"S+vS":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("KpOL"),r=n("tySk"),a=n("R4KR"),o=n("fXoL"),s=n("0IaG");let l=(()=>{class t{constructor(t){this._dialog=t}alert(t){return new Promise(e=>{const n=this._dialog.open(i.a,{width:"600px",data:t}).afterClosed().subscribe(()=>{n.unsubscribe(),e(!0)})})}confirm(t){return new Promise((e,n)=>{const i=this._dialog.open(r.a,{width:"600px",data:t}).afterClosed().subscribe(t=>{i.unsubscribe(),t?e(!0):n()})}).catch(()=>{})}prompt(t,e,n){return new Promise((i,r)=>{const o=this._dialog.open(a.a,{width:"600px",data:{content:t,value:e,type:null==n?void 0:n.type,range:null==n?void 0:n.range,required:null==n?void 0:n.required}}).afterClosed().subscribe(t=>{o.unsubscribe(),t&&t.submit?i(t.data||""):r()})}).catch(()=>{})}open(t,e){return e?(void 0===e.width&&(e.width="600px"),!0!==e.restoreFocus&&(e.restoreFocus=!1)):e={width:"600px",restoreFocus:!1},new Promise(n=>{const i=this._dialog.open(t,e).afterClosed().subscribe(t=>{i.unsubscribe(),n(t)})})}show(t,e){return e?(void 0===e.width&&(e.width="600px"),!0!==e.restoreFocus&&(e.restoreFocus=!1)):e={width:"600px",restoreFocus:!1},this._dialog.open(t,e)}close(){this._dialog.closeAll()}}return t.\u0275fac=function(e){return new(e||t)(o.Yb(s.b))},t.\u0275prov=o.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},STbY:function(t,e,n){"use strict";n.d(e,"a",function(){return F}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return R}),n.d(e,"d",function(){return U}),n.d(e,"e",function(){return B});var i=n("u47x"),r=n("8LU1"),a=n("FtGj"),o=n("fXoL"),s=n("XNiG"),l=n("quSY"),c=n("VRyK"),u=n("LRne"),h=n("7Hc7"),d=n("JX91"),p=n("eIep"),f=n("IzEk"),m=n("pLZG"),g=n("1G5W"),_=n("3E0/"),y=n("R0Ic"),b=n("+rOU"),v=n("ofXK"),w=n("FKr1"),x=n("rDax"),M=n("nLfN"),S=n("vxfF"),C=n("cH1L");const k=["mat-menu-item",""],D=["*"];function O(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",0),o.bc("keydown",function(e){return o.wc(t),o.fc()._handleKeydown(e)})("click",function(){return o.wc(t),o.fc().closed.emit("click")})("@transformMenu.start",function(e){return o.wc(t),o.fc()._onAnimationStart(e)})("@transformMenu.done",function(e){return o.wc(t),o.fc()._onAnimationDone(e)}),o.Ub(1,"div",1),o.jc(2),o.Tb(),o.Tb()}if(2&t){const t=o.fc();o.lc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),o.Db("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const T={transformMenu:Object(y.m)("transformMenu",[Object(y.j)("void",Object(y.k)({opacity:0,transform:"scale(0.8)"})),Object(y.l)("void => enter",Object(y.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(y.k)({opacity:1,transform:"scale(1)"}))),Object(y.l)("* => void",Object(y.e)("100ms 25ms linear",Object(y.k)({opacity:0})))]),fadeInItems:Object(y.m)("fadeInItems",[Object(y.j)("showing",Object(y.k)({opacity:1})),Object(y.l)("void => *",[Object(y.k)({opacity:0}),Object(y.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},L=new o.s("MatMenuContent");let A=(()=>{class t{constructor(t,e,n,i,r,a,o){this._template=t,this._componentFactoryResolver=e,this._appRef=n,this._injector=i,this._viewContainerRef=r,this._document=a,this._changeDetectorRef=o,this._attached=new s.a}attach(t={}){this._portal||(this._portal=new b.h(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new b.e(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.N),o.Ob(o.j),o.Ob(o.g),o.Ob(o.t),o.Ob(o.R),o.Ob(v.d),o.Ob(o.h))},t.\u0275dir=o.Jb({type:t,selectors:[["ng-template","matMenuContent",""]],features:[o.Bb([{provide:L,useExisting:t}])]}),t})();const I=new o.s("MAT_MENU_PANEL");class P{}const E=Object(w.z)(Object(w.A)(P));let R=(()=>{class t extends E{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new s.a,this._focused=new s.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new o.F,this._tabSubscription=l.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new s.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new o.o,this.close=this.closed,this.panelId="mat-menu-panel-"+j++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=Object(r.c)(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(r.c)(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new i.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Object(d.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Object(d.a)(this._directDescendantItems),Object(p.a)(t=>Object(c.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case a.g:Object(a.s)(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case a.i:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case a.m:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==a.p&&e!==a.d||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+Math.min(4+t,24),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Object(d.a)(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.B),o.Ob(Y))},t.\u0275dir=o.Jb({type:t,contentQueries:function(t,e,n){if(1&t&&(o.Hb(n,L,!0),o.Hb(n,R,!0),o.Hb(n,R,!1)),2&t){let t;o.tc(t=o.cc())&&(e.lazyContent=t.first),o.tc(t=o.cc())&&(e._allItems=t),o.tc(t=o.cc())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&o.Oc(o.N,!0),2&t){let t;o.tc(t=o.cc())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),F=(()=>{class t extends N{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(o.B),o.Ob(Y))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&o.Db("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Bb([{provide:I,useExisting:t}]),o.zb],ngContentSelectors:D,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(o.kc(),o.Fc(0,O,3,6,"ng-template"))},directives:[v.l],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[T.transformMenu,T.fadeInItems]},changeDetection:0}),t})();const V=new o.s("mat-menu-scroll-strategy"),H={provide:V,deps:[x.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},z=Object(M.f)({passive:!0});let B=(()=>{class t{constructor(t,e,n,i,r,a,s,c){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=a,this._dir=s,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=l.a.EMPTY,this._hoverSubscription=l.a.EMPTY,this._menuCloseSubscription=l.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new o.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=i,this._parentMaterialMenu=r instanceof N?r:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,z),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof N&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof N?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(m.a)(t=>"void"===t.toState),Object(f.a)(1),Object(g.a)(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new x.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,o]=[i,r],[s,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=s="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(a="top"===i?"bottom":"top",o="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:a,overlayX:s,overlayY:i,offsetY:c},{originX:n,originY:a,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:o,overlayX:s,overlayY:r,offsetY:-c},{originX:n,originY:o,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(u.a)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(m.a)(t=>t!==this._menuItemInstance),Object(m.a)(()=>this._menuOpen)):Object(u.a)();return Object(c.a)(t,n,i,e)}_handleMousedown(t){Object(i.l)(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===a.m&&"ltr"===this.dir||e===a.i&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(m.a)(t=>t===this._menuItemInstance&&!t.disabled),Object(_.a)(0,h.a)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof N&&this.menu._isAnimating?this.menu._animationDone.pipe(Object(f.a)(1),Object(_.a)(0,h.a),Object(g.a)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new b.h(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(x.c),o.Ob(o.l),o.Ob(o.R),o.Ob(V),o.Ob(I,8),o.Ob(R,10),o.Ob(C.b,8),o.Ob(i.h))},t.\u0275dir=o.Jb({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&o.bc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&o.Db("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),W=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[H],imports:[w.j]}),t})(),U=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},providers:[H],imports:[[v.c,w.j,w.u,x.f,W],S.b,w.j,W]}),t})()},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=t=>{if(t&&"function"==typeof t[o.a])return u=t,t=>{const e=u[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&"function"==typeof t[a.a])return e=t,t=>{const n=e[a.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},SiRs:function(t,e,n){"use strict";var i=n("IzLi"),r=n("G8aS"),a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.a=function(t){if("number"==typeof t)return t;if(Object(r.a)(t))return NaN;if(Object(i.a)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(i.a)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=s.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):o.test(t)?NaN:+t}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SvPF:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("fXoL");const r=[{theme:"default",base:"light",desc:"theme.default",c1st:"#263238",c2nd:"#fafafa"},{theme:"colorful",base:"light",desc:"theme.colorful",c1st:"#1e88e5",c2nd:"#fafafa"},{theme:"light",base:"light",desc:"theme.light",c1st:"#e8eaf6",c2nd:"#ffffff"},{theme:"dark",base:"dark",desc:"theme.dark",c1st:"#212121",c2nd:"#263238"}];let a=(()=>{class t{constructor(){this.onchange=new i.o,this.onchange.emit(this._current=localStorage.getItem("theme")||"default")}get items(){return r}get current(){return this._current}set current(t){localStorage.setItem("theme",t),this.onchange.emit(this._current=t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},TFwu:function(t,e,n){"use strict";var i=n("25cm"),r=n("jN84"),a=n("mkut");e.a=function(t){return Object(i.a)(t,a.a,r.a)}},TU8p:function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return d});var i=n("FKr1"),r=n("u47x"),a=n("8LU1"),o=n("R1ws"),s=n("fXoL");let l=0;class c{}const u=Object(i.A)(c);let h=(()=>{class t extends u{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._ariaDescriber=n,this._renderer=i,this._animationMode=r,this._hasContent=!1,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=l++}get color(){return this._color}set color(t){this._setColor(t),this._color=t}get overlap(){return this._overlap}set overlap(t){this._overlap=Object(a.c)(t)}get description(){return this._description}set description(t){if(t!==this._description){const e=this._badgeElement;this._updateHostAriaDescription(t,this._description),this._description=t,e&&(t?e.setAttribute("aria-label",t):e.removeAttribute("aria-label"))}}get hidden(){return this._hidden}set hidden(t){this._hidden=Object(a.c)(t)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}ngOnChanges(t){const e=t.content;if(e){const t=e.currentValue;this._hasContent=null!=t&&(""+t).trim().length>0,this._updateTextContent()}}ngOnDestroy(){const t=this._badgeElement;t&&(this.description&&this._ariaDescriber.removeDescription(t,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(t))}getBadgeElement(){return this._badgeElement}_updateTextContent(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}_createBadgeElement(){const t=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),t.setAttribute("id","mat-badge-content-"+this._id),t.classList.add("mat-badge-content"),t.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&t.classList.add("_mat-animation-noopable"),this.description&&t.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(t),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{t.classList.add("mat-badge-active")})}):t.classList.add("mat-badge-active"),t}_updateHostAriaDescription(t,e){const n=this._updateTextContent();e&&this._ariaDescriber.removeDescription(n,e),t&&this._ariaDescriber.describe(n,t)}_setColor(t){if(t!==this._color){const e=this._elementRef.nativeElement.classList;this._color&&e.remove("mat-badge-"+this._color),t&&e.add("mat-badge-"+t)}}_clearExistingBadges(t){const e=this._elementRef.nativeElement;let n=e.children.length;for(;n--;){const i=e.children[n];i.classList.contains(t)&&e.removeChild(i)}}_stringifyContent(){const t=this.content;return null==t?"":""+t}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.B),s.Ob(s.l),s.Ob(r.c),s.Ob(s.G),s.Ob(o.a,8))},t.\u0275dir=s.Jb({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(t,e){2&t&&s.Gb("mat-badge-overlap",e.overlap)("mat-badge-above",e.isAbove())("mat-badge-below",!e.isAbove())("mat-badge-before",!e.isAfter())("mat-badge-after",e.isAfter())("mat-badge-small","small"===e.size)("mat-badge-medium","medium"===e.size)("mat-badge-large","large"===e.size)("mat-badge-hidden",e.hidden||!e._hasContent)("mat-badge-disabled",e.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[s.zb,s.Ab]}),t})(),d=(()=>{class t{}return t.\u0275mod=s.Mb({type:t}),t.\u0275inj=s.Lb({factory:function(e){return new(e||t)},imports:[[r.a,i.j],i.j]}),t})()},Tchk:function(t,e,n){"use strict";var i=n("G8aS");e.a=function(t){if("string"==typeof t||Object(i.a)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},U6JX:function(t,e,n){"use strict";e.a=function(t,e){return function(n){return t(e(n))}}},UDhR:function(t,e,n){!function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(t,e,n){!function(t){"use strict";t.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UTJH:function(t,e,n){"use strict";var i=n("IlA0"),r=n("Tchk");e.a=function(t,e){for(var n=0,a=(e=Object(i.a)(e,t)).length;null!=t&&nt.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let a,o,s=0,l=!1,c=!1;return function(u){let h;s++,!a||l?(l=!1,a=new i.a(t,e,r),h=a.subscribe(this),o=u.subscribe({next(t){a.next(t)},error(t){l=!0,a.error(t)},complete(){c=!0,o=void 0,a.complete()}})):h=a.subscribe(this),this.add(()=>{s--,h.unsubscribe(),o&&!c&&n&&0===s&&(o.unsubscribe(),o=void 0,a=void 0)})}}(r))}},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return Object(r.a)(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(a.a)(e)(Object(o.a)(t,n))}},Vc0j:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL");let r=(()=>{class t{constructor(){this.afterViewInit=new i.o}ngAfterViewInit(){this.afterViewInit.emit(this._data)}set hookData(t){this._data=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Jb({type:t,selectors:[["","hook","ngafterviewinit"]],inputs:{hookData:"hookData"},outputs:{afterViewInit:"afterViewInit"}}),t})()},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},WJ6P:function(t,e,n){"use strict";e.a=function(){return[]}},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),r=n("LRne"),a=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WOAq:function(t,e,n){"use strict";(function(t){var i=n("Ju5/"),r=n("L3Qv"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===a?i.a.Buffer:void 0;e.a=(s?s.isBuffer:void 0)||r.a}).call(this,n("3UD+")(t))},WYrj:function(t,e,n){!function(t){"use strict";var e=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wp6s:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return p}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return c});var i=n("R1ws"),r=n("FKr1"),a=n("fXoL");const o=["*",[["mat-card-footer"]]],s=["*","mat-card-footer"];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),t})(),d=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(i.a,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&a.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(a.kc(o),a.jc(0),a.jc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[r.j],r.j]}),t})()},Ws7a:function(t,e,n){"use strict";var i=n("26kz"),r=n("5WsY");e.a=function(t,e){var n=-1,a=Object(r.a)(t)?Array(t.length):[];return Object(i.a)(t,function(t,i,r){a[++n]=e(t,i,r)}),a}},Wv91:function(t,e,n){!function(t){"use strict";var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};t.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||e?" \xe9v":" \xe9ve");case"yy":return r+(i||e?" \xe9v":" \xe9ve")}return""}function i(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(t,e,n){!function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return u});var i=n("HDdC"),r=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),l=n("2QA8");class c extends r.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):a.a.EMPTY}}},Xa2L:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return y});var i=n("fXoL"),r=n("ofXK"),a=n("FKr1"),o=n("8LU1"),s=n("nLfN"),l=n("R1ws");function c(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function u(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){const t=i.fc();i.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(i.ec(),i.Pb(0,"circle",3)),2&t){const t=i.fc();i.Cc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}const p=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class f{constructor(t){this._elementRef=t}}const m=Object(a.y)(f,"primary"),g=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let _=(()=>{class t extends m{constructor(e,n,i,r,a){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!a&&!a._forceAnimations,a&&(a.diameter&&(this.diameter=a.diameter),a.strokeWidth&&(this.strokeWidth=a.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(o.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(o.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(o.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(s.c)(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let r=i.get(e);if(!r||!r.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),r||(r=new Set,i.set(e,r)),r.add(n)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,""+this._spinnerAnimationLabel)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(s.a),i.Ob(r.d,8),i.Ob(l.a,8),i.Ob(g))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Db("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Gb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Fc(1,c,1,9,"circle",1),i.Fc(2,u,1,7,"circle",2),i.Tb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[r.p,r.q],styles:[p],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),y=(()=>{class t extends _{constructor(t,e,n,i,r){super(t,e,n,i,r),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(s.a),i.Ob(r.d,8),i.Ob(l.a,8),i.Ob(g))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.Gb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Fc(1,h,1,9,"circle",1),i.Fc(2,d,1,7,"circle",2),i.Tb()),2&t&&(i.Cc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[r.p,r.q],styles:[p],encapsulation:2,changeDetection:0}),t})(),b=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[a.j,r.c],a.j]}),t})()},XhcP:function(t,e,n){"use strict";n.d(e,"a",function(){return U}),n.d(e,"b",function(){return q}),n.d(e,"c",function(){return W}),n.d(e,"d",function(){return Z});var i=n("nLfN"),r=n("vxfF"),a=n("ofXK"),o=n("fXoL"),s=n("FKr1"),l=n("8LU1"),c=n("FtGj"),u=n("XNiG"),h=n("xgIS"),d=n("VRyK"),p=n("pLZG"),f=n("lJxs"),m=n("7o/Q");function g(t){return e=>e.lift(new _(t))}class _{constructor(t){this.value=t}call(t,e){return e.subscribe(new y(t,this.value))}}class y extends m.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}var b=n("1G5W"),v=n("/uUt"),w=n("IzEk"),x=n("JX91"),M=n("Kj3r"),S=n("R0Ic"),C=n("R1ws"),k=n("u47x"),D=n("cH1L");const O=["*"];function T(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",2),o.bc("click",function(){return o.wc(t),o.fc()._onBackdropClicked()}),o.Tb()}if(2&t){const t=o.fc();o.Gb("mat-drawer-shown",t._isShowingBackdrop())}}function L(t,e){1&t&&(o.Ub(0,"mat-drawer-content"),o.jc(1,2),o.Tb())}const A=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],I=["mat-drawer","mat-drawer-content","*"];function P(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",2),o.bc("click",function(){return o.wc(t),o.fc()._onBackdropClicked()}),o.Tb()}if(2&t){const t=o.fc();o.Gb("mat-drawer-shown",t._isShowingBackdrop())}}function E(t,e){1&t&&(o.Ub(0,"mat-sidenav-content",3),o.jc(1,2),o.Tb())}const R=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Y=["mat-sidenav","mat-sidenav-content","*"],j=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",N={transformDrawer:Object(S.m)("transform",[Object(S.j)("open, open-instant",Object(S.k)({transform:"none",visibility:"visible"})),Object(S.j)("void",Object(S.k)({"box-shadow":"none",visibility:"hidden"})),Object(S.l)("void => open-instant",Object(S.e)("0ms")),Object(S.l)("void <=> open, open-instant => void",Object(S.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},F=new o.s("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),V=new o.s("MAT_DRAWER_CONTAINER");let H=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(n,i,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.h),o.Ob(Object(o.V)(()=>B)),o.Ob(o.l),o.Ob(r.c),o.Ob(o.B))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Cc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.zb],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(o.kc(),o.jc(0))},encapsulation:2,changeDetection:0}),t})(),z=(()=>{class t{constructor(t,e,n,i,r,a,s){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=a,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new u.a,this._animationEnd=new u.a,this._animationState="void",this.openedChange=new o.o(!0),this._openedStream=this.openedChange.pipe(Object(p.a)(t=>t),Object(f.a)(()=>{})),this.openedStart=this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),g(void 0)),this._closedStream=this.openedChange.pipe(Object(p.a)(t=>!t),Object(f.a)(()=>{})),this.closedStart=this._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState&&"void"===t.toState),g(void 0)),this._destroyed=new u.a,this.onPositionChanged=new o.o,this._modeChanged=new u.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(h.a)(this._elementRef.nativeElement,"keydown").pipe(Object(p.a)(t=>t.keyCode===c.g&&!this.disableClose&&!Object(c.s)(t)),Object(b.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(v.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Object(l.c)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(l.c)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(l.c)(t))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var t;const e=null===(t=this._doc)||void 0===t?void 0:t.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(t=!this.opened,e){return this._setOpen(t,!t&&this._isFocusWithinDrawer(),e)}_setOpen(t,e,n="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",e&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(w.a)(1)).subscribe(e=>t(e?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.l),o.Ob(k.i),o.Ob(k.h),o.Ob(i.a),o.Ob(o.B),o.Ob(a.d,8),o.Ob(V,8))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&o.Dc("@transform.start",function(t){return e._animationStartListener(t)})("@transform.done",function(t){return e._animationDoneListener(t)}),2&t&&(o.Db("align",null),o.Ec("@transform",e._animationState),o.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:O,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.kc(),o.Ub(0,"div",0),o.jc(1),o.Tb())},encapsulation:2,data:{animation:[N.transformDrawer]},changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,n,i,r,a=!1,s){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=s,this._drawers=new o.F,this.backdropClick=new o.o,this._destroyed=new u.a,this._doCheckSubject=new u.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new u.a,t&&t.change.pipe(Object(b.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),r.change().pipe(Object(b.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Object(l.c)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Object(l.c)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(x.a)(this._allDrawers),Object(b.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(x.a)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(Object(M.a)(10),Object(b.a)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){const n=this._left._getWidth();t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._getWidth();else if("push"==this._right.mode){const n=this._right._getWidth();e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Object(p.a)(t=>t.fromState!==t.toState),Object(b.a)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Object(b.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(b.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Object(w.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(b.a)(Object(d.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?this._end=t:this._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(D.b,8),o.Ob(o.l),o.Ob(o.B),o.Ob(o.h),o.Ob(r.e),o.Ob(F),o.Ob(C.a,8))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){if(1&t&&(o.Hb(n,H,!0),o.Hb(n,z,!0)),2&t){let t;o.tc(t=o.cc())&&(e._content=t.first),o.tc(t=o.cc())&&(e._allDrawers=t)}},viewQuery:function(t,e){if(1&t&&o.Oc(H,!0),2&t){let t;o.tc(t=o.cc())&&(e._userContent=t.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[o.Bb([{provide:V,useExisting:t}])],ngContentSelectors:I,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(o.kc(A),o.Fc(0,T,1,2,"div",0),o.jc(1),o.jc(2,1),o.Fc(3,L,2,0,"mat-drawer-content",1)),2&t&&(o.lc("ngIf",e.hasBackdrop),o.Cb(3),o.lc("ngIf",!e._content))},directives:[a.n,H],styles:[j],encapsulation:2,changeDetection:0}),t})(),W=(()=>{class t extends H{constructor(t,e,n,i,r){super(t,e,n,i,r)}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.h),o.Ob(Object(o.V)(()=>q)),o.Ob(o.l),o.Ob(r.c),o.Ob(o.B))},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&o.Cc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[o.zb],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(o.kc(),o.jc(0))},encapsulation:2,changeDetection:0}),t})(),U=(()=>{class t extends z{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(l.c)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(l.f)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(l.f)(t)}}return t.\u0275fac=function(e){return G(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(o.Db("align",null),o.Cc("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),o.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[o.zb],ngContentSelectors:O,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(o.kc(),o.Ub(0,"div",0),o.jc(1),o.Tb())},encapsulation:2,data:{animation:[N.transformDrawer]},changeDetection:0}),t})();const G=o.Wb(U);let q=(()=>{class t extends B{}return t.\u0275fac=function(e){return X(e||t)},t.\u0275cmp=o.Ib({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){if(1&t&&(o.Hb(n,W,!0),o.Hb(n,U,!0)),2&t){let t;o.tc(t=o.cc())&&(e._content=t.first),o.tc(t=o.cc())&&(e._allDrawers=t)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&o.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[o.Bb([{provide:V,useExisting:t}]),o.zb],ngContentSelectors:Y,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(o.kc(R),o.Fc(0,P,1,2,"div",0),o.jc(1),o.jc(2,1),o.Fc(3,E,2,0,"mat-sidenav-content",1)),2&t&&(o.lc("ngIf",e.hasBackdrop),o.Cb(3),o.lc("ngIf",!e._content))},directives:[a.n,W,r.a],styles:[j],encapsulation:2,changeDetection:0}),t})();const X=o.Wb(q);let Z=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[a.c,s.j,i.b,r.b],r.b,s.j]}),t})()},Xi3o:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("sYmb");const a=[];let o=(()=>{class t{constructor(t){this._translateService=t,t.use(localStorage.getItem("i18n")||t.getBrowserCultureLang())}get onchange(){return this._translateService.onLangChange}get items(){return a}get current(){return this._translateService.currentLang}set current(t){this._translateService.use(t),localStorage.setItem("i18n",t)}translate(t,e){return this._translateService.instant(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.e))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},XqMk:function(t,e,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;e.a=i},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},Y7yP:function(t,e,n){"use strict";var i,r=n("vJtL"),a=n("Ju5/").a["__core-js_shared__"],o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=n("IzLi"),l=n("dLWn"),c=/^\[object .+?Constructor\]$/,u=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.a=function(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Object(s.a)(t)||(e=t,o&&o in e))&&(Object(r.a)(t)?u:c).test(Object(l.a)(t));var e}(n)?n:void 0}},YHEm:function(t,e,n){"use strict";e.a=function(t,e){return t===e||t!=t&&e!=e}},YM6B:function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"DataView"),o=n("3cmB"),s=Object(i.a)(r.a,"Promise"),l=n("pVw1"),c=Object(i.a)(r.a,"WeakMap"),u=n("8M4i"),h=n("dLWn"),d=Object(h.a)(a),p=Object(h.a)(o.a),f=Object(h.a)(s),m=Object(h.a)(l.a),g=Object(h.a)(c),_=u.a;(a&&"[object DataView]"!=_(new a(new ArrayBuffer(1)))||o.a&&"[object Map]"!=_(new o.a)||s&&"[object Promise]"!=_(s.resolve())||l.a&&"[object Set]"!=_(new l.a)||c&&"[object WeakMap]"!=_(new c))&&(_=function(t){var e=Object(u.a)(t),n="[object Object]"==e?t.constructor:void 0,i=n?Object(h.a)(n):"";if(i)switch(i){case d:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case m:return"[object Set]";case g:return"[object WeakMap]"}return e}),e.a=_},YRex:function(t,e,n){!function(t){"use strict";t.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZCbZ:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("CpTu"),r=n("fXoL");let a=(()=>{class t{transform(t,e){return Object(i.a)(t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Nb({name:"find",type:t,pure:!0}),t})()},ZWiB:function(t,e,n){"use strict";e.a=function(t,e){return t.has(e)}},Zduo:function(t,e,n){!function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aip8:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("twO/"),r=n("UTJH"),a=n("fywt"),o=n("Ws7a"),s=n("ovuK"),l=n("G8aS"),c=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=Object(l.a)(t),o=void 0!==e,s=null===e,c=e==e,u=Object(l.a)(e);if(!s&&!u&&!a&&t>e||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t=s?l:l*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)});i--;)t[i]=t[i].value;return t}(Object(o.a)(t,function(t,n,r){return{criteria:Object(i.a)(e,function(e){return e(t)}),index:++l,value:t}}))},p=n("fXoL");let f=(()=>{class t{transform(t,e,n){return function(t,e,n,i){return null==t?[]:(Object(h.a)(e)||(e=null==e?[]:[e]),n=n,Object(h.a)(n)||(n=null==n?[]:[n]),d(t,e,n))}(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=p.Nb({name:"sort",type:t,pure:!0}),t})()},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("5+tZ"),r=n("SpAZ");function a(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ");function r(t,e){return Object(i.a)(t,e,1)}},bSwM:function(t,e,n){"use strict";n.d(e,"a",function(){return p}),n.d(e,"b",function(){return w}),n.d(e,"c",function(){return M});var i=n("8LU1"),r=n("fXoL"),a=n("3Pt+"),o=n("FKr1"),s=n("R1ws"),l=n("GU7r"),c=n("u47x");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new r.s("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let m=0;const g=f(),_={provide:a.l,useExisting:Object(r.V)(()=>w),multi:!0};class y{}class b{constructor(t){this._elementRef=t}}const v=Object(o.D)(Object(o.y)(Object(o.z)(Object(o.A)(b))));let w=(()=>{class t extends v{constructor(t,e,n,i,a,o,s){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=s,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++m,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.o,this.indeterminateChange=new r.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||g,this.color=this.defaultColor=this._options.color||g.color,this.tabIndex=parseInt(a)||0}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new y;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(c.h),r.Ob(r.B),r.Zb("tabindex"),r.Ob(s.a,8),r.Ob(p,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(r.Oc(u,!0),r.Oc(o.t,!0)),2&t){let t;r.tc(t=r.cc())&&(e._inputElement=t.first),r.tc(t=r.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",null),r.Gb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.Bb([_]),r.zb],ngContentSelectors:d,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"span",2),r.Ub(3,"input",3,4),r.bc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r.Tb(),r.Ub(5,"span",5),r.Pb(6,"span",6),r.Tb(),r.Pb(7,"span",7),r.Ub(8,"span",8),r.ec(),r.Ub(9,"svg",9),r.Pb(10,"path",10),r.Tb(),r.dc(),r.Pb(11,"span",11),r.Tb(),r.Tb(),r.Ub(12,"span",12,13),r.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),r.Ub(14,"span",14),r.Hc(15,"\xa0"),r.Tb(),r.jc(16),r.Tb(),r.Tb()),2&t){const t=r.uc(1),n=r.uc(13);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.Cb(1),r.lc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r.Cb(2),r.lc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.oc(19,h))}},directives:[o.t,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),x=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),M=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[o.u,o.j,l.c,x],o.j,x]}),t})()},bTqV:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return p});var i=n("FKr1"),r=n("R1ws"),a=n("fXoL"),o=n("u47x");const s=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class u{constructor(t){this._elementRef=t}}const h=Object(i.y)(Object(i.A)(Object(i.z)(u)));let d=(()=>{class t extends h{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.l),a.Ob(o.h),a.Ob(r.a,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&a.Oc(i.t,!0),2&t){let t;a.tc(t=a.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(a.Db("disabled",e.disabled||null),a.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.zb],attrs:s,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(a.kc(),a.Ub(0,"span",0),a.jc(1),a.Tb(),a.Pb(2,"span",1),a.Pb(3,"span",2)),2&t&&(a.Cb(2),a.Gb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),a.lc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.t],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[i.u,i.j],i.j]}),t})()},bUwk:function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var i=n("vkgz"),r=n("fXoL"),a=n("tk/3");const o={};let s=(()=>{class t{constructor(t){this._http=t}url(t){return"string"==typeof t?`${o.default}/api/${t}`:`${o[t[0]]}/${t[1]}`}join(...t){return Promise.all(t)}request(t,e,n){const r=null==n?void 0:n.onProgress;r&&(n.reportProgress=!0,delete n.onProgress);let a=this._http.request(t,this.url(e),n);return r&&(a=a.pipe(Object(i.a)(r))),a.toPromise()}get(t,e,n){const r={};Object.assign(r,n),e&&(r.params=r.params||{},Object.assign(r.params,e)),r.onProgress&&(r.reportProgress=!0,delete r.onProgress);let a=this._http.get(this.url(t),r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}post(t,e,n){const r={headers:{}};Object.assign(r,n),r.headers["Content-type"]="application/json; charset=UTF-8",r.onProgress&&(r.reportProgress=!0,delete r.onProgress);let a=this._http.post(this.url(t),e,r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}put(t,e,n,r){const a={headers:{}};Object.assign(a,r),a.headers["Content-type"]="application/json; charset=UTF-8",n&&Object.assign(a.params,n),a.onProgress&&(a.reportProgress=!0,delete a.onProgress);let o=this._http.put(this.url(t),e,a);return a.reportProgress&&(o=o.pipe(Object(i.a)(r.onProgress))),o.toPromise()}patch(t,e,n,r){const a={headers:{}};Object.assign(a,r),a.headers["Content-type"]="application/json; charset=UTF-8",n&&Object.assign(a.params,n),a.onProgress&&(a.reportProgress=!0,delete a.onProgress);let o=this._http.patch(this.url(t),e,a);return a.reportProgress&&(o=o.pipe(Object(i.a)(r.onProgress))),o.toPromise()}delete(t,e,n){const r={};Object.assign(r,n),e&&(r.params=r.params||{},Object.assign(r.params,e)),r.onProgress&&(r.reportProgress=!0,delete r.onProgress);let a=this._http.delete(this.url(t),r);return r.reportProgress&&(a=a.pipe(Object(i.a)(n.onProgress))),a.toPromise()}download(t,e,n,r){const a={observe:"events",responseType:"blob"};return Object.assign(a,r),a.onProgress&&(a.reportProgress=!0,delete a.onProgress),new Promise((o,s)=>{let l=this._http.request(n||"get",this.url(t),a);a.reportProgress&&(l=l.pipe(Object(i.a)(r.onProgress))),l.subscribe(t=>{if(4==t.type){const n=window.URL.createObjectURL(t.body),i=document.createElement("a");i.href=n,i.download=e,i.click(),window.URL.revokeObjectURL(n),o(t)}},t=>s(t))})}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(a.b))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},blSl:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("fXoL"),r=n("0MNC");const a="screen and (min-width: 600px) and (max-width: 959px)";let o=(()=>{class t{constructor(t){this.onchange=new i.o,t.observe(["screen and (max-width: 599px)",a,"screen and (min-width: 960px)"]).subscribe(t=>{this.onchange.emit(this._current=t.breakpoints["screen and (max-width: 599px)"]?"mobile":t.breakpoints[a]?"tablet":"monitor")})}get current(){return this._current}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},bpih:function(t,e,n){!function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bv9b:function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return y});var i=n("fXoL"),r=n("ofXK"),a=n("FKr1"),o=n("8LU1"),s=n("R1ws"),l=n("quSY"),c=n("xgIS"),u=n("pLZG");const h=["primaryValueBar"];class d{constructor(t){this._elementRef=t}}const p=Object(a.y)(d,"primary"),f=new i.s("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(i.W)(r.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let m=0,g=(()=>{class t extends p{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new i.o,this._animationEndSubscription=l.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+m++;const a=r?r.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${a}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=_(Object(o.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=_(t||0)}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(c.a)(t,"transitionend").pipe(Object(u.a)(e=>e.target===t)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.B),i.Ob(s.a,8),i.Ob(f,8))},t.\u0275cmp=i.Ib({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){if(1&t&&i.Oc(h,!0),2&t){let t;i.tc(t=i.cc())&&(e._primaryValueBar=t.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(i.Db("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),i.Gb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[i.zb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(i.ec(),i.Ub(0,"svg",0),i.Ub(1,"defs"),i.Ub(2,"pattern",1),i.Pb(3,"circle",2),i.Tb(),i.Tb(),i.Pb(4,"rect",3),i.Tb(),i.dc(),i.Pb(5,"div",4),i.Pb(6,"div",5,6),i.Pb(8,"div",7)),2&t&&(i.Cb(2),i.lc("id",e.progressbarId),i.Cb(2),i.Db("fill",e._rectangleFillValue),i.Cb(1),i.lc("ngStyle",e._bufferTransform()),i.Cb(1),i.lc("ngStyle",e._primaryTransform()))},directives:[r.o],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),t})();function _(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let y=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[r.c,a.j],a.j]}),t})()},bxKX:function(t,e,n){!function(t){"use strict";t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},c8N8:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("fXoL"),r=n("ofXK"),a=n("bSwM");function o(t,e){if(1&t){const t=i.Vb();i.Ub(0,"mat-checkbox",3),i.bc("change",function(e){return i.wc(t),i.fc().select(e)}),i.Tb()}if(2&t){const t=i.fc();i.lc("checked",t.checked&&t.model.selected.length==t.data.length)("indeterminate",t.checked&&t.model.selected.length!=t.data.length)("disabled",!t.data.length)}}function s(t,e){if(1&t){const t=i.Vb();i.Ub(0,"mat-checkbox",4),i.bc("change",function(e){return i.wc(t),i.fc().select(e)}),i.Tb()}if(2&t){const t=i.fc();i.lc("checked",t.checked)}}let l=(()=>{class t{set model(t){this._model=t}set data(t){this._data=t,t&&(this._type=Array.isArray(t)?"header":"row")}get type(){return this._type}get model(){return this._model}get data(){return this._data}get checked(){switch(this._type){case"header":return this._model.hasValue();case"row":return this._model.isSelected(this._data)}}select(t){if(t)switch(this._type){case"header":this._model.selected.length==this._data.length?this._model.clear():this._data.forEach(t=>this._model.select(t));break;case"row":this._model.toggle(this._data)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["table-row-selection"]],inputs:{model:"model",data:"data"},decls:3,vars:3,consts:[[3,"ngSwitch"],[3,"checked","indeterminate","disabled","change",4,"ngSwitchCase"],[3,"checked","change",4,"ngSwitchCase"],[3,"checked","indeterminate","disabled","change"],[3,"checked","change"]],template:function(t,e){1&t&&(i.Sb(0,0),i.Fc(1,o,1,3,"mat-checkbox",1),i.Fc(2,s,1,1,"mat-checkbox",2),i.Rb()),2&t&&(i.lc("ngSwitch",e.type),i.Cb(1),i.lc("ngSwitchCase","header"),i.Cb(1),i.lc("ngSwitchCase","row"))},directives:[r.p,r.q,a.b],styles:[".mat-checkbox[_ngcontent-%COMP%]{margin:0 3px}"]}),t})()},cH1L:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return o});var i=n("fXoL"),r=n("ofXK");const a=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(r.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(a,8))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(a,8))},token:t,providedIn:"root"}),t})(),s=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})()},cRix:function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cSlR:function(t,e,n){"use strict";var i=/^(?:0|[1-9]\d*)$/;e.a=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&i.test(t))&&t>-1&&t%1==0&&te[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(a.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let a=0,o=0;for(let l=0;l{u||(u=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{a++,a!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},czMo:function(t,e,n){!function(t){"use strict";t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},d3UM:function(t,e,n){"use strict";n.d(e,"a",function(){return G}),n.d(e,"b",function(){return X}),n.d(e,"c",function(){return W});var i=n("rDax"),r=n("ofXK"),a=n("fXoL"),o=n("FKr1"),s=n("kmnG"),l=n("vxfF"),c=n("u47x"),u=n("8LU1"),h=n("0EQZ"),d=n("FtGj"),p=n("XNiG"),f=n("NXyV"),m=n("VRyK"),g=n("JX91"),_=n("eIep"),y=n("IzEk"),b=n("pLZG"),v=n("lJxs"),w=n("/uUt"),x=n("1G5W"),M=n("R0Ic"),S=n("cH1L"),C=n("3Pt+");const k=["trigger"],D=["panel"];function O(t,e){if(1&t&&(a.Ub(0,"span",8),a.Hc(1),a.Tb()),2&t){const t=a.fc();a.Cb(1),a.Ic(t.placeholder||"\xa0")}}function T(t,e){if(1&t&&(a.Ub(0,"span"),a.Hc(1),a.Tb()),2&t){const t=a.fc(2);a.Cb(1),a.Ic(t.triggerValue||"\xa0")}}function L(t,e){1&t&&a.jc(0,0,["*ngSwitchCase","true"])}function A(t,e){if(1&t&&(a.Ub(0,"span",9),a.Fc(1,T,2,1,"span",10),a.Fc(2,L,1,0,"ng-content",11),a.Tb()),2&t){const t=a.fc();a.lc("ngSwitch",!!t.customTrigger),a.Cb(2),a.lc("ngSwitchCase",!0)}}function I(t,e){if(1&t){const t=a.Vb();a.Ub(0,"div",12),a.Ub(1,"div",13,14),a.bc("@transformPanel.done",function(e){return a.wc(t),a.fc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return a.wc(t),a.fc()._handleKeydown(e)}),a.jc(3,1),a.Tb(),a.Tb()}if(2&t){const t=a.fc();a.lc("@transformPanelWrap",void 0),a.Cb(1),a.Fb("mat-select-panel ",t._getPanelTheme(),""),a.Cc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),a.lc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),a.Db("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const P=[[["mat-select-trigger"]],"*"],E=["mat-select-trigger","*"],R={transformPanelWrap:Object(M.m)("transformPanelWrap",[Object(M.l)("* => void",Object(M.h)("@transformPanel",[Object(M.f)()],{optional:!0}))]),transformPanel:Object(M.m)("transformPanel",[Object(M.j)("void",Object(M.k)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(M.j)("showing",Object(M.k)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(M.j)("showing-multiple",Object(M.k)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(M.l)("void => *",Object(M.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(M.l)("* => void",Object(M.e)("100ms 25ms linear",Object(M.k)({opacity:0})))])};let Y=0;const j=new a.s("mat-select-scroll-strategy"),N=new a.s("MAT_SELECT_CONFIG"),F={provide:j,deps:[i.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class V{constructor(t,e){this.source=t,this.value=e}}class H{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const z=Object(o.z)(Object(o.D)(Object(o.A)(Object(o.B)(H)))),B=new a.s("MatSelectTrigger");let W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-select-trigger"]],features:[a.Bb([{provide:B,useExisting:t}])]}),t})(),U=(()=>{class t extends z{constructor(t,e,n,i,r,o,s,l,c,u,h,d,w,x){var M,S,C;super(r,i,s,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=o,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=w,this._defaultOptions=x,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+Y++,this._triggerAriaLabelledBy=null,this._destroy=new p.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Y++,this._panelDoneAnimatingStream=new p.a,this._overlayPanelClass=(null===(M=this._defaultOptions)||void 0===M?void 0:M.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(C=null===(S=this._defaultOptions)||void 0===S?void 0:S.disableOptionCentering)&&void 0!==C&&C,this.ariaLabel="",this.optionSelectionChanges=Object(f.a)(()=>{const t=this.options;return t?t.changes.pipe(Object(g.a)(t),Object(_.a)(()=>Object(m.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(Object(y.a)(1),Object(_.a)(()=>this.optionSelectionChanges))}),this.openedChange=new a.o,this._openedStream=this.openedChange.pipe(Object(b.a)(t=>t),Object(v.a)(()=>{})),this._closedStream=this.openedChange.pipe(Object(b.a)(t=>!t),Object(v.a)(()=>{})),this.selectionChange=new a.o,this.valueChange=new a.o,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==x?void 0:x.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=x.typeaheadDebounceInterval),this._scrollStrategyFactory=d,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(h)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(u.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(u.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(u.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(u.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(w.a)(),Object(x.a)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(x.a)(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Object(g.a)(null),Object(x.a)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===d.d||e===d.p||e===d.i||e===d.m,i=e===d.f||e===d.n,r=this._keyManager;if(!r.isTyping()&&i&&!Object(d.s)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;r.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===d.d||n===d.p,r=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==d.f&&n!==d.n||!e.activeItem||Object(d.s)(t))if(!r&&this._multiple&&n===d.a&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(y.a)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new c.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(x.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Object(x.a)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(m.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(x.a)(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(m.a)(...this.options.map(t=>t._stateChanges)).pipe(Object(x.a)(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(l.e),a.Ob(a.h),a.Ob(a.B),a.Ob(o.d),a.Ob(a.l),a.Ob(S.b,8),a.Ob(C.p,8),a.Ob(C.g,8),a.Ob(s.a,8),a.Ob(C.m,10),a.Zb("tabindex"),a.Ob(j),a.Ob(c.k),a.Ob(N,8))},t.\u0275dir=a.Jb({type:t,viewQuery:function(t,e){if(1&t&&(a.Oc(k,!0),a.Oc(D,!0),a.Oc(i.a,!0)),2&t){let t;a.tc(t=a.cc())&&(e.trigger=t.first),a.tc(t=a.cc())&&(e.panel=t.first),a.tc(t=a.cc())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[a.zb,a.Ab]}),t})(),G=(()=>{class t extends U{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Object(x.a)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(y.a)(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}_scrollOptionIntoView(t){const e=Object(o.w)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(o.x)((t+e)*n,n,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new V(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const a=0-(t.left+r-(n?i:0)),o=t.right+r-e.width+(n?0:i);a>0?r+=a+8:o>0&&(r-=o+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,a=Math.floor(256/i);let o;return this.disableOptionCentering?0:(o=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*o-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=Object(o.w)(r,this.options,this.optionGroups);const a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return q(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(a.Hb(n,B,!0),a.Hb(n,o.o,!0),a.Hb(n,o.g,!0)),2&t){let t;a.tc(t=a.cc())&&(e.customTrigger=t.first),a.tc(t=a.cc())&&(e.options=t),a.tc(t=a.cc())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&a.bc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(a.Db("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),a.Gb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[a.Bb([{provide:s.c,useExisting:t},{provide:o.h,useExisting:t}]),a.zb],ngContentSelectors:E,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(a.kc(P),a.Ub(0,"div",0,1),a.bc("click",function(){return e.toggle()}),a.Ub(3,"div",2),a.Fc(4,O,2,1,"span",3),a.Fc(5,A,3,2,"span",4),a.Tb(),a.Ub(6,"div",5),a.Pb(7,"div",6),a.Tb(),a.Tb(),a.Fc(8,I,4,14,"ng-template",7),a.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=a.uc(1);a.Db("aria-owns",e.panelOpen?e.id+"-panel":null),a.Cb(3),a.lc("ngSwitch",e.empty),a.Db("id",e._valueId),a.Cb(1),a.lc("ngSwitchCase",!0),a.Cb(1),a.lc("ngSwitchCase",!1),a.Cb(3),a.lc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[i.b,r.p,r.q,i.a,r.r,r.l],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[R.transformPanelWrap,R.transformPanel]},changeDetection:0}),t})();const q=a.Wb(G);let X=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},providers:[F],imports:[[r.c,i.f,o.p,o.j],l.b,s.d,o.p,o.j]}),t})()},dLWn:function(t,e,n){"use strict";var i=Function.prototype.toString;e.a=function(t){if(null!=t){try{return i.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},dNgK:function(t,e,n){"use strict";n.d(e,"a",function(){return D}),n.d(e,"b",function(){return C});var i=n("rDax"),r=n("+rOU"),a=n("ofXK"),o=n("fXoL"),s=n("FKr1"),l=n("bTqV"),c=n("XNiG"),u=n("IzEk"),h=n("1G5W"),d=n("R0Ic"),p=n("u47x"),f=n("0MNC"),m=n("nLfN");function g(t,e){if(1&t){const t=o.Vb();o.Ub(0,"div",1),o.Ub(1,"button",2),o.bc("click",function(){return o.wc(t),o.fc().action()}),o.Hc(2),o.Tb(),o.Tb()}if(2&t){const t=o.fc();o.Cb(2),o.Ic(t.data.action)}}function _(t,e){}const y=new o.s("MatSnackBarData");class b{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const v=Math.pow(2,31)-1;class w{constructor(t,e){this._overlayRef=e,this._afterDismissed=new c.a,this._afterOpened=new c.a,this._onAction=new c.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,v))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let x=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(w),o.Ob(y))},t.\u0275cmp=o.Ib({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(o.Ub(0,"span"),o.Hc(1),o.Tb(),o.Fc(2,g,3,1,"div",0)),2&t&&(o.Cb(1),o.Ic(e.data.message),o.Cb(1),o.lc("ngIf",e.hasAction))},directives:[a.n,l.a],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t})();const M={snackBarState:Object(d.m)("state",[Object(d.j)("void, hidden",Object(d.k)({transform:"scale(0.8)",opacity:0})),Object(d.j)("visible",Object(d.k)({transform:"scale(1)",opacity:1})),Object(d.l)("* => visible",Object(d.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(d.l)("* => void, * => hidden",Object(d.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(d.k)({opacity:0})))])};let S=(()=>{class t extends r.a{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new c.a,this._onExit=new c.a,this._onEnter=new c.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Object(u.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(o.Ob(o.B),o.Ob(o.l),o.Ob(o.h),o.Ob(m.a),o.Ob(b))},t.\u0275cmp=o.Ib({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&o.Bc(r.c,!0),2&t){let t;o.tc(t=o.cc())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&o.Dc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&o.Ec("@state",e._animationState)},features:[o.zb],decls:3,vars:1,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(o.Ub(0,"div",0),o.Fc(1,_,0,0,"ng-template",1),o.Tb(),o.Pb(2,"div")),2&t&&(o.Cb(2),o.Db("aria-live",e._live))},directives:[r.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[M.snackBarState]}}),t})(),C=(()=>{class t{}return t.\u0275mod=o.Mb({type:t}),t.\u0275inj=o.Lb({factory:function(e){return new(e||t)},imports:[[i.f,r.g,a.c,l.b,s.j],s.j]}),t})();const k=new o.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new b}});let D=(()=>{class t{constructor(t,e,n,i,r,a){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=x,this.snackBarContainerComponent=S,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=o.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:b,useValue:e}]}),i=new r.d(this.snackBarContainerComponent,e.viewContainerRef,n),a=t.attach(i);return a.instance.snackBarConfig=e,a.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new b),this._defaultConfig),e),i=this._createOverlay(n),a=this._attachSnackBarContainer(i,n),s=new w(a,i);if(t instanceof o.N){const e=new r.h(t,null,{$implicit:n.data,snackBarRef:s});s.instance=a.attachTemplatePortal(e)}else{const e=this._createInjector(n,s),i=new r.d(t,void 0,e),o=a.attachComponentPortal(i);s.instance=o.instance}return this._breakpointObserver.observe(f.b.HandsetPortrait).pipe(Object(h.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(s,n),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new i.d;e.direction=t.direction;let n=this._overlay.position().global();const r="rtl"===t.direction,a="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!a&&"center"!==t.horizontalPosition;return a?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return o.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:w,useValue:e},{provide:y,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(o.Yb(i.c),o.Yb(p.k),o.Yb(o.t),o.Yb(f.a),o.Yb(t,12),o.Yb(k))},t.\u0275prov=Object(o.Kb)({factory:function(){return new t(Object(o.Yb)(i.c),Object(o.Yb)(p.k),Object(o.Yb)(o.p),Object(o.Yb)(f.a),Object(o.Yb)(t,12),Object(o.Yb)(k))},token:t,providedIn:C}),t})()},dNwA:function(t,e,n){!function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},"e+ae":function(t,e,n){!function(t){"use strict";var e="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(t){return t>1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?a+(i(t)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?a+(i(t)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},e8Yk:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("Qu3c"),r=n("fXoL"),a=n("0MNC"),o=n("ofXK");function s(t,e){}let l=(()=>{class t extends i.e{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(a.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["tooltip"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&r.bc("click",function(){return e._handleBodyInteraction()},!1,r.vc)("auxclick",function(){return e._handleBodyInteraction()},!1,r.vc),2&t&&r.Cc("zoom","visible"===e._visibility?1:null)},features:[r.zb],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(t,e){if(1&t&&(r.Ub(0,"div",0),r.bc("@state.start",function(){return e._animationStart()})("@state.done",function(t){return e._animationDone(t)}),r.gc(1,"async"),r.Fc(2,s,0,0,"ng-template",1),r.Tb()),2&t){let t=null;r.Gb("mat-tooltip-handset",null==(t=r.hc(1,5,e._isHandset))?null:t.matches),r.lc("ngClass",e.tooltipClass)("@state",e._visibility),r.Cb(2),r.lc("ngTemplateOutlet",e.template)}},directives:[o.l,o.s],pipes:[o.b],styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],encapsulation:2,data:{animation:[i.f.tooltipState]},changeDetection:0}),t})()},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),a=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,a)=>Object(r.a)(t(n,a)).pipe(Object(i.a)((t,i)=>e(n,t,a,i))))):e=>e.lift(new s(t))}class s{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends a.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new a.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(a.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNwd:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("3N8a");class r extends i.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var a=n("IjjT");class o extends a.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(a.Db("aria-orientation",e.vertical?"vertical":"horizontal"),a.Gb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),s=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[r.j],r.j]}),t})()},f6nW:function(t,e,n){"use strict";n.d(e,"a",function(){return x}),n.d(e,"b",function(){return P}),n.d(e,"c",function(){return S}),n.d(e,"d",function(){return U}),n.d(e,"e",function(){return T}),n.d(e,"f",function(){return I}),n.d(e,"g",function(){return k}),n.d(e,"h",function(){return q}),n.d(e,"i",function(){return B}),n.d(e,"j",function(){return A}),n.d(e,"k",function(){return C}),n.d(e,"l",function(){return G}),n.d(e,"m",function(){return V}),n.d(e,"n",function(){return Z}),n.d(e,"o",function(){return X}),n.d(e,"p",function(){return W}),n.d(e,"q",function(){return nt}),n.d(e,"r",function(){return at}),n.d(e,"s",function(){return rt}),n.d(e,"t",function(){return $}),n.d(e,"u",function(){return tt}),n.d(e,"v",function(){return Q}),n.d(e,"w",function(){return et}),n.d(e,"x",function(){return R}),n.d(e,"y",function(){return Y});var i=n("8LU1"),r=n("0EQZ"),a=n("fXoL"),o=n("cH1L"),s=n("nLfN"),l=n("vxfF"),c=n("ofXK"),u=n("XNiG"),h=n("Cfvw"),d=n("2Vo4"),p=n("7+OI"),f=n("LRne"),m=n("1G5W"),g=n("IzEk");const _=[[["caption"]],[["colgroup"],["col"]]],y=["caption","colgroup, col"];function b(t,e){if(1&t&&(a.Ub(0,"th",3),a.Hc(1),a.Tb()),2&t){const t=a.fc();a.Cc("text-align",t.justify),a.Cb(1),a.Jc(" ",t.headerText," ")}}function v(t,e){if(1&t&&(a.Ub(0,"td",4),a.Hc(1),a.Tb()),2&t){const t=e.$implicit,n=a.fc();a.Cc("text-align",n.justify),a.Cb(1),a.Jc(" ",n.dataAccessor(t,n.name)," ")}}function w(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(i.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const x=new a.s("CDK_TABLE"),M=new a.s("text-column-options");let S=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkCellDef",""]]}),t})(),C=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),k=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class D{}const O=w(D);let T=(()=>{class t extends O{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(i.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(x,8))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(a.Hb(n,S,!0),a.Hb(n,C,!0),a.Hb(n,k,!0)),2&t){let t;a.tc(t=a.cc())&&(e.cell=t.first),a.tc(t=a.cc())&&(e.headerCell=t.first),a.tc(t=a.cc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[a.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),a.zb]}),t})();class L{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let A=(()=>{class t extends L{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(T),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[a.zb]}),t})(),I=(()=>{class t extends L{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(T),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[a.zb]}),t})(),P=(()=>{class t extends L{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(T),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[a.zb]}),t})();class E{constructor(){this.tasks=[],this.endTasks=[]}}const R=new a.s("_COALESCED_STYLE_SCHEDULER");let Y=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new u.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new E,this._getScheduleObservable().pipe(Object(m.a)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new E;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(h.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(g.a)(1))}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.B))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof V?t.headerCell.template:this instanceof B?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N),a.Ob(a.u))},t.\u0275dir=a.Jb({type:t,features:[a.Ab]}),t})();class N extends j{}const F=w(N);let V=(()=>{class t extends F{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N),a.Ob(a.u),a.Ob(x,8))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[a.zb,a.Ab]}),t})();class H extends j{}const z=w(H);let B=(()=>{class t extends z{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N),a.Ob(a.u),a.Ob(x,8))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[a.zb,a.Ab]}),t})(),W=(()=>{class t extends j{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N),a.Ob(a.u),a.Ob(x,8))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[a.zb]}),t})(),U=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R))},t.\u0275dir=a.Jb({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Qb(0,0)},directives:[U],encapsulation:2}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Qb(0,0)},directives:[U],encapsulation:2}),t})(),X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a.Ib({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&a.Qb(0,0)},directives:[U],encapsulation:2}),t})(),Z=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.N))},t.\u0275dir=a.Jb({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const K=["top","bottom","left","right"];class J{constructor(t,e,n,i,r=!0,a=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=r,this._needsPositionStickyOnElement=a,this._cachedCellWidths=[]}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return;const r=t[0],a=r.children.length,o=this._getCellWidths(r,i),s=this._getStickyStartColumnPositions(o,e),l=this._getStickyEndColumnPositions(o,n);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,r=i?"right":"left",o=i?"left":"right";for(const c of t)for(let t=0;t{for(let t=0;t{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";K.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of K)t.style[i]&&(n+=e[i]);return n?""+n:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let r=0;r0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}let $=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["","rowOutlet",""]]}),t})(),Q=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),tt=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),et=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.R),a.Ob(a.l))},t.\u0275dir=a.Jb({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),nt=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=o,this._viewRepeater=s,this._coalescedStyleScheduler=l,this._viewportRuler=c,this._onDestroy=new u.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new d.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(i.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=Object(i.c)(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(Object(m.a)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(r.h)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n{const r=n&&n.has(i)?n.get(i):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),it(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=it(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=it(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=it(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],Object(r.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Object(r.h)(this.dataSource)?t=this.dataSource.connect(this):Object(p.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(f.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(Object(m.a)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),r=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const r=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),r}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))U.mostRecentCellOutlet&&U.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new J(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(f.a)()).pipe(Object(m.a)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(a.u),a.Ob(a.h),a.Ob(a.l),a.Zb("role"),a.Ob(o.b,8),a.Ob(c.d),a.Ob(s.a),a.Ob(r.g,8),a.Ob(R,8),a.Ob(l.e,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(a.Hb(n,Z,!0),a.Hb(n,T,!0),a.Hb(n,W,!0),a.Hb(n,V,!0),a.Hb(n,B,!0)),2&t){let t;a.tc(t=a.cc())&&(e._noDataRow=t.first),a.tc(t=a.cc())&&(e._contentColumnDefs=t),a.tc(t=a.cc())&&(e._contentRowDefs=t),a.tc(t=a.cc())&&(e._contentHeaderRowDefs=t),a.tc(t=a.cc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(a.Bc($,!0),a.Bc(Q,!0),a.Bc(tt,!0),a.Bc(et,!0)),2&t){let t;a.tc(t=a.cc())&&(e._rowOutlet=t.first),a.tc(t=a.cc())&&(e._headerRowOutlet=t.first),a.tc(t=a.cc())&&(e._footerRowOutlet=t.first),a.tc(t=a.cc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&a.Gb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[a.Bb([{provide:x,useExisting:t},{provide:r.g,useClass:r.e},{provide:R,useClass:Y}])],ngContentSelectors:y,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(a.kc(_),a.jc(0),a.jc(1,1),a.Qb(2,0),a.Qb(3,1),a.Qb(4,2),a.Qb(5,3))},directives:[Q,$,et,tt],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function it(t,e){return t.concat(Array.from(e))}let rt=(()=>{class t{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return t.\u0275fac=function(e){return new(e||t)(a.Ob(nt,8),a.Ob(M,8))},t.\u0275cmp=a.Ib({type:t,selectors:[["cdk-text-column"]],viewQuery:function(t,e){if(1&t&&(a.Bc(T,!0),a.Bc(S,!0),a.Bc(C,!0)),2&t){let t;a.tc(t=a.cc())&&(e.columnDef=t.first),a.tc(t=a.cc())&&(e.cell=t.first),a.tc(t=a.cc())&&(e.headerCell=t.first)}},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(a.Sb(0,0),a.Fc(1,b,2,3,"th",1),a.Fc(2,v,2,3,"td",2),a.Rb())},directives:[T,C,S,A,P],encapsulation:2}),t})(),at=(()=>{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[l.d]]}),t})()},fXoL:function(t,e,n){"use strict";n.d(e,"a",function(){return an}),n.d(e,"b",function(){return hc}),n.d(e,"c",function(){return oc}),n.d(e,"d",function(){return rc}),n.d(e,"e",function(){return ac}),n.d(e,"f",function(){return ou}),n.d(e,"g",function(){return Xc}),n.d(e,"h",function(){return Gs}),n.d(e,"i",function(){return xc}),n.d(e,"j",function(){return bs}),n.d(e,"k",function(){return fc}),n.d(e,"l",function(){return Ms}),n.d(e,"m",function(){return nu}),n.d(e,"n",function(){return xi}),n.d(e,"o",function(){return Pl}),n.d(e,"p",function(){return da}),n.d(e,"q",function(){return mn}),n.d(e,"r",function(){return C}),n.d(e,"s",function(){return rn}),n.d(e,"t",function(){return Oa}),n.d(e,"u",function(){return Vs}),n.d(e,"v",function(){return Hs}),n.d(e,"w",function(){return pc}),n.d(e,"x",function(){return il}),n.d(e,"y",function(){return Kc}),n.d(e,"z",function(){return nl}),n.d(e,"A",function(){return Bc}),n.d(e,"B",function(){return Cc}),n.d(e,"C",function(){return gn}),n.d(e,"D",function(){return uc}),n.d(e,"E",function(){return cc}),n.d(e,"F",function(){return Rl}),n.d(e,"G",function(){return Cs}),n.d(e,"H",function(){return Ss}),n.d(e,"I",function(){return Li}),n.d(e,"J",function(){return Ds}),n.d(e,"K",function(){return fi}),n.d(e,"L",function(){return yn}),n.d(e,"M",function(){return Qc}),n.d(e,"N",function(){return $s}),n.d(e,"O",function(){return Ic}),n.d(e,"P",function(){return on}),n.d(e,"Q",function(){return Os}),n.d(e,"R",function(){return al}),n.d(e,"S",function(){return A}),n.d(e,"T",function(){return Wc}),n.d(e,"U",function(){return Hc}),n.d(e,"V",function(){return p}),n.d(e,"W",function(){return kn}),n.d(e,"X",function(){return Vc}),n.d(e,"Y",function(){return ru}),n.d(e,"Z",function(){return Rc}),n.d(e,"ab",function(){return dc}),n.d(e,"bb",function(){return fa}),n.d(e,"cb",function(){return os}),n.d(e,"db",function(){return di}),n.d(e,"eb",function(){return Zn}),n.d(e,"fb",function(){return Nn}),n.d(e,"gb",function(){return Vn}),n.d(e,"hb",function(){return Wn}),n.d(e,"ib",function(){return zn}),n.d(e,"jb",function(){return Hn}),n.d(e,"kb",function(){return Bn}),n.d(e,"lb",function(){return ns}),n.d(e,"mb",function(){return iu}),n.d(e,"nb",function(){return Ta}),n.d(e,"ob",function(){return is}),n.d(e,"pb",function(){return rs}),n.d(e,"qb",function(){return Fn}),n.d(e,"rb",function(){return Y}),n.d(e,"sb",function(){return Fa}),n.d(e,"tb",function(){return lo}),n.d(e,"ub",function(){return so}),n.d(e,"vb",function(){return es}),n.d(e,"wb",function(){return xt}),n.d(e,"xb",function(){return u}),n.d(e,"yb",function(){return jn}),n.d(e,"zb",function(){return Aa}),n.d(e,"Ab",function(){return gt}),n.d(e,"Bb",function(){return gs}),n.d(e,"Cb",function(){return mr}),n.d(e,"Db",function(){return Ga}),n.d(e,"Eb",function(){return Ao}),n.d(e,"Fb",function(){return Zo}),n.d(e,"Gb",function(){return Lo}),n.d(e,"Hb",function(){return Zl}),n.d(e,"Ib",function(){return q}),n.d(e,"Jb",function(){return tt}),n.d(e,"Kb",function(){return g}),n.d(e,"Lb",function(){return _}),n.d(e,"Mb",function(){return J}),n.d(e,"Nb",function(){return et}),n.d(e,"Ob",function(){return Ja}),n.d(e,"Pb",function(){return no}),n.d(e,"Qb",function(){return ao}),n.d(e,"Rb",function(){return ro}),n.d(e,"Sb",function(){return io}),n.d(e,"Tb",function(){return eo}),n.d(e,"Ub",function(){return to}),n.d(e,"Vb",function(){return oo}),n.d(e,"Wb",function(){return tn}),n.d(e,"Xb",function(){return Ko}),n.d(e,"Yb",function(){return Cn}),n.d(e,"Zb",function(){return en}),n.d(e,"ac",function(){return ic}),n.d(e,"bc",function(){return co}),n.d(e,"cc",function(){return $l}),n.d(e,"dc",function(){return ye}),n.d(e,"ec",function(){return _e}),n.d(e,"fc",function(){return mo}),n.d(e,"gc",function(){return Ol}),n.d(e,"hc",function(){return Tl}),n.d(e,"ic",function(){return Ll}),n.d(e,"jc",function(){return yo}),n.d(e,"kc",function(){return _o}),n.d(e,"lc",function(){return $a}),n.d(e,"mc",function(){return bo}),n.d(e,"nc",function(){return wo}),n.d(e,"oc",function(){return vl}),n.d(e,"pc",function(){return wl}),n.d(e,"qc",function(){return xl}),n.d(e,"rc",function(){return Ml}),n.d(e,"sc",function(){return Sl}),n.d(e,"tc",function(){return Ul}),n.d(e,"uc",function(){return Ka}),n.d(e,"vc",function(){return Oi}),n.d(e,"wc",function(){return Bt}),n.d(e,"xc",function(){return mi}),n.d(e,"yc",function(){return gi}),n.d(e,"zc",function(){return $}),n.d(e,"Ac",function(){return Kl}),n.d(e,"Bc",function(){return Gl}),n.d(e,"Cc",function(){return To}),n.d(e,"Dc",function(){return uo}),n.d(e,"Ec",function(){return Jo}),n.d(e,"Fc",function(){return Za}),n.d(e,"Gc",function(){return nc}),n.d(e,"Hc",function(){return Bo}),n.d(e,"Ic",function(){return Wo}),n.d(e,"Jc",function(){return Uo}),n.d(e,"Kc",function(){return Go}),n.d(e,"Lc",function(){return qo}),n.d(e,"Mc",function(){return Xo}),n.d(e,"Nc",function(){return _i}),n.d(e,"Oc",function(){return ql});var i=n("XNiG"),r=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("w1tV");function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return m(t)?t():t}function m(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}function g(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function _(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return b(t,w)||b(t,M)}function b(t,e){return t.hasOwnProperty(e)?t[e]:null}function v(t){return t&&(t.hasOwnProperty(x)||t.hasOwnProperty(S))?t[x]:null}const w=l({\u0275prov:l}),x=l({\u0275inj:l}),M=l({ngInjectableDef:l}),S=l({ngInjectorDef:l});var C=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let k;function D(t){const e=k;return k=t,e}function O(t,e,n){const i=y(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&C.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${u(t)}]`)}function T(t){return{toString:t}.toString()}var L=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),A=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const I="undefined"!=typeof globalThis&&globalThis,P="undefined"!=typeof window&&window,E="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,R="undefined"!=typeof global&&global,Y=I||R||P||E,j={},N=[],F=l({\u0275cmp:l}),V=l({\u0275dir:l}),H=l({\u0275pipe:l}),z=l({\u0275mod:l}),B=l({\u0275loc:l}),W=l({\u0275fac:l}),U=l({__NG_ELEMENT_ID__:l});let G=0;function q(t){return T(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||N,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||A.Emulated,id:"c",styles:t.styles||N,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=G++,n.inputs=Q(t.inputs,e),n.outputs=Q(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(X):null,n.pipeDefs=a?()=>("function"==typeof a?a():a).map(Z):null,n})}function X(t){return nt(t)||function(t){return t[V]||null}(t)}function Z(t){return function(t){return t[H]||null}(t)}const K={};function J(t){const e={type:t.type,bootstrap:t.bootstrap||N,declarations:t.declarations||N,imports:t.imports||N,exports:t.exports||N,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&T(()=>{K[t.id]=t.type}),e}function $(t,e){return T(()=>{const n=it(t,!0);n.declarations=e.declarations||N,n.imports=e.imports||N,n.exports=e.exports||N})}function Q(t,e){if(null==t)return j;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}const tt=q;function et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function nt(t){return t[F]||null}function it(t,e){const n=t[z]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function rt(t){return Array.isArray(t)&&"object"==typeof t[1]}function at(t){return Array.isArray(t)&&!0===t[1]}function ot(t){return 0!=(8&t.flags)}function st(t){return 2==(2&t.flags)}function lt(t){return 1==(1&t.flags)}function ct(t){return null!==t.template}function ut(t,e){return t.hasOwnProperty(W)?t[W]:null}class ht extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function dt(t){return"string"==typeof t?t:null==t?"":String(t)}function pt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():dt(t)}function ft(t,e){const n=e?" in "+e:"";throw new ht("201",`No provider for ${pt(t)} found${n}`)}class mt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gt(){return _t}function _t(t){return t.type.prototype.ngOnChanges&&(t.setInput=bt),yt}function yt(){const t=vt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===j)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function bt(t,e,n,i){const r=vt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:j,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new mt(l&&l.currentValue,e,o===j),t[i]=e}function vt(t){return t.__ngSimpleChanges__||null}gt.ngInherit=!0;let wt=void 0;function xt(t){wt=t}function Mt(){return void 0!==wt?wt:"undefined"!=typeof document?document:void 0}function St(t){return!!t.listen}const Ct={createRenderer:(t,e)=>Mt()};function kt(t){for(;Array.isArray(t);)t=t[0];return t}function Dt(t,e){return kt(e[t])}function Ot(t,e){return kt(e[t.index])}function Tt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function At(t,e){const n=e[t];return rt(n)?n:n[0]}function It(t){return t.__ngContext__||null}function Pt(t){const e=It(t);return e?Array.isArray(e)?e:e.lView:null}function Et(t){return 4==(4&t[2])}function Rt(t){return 128==(128&t[2])}function Yt(t,e){return null==e?null:t[e]}function jt(t){t[18]=0}function Nt(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Ft={lFrame:ue(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Vt(){return Ft.bindingsEnabled}function Ht(){return Ft.lFrame.lView}function zt(){return Ft.lFrame.tView}function Bt(t){Ft.lFrame.contextLView=t}function Wt(){let t=Ut();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ut(){return Ft.lFrame.currentTNode}function Gt(t,e){const n=Ft.lFrame;n.currentTNode=t,n.isParent=e}function qt(){return Ft.lFrame.isParent}function Xt(){Ft.lFrame.isParent=!1}function Zt(){return Ft.isInCheckNoChangesMode}function Kt(t){Ft.isInCheckNoChangesMode=t}function Jt(){const t=Ft.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function $t(){return Ft.lFrame.bindingIndex}function Qt(){return Ft.lFrame.bindingIndex++}function te(t){const e=Ft.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t,e){const n=Ft.lFrame;n.bindingIndex=n.bindingRootIndex=t,ne(e)}function ne(t){Ft.lFrame.currentDirectiveIndex=t}function ie(t){const e=Ft.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function re(){return Ft.lFrame.currentQueryIndex}function ae(t){Ft.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function se(t,e,n){if(n&C.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&C.Host||(i=oe(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Ft.lFrame=ce();return i.currentTNode=e,i.lView=t,!0}function le(t){const e=ce(),n=t[1];Ft.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ce(){const t=Ft.lFrame,e=null===t?null:t.child;return null===e?ue(t):e}function ue(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function he(){const t=Ft.lFrame;return Ft.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const de=he;function pe(){const t=he();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fe(){return Ft.lFrame.selectedIndex}function me(t){Ft.lFrame.selectedIndex=t}function ge(){const t=Ft.lFrame;return Tt(t.tView,t.selectedIndex)}function _e(){Ft.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ye(){Ft.lFrame.currentNamespace=null}function be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[o]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}class Ce{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function ke(t,e,n){const i=St(t);let r=0;for(;re){o=a-1;break}}}for(;a>16,i=e;for(;n>0;)i=i[15],n--;return i}let Ee=!0;function Re(t){const e=Ee;return Ee=t,e}let Ye=0;function je(t,e){const n=Fe(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Ne(i.data,t),Ne(e,null),Ne(i.blueprint,null));const r=Ve(t,e),a=t.injectorIndex;if(Ae(r)){const t=Ie(r),n=Pe(r,e),i=n[1].data;for(let r=0;r<8;r++)e[a+r]=n[t+r]|i[t+r]}return e[a+8]=r,a}function Ne(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Fe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ve(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function He(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(U)&&(i=n[U]),null==i&&(i=n[U]=Ye++);const r=255&i,a=1<=0?255&e:Ge:e}(n);if("function"==typeof a){if(!se(e,t,i))return i&C.Host?ze(r,n,i):Be(e,n,i,r);try{const t=a();if(null!=t||i&C.Optional)return t;ft(n)}finally{de()}}else if("number"==typeof a){let r=null,o=Fe(t,e),s=-1,l=i&C.Host?e[16][6]:null;for((-1===o||i&C.SkipSelf)&&(s=-1===o?Ve(t,e):e[o+8],-1!==s&&Je(i,!1)?(r=e[1],o=Ie(s),e=Pe(s,e)):o=-1);-1!==o;){const t=e[1];if(Ke(a,o,t.data)){const t=qe(o,e,n,r,i,l);if(t!==Ue)return t}s=e[o+8],-1!==s&&Je(i,e[1].data[o+8]===l)&&Ke(a,o,e)?(r=t,o=Ie(s),e=Pe(s,e)):o=-1}}}return Be(e,n,i,r)}const Ue={};function Ge(){return new $e(Wt(),Ht())}function qe(t,e,n,i,r,a){const o=e[1],s=o.data[t+8],l=Xe(s,o,n,null==i?st(s)&&Ee:i!=o&&0!=(3&s.type),r&C.Host&&a===s);return null!==l?Ze(e,o,l,s):Ue}function Xe(t,e,n,i,r){const a=t.providerIndexes,o=e.data,s=1048575&a,l=t.directiveStart,c=a>>20,u=r?s+c:t.directiveEnd;for(let h=i?s:s+c;h=l&&t.type===n)return h}if(r){const t=o[l];if(t&&ct(t)&&t.type===n)return l}return null}function Ze(t,e,n,i){let r=t[n];const a=e.data;if(r instanceof Ce){const o=r;o.resolving&&function(t,e){throw new ht("200","Circular dependency in DI detected for "+t)}(pt(a[n]));const s=Re(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?D(o.injectImpl):null;se(t,i,C.Default);try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=e.type.prototype;if(i){const i=_t(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,a[n],e)}finally{null!==l&&D(l),Re(s),o.resolving=!1,de()}}return r}function Ke(t,e,n){const i=64&t,r=32&t;let a;return a=128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(a&1<{const t=Qe(f(e));return t?t():null};let n=ut(e);if(null===n){const t=v(e);n=t&&t.factory}return n||null}function tn(t){return T(()=>{const e=t.prototype.constructor,n=e[W]||Qe(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[W]||Qe(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function en(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class rn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=g({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const an=new rn("AnalyzeForEntryComponents"),on=Function;function sn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?ln(t,e):e(t))}function cn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function un(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function hn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function pn(t,e){const n=fn(t,e);if(n>=0)return t[1|n]}function fn(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),a=t[n<<1];if(e===a)return n<<1;a>e?r=n:i=n+1}return~(r<<1)}(t,e)}const mn=nn("Inject",t=>({token:t})),gn=nn("Optional"),_n=nn("Self"),yn=nn("SkipSelf"),bn={},vn=/\n/gm,wn=l({provide:String,useValue:l});let xn=void 0;function Mn(t){const e=xn;return xn=t,e}function Sn(t,e=C.Default){if(void 0===xn)throw new Error("inject() must be called from an injection context");return null===xn?O(t,void 0,e):xn.get(t,e&C.Optional?null:void 0,e)}function Cn(t,e=C.Default){return(k||Sn)(f(t),e)}const kn=Cn;function Dn(t){const e=[];for(let n=0;nt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return On}function Ln(t){var e;return(null===(e=Tn())||void 0===e?void 0:e.createHTML(t))||t}class An{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class In extends An{getTypeName(){return"HTML"}}class Pn extends An{getTypeName(){return"Style"}}class En extends An{getTypeName(){return"Script"}}class Rn extends An{getTypeName(){return"URL"}}class Yn extends An{getTypeName(){return"ResourceURL"}}function jn(t){return t instanceof An?t.changingThisBreaksApplicationSecurity:t}function Nn(t,e){const n=Fn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Fn(t){return t instanceof An&&t.getTypeName()||null}function Vn(t){return new In(t)}function Hn(t){return new Pn(t)}function zn(t){return new En(t)}function Bn(t){return new Rn(t)}function Wn(t){return new Yn(t)}class Un{getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Ln(t),"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Gn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Ln(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Ln(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',ui(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ni.hasOwnProperty(e)&&!$n.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(ui(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function ui(t){return t.replace(/&/g,"&").replace(li,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ci,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let hi;function di(t,e){let n=null;try{hi=hi||function(t){return function(){try{return!!(new window.DOMParser).parseFromString(Ln(""),"text/html")}catch(t){return!1}}()?new Un:new Gn(t)}(t);let i=e?String(e):"";n=hi.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=hi.getInertBodyElement(i)}while(i!==a);return(new si).sanitizeChildren(pi(n)||n)}finally{if(n){const t=pi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function pi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var fi=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function mi(t){const e=yi();return e?e.sanitize(fi.HTML,t)||"":Nn(t,"HTML")?jn(t):di(Mt(),dt(t))}function gi(t){const e=yi();return e?e.sanitize(fi.URL,t)||"":Nn(t,"URL")?jn(t):Zn(dt(t))}function _i(t){return function(t){var e;return(null===(e=Tn())||void 0===e?void 0:e.createScriptURL(t))||t}(t)}function yi(){const t=Ht();return t&&t[12]}function bi(t){return t.ngDebugContext}function vi(t){return t.ngOriginalError}function wi(t,...e){t.error(...e)}class xi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||wi}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?bi(t)?bi(t):this._findContext(vi(t)):null}_findOriginalError(t){let e=vi(t);for(;e&&vi(e);)e=vi(e);return e}}function Mi(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Si(t,e){t.__ngContext__=e}function Ci(t,e){const n=t[1];for(let i=20;i("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y))();function Oi(t){return{name:"body",target:t.ownerDocument.body}}function Ti(t){return t instanceof Function?t():t}var Li=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Ai(t,e){return(void 0)(t,e)}function Ii(t){const e=t[3];return at(e)?e[3]:e}function Pi(t){return Ri(t[13])}function Ei(t){return Ri(t[4])}function Ri(t){for(;null!==t&&!at(t);)t=t[4];return t}function Yi(t,e,n,i,r){if(null!=i){let a,o=!1;at(i)?a=i:rt(i)&&(o=!0,i=i[0]);const s=kt(i);0===t&&null!==n?null==r?Wi(e,n,s):Bi(e,n,s,r||null,!0):1===t&&null!==n?Bi(e,n,s,r||null,!0):2===t?function(t,e,n){const i=Gi(t,e);i&&function(t,e,n,i){St(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,s,o):3===t&&e.destroyNode(s),null!=a&&function(t,e,n,i,r){const a=n[7];a!==kt(n)&&Yi(e,t,i,a,r);for(let o=10;o0&&(t[n-1][4]=i[4]);const o=un(t,10+e);Qi(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Vi(t,e){if(!(256&e[2])){const n=e[11];St(n)&&n.destroyNode&&Qi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Hi(t[1],t);for(;e;){let n=null;if(rt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)rt(e)&&Hi(e[1],e),e=e[3];null===e&&(e=t),rt(e)&&Hi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Hi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),t+=2}else{const e=i[r=n[t+1]];n[t].call(e)}if(null!==i)for(let t=r+1;ta?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==ir(e,c,0)||2&i&&c!==t){if(lr(i))return!1;o=!0}}}}else{if(!o&&!lr(i)&&!lr(l))return!1;if(o&&lr(l))continue;o=!1,i=l|1&i}}return lr(i)||o}function lr(t){return 0==(1&t)}function cr(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||lr(o)||(e+=dr(a,r),r=""),i=o,a=a||!lr(i);n++}return""!==r&&(e+=dr(a,r)),e}const fr={};function mr(t){gr(zt(),Ht(),fe()+t,Zt())}function gr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&ve(e,i,n)}else{const i=t.preOrderHooks;null!==i&&we(e,i,0,n)}me(n)}function _r(t,e){return t<<17|e<<2}function yr(t){return t>>17&32767}function br(t){return 2|t}function vr(t){return(131068&t)>>2}function wr(t,e){return-131069&t|e<<2}function xr(t){return 1|t}function Mr(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i20&&gr(t,e,20,Zt()),n(i,r)}finally{me(a)}}function Ar(t,e,n){if(ot(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=a&&n.push(a),n.push(i,r,o)}}function Hr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function zr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Br(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Jr(n)}}function Jr(t){for(let n=Pi(t);null!==n;n=Ei(n))for(let t=10;t0&&Jr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Jr(i)}}function $r(t,e){const n=At(e,t),i=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function aa(t){return t[7]||(t[7]=[])}function oa(t){return t.cleanup||(t.cleanup=[])}function sa(t,e,n){return(null===t||ct(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function la(t,e){const n=t[9],i=n?n.get(xi,null):null;i&&i.handleError(e)}function ca(t,e,n,i,r){for(let a=0;athis.processProvider(n,t,e)),ln([t],t=>this.processInjectorType(t,[],r)),this.records.set(da,Sa(void 0,this));const a=this.records.get(fa);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=bn,n=C.Default){this.assertNotDestroyed();const i=Mn(this);try{if(!(n&C.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof rn)&&y(t);e=n&&this.injectableDefInScope(n)?Sa(xa(t),ma):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&C.Self?ba():this.parent).get(t,e=n&C.Optional&&e===bn?null:e)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(u(t)),i)throw a;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=u(e);if(Array.isArray(e))r=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(vn,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(a,t,"R3InjectorError",this.source)}throw a}finally{Mn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=v(t);const r=null==i&&t.ngModule||void 0,a=void 0===r?t:r,o=-1!==n.indexOf(a);if(void 0!==r&&(i=v(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(a);try{ln(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||_a))}}this.injectorDefTypes.add(a),this.records.set(a,Sa(i.factory,ma));const s=i.providers;if(null!=s&&!o){const e=t;ln(s,t=>this.processProvider(t,e,s))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=ka(t=f(t))?t:f(t&&t.provide);const r=function(t,e,n){return Ca(t)?Sa(void 0,t.useValue):Sa(Ma(t),ma)}(t);if(ka(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Sa(void 0,ma,!0),e.factory=()=>Dn(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===ma&&(e.value=ga,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function xa(t){const e=y(t),n=null!==e?e.factory:ut(t);if(null!==n)return n;const i=v(t);if(null!==i)return i.factory;if(t instanceof rn)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=hn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[w]||t[M]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${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 "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ma(t,e,n){let i=void 0;if(ka(t)){const e=f(t);return ut(e)||xa(e)}if(Ca(t))i=()=>f(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...Dn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Cn(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ut(e)||xa(e);i=()=>new e(...Dn(t.deps))}var r;return i}function Sa(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Ca(t){return null!==t&&"object"==typeof t&&wn in t}function ka(t){return"function"==typeof t}const Da=function(t,e,n){return function(t,e=null,n=null,i){const r=va(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let Oa=(()=>{class t{static create(t,e){return Array.isArray(t)?Da(t,e,""):Da(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=bn,t.NULL=new pa,t.\u0275prov=g({token:t,providedIn:"any",factory:()=>Cn(da)}),t.__NG_ELEMENT_ID__=-1,t})();function Ta(t){return function(t){let e=It(t);if(e){if(Array.isArray(e)){const i=e;let r,a=void 0,o=void 0;if((n=t)&&n.constructor&&n.constructor.\u0275cmp){if(r=function(t,e){const n=t[1].components;if(n)for(let i=0;i=0){const t=kt(i[r]),n=Mi(i,r,t);Si(t,n),e=n;break}}}}var n;return e||null}(t).native}function La(t,e){be(Pt(t)[1],Wt())}function Aa(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r=void 0;if(ct(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=Ia(t.inputs),e.declaredInputs=Ia(t.declaredInputs),e.outputs=Ia(t.outputs);const n=r.hostBindings;n&&Ra(t,n);const a=r.viewQuery,o=r.contentQueries;if(a&&Pa(t,a),o&&Ea(t,o),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),ct(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Te(r.hostAttrs,n=Te(n,r.hostAttrs))}}(i)}function Ia(t){return t===j?{}:t===N?[]:t}function Pa(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ea(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Ra(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Ya=null;function ja(){if(!Ya){const t=Y.Symbol;if(t&&t.iterator)Ya=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;es(kt(t[i.index])).target:i.index;if(St(n)){let o=null;if(!s&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let a=0;an?t[n]:null}"string"==typeof t&&(a+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=a,o.__ngLastListenerFn__=a,h=!1;else{a=fo(i,e,a,!1);const t=n.listen(p.name||f,r,a);u.push(a,t),c&&c.push(r,g,m,m+1)}}else a=fo(i,e,a,!0),f.addEventListener(r,a,o),u.push(a),c&&c.push(r,g,m,o)}else a=fo(i,e,a,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ft.lFrame.contextLView))[8]}(t)}function go(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r=0}const Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ko(t){return t.substring(Co.key,Co.keyEnd)}function Do(t,e){const n=Co.textEnd;return n===e?-1:(e=Co.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Co.key=e,n),Oo(t,e,n))}function Oo(t,e,n){for(;e=0;n=Do(e,n))dn(t,ko(e),!0)}function Po(t,e,n,i){const r=Ht(),a=zt(),o=te(2);a.firstUpdatePass&&Yo(a,t,o,i),e!==fr&&za(r,o,e)&&Fo(a,a.data[fe()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(jn(t)))),t}(e,n),i,o)}function Eo(t,e,n,i){const r=zt(),a=te(2);r.firstUpdatePass&&Yo(r,null,a,i);const o=Ht();if(n!==fr&&za(o,a,n)){const s=r.data[fe()];if(zo(s,i)&&!Ro(r,a)){let t=i?s.classesWithoutHost:s.stylesWithoutHost;null!==t&&(n=h(t,n||"")),Qa(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===fr&&(r=xo);let l=0,c=0,u=0=t.expandoStartIndex}function Yo(t,e,n,i){const r=t.data;if(null===r[n+1]){const a=r[fe()],o=Ro(t,n);zo(a,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=ie(t);let a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=No(n=jo(null,t,e,n,i),e.attrs,i),a=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=jo(r,t,e,n,i),null===a){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==vr(i))return t[yr(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=jo(null,t,e,n[1],i),n=No(n,e.attrs,i),function(t,e,n,i){t[yr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else a=function(t,e,n){let i=void 0;const r=e.directiveEnd;for(let a=1+e.directiveStylingLast;a0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=yr(t[s+1]);t[i+1]=_r(e,s),0!==e&&(t[e+1]=wr(t[e+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=_r(s,0),0!==s&&(t[s+1]=wr(t[s+1],i)),s=i;else t[i+1]=_r(l,0),0===s?s=i:t[l+1]=wr(t[l+1],i),l=i;u&&(t[i+1]=br(t[i+1])),Mo(t,c,i,!0),Mo(t,c,i,!1),function(t,e,n,i,r){const a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&fn(a,e)>=0&&(n[i+1]=xr(n[i+1]))}(e,c,t,i,a),o=_r(s,l),a?e.classBindings=o:e.styleBindings=o}(r,a,e,n,o,i)}}function jo(t,e,n,i,r){let a=null;const o=n.directiveEnd;let s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){const e=t[r],a=Array.isArray(e),l=a?e[1]:e,c=null===l;let u=n[r+1];u===fr&&(u=c?xo:void 0);let h=c?pn(u,i):l===i?u:void 0;if(a&&!Ho(h)&&(h=pn(e,i)),Ho(h)&&(s=h,o))return s;const d=t[r+1];r=o?yr(d):vr(d)}if(null!==e){let t=a?e.residualClasses:e.residualStyles;null!=t&&(s=pn(t,i))}return s}function Ho(t){return void 0!==t}function zo(t,e){return 0!=(t.flags&(e?16:32))}function Bo(t,e=""){const n=Ht(),i=zt(),r=t+20,a=i.firstCreatePass?Cr(i,r,1,e,null):i.data[r],o=n[r]=function(t,e){return St(t)?t.createText(e):t.createTextNode(e)}(n[11],e);Zi(i,n,o,a),Gt(a,!1)}function Wo(t){return Uo("",t,""),Wo}function Uo(t,e,n){const i=Ht(),r=qa(i,t,e,n);return r!==fr&&ua(i,fe(),r),Uo}function Go(t,e,n,i,r){const a=Ht(),o=Xa(a,t,e,n,i,r);return o!==fr&&ua(a,fe(),o),Go}function qo(t,e,n,i,r,a,o){const s=Ht(),l=function(t,e,n,i,r,a,o,s){const l=Wa(t,$t(),n,r,o);return te(3),l?e+dt(n)+i+dt(r)+a+dt(o)+s:fr}(s,t,e,n,i,r,a,o);return l!==fr&&ua(s,fe(),l),qo}function Xo(t,e,n,i,r,a,o,s,l,c,u,h,d){const p=Ht(),f=function(t,e,n,i,r,a,o,s,l,c,u,h,d,p){const f=$t();let m=Ua(t,f,n,r,o,l);return m=Ba(t,f+4,u,d)||m,te(6),m?e+dt(n)+i+dt(r)+a+dt(o)+s+dt(l)+c+dt(u)+h+dt(d)+p:fr}(p,t,e,n,i,r,a,o,s,l,c,u,h,d);return f!==fr&&ua(p,fe(),f),Xo}function Zo(t,e,n){Eo(dn,Io,qa(Ht(),t,e,n),!0)}function Ko(t,e,n){const i=Ht();return za(i,Qt(),e)&&Nr(zt(),ge(),i,t,e,i[11],n,!0),Ko}function Jo(t,e,n){const i=Ht();if(za(i,Qt(),e)){const r=zt(),a=ge();Nr(r,a,i,t,e,sa(ie(r.data),a,i),n,!0)}return Jo}const $o=void 0;var Qo=["en",[["a","p"],["AM","PM"],$o],[["AM","PM"],$o,$o],[["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"]],$o,[["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"]],$o,[["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}",$o,"{1} 'at' {0}",$o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let ts={};function es(t,e,n){"string"!=typeof e&&(n=e,e=t[os.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),ts[e]=t,n&&(ts[e][os.ExtraData]=n)}function ns(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=as(e);if(n)return n;const i=e.split("-")[0];if(n=as(i),n)return n;if("en"===i)return Qo;throw new Error(`Missing locale data for the locale "${t}".`)}function is(t){return ns(t)[os.CurrencyCode]||null}function rs(t){return ns(t)[os.PluralCase]}function as(t){return t in ts||(ts[t]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[t]),ts[t]}var os=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let ss="en-US";function ls(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(ss=t.toLowerCase().replace(/_/g,"-"))}function cs(t,e,n,i,r){if(t=f(t),Array.isArray(t))for(let a=0;a>20;if(ka(t)||!t.multi){const i=new Ce(l,r,Ja),p=ds(s,e,r?u:u+d,h);-1===p?(He(je(c,o),a,s),us(a,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=ds(s,e,u+d,h),f=ds(s,e,u,u+d),m=p>=0&&n[p],g=f>=0&&n[f];if(r&&!g||!r&&!m){He(je(c,o),a,s);const u=function(t,e,n,i,r){const a=new Ce(t,n,Ja);return a.multi=[],a.index=e,a.componentProviders=0,hs(a,r,i&&!n),a}(r?fs:ps,n.length,r,i,l);!r&&g&&(n[f].providerFactory=u),us(a,t,e.length,0),e.push(s),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else us(a,t,p>-1?p:f,hs(n[r?f:p],l,!r&&i));!r&&i&&g&&n[f].componentProviders++}}}function us(t,e,n,i){const r=ka(e);if(r||e.useClass){const a=(e.useClass||e).prototype.ngOnDestroy;if(a){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,a]):o[t+1].push(i,a)}else o.push(n,a)}}}function hs(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ds(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=zt();if(i.firstCreatePass){const r=ct(t);cs(n,i.data,i.blueprint,r,!0),cs(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class _s{}class ys{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let bs=(()=>{class t{}return t.NULL=new ys,t})();function vs(...t){}function ws(t,e){return new Ms(Ot(t,e))}const xs=function(){return ws(Wt(),Ht())};let Ms=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=xs,t})();class Ss{}let Cs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ks(),t})();const ks=function(){const t=Ht(),e=At(Wt().index,t);return function(t){return t[11]}(rt(e)?e:t)};let Ds=(()=>{class t{}return t.\u0275prov=g({token:t,providedIn:"root",factory:()=>null}),t})();class Os{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ts=new Os("11.0.5");class Ls{constructor(){}supports(t){return Fa(t)}create(t){return new Is(t)}}const As=(t,e)=>e;class Is{constructor(t){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||As}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const a=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(a&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),a=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new Ps(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Rs),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Rs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ps{constructor(t,e){this.item=t,this.trackById=e,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}}class Es{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Rs{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Es,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ys(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Fs(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Fs{constructor(t){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}}let Vs=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new yn,new gn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=g({token:t,providedIn:"root",factory:()=>new t([new Ls])}),t})(),Hs=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new yn,new gn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=g({token:t,providedIn:"root",factory:()=>new t([new js])}),t})();function zs(t,e,n,i,r=!1){for(;null!==n;){const a=e[n.index];if(null!==a&&i.push(kt(a)),at(a))for(let t=10;t-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Vi(this._lView[1],this._lView)}onDestroy(t){Yr(this._lView[1],this._lView,null,t)}markForCheck(){ta(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ea(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Kt(!0);try{ea(t,e,n)}finally{Kt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Qi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Ws extends Bs{constructor(t){super(t),this._view=t}detectChanges(){na(this._view)}checkNoChanges(){!function(t){Kt(!0);try{na(t)}finally{Kt(!1)}}(this._view)}get context(){return null}}const Us=qs;let Gs=(()=>{class t{}return t.__NG_ELEMENT_ID__=Us,t.__ChangeDetectorRef__=!0,t})();function qs(t=!1){return function(t,e,n){if(!n&&st(t)){const n=At(t.index,e);return new Bs(n,n)}return 47&t.type?new Bs(e[16],e):null}(Wt(),Ht(),t)}const Xs=[new js],Zs=new Vs([new Ls]),Ks=new Hs(Xs),Js=function(){return el(Wt(),Ht())};let $s=(()=>{class t{}return t.__NG_ELEMENT_ID__=Js,t})();const Qs=$s,tl=class extends Qs{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Sr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),Dr(e,n,t),new Bs(n)}};function el(t,e){return 4&t.type?new tl(e,t,ws(t,e)):null}class nl{}class il{}const rl=function(){return ul(Wt(),Ht())};let al=(()=>{class t{}return t.__NG_ELEMENT_ID__=rl,t})();const ol=al,sl=class extends ol{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return ws(this._hostTNode,this._hostLView)}get injector(){return new $e(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ve(this._hostTNode,this._hostLView);if(Ae(t)){const e=Pe(t,this._hostLView),n=Ie(t);return new $e(e[1].data[n+8],e)}return new $e(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=ll(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){const t=a.get(nl,null);t&&(r=t)}const o=t.create(a,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(at(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new sl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),a=this._lContainer;!function(t,e,n,i){const r=10+i,a=n.length;i>0&&(n[r-1][4]=e),iDi});class ml extends _s{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(pr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return pl(this.componentDef.inputs)}get outputs(){return pl(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const a=t.get(n,hl,r);return a!==hl||i===hl?a:e.get(n,i,r)}}}(t,i.injector):t,a=r.get(Ss,Ct),o=r.get(Ds,null),s=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(St(t))return t.selectRootElement(e,n===A.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(s,n,this.componentDef.encapsulation):ji(a.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Di,clean:ra,playerHandler:null,flags:0},d=Rr(0,null,null,1,0,null,null,null,null,null),p=Sr(null,d,h,u,null,null,a,s,o,r);let f,m;le(p);try{const t=function(t,e,n,i,r,a){const o=n[1];n[20]=t;const s=Cr(o,20,2,"#host",null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(ha(s,l,!0),null!==t&&(ke(r,t,l),null!==s.classes&&nr(r,t,s.classes),null!==s.styles&&er(r,t,s.styles)));const c=i.createRenderer(t,e),u=Sr(n,Er(e),null,e.onPush?64:16,n[20],s,i,c,null,null);return o.firstCreatePass&&(He(je(s,n),o,e.type),zr(o,s),Wr(s,n.length,1)),Qr(n,u),n[20]=u}(c,this.componentDef,p,a,s);if(c)if(n)ke(s,c,["ng-version",Ts.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&nr(s,c,e.join(" "))}if(m=Tt(d,20),void 0!==e){const t=m.projection=[];for(let n=0;nt(o,e)),e.contentQueries){const t=Wt();e.contentQueries(1,o,t.directiveStart)}const s=Wt();return!a.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(me(s.index),Vr(n[1],s,0,s.directiveStart,s.directiveEnd,e),Hr(e,o)),o}(t,this.componentDef,p,h,[La]),Dr(d,p,null)}finally{pe()}return new gl(this.componentType,f,ws(m,p),p,m)}}class gl extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new Ws(i),this.componentType=t}get injector(){return new $e(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const _l=new Map;class yl extends nl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new dl(this);const n=it(t),i=t[B]||null;i&&ls(i),this._bootstrapComponents=Ti(n.bootstrap),this._r3Injector=va(t,e,[{provide:nl,useValue:this},{provide:bs,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Oa.THROW_IF_NOT_FOUND,n=C.Default){return t===Oa||t===nl||t===da?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class bl extends il{constructor(t){super(),this.moduleType=t,null!==it(t)&&function(t){const e=new Set;!function t(n){const i=it(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(r,_l.get(r),n),_l.set(r,n));const a=Ti(i.imports);for(const o of a)e.has(o)||(e.add(o),t(o))}(t)}(t)}create(t){return new yl(this.moduleType,t)}}function vl(t,e,n){const i=Jt()+t,r=Ht();return r[i]===fr?Ha(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function wl(t,e,n,i){return kl(Ht(),Jt(),t,e,n,i)}function xl(t,e,n,i,r){return Dl(Ht(),Jt(),t,e,n,i,r)}function Ml(t,e,n,i,r,a){return function(t,e,n,i,r,a,o,s){const l=e+n;return Wa(t,l,r,a,o)?Ha(t,l+3,s?i.call(s,r,a,o):i(r,a,o)):Cl(t,l+3)}(Ht(),Jt(),t,e,n,i,r,a)}function Sl(t,e,n,i,r,a,o){return function(t,e,n,i,r,a,o,s,l){const c=e+n;return Ua(t,c,r,a,o,s)?Ha(t,c+4,l?i.call(l,r,a,o,s):i(r,a,o,s)):Cl(t,c+4)}(Ht(),Jt(),t,e,n,i,r,a,o)}function Cl(t,e){const n=t[e];return n===fr?void 0:n}function kl(t,e,n,i,r,a){const o=e+n;return za(t,o,r)?Ha(t,o+1,a?i.call(a,r):i(r)):Cl(t,o+1)}function Dl(t,e,n,i,r,a,o){const s=e+n;return Ba(t,s,r,a)?Ha(t,s+2,o?i.call(o,r,a):i(r,a)):Cl(t,s+2)}function Ol(t,e){const n=zt();let i;const r=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new ht("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const a=i.factory||(i.factory=ut(i.type)),o=D(Ja);try{const t=Re(!1),e=a();return Re(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Ht(),r,e),e}finally{D(o)}}function Tl(t,e,n){const i=t+20,r=Ht(),a=Lt(r,i);return Il(r,Al(r,i)?kl(r,Jt(),e,a.transform,n,a):a.transform(n))}function Ll(t,e,n,i){const r=t+20,a=Ht(),o=Lt(a,r);return Il(a,Al(a,r)?Dl(a,Jt(),e,o.transform,n,i,o):o.transform(n,i))}function Al(t,e){return t[1].data[e].pure}function Il(t,e){return Na.isWrapped(e)&&(e=Na.unwrap(e),t[$t()]=fr),e}const Pl=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,a=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(a=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(a=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(i,a,o);return t instanceof r.a&&t.add(s),s}};function El(){return this._results[ja()]()}class Rl{constructor(){this.dirty=!0,this._results=[],this.changes=new Pl,this.length=0;const t=ja(),e=Rl.prototype;e[t]||(e[t]=El)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=sn(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Yl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Yl(this.queryList)}setDirty(){this.queryList.setDirty()}}class jl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t0)i.push(o[t/2]);else{const r=a[t+1],o=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=vs,this.reject=vs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Cn(rc,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const oc=new rn("AppId"),sc={provide:oc,useFactory:function(){return`${lc()}${lc()}${lc()}`},deps:[]};function lc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const cc=new rn("Platform Initializer"),uc=new rn("Platform ID"),hc=new rn("appBootstrapListener");let dc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const pc=new rn("LocaleId"),fc=new rn("DefaultCurrencyCode");class mc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const gc=function(t){return new bl(t)},_c=gc,yc=function(t){return Promise.resolve(gc(t))},bc=function(t){const e=gc(t),n=Ti(it(t).declarations).reduce((t,e)=>{const n=nt(e);return n&&t.push(new ml(n)),t},[]);return new mc(e,n)},vc=bc,wc=function(t){return Promise.resolve(bc(t))};let xc=(()=>{class t{constructor(){this.compileModuleSync=_c,this.compileModuleAsync=yc,this.compileModuleAndAllComponentsSync=vc,this.compileModuleAndAllComponentsAsync=wc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();const Mc=(()=>Promise.resolve(0))();function Sc(t){"undefined"==typeof Zone?Mc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Cc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pl(!1),this.onMicrotaskEmpty=new Pl(!1),this.onStable=new Pl(!1),this.onError=new Pl(!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)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=Y.requestAnimationFrame,e=Y.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Y,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Oc(t),Dc(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Oc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,r,a,o,s)=>{try{return Tc(t),n.invokeTask(r,a,o,s)}finally{e&&"eventTask"===a.type&&e(),Lc(t)}},onInvoke:(e,n,i,r,a,o,s)=>{try{return Tc(t),e.invoke(i,r,a,o,s)}finally{Lc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,Oc(t),Dc(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Cc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Cc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,t,kc,vs,vs);try{return r.runTask(a,e,n)}finally{r.cancelTask(a)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const kc={};function Dc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Oc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Tc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lc(t){t._nesting--,Dc(t)}class Ac{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pl,this.onMicrotaskEmpty=new Pl,this.onStable=new Pl,this.onError=new Pl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let Ic=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Cc.assertNotInAngularZone(),Sc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Sc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Cn(Cc))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})(),Pc=(()=>{class t{constructor(){this._applications=new Map,jc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return jc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();class Ec{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Rc(t){jc=t}let Yc,jc=new Ec,Nc=!0,Fc=!1;function Vc(){return Fc=!0,Nc}function Hc(){if(Fc)throw new Error("Cannot enable prod mode after platform setup.");Nc=!1}const zc=new rn("AllowMultipleToken");class Bc{constructor(t,e){this.name=t,this.token=e}}function Wc(t,e,n=[]){const i="Platform: "+e,r=new rn(i);return(e=[])=>{let a=Uc();if(!a||a.injector.get(zc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:fa,useValue:"platform"});!function(t){if(Yc&&!Yc.destroyed&&!Yc.injector.get(zc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Yc=t.get(Gc);const e=t.get(cc,null);e&&e.forEach(t=>t())}(Oa.create({providers:t,name:i}))}return function(t){const e=Uc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Uc(){return Yc&&!Yc.destroyed?Yc:null}let Gc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Ac:("zone.js"===t?void 0:t)||new Cc({enableLongStackTrace:Vc(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:Cc,useValue:n}];return n.run(()=>{const e=Oa.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),a=r.injector.get(xi,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{a.handleError(t)}});r.onDestroy(()=>{Zc(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return so(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(a,n,()=>{const t=r.injector.get(ac);return t.runInitializers(),t.donePromise.then(()=>(ls(r.injector.get(pc,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=qc({},e);return function(t,e,n){const i=new bl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Xc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Cn(Oa))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function qc(t,e){return Array.isArray(e)?e.reduce(qc,t):Object.assign(Object.assign({},t),e)}let Xc=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new a.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new a.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Cc.assertNotInAngularZone(),Sc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Cc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,u.pipe(Object(s.a)()))}bootstrap(t,e){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.");let n;n=t instanceof _s?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(nl),r=n.create(Oa.NULL,[],e||n.selector,i),a=r.location.nativeElement,o=r.injector.get(Ic,null),s=o&&r.injector.get(Pc);return o&&s&&s.registerApplication(a,o),r.onDestroy(()=>{this.detachView(r.hostView),Zc(this.components,r),s&&s.unregisterApplication(a)}),this._loadComponent(r),Vc()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Zc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(hc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Cn(Cc),Cn(dc),Cn(Oa),Cn(xi),Cn(bs),Cn(ac))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function Zc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Kc{}class Jc{}const $c={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Qc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||$c}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>tu(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>tu(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(Cn(xc),Cn(Jc,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac}),t})();function tu(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class eu extends Gs{}class nu extends eu{}const iu=function(t){return null},ru=Wc(null,"core",[{provide:uc,useValue:"unknown"},{provide:Gc,deps:[Oa]},{provide:Pc,deps:[]},{provide:dc,deps:[]}]),au=[{provide:Xc,useClass:Xc,deps:[Cc,dc,Oa,xi,bs,ac]},{provide:fl,deps:[Cc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ac,useClass:ac,deps:[[new gn,rc]]},{provide:xc,useClass:xc,deps:[]},sc,{provide:Vs,useFactory:function(){return Zs},deps:[]},{provide:Hs,useFactory:function(){return Ks},deps:[]},{provide:pc,useFactory:function(t){return ls(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new mn(pc),new gn,new yn]]},{provide:fc,useValue:"USD"}];let ou=(()=>{class t{constructor(t){}}return t.\u0275mod=J({type:t}),t.\u0275inj=_({factory:function(e){return new(e||t)(Cn(Xc))},providers:au}),t})()},fywt:function(t,e,n){"use strict";var i=n("oSzE"),r=n("msdH"),a=function(t,e){for(var n=-1,i=null==t?0:t.length;++nu))return!1;var d=l.get(t),p=l.get(e);if(d&&p)return d==e&&p==t;var f=-1,m=!0,g=2&n?new r.a:void 0;for(l.set(t,e),l.set(e,t);++f10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},hZOD:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL");let r=(()=>{class t{transform(t,e){return t instanceof Array?t.map(t=>t[e]):t?t[e]:void 0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Nb({name:"field",type:t,pure:!0}),t})()},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},iadO:function(t,e,n){"use strict";n.d(e,"a",function(){return K}),n.d(e,"b",function(){return gt}),n.d(e,"c",function(){return _t}),n.d(e,"d",function(){return Vt}),n.d(e,"e",function(){return jt}),n.d(e,"f",function(){return xt}),n.d(e,"g",function(){return Tt}),n.d(e,"h",function(){return B}),n.d(e,"i",function(){return Ht}),n.d(e,"j",function(){return At}),n.d(e,"k",function(){return Yt}),n.d(e,"l",function(){return Rt}),n.d(e,"m",function(){return ft});var i=n("u47x"),r=n("rDax"),a=n("+rOU"),o=n("ofXK"),s=n("fXoL"),l=n("bTqV"),c=n("0IaG"),u=n("vxfF"),h=n("FKr1"),d=n("XNiG"),p=n("quSY"),f=n("VRyK"),m=n("LRne"),g=n("FtGj"),_=n("IzEk"),y=n("JX91"),b=n("pLZG"),v=n("8LU1"),w=n("R0Ic"),x=n("3Pt+"),M=n("kmnG"),S=n("qFsG"),C=n("cH1L");const k=["mat-calendar-body",""];function D(t,e){if(1&t&&(s.Ub(0,"tr",2),s.Ub(1,"td",3),s.Hc(2),s.Tb(),s.Tb()),2&t){const t=s.fc();s.Cb(1),s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t.numCols),s.Cb(1),s.Jc(" ",t.label," ")}}function O(t,e){if(1&t&&(s.Ub(0,"td",7),s.Hc(1),s.Tb()),2&t){const t=s.fc(2);s.Cc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),s.Db("colspan",t._firstRowOffset),s.Cb(1),s.Jc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function T(t,e){if(1&t){const t=s.Vb();s.Ub(0,"td",8),s.bc("click",function(n){s.wc(t);const i=e.$implicit;return s.fc(2)._cellClicked(i,n)}),s.Ub(1,"div",9),s.Hc(2),s.Tb(),s.Pb(3,"div",10),s.Tb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc().index,r=s.fc();s.Cc("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),s.Gb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",r._isActiveCell(i,n))("mat-calendar-body-range-start",r._isRangeStart(t.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",r._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",r._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",r._isInPreview(t.compareValue)),s.lc("ngClass",t.cssClasses)("tabindex",r._isActiveCell(i,n)?0:-1),s.Db("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",r._isSelected(t.compareValue)),s.Cb(1),s.Gb("mat-calendar-body-selected",r._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",r.todayValue===t.compareValue),s.Cb(1),s.Jc(" ",t.displayValue," ")}}function L(t,e){if(1&t&&(s.Ub(0,"tr",4),s.Fc(1,O,2,6,"td",5),s.Fc(2,T,4,46,"td",6),s.Tb()),2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Cb(1),s.lc("ngIf",0===n&&i._firstRowOffset),s.Cb(1),s.lc("ngForOf",t)}}function A(t,e){if(1&t&&(s.Ub(0,"th",5),s.Hc(1),s.Tb()),2&t){const t=e.$implicit;s.Db("aria-label",t.long),s.Cb(1),s.Ic(t.narrow)}}const I=["*"];function P(t,e){}function E(t,e){if(1&t){const t=s.Vb();s.Ub(0,"mat-month-view",5),s.bc("activeDateChange",function(e){return s.wc(t),s.fc().activeDate=e})("_userSelection",function(e){return s.wc(t),s.fc()._dateSelected(e)}),s.Tb()}if(2&t){const t=s.fc();s.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function R(t,e){if(1&t){const t=s.Vb();s.Ub(0,"mat-year-view",6),s.bc("activeDateChange",function(e){return s.wc(t),s.fc().activeDate=e})("monthSelected",function(e){return s.wc(t),s.fc()._monthSelectedInYearView(e)})("selectedChange",function(e){return s.wc(t),s.fc()._goToDateInView(e,"month")}),s.Tb()}if(2&t){const t=s.fc();s.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function Y(t,e){if(1&t){const t=s.Vb();s.Ub(0,"mat-multi-year-view",7),s.bc("activeDateChange",function(e){return s.wc(t),s.fc().activeDate=e})("yearSelected",function(e){return s.wc(t),s.fc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return s.wc(t),s.fc()._goToDateInView(e,"year")}),s.Tb()}if(2&t){const t=s.fc();s.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}const j=["button"];function N(t,e){1&t&&(s.ec(),s.Ub(0,"svg",3),s.Pb(1,"path",4),s.Tb())}const F=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"],H=[[["input","matStartDate",""]],[["input","matEndDate",""]]],z=["input[matStartDate]","input[matEndDate]"];let B=(()=>{class t{constructor(){this.changes=new d.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class W{constructor(t,e,n,i,r={},a=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=a,this.rawValue=o}}let U=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.o,this.previewChange=new s.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&G(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return q(t,this.startValue,this.endValue)}_isRangeEnd(t){return X(t,this.startValue,this.endValue)}_isInRange(t){return Z(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return q(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return X(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return Z(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return q(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return X(t,this.previewStart,this.previewEnd)}_isInPreview(t){return Z(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(G(t)?e=t:G(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.B))},t.\u0275cmp=s.Ib({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[s.Ab],attrs:k,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(s.Fc(0,D,3,6,"tr",0),s.Fc(1,L,3,2,"tr",1)),2&t&&(s.lc("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),t})();function G(t){return"TD"===t.nodeName}function q(t,e,n){return null!==n&&e!==n&&t=e&&t===n}function Z(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class K{constructor(t,e){this.start=t,this.end=e}}let J=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new d.a,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(void 0),s.Ob(h.c))},t.\u0275dir=s.Jb({type:t}),t})(),$=(()=>{class t extends J{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(h.c))},t.\u0275prov=s.Kb({token:t,factory:t.\u0275fac}),t})(),Q=(()=>{class t extends J{constructor(t){super(new K(null,null),t)}add(t){let{start:e,end:n}=this.selection;null==e?e=t:null==n?n=t:(e=t,n=null),super.updateSelection(new K(e,n),this)}isValid(){const{start:t,end:e}=this.selection;return null==t&&null==e||(null!=t&&null!=e?this._isValidDateInstance(t)&&this._isValidDateInstance(e)&&this._adapter.compareDate(t,e)<=0:(null==t||this._isValidDateInstance(t))&&(null==e||this._isValidDateInstance(e)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(h.c))},t.\u0275prov=s.Kb({token:t,factory:t.\u0275fac}),t})();const tt={provide:J,deps:[[new s.C,new s.L,J],h.c],useFactory:function(t,e){return t||new $(e)}},et={provide:J,deps:[[new s.C,new s.L,J],h.c],useFactory:function(t,e){return t||new Q(e)}},nt=new s.s("MAT_DATE_RANGE_SELECTION_STRATEGY");let it=(()=>{class t{constructor(t){this._dateAdapter=t}selectionFinished(t,e){let{start:n,end:i}=e;return null==n?n=t:null==i&&t&&this._dateAdapter.compareDate(t,n)>=0?i=t:(n=t,i=null),new K(n,i)}createPreview(t,e){let n=null,i=null;return e.start&&!e.end&&t&&(n=e.start,i=t),new K(n,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(h.c))},t.\u0275prov=s.Kb({token:t,factory:t.\u0275fac}),t})();const rt={provide:nt,deps:[[new s.C,new s.L,nt],h.c],useFactory:function(t,e){return t||new it(e)}};let at=(()=>{class t{constructor(t,e,n,i,r){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=r,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new s.o,this._userSelection=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof K?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,e);let a,o;this._selected instanceof K?(a=this._getDateInCurrentMonth(this._selected.start),o=this._getDateInCurrentMonth(this._selected.end)):a=o=this._getDateInCurrentMonth(this._selected),a===e&&o===e||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case g.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case g.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case g.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case g.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case g.f:case g.n:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case g.g:return void(null==this._previewEnd||Object(g.s)(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof K?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.h),s.Ob(h.e,8),s.Ob(h.c,8),s.Ob(C.b,8),s.Ob(nt,8))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&s.Oc(U,!0),2&t){let t;s.tc(t=s.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[s.Ab],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(s.Ub(0,"table",0),s.Ub(1,"thead",1),s.Ub(2,"tr"),s.Fc(3,A,2,2,"th",2),s.Tb(),s.Ub(4,"tr"),s.Pb(5,"th",3),s.Tb(),s.Tb(),s.Ub(6,"tbody",4),s.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),s.Tb(),s.Tb()),2&t&&(s.Cb(3),s.lc("ngForOf",e._weekdays),s.Cb(3),s.lc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[o.m,U],encapsulation:2,changeDetection:0}),t})(),ot=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new s.o,this.yearSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),st(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof K?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case g.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case g.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case g.f:case g.n:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return lt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new W(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,n,i){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=p.a.EMPTY,this.selectedChange=new s.o,this.monthSelected=new s.o,this.activeDateChange=new s.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof K?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(y.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case g.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case g.m:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case g.p:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case g.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case g.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case g.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case g.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case g.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case g.f:case g.n:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new W(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),r)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+ht++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-lt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):st(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(B),s.Ob(Object(s.V)(()=>pt)),s.Ob(h.c,8),s.Ob(h.e,8),s.Ob(s.h))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:I,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(s.kc(),s.Ub(0,"div",0),s.Ub(1,"div",1),s.Ub(2,"button",2),s.bc("click",function(){return e.currentPeriodClicked()}),s.Ub(3,"span"),s.Hc(4),s.Tb(),s.Pb(5,"div",3),s.Tb(),s.Pb(6,"div",4),s.jc(7),s.Ub(8,"button",5),s.bc("click",function(){return e.previousClicked()}),s.Tb(),s.Ub(9,"button",6),s.bc("click",function(){return e.nextClicked()}),s.Tb(),s.Tb(),s.Tb()),2&t&&(s.Cb(2),s.Db("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),s.Cb(1),s.Db("id",e._buttonDescriptionId),s.Cb(1),s.Ic(e.periodButtonText),s.Cb(1),s.Gb("mat-calendar-invert","month"!==e.calendar.currentView),s.Cb(3),s.lc("disabled",!e.previousEnabled()),s.Db("aria-label",e.prevButtonLabel),s.Cb(1),s.lc("disabled",!e.nextEnabled()),s.Db("aria-label",e.nextButtonLabel))},directives:[l.a,i.d],encapsulation:2,changeDetection:0}),t})(),pt=(()=>{class t{constructor(t,e,n,i){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new s.o,this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this._userSelection=new s.o,this.stateChanges=new d.a,this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof K?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new a.d(this.headerComponent||dt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof K||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(B),s.Ob(h.c,8),s.Ob(h.e,8),s.Ob(s.h))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(s.Oc(at,!0),s.Oc(ut,!0),s.Oc(ot,!0)),2&t){let t;s.tc(t=s.cc())&&(e.monthView=t.first),s.tc(t=s.cc())&&(e.yearView=t.first),s.tc(t=s.cc())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[s.Bb([tt]),s.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(s.Fc(0,P,0,0,"ng-template",0),s.Ub(1,"div",1),s.Fc(2,E,1,8,"mat-month-view",2),s.Fc(3,R,1,6,"mat-year-view",3),s.Fc(4,Y,1,6,"mat-multi-year-view",4),s.Tb()),2&t&&(s.lc("cdkPortalOutlet",e._calendarHeaderPortal),s.Cb(1),s.lc("ngSwitch",e.currentView),s.Cb(1),s.lc("ngSwitchCase","month"),s.Cb(1),s.lc("ngSwitchCase","year"),s.Cb(1),s.lc("ngSwitchCase","multi-year"))},directives:[a.c,i.e,o.p,o.q,at,ut,ot],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),t})();const ft={transformPanel:Object(w.m)("transformPanel",[Object(w.j)("void",Object(w.k)({opacity:0,transform:"scale(1, 0.8)"})),Object(w.l)("void => enter",Object(w.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(w.k)({opacity:1,transform:"scale(1, 1)"}))),Object(w.l)("* => void",Object(w.e)("100ms linear",Object(w.k)({opacity:0})))]),fadeInCalendar:Object(w.m)("fadeInCalendar",[Object(w.j)("void",Object(w.k)({opacity:0})),Object(w.j)("enter",Object(w.k)({opacity:1})),Object(w.l)("void => *",Object(w.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let mt=0;const gt=new s.s("mat-datepicker-scroll-strategy"),_t={provide:gt,deps:[r.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class yt{constructor(t){this._elementRef=t}}const bt=Object(h.y)(yt);let vt=(()=>{class t extends bt{constructor(t,e,n,i,r,a){super(t),this._changeDetectorRef=e,this._model=n,this._dateAdapter=i,this._rangeSelectionStrategy=r,this._subscriptions=new p.a,this._animationState="enter",this._animationDone=new d.a,this._closeButtonText=(null==a?void 0:a.closeCalendarLabel)||"Close calendar"}ngAfterViewInit(){this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof K;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(J),s.Ob(h.c),s.Ob(nt,8),s.Ob(B))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&s.Oc(pt,!0),2&t){let t;s.tc(t=s.cc())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&s.Dc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(s.Ec("@transformPanel",e._animationState),s.Gb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.zb],decls:4,vars:16,consts:[["cdkTrapFocus",""],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],["type","button","mat-raised-button","","color","primary",1,"mat-datepicker-close-button",3,"focus","blur","click"]],template:function(t,e){1&t&&(s.Ub(0,"div",0),s.Ub(1,"mat-calendar",1),s.bc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),s.Tb(),s.Ub(2,"button",2),s.bc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),s.Hc(3),s.Tb(),s.Tb()),2&t&&(s.Cb(1),s.lc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),s.Cb(1),s.Gb("cdk-visually-hidden",!e._closeButtonFocused),s.Cb(1),s.Ic(e._closeButtonText))},directives:[i.f,pt,o.l,l.a],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[ft.transformPanel,ft.fadeInCalendar]},changeDetection:0}),t})(),wt=(()=>{class t{constructor(t,e,n,i,r,a,o,l,c){this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=a,this._dir=o,this._document=l,this._model=c,this._inputStateChanges=p.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new s.o,this.monthSelected=new s.o,this.viewChanged=new s.o(!0),this.openedStream=new s.o,this.closedStream=new s.o,this._opened=!1,this.id="mat-datepicker-"+mt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new d.a,this._scrollStrategy=r}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(v.c)(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(v.c)(t);e!==this._disabled&&(this._disabled=e,this._stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=Object(v.g)(t)}get opened(){return this._opened}set opened(t){Object(v.c)(t)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}_registerInput(t){return this._inputStateChanges.unsubscribe(),this._datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(_.a)(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(vt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const t=new a.d(vt,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(t){t.datepicker=this,t.color=this.color}_createPopup(){const t=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),e=new r.d({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(f.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(b.a)(t=>t.keyCode===g.g&&!Object(g.s)(t)||this._datepickerInput&&Object(g.s)(t,"altKey")&&t.keyCode===g.p))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(c.b),s.Ob(r.c),s.Ob(s.B),s.Ob(s.R),s.Ob(gt),s.Ob(h.c,8),s.Ob(C.b,8),s.Ob(o.d,8),s.Ob(J))},t.\u0275dir=s.Jb({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[s.Ab]}),t})(),xt=(()=>{class t extends wt{}return t.\u0275fac=function(e){return Mt(e||t)},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s.Bb([tt]),s.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const Mt=s.Wb(xt);class St{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let Ct=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new s.o,this.dateInput=new s.o,this._valueChange=new s.o,this.stateChanges=new d.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=p.a.EMPTY,this._localeSubscription=p.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t);const e=this.value;this._assignValue(t),this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=Object(v.c)(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(t.source!==this){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this._canEmitChangeEvent(t)&&(this.dateInput.emit(new St(this,this._elementRef.nativeElement)),this.dateChange.emit(new St(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){kt(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===g.d&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new St(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new St(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(h.c,8),s.Ob(h.e,8))},t.\u0275dir=s.Jb({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.Ab]}),t})();function kt(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:r}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(r))return!0;if(!e.sameDate(n,r))return!0}return!1}const Dt={provide:x.l,useExisting:Object(s.V)(()=>Tt),multi:!0},Ot={provide:x.k,useExisting:Object(s.V)(()=>Tt),multi:!0};let Tt=(()=>{class t extends Ct{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._validator=x.u.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._registerModel(t._registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(h.c,8),s.Ob(h.e,8),s.Ob(M.a,8))},t.\u0275dir=s.Jb({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&s.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(s.Xb("disabled",e.disabled),s.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s.Bb([Dt,Ot,{provide:S.a,useExisting:t}]),s.zb]}),t})(),Lt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Jb({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),At=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=p.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=Object(v.c)(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._stateChanges:Object(m.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:Object(m.a)(),n=this.datepicker?Object(f.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(m.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(f.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(B),s.Ob(s.h),s.Zb("tabindex"))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&s.Hb(n,Lt,!0),2&t){let t;s.tc(t=s.cc())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&s.Oc(j,!0),2&t){let t;s.tc(t=s.cc())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&s.bc("focus",function(){return e._button.focus()}),2&t&&(s.Db("tabindex",e.disabled?null:-1)("data-mat-calendar",e.datepicker?e.datepicker.id:null),s.Gb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.Ab],ngContentSelectors:V,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(t,e){1&t&&(s.kc(F),s.Ub(0,"button",0,1),s.bc("click",function(t){return e._open(t)}),s.Fc(2,N,2,0,"svg",2),s.jc(3),s.Tb()),2&t&&(s.lc("disabled",e.disabled)("disableRipple",e.disableRipple),s.Db("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),s.Cb(2),s.lc("ngIf",!e._customIcon))},directives:[l.a,o.n],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})();const It=new s.s("MAT_DATE_RANGE_INPUT_PARENT");let Pt=(()=>{class t extends Ct{constructor(t,e,n,i,r,a,o,s){super(e,o,s),this._rangeInput=t,this._defaultErrorStateMatcher=n,this._injector=i,this._parentForm=r,this._parentFormGroup=a,this._outsideValueChanged=()=>{this._validatorOnChange()}}ngOnInit(){const t=this._injector.get(x.m,null,s.r.Self);t&&(this.ngControl=t)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(t){super._onInput(t),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(It),s.Ob(s.l),s.Ob(h.d),s.Ob(s.t),s.Ob(x.p,8),s.Ob(x.g,8),s.Ob(h.c,8),s.Ob(h.e,8))},t.\u0275dir=s.Jb({type:t,features:[s.zb]}),t})();const Et=Object(h.B)(Pt);let Rt=(()=>{class t extends Et{constructor(t,e,n,i,r,a,o,s){super(t,e,n,i,r,a,o,s),this._startValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._model?this._model.selection.end:null;return!e||!n||this._dateAdapter.compareDate(e,n)<=0?null:{matStartDateInvalid:{end:n,actual:e}}},this._validator=x.u.compose([...super._getValidators(),this._startValidator]),this._canEmitChangeEvent=t=>t.source!==this._rangeInput._endInput}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(t){return t.start}_assignValueToModel(t){if(this._model){const e=new K(t,this._model.selection.end);this._model.updateSelection(e,this),this._cvaOnChange(t)}}_formatValue(t){super._formatValue(t),this._rangeInput._handleChildValueChange()}getMirrorValue(){const t=this._elementRef.nativeElement,e=t.value;return e.length>0?e:t.placeholder}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(It),s.Ob(s.l),s.Ob(h.d),s.Ob(s.t),s.Ob(x.p,8),s.Ob(x.g,8),s.Ob(h.c,8),s.Ob(h.e,8))},t.\u0275dir=s.Jb({type:t,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(t,e){1&t&&s.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(s.Xb("disabled",e.disabled),s.Db("id",e._rangeInput.id)("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.Bb([{provide:x.l,useExisting:t,multi:!0},{provide:x.k,useExisting:t,multi:!0}]),s.zb]}),t})(),Yt=(()=>{class t extends Et{constructor(t,e,n,i,r,a,o,s){super(t,e,n,i,r,a,o,s),this._endValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._model?this._model.selection.start:null;return!e||!n||this._dateAdapter.compareDate(e,n)>=0?null:{matEndDateInvalid:{start:n,actual:e}}},this._validator=x.u.compose([...super._getValidators(),this._endValidator]),this._canEmitChangeEvent=t=>t.source!==this._rangeInput._startInput}ngOnInit(){super.ngOnInit()}ngDoCheck(){super.ngDoCheck()}_getValueFromModel(t){return t.end}_assignValueToModel(t){if(this._model){const e=new K(this._model.selection.start,t);this._model.updateSelection(e,this),this._cvaOnChange(t)}}_onKeydown(t){t.keyCode!==g.b||this._elementRef.nativeElement.value||this._rangeInput._startInput.focus(),super._onKeydown(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(It),s.Ob(s.l),s.Ob(h.d),s.Ob(s.t),s.Ob(x.p,8),s.Ob(x.g,8),s.Ob(h.c,8),s.Ob(h.e,8))},t.\u0275dir=s.Jb({type:t,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(t,e){1&t&&s.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("keydown",function(t){return e._onKeydown(t)})("blur",function(){return e._onBlur()}),2&t&&(s.Xb("disabled",e.disabled),s.Db("aria-haspopup",e._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==e._rangeInput.rangePicker?null:e._rangeInput.rangePicker.opened)&&e._rangeInput.rangePicker.id||null)("min",e._getMinDate()?e._dateAdapter.toIso8601(e._getMinDate()):null)("max",e._getMaxDate()?e._dateAdapter.toIso8601(e._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.Bb([{provide:x.l,useExisting:t,multi:!0},{provide:x.k,useExisting:t,multi:!0}]),s.zb]}),t})(),jt=(()=>{class t extends wt{_forwardContentValues(t){super._forwardContentValues(t);const e=this._datepickerInput;e&&(t.comparisonStart=e.comparisonStart,t.comparisonEnd=e.comparisonEnd)}}return t.\u0275fac=function(e){return Nt(e||t)},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[s.Bb([et,rt]),s.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const Nt=s.Wb(jt);let Ft=0,Vt=(()=>{class t{constructor(t,e,n,i,r){this._changeDetectorRef=t,this._elementRef=e,this._dateAdapter=i,this._formField=r,this.id="mat-date-range-input-"+Ft++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new d.a,this.ngControl=n}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var t,e;const n=(null===(t=this._startInput)||void 0===t?void 0:t._getPlaceholder())||"",i=(null===(e=this._endInput)||void 0===e?void 0:e._getPlaceholder())||"";return n||i?`${n} ${this.separator} ${i}`:""}get rangePicker(){return this._rangePicker}set rangePicker(t){t&&(this._model=t._registerInput(this),this._rangePicker=t,this._registerModel(this._model))}get required(){return!!this._required}set required(t){this._required=Object(v.c)(t)}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._startInput,n=this._endInput,i=e&&e._matchesFilter(e.value),r=n&&n._matchesFilter(e.value);this._dateFilter=t,e&&e._matchesFilter(e.value)!==i&&e._validatorOnChange(),n&&n._matchesFilter(n.value)!==r&&n._validatorOnChange()}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._revalidate())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(t){const e=Object(v.c)(t);e!==this._groupDisabled&&(this._groupDisabled=e,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const t=!!this._startInput&&this._startInput.isEmpty(),e=!!this._endInput&&this._endInput.isEmpty();return t&&e}setDescribedByIds(t){this._ariaDescribedBy=t.length?t.join(" "):null}onContainerClick(){this.focused||this.disabled||(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),Object(f.a)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(t){kt(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}_getInputMirrorValue(){return this._startInput?this._startInput.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField._hideControlPlaceholder())&&this.empty}_getAriaLabelledby(){const t=this._formField;return t&&t._hasFloatingLabel()?t._labelId:null}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(t){this._startInput&&this._startInput._registerModel(t),this._endInput&&this._endInput._registerModel(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.h),s.Ob(s.l),s.Ob(x.b,10),s.Ob(h.c,8),s.Ob(M.a,8))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-date-range-input"]],contentQueries:function(t,e,n){if(1&t&&(s.Hb(n,Rt,!0),s.Hb(n,Yt,!0)),2&t){let t;s.tc(t=s.cc())&&(e._startInput=t.first),s.tc(t=s.cc())&&(e._endInput=t.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(t,e){2&t&&(s.Db("id",null)("aria-labelledby",e._getAriaLabelledby())("aria-describedby",e._ariaDescribedBy)("data-mat-calendar",e.rangePicker?e.rangePicker.id:null),s.Gb("mat-date-range-input-hide-placeholders",e._shouldHidePlaceholders())("mat-date-range-input-required",e.required))},inputs:{separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled"},exportAs:["matDateRangeInput"],features:[s.Bb([{provide:M.c,useExisting:t},{provide:It,useExisting:t}]),s.Ab],ngContentSelectors:z,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(t,e){1&t&&(s.kc(H),s.Ub(0,"div",0),s.bc("cdkFocusChange",function(t){return e.focused=null!==t}),s.Ub(1,"div",1),s.jc(2),s.Ub(3,"span",2),s.Hc(4),s.Tb(),s.Tb(),s.Ub(5,"span",3),s.Hc(6),s.Tb(),s.Ub(7,"div",4),s.jc(8,1),s.Tb(),s.Tb()),2&t&&(s.Cb(4),s.Ic(e._getInputMirrorValue()),s.Cb(1),s.Gb("mat-date-range-input-separator-hidden",e._shouldHideSeparator()),s.Cb(1),s.Ic(e.separator))},directives:[i.e],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner::-ms-clear,.mat-date-range-input-inner::-ms-reveal{display:none}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),t})(),Ht=(()=>{class t{}return t.\u0275mod=s.Mb({type:t}),t.\u0275inj=s.Lb({factory:function(e){return new(e||t)},providers:[B,_t],imports:[[o.c,l.b,c.f,r.f,i.a,a.g,h.j],u.b]}),t})()},itXk:function(t,e,n){"use strict";n.d(e,"b",function(){return p}),n.d(e,"a",function(){return f});var i=n("z+Ro"),r=n("DH7j"),a=n("7o/Q");class o extends a.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class s extends a.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function u(t,e,n,i,r=new s(t,n,i)){if(!r.closed)return e instanceof c.a?e.subscribe(r):Object(l.a)(e)(r)}var h=n("yCtX");const d={};function p(...t){let e=void 0,n=void 0;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(h.a)(t,n).lift(new f(e))}class f{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new m(t,this.resultSelector))}}class m extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function r(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function a(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:a,M:"miesi\u0105c",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("quSY");function a(t,e){return new i.a(n=>{const i=new r.a;let a=0;return i.add(e.schedule(function(){a!==t.length?(n.next(t[a++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jhN1:function(t,e,n){"use strict";n.d(e,"a",function(){return j}),n.d(e,"b",function(){return A}),n.d(e,"c",function(){return F}),n.d(e,"d",function(){return R}),n.d(e,"e",function(){return w});var i=n("ofXK"),r=n("fXoL");class a extends i.y{constructor(){super()}supportsDOMEvents(){return!0}}class o extends a{static makeCurrent(){Object(i.C)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,s||(s=document.createElement("a")),s.setAttribute("href",n),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.B)(document.cookie,t)}}let s,l=null;const c=new r.s("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.A)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,r.t],multi:!0}];class h{static init(){Object(r.Z)(new h)}addToWindow(t){r.rb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.rb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.rb.getAllAngularRootElements=()=>t.getAllRootElements(),r.rb.frameworkStabilizers||(r.rb.frameworkStabilizers=[]),r.rb.frameworkStabilizers.push(t=>{const e=r.rb.getAllAngularTestabilities();let n=e.length,i=!1;const a=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(a)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(i.A)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new r.s("EventManagerPlugins");let p=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.A)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const _={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/"},y=/%COMP%/g;function b(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new x(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.S.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new M(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.S.ShadowDom:return new S(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=b(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(p),r.Yb(g),r.Yb(r.c))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();class x{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(_[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=_[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=_[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(r.I.DashCase|r.I.Important)?t.style.setProperty(e,n,i&r.I.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.I.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class M extends x{constructor(t,e,n,i){super(t),this.component=n;const r=b(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class S extends x{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=b(i.id,i.styles,[]);for(let a=0;a{class t extends f{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const k=["alt","control","meta","shift"],D={"\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"},O={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"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let L=(()=>{class t extends f{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const a=t.parseEventName(n),o=t.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.A)().onAndCancel(e,a.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let a="";if(k.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),a+=t+".")}),a+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=a,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&O.hasOwnProperty(e)&&(e=O[e]))}return D[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(i=>{i!=n&&(0,T[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return Object(r.Yb)(P)},token:t,providedIn:"root"}),t})();function I(t){return new P(t.get(i.d))}let P=(()=>{class t extends A{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.K.NONE:return e;case r.K.HTML:return Object(r.fb)(e,"HTML")?Object(r.yb)(e):Object(r.db)(this._doc,String(e));case r.K.STYLE:return Object(r.fb)(e,"Style")?Object(r.yb)(e):e;case r.K.SCRIPT:if(Object(r.fb)(e,"Script"))return Object(r.yb)(e);throw new Error("unsafe value used in a script context");case r.K.URL:return Object(r.qb)(e),Object(r.fb)(e,"URL")?Object(r.yb)(e):Object(r.eb)(String(e));case r.K.RESOURCE_URL:if(Object(r.fb)(e,"ResourceURL"))return Object(r.yb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r.gb)(t)}bypassSecurityTrustStyle(t){return Object(r.jb)(t)}bypassSecurityTrustScript(t){return Object(r.ib)(t)}bypassSecurityTrustUrl(t){return Object(r.kb)(t)}bypassSecurityTrustResourceUrl(t){return Object(r.hb)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return I(Object(r.Yb)(r.p))},token:t,providedIn:"root"}),t})();const E=[{provide:r.D,useValue:i.z},{provide:r.E,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(r.wb)(document),document},deps:[]}],R=Object(r.T)(r.Y,"browser",E),Y=[[],{provide:r.bb,useValue:"root"},{provide:r.n,useFactory:function(){return new r.n},deps:[]},{provide:d,useClass:C,multi:!0,deps:[i.d,r.B,r.D]},{provide:d,useClass:L,multi:!0,deps:[i.d]},[],{provide:w,useClass:w,deps:[p,g,r.c]},{provide:r.H,useExisting:w},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[i.d]},{provide:r.O,useClass:r.O,deps:[r.B]},{provide:p,useClass:p,deps:[d,r.B]},[]];let j=(()=>{class t{constructor(t){if(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.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:c,useExisting:r.c},u]}}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(t,12))},providers:Y,imports:[i.c,r.f]}),t})();function N(){return new F(Object(r.Yb)(i.d))}let F=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d))},t.\u0275prov=Object(r.Kb)({factory:N,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,n,a,o){var s=i(e),l=r[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var i=n("XNiG"),r=n("3N8a");class a extends r.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class s extends o.a{}const l=new s(a);var c=n("quSY"),u=n("7o/Q"),h=n("WMd4");class d extends u.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new p(t,this.destination)))}_next(t){this.scheduleMessage(h.a.createNext(t))}_error(t){this.scheduleMessage(h.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(h.a.createComplete()),this.unsubscribe()}}class p{constructor(t,e){this.notification=t,this.destination=e}}var f=n("9ppp"),m=n("Ylt2");class g extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new _(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let a;if(this.closed)throw new f.a;if(this.isStopped||this.hasError?a=c.a.EMPTY:(this.observers.push(t),a=new m.a(this,t)),i&&t.add(t=new d(t,i)),e)for(let o=0;oe&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}class _{constructor(t,e){this.time=t,this.value=e}}},"k7+O":function(t,e,n){!function(){"use strict";var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=t.exports,i=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=n.length,a={};i=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kmnG:function(t,e,n){"use strict";n.d(e,"a",function(){return X}),n.d(e,"b",function(){return Z}),n.d(e,"c",function(){return j}),n.d(e,"d",function(){return K}),n.d(e,"e",function(){return F}),n.d(e,"f",function(){return B});var i=n("GU7r"),r=n("ofXK"),a=n("fXoL"),o=n("FKr1"),s=n("8LU1"),l=n("XNiG"),c=n("VRyK"),u=n("xgIS"),h=n("JX91"),d=n("1G5W"),p=n("IzEk"),f=n("R0Ic"),m=n("R1ws"),g=n("cH1L"),_=n("nLfN");const y=["underline"],b=["connectionContainer"],v=["inputContainer"],w=["label"];function x(t,e){1&t&&(a.Sb(0),a.Ub(1,"div",14),a.Pb(2,"div",15),a.Pb(3,"div",16),a.Pb(4,"div",17),a.Tb(),a.Ub(5,"div",18),a.Pb(6,"div",15),a.Pb(7,"div",16),a.Pb(8,"div",17),a.Tb(),a.Rb())}function M(t,e){1&t&&(a.Ub(0,"div",19),a.jc(1,1),a.Tb())}function S(t,e){if(1&t&&(a.Sb(0),a.jc(1,2),a.Ub(2,"span"),a.Hc(3),a.Tb(),a.Rb()),2&t){const t=a.fc(2);a.Cb(3),a.Ic(t._control.placeholder)}}function C(t,e){1&t&&a.jc(0,3,["*ngSwitchCase","true"])}function k(t,e){1&t&&(a.Ub(0,"span",23),a.Hc(1," *"),a.Tb())}function D(t,e){if(1&t){const t=a.Vb();a.Ub(0,"label",20,21),a.bc("cdkObserveContent",function(){return a.wc(t),a.fc().updateOutlineGap()}),a.Fc(2,S,4,1,"ng-container",12),a.Fc(3,C,1,0,"ng-content",12),a.Fc(4,k,2,0,"span",22),a.Tb()}if(2&t){const t=a.fc();a.Gb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),a.lc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),a.Db("for",t._control.id)("aria-owns",t._control.id),a.Cb(2),a.lc("ngSwitchCase",!1),a.Cb(1),a.lc("ngSwitchCase",!0),a.Cb(1),a.lc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function O(t,e){1&t&&(a.Ub(0,"div",24),a.jc(1,4),a.Tb())}function T(t,e){if(1&t&&(a.Ub(0,"div",25,26),a.Pb(2,"span",27),a.Tb()),2&t){const t=a.fc();a.Cb(2),a.Gb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function L(t,e){if(1&t&&(a.Ub(0,"div"),a.jc(1,5),a.Tb()),2&t){const t=a.fc();a.lc("@transitionMessages",t._subscriptAnimationState)}}function A(t,e){if(1&t&&(a.Ub(0,"div",31),a.Hc(1),a.Tb()),2&t){const t=a.fc(2);a.lc("id",t._hintLabelId),a.Cb(1),a.Ic(t.hintLabel)}}function I(t,e){if(1&t&&(a.Ub(0,"div",28),a.Fc(1,A,2,2,"div",29),a.jc(2,6),a.Pb(3,"div",30),a.jc(4,7),a.Tb()),2&t){const t=a.fc();a.lc("@transitionMessages",t._subscriptAnimationState),a.Cb(1),a.lc("ngIf",t.hintLabel)}}const P=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],E=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],R=new a.s("MatError"),Y={transitionMessages:Object(f.m)("transitionMessages",[Object(f.j)("enter",Object(f.k)({opacity:1,transform:"translateY(0%)"})),Object(f.l)("void => enter",[Object(f.k)({opacity:0,transform:"translateY(-100%)"}),Object(f.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t}),t})();const N=new a.s("MatHint");let F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-label"]]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["mat-placeholder"]]}),t})();const H=new a.s("MatPrefix"),z=new a.s("MatSuffix");let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Jb({type:t,selectors:[["","matSuffix",""]],features:[a.Bb([{provide:z,useExisting:t}])]}),t})(),W=0;class U{constructor(t){this._elementRef=t}}const G=Object(o.y)(U,"primary"),q=new a.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new a.s("MatFormField");let Z=(()=>{class t extends G{constructor(t,e,n,i,r,a,o,s){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=a,this._ngZone=o,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+W++,this._labelId="mat-form-field-label-"+W++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==s,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(s.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(h.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(d.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(d.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(u.a)(this._label.nativeElement,"transitionend").pipe(Object(p.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const a=this._getStartEnd(r),o=t.children,s=this._getStartEnd(o[0].getBoundingClientRect());let l=0;for(let t=0;t0?.75*l+10:0}for(let o=0;o{class t{}return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)},imports:[[r.c,o.j,i.c],o.j]}),t})()},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}class a{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mkut:function(t,e,n){"use strict";var i=n("7gMY"),r=n("pyRK"),a=n("U6JX"),o=Object(a.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty,l=n("5WsY");e.a=function(t){return Object(l.a)(t)?Object(i.a)(t):function(t){if(!Object(r.a)(t))return o(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}(t)}},mrSG:function(t,e,n){"use strict";function i(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}function r(t,e){return function(n,i){e(n,i,t)}}function a(t,e,n,i){return new(n||(n=Promise))(function(r,a){function o(t){try{l(i.next(t))}catch(e){a(e)}}function s(t){try{l(i.throw(t))}catch(e){a(e)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,s)}l((i=i.apply(t,e||[])).next())})}n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"a",function(){return a})},msdH:function(t,e,n){"use strict";var i=n("DlmY");function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i.a;++e=t.labelMinRequiredCells?t.label:""," ")}}function L(t,e){if(1&t){const t=r.Vb();r.Ub(0,"td",8),r.bc("click",function(n){r.wc(t);const i=e.$implicit;return r.fc(2)._cellClicked(i,n)}),r.Ub(1,"div",9),r.Hc(2),r.Tb(),r.Pb(3,"div",10),r.Tb()}if(2&t){const t=e.$implicit,n=e.index,i=r.fc().index,a=r.fc();r.Cc("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),r.Gb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",a._isActiveCell(i,n))("mat-calendar-body-range-start",a._isRangeStart(t.compareValue))("mat-calendar-body-range-end",a._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",a._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",a._isComparisonBridgeStart(t.compareValue,i,n))("mat-calendar-body-comparison-bridge-end",a._isComparisonBridgeEnd(t.compareValue,i,n))("mat-calendar-body-comparison-start",a._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",a._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",a._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",a._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",a._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",a._isInPreview(t.compareValue)),r.lc("ngClass",t.cssClasses)("tabindex",a._isActiveCell(i,n)?0:-1),r.Db("data-mat-row",i)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",a._isSelected(t)),r.Cb(1),r.Gb("mat-calendar-body-selected",a._isSelected(t))("mat-calendar-body-today",a.todayValue===t.compareValue),r.Cb(1),r.Jc(" ",t.displayValue," ")}}function A(t,e){if(1&t&&(r.Ub(0,"tr",4),r.Fc(1,T,2,6,"td",5),r.Fc(2,L,4,44,"td",6),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.fc();r.Cb(1),r.lc("ngIf",0===n&&i._firstRowOffset),r.Cb(1),r.lc("ngForOf",t)}}function I(t,e){if(1&t&&(r.Ub(0,"th",5),r.Hc(1),r.Tb()),2&t){const t=e.$implicit;r.Db("aria-label",t.long),r.Cb(1),r.Ic(t.narrow)}}const P=["*"];function E(t,e){}function R(t,e){if(1&t){const t=r.Vb();r.Ub(0,"ngx-mat-month-view",5),r.bc("activeDateChange",function(e){return r.wc(t),r.fc().activeDate=e})("selectedChange",function(e){return r.wc(t),r.fc()._dateSelected(e)})("_userSelection",function(){return r.wc(t),r.fc()._userSelected()}),r.Tb()}if(2&t){const t=r.fc();r.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function Y(t,e){if(1&t){const t=r.Vb();r.Ub(0,"ngx-mat-year-view",6),r.bc("activeDateChange",function(e){return r.wc(t),r.fc().activeDate=e})("monthSelected",function(e){return r.wc(t),r.fc()._monthSelectedInYearView(e)})("selectedChange",function(e){return r.wc(t),r.fc()._goToDateInView(e,"month")}),r.Tb()}if(2&t){const t=r.fc();r.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function j(t,e){if(1&t){const t=r.Vb();r.Ub(0,"ngx-mat-multi-year-view",7),r.bc("activeDateChange",function(e){return r.wc(t),r.fc().activeDate=e})("yearSelected",function(e){return r.wc(t),r.fc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return r.wc(t),r.fc()._goToDateInView(e,"year")}),r.Tb()}if(2&t){const t=r.fc();r.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function N(t,e){if(1&t){const t=r.Vb();r.Ub(0,"td"),r.Ub(1,"button",10),r.bc("click",function(){return r.wc(t),r.fc(2).change("second",!0)}),r.Ub(2,"mat-icon"),r.Hc(3,"expand_less"),r.Tb(),r.Tb(),r.Tb()}if(2&t){const t=r.fc(2);r.Cb(1),r.lc("disabled",t.disabled||t.disableMinute)}}function F(t,e){1&t&&r.Pb(0,"td",6)}function V(t,e){1&t&&r.Pb(0,"td")}function H(t,e){if(1&t){const t=r.Vb();r.Ub(0,"tr"),r.Ub(1,"td"),r.Ub(2,"button",10),r.bc("click",function(){return r.wc(t),r.fc().change("hour",!0)}),r.Ub(3,"mat-icon"),r.Hc(4,"expand_less"),r.Tb(),r.Tb(),r.Tb(),r.Pb(5,"td"),r.Ub(6,"td"),r.Ub(7,"button",10),r.bc("click",function(){return r.wc(t),r.fc().change("minute",!0)}),r.Ub(8,"mat-icon"),r.Hc(9,"expand_less"),r.Tb(),r.Tb(),r.Tb(),r.Pb(10,"td"),r.Fc(11,N,4,1,"td",3),r.Fc(12,F,1,0,"td",8),r.Fc(13,V,1,0,"td",3),r.Tb()}if(2&t){const t=r.fc();r.Cb(2),r.lc("disabled",t.disabled),r.Cb(5),r.lc("disabled",t.disabled||t.disableMinute),r.Cb(4),r.lc("ngIf",t.showSeconds),r.Cb(1),r.lc("ngIf",t.enableMeridian),r.Cb(1),r.lc("ngIf",t.enableMeridian)}}function z(t,e){1&t&&(r.Ub(0,"td",6),r.Hc(1,":"),r.Tb())}function B(t,e){if(1&t){const t=r.Vb();r.Ub(0,"td"),r.Ub(1,"mat-form-field",4),r.Ub(2,"input",11),r.bc("input",function(e){return r.wc(t),r.fc().formatInput(e.target)})("keydown.ArrowUp",function(e){return r.wc(t),r.fc().change("second",!0),e.preventDefault()})("keydown.ArrowDown",function(e){return r.wc(t),r.fc().change("second",!1),e.preventDefault()})("blur",function(){return r.wc(t),r.fc().change("second")}),r.Tb(),r.Tb(),r.Tb()}}function W(t,e){1&t&&r.Pb(0,"td",6)}function U(t,e){if(1&t){const t=r.Vb();r.Ub(0,"td",12),r.Ub(1,"button",13),r.bc("click",function(){return r.wc(t),r.fc().toggleMeridian()}),r.Hc(2),r.Tb(),r.Tb()}if(2&t){const t=r.fc();r.Cb(1),r.lc("color",t.color)("disabled",t.disabled),r.Cb(1),r.Jc(" ",t.meridian," ")}}function G(t,e){1&t&&r.Pb(0,"td")}function q(t,e){if(1&t){const t=r.Vb();r.Ub(0,"td"),r.Ub(1,"button",14),r.bc("click",function(){return r.wc(t),r.fc(2).change("second",!1)}),r.Ub(2,"mat-icon"),r.Hc(3,"expand_more"),r.Tb(),r.Tb(),r.Tb()}if(2&t){const t=r.fc(2);r.Cb(1),r.lc("disabled",t.disabled||t.disableMinute)}}function X(t,e){1&t&&r.Pb(0,"td",6)}function Z(t,e){1&t&&r.Pb(0,"td")}function K(t,e){if(1&t){const t=r.Vb();r.Ub(0,"tr"),r.Ub(1,"td"),r.Ub(2,"button",14),r.bc("click",function(){return r.wc(t),r.fc().change("hour",!1)}),r.Ub(3,"mat-icon"),r.Hc(4,"expand_more"),r.Tb(),r.Tb(),r.Tb(),r.Pb(5,"td"),r.Ub(6,"td"),r.Ub(7,"button",14),r.bc("click",function(){return r.wc(t),r.fc().change("minute",!1)}),r.Ub(8,"mat-icon"),r.Hc(9,"expand_more"),r.Tb(),r.Tb(),r.Tb(),r.Fc(10,G,1,0,"td",3),r.Fc(11,q,4,1,"td",3),r.Fc(12,X,1,0,"td",8),r.Fc(13,Z,1,0,"td",3),r.Tb()}if(2&t){const t=r.fc();r.Cb(2),r.lc("disabled",t.disabled),r.Cb(5),r.lc("disabled",t.disabled||t.disableMinute),r.Cb(3),r.lc("ngIf",t.showSeconds),r.Cb(1),r.lc("ngIf",t.showSeconds),r.Cb(1),r.lc("ngIf",t.enableMeridian),r.Cb(1),r.lc("ngIf",t.enableMeridian)}}function J(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div",6),r.Ub(1,"ngx-mat-timepicker",7),r.bc("ngModelChange",function(e){return r.wc(t),r.fc(2).datepicker._selected=e}),r.Tb(),r.Tb()}if(2&t){const t=r.fc(2);r.Gb("disable-seconds",!t.datepicker._showSeconds),r.Cb(1),r.lc("showSpinners",t.datepicker._showSpinners)("showSeconds",t.datepicker._showSeconds)("disabled",t.datepicker._disabled)("stepHour",t.datepicker._stepHour)("stepMinute",t.datepicker._stepMinute)("stepSecond",t.datepicker._stepSecond)("ngModel",t.datepicker._selected)("color",t.datepicker._color)("enableMeridian",t.datepicker._enableMeridian)("disableMinute",t.datepicker._disableMinute)}}function $(t,e){1&t&&(r.Ub(0,"mat-icon"),r.Hc(1,"done"),r.Tb())}function Q(t,e){}function tt(t,e){if(1&t){const t=r.Vb();r.Sb(0),r.Fc(1,J,2,12,"div",2),r.Ub(2,"div",3),r.Ub(3,"button",4),r.bc("click",function(){return r.wc(t),r.fc().datepicker.ok()}),r.Fc(4,$,2,0,"mat-icon",1),r.Fc(5,Q,0,0,"ng-template",5),r.Tb(),r.Tb(),r.Rb()}if(2&t){const t=r.fc();r.Cb(1),r.lc("ngIf",!t.datepicker._hideTime),r.Cb(2),r.lc("color",t.datepicker._color)("disabled",!t.valid),r.Cb(1),r.lc("ngIf",!t.datepicker._customIcon),r.Cb(1),r.lc("cdkPortalOutlet",t._templateCustomIconPortal)}}class et extends c.c{isSameTime(t,e){return null==t||null==e||this.getHour(t)===this.getHour(e)&&this.getMinute(t)===this.getMinute(e)&&this.getSecond(t)===this.getSecond(e)}copyTime(t,e){this.setHour(t,this.getHour(e)),this.setMinute(t,this.getMinute(e)),this.setSecond(t,this.getSecond(e))}compareDateWithTime(t,e,n){let i=super.compareDate(t,e)||this.getHour(t)-this.getHour(e)||this.getMinute(t)-this.getMinute(e);return n&&(i=i||this.getSecond(t)-this.getSecond(e)),i}setTimeByDefaultValues(t,e){if(!Array.isArray(e))throw Error("@Input DefaultTime should be an array");this.setHour(t,e[0]||0),this.setMinute(t,e[1]||0),this.setSecond(t,e[2]||0)}}const nt=new r.s("ngx-mat-date-formats");class it{constructor(t,e,n,i,r={},a=t,o){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=a,this.rawValue=o}}let rt=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new r.o,this.previewChange=new r.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&at(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t.compareValue||this.endValue===t.compareValue}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(Object(h.a)(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".ngx-mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return ot(t,this.startValue,this.endValue)}_isRangeEnd(t){return st(t,this.startValue,this.endValue)}_isInRange(t){return lt(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return ot(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return st(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return lt(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isPreviewStart(t){return ot(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return st(t,this.previewStart,this.previewEnd)}_isInPreview(t){return lt(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(at(t)?e=t:at(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-ngx-mat-row"),n=e.getAttribute("data-ngx-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.B))},t.\u0275cmp=r.Ib({type:t,selectors:[["","ngx-mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"ngx-mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["NgxMatCalendarBody"],features:[r.Ab],attrs:D,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(r.Fc(0,O,3,6,"tr",0),r.Fc(1,A,3,2,"tr",1)),2&t&&(r.lc("ngIf",e._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:2px dotted}[dir=rtl] .mat-calendar-body-label{text-align:right}@media (hover:none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}'],encapsulation:2,changeDetection:0}),t})();function at(t){return"TD"===t.nodeName}function ot(t,e,n){return null!==n&&e!==n&&t=e&&t===n}function lt(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}const ct=new r.s("NGX_MAT_DATE_RANGE_SELECTION_STRATEGY");let ut=(()=>{class t{constructor(t){this._dateAdapter=t}selectionFinished(t,e){let{start:n,end:i}=e;return null==n?n=t:null==i&&t&&this._dateAdapter.compareDate(t,n)>=0?i=t:(n=t,i=null),new a.a(n,i)}createPreview(t,e){let n=null,i=null;return e.start&&!e.end&&t&&(n=e.start,i=t),new a.a(n,i)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(et))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const ht={minHour:0,maxHour:24,minMinute:0,maxMinute:60,minSecond:0,maxSecond:60,meridian:12},dt=/[^0-9]/g,pt=/^(2[0-3]|[0-1][0-9]|[0-9])$/,ft=/^([0-5][0-9]|[0-9])$/,mt=/^([0-5][0-9]|[0-9])$/;function gt(t){const e=t.toString();return e.length>1?e:"0"+e}function _t(t){return Error(`NgxMatDatepicker: No provider found for ${t}. You must import one of the following modules at your application root: NgxMatNativeDateModule, NgxMatMomentModule, or provide a custom implementation.`)}let yt=(()=>{class t{constructor(t,e,n,i,a){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rangeStrategy=a,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this._userSelection=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw _t("NgxMatDateAdapter");if(!this._dateFormats)throw _t("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(d.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,e);let o,s;this._selected instanceof a.a?(o=this._getDateInCurrentMonth(this._selected.start),s=this._getDateInCurrentMonth(this._selected.end)):o=s=this._getDateInCurrentMonth(this._selected),o===e&&s===e||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case u.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case u.m:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case u.p:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case u.d:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case u.h:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case u.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case u.l:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case u.k:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case u.f:case u.n:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case u.g:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof a.a?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.h),r.Ob(nt,8),r.Ob(et,8),r.Ob(C.b,8),r.Ob(ct,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-month-view"]],viewQuery:function(t,e){if(1&t&&r.Oc(rt,!0),2&t){let t;r.tc(t=r.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["ngxMatMonthView"],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["ngx-mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(r.Ub(0,"table",0),r.Ub(1,"thead",1),r.Ub(2,"tr"),r.Fc(3,I,2,2,"th",2),r.Tb(),r.Ub(4,"tr"),r.Pb(5,"th",3),r.Tb(),r.Tb(),r.Ub(6,"tbody",4),r.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.lc("ngForOf",e._weekdays),r.Cb(3),r.lc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[y.m,rt],encapsulation:2,changeDetection:0}),t})(),bt=(()=>{class t{constructor(t,e,n){if(this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this.yearSelected=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw _t("NgxMatDateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),vt(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(d.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];e<24;e++)n.push(t+e),4==n.length&&(this._years.push(n.map(t=>this._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case u.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case u.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case u.p:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case u.d:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case u.h:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case u.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case u.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case u.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case u.f:case u.n:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return wt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){let e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new it(t,e,e,this._shouldEnableYear(t))}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,n,i){if(this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=o.a.EMPTY,this.selectedChange=new r.o,this.monthSelected=new r.o,this.activeDateChange=new r.o,!this._dateAdapter)throw _t("NgxMatDateAdapter");if(!this._dateFormats)throw _t("NGX_MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof a.a?t:this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(d.a)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case u.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case u.m:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case u.p:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case u.d:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case u.h:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case u.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case u.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case u.k:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case u.f:case u.n:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){let n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new it(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const t=this._dateAdapter.getYear(this.calendar.activeDate)-wt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+24-1;return`${this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1))} \u2013 ${this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1))}`}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):vt(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(a.h),r.Ob(Object(r.V)(()=>Ct)),r.Ob(et,8),r.Ob(nt,8),r.Ob(r.h))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-calendar-header"]],exportAs:["ngxMatCalendarHeader"],ngContentSelectors:P,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(t,e){1&t&&(r.kc(),r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"button",2),r.bc("click",function(){return e.currentPeriodClicked()}),r.Hc(3),r.Pb(4,"div",3),r.Tb(),r.Pb(5,"div",4),r.jc(6),r.Ub(7,"button",5),r.bc("click",function(){return e.previousClicked()}),r.Tb(),r.Ub(8,"button",6),r.bc("click",function(){return e.nextClicked()}),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(2),r.Db("aria-label",e.periodButtonLabel),r.Cb(1),r.Jc(" ",e.periodButtonText," "),r.Cb(1),r.Gb("mat-calendar-invert","month"!=e.calendar.currentView),r.Cb(3),r.lc("disabled",!e.previousEnabled()),r.Db("aria-label",e.prevButtonLabel),r.Cb(1),r.lc("disabled",!e.nextEnabled()),r.Db("aria-label",e.nextButtonLabel))},directives:[x.a],encapsulation:2,changeDetection:0}),t})(),Ct=(()=>{class t{constructor(t,e,n,i){if(this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new r.o,this.yearSelected=new r.o,this.monthSelected=new r.o,this._userSelection=new r.o,this.stateChanges=new s.a,!this._dateAdapter)throw _t("NgxDateAdapter");if(!this._dateFormats)throw _t("NGX_MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe(()=>{i.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new i.d(this.headerComponent||St),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(t){t&&!this._dateAdapter.sameDate(t,this.selected)&&this.selectedChange.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_userSelected(){this._userSelection.emit()}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(a.h),r.Ob(et,8),r.Ob(nt,8),r.Ob(r.h))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-calendar"]],viewQuery:function(t,e){if(1&t&&(r.Oc(yt,!0),r.Oc(Mt,!0),r.Oc(bt,!0)),2&t){let t;r.tc(t=r.cc())&&(e.monthView=t.first),r.tc(t=r.cc())&&(e.yearView=t.first),r.tc(t=r.cc())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["ngxMatCalendar"],features:[r.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(r.Fc(0,E,0,0,"ng-template",0),r.Ub(1,"div",1),r.Fc(2,R,1,6,"ngx-mat-month-view",2),r.Fc(3,Y,1,5,"ngx-mat-year-view",3),r.Fc(4,j,1,5,"ngx-mat-multi-year-view",4),r.Tb()),2&t&&(r.lc("cdkPortalOutlet",e._calendarHeaderPortal),r.Cb(1),r.lc("ngSwitch",e.currentView),r.Cb(1),r.lc("ngSwitchCase","month"),r.Cb(1),r.lc("ngSwitchCase","year"),r.Cb(1),r.lc("ngSwitchCase","multi-year"))},directives:[i.c,y.p,y.q,yt,Mt,bt],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{padding:0 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button:after,.mat-calendar-previous-button:after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:solid;border-width:2px 0 0}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button:after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button:after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider:after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}'],encapsulation:2,changeDetection:0}),t})(),kt=(()=>{class t{constructor(t,e,n){if(this._dateAdapter=t,this.cd=e,this.formBuilder=n,this.disabled=!1,this.showSpinners=!0,this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.disableMinute=!1,this.enableMeridian=!1,this.color="primary",this.meridian="AM",this._onChange=()=>{},this._onTouched=()=>{},this._destroyed=new s.a,this.pattern=pt,!this._dateAdapter)throw _t("NgxMatDateAdapter");this.form=this.formBuilder.group({hour:[{value:null,disabled:this.disabled},[v.u.required,v.u.pattern(pt)]],minute:[{value:null,disabled:this.disabled},[v.u.required,v.u.pattern(ft)]],second:[{value:null,disabled:this.disabled},[v.u.required,v.u.pattern(mt)]]})}get hour(){let t=Number(this.form.controls.hour.value);return isNaN(t)?0:t}get minute(){let t=Number(this.form.controls.minute.value);return isNaN(t)?0:t}get second(){let t=Number(this.form.controls.second.value);return isNaN(t)?0:t}get valid(){return this.form.valid}ngOnInit(){this.form.valueChanges.pipe(Object(p.a)(this._destroyed),Object(f.a)(400)).subscribe(t=>{this._updateModel()})}ngOnChanges(t){(t.disabled||t.disableMinute)&&this._setDisableStates()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}writeValue(t){null!=t?this._model=t:(this._model=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._model,this.defaultTime)),this._updateHourMinuteSecond()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._disabled=t,this.cd.markForCheck()}formatInput(t){t.value=t.value.replace(dt,"")}toggleMeridian(){this.meridian="AM"===this.meridian?"PM":"AM",this.change("hour")}change(t,e){const n=this._getNextValueByProp(t,e);this.form.controls[t].setValue(gt(n),{onlySelf:!1,emitEvent:!1}),this._updateModel()}_updateHourMinuteSecond(){let t=this._dateAdapter.getHour(this._model);const e=this._dateAdapter.getMinute(this._model),n=this._dateAdapter.getSecond(this._model);this.enableMeridian&&(t>=ht.meridian?(t-=ht.meridian,this.meridian="PM"):this.meridian="AM",0===t&&(t=ht.meridian)),this.form.controls.hour.setValue(gt(t)),this.form.controls.minute.setValue(gt(e)),this.form.controls.second.setValue(gt(n))}_updateModel(){let t=this.hour;this.enableMeridian&&("AM"===this.meridian&&t===ht.meridian?t=0:"PM"===this.meridian&&t!==ht.meridian&&(t+=ht.meridian)),this._dateAdapter.setHour(this._model,t),this._dateAdapter.setMinute(this._model,this.minute),this._dateAdapter.setSecond(this._model,this.second),this._onChange(this._model)}_getNextValueByProp(t,e){const n=t[0].toUpperCase()+t.slice(1),i=ht["min"+n];let r,a=ht["max"+n];return"hour"===t&&this.enableMeridian&&(a=ht.meridian),null==e?(r=this[t]%a,"hour"===t&&this.enableMeridian&&0===r&&(r=a)):(r=e?this[t]+this["step"+n]:this[t]-this["step"+n],"hour"===t&&this.enableMeridian?(r%=a+1,0===r&&(r=e?1:a)):r%=a,r=e?r>a?r-a+i:r:rt),multi:!0}]),r.Ab],decls:18,vars:7,consts:[[3,"formGroup"],[1,"ngx-mat-timepicker-table"],[1,"ngx-mat-timepicker-tbody"],[4,"ngIf"],["appearance","legacy"],["type","text","matInput","","maxlength","2","formControlName","hour",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-spacer"],["type","text","matInput","","maxlength","2","formControlName","minute",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],["class","ngx-mat-timepicker-spacer",4,"ngIf"],["class","ngx-mat-timepicker-meridian",4,"ngIf"],["type","button","mat-icon-button","","aria-label","expand_less icon",3,"disabled","click"],["type","text","matInput","","maxlength","2","formControlName","second",3,"input","keydown.ArrowUp","keydown.ArrowDown","blur"],[1,"ngx-mat-timepicker-meridian"],["mat-button","","mat-stroked-button","",3,"color","disabled","click"],["type","button","mat-icon-button","","aria-label","expand_more icon",3,"disabled","click"]],template:function(t,e){1&t&&(r.Ub(0,"form",0),r.Ub(1,"table",1),r.Ub(2,"tbody",2),r.Fc(3,H,14,5,"tr",3),r.Ub(4,"tr"),r.Ub(5,"td"),r.Ub(6,"mat-form-field",4),r.Ub(7,"input",5),r.bc("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.change("hour",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return e.change("hour",!1),t.preventDefault()})("blur",function(){return e.change("hour")}),r.Tb(),r.Tb(),r.Tb(),r.Ub(8,"td",6),r.Hc(9,":"),r.Tb(),r.Ub(10,"td"),r.Ub(11,"mat-form-field",4),r.Ub(12,"input",7),r.bc("input",function(t){return e.formatInput(t.target)})("keydown.ArrowUp",function(t){return e.change("minute",!0),t.preventDefault()})("keydown.ArrowDown",function(t){return e.change("minute",!1),t.preventDefault()})("blur",function(){return e.change("minute")}),r.Tb(),r.Tb(),r.Tb(),r.Fc(13,z,2,0,"td",8),r.Fc(14,B,3,0,"td",3),r.Fc(15,W,1,0,"td",8),r.Fc(16,U,3,3,"td",9),r.Tb(),r.Fc(17,K,14,6,"tr",3),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.lc("formGroup",e.form),r.Cb(3),r.lc("ngIf",e.showSpinners),r.Cb(10),r.lc("ngIf",e.showSeconds),r.Cb(1),r.lc("ngIf",e.showSeconds),r.Cb(1),r.lc("ngIf",e.enableMeridian),r.Cb(1),r.lc("ngIf",e.enableMeridian),r.Cb(1),r.lc("ngIf",e.showSpinners))},directives:[v.v,v.o,v.g,y.n,k.b,w.b,v.c,v.i,v.n,v.f,x.a,M.a],styles:[".ngx-mat-timepicker{font-size:13px}.ngx-mat-timepicker form{min-width:90px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td{text-align:center}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-spacer{font-weight:700}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td.ngx-mat-timepicker-meridian .mat-button{min-width:64px;line-height:36px;border-radius:4px;min-width:0;border-radius:50%;width:36px;height:36px;padding:0;flex-shrink:0}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button{height:24px;width:24px;line-height:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-icon-button .mat-icon{font-size:24px}.ngx-mat-timepicker form .ngx-mat-timepicker-table .ngx-mat-timepicker-tbody tr td .mat-form-field{width:20px;max-width:20px;text-align:center}"],encapsulation:2}),t})(),Dt=0;const Ot=Object(c.y)(class{constructor(t){this._elementRef=t}});let Tt=(()=>{class t extends Ot{constructor(t,e,n){super(t),this.cd=e,this._viewContainerRef=n}get valid(){return(this.datepicker.hideTime||this._timePicker&&this._timePicker.valid)&&this.datepicker.valid}get isViewMonth(){return!this._calendar||null==this._calendar.currentView||"month"==this._calendar.currentView}ngAfterViewInit(){this._calendar.focusActiveCell(),this.datepicker._customIcon&&(this._templateCustomIconPortal=new i.h(this.datepicker._customIcon,this._viewContainerRef),this.cd.detectChanges())}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(r.R))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-datetime-content"]],viewQuery:function(t,e){if(1&t&&(r.Oc(Ct,!0),r.Oc(kt,!0)),2&t){let t;r.tc(t=r.cc())&&(e._calendar=t.first),r.tc(t=r.cc())&&(e._timePicker=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){2&t&&(r.Ec("@transformPanel","enter"),r.Gb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["ngxMatDatetimeContent"],features:[r.zb],decls:2,vars:12,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected"],[4,"ngIf"],["class","time-container",3,"disable-seconds",4,"ngIf"],[1,"actions"],["mat-button","","mat-stroked-button","","cdkFocusInitial","",3,"color","disabled","click"],[3,"cdkPortalOutlet"],[1,"time-container"],[3,"showSpinners","showSeconds","disabled","stepHour","stepMinute","stepSecond","ngModel","color","enableMeridian","disableMinute","ngModelChange"]],template:function(t,e){1&t&&(r.Ub(0,"ngx-mat-calendar",0),r.bc("selectedChange",function(t){return e.datepicker.select(t)})("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)}),r.Tb(),r.Fc(1,tt,6,5,"ng-container",1)),2&t&&(r.lc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._minDate)("maxDate",e.datepicker._maxDate)("dateFilter",e.datepicker._dateFilter)("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e.datepicker._selected)("dateClass",e.datepicker.dateClass)("@fadeInCalendar","enter"),r.Cb(1),r.lc("ngIf",e.isViewMonth))},directives:[Ct,y.l,y.n,x.a,i.c,kt,v.n,v.q,M.a],styles:['.mat-datepicker-content{display:block;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-datepicker-content .mat-calendar{width:296px}.mat-datepicker-content .time-container{display:flex;position:relative;padding-top:5px;justify-content:center}.mat-datepicker-content .time-container.disable-seconds .ngx-mat-timepicker .table{margin-left:9px}.mat-datepicker-content .time-container:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background-color:rgba(0,0,0,.12)}.mat-datepicker-content .actions{display:flex;padding:5px 15px 10px;justify-content:flex-end}'],encapsulation:2,data:{animation:[a.m.transformPanel,a.m.fadeInCalendar]},changeDetection:0}),t})(),Lt=(()=>{class t{constructor(t,e,n,i,a,l,c,u){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=i,this._dateAdapter=l,this._dir=c,this._document=u,this.startView="month",this._defaultColor="primary",this._touchUi=!1,this._hideTime=!1,this.yearSelected=new r.o,this.monthSelected=new r.o,this.openedStream=new r.o,this.closedStream=new r.o,this._opened=!1,this._showSpinners=!0,this._showSeconds=!1,this._stepHour=1,this._stepMinute=1,this._stepSecond=1,this._enableMeridian=!1,this._hasBackdrop=!0,this.id="mat-datepicker-"+Dt++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=o.a.EMPTY,this.stateChanges=new s.a,this._selectedChanged=new s.a,this._minValidator=()=>!this._minDate||!this._selected||this._dateAdapter.compareDateWithTime(this._minDate,this._selected,this.showSeconds)<=0?null:{matDatetimePickerMin:{min:this._minDate,actual:this._selected}},this._maxValidator=()=>!this._maxDate||!this._selected||this._dateAdapter.compareDateWithTime(this._maxDate,this._selected,this.showSeconds)>=0?null:{matDatetimePickerMax:{max:this._maxDate,actual:this._selected}},!this._dateAdapter)throw _t("NgxMatDateAdapter");this._scrollStrategy=a}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.value:null)}set startAt(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))}get defaultColor(){return this._defaultColor}set defaultColor(t){this._defaultColor=t}get color(){return this._color||(this.datepickerInput?this.datepickerInput._getThemePalette():"primary")}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=Object(g.c)(t)}get hideTime(){return this._hideTime}set hideTime(t){this._hideTime=Object(g.c)(t)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(t){const e=Object(g.c)(t);e!==this._disabled&&(this._disabled=e,this.stateChanges.next(e))}get opened(){return this._opened}set opened(t){t?this.open():this.close()}get showSpinners(){return this._showSpinners}set showSpinners(t){this._showSpinners=t}get showSeconds(){return this._showSeconds}set showSeconds(t){this._showSeconds=t}get stepHour(){return this._stepHour}set stepHour(t){this._stepHour=t}get stepMinute(){return this._stepMinute}set stepMinute(t){this._stepMinute=t}get stepSecond(){return this._stepSecond}set stepSecond(t){this._stepSecond=t}get enableMeridian(){return this._enableMeridian}set enableMeridian(t){this._enableMeridian=t}get disableMinute(){return this._disableMinute}set disableMinute(t){this._disableMinute=t}get defaultTime(){return this._defaultTime}set defaultTime(t){this._defaultTime=t}get _selected(){return this._validSelected}set _selected(t){this._validSelected=t}get _minDate(){return this.datepickerInput&&this.datepickerInput.min}get _maxDate(){return this.datepickerInput&&this.datepickerInput.max}get valid(){const t=this._minValidator(),e=this._maxValidator();return null==t&&null==e}get _dateFilter(){return this.datepickerInput&&this.datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null),this._inputSubscription.unsubscribe(),this.stateChanges.complete()}select(t){this._dateAdapter.copyTime(t,this._selected),this._selected=t}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}ok(){const t=this._dateAdapter.clone(this._selected);this._selectedChanged.next(t),this.close()}cancel(){this._selected=this._rawValue,this.close()}_registerInput(t){if(this.datepickerInput)throw Error("A NgxMatDatepicker can only be associated with a single input.");this.datepickerInput=t,this._inputSubscription=this.datepickerInput._valueChange.subscribe(t=>this._selected=t)}open(){if(this._rawValue=null!=this._selected?this._dateAdapter.clone(this._selected):null,null==this._selected&&(this._selected=this._dateAdapter.today(),null!=this.defaultTime&&this._dateAdapter.setTimeByDefaultValues(this._selected,this.defaultTime)),!this._opened&&!this.disabled){if(!this.datepickerInput)throw Error("Attempted to open an NgxMatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Tt,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:this._hasBackdrop}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new i.d(Tt,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Object(h.a)(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const t=new _.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:this._hasBackdrop,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(l.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(m.a)(t=>t.keyCode===u.g||this.datepickerInput&&t.altKey&&t.keyCode===u.p))).subscribe(t=>{t&&t.preventDefault(),this._hasBackdrop&&t?this.cancel():this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}_setColor(){const t=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=t),this._dialogRef&&(this._dialogRef.componentInstance.color=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(b.b),r.Ob(_.c),r.Ob(r.B),r.Ob(r.R),r.Ob(a.b),r.Ob(et,8),r.Ob(C.b,8),r.Ob(y.d,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["ngx-mat-datetime-picker"]],contentQueries:function(t,e,n){if(1&t&&r.Hb(n,r.N,!0),2&t){let t;r.tc(t=r.cc())&&(e._customIcon=t.first)}},inputs:{startView:"startView",startAt:"startAt",defaultColor:"defaultColor",color:"color",touchUi:"touchUi",hideTime:"hideTime",disabled:"disabled",opened:"opened",showSpinners:"showSpinners",showSeconds:"showSeconds",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",enableMeridian:"enableMeridian",disableMinute:"disableMinute",defaultTime:"defaultTime",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["ngxMatDatetimePicker"],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const At={provide:v.l,useExisting:Object(r.V)(()=>Rt),multi:!0},It={provide:v.k,useExisting:Object(r.V)(()=>Rt),multi:!0};class Pt{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let Et,Rt=(()=>{class t{constructor(t,e,n,i){if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=i,this.dateChange=new r.o,this.dateInput=new r.o,this._valueChange=new r.o,this.stateChanges=new r.o,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=o.a.EMPTY,this._localeSubscription=o.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatetimePickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.min||!e||this._dateAdapter.compareDateWithTime(this.min,e,this._datepicker.showSeconds)<=0?null:{matDatetimePickerMin:{min:this.min,actual:e}}},this._maxValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!this.max||!e||this._dateAdapter.compareDateWithTime(this.max,e,this._datepicker.showSeconds)>=0?null:{matDatetimePickerMax:{max:this.max,actual:e}}},this._filterValidator=t=>{const e=this._getValidDateOrNull(this._dateAdapter.deserialize(t.value));return this._dateFilter&&e&&!this._dateFilter(e)?{matDatetimePickerFilter:!0}:null},this._validator=v.u.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw _t("NgxMatDateAdapter");if(!this._dateFormats)throw _t("NGX_MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}set ngxMatDatetimePicker(t){t&&(this._datepicker=t,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(t=>{this.value=t,this._cvaOnChange(t),this._onTouched(),this.dateInput.emit(new Pt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Pt(this,this._elementRef.nativeElement))}))}set ngxMatDatetimePickerFilter(t){this._dateFilter=t,this._validatorOnChange()}get value(){return this._value}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);const e=this.value;this._value=t,this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get min(){return this._min}set min(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get max(){return this._max}set max(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(t){const e=null!=t&&""+t!="false",n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.emit(void 0)),e&&n.blur&&n.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){this._datepicker&&t.altKey&&t.keyCode===u.d&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n);const i=this._dateAdapter.isSameTime(n,this._value);null!=n&&(!i||!this._dateAdapter.sameDate(n,this._value))||null==n&&null!=this._value?(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new Pt(this,this._elementRef.nativeElement))):e!==this._lastValueValid&&this._validatorOnChange()}_onChange(){this.dateChange.emit(new Pt(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_onFocus(){this._datepicker&&this._datepicker.opened&&this._datepicker.cancel()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_getValidDateOrNull(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(et,8),r.Ob(nt,8),r.Ob(k.b,8))},t.\u0275dir=r.Jb({type:t,selectors:[["input","ngxMatDatetimePicker",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("focus",function(){return e._onFocus()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(r.Xb("disabled",e.disabled),r.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null))},inputs:{value:"value",ngxMatDatetimePicker:"ngxMatDatetimePicker",ngxMatDatetimePickerFilter:"ngxMatDatetimePickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["ngxMatDatetimePickerInput"],features:[r.Bb([At,It,{provide:w.a,useExisting:t}])]}),t})(),Yt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[y.c,w.c,v.s,v.h,M.b,x.b]]}),t})(),jt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[a.c,{provide:ct,useClass:ut}],imports:[[y.c,a.i,b.f,i.g,v.h,M.b,x.b,w.c,Yt]]}),t})();try{Et="undefined"!=typeof Intl}catch(Zt){Et=!1}const Nt={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Ft=zt(31,t=>String(t+1)),Vt={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Ht=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function zt(t,e){const n=Array(t);for(let i=0;i{class t extends et{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(Et){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return zt(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return Nt[t]}getDateNames(){if(Et){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return zt(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return Ft}getDayOfWeekNames(t){if(Et){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return zt(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Vt[t]}getYearName(t){if(Et){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`);let i=this._createDateWithOverflow(t,e,n);if(i.getMonth()!=e)throw Error(`Invalid date "${n}" for month with index "${e}".`);return i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Et){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(Ht.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}getHour(t){return t.getHours()}getMinute(t){return t.getMinutes()}getSecond(t){return t.getSeconds()}setHour(t,e){t.setHours(e)}setMinute(t,e){t.setMinutes(e)}setSecond(t,e){t.setSeconds(e)}_createDateWithOverflow(t,e,n){const i=new Date(t,e,n);return t>=0&&t<100&&i.setFullYear(this.getYear(i)-1900),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(c.f,8),r.Yb(S.a))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const Wt={year:"numeric",month:"numeric",day:"numeric",hour12:!1,hour:"2-digit",minute:"2-digit",second:"2-digit"},Ut={parse:{dateInput:Wt},display:{dateInput:Wt,monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Gt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:et,useClass:Bt}],imports:[[S.b]]}),t})();const qt=Ut;let Xt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:nt,useValue:qt}],imports:[[Gt]]}),t})()},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nLfN:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return y}),n.d(e,"d",function(){return _}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return m}),n.d(e,"g",function(){return g});var i=n("fXoL"),r=n("ofXK");let a;try{a="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){a=!1}let o,s=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.x)(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&&!a)&&"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 t.\u0275fac=function(e){return new(e||t)(i.Yb(i.D))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(i.D))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function m(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function g(){if(null==p)if("object"==typeof document&&document||(p=!1),"scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}return p}function _(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function y(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},nLtN:function(t,e,n){"use strict";var i=n("YHEm"),r=function(t,e){for(var n=t.length;n--;)if(Object(i.a)(t[n][0],e))return n;return-1},a=Array.prototype.splice;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},e.a=o},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("quSY");function a(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new s(t,this.callback))}}class s extends i.a{constructor(t,e){super(t),this.add(new r.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n=3&&t%100<=10?3:t%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(t){return function(i,r,a,o){var s=e(i),l=n[t][e(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oSzE:function(t,e,n){"use strict";var i=n("nLtN"),r=n("3cmB"),a=n("DlmY");function o(t){var e=this.__data__=new i.a(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.a,this.size=0},o.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var n=this.__data__;if(n instanceof i.a){var o=n.__data__;if(!r.a||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a.a(o)}return n.set(t,e),this.size=n.size,this},e.a=o},oYcn:function(t,e,n){"use strict";var i=n("8M4i"),r=n("Js68"),a=n("EUcb"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=n("ovuK"),l=n("xutz"),c=l.a&&l.a.isTypedArray,u=c?Object(s.a)(c):function(t){return Object(a.a)(t)&&Object(r.a)(t.length)&&!!o[Object(i.a)(t)]};e.a=u},ofXK:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return Ct}),n.d(e,"c",function(){return At}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return Ot}),n.d(e,"f",function(){return x}),n.d(e,"g",function(){return Tt}),n.d(e,"h",function(){return h}),n.d(e,"i",function(){return M}),n.d(e,"j",function(){return y}),n.d(e,"k",function(){return kt}),n.d(e,"l",function(){return st}),n.d(e,"m",function(){return ct}),n.d(e,"n",function(){return ht}),n.d(e,"o",function(){return yt}),n.d(e,"p",function(){return mt}),n.d(e,"q",function(){return gt}),n.d(e,"r",function(){return _t}),n.d(e,"s",function(){return bt}),n.d(e,"t",function(){return w}),n.d(e,"u",function(){return c}),n.d(e,"v",function(){return Dt}),n.d(e,"w",function(){return Et}),n.d(e,"x",function(){return Pt}),n.d(e,"y",function(){return s}),n.d(e,"z",function(){return It}),n.d(e,"A",function(){return a}),n.d(e,"B",function(){return ot}),n.d(e,"C",function(){return o});var i=n("fXoL");let r=null;function a(){return r}function o(t){r||(r=t)}class s{}const l=new i.s("DocumentToken");let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return Object(i.Yb)(d)}const h=new i.s("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=a().getLocation(),this._history=a().getHistory()}getBaseHrefFromDOM(){return a().getBaseHref(this._doc)}onPopState(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(l))},t.\u0275prov=Object(i.Kb)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d(Object(i.Yb)(l))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=Object(i.Yb)(l).location;return new w(Object(i.Yb)(c),e&&e.origin||"")}const v=new i.s("appBaseHref");let w=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+_(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(c),i.Yb(v,8))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+_(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(c),i.Yb(v,8))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(C(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(y),i.Yb(c))},t.normalizeQueryParams=_,t.joinWithSlash=m,t.stripTrailingSlash=g,t.\u0275prov=Object(i.Kb)({factory:S,token:t,providedIn:"root"}),t})();function S(){return new M(Object(i.Yb)(y),Object(i.Yb)(c))}function C(t){return t.replace(/\/index.html$/,"")}var k=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),D=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),O=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),T=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),L=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function A(t,e){return j(Object(i.lb)(t)[i.cb.DateFormat],e)}function I(t,e){return j(Object(i.lb)(t)[i.cb.TimeFormat],e)}function P(t,e){return j(Object(i.lb)(t)[i.cb.DateTimeFormat],e)}function E(t,e){const n=Object(i.lb)(t),r=n[i.cb.NumberSymbols][e];if(void 0===r){if(e===L.CurrencyDecimal)return n[i.cb.NumberSymbols][L.Decimal];if(e===L.CurrencyGroup)return n[i.cb.NumberSymbols][L.Group]}return r}const R=i.pb;function Y(t){if(!t[i.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function j(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function N(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const F=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,V={},H=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?: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}|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]*)/;var z=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),W=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function U(t,e,n,i){let r=function(t){if(it(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(F))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,l,c),e}(n)}const e=new Date(t);if(!it(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=G(n,e)||e;let a,o=[];for(;e;){if(a=H.exec(e),!a){o.push(e);break}{o=o.concat(a.slice(1));const t=o.pop();if(!t)break;e=t}}let s=r.getTimezoneOffset();i&&(s=nt(i,s),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,i)-i))}(r,i));let l="";return o.forEach(t=>{const e=function(t){if(et[t])return et[t];let e;switch(t){case"G":case"GG":case"GGG":e=K(W.Eras,O.Abbreviated);break;case"GGGG":e=K(W.Eras,O.Wide);break;case"GGGGG":e=K(W.Eras,O.Narrow);break;case"y":e=Z(B.FullYear,1,0,!1,!0);break;case"yy":e=Z(B.FullYear,2,0,!0,!0);break;case"yyy":e=Z(B.FullYear,3,0,!1,!0);break;case"yyyy":e=Z(B.FullYear,4,0,!1,!0);break;case"Y":e=tt(1);break;case"YY":e=tt(2,!0);break;case"YYY":e=tt(3);break;case"YYYY":e=tt(4);break;case"M":case"L":e=Z(B.Month,1,1);break;case"MM":case"LL":e=Z(B.Month,2,1);break;case"MMM":e=K(W.Months,O.Abbreviated);break;case"MMMM":e=K(W.Months,O.Wide);break;case"MMMMM":e=K(W.Months,O.Narrow);break;case"LLL":e=K(W.Months,O.Abbreviated,D.Standalone);break;case"LLLL":e=K(W.Months,O.Wide,D.Standalone);break;case"LLLLL":e=K(W.Months,O.Narrow,D.Standalone);break;case"w":e=Q(1);break;case"ww":e=Q(2);break;case"W":e=Q(1,!0);break;case"d":e=Z(B.Date,1);break;case"dd":e=Z(B.Date,2);break;case"E":case"EE":case"EEE":e=K(W.Days,O.Abbreviated);break;case"EEEE":e=K(W.Days,O.Wide);break;case"EEEEE":e=K(W.Days,O.Narrow);break;case"EEEEEE":e=K(W.Days,O.Short);break;case"a":case"aa":case"aaa":e=K(W.DayPeriods,O.Abbreviated);break;case"aaaa":e=K(W.DayPeriods,O.Wide);break;case"aaaaa":e=K(W.DayPeriods,O.Narrow);break;case"b":case"bb":case"bbb":e=K(W.DayPeriods,O.Abbreviated,D.Standalone,!0);break;case"bbbb":e=K(W.DayPeriods,O.Wide,D.Standalone,!0);break;case"bbbbb":e=K(W.DayPeriods,O.Narrow,D.Standalone,!0);break;case"B":case"BB":case"BBB":e=K(W.DayPeriods,O.Abbreviated,D.Format,!0);break;case"BBBB":e=K(W.DayPeriods,O.Wide,D.Format,!0);break;case"BBBBB":e=K(W.DayPeriods,O.Narrow,D.Format,!0);break;case"h":e=Z(B.Hours,1,-12);break;case"hh":e=Z(B.Hours,2,-12);break;case"H":e=Z(B.Hours,1);break;case"HH":e=Z(B.Hours,2);break;case"m":e=Z(B.Minutes,1);break;case"mm":e=Z(B.Minutes,2);break;case"s":e=Z(B.Seconds,1);break;case"ss":e=Z(B.Seconds,2);break;case"S":e=Z(B.FractionalSeconds,1);break;case"SS":e=Z(B.FractionalSeconds,2);break;case"SSS":e=Z(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=J(z.Short);break;case"ZZZZZ":e=J(z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=J(z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=J(z.Long);break;default:return null}return et[t]=e,e}(t);l+=e?e(r,n,s):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function G(t,e){const n=function(t){return Object(i.lb)(t)[i.cb.LocaleId]}(t);if(V[n]=V[n]||{},V[n][e])return V[n][e];let r="";switch(e){case"shortDate":r=A(t,T.Short);break;case"mediumDate":r=A(t,T.Medium);break;case"longDate":r=A(t,T.Long);break;case"fullDate":r=A(t,T.Full);break;case"shortTime":r=I(t,T.Short);break;case"mediumTime":r=I(t,T.Medium);break;case"longTime":r=I(t,T.Long);break;case"fullTime":r=I(t,T.Full);break;case"short":const e=G(t,"shortTime"),n=G(t,"shortDate");r=q(P(t,T.Short),[e,n]);break;case"medium":const i=G(t,"mediumTime"),a=G(t,"mediumDate");r=q(P(t,T.Medium),[i,a]);break;case"long":const o=G(t,"longTime"),s=G(t,"longDate");r=q(P(t,T.Long),[o,s]);break;case"full":const l=G(t,"fullTime"),c=G(t,"fullDate");r=q(P(t,T.Full),[l,c])}return r&&(V[n][e]=r),r}function q(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function X(t,e,n="-",i,r){let a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));let o=String(t);for(;o.length0||s>-n)&&(s+=n),t===B.Hours)0===s&&-12===n&&(s=12);else if(t===B.FractionalSeconds)return l=e,X(s,3).substr(0,l);var l;const c=E(o,L.MinusSign);return X(s,e,c,i,r)}}function K(t,e,n=D.Format,r=!1){return function(a,o){return function(t,e,n,r,a,o){switch(n){case W.Months:return function(t,e,n){const r=Object(i.lb)(t),a=j([r[i.cb.MonthsFormat],r[i.cb.MonthsStandalone]],e);return j(a,n)}(e,a,r)[t.getMonth()];case W.Days:return function(t,e,n){const r=Object(i.lb)(t),a=j([r[i.cb.DaysFormat],r[i.cb.DaysStandalone]],e);return j(a,n)}(e,a,r)[t.getDay()];case W.DayPeriods:const s=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=Object(i.lb)(t);return Y(e),(e[i.cb.ExtraData][2]||[]).map(t=>"string"==typeof t?N(t):[N(t[0]),N(t[1])])}(e),n=function(t,e,n){const r=Object(i.lb)(t);Y(r);const a=j([r[i.cb.ExtraData][0],r[i.cb.ExtraData][1]],e)||[];return j(a,n)||[]}(e,a,r),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=s>=e.hours&&l>=e.minutes,r=s0?Math.floor(r/60):Math.ceil(r/60);switch(t){case z.Short:return(r>=0?"+":"")+X(o,2,a)+X(Math.abs(r%60),2,a);case z.ShortGMT:return"GMT"+(r>=0?"+":"")+X(o,1,a);case z.Long:return"GMT"+(r>=0?"+":"")+X(o,2,a)+":"+X(Math.abs(r%60),2,a);case z.Extended:return 0===i?"Z":(r>=0?"+":"")+X(o,2,a)+":"+X(Math.abs(r%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}function $(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Q(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=$(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return X(r,t,E(i,L.MinusSign))}}function tt(t,e=!1){return function(n,i){return X($(n).getFullYear(),t,E(i,L.MinusSign),e)}}const et={};function nt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}class rt{}let at=(()=>{class t extends rt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(R(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.w))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();function ot(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let st=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.xb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.u),i.Ob(i.v),i.Ob(i.l),i.Ob(i.G))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class lt{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ct=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new lt(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new ut(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const a=new ut(t,r);e.push(a)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.R),i.Ob(i.N),i.Ob(i.u))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ut{constructor(t,e){this.record=t,this.view=e}}let ht=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new dt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){pt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){pt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.R),i.Ob(i.N))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class dt{constructor(){this.$implicit=null,this.ngIf=null}}function pt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.xb)(e)}'.`)}class ft{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new ft(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.R),i.Ob(i.N),i.Ob(mt,1))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),_t=(()=>{class t{constructor(t,e,n){n._addDefault(new ft(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.R),i.Ob(i.N),i.Ob(mt,1))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),yt=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(i.v),i.Ob(i.G))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),bt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const 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&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.R))},t.\u0275dir=i.Jb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Ab]}),t})();function vt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.xb)(t)}'`)}class wt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class xt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Mt=new xt,St=new wt;let Ct=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.ub)(e))return Mt;if(Object(i.tb)(e))return St;throw vt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.ac())},t.\u0275pipe=i.Nb({name:"async",type:t,pure:!1}),t})(),kt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw vt(t,e);return e.toLowerCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Nb({name:"lowercase",type:t,pure:!0}),t})(),Dt=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw vt(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Nb({name:"uppercase",type:t,pure:!0}),t})(),Ot=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return U(e,n,r||this.locale,i)}catch(a){throw vt(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.w))},t.\u0275pipe=i.Nb({name:"date",type:t,pure:!0}),t})(),Tt=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=Lt){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.v))},t.\u0275pipe=i.Nb({name:"keyvalue",type:t,pure:!1}),t})();function Lt(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[{provide:rt,useClass:at}]}),t})();const It="browser";function Pt(t){return t===It}let Et=(()=>{class t{}return t.\u0275prov=Object(i.Kb)({token:t,providedIn:"root",factory:()=>new Rt(Object(i.Yb)(l),window,Object(i.Yb)(i.n))}),t})();class Rt{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Yt(this.window.history)||Yt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Yt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},ovuK:function(t,e,n){"use strict";e.a=function(t){return function(e){return t(e)}}},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new a(t,e))}}class a{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pVw1:function(t,e,n){"use strict";var i=n("Y7yP"),r=n("Ju5/"),a=Object(i.a)(r.a,"Set");e.a=a},ppsF:function(t,e,n){"use strict";n.d(e,"b",function(){return d}),n.d(e,"a",function(){return p});var i=n("5+WD"),r=n("fXoL"),a=n("ofXK"),o=n("STbY"),s=n("NFeN"),l=n("bSwM"),c=n("3Pt+"),u=n("sYmb");function h(t,e){if(1&t&&(r.Ub(0,"button",2),r.Ub(1,"mat-icon",3),r.Hc(2,"more_vert"),r.Tb(),r.Ub(3,"mat-checkbox",4),r.bc("ngModelChange",function(t){return e.$implicit.display=t})("click",function(t){return t.stopPropagation()}),r.Hc(4),r.gc(5,"translate"),r.Tb(),r.Tb()),2&t){const t=e.$implicit;r.lc("cdkDragDisabled",t.sticky||!t.header),r.Cb(3),r.lc("ngModel",t.display),r.Cb(1),r.Ic(r.hc(5,3,t.header))}}let d=(()=>{class t{constructor(){this.sticky=t=>!this._columns[t].sticky&&this._columns[t].header}set columns(t){var e;null===(e=this._columns=t)||void 0===e||e.forEach(t=>{var e;return null!==(e=t.display)&&void 0!==e?e:t.display=!0})}get columns(){return this._columns}drop(t){Object(i.d)(this._columns,t.previousIndex,t.currentIndex)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["table-column-pattern"]],inputs:{columns:"columns"},decls:2,vars:2,consts:[["cdkDropList","",3,"cdkDropListSortPredicate","cdkDropListDropped"],["mat-menu-item","","cdkDrag","",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["mat-menu-item","","cdkDrag","",3,"cdkDragDisabled"],[1,"app-foreground-secondary"],[3,"ngModel","ngModelChange","click"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.bc("cdkDropListDropped",function(t){return e.drop(t)}),r.Fc(1,h,6,5,"button",1),r.Tb()),2&t&&(r.lc("cdkDropListSortPredicate",e.sticky),r.Cb(1),r.lc("ngForOf",e.columns))},directives:[i.b,a.m,o.c,i.a,s.a,l.b,c.n,c.q],pipes:[u.d],styles:[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .cdk-drop-list-dragging[_ngcontent-%COMP%] .mat-menu-item[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-disabled[_ngcontent-%COMP%]{height:2px;margin-top:-1px;margin-bottom:-1px}.mat-icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:8px;cursor:move}"]}),t})();class p extends Array{constructor(t){super(...t),this._display=[]}get display(){return this._display.length=0,this.forEach(t=>0!=t.display&&this._display.push(t.id)),this._display}}},pyRK:function(t,e,n){"use strict";var i=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},qFsG:function(t,e,n){"use strict";n.d(e,"a",function(){return f}),n.d(e,"b",function(){return b}),n.d(e,"c",function(){return v});var i=n("nLfN"),r=n("fXoL"),a=n("8LU1"),o=n("EY2u"),s=n("XNiG");n("xgIS"),n("3UWI"),n("1G5W"),n("ofXK");const l=Object(i.f)({passive:!0});let c=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return o.a;const e=Object(a.e)(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new s.a,r="cdk-text-field-autofilled",c=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",c,l),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",c,l)}}),i}stopMonitoring(t){const e=Object(a.e)(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.a),r.Yb(r.B))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(i.a),Object(r.Yb)(r.B))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})();var h=n("FKr1"),d=n("kmnG"),p=n("3Pt+");const f=new r.s("MAT_INPUT_VALUE_ACCESSOR"),m=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let g=0;class _{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const y=Object(h.B)(_);let b=(()=>{class t extends y{constructor(t,e,n,r,a,o,l,c,u,h){super(o,r,a,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=c,this._formField=h,this._uid="mat-input-"+g++,this.focused=!1,this.stateChanges=new s.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Object(i.e)().has(t));const d=this._elementRef.nativeElement,p=d.nodeName.toLowerCase();this._inputValueAccessor=l||d,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===p,this._isTextarea="textarea"===p,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(a.c)(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=Object(a.c)(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Object(i.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=Object(a.c)(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){m.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(i.a),r.Ob(p.m,10),r.Ob(p.p,8),r.Ob(p.g,8),r.Ob(h.d),r.Ob(f,10),r.Ob(c),r.Ob(r.B),r.Ob(d.a,8))},t.\u0275dir=r.Jb({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&r.bc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(r.Xb("disabled",e.disabled)("required",e.required),r.Db("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),r.Gb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[r.Bb([{provide:d.c,useExisting:t}]),r.zb,r.Ab]}),t})(),v=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[h.d],imports:[[u,d.d,h.j],u,d.d]}),t})()},qUOr:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("Xa2L"),r=n("fXoL");let a=(()=>{class t{constructor(t,e,n,r){this._elementRef=t,this._componentFactoryResolver=e,this._viewContainerRef=n,this._renderer=r;const a=this._componentFactoryResolver.resolveComponentFactory(i.b);switch(this._spinner=this._viewContainerRef.createComponent(a).injector.get(i.b),this._elementRef.nativeElement.tagName){case"BUTTON":this._spinner.diameter=20}}ngAfterViewInit(){switch(this._elementRef.nativeElement.tagName){case"BUTTON":this._wrapper=this._elementRef.nativeElement.querySelector(".mat-button-wrapper"),this._value&&(this._renderer.setStyle(this._wrapper,"height","0"),this._renderer.setStyle(this._wrapper,"display","block"),this._renderer.setStyle(this._wrapper,"overflow","hidden")),this._overlay=this._renderer.createElement("span"),this._renderer.appendChild(this._elementRef.nativeElement,this._overlay),this._renderer.appendChild(this._overlay,this._spinner._elementRef.nativeElement),this._renderer.addClass(this._overlay,"mat-button-wrapper");break;default:this._overlay=this._renderer.createElement("div"),this._renderer.setStyle(this._overlay,"display",this._value?"flex":"none"),this._renderer.setStyle(this._overlay,"position","absolute"),this._renderer.setStyle(this._overlay,"top",0),this._renderer.setStyle(this._overlay,"left",0),this._renderer.setStyle(this._overlay,"bottom",0),this._renderer.setStyle(this._overlay,"right",0),this._renderer.setStyle(this._overlay,"z-index",110),this._renderer.setStyle(this._overlay,"align-items","center"),this._renderer.setStyle(this._overlay,"justify-content","center"),this._renderer.setStyle(this._overlay,"background-color","rgba(0, 0, 0, 0.15)"),this._renderer.appendChild(this._elementRef.nativeElement,this._overlay),this._renderer.appendChild(this._overlay,this._spinner._elementRef.nativeElement)}}set loading(t){switch(this._value=t,this._elementRef.nativeElement.tagName){case"BUTTON":t?(this._wrapper&&(this._renderer.setStyle(this._wrapper,"height","0"),this._renderer.setStyle(this._wrapper,"display","block"),this._renderer.setStyle(this._wrapper,"overflow","hidden")),this._renderer.setStyle(this._spinner._elementRef.nativeElement,"display","inline-block")):(this._renderer.setStyle(this._spinner._elementRef.nativeElement,"display","none"),this._wrapper&&(this._renderer.removeStyle(this._wrapper,"height"),this._renderer.removeStyle(this._wrapper,"display"),this._renderer.removeStyle(this._wrapper,"overflow")));break;default:t?this._overlay&&this._renderer.setStyle(this._overlay,"display","flex"):this._overlay&&this._renderer.setStyle(this._overlay,"display","none")}}set color(t){this._spinner.color=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.j),r.Ob(r.R),r.Ob(r.G))},t.\u0275dir=r.Jb({type:t,selectors:[["","loading",""]],inputs:{loading:"loading",color:"color"}}),t})()},qkWt:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,(function(e){return t[e]}).bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=8)}([function(t,e,n){var i,r;void 0===(r="function"==typeof(i={af:function(t,e){return e?"other":1==t?"one":"other"},ak:function(t,e){return e?"other":0==t||1==t?"one":"other"},am:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ar:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},ars:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":i>=3&&i<=10?"few":i>=11&&i<=99?"many":"other"},as:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},asa:function(t,e){return e?"other":1==t?"one":"other"},ast:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},az:function(t,e){var n=String(t).split(".")[0],i=n.slice(-1),r=n.slice(-2),a=n.slice(-3);return e?1==i||2==i||5==i||7==i||8==i||20==r||50==r||70==r||80==r?"one":3==i||4==i||100==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"few":0==n||6==i||40==r||60==r||90==r?"many":"other":1==t?"one":"other"},be:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return e?2!=r&&3!=r||12==a||13==a?"other":"few":1==r&&11!=a?"one":r>=2&&r<=4&&(a<12||a>14)?"few":i&&0==r||r>=5&&r<=9||a>=11&&a<=14?"many":"other"},bem:function(t,e){return e?"other":1==t?"one":"other"},bez:function(t,e){return e?"other":1==t?"one":"other"},bg:function(t,e){return e?"other":1==t?"one":"other"},bh:function(t,e){return e?"other":0==t||1==t?"one":"other"},bm:function(t,e){return"other"},bn:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},bo:function(t,e){return"other"},br:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2),o=i&&n[0].slice(-6);return e?"other":1==r&&11!=a&&71!=a&&91!=a?"one":2==r&&12!=a&&72!=a&&92!=a?"two":(3==r||4==r||9==r)&&(a<10||a>19)&&(a<70||a>79)&&(a<90||a>99)?"few":0!=t&&i&&0==o?"many":"other"},brx:function(t,e){return e?"other":1==t?"one":"other"},bs:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),c=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=c?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ca:function(t,e){var n=String(t).split(".");return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1!=t||n[1]?"other":"one"},ce:function(t,e){return e?"other":1==t?"one":"other"},cgg:function(t,e){return e?"other":1==t?"one":"other"},chr:function(t,e){return e?"other":1==t?"one":"other"},ckb:function(t,e){return e?"other":1==t?"one":"other"},cs:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},cy:function(t,e){return e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t,e){var n=String(t).split("."),i=n[0],r=Number(n[0])==t;return e||1!=t&&(r||0!=i&&1!=i)?"other":"one"},de:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},dsb:function(t,e){var n=String(t).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return e?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},dv:function(t,e){return e?"other":1==t?"one":"other"},dz:function(t,e){return"other"},ee:function(t,e){return e?"other":1==t?"one":"other"},el:function(t,e){return e?"other":1==t?"one":"other"},en:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==t&&i?"one":"other"},eo:function(t,e){return e?"other":1==t?"one":"other"},es:function(t,e){return e?"other":1==t?"one":"other"},et:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},eu:function(t,e){return e?"other":1==t?"one":"other"},fa:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ff:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},fi:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},fil:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},fo:function(t,e){return e?"other":1==t?"one":"other"},fr:function(t,e){return e?1==t?"one":"other":t>=0&&t<2?"one":"other"},fur:function(t,e){return e?"other":1==t?"one":"other"},fy:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},ga:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":i&&t>=3&&t<=6?"few":i&&t>=7&&t<=10?"many":"other"},gd:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":i&&t>=3&&t<=10||i&&t>=13&&t<=19?"few":"other"},gl:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},gsw:function(t,e){return e?"other":1==t?"one":"other"},gu:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},guw:function(t,e){return e?"other":0==t||1==t?"one":"other"},gv:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a?"one":r&&2==a?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"},ha:function(t,e){return e?"other":1==t?"one":"other"},haw:function(t,e){return e?"other":1==t?"one":"other"},he:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1);return e?"other":1==t&&r?"one":2==i&&r?"two":r&&(t<0||t>10)&&a&&0==o?"many":"other"},hi:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},hr:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),c=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=c?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},hsb:function(t,e){var n=String(t).split("."),i=n[1]||"",r=!n[1],a=n[0].slice(-2),o=i.slice(-2);return e?"other":r&&1==a||1==o?"one":r&&2==a||2==o?"two":r&&(3==a||4==a)||3==o||4==o?"few":"other"},hu:function(t,e){return e?1==t||5==t?"one":"other":1==t?"one":"other"},hy:function(t,e){return e?1==t?"one":"other":t>=0&&t<2?"one":"other"},ia:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},id:function(t,e){return"other"},ig:function(t,e){return"other"},ii:function(t,e){return"other"},in:function(t,e){return"other"},io:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},is:function(t,e){var n=String(t).split("."),i=n[0],r=Number(n[0])==t,a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a&&11!=o||!r?"one":"other"},it:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},iu:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},iw:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1);return e?"other":1==t&&r?"one":2==i&&r?"two":r&&(t<0||t>10)&&a&&0==o?"many":"other"},ja:function(t,e){return"other"},jbo:function(t,e){return"other"},jgo:function(t,e){return e?"other":1==t?"one":"other"},ji:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},jmc:function(t,e){return e?"other":1==t?"one":"other"},jv:function(t,e){return"other"},jw:function(t,e){return"other"},ka:function(t,e){var n=String(t).split(".")[0],i=n.slice(-2);return e?1==n?"one":0==n||i>=2&&i<=20||40==i||60==i||80==i?"many":"other":1==t?"one":"other"},kab:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},kaj:function(t,e){return e?"other":1==t?"one":"other"},kcg:function(t,e){return e?"other":1==t?"one":"other"},kde:function(t,e){return"other"},kea:function(t,e){return"other"},kk:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1);return e?6==r||9==r||i&&0==r&&0!=t?"many":"other":1==t?"one":"other"},kkj:function(t,e){return e?"other":1==t?"one":"other"},kl:function(t,e){return e?"other":1==t?"one":"other"},km:function(t,e){return"other"},kn:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},ko:function(t,e){return"other"},ks:function(t,e){return e?"other":1==t?"one":"other"},ksb:function(t,e){return e?"other":1==t?"one":"other"},ksh:function(t,e){return e?"other":0==t?"zero":1==t?"one":"other"},ku:function(t,e){return e?"other":1==t?"one":"other"},kw:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},ky:function(t,e){return e?"other":1==t?"one":"other"},lag:function(t,e){var n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:function(t,e){return e?"other":1==t?"one":"other"},lg:function(t,e){return e?"other":1==t?"one":"other"},lkt:function(t,e){return"other"},ln:function(t,e){return e?"other":0==t||1==t?"one":"other"},lo:function(t,e){return e&&1==t?"one":"other"},lt:function(t,e){var n=String(t).split("."),i=n[1]||"",r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?"other":1==a&&(o<11||o>19)?"one":a>=2&&a<=9&&(o<11||o>19)?"few":0!=i?"many":"other"},lv:function(t,e){var n=String(t).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-2),c=i.slice(-1);return e?"other":a&&0==o||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=l||2!=r&&1==c?"one":"other"},mas:function(t,e){return e?"other":1==t?"one":"other"},mg:function(t,e){return e?"other":0==t||1==t?"one":"other"},mgo:function(t,e){return e?"other":1==t?"one":"other"},mk:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),c=r.slice(-2);return e?1==o&&11!=s?"one":2==o&&12!=s?"two":7!=o&&8!=o||17==s||18==s?"other":"many":a&&1==o&&11!=s||1==l&&11!=c?"one":"other"},ml:function(t,e){return e?"other":1==t?"one":"other"},mn:function(t,e){return e?"other":1==t?"one":"other"},mo:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},mr:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":t>=0&&t<=1?"one":"other"},ms:function(t,e){return e&&1==t?"one":"other"},mt:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":0==t||i>=2&&i<=10?"few":i>=11&&i<=19?"many":"other"},my:function(t,e){return"other"},nah:function(t,e){return e?"other":1==t?"one":"other"},naq:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},nb:function(t,e){return e?"other":1==t?"one":"other"},nd:function(t,e){return e?"other":1==t?"one":"other"},ne:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?i&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},nn:function(t,e){return e?"other":1==t?"one":"other"},nnh:function(t,e){return e?"other":1==t?"one":"other"},no:function(t,e){return e?"other":1==t?"one":"other"},nqo:function(t,e){return"other"},nr:function(t,e){return e?"other":1==t?"one":"other"},nso:function(t,e){return e?"other":0==t||1==t?"one":"other"},ny:function(t,e){return e?"other":1==t?"one":"other"},nyn:function(t,e){return e?"other":1==t?"one":"other"},om:function(t,e){return e?"other":1==t?"one":"other"},or:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?1==t||5==t||i&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:function(t,e){return e?"other":1==t?"one":"other"},pa:function(t,e){return e?"other":0==t||1==t?"one":"other"},pap:function(t,e){return e?"other":1==t?"one":"other"},pl:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":1==t&&r?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&1!=i&&(0==a||1==a)||r&&a>=5&&a<=9||r&&o>=12&&o<=14?"many":"other"},prg:function(t,e){var n=String(t).split("."),i=n[1]||"",r=i.length,a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-2),c=i.slice(-1);return e?"other":a&&0==o||s>=11&&s<=19||2==r&&l>=11&&l<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=l||2!=r&&1==c?"one":"other"},ps:function(t,e){return e?"other":1==t?"one":"other"},pt:function(t,e){var n=String(t).split(".")[0];return e?"other":0==n||1==n?"one":"other"},"pt-PT":function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},rm:function(t,e){return e?"other":1==t?"one":"other"},ro:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&i?"one":!i||0==t||1!=t&&r>=1&&r<=19?"few":"other"},rof:function(t,e){return e?"other":1==t?"one":"other"},root:function(t,e){return"other"},ru:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=i.slice(-1),o=i.slice(-2);return e?"other":r&&1==a&&11!=o?"one":r&&a>=2&&a<=4&&(o<12||o>14)?"few":r&&0==a||r&&a>=5&&a<=9||r&&o>=11&&o<=14?"many":"other"},rwk:function(t,e){return e?"other":1==t?"one":"other"},sah:function(t,e){return"other"},saq:function(t,e){return e?"other":1==t?"one":"other"},sc:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},scn:function(t,e){var n=String(t).split(".");return e?11==t||8==t||80==t||800==t?"many":"other":1!=t||n[1]?"other":"one"},sd:function(t,e){return e?"other":1==t?"one":"other"},sdh:function(t,e){return e?"other":1==t?"one":"other"},se:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},seh:function(t,e){return e?"other":1==t?"one":"other"},ses:function(t,e){return"other"},sg:function(t,e){return"other"},sh:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),c=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=c?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},shi:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":i&&t>=2&&t<=10?"few":"other"},si:function(t,e){var n=String(t).split(".");return e?"other":0==t||1==t||0==n[0]&&1==(n[1]||"")?"one":"other"},sk:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1];return e?"other":1==t&&r?"one":i>=2&&i<=4&&r?"few":r?"other":"many"},sl:function(t,e){var n=String(t).split("."),i=!n[1],r=n[0].slice(-2);return e?"other":i&&1==r?"one":i&&2==r?"two":i&&(3==r||4==r)||!i?"few":"other"},sma:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smi:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smj:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},smn:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},sms:function(t,e){return e?"other":1==t?"one":2==t?"two":"other"},sn:function(t,e){return e?"other":1==t?"one":"other"},so:function(t,e){return e?"other":1==t?"one":"other"},sq:function(t,e){var n=String(t).split("."),i=Number(n[0])==t,r=i&&n[0].slice(-1),a=i&&n[0].slice(-2);return e?1==t?"one":4==r&&14!=a?"many":"other":1==t?"one":"other"},sr:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=i.slice(-2),l=r.slice(-1),c=r.slice(-2);return e?"other":a&&1==o&&11!=s||1==l&&11!=c?"one":a&&o>=2&&o<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"},ss:function(t,e){return e?"other":1==t?"one":"other"},ssy:function(t,e){return e?"other":1==t?"one":"other"},st:function(t,e){return e?"other":1==t?"one":"other"},sv:function(t,e){var n=String(t).split("."),i=!n[1],r=Number(n[0])==t,a=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1!=a&&2!=a||11==o||12==o?"other":"one":1==t&&i?"one":"other"},sw:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},syr:function(t,e){return e?"other":1==t?"one":"other"},ta:function(t,e){return e?"other":1==t?"one":"other"},te:function(t,e){return e?"other":1==t?"one":"other"},teo:function(t,e){return e?"other":1==t?"one":"other"},th:function(t,e){return"other"},ti:function(t,e){return e?"other":0==t||1==t?"one":"other"},tig:function(t,e){return e?"other":1==t?"one":"other"},tk:function(t,e){var n=String(t).split("."),i=Number(n[0])==t&&n[0].slice(-1);return e?6==i||9==i||10==t?"few":"other":1==t?"one":"other"},tl:function(t,e){var n=String(t).split("."),i=n[0],r=n[1]||"",a=!n[1],o=i.slice(-1),s=r.slice(-1);return e?1==t?"one":"other":a&&(1==i||2==i||3==i)||a&&4!=o&&6!=o&&9!=o||!a&&4!=s&&6!=s&&9!=s?"one":"other"},tn:function(t,e){return e?"other":1==t?"one":"other"},to:function(t,e){return"other"},tr:function(t,e){return e?"other":1==t?"one":"other"},ts:function(t,e){return e?"other":1==t?"one":"other"},tzm:function(t,e){var n=String(t).split("."),i=Number(n[0])==t;return e?"other":0==t||1==t||i&&t>=11&&t<=99?"one":"other"},ug:function(t,e){return e?"other":1==t?"one":"other"},uk:function(t,e){var n=String(t).split("."),i=n[0],r=!n[1],a=Number(n[0])==t,o=a&&n[0].slice(-1),s=a&&n[0].slice(-2),l=i.slice(-1),c=i.slice(-2);return e?3==o&&13!=s?"few":"other":r&&1==l&&11!=c?"one":r&&l>=2&&l<=4&&(c<12||c>14)?"few":r&&0==l||r&&l>=5&&l<=9||r&&c>=11&&c<=14?"many":"other"},ur:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},uz:function(t,e){return e?"other":1==t?"one":"other"},ve:function(t,e){return e?"other":1==t?"one":"other"},vi:function(t,e){return e&&1==t?"one":"other"},vo:function(t,e){return e?"other":1==t?"one":"other"},vun:function(t,e){return e?"other":1==t?"one":"other"},wa:function(t,e){return e?"other":0==t||1==t?"one":"other"},wae:function(t,e){return e?"other":1==t?"one":"other"},wo:function(t,e){return"other"},xh:function(t,e){return e?"other":1==t?"one":"other"},xog:function(t,e){return e?"other":1==t?"one":"other"},yi:function(t,e){var n=String(t).split(".");return e||1!=t||n[1]?"other":"one"},yo:function(t,e){return"other"},yue:function(t,e){return"other"},zh:function(t,e){return"other"},zu:function(t,e){return e?"other":t>=0&&t<=1?"one":"other"}})?i.call(e,n,e,t):i)||(t.exports=r)},function(t,e,n){t.exports={date:n(4),duration:n(5),number:n(6),time:n(7)}},function(t,e,n){"use strict";function i(t,e,n,r){this.message=t,this.expected=e,this.found=n,this.location=r,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i)}!function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}(i,Error),i.buildMessage=function(t,e){var n={literal:function(t){return'"'+r(t.text)+'"'},class:function(t){var e,n="";for(e=0;e0){for(e=1,i=1;e_t&&(_t=mt,yt=[]),yt.push(t))}function Ct(){var t,e;for(t=[],e=kt();e!==r;)t.push(e),e=kt();return t}function kt(){var e,n,i;if((e=function(){var e,n,i,a;return e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r&&Yt()!==r&&(i=Dt())!==r&&Yt()!==r?(125===t.charCodeAt(mt)?(a=d,mt++):(a=r,0===bt&&St(p)),a!==r?e=n=function(t){return{type:"argument",arg:t}}(i):(mt=e,e=r)):(mt=e,e=r),e}())===r&&(e=function(){var e,n,i,a,o,s,l,c,v;if(e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r)if(Yt()!==r)if((i=Dt())!==r)if(Yt()!==r)if(44===t.charCodeAt(mt)?(a=f,mt++):(a=r,0===bt&&St(m)),a!==r)if(Yt()!==r)if(t.substr(mt,6)===g?(o=g,mt+=6):(o=r,0===bt&&St(_)),o!==r&&(o=y(0,o)),o!==r)if((o=Yt())!==r)if(44===t.charCodeAt(mt)?(s=f,mt++):(s=r,0===bt&&St(m)),s!==r)if(Yt()!==r){if(l=[],(c=Ot())!==r)for(;c!==r;)l.push(c),c=Ot();else l=r;l!==r&&(c=Yt())!==r?(125===t.charCodeAt(mt)?(v=d,mt++):(v=r,0===bt&&St(p)),v!==r?e=n=b(i,l):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;return e}())===r&&(e=function(){var e,n,i,a,o,s,l,c,g,_,y;if(e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r)if(Yt()!==r)if((i=Dt())!==r)if(Yt()!==r)if(44===t.charCodeAt(mt)?(a=f,mt++):(a=r,0===bt&&St(m)),a!==r)if(Yt()!==r)if(t.substr(mt,6)===v?(s=v,mt+=6):(s=r,0===bt&&St(w)),s===r&&(t.substr(mt,13)===x?(s=x,mt+=13):(s=r,0===bt&&St(M))),s!==r&&(s=function(t,e){return jt.unshift(!0),e}(0,s)),(o=s)!==r)if((s=Yt())!==r)if(44===t.charCodeAt(mt)?(l=f,mt++):(l=r,0===bt&&St(m)),l!==r)if(Yt()!==r)if((c=function(){var e,n,i,a;return bt++,e=mt,Yt()!==r?(t.substr(mt,6)===L?(n=L,mt+=6):(n=r,0===bt&&St(A)),n!==r&&Yt()!==r?(58===t.charCodeAt(mt)?(i=":",mt++):(i=r,0===bt&&St(I)),i!==r&&Yt()!==r&&(a=Rt())!==r&&Yt()!==r?e=a:(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r),bt--,e===r&&0===bt&&St(T),e}())===r&&(c=null),c!==r){if(g=[],(_=Tt())!==r)for(;_!==r;)g.push(_),_=Tt();else g=r;g!==r&&(_=Yt())!==r?(125===t.charCodeAt(mt)?(y=d,mt++):(y=r,0===bt&&St(p)),y!==r?e=n=S(i,o,c,g):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;else mt=e,e=r;return e}())===r&&(e=function(){var e,n,i,a,o,s,l;return e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r&&Yt()!==r&&(i=Dt())!==r&&Yt()!==r?(44===t.charCodeAt(mt)?(a=f,mt++):(a=r,0===bt&&St(m)),a!==r&&Yt()!==r&&(o=function(){var e,n,i,a,o;return t.substr(mt,6)===E?(e=E,mt+=6):(e=r,0===bt&&St(R)),e===r&&(t.substr(mt,4)===Y?(e=Y,mt+=4):(e=r,0===bt&&St(j)),e===r&&(t.substr(mt,4)===N?(e=N,mt+=4):(e=r,0===bt&&St(F)),e===r&&(t.substr(mt,8)===V?(e=V,mt+=8):(e=r,0===bt&&St(H)),e===r&&(t.substr(mt,7)===z?(e=z,mt+=7):(e=r,0===bt&&St(B)),e===r&&(t.substr(mt,8)===W?(e=W,mt+=8):(e=r,0===bt&&St(U)),e===r&&(e=mt,n=mt,bt++,t.substr(mt,6)===g?(i=g,mt+=6):(i=r,0===bt&&St(_)),bt--,i===r?n=void 0:(mt=n,n=r),n!==r?(i=mt,bt++,t.substr(mt,6)===v?(a=v,mt+=6):(a=r,0===bt&&St(w)),bt--,a===r?i=void 0:(mt=i,i=r),i!==r?(a=mt,bt++,t.substr(mt,13)===x?(o=x,mt+=13):(o=r,0===bt&&St(M)),bt--,o===r?a=void 0:(mt=a,a=r),a!==r&&(o=Dt())!==r&&(G(o)?void 0:r)!==r?e=n=o:(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r))))))),e}())!==r&&Yt()!==r?((s=function(){var e,n,i,a;if(e=mt,Yt()!==r)if(44===t.charCodeAt(mt)?(n=f,mt++):(n=r,0===bt&&St(m)),n!==r){for(i=[],a=kt();a!==r;)i.push(a),a=kt();i!==r&&(a=(a=q())?void 0:r)!==r?e=function(t){return{tokens:t}}(i):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;if(e===r)if(e=mt,Yt()!==r)if(44===t.charCodeAt(mt)?(n=f,mt++):(n=r,0===bt&&St(m)),n!==r){for(i=[],a=At();a!==r;)i.push(a),a=At();i!==r?e=function(t){return{tokens:[t.join("")]}}(i):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;return e}())===r&&(s=null),s!==r?(125===t.charCodeAt(mt)?(l=d,mt++):(l=r,0===bt&&St(p)),l!==r?e=n=function(t,e,n){return{type:"function",arg:t,key:e,param:n}}(i,o,s):(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r)):(mt=e,e=r),e}())===r&&(e=mt,35===t.charCodeAt(mt)?(n="#",mt++):(n=r,0===bt&&St(s)),n!==r&&(i=(i=l())?void 0:r)!==r?e=n={type:"octothorpe"}:(mt=e,e=r),e===r)){if(e=mt,n=[],(i=Et())!==r)for(;i!==r;)n.push(i),i=Et();else n=r;n!==r&&(n=c(n)),e=n}return e}function Dt(){var e,n,i;if(bt++,e=mt,n=[],k.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(D)),i!==r)for(;i!==r;)n.push(i),k.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(D));else n=r;return e=n!==r?t.substring(e,mt):n,bt--,e===r&&(n=r,0===bt&&St(C)),e}function Ot(){var t,e,n;return t=mt,Yt()!==r&&(e=Dt())!==r&&Yt()!==r&&(n=Lt())!==r?t=O(e,n):(mt=t,t=r),t}function Tt(){var e,n,i;return e=mt,Yt()!==r&&(n=function(){var e,n,i;return(e=Dt())===r&&(e=mt,61===t.charCodeAt(mt)?(n="=",mt++):(n=r,0===bt&&St(P)),n!==r&&(i=Rt())!==r?e=n=i:(mt=e,e=r)),e}())!==r&&Yt()!==r&&(i=Lt())!==r?e=O(n,i):(mt=e,e=r),e}function Lt(){var e,n,i,a,o,s;if(e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r)if(i=mt,(a=Yt())!==r?(o=mt,bt++,123===t.charCodeAt(mt)?(s=u,mt++):(s=r,0===bt&&St(h)),bt--,s!==r?(mt=o,o=void 0):o=r,o!==r?i=a=[a,o]:(mt=i,i=r)):(mt=i,i=r),i===r&&(i=null),i!==r){for(a=[],o=kt();o!==r;)a.push(o),o=kt();a!==r&&(o=Yt())!==r?(125===t.charCodeAt(mt)?(s=d,mt++):(s=r,0===bt&&St(p)),s!==r?e=n=a:(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;else mt=e,e=r;return e}function At(){var e,n,i,a;if(bt++,e=mt,n=[],Z.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(K)),i!==r)for(;i!==r;)n.push(i),Z.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(K));else n=r;if(n!==r&&(n=function(t){return t.join("")}(n)),(e=n)===r&&(e=It())===r&&(e=mt,39===t.charCodeAt(mt)?(n="'",mt++):(n=r,0===bt&&St(J)),n!==r&&(i=Pt())!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===bt&&St(J)),a!==r?e=n=i:(mt=e,e=r)):(mt=e,e=r),e===r))if(e=mt,123===t.charCodeAt(mt)?(n=u,mt++):(n=r,0===bt&&St(h)),n!==r){for(i=[],a=At();a!==r;)i.push(a),a=At();i!==r?(125===t.charCodeAt(mt)?(a=d,mt++):(a=r,0===bt&&St(p)),a!==r?e=n=function(t){return"{"+t.join("")+"}"}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;return bt--,e===r&&(n=r,0===bt&&St(X)),e}function It(){var e,n;return bt++,"''"===t.substr(mt,2)?(n="''",mt+=2):(n=r,0===bt&&St(Q)),n!==r&&(n="'"),bt--,(e=n)===r&&(n=r,0===bt&&St($)),e}function Pt(){var e,n,i;if((e=It())===r){if(e=mt,n=[],tt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(et)),i!==r)for(;i!==r;)n.push(i),tt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(et));else n=r;n!==r&&(n=c(n)),e=n}return e}function Et(){var e,n;return(e=It())===r&&(e=function(){var e,n,i,a,o,s;if(bt++,(e=function(){var e,n,i,a;if(e=mt,"'{"===t.substr(mt,2)?(n="'{",mt+=2):(n=r,0===bt&&St(nt)),n!==r){for(i=[],a=Pt();a!==r;)i.push(a),a=Pt();i!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===bt&&St(J)),a!==r?e=n=function(t){return"{"+t.join("")}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;if(e===r)if(e=mt,"'}"===t.substr(mt,2)?(n="'}",mt+=2):(n=r,0===bt&&St(it)),n!==r){for(i=[],a=Pt();a!==r;)i.push(a),a=Pt();i!==r?(39===t.charCodeAt(mt)?(a="'",mt++):(a=r,0===bt&&St(J)),a!==r?e=n=function(t){return"}"+t.join("")}(i):(mt=e,e=r)):(mt=e,e=r)}else mt=e,e=r;return e}())===r){if(e=mt,n=mt,i=mt,"'#"===t.substr(mt,2)?(a="'#",mt+=2):(a=r,0===bt&&St(at)),a!==r){for(o=[],s=Pt();s!==r;)o.push(s),s=Pt();o!==r?(39===t.charCodeAt(mt)?(s="'",mt++):(s=r,0===bt&&St(J)),s!==r?i=a=function(t){return"#"+t.join("")}(o):(mt=i,i=r)):(mt=i,i=r)}else mt=i,i=r;i!==r&&(a=(a=l())?void 0:r)!==r?n=i=[i,a]:(mt=n,n=r),n!==r&&(n=function(t){return t[0]}(n)),(e=n)===r&&(39===t.charCodeAt(mt)?(e="'",mt++):(e=r,0===bt&&St(J)))}return bt--,e===r&&(n=r,0===bt&&St(rt)),e}())===r&&(e=mt,35===t.charCodeAt(mt)?(n="#",mt++):(n=r,0===bt&&St(s)),n!==r&&(jt[0]?r:void 0)!==r?e=n=n:(mt=e,e=r),e===r&&(e=function(){var e;return bt++,st.test(t.charAt(mt))?(e=t.charAt(mt),mt++):(e=r,0===bt&&St(lt)),bt--,e===r&&0===bt&&St(ot),e}())),e}function Rt(){var e,n,i;if(bt++,e=mt,n=[],ut.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(ht)),i!==r)for(;i!==r;)n.push(i),ut.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(ht));else n=r;return e=n!==r?t.substring(e,mt):n,bt--,e===r&&(n=r,0===bt&&St(ct)),e}function Yt(){var e,n,i;for(bt++,e=mt,n=[],pt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(ft));i!==r;)n.push(i),pt.test(t.charAt(mt))?(i=t.charAt(mt),mt++):(i=r,0===bt&&St(ft));return e=n!==r?t.substring(e,mt):n,bt--,e===r&&(n=r,0===bt&&St(dt)),e}var jt=[!1];if((n=o())!==r&&mt===t.length)return n;throw n!==r&&mt=60&&(t=Math.round((t-i[0])/60),i.unshift(t))),e+i.shift()+":"+i.map(function(t){return t<10?"0"+String(t):String(t)}).join(":")}t.exports=function(){return n}},function(t,e){t.exports=function(t){var e=(function(t,e,n){var i=n&&n.split(":")||[],r={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:i[1]&&i[1].trim()||CURRENCY,minimumFractionDigits:2,maximumFractionDigits:2}};return new Intl.NumberFormat(e,r[i[0]]||{}).format(t)}).toString().replace("CURRENCY",JSON.stringify(t.currency||"USD")).match(/\(([^)]*)\)[^{]*{([\s\S]*)}/);return new Function(e[1],e[2])}},function(t,e){function n(t,e,n){var i={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":i.timeZoneName="short";break;case"short":delete i.second}return new Date(t).toLocaleTimeString(e,i)}t.exports=function(){return n}},function(t,e,n){"use strict";n.r(e);var i=n(1),r=n.n(i),a=n(2),o={break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},s={debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0};function l(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!o[t])return e?"".concat(e,".").concat(t):t;var n=JSON.stringify(t);return e?e+"[".concat(n,"]"):n}function c(t){var e=t.trim().replace(/\W+/g,"_");return o[e]||s[e]||/^\d/.test(e)?"_"+e:e}var u=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function h(t){return(h="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})(t)}var d=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.mf=e,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var e;return(e=[{key:"compile",value:function(t,e,n){var i=this;if("object"!=h(t)){this.lc=e;var r=n[e]||{cardinal:[],ordinal:[]};r.strict=!!this.mf.options.strictNumberSign;var o=Object(a.parse)(t,r).map(function(t){return i.token(t)});return"function(d) { return ".concat(o.join(" + ")||'""',"; }")}var s={};for(var l in t){var c=n.hasOwnProperty(l)?l:e;s[l]=this.compile(t[l],c,n)}return s}},{key:"cases",value:function(t,e){var n=this,i="select"===t.type||!this.mf.hasCustomPluralFuncs,r=t.cases.map(function(t){var r=t.key;"other"===r&&(i=!1);var a=t.tokens.map(function(t){return n.token(t,e)});return l(r)+": "+(a.join(" + ")||'""')});if(i)throw new Error("No 'other' form found in "+JSON.stringify(t));return"{ ".concat(r.join(", ")," }")}},{key:"token",value:function(t,e){var n,i=this;if("string"==typeof t)return JSON.stringify(t);var r,a,o,s=[l(t.arg,"d")];switch(t.type){case"argument":return this.mf.options.biDiSupport?(r=s[0],a=u.test(this.lc),o=JSON.stringify(a?"\u200f":"\u200e"),"".concat(o," + ").concat(r," + ").concat(o)):s[0];case"select":n="select",e&&this.mf.options.strictNumberSign&&(e=null),s.push(this.cases(t,e)),this.runtime.select=!0;break;case"selectordinal":n="plural",s.push(0,c(this.lc),this.cases(t,t),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":n="plural",s.push(t.offset||0,c(this.lc),this.cases(t,t)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(!(t.key in this.mf.fmt)&&t.key in this.mf.constructor.formatters&&(this.mf.fmt[t.key]=(0,this.mf.constructor.formatters[t.key])(this.mf)),!this.mf.fmt[t.key])throw new Error("Formatting function ".concat(JSON.stringify(t.key)," not found!"));if(s.push(JSON.stringify(this.lc)),t.param){e&&this.mf.options.strictNumberSign&&(e=null);var h=t.param.tokens.map(function(t){return i.token(t,e)});s.push("("+(h.join(" + ")||'""')+").trim()")}n=l(t.key,"fmt"),this.formatters[t.key]=!0;break;case"octothorpe":if(!e)return'"#"';n="number",s=[l(e.arg,"d"),JSON.stringify(e.arg)],e.offset&&s.push(e.offset),this.runtime.number=!0}if(!n)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(n,"(").concat(s.join(", "),")")}}])&&function(t,e){for(var n=0;n0){n.fmt={};for(var d=0;d-1?m+t+" = "+b:m+["(function (root, G) {",' if (typeof define === "function" && define.amd) { define(G); }',' else if (typeof exports === "object") { module.exports = G; }'," else { "+l(t,"root")+" = G; }","})(this, "+b+");"].join("\n"):m+"export default "+b},v}}]),t}();S.defaultLocale="en",S.formatters=r.a}]).default},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("DH7j"),r=n("XoHu"),a=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let s=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof o?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},rDax:function(t,e,n){"use strict";n.d(e,"a",function(){return q}),n.d(e,"b",function(){return G}),n.d(e,"c",function(){return B}),n.d(e,"d",function(){return k}),n.d(e,"e",function(){return P}),n.d(e,"f",function(){return Z});var i=n("vxfF"),r=n("fXoL"),a=n("nLfN"),o=n("cH1L"),s=n("ofXK"),l=n("8LU1"),c=n("+rOU"),u=n("XNiG"),h=n("quSY"),d=n("VRyK"),p=n("IzEk"),f=n("1G5W"),m=n("7o/Q");class g{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new _(t,this.predicate,this.inclusive))}}class _ extends m.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}var y=n("FtGj");class b{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(l.d)(-this._previousScrollPosition.left),t.style.top=Object(l.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class v{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w{enable(){}disable(){}attach(){}}function x(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function M(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();x(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let C=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new w,this.close=t=>new v(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new b(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.c),r.Yb(i.e),r.Yb(r.B),r.Yb(s.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(i.c),Object(r.Yb)(i.e),Object(r.Yb)(r.B),Object(r.Yb)(s.d))},token:t,providedIn:"root"}),t})();class k{constructor(t){if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class D{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class O{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let T=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(s.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(s.d))},token:t,providedIn:"root"}),t})(),L=(()=>{class t extends T{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(s.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(s.d))},token:t,providedIn:"root"}),t})(),A=(()=>{class t extends T{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(s.d),r.Yb(a.a))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(s.d),Object(r.Yb)(a.a))},token:t,providedIn:"root"}),t})();const I=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let P=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||I){const t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let e=0;ethis._backdropClick.next(t),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(l.d)(this._config.width),t.height=Object(l.d)(this._config.height),t.minWidth=Object(l.d)(this._config.minWidth),t.minHeight=Object(l.d)(this._config.minHeight),t.maxWidth=Object(l.d)(this._config.maxWidth),t.maxHeight=Object(l.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;Object(l.b)(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(Object(f.a)(Object(d.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const R=/([A-Za-z%]+)$/;class Y{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let a of this._preferredPositions){let o=this._getOriginPoint(t,a),s=this._getOverlayPoint(o,e,a),l=this._getOverlayFit(s,e,n,a);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,o);this._canFitWithFlexibleDimensions(l,s,n)?i.push({position:a,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,a)}):(!r||r.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){let{x:r,y:a}=t,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);let l=0-a,c=a+e.height-n.height,u=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,l,c),d=u*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,a=N(this._overlayRef.getConfig().minHeight),o=N(this._overlayRef.getConfig().minWidth),s=t.fitsInViewportHorizontally||null!=o&&o<=r;return(t.fitsInViewportVertically||null!=a&&a<=i)&&s}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(t.x+e.width-i.width,0),a=Math.max(t.y+e.height-i.height,0),o=Math.max(i.top-n.top-t.y,0),s=Math.max(i.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=i.width?s||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,s=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,s=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;s=2*e,l=t.x-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:a,left:l,bottom:o,right:c,width:s,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(l.d)(n.height),i.top=Object(l.d)(n.top),i.bottom=Object(l.d)(n.bottom),i.width=Object(l.d)(n.width),i.left=Object(l.d)(n.left),i.right=Object(l.d)(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Object(l.d)(t)),r&&(i.maxWidth=Object(l.d)(r))}this._lastBoundingBoxSize=n,j(this._boundingBox.style,i)}_resetBoundingBoxStyles(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();j(n,this._getExactOverlayY(e,t,i)),j(n,this._getExactOverlayX(e,t,i))}else n.position="static";let o="",s=this._getOffset(e,"x"),c=this._getOffset(e,"y");s&&(o+=`translateX(${s}px) `),c&&(o+=`translateY(${c}px)`),n.transform=o.trim(),a.maxHeight&&(i?n.maxHeight=Object(l.d)(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Object(l.d)(a.maxWidth):r&&(n.maxWidth="")),j(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(l.d)(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},a=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":r.left=Object(l.d)(a.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:M(t,n),isOriginOutsideView:x(t,n),isOverlayClipped:M(e,n),isOverlayOutsideView:x(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Object(l.b)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function j(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function N(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(R);return n&&"px"!==n?null:parseFloat(e)}return t||null}class F{constructor(t,e,n,i,r,a,o){this._preferredPositions=[],this._positionStrategy=new Y(n,i,r,a,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new D(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class V{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:a,maxHeight:o}=n,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let H=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new V}connectedTo(t,e,n){return new F(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Y(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.e),r.Yb(s.d),r.Yb(a.a),r.Yb(P))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(i.e),Object(r.Yb)(s.d),Object(r.Yb)(a.a),Object(r.Yb)(P))},token:t,providedIn:"root"}),t})(),z=0,B=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=a,this._ngZone=o,this._document=s,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new k(t);return r.direction=r.direction||this._directionality.value,new E(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+z++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new c.e(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(C),r.Yb(P),r.Yb(r.j),r.Yb(H),r.Yb(L),r.Yb(r.t),r.Yb(r.B),r.Yb(s.d),r.Yb(o.b),r.Yb(s.i),r.Yb(A))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const W=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],U=new r.s("cdk-connected-overlay-scroll-strategy");let G=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),q=(()=>{class t{constructor(t,e,n,i,a){this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.a.EMPTY,this._attachSubscription=h.a.EMPTY,this._detachSubscription=h.a.EMPTY,this._positionSubscription=h.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.o,this.positionChange=new r.o,this.attach=new r.o,this.detach=new r.o,this.overlayKeydown=new r.o,this.overlayOutsideClick=new r.o,this._templatePortal=new c.h(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(l.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(l.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(l.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(l.c)(t)}get push(){return this._push}set push(t){this._push=Object(l.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=W);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode!==y.g||this.disableClose||Object(y.s)(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new k({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new g(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(B),r.Ob(r.N),r.Ob(r.R),r.Ob(U),r.Ob(o.b,8))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.Ab]}),t})();const X={provide:U,deps:[B],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Z=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[B,X],imports:[[o.a,c.g,i.d],i.d]}),t})()},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sYmb:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return f}),n.d(e,"c",function(){return Y}),n.d(e,"d",function(){return R}),n.d(e,"e",function(){return E});var i=n("fXoL"),r=n("LRne"),a=n("7+OI"),o=n("cp0P"),s=n("GyhO"),l=n("NXyV"),c=n("IzEk"),u=n("UXun"),h=n("lJxs"),d=n("bOdf"),p=n("eIep");class f{}let m=(()=>{class t extends f{getTranslation(t){return Object(r.a)({})}}return t.\u0275fac=function(e){return g(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const g=i.Wb(m);class _{}let y=(()=>{class t{handle(t){return t.key}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();function b(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,i,r,a=typeof t;if(a==typeof e&&"object"==a){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(i in r=Object.create(null),t){if(!b(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&void 0!==e[i])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(i=0;i{w(e[i])?i in t?n[i]=x(t[i],e[i]):Object.assign(n,{[i]:e[i]}):Object.assign(n,{[i]:e[i]})}),n}class M{}let S=(()=>{class t extends M{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!v(t)||!v(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,(t,n)=>{let i=this.getValue(e,n);return v(i)?i:t}):t}}return t.\u0275fac=function(e){return C(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const C=i.Wb(S);class k{}let D=(()=>{class t extends k{compile(t,e){return t}compileTranslations(t,e){return t}}return t.\u0275fac=function(e){return O(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const O=i.Wb(D);class T{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.o,this.onLangChange=new i.o,this.onDefaultLangChange=new i.o}}const L=new i.s("USE_STORE"),A=new i.s("USE_DEFAULT_LANG"),I=new i.s("DEFAULT_LANGUAGE"),P=new i.s("USE_EXTEND");let E=(()=>{class t{constructor(t,e,n,r,a,o=!0,s=!1,l=!1,c){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=r,this.missingTranslationHandler=a,this.useDefaultLang=o,this.isolate=s,this.extend=l,this.pending=!1,this._onTranslationChange=new i.o,this._onLangChange=new i.o,this._onDefaultLangChange=new i.o,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeDefaultLang(t)})):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(r.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(c.a)(1)).subscribe(e=>{this.changeLang(t)}),e):(this.changeLang(t),Object(r.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(u.a)(1),Object(c.a)(1));return this.loadingTranslations=e.pipe(Object(h.a)(e=>this.compiler.compileTranslations(e,t)),Object(u.a)(1),Object(c.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),this.translations[t]=(n||this.extend)&&this.translations[t]?x(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach(t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let i;if(e instanceof Array){let i={},s=!1;for(let r of e)i[r]=this.getParsedResult(t,r,n),Object(a.a)(i[r])&&(s=!0);if(s){const t=e.map(t=>Object(a.a)(i[t])?i[t]:Object(r.a)(i[t]));return Object(o.a)(t).pipe(Object(h.a)(t=>{let n={};return t.forEach((t,i)=>{n[e[i]]=t}),n}))}return i}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),i=this.missingTranslationHandler.handle(t)}return void 0!==i?i:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(d.a)(n=>(n=this.getParsedResult(n,t,e),Object(a.a)(n)?n:Object(r.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(a.a)(n)?n:Object(r.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onTranslationChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return"function"==typeof i.subscribe?i:Object(r.a)(i)})))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(s.a)(Object(l.a)(()=>this.get(t,e)),this.onLangChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,t,e);return Object(a.a)(i)?i:Object(r.a)(i)})))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(a.a)(n)){if(t instanceof Array){let e={};return t.forEach((n,i)=>{e[t[i]]=t[i]}),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(T),i.Yb(f),i.Yb(k),i.Yb(M),i.Yb(_),i.Yb(A),i.Yb(L),i.Yb(P),i.Yb(I))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let i=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,t,e);Object(a.a)(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(t,e).subscribe(i)}transform(t,...e){if(!t||!t.length)return t;if(b(t,this.lastKey)&&b(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(i){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: "+e[0])}}else"object"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(E),i.ac())},t.\u0275pipe=i.Nb({name:"translate",type:t,pure:!1}),t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),Y=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:m},e.compiler||{provide:k,useClass:D},e.parser||{provide:M,useClass:S},e.missingTranslationHandler||{provide:_,useClass:y},T,{provide:L,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:P,useValue:e.extend},{provide:I,useValue:e.defaultLanguage},E]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:f,useClass:m},e.compiler||{provide:k,useClass:D},e.parser||{provide:M,useClass:S},e.missingTranslationHandler||{provide:_,useClass:y},{provide:L,useValue:e.isolate},{provide:A,useValue:e.useDefaultLang},{provide:P,useValue:e.extend},{provide:I,useValue:e.defaultLanguage},E]}}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})()},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},"t+mt":function(t,e,n){!function(t){"use strict";t.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tPH9:function(t,e,n){"use strict";e.a=function(t,e){for(var n=-1,i=e.length,r=t.length;++n=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},"tk/3":function(t,e,n){"use strict";n.d(e,"a",function(){return O}),n.d(e,"b",function(){return k}),n.d(e,"c",function(){return H}),n.d(e,"d",function(){return v}),n.d(e,"e",function(){return d}),n.d(e,"f",function(){return m});var i=n("fXoL"),r=n("LRne"),a=n("HDdC"),o=n("bOdf"),s=n("pLZG"),l=n("lJxs"),c=n("ofXK");class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).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,"/")}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[r,a]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(a),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function g(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class b{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),s)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new b(e,n,r,{params:l,headers:s,reportProgress:o,responseType:i,withCredentials:a})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class x extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new x({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class M extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new M({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function C(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let k=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof b)i=t;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let a=void 0;n.params&&(a=n.params instanceof m?n.params:new m({fromObject:n.params})),i=new b(t,e,void 0!==n.body?n.body:null,{headers:r,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const a=Object(r.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof b||"events"===n.observe)return a;const c=a.pipe(Object(s.a)(t=>t instanceof M));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,C(n,e))}post(t,e,n={}){return this.request("POST",t,C(n,e))}put(t,e,n={}){return this.request("PUT",t,C(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(u))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();class D{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const O=new i.s("HTTP_INTERCEPTORS");let T=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;class A{}let I=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const a=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",a=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new x({headers:a,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:s}=a(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new M({body:l,headers:i,status:r,statusText:o,url:s||void 0})),e.complete()):e.error(new S({error:l,headers:i,status:r,statusText:o,url:s||void 0}))},s=t=>{const{url:i}=a(),r=new S({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(a()),l=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",s),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(A))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const E=new i.s("XSRF_COOKIE_NAME"),R=new i.s("XSRF_HEADER_NAME");class Y{}let j=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.B)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(c.d),i.Yb(i.D),i.Yb(E))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),N=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(Y),i.Yb(R))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(O,[]);this.chain=t.reduceRight((t,e)=>new D(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(h),i.Yb(i.t))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:N,useClass:T}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:E,useValue:e.cookieName}:[],e.headerName?{provide:R,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[N,{provide:O,useExisting:N,multi:!0},{provide:Y,useClass:j},{provide:E,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),t})(),H=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[k,{provide:u,useClass:F},P,{provide:h,useExisting:P},I,{provide:A,useExisting:I}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},"twO/":function(t,e,n){"use strict";e.a=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var h=n("NXyV"),d=n("EY2u"),p=n("XNiG"),f=n("lJxs"),m=n("0EUg"),g=n("pLZG"),_=n("7o/Q"),y=n("4I5i");function b(t){return function(e){return 0===t?Object(d.b)():e.lift(new v(t))}}class v{constructor(t){if(this.total=t,this.total<0)throw new y.a}call(t,e){return e.subscribe(new w(t,this.total))}}class w extends _.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.lift(new M(t))}class M{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new S(t,this.errorFactory))}}class S extends _.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function C(){return new u}function k(t=null){return e=>e.lift(new D(t))}class D{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new O(t,this.defaultValue))}}class O extends _.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var T=n("SpAZ"),L=n("eIep"),A=n("IzEk"),I=n("JX91");class P{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new E(t,this.accumulator,this.seed,this.hasSeed))}}class E extends _.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var R=n("JIr8"),Y=n("bOdf");function j(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):T.a,Object(A.a)(1),n?k(e):x(()=>new u))}var N=n("5+tZ"),F=n("vkgz"),V=n("nYR2"),H=n("bHdf");class z{constructor(t,e){this.id=t,this.url=e}}class B extends z{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class W extends z{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class U extends z{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class G extends z{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class q extends z{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends z{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends z{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class K extends z{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends z{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ${constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Q{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class et{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nt{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class it{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class at{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function ot(t){return new at(t)}function st(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function lt(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function ht(t){return Array.prototype.concat.apply([],t)}function dt(t){return t.length>0?t[t.length-1]:null}function pt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function ft(t){return Object(r.tb)(t)?t:Object(r.ub)(t)?Object(o.a)(Promise.resolve(t)):Object(a.a)(t)}function mt(t,e,n){return n?function(t,e){return ct(t,e)}(t.queryParams,e.queryParams)&>(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>ut(t[n],e[n]))}(t.queryParams,e.queryParams)&&_t(t.root,e.root)}function gt(t,e){if(!xt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!gt(t.children[n],e.children[n]))return!1}return!0}function _t(t,e){return yt(t,e,e.segments)}function yt(t,e,n){if(t.segments.length>n.length)return!!xt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!xt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!_t(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!xt(t.segments,i)&&!!t.children.primary&&yt(t.children.primary,e,r)}}class bt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return kt.serialize(this)}}class vt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,pt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dt(this)}}class wt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=ot(this.parameters)),this._parameterMap}toString(){return Et(this)}}function xt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Mt(t,e){let n=[];return pt(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),pt(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}class St{}class Ct{parse(t){const e=new Ft(t);return new bt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+Ot(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Lt(e)}=${Lt(t)}`).join("&"):`${Lt(e)}=${Lt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const kt=new Ct;function Dt(t){return t.segments.map(t=>Et(t)).join("/")}function Ot(t,e){if(!t.hasChildren())return Dt(t);if(e){const e=t.children.primary?Ot(t.children.primary,!1):"",n=[];return pt(t.children,(t,e)=>{"primary"!==e&&n.push(`${e}:${Ot(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=Mt(t,(e,n)=>"primary"===n?[Ot(t.children.primary,!1)]:[`${n}:${Ot(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Dt(t)}/${e[0]}`:`${Dt(t)}/(${e.join("//")})`}}function Tt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lt(t){return Tt(t).replace(/%3B/gi,";")}function At(t){return Tt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function It(t){return decodeURIComponent(t)}function Pt(t){return It(t.replace(/\+/g,"%20"))}function Et(t){return`${At(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${At(t)}=${At(e[t])}`).join("")}`;var e}const Rt=/^[^\/()?;=#]+/;function Yt(t){const e=t.match(Rt);return e?e[0]:""}const jt=/^[^=?&#]+/,Nt=/^[^?&#]+/;class Ft{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vt([],{}):new vt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new vt(t,e)),n}parseSegment(){const t=Yt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new wt(It(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Yt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Yt(this.remaining);t&&(n=t,this.capture(n))}t[It(e)]=It(n)}parseQueryParam(t){const e=function(t){const e=t.match(jt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Nt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=Pt(e),r=Pt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Yt(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");const a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new vt([],a),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Vt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Ht(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Ht(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=zt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return zt(t,this._root).map(t=>t.value)}}function Ht(t,e){if(t===e.value)return e;for(const n of e.children){const e=Ht(t,n);if(e)return e}return null}function zt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=zt(t,n);if(i.length)return i.unshift(e),i}return[]}class Bt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Wt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Ut extends Vt{constructor(t,e){super(t),this.snapshot=e,Jt(this,t)}toString(){return this.snapshot.toString()}}function Gt(t,e){const n=function(t,e){const n=new Zt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Kt("",new Bt(n,[]))}(t,e),i=new s.a([new wt("",{})]),r=new s.a({}),a=new s.a({}),o=new s.a({}),l=new s.a(""),c=new qt(i,r,o,l,a,"primary",e,n.root);return c.snapshot=n.root,new Ut(new Bt(c,[]),n)}class qt{constructor(t,e,n,i,r,a,o,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=a,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(f.a)(t=>ot(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>ot(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Zt{constructor(t,e,n,i,r,a,o,s,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=a,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ot(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ot(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kt extends Vt{constructor(t,e){super(e),this.url=t,Jt(this,e)}toString(){return $t(this._root)}}function Jt(t,e){e.value._routerState=t,e.children.forEach(e=>Jt(t,e))}function $t(t){const e=t.children.length>0?` { ${t.children.map($t).join(", ")} } `:"";return`${t.value}${e}`}function Qt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ct(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ct(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nct(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||te(t.parent,e.parent))}function ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return ee(t,e,i);return ee(t,e)})}(t,e,n);return new Bt(i,r)}{const n=t.retrieve(e.value);if(n){const t=n.route;return ne(e,t),t}{const n=new qt(new s.a((i=e.value).url),new s.a(i.params),new s.a(i.queryParams),new s.a(i.fragment),new s.a(i.data),i.outlet,i.component,i),r=e.children.map(e=>ee(t,e));return new Bt(n,r)}}var i}function ne(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{a[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new bt(n.root===t?e:oe(n.root,t,e),a,r)}function oe(t,e,n){const i={};return pt(t.children,(t,r)=>{i[r]=t===e?n:oe(t,e,n)}),new vt(t.segments,i)}class se{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&ie(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(re);if(i&&i!==dt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class le{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ce(t,e,n){if(t||(t=new vt([],{})),0===t.segments.length&&t.hasChildren())return ue(t,e,n);const i=function(t,e,n){let i=0,r=e;const a={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return a;const e=t.segments[r],o=n[i];if(re(o))break;const s=""+o,l=i0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!fe(s,l,e))return a;i+=2}else{if(!fe(s,{},e))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=ce(t.children[i],e,n))}),pt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new vt(t.segments,r)}}function he(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=he(new vt([],{}),0,t))}),e}function pe(t){const e={};return pt(t,(t,n)=>e[n]=""+t),e}function fe(t,e,n){return t==n.path&&ct(e,n.parameters)}class me{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Qt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),pt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=Wt(t),r=t.value.component?n.children:e;pt(i,(t,e)=>this.deactivateRouteAndItsChildren(t,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=Wt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new it(t.value.snapshot))}),t.children.length&&this.forwardEvent(new et(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Qt(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ge(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ge(t){Qt(t.value),t.children.forEach(ge)}class _e{constructor(t,e){this.routes=t,this.module=e}}function ye(t){return"function"==typeof t}function be(t){return t instanceof bt}const ve=Symbol("INITIAL_VALUE");function we(){return Object(L.a)(t=>Object(l.b)(...t.map(t=>t.pipe(Object(A.a)(1),Object(I.a)(ve)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new P(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==ve)return t;if(i===ve&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||be(i))return i}return t},t)},ve),Object(g.a)(t=>t!==ve),Object(f.a)(t=>be(t)?t:!0===t),Object(A.a)(1)))}let xe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r.Pb(0,"router-outlet")},directives:function(){return[mn]},encapsulation:2}),t})();function Me(t,e=""){for(let n=0;ne.error(new Oe(t)))}function Ae(t){return new c.a(e=>e.error(new Te(t)))}function Ie(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Pe{constructor(t,e,n,i,a){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(r.z)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(R.a)(t=>{if(t instanceof Te)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Oe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(R.a)(t=>{if(t instanceof Oe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new vt([],{primary:t}):t;return new bt(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new vt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(a.a)({});const n=[],i=[],r={};return pt(t,(t,a)=>{const o=e(a,t).pipe(Object(f.a)(t=>r[a]=t));"primary"===a?n.push(o):i.push(o)}),a.a.apply(null,n.concat(i)).pipe(Object(m.a)(),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(g.a)((e,n)=>t(e,n,i)):T.a,b(1),n?k(e):x(()=>new u))}(),Object(f.a)(()=>r))}(n.children,(n,i)=>this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,r,s){const c=function(t){return t.reduce((t,e)=>{const n=De(e);return t.has(n)?t.get(n).push(e):t.set(n,[e]),t},new Map)}(n);c.has(r)||c.set(r,[]);const h=n=>Object(o.a)(n).pipe(Object(Y.a)(o=>this.expandSegmentAgainstRoute(t,e,n,o,i,r,s).pipe(Object(R.a)(t=>{if(t instanceof Oe)return Object(a.a)(null);throw t}))),j(t=>null!==t),Object(R.a)(t=>{if(t instanceof u||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,r))return Object(a.a)(new vt([],{}));throw new Oe(e)}throw t})),d=Array.from(c.entries()).map(([t,e])=>{const n=h(e);return t===r?n:n.pipe(Object(f.a)(()=>null),Object(R.a)(()=>Object(a.a)(null)))});return Object(o.a)(d).pipe(t=>t.lift(new l.a(void 0)),j(),Object(f.a)(t=>t.find(t=>null!==t)))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,r,a,o){return De(i)!==a&&""!==i.path?Le(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):Le(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ae(r):this.lineralizeSegments(n,r).pipe(Object(N.a)(n=>{const r=new vt(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a){const{matched:o,consumedSegments:s,lastChild:l,positionalParamSegments:c}=Ee(e,i,r);if(!o)return Le(e);const u=this.applyRedirectCommands(s,i.redirectTo,c);return i.redirectTo.startsWith("/")?Ae(u):this.lineralizeSegments(i,u).pipe(Object(N.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),a,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new vt(i,{})))):Object(a.a)(new vt(i,{}));const{matched:r,consumedSegments:o,lastChild:s}=Ee(e,n,i);if(!r)return Le(e);const l=i.slice(s);return this.getChildConfig(t,n,i).pipe(Object(N.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:r,slicedSegments:s}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>Ye(t,e,n)&&"primary"!==De(n))}(t,n,i)?{segmentGroup:Re(new vt(e,function(t,e){const n={};n.primary=e;for(const i of t)""===i.path&&"primary"!==De(i)&&(n[De(i)]=new vt([],{}));return n}(i,new vt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ye(t,e,n))}(t,n,i)?{segmentGroup:Re(new vt(t.segments,function(t,e,n,i){const r={};for(const a of n)Ye(t,e,a)&&!i[De(a)]&&(r[De(a)]=new vt([],{}));return Object.assign(Object.assign({},i),r)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,i);return 0===s.length&&r.hasChildren()?this.expandChildren(n,i,r).pipe(Object(f.a)(t=>new vt(o,t))):0===i.length&&0===s.length?Object(a.a)(new vt(o,{})):this.expandSegment(n,r,i,s,"primary",!0).pipe(Object(f.a)(t=>new vt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(a.a)(new _e(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(a.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(N.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error(st(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(a.a)(new _e([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(a.a)(!0);const r=i.map(i=>{const r=t.get(i);let a;if(function(t){return t&&ye(t.canLoad)}(r))a=r.canLoad(e,n);else{if(!ye(r))throw new Error("Invalid CanLoad guard");a=r(e,n)}return ft(a)});return Object(a.a)(r).pipe(we(),Object(F.a)(t=>{if(!be(t))return;const e=st(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(f.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(a.a)(n);if(i.numberOfChildren>1||!i.children.primary)return Ie(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new bt(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return pt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let a={};return pt(e.children,(e,r)=>{a[r]=this.createSegmentGroup(t,e,n,i)}),new vt(r,a)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Ee(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||lt)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Re(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new vt(t.segments.concat(e.segments),e.children)}return t}function Ye(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}class je{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ne{constructor(t,e){this.component=t,this.route=e}}function Fe(t,e,n){const i=t._root;return He(i,e?e._root:null,n,[i.value])}function Ve(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function He(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=Wt(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!xt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!xt(t.url,e.url)||!ct(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!te(t,e)||!ct(t.queryParams,e.queryParams);case"paramsChange":default:return!te(t,e)}}(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new je(i)):(a.data=o.data,a._resolvedData=o._resolvedData),He(t,e,a.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Ne(s.outlet.component,o))}else o&&ze(e,s,r),r.canActivateChecks.push(new je(i)),He(t,null,a.component?s?s.children:null:n,i,r)}(t,a[t.value.outlet],n,i.concat([t.value]),r),delete a[t.value.outlet]}),pt(a,(t,e)=>ze(t,n.getContext(e),r)),r}function ze(t,e,n){const i=Wt(t),r=t.value;pt(i,(t,i)=>{ze(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ne(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Be(t,e){return null!==t&&e&&e(new nt(t)),Object(a.a)(!0)}function We(t,e){return null!==t&&e&&e(new tt(t)),Object(a.a)(!0)}function Ue(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(a.a)(!0);const r=i.map(i=>Object(h.a)(()=>{const r=Ve(i,e,n);let a;if(function(t){return t&&ye(t.canActivate)}(r))a=ft(r.canActivate(e,t));else{if(!ye(r))throw new Error("Invalid CanActivate guard");a=ft(r(e,t))}return a.pipe(j())}));return Object(a.a)(r).pipe(we())}function Ge(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(h.a)(()=>{const r=e.guards.map(r=>{const a=Ve(r,e.node,n);let o;if(function(t){return t&&ye(t.canActivateChild)}(a))o=ft(a.canActivateChild(i,t));else{if(!ye(a))throw new Error("Invalid CanActivateChild guard");o=ft(a(i,t))}return o.pipe(j())});return Object(a.a)(r).pipe(we())}));return Object(a.a)(r).pipe(we())}class qe{}class Xe{constructor(t,e,n,i,r,a){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=a}recognize(){try{const t=Je(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Zt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Bt(n,e),r=new Kt(this.url,i);return this.inheritParamsAndData(r._root),Object(a.a)(r)}catch(t){return new c.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Xt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Mt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const a of t)try{return this.processSegmentAgainstRoute(a,e,n,i)}catch(r){if(!(r instanceof qe))throw r}if(this.noLeftoversInUrl(e,n,i))return[];throw new qe}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new qe;if((t.outlet||"primary")!==i)throw new qe;let r,a=[],o=[];if("**"===t.path){const a=n.length>0?dt(n).parameters:{};r=new Zt(n,a,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),i,t.component,t,Ze(e),Ke(e)+n.length,tn(t))}else{const s=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new qe;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||lt)(n,t,e);if(!i)throw new qe;const r={};pt(i.posParams,(t,e)=>{r[e]=t.path});const a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=s.consumedSegments,o=n.slice(s.lastChild),r=new Zt(a,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Qe(t),i,t.component,t,Ze(e),Ke(e)+a.length,tn(t))}const s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Je(e,a,o,s,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return[new Bt(r,t)]}if(0===s.length&&0===c.length)return[new Bt(r,[])];const u=this.processSegment(s,l,c,"primary");return[new Bt(r,u)]}}function Ze(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ke(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Je(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some(n=>$e(t,e,n)&&"primary"!==De(n))}(t,n,i)){const r=new vt(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const a of n)if(""===a.path&&"primary"!==De(a)){const n=new vt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[De(a)]=n}return r}(t,e,i,new vt(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>$e(t,e,n))}(t,n,i)){const a=new vt(t.segments,function(t,e,n,i,r,a){const o={};for(const s of i)if($e(t,n,s)&&!r[De(s)]){const n=new vt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===a?t.segments.length:e.length,o[De(s)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}const a=new vt(t.segments,t.children);return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}function $e(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Qe(t){return t.data||{}}function tn(t){return t.resolve||{}}function en(t){return function(e){return e.pipe(Object(L.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class nn extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const rn=new r.s("ROUTES");class an{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new _e(ht(i.injector.get(rn)).map(ke),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):ft(t()).pipe(Object(N.a)(t=>t instanceof r.x?Object(a.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class on{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new sn,this.attachRef=null}}class sn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new on,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class ln{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function cn(t){throw t}function un(t,e,n){return e.parse("/")}function hn(t,e){return Object(a.a)(null)}let dn=(()=>{class t{constructor(t,e,n,i,a,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.a,this.errorHandler=cn,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hn,afterPreactivation:hn},this.urlHandlingStrategy=new ln,this.routeReuseStrategy=new nn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=a.get(r.z),this.console=a.get(r.ab);const u=a.get(r.B);this.isNgZoneEnabled=u instanceof r.B,this.resetConfig(c),this.currentUrlTree=new bt(new vt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new an(o,l,t=>this.triggerEvent(new $(t)),t=>this.triggerEvent(new Q(t))),this.routerState=Gt(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(g.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(L.a)(t=>{let n=!1,i=!1;return Object(a.a)(t).pipe(Object(F.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(L.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(a.a)(t).pipe(Object(L.a)(t=>{const n=this.transitions.getValue();return e.next(new B(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?d.a:[t]}),Object(L.a)(t=>Promise.resolve(t)),(i=this.ngModule.injector,r=this.configLoader,o=this.urlSerializer,s=this.config,function(t){return t.pipe(Object(L.a)(t=>function(t,e,n,i,r){return new Pe(t,e,n,i,r).apply()}(i,r,o,t.extractedUrl,s).pipe(Object(f.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(F.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(a){return a.pipe(Object(N.a)(a=>function(t,e,n,i,r="emptyOnly",a="legacy"){return new Xe(t,e,n,i,r,a).recognize()}(t,e,a.urlAfterRedirects,n(a.urlAfterRedirects),i,r).pipe(Object(f.a)(t=>Object.assign(Object.assign({},a),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(F.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(F.a)(t=>{const n=new q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,o,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:s}=t,l=new B(n,this.serializeUrl(i),r,o);e.next(l);const c=Gt(i,this.rootComponentType).snapshot;return Object(a.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),d.a}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:a,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!a,replaceUrl:!!o})}),Object(F.a)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign(Object.assign({},t),{guards:Fe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(N.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(a.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(N.a)(t=>function(t,e,n,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);const s=o.map(a=>{const o=Ve(a,e,r);let s;if(function(t){return t&&ye(t.canDeactivate)}(o))s=ft(o.canDeactivate(t,e,n,i));else{if(!ye(o))throw new Error("Invalid CanDeactivate guard");s=ft(o(t,e,n,i))}return s.pipe(j())});return Object(a.a)(s).pipe(we())}(t.component,t.route,n,e,i)),j(t=>!0!==t,!0))}(l,i,r,t).pipe(Object(N.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(o.a)(e).pipe(Object(Y.a)(e=>Object(o.a)([We(e.route.parent,i),Be(e.route,i),Ge(t,e.path,n),Ue(t,e.route,n)]).pipe(Object(m.a)(),j(t=>!0!==t,!0))),j(t=>!0!==t,!0))}(i,s,t,e):Object(a.a)(n)),Object(f.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(F.a)(t=>{if(be(t.guardsResult)){const e=st(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(F.a)(t=>{const e=new Z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(g.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new U(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),en(t=>{if(t.guards.canActivateChecks.length)return Object(a.a)(t).pipe(Object(F.a)(t=>{const e=new K(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(L.a)(t=>{let n=!1;return Object(a.a)(t).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,function(t){return t.pipe(Object(N.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(a.a)(t);let s=0;return Object(o.a)(n).pipe(Object(Y.a)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(a.a)({});const s={};return Object(o.a)(r).pipe(Object(N.a)(r=>function(t,e,n,i){const r=Ve(t,e,i);return ft(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(F.a)(t=>{s[r]=t}))),b(1),Object(N.a)(()=>Object.keys(s).length===r.length?Object(a.a)(s):d.a))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Xt(t,n).resolve),null)))}(t.route,e,i,r)),Object(F.a)(()=>s++),b(1),Object(N.a)(e=>s===n.length?Object(a.a)(t):d.a))}))}),Object(F.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new U(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,r}),Object(F.a)(t=>{const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),en(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:a,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!a,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=ee(t,e._root,n?n._root:void 0);return new Ut(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(F.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(f.a)(t=>(new me(s,t.targetRouterState,t.currentRouterState,l).activate(r),t))),Object(F.a)({next(){n=!0},complete(){n=!0}}),Object(V.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new U(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(R.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=be(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new U(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new G(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(a){t.reject(a)}}var r;return d.a}));var r,s,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Me(t),this.config=t.map(ke),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:a,preserveFragment:o}=e,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(a){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return ae(e.root,e.root,e,i,r);const a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new se(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return pt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new se(n,e,i)}(n);if(a.toRoot())return ae(e.root,new vt([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new le(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new le(t,t===e.root,0)}const i=ie(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,a=n;for(;a>r;){if(a-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new le(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?ue(o.segmentGroup,o.index,a.commands):ce(o.segmentGroup,o.index,a.commands);return ae(o.segmentGroup,s,e,i,r)}(s,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=be(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new W(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){const a=this.getTransition(),o="imperative"!==e&&"imperative"===(null==a?void 0:a.source),s=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(o&&s)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.P),r.Yb(St),r.Yb(sn),r.Yb(i.i),r.Yb(r.t),r.Yb(r.y),r.Yb(r.i),r.Yb(void 0))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),pn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new p.a,this.subscription=t.events.subscribe(t=>{t instanceof W&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const a={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(dn),r.Ob(qt),r.Ob(i.j))},t.\u0275dir=r.Jb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r.bc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r.Xb("href",e.href,r.yc),r.Db("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[r.Ab]}),t})();function fn(t){return""===t||!!t}let mn=(()=>{class t{constructor(t,e,n,i,a){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.o,this.deactivateEvents=new r.o,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new gn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(sn),r.Ob(r.R),r.Ob(r.j),r.Zb("name"),r.Ob(r.h))},t.\u0275dir=r.Jb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class gn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===qt?this.route:t===sn?this.childContexts:this.parent.get(t,e)}}class _n{}class yn{preload(t,e){return Object(a.a)(null)}}let bn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new an(e,n,e=>t.triggerEvent(new $(e)),e=>t.triggerEvent(new Q(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(t=>t instanceof W),Object(Y.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.z);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(o.a)(n).pipe(Object(H.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(N.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(dn),r.Yb(r.y),r.Yb(r.i),r.Yb(r.t),r.Yb(_n))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),vn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof B?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof W&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof rt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new rt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(dn),r.Yb(i.w),r.Yb(void 0))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();const wn=new r.s("ROUTER_CONFIGURATION"),xn=new r.s("ROUTER_FORROOT_GUARD"),Mn=[i.i,{provide:St,useClass:Ct},{provide:dn,useFactory:function(t,e,n,r,a,o,s,l={},c,u){const h=new dn(null,t,e,n,r,a,o,ht(s));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,h),l.enableTracing){const t=Object(i.A)();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return h},deps:[St,sn,i.i,r.t,r.y,r.i,rn,wn,[class{},new r.C],[class{},new r.C]]},sn,{provide:qt,useFactory:function(t){return t.routerState.root},deps:[dn]},{provide:r.y,useClass:r.M},bn,yn,class{preload(t,e){return e().pipe(Object(R.a)(()=>Object(a.a)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function Sn(){return new r.A("Router",dn)}let Cn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Mn,Tn(e),{provide:xn,useFactory:On,deps:[[dn,new r.C,new r.L]]},{provide:wn,useValue:n||{}},{provide:i.j,useFactory:Dn,deps:[i.u,[new r.q(i.a),new r.C],wn]},{provide:vn,useFactory:kn,deps:[dn,i.w,wn]},{provide:_n,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:yn},{provide:r.A,multi:!0,useFactory:Sn},[Ln,{provide:r.d,multi:!0,useFactory:An,deps:[Ln]},{provide:Pn,useFactory:In,deps:[Ln]},{provide:r.b,multi:!0,useExisting:Pn}]]}}static forChild(e){return{ngModule:t,providers:[Tn(e)]}}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(xn,8),r.Yb(dn,8))}}),t})();function kn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new vn(t,e,n)}function Dn(t,e,n={}){return n.useHash?new i.f(t,e):new i.t(t,e)}function On(t){return"guarded"}function Tn(t){return[{provide:r.a,multi:!0,useValue:t},{provide:rn,multi:!0,useValue:t}]}let Ln=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.a}appInitializer(){return this.injector.get(i.h,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(dn),i=this.injector.get(wn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(a.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(wn),n=this.injector.get(bn),i=this.injector.get(vn),a=this.injector.get(dn),o=this.injector.get(r.g);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||a.initialNavigation(),n.setUpPreloading(),i.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.t))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();function An(t){return t.appInitializer.bind(t)}function In(t){return t.bootstrapListener.bind(t)}const Pn=new r.s("Router Initializer")},tySk:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("0IaG"),r=n("fXoL"),a=n("bTqV"),o=n("sYmb"),s=n("ofXK");let l=(()=>{class t{constructor(t){this._data=t}get content(){return this._data}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(i.a))},t.\u0275cmp=r.Ib({type:t,selectors:[["app-dialog-confirm"]],decls:14,vars:16,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],["mat-dialog-actions","","align","end"],["mat-button","","color","primary","cdkFocusInitial","",3,"mat-dialog-close"],["mat-button","",3,"mat-dialog-close"]],template:function(t,e){1&t&&(r.Ub(0,"h2",0),r.Hc(1),r.gc(2,"translate"),r.Tb(),r.Ub(3,"div",1),r.Pb(4,"p",2),r.Tb(),r.Ub(5,"div",3),r.Ub(6,"button",4),r.Hc(7),r.gc(8,"uppercase"),r.gc(9,"translate"),r.Tb(),r.Ub(10,"button",5),r.Hc(11),r.gc(12,"uppercase"),r.gc(13,"translate"),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.Ic(r.hc(2,6,"shared.dialog.title")),r.Cb(3),r.lc("innerHTML",e.content,r.xc),r.Cb(2),r.lc("mat-dialog-close",!0),r.Cb(1),r.Ic(r.hc(8,8,r.hc(9,10,"shared.dialog.yes"))),r.Cb(3),r.lc("mat-dialog-close",!1),r.Cb(1),r.Ic(r.hc(12,12,r.hc(13,14,"shared.dialog.no"))))},directives:[i.h,i.e,i.c,a.a,i.d],pipes:[o.d,s.v],styles:[".mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t})()},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u47x:function(t,e,n){"use strict";n.d(e,"a",function(){return z}),n.d(e,"b",function(){return M}),n.d(e,"c",function(){return w}),n.d(e,"d",function(){return E}),n.d(e,"e",function(){return V}),n.d(e,"f",function(){return L}),n.d(e,"g",function(){return S}),n.d(e,"h",function(){return N}),n.d(e,"i",function(){return T}),n.d(e,"j",function(){return H}),n.d(e,"k",function(){return P}),n.d(e,"l",function(){return R});var i=n("ofXK"),r=n("fXoL"),a=n("nLfN"),o=n("XNiG"),s=n("quSY"),l=n("LRne"),c=n("FtGj"),u=n("vkgz"),h=n("Kj3r"),d=n("pLZG"),p=n("lJxs"),f=n("IzEk"),m=n("8LU1"),g=n("GU7r");function _(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}let y=0;const b=new Map;let v=null,w=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),b.set(e,{messageElement:e,referenceCount:0})):b.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(e&&this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=b.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}v&&0===v.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll("[cdk-describedby-host]");for(let e=0;e0!=t.indexOf("cdk-describedby-message"));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=b.get(e);!function(t,e,n){const i=_(t,e);i.some(t=>t.trim()==n.trim())||(i.push(n.trim()),t.setAttribute(e,i.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute("cdk-describedby-host",""),n.referenceCount++}_removeMessageReference(t,e){const n=b.get(e);n.referenceCount--,function(t,e,n){const i=_(t,e).filter(t=>t!=n.trim());i.length?t.setAttribute(e,i.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(t,e){const n=_(t,"aria-describedby"),i=b.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":(""+e).trim(),i=t.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(i.d),r.Yb(a.a))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(i.d),Object(r.Yb)(a.a))},token:t,providedIn:"root"}),t})();class x{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new o.a,this._typeaheadSubscription=s.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,t instanceof r.F&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(u.a)(t=>this._pressedLetters.push(t)),Object(h.a)(t),Object(d.a)(()=>this._pressedLetters.length>0),Object(p.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.o:return void this.tabOut.next();case c.d:if(this._vertical&&n){this.setNextItemActive();break}return;case c.p:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.m:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.h:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case c.e:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(c.s)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.a&&e<=c.q||e>=c.r&&e<=c.j)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.F?this._items.toArray():this._items}}class M extends x{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class S extends x{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let C=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===D(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=D(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||k(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(a.a))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(a.a))},token:t,providedIn:"root"}),t})();function k(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function D(t){if(!k(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class O{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(t)}}let T=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new O(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(C),r.Yb(r.B),r.Yb(i.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(C),Object(r.Yb)(r.B),Object(r.Yb)(i.d))},token:t,providedIn:"root"}),t})(),L=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(m.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(m.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(T),r.Ob(i.d))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[r.Ab]}),t})();"undefined"!=typeof Element&∈const A=new r.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),I=new r.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let P=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(P),r.Ob(g.b),r.Ob(r.B))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function R(t){return 0===t.buttons}const Y=new r.s("cdk-focus-monitor-default-options"),j=Object(a.f)({passive:!0,capture:!0});let N=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=R(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=F(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=F(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Object(m.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(l.a)(null);const i=Object(a.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const s={checkChildren:e,subject:new o.a,rootNode:i};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){const e=Object(m.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Object(m.e)(t);i===this._getDocument().activeElement&&this._elementInfo.has(i)?this._originChanged(i,e,this._elementInfo.get(i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=F(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===F(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,j)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,j),t.addEventListener("mousedown",this._documentMousedownListener,j),t.addEventListener("touchstart",this._documentTouchstartListener,j),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,j),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,j),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,j),t.removeEventListener("mousedown",this._documentMousedownListener,j),t.removeEventListener("touchstart",this._documentTouchstartListener,j),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.B),r.Yb(a.a),r.Yb(i.d,8),r.Yb(Y,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.B),Object(r.Yb)(a.a),Object(r.Yb)(i.d,8),Object(r.Yb)(Y,8))},token:t,providedIn:"root"}),t})();function F(t){return t.composedPath?t.composedPath()[0]:t.target}let V=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.o}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(N))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})(),H=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(a.a),r.Yb(i.d))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(a.a),Object(r.Yb)(i.d))},token:t,providedIn:"root"}),t})(),z=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(H))},imports:[[a.b,g.c]]}),t})()},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},urRO:function(t,e,n){t.exports=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){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&t<1/0};function I(t){return void 0===t}function P(e){return"object"===t(e)&&null!==e}var E=Object.prototype.hasOwnProperty;function R(t){if(!P(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&E.call(n,"isPrototypeOf")}catch(i){return!1}}function Y(t){return"function"==typeof t}var j=Array.prototype.slice;function N(t){return Array.from?Array.from(t):j.call(t)}function F(t,e){return t&&Y(e)&&(Array.isArray(t)||L(t.length)?N(t).forEach(function(n,i){e.call(t,n,i,t)}):P(t)&&Object.keys(t).forEach(function(n){e.call(t,t[n],n,t)})),t}var V=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&n.forEach(function(e){P(e)&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t},H=/\.\d*(?:0|9){12}\d*$/;function z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return H.test(t)?Math.round(t*e)/e:t}var B=/^width|height|left|top|marginLeft|marginTop$/;function W(t,e){var n=t.style;F(e,function(t,e){B.test(e)&&L(t)&&(t="".concat(t,"px")),n[e]=t})}function U(t,e){if(e)if(L(t.length))F(t,function(t){U(t,e)});else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function G(t,e){e&&(L(t.length)?F(t,function(t){G(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function q(t,e,n){e&&(L(t.length)?F(t,function(t){q(t,e,n)}):n?U(t,e):G(t,e))}var X=/([a-z\d])([A-Z])/g;function Z(t){return t.replace(X,"$1-$2").toLowerCase()}function K(t,e){return P(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(Z(e)))}function J(t,e,n){P(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(Z(e)),n)}var $=/\s\s*/,Q=function(){var t=!1;if(l){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});c.addEventListener("test",n,i),c.removeEventListener("test",n,i)}return t}();function tt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split($).forEach(function(e){if(!Q){var a=t.listeners;a&&a[e]&&a[e][n]&&(r=a[e][n],delete a[e][n],0===Object.keys(a[e]).length&&delete a[e],0===Object.keys(a).length&&delete t.listeners)}t.removeEventListener(e,r,i)})}function et(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split($).forEach(function(e){if(i.once&&!Q){var a=t.listeners,o=void 0===a?{}:a;r=function(){delete o[e][n],t.removeEventListener(e,r,i);for(var a=arguments.length,s=new Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"contain",a=A(i),o=A(n);if(a&&o){var s=n*e;"contain"===r&&s>i||"cover"===r&&st.width?3===n?s=t.height*o:l=t.width/o:3===n?l=t.width/o:s=t.height*o;var c={aspectRatio:o,naturalWidth:r,naturalHeight:a,width:s,height:l};c.left=(t.width-s)/2,c.top=(t.height-l)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=V({},e),this.initialCanvasData=V({},c)},limitCanvas:function(t,e){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=n.viewMode,s=r.aspectRatio,l=this.cropped&&a;if(t){var c=Number(n.minCanvasWidth)||0,u=Number(n.minCanvasHeight)||0;o>1?(c=Math.max(c,i.width),u=Math.max(u,i.height),3===o&&(u*s>c?c=u*s:u=c/s)):o>0&&(c?c=Math.max(c,l?a.width:0):u?u=Math.max(u,l?a.height:0):l&&((u=a.height)*s>(c=a.width)?c=u*s:u=c/s));var h=ut({aspectRatio:s,width:c,height:u});u=h.height,r.minWidth=c=h.width,r.minHeight=u,r.maxWidth=1/0,r.maxHeight=1/0}if(e)if(o>(l?0:1)){var d=i.width-r.width,p=i.height-r.height;r.minLeft=Math.min(0,d),r.minTop=Math.min(0,p),r.maxLeft=Math.max(0,d),r.maxTop=Math.max(0,p),l&&this.limited&&(r.minLeft=Math.min(a.left,a.left+(a.width-r.width)),r.minTop=Math.min(a.top,a.top+(a.height-r.height)),r.maxLeft=a.left,r.maxTop=a.top,2===o&&(r.width>=i.width&&(r.minLeft=Math.min(0,d),r.maxLeft=Math.max(0,d)),r.height>=i.height&&(r.minTop=Math.min(0,p),r.maxTop=Math.max(0,p))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=i.width,r.maxTop=i.height},renderCanvas:function(t,e){var n=this.canvasData,i=this.imageData;if(e){var r=function(t){var e=t.width,n=t.height,i=t.degree;if(90==(i=Math.abs(i)%180))return{width:n,height:e};var r=i%90*Math.PI/180,a=Math.sin(r),o=Math.cos(r),s=e*o+n*a,l=e*a+n*o;return i>90?{width:l,height:s}:{width:s,height:l}}({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),a=r.width,o=r.height,s=n.width*(a/n.naturalWidth),l=n.height*(o/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(l-n.height)/2,n.width=s,n.height=l,n.aspectRatio=a/o,n.naturalWidth=a,n.naturalHeight=o,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heighte.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*i),r.height=Math.max(r.minHeight,r.height*i),r.left=e.left+(e.width-r.width)/2,r.top=e.top+(e.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=V({},r)},limitCropBox:function(t,e){var n=this.options,i=this.containerData,r=this.canvasData,a=this.cropBoxData,o=this.limited,s=n.aspectRatio;if(t){var l=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,u=o?Math.min(i.width,r.width,r.width+r.left,i.width-r.left):i.width,h=o?Math.min(i.height,r.height,r.height+r.top,i.height-r.top):i.height;l=Math.min(l,i.width),c=Math.min(c,i.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),h*s>u?h=u/s:u=h*s),a.minWidth=Math.min(l,u),a.minHeight=Math.min(c,h),a.maxWidth=u,a.maxHeight=h}e&&(o?(a.minLeft=Math.max(0,r.left),a.minTop=Math.max(0,r.top),a.maxLeft=Math.min(i.width,r.left+r.width)-a.width,a.maxTop=Math.min(i.height,r.top+r.height)-a.height):(a.minLeft=0,a.minTop=0,a.maxLeft=i.width-a.width,a.maxTop=i.height-a.height))},renderCropBox:function(){var t=this.options,e=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=e.width&&n.height>=e.height?"move":"all"),W(this.cropBox,V({width:n.width,height:n.height},lt({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),nt(this.element,"crop",this.getData())}},mt={initPreview:function(){var t=this.element,e=this.crossOrigin,n=this.options.preview,i=e?this.crossOriginUrl:this.url,r=t.alt||"The image to preview",a=document.createElement("img");if(e&&(a.crossOrigin=e),a.src=i,a.alt=r,this.viewBox.appendChild(a),this.viewBoxImage=a,n){var o=n;"string"==typeof n?o=t.ownerDocument.querySelectorAll(n):n.querySelector&&(o=[n]),this.previews=o,F(o,function(t){var n=document.createElement("img");J(t,v,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(n.crossOrigin=e),n.src=i,n.alt=r,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(n)})}},resetPreview:function(){F(this.previews,function(t){var e=K(t,v);W(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(t,e){if(P(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(Z(e)))}(t,v)})},preview:function(){var t=this.imageData,e=this.canvasData,n=this.cropBoxData,i=n.width,r=n.height,a=t.width,o=t.height,s=n.left-e.left-t.left,l=n.top-e.top-t.top;this.cropped&&!this.disabled&&(W(this.viewBoxImage,V({width:a,height:o},lt(V({translateX:-s,translateY:-l},t)))),F(this.previews,function(e){var n=K(e,v),c=n.width,u=n.height,h=c,d=u,p=1;i&&(d=r*(p=c/i)),r&&d>u&&(h=i*(p=u/r),d=u),W(e,{width:h,height:d}),W(e.getElementsByTagName("img")[0],V({width:a*p,height:o*p},lt(V({translateX:-s*p,translateY:-l*p},t))))}))}},gt={bind:function(){var t=this.element,e=this.options,n=this.cropper;Y(e.cropstart)&&et(t,"cropstart",e.cropstart),Y(e.cropmove)&&et(t,"cropmove",e.cropmove),Y(e.cropend)&&et(t,"cropend",e.cropend),Y(e.crop)&&et(t,"crop",e.crop),Y(e.zoom)&&et(t,"zoom",e.zoom),et(n,w,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&et(n,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&et(n,"dblclick",this.onDblclick=this.dblclick.bind(this)),et(t.ownerDocument,x,this.onCropMove=this.cropMove.bind(this)),et(t.ownerDocument,M,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&et(window,"resize",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,n=this.cropper;Y(e.cropstart)&&tt(t,"cropstart",e.cropstart),Y(e.cropmove)&&tt(t,"cropmove",e.cropmove),Y(e.cropend)&&tt(t,"cropend",e.cropend),Y(e.crop)&&tt(t,"crop",e.crop),Y(e.zoom)&&tt(t,"zoom",e.zoom),tt(n,w,this.onCropStart),e.zoomable&&e.zoomOnWheel&&tt(n,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&tt(n,"dblclick",this.onDblclick),tt(t.ownerDocument,x,this.onCropMove),tt(t.ownerDocument,M,this.onCropEnd),e.responsive&&tt(window,"resize",this.onResize)}},_t={resize:function(){if(!this.disabled){var t,e,n=this.options,i=this.container,r=this.containerData,a=i.offsetWidth/r.width;1===a&&i.offsetHeight===r.height||(n.restore&&(t=this.getCanvasData(),e=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(F(t,function(e,n){t[n]=e*a})),this.setCropBoxData(F(e,function(t,n){e[n]=t*a}))))}},dblclick:function(){var t,e;this.disabled||"none"===this.options.dragMode||this.setDragMode((e=d,((t=this.dragBox).classList?t.classList.contains(e):t.className.indexOf(e)>-1)?"move":"crop"))},wheel:function(t){var e=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,t)))},cropStart:function(t){var e=t.buttons,n=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(L(e)&&1!==e||L(n)&&0!==n||t.ctrlKey))){var i,r=this.options,a=this.pointers;t.changedTouches?F(t.changedTouches,function(t){a[t.identifier]=ct(t)}):a[t.pointerId||0]=ct(t),i=Object.keys(a).length>1&&r.zoomable&&r.zoomOnTouch?"zoom":K(t.target,b),S.test(i)&&!1!==nt(this.element,"cropstart",{originalEvent:t,action:i})&&(t.preventDefault(),this.action=i,this.cropping=!1,"crop"===i&&(this.cropping=!0,U(this.dragBox,_)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var n=this.pointers;t.preventDefault(),!1!==nt(this.element,"cropmove",{originalEvent:t,action:e})&&(t.changedTouches?F(t.changedTouches,function(t){V(n[t.identifier]||{},ct(t,!0))}):V(n[t.pointerId||0]||{},ct(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,n=this.pointers;t.changedTouches?F(t.changedTouches,function(t){delete n[t.identifier]}):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,q(this.dragBox,_,this.cropped&&this.options.modal)),nt(this.element,"cropend",{originalEvent:t,action:e}))}}},yt={change:function(t){var e,n=this.canvasData,i=this.containerData,r=this.cropBoxData,o=this.pointers,s=this.action,l=this.options.aspectRatio,c=r.left,u=r.top,h=r.width,d=r.height,p=c+h,m=u+d,g=0,_=0,y=i.width,b=i.height,v=!0;!l&&t.shiftKey&&(l=h&&d?h/d:1),this.limited&&(_=r.minTop,y=(g=r.minLeft)+Math.min(i.width,n.width,n.left+n.width),b=_+Math.min(i.height,n.height,n.top+n.height));var w=o[Object.keys(o)[0]],x={x:w.endX-w.startX,y:w.endY-w.startY},M=function(t){switch(t){case"e":p+x.x>y&&(x.x=y-p);break;case"w":c+x.xb&&(x.y=b-m)}};switch(s){case"all":c+=x.x,u+=x.y;break;case"e":if(x.x>=0&&(p>=y||l&&(u<=_||m>=b))){v=!1;break}M("e"),(h+=x.x)<0&&(s="w",c-=h=-h),l&&(u+=(r.height-(d=h/l))/2);break;case"n":if(x.y<=0&&(u<=_||l&&(c<=g||p>=y))){v=!1;break}M("n"),u+=x.y,(d-=x.y)<0&&(s="s",u-=d=-d),l&&(c+=(r.width-(h=d*l))/2);break;case"w":if(x.x<=0&&(c<=g||l&&(u<=_||m>=b))){v=!1;break}M("w"),c+=x.x,(h-=x.x)<0&&(s="e",c-=h=-h),l&&(u+=(r.height-(d=h/l))/2);break;case"s":if(x.y>=0&&(m>=b||l&&(c<=g||p>=y))){v=!1;break}M("s"),(d+=x.y)<0&&(s="n",u-=d=-d),l&&(c+=(r.width-(h=d*l))/2);break;case"ne":if(l){if(x.y<=0&&(u<=_||p>=y)){v=!1;break}M("n"),u+=x.y,h=(d-=x.y)*l}else M("n"),M("e"),x.x>=0?p_&&(d-=x.y,u+=x.y):(d-=x.y,u+=x.y);h<0&&d<0?(s="sw",u-=d=-d,c-=h=-h):h<0?(s="nw",c-=h=-h):d<0&&(s="se",u-=d=-d);break;case"nw":if(l){if(x.y<=0&&(u<=_||c<=g)){v=!1;break}M("n"),u+=x.y,c+=r.width-(h=(d-=x.y)*l)}else M("n"),M("w"),x.x<=0?c>g?(h-=x.x,c+=x.x):x.y<=0&&u<=_&&(v=!1):(h-=x.x,c+=x.x),x.y<=0?u>_&&(d-=x.y,u+=x.y):(d-=x.y,u+=x.y);h<0&&d<0?(s="se",u-=d=-d,c-=h=-h):h<0?(s="ne",c-=h=-h):d<0&&(s="sw",u-=d=-d);break;case"sw":if(l){if(x.x<=0&&(c<=g||m>=b)){v=!1;break}M("w"),c+=x.x,d=(h-=x.x)/l}else M("s"),M("w"),x.x<=0?c>g?(h-=x.x,c+=x.x):x.y>=0&&m>=b&&(v=!1):(h-=x.x,c+=x.x),x.y>=0?m=0&&(p>=y||m>=b)){v=!1;break}M("e"),d=(h+=x.x)/l}else M("s"),M("e"),x.x>=0?p=0&&m>=b&&(v=!1):h+=x.x,x.y>=0?m0?s=x.y>0?"se":"ne":x.x<0&&(c-=h,s=x.y>0?"sw":"nw"),x.y<0&&(u-=d),this.cropped||(G(this.cropBox,f),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}v&&(r.width=h,r.height=d,r.left=c,r.top=u,this.action=s,this.renderCropBox()),F(o,function(t){t.startX=t.endX,t.startY=t.endY})}},bt={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&U(this.dragBox,_),G(this.cropBox,f),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=V({},this.initialImageData),this.canvasData=V({},this.initialCanvasData),this.cropBoxData=V({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(V(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),G(this.dragBox,_),U(this.cropBox,f)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,F(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,G(this.cropper,p)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,U(this.cropper,p)),this},destroy:function(){var t=this.element;return t.cropper?(t.cropper=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=n.left,r=n.top;return this.moveTo(I(t)?t:i+Number(t),I(e)?e:r+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(L(t)&&(n.left=t,i=!0),L(e)&&(n.top=e,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(t,e){var n=this.canvasData;return t=Number(t),this.zoomTo(n.width*(t=t<0?1/(1-t):1+t)/n.naturalWidth,null,e)},zoomTo:function(t,e,n){var i=this.options,r=this.canvasData,a=r.width,o=r.height,s=r.naturalWidth,l=r.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&i.zoomable){var c=s*t,u=l*t;if(!1===nt(this.element,"zoom",{ratio:t,oldRatio:a/s,originalEvent:n}))return this;if(n){var h=this.pointers,d=it(this.cropper),p=h&&Object.keys(h).length?function(t){var e=0,n=0,i=0;return F(t,function(t){e+=t.startX,n+=t.startY,i+=1}),{pageX:e/=i,pageY:n/=i}}(h):{pageX:n.pageX,pageY:n.pageY};r.left-=(p.pageX-d.left-r.left)/a*(c-a),r.top-=(p.pageY-d.top-r.top)/o*(u-o)}else R(e)&&L(e.x)&&L(e.y)?(r.left-=(e.x-r.left)/a*(c-a),r.top-=(e.y-r.top)/o*(u-o)):(r.left-=(c-a)/2,r.top-=(u-o)/2);r.width=c,r.height=u,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return L(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,L(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(L(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,i=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(L(t)&&(n.scaleX=t,i=!0),L(e)&&(n.scaleY=e,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,r=this.canvasData,a=this.cropBoxData;if(this.ready&&this.cropped){var o=i.width/i.naturalWidth;if(F(t={x:a.left-r.left,y:a.top-r.top,width:a.width,height:a.height},function(e,n){t[n]=e/o}),e){var s=Math.round(t.y+t.height),l=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=l-t.x,t.height=s-t.y}}else t={x:0,y:0,width:0,height:0};return n.rotatable&&(t.rotate=i.rotate||0),n.scalable&&(t.scaleX=i.scaleX||1,t.scaleY=i.scaleY||1),t},setData:function(t){var e=this.options,n=this.imageData,i=this.canvasData,r={};if(this.ready&&!this.disabled&&R(t)){var a=!1;e.rotatable&&L(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,a=!0),e.scalable&&(L(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,a=!0),L(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,a=!0)),a&&this.renderCanvas(!0,!0);var o=n.width/n.naturalWidth;L(t.x)&&(r.left=t.x*o+i.left),L(t.y)&&(r.top=t.y*o+i.top),L(t.width)&&(r.width=t.width*o),L(t.height)&&(r.height=t.height*o),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?V({},this.containerData):{}},getImageData:function(){return this.sized?V({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&F(["left","top","width","height","naturalWidth","naturalHeight"],function(n){e[n]=t[n]}),e},setCanvasData:function(t){var e=this.canvasData,n=e.aspectRatio;return this.ready&&!this.disabled&&R(t)&&(L(t.left)&&(e.left=t.left),L(t.top)&&(e.top=t.top),L(t.width)?(e.width=t.width,e.height=t.width/n):L(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,n,i=this.cropBoxData,r=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&R(t)&&(L(t.left)&&(i.left=t.left),L(t.top)&&(i.top=t.top),L(t.width)&&t.width!==i.width&&(e=!0,i.width=t.width),L(t.height)&&t.height!==i.height&&(n=!0,i.height=t.height),r&&(e?i.height=i.width/r:n&&(i.width=i.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,n=ht(this.image,this.imageData,e,t);if(!this.cropped)return n;var i=this.getData(),r=i.x,a=i.y,s=i.width,l=i.height,c=n.width/Math.floor(e.naturalWidth);1!==c&&(r*=c,a*=c,s*=c,l*=c);var u=s/l,h=ut({aspectRatio:u,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),d=ut({aspectRatio:u,width:t.minWidth||0,height:t.minHeight||0},"cover"),p=ut({aspectRatio:u,width:t.width||(1!==c?n.width:s),height:t.height||(1!==c?n.height:l)}),f=p.width,m=p.height;f=Math.min(h.width,Math.max(d.width,f)),m=Math.min(h.height,Math.max(d.height,m));var g=document.createElement("canvas"),_=g.getContext("2d");g.width=z(f),g.height=z(m),_.fillStyle=t.fillColor||"transparent",_.fillRect(0,0,f,m);var y=t.imageSmoothingEnabled,b=t.imageSmoothingQuality;_.imageSmoothingEnabled=void 0===y||y,b&&(_.imageSmoothingQuality=b);var v,w,x,M,S,C,k=n.width,D=n.height,O=r,T=a;O<=-s||O>k?(O=0,v=0,x=0,S=0):O<=0?(x=-O,O=0,S=v=Math.min(k,s+O)):O<=k&&(x=0,S=v=Math.min(s,k-O)),v<=0||T<=-l||T>D?(T=0,w=0,M=0,C=0):T<=0?(M=-T,T=0,C=w=Math.min(D,l+T)):T<=D&&(M=0,C=w=Math.min(l,D-T));var L=[O,T,v,w];if(S>0&&C>0){var A=f/s;L.push(x*A,M*A,S*A,C*A)}return _.drawImage.apply(_,[n].concat(o(L.map(function(t){return Math.floor(z(t))})))),g},setAspectRatio:function(t){var e=this.options;return this.disabled||I(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var r="crop"===t,a=e.movable&&"move"===t;e.dragMode=t=r||a?t:"none",J(n,b,t),q(n,d,r),q(n,y,a),e.cropBoxMovable||(J(i,b,t),q(i,d,r),q(i,y,a))}return this}},vt=c.Cropper,wt=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e(this,t),!n||!D.test(n.tagName))throw new Error("The first argument is required and must be an or element.");this.element=n,this.options=V({},O,R(i)&&i),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return i=t,a=[{key:"noConflict",value:function(){return window.Cropper=vt,t}},{key:"setDefaults",value:function(t){V(O,R(t)&&t)}}],(r=[{key:"init",value:function(){var t,e=this.element,n=e.tagName.toLowerCase();if(!e.cropper){if(e.cropper=this,"img"===n){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===n&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e,n,i,r,a=this;if(t){this.url=t,this.imageData={};var o=this.element,s=this.options;if(s.rotatable||s.scalable||(s.checkOrientation=!1),s.checkOrientation&&window.ArrayBuffer)if(C.test(t))k.test(t)?this.read((e=t.replace(pt,""),n=atob(e),i=new ArrayBuffer(n.length),F(r=new Uint8Array(i),function(t,e){r[e]=n.charCodeAt(e)}),i)):this.clone();else{var l=new XMLHttpRequest,c=this.clone.bind(this);this.reloading=!0,this.xhr=l,l.onabort=c,l.onerror=c,l.ontimeout=c,l.onprogress=function(){"image/jpeg"!==l.getResponseHeader("content-type")&&l.abort()},l.onload=function(){a.read(l.response)},l.onloadend=function(){a.reloading=!1,a.xhr=null},s.checkCrossOrigin&&ot(t)&&o.crossOrigin&&(t=st(t)),l.open("GET",t),l.responseType="arraybuffer",l.withCredentials="use-credentials"===o.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,n=this.imageData,i=function(t){var e,n=new DataView(t);try{var i,r,a;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var o=n.byteLength,s=2;s+1=8&&(a=l+u)}}}if(a){var h,d,p=n.getUint16(a,i);for(d=0;d1){this.url=function(t,e){for(var n=[],i=new Uint8Array(t);i.length>0;)n.push(dt.apply(null,N(i.subarray(0,8192)))),i=i.subarray(8192);return"data:".concat("image/jpeg",";base64,").concat(btoa(n.join("")))}(t);var s=function(t){var e=0,n=1,i=1;switch(t){case 2:n=-1;break;case 3:e=-180;break;case 4:i=-1;break;case 5:e=90,i=-1;break;case 6:e=90;break;case 7:e=90,n=-1;break;case 8:e=-90}return{rotate:e,scaleX:n,scaleY:i}}(i);r=s.rotate,a=s.scaleX,o=s.scaleY}e.rotatable&&(n.rotate=r),e.scalable&&(n.scaleX=a,n.scaleY=o),this.clone()}},{key:"clone",value:function(){var t=this.element,e=this.url,n=t.crossOrigin,i=e;this.options.checkCrossOrigin&&ot(e)&&(n||(n="anonymous"),i=st(e)),this.crossOrigin=n,this.crossOriginUrl=i;var r=document.createElement("img");n&&(r.crossOrigin=n),r.src=i||e,r.alt=t.alt||"The image to crop",this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),U(r,m),t.parentNode.insertBefore(r,t.nextSibling)}},{key:"start",value:function(){var t=this,e=this.image;e.onload=null,e.onerror=null,this.sizing=!0;var n=c.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(c.navigator.userAgent),i=function(e,n){V(t.imageData,{naturalWidth:e,naturalHeight:n,aspectRatio:e/n}),t.sizing=!1,t.sized=!0,t.build()};if(!e.naturalWidth||n){var r=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){i(r.width,r.height),n||a.removeChild(r)},r.src=e.src,n||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(r))}else i(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,n=this.image,i=t.parentNode,r=document.createElement("div");r.innerHTML='
';var a=r.querySelector(".".concat("cropper","-container")),o=a.querySelector(".".concat("cropper","-canvas")),s=a.querySelector(".".concat("cropper","-drag-box")),l=a.querySelector(".".concat("cropper","-crop-box")),c=l.querySelector(".".concat("cropper","-face"));this.container=i,this.cropper=a,this.canvas=o,this.dragBox=s,this.cropBox=l,this.viewBox=a.querySelector(".".concat("cropper","-view-box")),this.face=c,o.appendChild(n),U(t,f),i.insertBefore(a,t.nextSibling),this.isImg||G(n,m),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,U(l,f),e.guides||U(l.getElementsByClassName("".concat("cropper","-dashed")),f),e.center||U(l.getElementsByClassName("".concat("cropper","-center")),f),e.background&&U(a,"".concat("cropper","-bg")),e.highlight||U(c,g),e.cropBoxMovable&&(U(c,y),J(c,b,"all")),e.cropBoxResizable||(U(l.getElementsByClassName("".concat("cropper","-line")),f),U(l.getElementsByClassName("".concat("cropper","-point")),f)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),Y(e.ready)&&et(t,"ready",e.ready,{once:!0}),nt(t,"ready")}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),G(this.element,f))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&n(i.prototype,r),a&&n(i,a),t;var i,r,a}();return V(wt.prototype,ft,mt,gt,_t,yt,bt),wt}()},vJtL:function(t,e,n){"use strict";var i=n("8M4i"),r=n("IzLi");e.a=function(t){if(!Object(r.a)(t))return!1;var e=Object(i.a)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},"vY+C":function(t,e,n){"use strict";var i=n("/1FC"),r=n("G8aS"),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.a=function(t,e){if(Object(i.a)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Object(r.a)(t))||o.test(t)||!a.test(t)||null!=e&&t in Object(e)}},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q");function r(){}var a=n("n6bG");function o(t,e,n){return function(i){return i.lift(new s(t,e,n))}}class s{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,Object(a.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r,this._tapError=e.error||r,this._tapComplete=e.complete||r)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vxfF:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return g}),n("8LU1");var i=n("fXoL"),r=n("XNiG"),a=n("LRne"),o=n("HDdC"),s=n("xgIS"),l=(n("eNwd"),n("7Hc7"),n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),c=n("pLZG"),u=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("UXun");var h=n("nLfN"),d=n("ofXK"),p=n("cH1L");n("0EQZ");let f=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(l.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(a.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(c.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(s.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.B),i.Yb(h.a),i.Yb(d.d,8))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(i.B),Object(i.Yb)(h.a),Object(i.Yb)(d.d,8))},token:t,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new r.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(s.a)(this.elementRef.nativeElement,"scroll").pipe(Object(u.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(h.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(h.d)()?t.left=t.right:1==Object(h.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(h.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Object(h.d)()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Object(h.d)()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.l),i.Ob(f),i.Ob(i.B),i.Ob(p.b,8))},t.\u0275dir=i.Jb({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),g=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new r.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(l.a)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(h.a),i.Yb(i.B),i.Yb(d.d,8))},t.\u0275prov=Object(i.Kb)({factory:function(){return new t(Object(i.Yb)(h.a),Object(i.Yb)(i.B),Object(i.Yb)(d.d,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)}}),t})(),y=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[p.a,h.b,_],p.a,_]}),t})()},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("XNiG"),r=n("HDdC"),a=n("7o/Q"),o=n("quSY");function s(){return function(t){return t.lift(new l(t))}}class l{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class c extends a.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class u extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.a,t.add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return s()(this)}}const h=(()=>{const t=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class d extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new i.a}function f(){return t=>{return s()((e=p,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,h);return i.source=t,i.subjectFactory=n,i})(t));var e}}},wQk9:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wZkO:function(t,e,n){"use strict";n.d(e,"a",function(){return Z}),n.d(e,"b",function(){return ot}),n.d(e,"c",function(){return bt}),n.d(e,"d",function(){return mt}),n.d(e,"e",function(){return vt});var i=n("u47x"),r=n("GU7r"),a=n("+rOU"),o=n("ofXK"),s=n("fXoL"),l=n("FKr1"),c=n("R1ws"),u=n("XNiG"),h=n("quSY"),d=n("VRyK"),p=n("xgIS"),f=n("LRne"),m=n("PqYM"),g=n("R0Ic"),_=n("JX91"),y=n("/uUt"),b=n("1G5W"),v=n("8LU1"),w=n("nLfN"),x=n("FtGj"),M=n("cH1L"),S=n("vxfF");function C(t,e){1&t&&s.jc(0)}const k=["*"];function D(t,e){}const O=function(t){return{animationDuration:t}},T=function(t,e){return{value:t,params:e}},L=["tabBodyWrapper"],A=["tabHeader"];function I(t,e){}function P(t,e){if(1&t&&s.Fc(0,I,0,0,"ng-template",9),2&t){const t=s.fc().$implicit;s.lc("cdkPortalOutlet",t.templateLabel)}}function E(t,e){if(1&t&&s.Hc(0),2&t){const t=s.fc().$implicit;s.Ic(t.textLabel)}}function R(t,e){if(1&t){const t=s.Vb();s.Ub(0,"div",6),s.bc("click",function(){s.wc(t);const n=e.$implicit,i=e.index,r=s.fc(),a=s.uc(1);return r._handleClick(n,a,i)}),s.Ub(1,"div",7),s.Fc(2,P,1,1,"ng-template",8),s.Fc(3,E,1,1,"ng-template",8),s.Tb(),s.Tb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Gb("mat-tab-label-active",i.selectedIndex==n),s.lc("id",i._getTabLabelId(n))("disabled",t.disabled)("matRippleDisabled",t.disabled||i.disableRipple),s.Db("tabIndex",i._getTabIndex(t,n))("aria-posinset",n+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(n))("aria-selected",i.selectedIndex==n)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),s.Cb(2),s.lc("ngIf",t.templateLabel),s.Cb(1),s.lc("ngIf",!t.templateLabel)}}function Y(t,e){if(1&t){const t=s.Vb();s.Ub(0,"mat-tab-body",10),s.bc("_onCentered",function(){return s.wc(t),s.fc()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return s.wc(t),s.fc()._setTabBodyWrapperHeight(e)}),s.Tb()}if(2&t){const t=e.$implicit,n=e.index,i=s.fc();s.Gb("mat-tab-body-active",i.selectedIndex==n),s.lc("id",i._getTabContentId(n))("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",i.animationDuration),s.Db("aria-labelledby",i._getTabLabelId(n))}}const j=["tabListContainer"],N=["tabList"],F=["nextPaginator"],V=["previousPaginator"],H=["mat-tab-nav-bar",""],z=new s.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return t=>({left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"})}});let B=(()=>{class t{constructor(t,e,n,i){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n,this._animationMode=i}alignToElement(t){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(t))}):this._setStyles(t)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(t){const e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.B),s.Ob(z),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&s.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t})();const W=new s.s("MatTabContent"),U=new s.s("MatTabLabel");class G{}const q=Object(l.A)(G),X=new s.s("MAT_TAB_GROUP");let Z=(()=>{class t extends q{constructor(t,e){super(),this._viewContainerRef=t,this._closestTabGroup=e,this.textLabel="",this._contentPortal=null,this._stateChanges=new u.a,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}get content(){return this._contentPortal}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new a.h(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&(this._templateLabel=t)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.R),s.Ob(X))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){if(1&t&&(s.Hb(n,U,!0),s.Ac(n,W,!0,s.N)),2&t){let t;s.tc(t=s.cc())&&(e.templateLabel=t.first),s.tc(t=s.cc())&&(e._explicitContent=t.first)}},viewQuery:function(t,e){if(1&t&&s.Bc(s.N,!0),2&t){let t;s.tc(t=s.cc())&&(e._implicitContent=t.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.zb,s.Ab],ngContentSelectors:k,decls:1,vars:0,template:function(t,e){1&t&&(s.kc(),s.Fc(0,C,1,0,"ng-template"))},encapsulation:2}),t})();const K={translateTab:Object(g.m)("translateTab",[Object(g.j)("center, void, left-origin-center, right-origin-center",Object(g.k)({transform:"none"})),Object(g.j)("left",Object(g.k)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(g.j)("right",Object(g.k)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(g.l)("* => left, * => right, left => center, right => center",Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(g.l)("void => left-origin-center",[Object(g.k)({transform:"translate3d(-100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(g.l)("void => right-origin-center",[Object(g.k)({transform:"translate3d(100%, 0, 0)"}),Object(g.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let J=(()=>{class t extends a.c{constructor(t,e,n,i){super(t,e,i),this._host=n,this._centeringSub=h.a.EMPTY,this._leavingSub=h.a.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Object(_.a)(this._host._isCenterPosition(this._host._position))).subscribe(t=>{t&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.j),s.Ob(s.R),s.Ob(Object(s.V)(()=>Q)),s.Ob(o.d))},t.\u0275dir=s.Jb({type:t,selectors:[["","matTabBodyHost",""]],features:[s.zb]}),t})(),$=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dir=e,this._dirChangeSubscription=h.a.EMPTY,this._translateTabComplete=new u.a,this._onCentering=new s.o,this._beforeCentering=new s.o,this._afterLeavingCenter=new s.o,this._onCentered=new s.o(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe(t=>{this._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(Object(y.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(t){this._positionIndex=t,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(t){const e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}_computePositionAnimationState(t=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}_computePositionFromOrigin(t){const e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(M.b,8),s.Ob(s.h))},t.\u0275dir=s.Jb({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),Q=(()=>{class t extends ${constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(M.b,8),s.Ob(s.h))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){if(1&t&&s.Oc(a.f,!0),2&t){let t;s.tc(t=s.cc())&&(e._portalHost=t.first)}},hostAttrs:[1,"mat-tab-body"],features:[s.zb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(s.Ub(0,"div",0,1),s.bc("@translateTab.start",function(t){return e._onTranslateTabStarted(t)})("@translateTab.done",function(t){return e._translateTabComplete.next(t)}),s.Fc(2,D,0,0,"ng-template",2),s.Tb()),2&t&&s.lc("@translateTab",s.qc(3,T,e._position,s.pc(1,O,e.animationDuration)))},directives:[J],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[K.translateTab]}}),t})();const tt=new s.s("MAT_TABS_CONFIG");let et=0;class nt{}class it{constructor(t){this._elementRef=t}}const rt=Object(l.y)(Object(l.z)(it),"primary");let at=(()=>{class t extends rt{constructor(t,e,n,i){super(t),this._changeDetectorRef=e,this._animationMode=i,this._tabs=new s.F,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.a.EMPTY,this._tabLabelSubscription=h.a.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new s.o,this.focusChange=new s.o,this.animationDone=new s.o,this.selectedTabChange=new s.o(!0),this._groupId=et++,this.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",this.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,this.dynamicHeight=!(!n||null==n.dynamicHeight)&&n.dynamicHeight}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(t){this._dynamicHeight=Object(v.c)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=Object(v.f)(t,null)}get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t}ngAfterContentChecked(){const t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){const e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then(()=>{this._tabs.forEach((e,n)=>e.isActive=n===t),e||this.selectedIndexChange.emit(t)})}this._tabs.forEach((e,n)=>{e.position=n-t,null==this._selectedIndex||0!=e.position||e.origin||(e.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const t=this._tabs.toArray();for(let e=0;e{this._tabs.reset(t.filter(t=>t._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(t){this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){const e=new nt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(d.a)(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t){return`mat-tab-label-${this._groupId}-${t}`}_getTabContentId(t){return`mat-tab-content-${this._groupId}-${t}`}_setTabBodyWrapperHeight(t){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}_removeTabBodyWrapperHeight(){const t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}_handleClick(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}_getTabIndex(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(tt,8),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.zb]}),t})(),ot=(()=>{class t extends at{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(tt,8),s.Ob(c.a,8))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){if(1&t&&s.Hb(n,Z,!0),2&t){let t;s.tc(t=s.cc())&&(e._allTabs=t)}},viewQuery:function(t,e){if(1&t&&(s.Oc(L,!0),s.Oc(A,!0)),2&t){let t;s.tc(t=s.cc())&&(e._tabBodyWrapper=t.first),s.tc(t=s.cc())&&(e._tabHeader=t.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(t,e){2&t&&s.Gb("mat-tab-group-dynamic-height",e.dynamicHeight)("mat-tab-group-inverted-header","below"===e.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s.Bb([{provide:X,useExisting:t}]),s.zb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(s.Ub(0,"mat-tab-header",0,1),s.bc("indexFocused",function(t){return e._focusChanged(t)})("selectFocusedIndex",function(t){return e.selectedIndex=t}),s.Fc(2,R,4,14,"div",2),s.Tb(),s.Ub(3,"div",3,4),s.Fc(5,Y,1,8,"mat-tab-body",5),s.Tb()),2&t&&(s.lc("selectedIndex",e.selectedIndex||0)("disableRipple",e.disableRipple)("disablePagination",e.disablePagination),s.Cb(2),s.lc("ngForOf",e._tabs),s.Cb(1),s.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(2),s.lc("ngForOf",e._tabs))},directives:function(){return[pt,o.m,ct,l.t,i.e,o.n,a.c,Q]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})();class st{}const lt=Object(l.A)(st);let ct=(()=>{class t extends lt{constructor(t){super(),this.elementRef=t}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l))},t.\u0275dir=s.Jb({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(s.Db("aria-disabled",!!e.disabled),s.Gb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[s.zb]}),t})();const ut=Object(w.f)({passive:!0});let ht=(()=>{class t{constructor(t,e,n,i,r,a,o){this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=i,this._ngZone=r,this._platform=a,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new u.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new u.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.o,this.indexFocused=new s.o,r.runOutsideAngular(()=>{Object(p.a)(t.nativeElement,"mouseleave").pipe(Object(b.a)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){t=Object(v.f)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}ngAfterViewInit(){Object(p.a)(this._previousPaginator.nativeElement,"touchstart",ut).pipe(Object(b.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Object(p.a)(this._nextPaginator.nativeElement,"touchstart",ut).pipe(Object(b.a)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const t=this._dir?this._dir.change:Object(f.a)(null),e=this._viewportRuler.change(150),n=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new i.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),Object(d.a)(t,e,this._items.changes).pipe(Object(b.a)(this._destroyed)).subscribe(()=>{Promise.resolve().then(n),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(Object(b.a)(this._destroyed)).subscribe(t=>{this.indexFocused.emit(t),this._setTabFocus(t)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!Object(x.s)(t))switch(t.keyCode){case x.f:case x.n:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}_onContentChanges(){const t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}_isValidIndex(t){if(!this._items)return!0;const e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();const e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(e)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;const e=this._items?this._items.toArray()[t]:null;if(!e)return;const n=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:r}=e.elementRef.nativeElement;let a,o;"ltr"==this._getLayoutDirection()?(a=i,o=a+r):(o=this._tabList.nativeElement.offsetWidth-i,a=o-r);const s=this.scrollDistance,l=this.scrollDistance+n;al&&(this.scrollDistance+=o-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,e){e&&null!=e.button&&0!==e.button||(this._stopInterval(),Object(m.a)(650,100).pipe(Object(b.a)(Object(d.a)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:e,distance:n}=this._scrollHeader(t);(0===n||n>=e)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(S.e),s.Ob(M.b,8),s.Ob(s.B),s.Ob(w.a),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),dt=(()=>{class t extends ht{constructor(t,e,n,i,r,a,o){super(t,e,n,i,r,a,o),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(v.c)(t)}_itemSelected(t){t.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(S.e),s.Ob(M.b,8),s.Ob(s.B),s.Ob(w.a),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,inputs:{disableRipple:"disableRipple"},features:[s.zb]}),t})(),pt=(()=>{class t extends dt{constructor(t,e,n,i,r,a,o){super(t,e,n,i,r,a,o)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(s.h),s.Ob(S.e),s.Ob(M.b,8),s.Ob(s.B),s.Ob(w.a),s.Ob(c.a,8))},t.\u0275cmp=s.Ib({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){if(1&t&&s.Hb(n,ct,!1),2&t){let t;s.tc(t=s.cc())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(s.Bc(B,!0),s.Bc(j,!0),s.Bc(N,!0),s.Oc(F,!0),s.Oc(V,!0)),2&t){let t;s.tc(t=s.cc())&&(e._inkBar=t.first),s.tc(t=s.cc())&&(e._tabListContainer=t.first),s.tc(t=s.cc())&&(e._tabList=t.first),s.tc(t=s.cc())&&(e._nextPaginator=t.first),s.tc(t=s.cc())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&s.Gb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.zb],ngContentSelectors:k,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.kc(),s.Ub(0,"div",0,1),s.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),s.Pb(2,"div",2),s.Tb(),s.Ub(3,"div",3,4),s.bc("keydown",function(t){return e._handleKeydown(t)}),s.Ub(5,"div",5,6),s.bc("cdkObserveContent",function(){return e._onContentChanges()}),s.Ub(7,"div",7),s.jc(8),s.Tb(),s.Pb(9,"mat-ink-bar"),s.Tb(),s.Tb(),s.Ub(10,"div",8,9),s.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),s.Pb(12,"div",2),s.Tb()),2&t&&(s.Gb("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.lc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.Cb(5),s.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(5),s.Gb("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.lc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.t,r.a,B],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t})(),ft=(()=>{class t extends ht{constructor(t,e,n,i,r,a,o){super(t,i,r,e,n,a,o),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(t){const e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(v.c)(t)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Object(_.a)(null),Object(b.a)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const t=this._items.toArray();for(let e=0;e{class t extends ft{constructor(t,e,n,i,r,a,o){super(t,e,n,i,r,a,o)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(s.l),s.Ob(M.b,8),s.Ob(s.B),s.Ob(s.h),s.Ob(S.e),s.Ob(w.a),s.Ob(c.a,8))},t.\u0275cmp=s.Ib({type:t,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(t,e,n){if(1&t&&s.Hb(n,bt,!0),2&t){let t;s.tc(t=s.cc())&&(e._items=t)}},viewQuery:function(t,e){if(1&t&&(s.Bc(B,!0),s.Bc(j,!0),s.Bc(N,!0),s.Oc(F,!0),s.Oc(V,!0)),2&t){let t;s.tc(t=s.cc())&&(e._inkBar=t.first),s.tc(t=s.cc())&&(e._tabListContainer=t.first),s.tc(t=s.cc())&&(e._tabList=t.first),s.tc(t=s.cc())&&(e._nextPaginator=t.first),s.tc(t=s.cc())&&(e._previousPaginator=t.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(t,e){2&t&&s.Gb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())("mat-primary","warn"!==e.color&&"accent"!==e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[s.zb],attrs:H,ngContentSelectors:k,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.kc(),s.Ub(0,"div",0,1),s.bc("click",function(){return e._handlePaginatorClick("before")})("mousedown",function(t){return e._handlePaginatorPress("before",t)})("touchend",function(){return e._stopInterval()}),s.Pb(2,"div",2),s.Tb(),s.Ub(3,"div",3,4),s.bc("keydown",function(t){return e._handleKeydown(t)}),s.Ub(5,"div",5,6),s.bc("cdkObserveContent",function(){return e._onContentChanges()}),s.Ub(7,"div",7),s.jc(8),s.Tb(),s.Pb(9,"mat-ink-bar"),s.Tb(),s.Tb(),s.Ub(10,"div",8,9),s.bc("mousedown",function(t){return e._handlePaginatorPress("after",t)})("click",function(){return e._handlePaginatorClick("after")})("touchend",function(){return e._stopInterval()}),s.Pb(12,"div",2),s.Tb()),2&t&&(s.Gb("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.lc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.Cb(5),s.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Cb(5),s.Gb("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.lc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.t,r.a,B],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t})();class gt{}const _t=Object(l.D)(Object(l.z)(Object(l.A)(gt)));let yt=(()=>{class t extends _t{constructor(t,e,n,i,r,a){super(),this._tabNavBar=t,this.elementRef=e,this._focusMonitor=r,this._isActive=!1,this.rippleConfig=n||{},this.tabIndex=parseInt(i)||0,"NoopAnimations"===a&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(t){Object(v.c)(t)!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(ft),s.Ob(s.l),s.Ob(l.i,8),s.Zb("tabindex"),s.Ob(i.h),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,inputs:{active:"active"},features:[s.zb]}),t})(),bt=(()=>{class t extends yt{constructor(t,e,n,i,r,a,o,s){super(t,e,r,a,o,s),this._tabLinkRipple=new l.v(this,n,e,i),this._tabLinkRipple.setupTriggerEvents(e.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return t.\u0275fac=function(e){return new(e||t)(s.Ob(mt),s.Ob(s.l),s.Ob(s.B),s.Ob(w.a),s.Ob(l.i,8),s.Zb("tabindex"),s.Ob(i.h),s.Ob(c.a,8))},t.\u0275dir=s.Jb({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Db("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),s.Gb("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[s.zb]}),t})(),vt=(()=>{class t{}return t.\u0275mod=s.Mb({type:t}),t.\u0275inj=s.Lb({factory:function(e){return new(e||t)},imports:[[o.c,l.j,a.g,l.u,r.c,i.a],l.j]}),t})()},"wd/R":function(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function r(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(s(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var n,i=[];for(n=0;n>>0;for(e=0;e0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)s(t,e)&&n.push(e);return n};var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},R={};function Y(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(R[t]=r),e&&(R[e[0]]=function(){return A(r.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function j(t,e){return t.isValid()?(e=N(e,t.localeData()),E[e]=E[e]||function(t){var e,n,i,r=t.match(I);for(e=0,n=r.length;e=0&&P.test(t);)t=t.replace(P,i),P.lastIndex=0,n-=1;return t}var F={};function V(t,e){var n=t.toLowerCase();F[n]=F[n+"s"]=F[e]=t}function H(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function z(t){var e,n,i={};for(n in t)s(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}var B={};function W(t,e){B[t]=e}function U(t){return t%4==0&&t%100!=0||t%400==0}function G(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function q(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=G(e)),n}function X(t,e){return function(n){return null!=n?(K(this,t,n),r.updateOffset(this,e),this):Z(this,t)}}function Z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&U(t.year())&&1===t.month()&&29===t.date()?(n=q(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),xt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,$=/\d/,Q=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,rt=/\d\d\d\d?/,at=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,st=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,ut=/[+-]?\d+/,ht=/Z|[+-]\d\d:?\d\d/gi,dt=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ft(t,e,n){J[t]=O(e)?e:function(t,i){return t&&n?n:e}}function mt(t,e){return s(J,t)?J[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var _t,yt={};function bt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),u(e)&&(i=function(t,n){n[e]=q(t)}),n=0;n68?1900:2e3)};var Pt=X("FullYear",!0);function Et(t,e,n,i,r,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,a,o),s}function Rt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Yt(t,e,n){var i=7+e-n;return-(7+Rt(t,0,i).getUTCDay()-e)%7+i-1}function jt(t,e,n,i,r){var a,o,s=1+7*(e-1)+(7+n-i)%7+Yt(t,i,r);return s<=0?o=It(a=t-1)+s:s>It(t)?(a=t+1,o=s-It(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Nt(t,e,n){var i,r,a=Yt(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?i=o+Ft(r=t.year()-1,e,n):o>Ft(t.year(),e,n)?(i=o-Ft(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ft(t,e,n){var i=Yt(t,e,n),r=Yt(t+1,e,n);return(It(t)-i+r)/7}function Vt(t,e){return t.slice(e,7).concat(t.slice(0,e))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),V("week","w"),V("isoWeek","W"),W("week",5),W("isoWeek",5),ft("w",it),ft("ww",it,Q),ft("W",it),ft("WW",it,Q),vt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=q(t)}),Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),V("day","d"),V("weekday","e"),V("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),ft("d",it),ft("e",it),ft("E",it),ft("dd",function(t,e){return e.weekdaysMinRegex(t)}),ft("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ft("dddd",function(t,e){return e.weekdaysRegex(t)}),vt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:m(n).invalidWeekday=t}),vt(["d","e","E"],function(t,e,n,i){e[i]=q(t)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=pt,Ut=pt,Gt=pt;function qt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=_t.call(this._weekdaysParse,o))||-1!==(r=_t.call(this._shortWeekdaysParse,o))||-1!==(r=_t.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=_t.call(this._shortWeekdaysParse,o))||-1!==(r=_t.call(this._weekdaysParse,o))||-1!==(r=_t.call(this._minWeekdaysParse,o))?r:null:-1!==(r=_t.call(this._minWeekdaysParse,o))||-1!==(r=_t.call(this._weekdaysParse,o))||-1!==(r=_t.call(this._shortWeekdaysParse,o))?r:null}function Xt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),i=gt(this.weekdaysMin(n,"")),r=gt(this.weekdaysShort(n,"")),a=gt(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),c.push(i),c.push(r),c.push(a);o.sort(t),s.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Kt(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Zt),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Zt.apply(this)+A(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Zt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),V("hour","h"),W("hour",13),ft("a",Jt),ft("A",Jt),ft("H",it),ft("h",it),ft("k",it),ft("HH",it,Q),ft("hh",it,Q),ft("kk",it,Q),ft("hmm",rt),ft("hmmss",at),ft("Hmm",rt),ft("Hmmss",at),bt(["H","HH"],3),bt(["k","kk"],function(t,e,n){var i=q(t);e[3]=24===i?0:i}),bt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),bt(["h","hh"],function(t,e,n){e[3]=q(t),m(n).bigHour=!0}),bt("hmm",function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i)),m(n).bigHour=!0}),bt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r)),m(n).bigHour=!0}),bt("Hmm",function(t,e,n){var i=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i))}),bt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=q(t.substr(0,i)),e[4]=q(t.substr(i,2)),e[5]=q(t.substr(r))});var $t,Qt=X("Hours",!0),te={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Mt,monthsShort:St,week:{dow:0,doy:6},weekdays:Ht,weekdaysMin:Bt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n0;){if(i=ae(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(r,n)>=e-1)break;e--}a++}return $t}(t)}function ce(t){var e,n=t._a;return n&&-2===m(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),m(t)._overflowWeeks&&-1===e&&(e=7),m(t)._overflowWeekday&&-1===e&&(e=8),m(t).overflow=e),t}var ue=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/Z|[+-]\d\d(?::?\d\d)?/,pe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],fe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],me=/^\/?Date\((-?\d+)/i,ge=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_e={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ye(t){var e,n,i,r,a,o,s=t._i,l=ue.exec(s)||he.exec(s);if(l){for(m(t).iso=!0,e=0,n=pe.length;e7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,c=Nt(Ce(),a,o),n=ve(e.gg,t._a[0],c.year),i=ve(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),i<1||i>Ft(n,a,o)?m(t)._overflowWeeks=!0:null!=l?m(t)._overflowWeekday=!0:(s=jt(n,i,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=ve(t._a[0],i[0]),(t._dayOfYear>It(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),n=Rt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Et).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(m(t).weekdayMismatch=!0)}}function xe(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],m(t).empty=!0;var e,n,i,a,o,s,l=""+t._i,c=l.length,u=0;for(i=N(t._f,t._locale).match(I)||[],e=0;e0&&m(t).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),u+=n.length),R[a]?(n?m(t).empty=!1:m(t).unusedTokens.push(a),wt(a,n,t)):t._strict&&!n&&m(t).unusedTokens.push(a);m(t).charsLeftOver=c-u,l.length>0&&m(t).unusedInput.push(l),t._a[3]<=12&&!0===m(t).bigHour&&t._a[3]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=m(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),we(t),ce(t)}else be(t);else ye(t)}function Me(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?_({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(ce(e)):(h(e)?t._d=e:a(n)?function(t){var e,n,i,r,a,o,s=!1;if(0===t._f.length)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:_()});function Oe(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],i=1;i=0?new Date(t+400,e,n)-126227808e5:new Date(t,e,n).valueOf()}function rn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-126227808e5:Date.UTC(t,e,n)}function an(t,e){return e.erasAbbrRegex(t)}function on(){var t,e,n=[],i=[],r=[],a=[],o=this.eras();for(t=0,e=o.length;t(a=Ft(t,i,r))&&(e=a),cn.call(this,t,e,n,i,r))}function cn(t,e,n,i,r){var a=jt(t,e,n,i,r),o=Rt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),ft("N",an),ft("NN",an),ft("NNN",an),ft("NNNN",function(t,e){return e.erasNameRegex(t)}),ft("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),bt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?m(n).era=r:m(n).invalidEra=t}),ft("y",ct),ft("yy",ct),ft("yyy",ct),ft("yyyy",ct),ft("yo",function(t,e){return e._eraYearOrdinalRegex||ct}),bt(["y","yy","yyy","yyyy"],0),bt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,r):parseInt(t,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),V("weekYear","gg"),V("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),ft("G",ut),ft("g",ut),ft("GG",it,Q),ft("gg",it,Q),ft("GGGG",st,et),ft("gggg",st,et),ft("GGGGG",lt,nt),ft("ggggg",lt,nt),vt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=q(t)}),vt(["gg","GG"],function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),V("quarter","Q"),W("quarter",7),ft("Q",$),bt("Q",function(t,e){e[1]=3*(q(t)-1)}),Y("D",["DD",2],"Do","date"),V("date","D"),W("date",9),ft("D",it),ft("DD",it,Q),ft("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),bt(["D","DD"],2),bt("Do",function(t,e){e[2]=q(t.match(it)[0])});var un=X("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),V("dayOfYear","DDD"),W("dayOfYear",4),ft("DDD",ot),ft("DDDD",tt),bt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=q(t)}),Y("m",["mm",2],0,"minute"),V("minute","m"),W("minute",14),ft("m",it),ft("mm",it,Q),bt(["m","mm"],4);var hn=X("Minutes",!1);Y("s",["ss",2],0,"second"),V("second","s"),W("second",15),ft("s",it),ft("ss",it,Q),bt(["s","ss"],5);var dn,pn,fn=X("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),V("millisecond","ms"),W("millisecond",16),ft("S",ot,$),ft("SS",ot,Q),ft("SSS",ot,tt),dn="SSSS";dn.length<=9;dn+="S")ft(dn,ct);function mn(t,e){e[6]=q(1e3*("0."+t))}for(dn="S";dn.length<=9;dn+="S")bt(dn,mn);pn=X("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var gn=w.prototype;function _n(t){return t}gn.add=Ge,gn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Ze(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Ce(),i=Ye(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=e&&(O(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,Ce(n)))},gn.clone=function(){return new w(this)},gn.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ye(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":a=Je(this,i)/12;break;case"month":a=Je(this,i);break;case"quarter":a=Je(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:G(a)},gn.endOf=function(t){var e,n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?rn:nn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-en(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-en(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-en(e,1e3)-1}return this._d.setTime(e),r.updateOffset(this,!0),this},gn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=j(this,t);return this.localeData().postformat(e)},gn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.fromNow=function(t){return this.from(Ce(),t)},gn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gn.toNow=function(t){return this.to(Ce(),t)},gn.get=function(t){return O(this[t=H(t)])?this[t]():this},gn.invalidAt=function(){return m(this).overflow},gn.isAfter=function(t,e){var n=x(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?j(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Ne,gn.isUTC=Ne,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=S("dates accessor is deprecated. Use date instead.",un),gn.months=S("months accessor is deprecated. Use month instead",Lt),gn.years=S("years accessor is deprecated. Use year instead",Pt),gn.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),gn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=Me(e))._a?(t=e._isUTC?f(e._a):Ce(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted});var yn=L.prototype;function bn(t,e,n,i){var r=le(),a=f().set(i,e);return r[n](a,t)}function vn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return bn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=bn(t,i,n,"month");return r}function wn(t,e,n,i){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,a=le(),o=t?a._week.dow:0,s=[];if(null!=n)return bn(e,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=bn(e,(r+o)%7,i,"day");return s}yn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return O(i)?i.call(e,n):i},yn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(t){return this._ordinal.replace("%d",t)},yn.preparse=_n,yn.postformat=_n,yn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return O(r)?r(t,e,n,i):r.replace(/%d/i,t)},yn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return O(n)?n(e):n.replace(/%s/i,e)},yn.set=function(t){var e,n;for(n in t)s(t,n)&&(O(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(t,e){var n,i,a,o=this._eras||le("en")._eras;for(n=0,i=o.length;n=0)return l[i]},yn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n},yn.erasAbbrRegex=function(t){return s(this,"_erasAbbrRegex")||on.call(this),t?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(t){return s(this,"_erasNameRegex")||on.call(this),t?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(t){return s(this,"_erasNarrowRegex")||on.call(this),t?this._erasNarrowRegex:this._erasRegex},yn.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ct).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},yn.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ct.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Ot.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},yn.monthsRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Dt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(t){return this._monthsParseExact?(s(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(t,e){var n=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Vt(n,this._week.dow):t?n[t.day()]:n},yn.weekdaysMin=function(t){return!0===t?Vt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yn.weekdaysShort=function(t){return!0===t?Vt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yn.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return qt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},yn.weekdaysRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Xt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===q(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",oe),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",le);var xn=Math.abs;function Mn(t,e,n,i){var r=He(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Sn(t){return t<0?Math.floor(t):Math.ceil(t)}function Cn(t){return 4800*t/146097}function kn(t){return 146097*t/4800}function Dn(t){return function(){return this.as(t)}}var On=Dn("ms"),Tn=Dn("s"),Ln=Dn("m"),An=Dn("h"),In=Dn("d"),Pn=Dn("w"),En=Dn("M"),Rn=Dn("Q"),Yn=Dn("y");function jn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nn=jn("milliseconds"),Fn=jn("seconds"),Vn=jn("minutes"),Hn=jn("hours"),zn=jn("days"),Bn=jn("months"),Wn=jn("years"),Un=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Xn=Math.abs;function Zn(t){return(t>0)-(t<0)||+t}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,a,o,s,l=Xn(this._milliseconds)/1e3,c=Xn(this._days),u=Xn(this._months),h=this.asSeconds();return h?(t=G(l/60),e=G(t/60),l%=60,t%=60,n=G(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=Zn(this._months)!==Zn(h)?"-":"",o=Zn(this._days)!==Zn(h)?"-":"",s=Zn(this._milliseconds)!==Zn(h)?"-":"",r+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var Jn=Le.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var t=this._data;return this._milliseconds=xn(this._milliseconds),this._days=xn(this._days),this._months=xn(this._months),t.milliseconds=xn(t.milliseconds),t.seconds=xn(t.seconds),t.minutes=xn(t.minutes),t.hours=xn(t.hours),t.months=xn(t.months),t.years=xn(t.years),this},Jn.add=function(t,e){return Mn(this,t,e,1)},Jn.subtract=function(t,e){return Mn(this,t,e,-1)},Jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(n=this._months+Cn(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(kn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Jn.asMilliseconds=On,Jn.asSeconds=Tn,Jn.asMinutes=Ln,Jn.asHours=An,Jn.asDays=In,Jn.asWeeks=Pn,Jn.asMonths=En,Jn.asQuarters=Rn,Jn.asYears=Yn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Jn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Sn(kn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=G(a/1e3),l.seconds=t%60,e=G(t/60),l.minutes=e%60,n=G(e/60),l.hours=n%24,o+=G(n/24),s+=r=G(Cn(o)),o-=Sn(kn(r)),i=G(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Jn.clone=function(){return He(this)},Jn.get=function(t){return t=H(t),this.isValid()?this[t+"s"]():NaN},Jn.milliseconds=Nn,Jn.seconds=Fn,Jn.minutes=Vn,Jn.hours=Hn,Jn.days=zn,Jn.weeks=function(){return G(this.days()/7)},Jn.months=Bn,Jn.years=Wn,Jn.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=Gn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(a=Object.assign({},Gn,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),i=function(t,e,n,i){var r=He(t).abs(),a=Un(r.as("s")),o=Un(r.as("m")),s=Un(r.as("h")),l=Un(r.as("d")),c=Un(r.as("M")),u=Un(r.as("w")),h=Un(r.as("y")),d=a<=n.ss&&["s",a]||a0,d[4]=i,qn.apply(null,d)}(this,!r,a,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Jn.toISOString=Kn,Jn.toString=Kn,Jn.toJSON=Kn,Jn.locale=$e,Jn.localeData=tn,Jn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Jn.lang=Qe,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),ft("x",ut),ft("X",/[+-]?\d+(\.\d{1,3})?/),bt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),bt("x",function(t,e,n){n._d=new Date(q(t))}),r.version="2.29.1",e=Ce,r.fn=gn,r.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},r.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(t){return Ce(1e3*t)},r.months=function(t,e){return vn(t,e,"months")},r.isDate=h,r.locale=oe,r.invalid=_,r.duration=He,r.isMoment=x,r.weekdays=function(t,e,n){return wn(t,e,n,"weekdays")},r.parseZone=function(){return Ce.apply(null,arguments).parseZone()},r.localeData=le,r.isDuration=Ae,r.monthsShort=function(t,e){return vn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return wn(t,e,n,"weekdaysMin")},r.defineLocale=se,r.updateLocale=function(t,e){if(null!=e){var n,i,r=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(T(ee[t]._config,e)):(null!=(i=ae(t))&&(r=i._config),e=T(r,e),null==i&&(e.abbr=t),(n=new L(e)).parentLocale=ee[t],ee[t]=n),oe(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===oe()&&oe(t)):null!=ee[t]&&delete ee[t]);return ee[t]},r.locales=function(){return C(ee)},r.weekdaysShort=function(t,e,n){return wn(t,e,n,"weekdaysShort")},r.normalizeUnits=H,r.relativeTimeRounding=function(t){return void 0===t?Un:"function"==typeof t&&(Un=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Gn[t]&&(void 0===e?Gn[t]:(Gn[t]=e,"s"===t&&(Gn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=gn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(t))},weu1:function(t,e,n){"use strict";var i=Array.prototype.join;e.a=function(t,e){return null==t?"":i.call(t,e)}},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("DH7j"),a=n("n6bG"),o=n("lJxs");function s(t,e,n,c){return Object(a.a)(n)&&(c=n,n=void 0),c?s(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?c(...t):c(t))):new i.a(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,r){let a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),a=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),a=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),a=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var a=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}(t);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t,e){return new i.a(e?n=>e.schedule(a,0,{error:t,subscriber:n}):e=>e.error(t))}function a({error:t,subscriber:e}){e.error(t)}},zM63:function(t,e,n){"use strict";n.d(e,"a",function(){return T}),n.d(e,"b",function(){return L}),n.d(e,"c",function(){return I});var i=n("XNiG"),r=n("quSY"),a=n("2Vo4"),o=n("itXk"),s=n("PqYM"),l=n("EY2u"),c=n("LRne"),u=n("pLZG"),h=n("zx2A");class d{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new p(t,this.durationSelector))}}class p extends h.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=Object(h.c)(e,new h.a(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var f=n("eIep"),m=n("vkgz"),g=n("3E0/"),_=n("nYR2"),y=n("1G5W"),b=n("lJxs"),v=n("mrSG"),w=n("fXoL"),x=n("ofXK");function M(t,e){if(1&t&&w.Pb(0,"div",6),2&t){const t=w.fc(2);w.Cc("box-shadow","0 0 10px "+t.color+", 0 0 5px "+t.color)}}function S(t,e){if(1&t&&(w.Ub(0,"div",7),w.Pb(1,"div",8),w.Tb()),2&t){const t=w.fc(2);w.Cb(1),w.Cc("border-top-color",t.color)("border-left-color",t.color)}}function C(t,e){if(1&t&&(w.Sb(0),w.Ub(1,"div",1),w.Ub(2,"div",2),w.Ub(3,"div",3),w.Fc(4,M,1,2,"div",4),w.Tb(),w.Tb(),w.Fc(5,S,2,4,"div",5),w.Tb(),w.Rb()),2&t){const t=e.$implicit,n=w.fc();w.Cb(1),w.Cc("transition","opacity "+n.speed+"ms "+n.ease),w.Db("active",t.active),w.Cb(2),w.Cc("transform",t.transform)("background-color",n.color)("transition",t.active?"all "+n.speed+"ms "+n.ease:"none"),w.Cb(1),w.lc("ngIf",n.meteor),w.Cb(1),w.lc("ngIf",n.spinner)}}class k{constructor(t,e){var n;this._onDestroyCallback=e,this._started=new i.a,this.started=this._started.pipe(Object(u.a)(()=>!this.isStarted)),this._completed=new i.a,this.completed=this._completed.pipe(Object(u.a)(()=>this.isStarted)),this._trickling=new i.a,this._worker=r.a.EMPTY,this._state=new a.a({active:!1,value:0}),this._config=new a.a(t),this.state=this._state.asObservable(),this.config=this._state.asObservable(),this._worker=Object(o.b)(this._trickling,this._config).pipe((n=([t,e])=>Object(s.a)(t?e.debounceTime:0),t=>t.lift(new d(n))),Object(f.a)(([t,e])=>t?this.onTrickling(e):this.onComplete(e))).subscribe()}get currState(){return this._state.value}get isStarted(){return this.currState.active}start(){this._started.next(),this._trickling.next(!0)}complete(){this._trickling.next(!1)}inc(t){const e=this.currState.value;this.isStarted?("number"!=typeof t&&(t=this._config.value.trickleFunc(e)),this.set(e+t)):this.start()}set(t){this.setState({value:this.clamp(t),active:!0})}setConfig(t){this._config.next(Object.assign(Object.assign({},this._config.value),t))}destroy(){this._worker.unsubscribe(),this._trickling.complete(),this._state.complete(),this._config.complete(),this._started.complete(),this._completed.complete(),this._onDestroyCallback()}setState(t){this._state.next(Object.assign(Object.assign({},this.currState),t))}clamp(t){return Math.max(this._config.value.min,Math.min(this._config.value.max,t))}onTrickling(t){return this.isStarted||this.set(this._config.value.min),Object(s.a)(0,t.trickleSpeed).pipe(Object(m.a)(()=>this.inc()))}onComplete(t){return this._completed.next(),this.isStarted?Object(c.a)({}).pipe(Object(m.a)(()=>this.setState({value:100})),Object(g.a)(1.7*t.speed),Object(m.a)(()=>this.setState({active:!1})),Object(g.a)(t.speed),Object(_.a)(()=>this.setState({value:0})),Object(y.a)(this._started)):l.a}}const D=new w.s("ngProgressConfig"),O={min:8,max:100,speed:200,debounceTime:0,trickleSpeed:300,fixed:!0,meteor:!0,thick:!1,spinner:!0,ease:"linear",color:"#1B95E0",direction:"ltr+",spinnerPosition:"right",trickleFunc:t=>t>=0&&t<20?10:t>=20&&t<50?4:t>=50&&t<80?2:t>=80&&t<99?.5:0};let T=(()=>{let t=class{constructor(t){this._instances=new Map,this.config=t?Object.assign(Object.assign({},O),t):O}ref(t="root",e){if(this._instances.has(t)){const n=this._instances.get(t);return e&&n.setConfig(Object.assign(Object.assign({},this.config),e)),n}{const n=new k(Object.assign(Object.assign({},this.config),e),this.deleteInstance(t));return this._instances.set(t,n).get(t)}}destroyAll(){this._instances.forEach(t=>t.destroy())}deleteInstance(t){return()=>{this._instances.delete(t)}}};return t.\u0275fac=function(e){return new(e||t)(w.Yb(D,8))},t.\u0275prov=Object(w.Kb)({factory:function(){return new t(Object(w.Yb)(D,8))},token:t,providedIn:"root"}),t=Object(v.b)([Object(v.c)(0,Object(w.C)()),Object(v.c)(0,Object(w.q)(D))],t),t})(),L=(()=>{let t=class{constructor(t){this._ngProgress=t,this._started=r.a.EMPTY,this._completed=r.a.EMPTY,this.id="root",this.min=this._ngProgress.config.min,this.max=this._ngProgress.config.max,this.ease=this._ngProgress.config.ease,this.color=this._ngProgress.config.color,this.speed=this._ngProgress.config.speed,this.thick=this._ngProgress.config.thick,this.fixed=this._ngProgress.config.fixed,this.meteor=this._ngProgress.config.meteor,this.spinner=this._ngProgress.config.spinner,this.trickleSpeed=this._ngProgress.config.trickleSpeed,this.debounceTime=this._ngProgress.config.debounceTime,this.trickleFunc=this._ngProgress.config.trickleFunc,this.spinnerPosition=this._ngProgress.config.spinnerPosition,this.direction=this._ngProgress.config.direction,this.started=new w.o,this.completed=new w.o}get isStarted(){return this.progressRef.isStarted}ngOnChanges(){this.progressRef instanceof k&&this.progressRef.setConfig({max:this.max>0&&this.max<=100?this.max:100,min:this.min<100&&this.min>=0?this.min:0,speed:this.speed,trickleSpeed:this.trickleSpeed,trickleFunc:this.trickleFunc,debounceTime:this.debounceTime})}ngOnInit(){this.progressRef=this._ngProgress.ref(this.id,{max:this.max,min:this.min,speed:this.speed,trickleSpeed:this.trickleSpeed,debounceTime:this.debounceTime}),this.state$=this.progressRef.state.pipe(Object(b.a)(t=>({active:t.active,transform:`translate3d(${t.value}%,0,0)`}))),this.started.observers.length&&(this._started=this.progressRef.started.subscribe(()=>this.started.emit())),this.completed.observers.length&&(this._completed=this.progressRef.completed.subscribe(()=>this.completed.emit()))}ngOnDestroy(){this._started.unsubscribe(),this._completed.unsubscribe(),this.progressRef instanceof k&&this.progressRef.destroy()}start(){this.progressRef.start()}complete(){this.progressRef.complete()}inc(t){this.progressRef.inc(t)}set(t){this.progressRef.set(t)}};return t.\u0275fac=function(e){return new(e||t)(w.Ob(T))},t.\u0275cmp=w.Ib({type:t,selectors:[["ng-progress"]],hostAttrs:["role","progressbar"],hostVars:4,hostBindings:function(t,e){2&t&&w.Db("spinnerPosition",e.spinnerPosition)("dir",e.direction)("thick",e.thick)("fixed",e.fixed)},inputs:{id:"id",min:"min",max:"max",ease:"ease",color:"color",speed:"speed",thick:"thick",fixed:"fixed",meteor:"meteor",spinner:"spinner",trickleSpeed:"trickleSpeed",debounceTime:"debounceTime",trickleFunc:"trickleFunc",spinnerPosition:"spinnerPosition",direction:"direction"},outputs:{started:"started",completed:"completed"},features:[w.Ab],decls:2,vars:3,consts:[[4,"ngIf"],[1,"ng-progress-bar"],[1,"ng-bar-placeholder"],[1,"ng-bar"],["class","ng-meteor",3,"boxShadow",4,"ngIf"],["class","ng-spinner",4,"ngIf"],[1,"ng-meteor"],[1,"ng-spinner"],[1,"ng-spinner-icon"]],template:function(t,e){1&t&&(w.Fc(0,C,6,11,"ng-container",0),w.gc(1,"async")),2&t&&w.lc("ngIf",w.hc(1,1,e.state$))},directives:[x.n],pipes:[x.b],styles:['[_nghost-%COMP%]{z-index:999999;pointer-events:none}[fixed=true][_nghost-%COMP%] .ng-progress-bar[_ngcontent-%COMP%], [fixed=true][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{top:15px}[fixed=true][spinnerPosition=left][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{left:15px}[fixed=true][spinnerPosition=right][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{right:15px}[thick=true][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%]{width:24px;height:24px;border-width:3px}[thick=true][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%]{height:3px!important}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(3deg);transform:rotate(3deg)}[dir="ltr+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(4deg);transform:rotate(4deg)}[dir="ltr+"][_nghost-%COMP%] .ng-bar[_ngcontent-%COMP%], [dir="rtl+"][_nghost-%COMP%] .ng-bar[_ngcontent-%COMP%]{margin-left:-100%}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{right:0}[dir="ltr+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{top:-3px}[dir="ltr+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{top:-4px}[dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{bottom:-3px}[dir="rtl+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=ltr-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{bottom:-4px}[dir="rtl+"][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-bar-placeholder[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir="rtl+"][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%], [dir=ltr-][_nghost-%COMP%] .ng-spinner-icon[_ngcontent-%COMP%]{animation-direction:reverse}[dir="rtl+"][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(-3deg);transform:rotate(-3deg)}[dir="rtl+"][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%], [dir=rtl-][thick=true][_nghost-%COMP%] .ng-meteor[_ngcontent-%COMP%]{-webkit-transform:rotate(-4deg);transform:rotate(-4deg)}[spinnerPosition=left][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{left:10px}[spinnerPosition=right][_nghost-%COMP%] .ng-spinner[_ngcontent-%COMP%]{right:10px}.ng-progress-bar[_ngcontent-%COMP%]{position:relative;z-index:999999;top:0;left:0;width:100%;zoom:1;opacity:0}.ng-progress-bar[active=true][_ngcontent-%COMP%]{opacity:1;-webkit-transition:none;transition:none}.ng-bar-placeholder[_ngcontent-%COMP%]{position:absolute;height:2px;width:100%}.ng-bar[_ngcontent-%COMP%]{width:100%;height:100%;-webkit-transform:translate(-100%,0,0);transform:translate(-100%,0,0)}.ng-meteor[_ngcontent-%COMP%]{display:block;position:absolute;width:100px;height:100%;opacity:1}.ng-spinner[_ngcontent-%COMP%]{position:absolute;display:block;z-index:1031;top:10px}.ng-spinner-icon[_ngcontent-%COMP%]{width:18px;height:18px;box-sizing:border-box;-webkit-animation:250ms linear infinite spinner-animation;animation:250ms linear infinite spinner-animation;border:2px solid transparent;border-radius:50%}@-webkit-keyframes spinner-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-animation{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}'],changeDetection:0}),t})();var A;let I=(()=>{let t=A=class{static withConfig(t){return{ngModule:A,providers:[{provide:D,useValue:t}]}}};return t.\u0275mod=w.Mb({type:t}),t.\u0275inj=w.Lb({factory:function(e){return new(e||t)},imports:[[x.c]]}),t})()},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("fXoL"),r=n("tk/3"),a=n("jhN1"),o=n("R1ws"),s=n("sYmb");class l{constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}var c=n("ofXK");let u=(()=>{class t{constructor(t){if(t)throw new Error("CoreModule \u53ea\u5141\u8bb8\u5728 AppModule \u4e2d\u52a0\u8f7d\u3002")}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)(i.Yb(t,12))},imports:[[c.c]]}),t})();var h=n("PCNd"),d=n("tyNb"),p=n("mrSG"),f=n("R0Ic"),m=n("cp0P"),g=n("Xi3o"),_=n("bUwk"),y=n("HqcR");const b={};let v=(()=>{class t{constructor(t,e,n){this._http=t,this._title=e,this._i18nService=n,this._i18nService.onchange.subscribe(()=>b.htmlTitle&&this._title.setTitle(this._i18nService.translate(b.htmlTitle)))}startup(){return new Promise(t=>{Object(m.a)([this._http.get("assets/settings/app.json?timestamp="+Date.now()),this._http.get("assets/settings/i18n.json?timestamp="+Date.now()),this._http.get("assets/settings/srv.json?timestamp="+Date.now())]).subscribe(e=>{Object.assign(b,e[0]),Object.assign(g.b,e[1]),Object.assign(_.b,e[2]),Object.assign(y.b,e[2]),b.htmlTitle&&this._title.setTitle(this._i18nService.translate(b.htmlTitle)),b.appLogoAssets=/\./.test(b.appLogo),t(null)})})}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.b),i.Yb(a.c),i.Yb(g.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var w=n("3Pt+"),x=n("S+vS");let M=(()=>{class t{constructor(t){this._router=t,this._root=[],this._items={},this._path={},this._active=[],t.events.subscribe(t=>{var e;t instanceof d.c&&(this._active.forEach(t=>this._items[t].active=!1),this._active.length=0,null===(e=this._path[t.url])||void 0===e||e.forEach(t=>{this._items[t].active=!0,this._active.push(t)}))})}init(t){var e;t.forEach(t=>{this._items[t.id]=t,t.parent||this._root.push(t)});const n=[],i=(t,e)=>{this._path[t].unshift(e.id),this._items[e.parent]&&i(t,this._items[e.parent])};t.forEach(t=>{if(0==t.parent)n.push(t);else{const e=this._items[t.parent];e&&(e.children||(e.children=[]),e.children.push(t))}t.url&&(this._path[t.url]=[],i(t.url,t))});const r=(t,e)=>{null==t||t.forEach(t=>{t.level=e,t.children&&r(t.children,e+1)})};r(n,0);const a=(t,e)=>{var n;null===(n=e.children)||void 0===n||n.forEach(e=>{t.height+=48,a(t,e)})};return t.forEach(t=>{t.height=0,a(t,t)}),null===(e=this._path[this._router.url])||void 0===e||e.forEach(t=>{this._items[t].active=!0,this._active.push(t)}),n}focus(t){if(t.focus)t.focus=!1,t.children.forEach(t=>t.focus=!1);else{const e=t=>{t.forEach(t=>{t.focus=!1,t.children&&e(t.children)})};e(this._items[t.parent]?this._items[t.parent].children:this._root),t.focus=!0}}navigate(t,e){return this._router.navigate("string"==typeof t?[t]:t,e?{queryParams:e}:void 0)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(d.f))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var S=n("Olgc"),C=n("0IaG"),k=n("kmnG"),D=n("qFsG"),O=n("bTqV");let T=(()=>{class t{constructor(t,e,n,i,r,a,o){this._formBuilder=t,this._dialogService=e,this._httpService=n,this._i18nService=i,this._routerService=r,this._toastService=a,this._dialogRef=o,this._form=this._formBuilder.group({current:["",[w.u.required]],replacement:["",[w.u.required]],confirm:["",[w.u.required]]},{validators:t=>{const e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}get form(){return this._form}change(){return Object(p.a)(this,void 0,void 0,function*(){void 0!==(yield this._httpService.put("users/current/password",{current:this._form.controls.current.value,replacement:this._form.controls.replacement.value}).catch(t=>{422==t.status&&this._toastService.show(this._i18nService.translate("layouts.admin.password.invalid."+t.error))}))&&(this._dialogRef.close(),yield this._httpService.delete("sessions",{reason:"Modify Password"}),yield this._dialogService.alert(this._i18nService.translate("layouts.admin.password.success")),this._routerService.navigate("/auth/login"))})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(w.d),i.Ob(x.a),i.Ob(_.a),i.Ob(g.a),i.Ob(M),i.Ob(S.a),i.Ob(C.g))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-password"]],decls:29,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["autocomplete","off",3,"formGroup"],["matInput","","type","password","formControlName","current","required",""],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-dialog-actions","","align","end"],["mat-button","","color","primary",3,"disabled","click"],["mat-button","","mat-dialog-close",""]],template:function(t,e){1&t&&(i.Ub(0,"h2",0),i.Hc(1),i.gc(2,"translate"),i.Tb(),i.Ub(3,"div",1),i.Ub(4,"form",2),i.Ub(5,"mat-form-field"),i.Ub(6,"mat-label"),i.Hc(7),i.gc(8,"translate"),i.Tb(),i.Pb(9,"input",3),i.Tb(),i.Ub(10,"mat-form-field"),i.Ub(11,"mat-label"),i.Hc(12),i.gc(13,"translate"),i.Tb(),i.Pb(14,"input",4),i.Tb(),i.Ub(15,"mat-form-field"),i.Ub(16,"mat-label"),i.Hc(17),i.gc(18,"translate"),i.Tb(),i.Pb(19,"input",5),i.Tb(),i.Tb(),i.Tb(),i.Ub(20,"div",6),i.Ub(21,"button",7),i.bc("click",function(){return e.change()}),i.Hc(22),i.gc(23,"uppercase"),i.gc(24,"translate"),i.Tb(),i.Ub(25,"button",8),i.Hc(26),i.gc(27,"uppercase"),i.gc(28,"translate"),i.Tb(),i.Tb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,8,"layouts.admin.password.title")),i.Cb(3),i.lc("formGroup",e.form),i.Cb(3),i.Ic(i.hc(8,10,"layouts.admin.password.current")),i.Cb(5),i.Ic(i.hc(13,12,"layouts.admin.password.replacement")),i.Cb(5),i.Ic(i.hc(18,14,"layouts.admin.password.confirm")),i.Cb(4),i.lc("disabled",e.form.invalid),i.Cb(1),i.Ic(i.hc(23,16,i.hc(24,18,"shared.dialog.ok"))),i.Cb(4),i.Ic(i.hc(27,20,i.hc(28,22,"shared.dialog.cancel"))))},directives:[C.h,C.e,w.v,w.o,w.g,k.b,k.e,D.b,w.c,w.n,w.f,w.t,C.c,O.a,C.d],pipes:[s.d,c.v],styles:[".mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-dialog-actions[_ngcontent-%COMP%]{margin-right:-8px}"]}),t})();var L=n("urRO"),A=n.n(L),I=n("NFeN");let P=(()=>{class t{constructor(t,e,n,i,r){this._data=t,this._renderer=e,this._element=n,this._dialog=i,this._httpService=r}ngOnInit(){const t=this._element.nativeElement.querySelector("img");this._renderer.setAttribute(t,"src",this._data),this._renderer.setStyle(this._element.nativeElement.parentElement,"background-color","transparent"),this._renderer.setStyle(this._element.nativeElement.parentElement,"box-shadow","none"),this._renderer.setStyle(this._element.nativeElement.parentElement,"padding","0"),new A.a(t,{aspectRatio:1,dragMode:"move",minContainerWidth:document.body.clientWidth,minContainerHeight:document.body.clientHeight,background:!1,center:!1,cropBoxMovable:!1,cropBoxResizable:!1,guides:!1,highlight:!1,toggleDragModeOnDblclick:!1,ready:()=>{const t=this._element.nativeElement.querySelector(".crop");this._renderer.setStyle(t,"margin-top","10px"),this._renderer.appendChild(this._element.nativeElement.querySelector(".cropper-crop-box"),t)}})}crop(){const t=this._element.nativeElement.querySelector("img").cropper.getCroppedCanvas("",{width:128,height:128}).toDataURL("image/jpeg");this._httpService.put("users/current/profile",{avatar:t}),this._dialog.close(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(C.a),i.Ob(i.G),i.Ob(i.l),i.Ob(C.g),i.Ob(_.a))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-profile"]],decls:8,vars:3,consts:[[1,"overlay"],["alt","."],["mat-raised-button","","color","primary",1,"crop",3,"click"],["mat-mini-fab","","color","default","mat-dialog-close","",1,"close"]],template:function(t,e){1&t&&(i.Ub(0,"div",0),i.Pb(1,"img",1),i.Ub(2,"button",2),i.bc("click",function(){return e.crop()}),i.Hc(3),i.gc(4,"translate"),i.Tb(),i.Ub(5,"button",3),i.Ub(6,"mat-icon"),i.Hc(7,"clear"),i.Tb(),i.Tb(),i.Tb()),2&t&&(i.Cb(3),i.Ic(i.hc(4,1,"shared.dialog.ok")))},directives:[O.a,C.d,I.a],pipes:[s.d],styles:['.overlay[_ngcontent-%COMP%]{width:100%;height:100%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");overflow:hidden}.overlay[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;max-width:100%;max-height:100%}.overlay[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px}']}),t})();var E=n("k7+O"),R=n("+qE3");let Y=(()=>{class t extends R.EventEmitter{constructor(){super()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var j=n("blSl"),N=n("SvPF"),F=n("XhcP"),V=n("/t3+"),H=n("zM63"),z=n("Qu3c"),B=n("FKr1"),W=n("QibW"),U=n("TU8p"),G=n("STbY"),q=n("f0Cb"),X=n("hZOD"),Z=n("ZCbZ");const K=["$progress"];function J(t,e){if(1&t&&i.Pb(0,"img",23),2&t){const t=i.fc();i.lc("src","assets/images/"+t.settings.appLogo,i.yc)}}function $(t,e){if(1&t&&(i.Ub(0,"mat-icon"),i.Hc(1),i.Tb()),2&t){const t=i.fc();i.Cb(1),i.Ic(t.settings.appLogo)}}function Q(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",24),i.bc("click",function(){i.wc(t);const e=i.fc();return e.layout.sidenavfold=!e.layout.sidenavfold}),i.gc(1,"translate"),i.Ub(2,"mat-icon"),i.Hc(3,"menu"),i.Tb(),i.Tb()}2&t&&i.mc("matTooltip",i.hc(1,1,"layouts.admin.fixed"))}function tt(t,e){1&t&&i.Qb(0)}function et(t,e){1&t&&i.Qb(0)}function nt(t,e){if(1&t&&(i.Ub(0,"mat-icon",35),i.Hc(1),i.Tb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Ic(t.icon)}}function it(t,e){1&t&&(i.Ub(0,"mat-icon",36),i.Hc(1,"keyboard_arrow_right"),i.Tb())}function rt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"a",31),i.bc("click",function(){i.wc(t);const e=i.fc().$implicit;return i.fc(2).menu.toggle(e)}),i.Fc(1,nt,2,1,"mat-icon",32),i.Ub(2,"span",33),i.Hc(3),i.gc(4,"translate"),i.Tb(),i.Pb(5,"span",9),i.Fc(6,it,2,0,"mat-icon",34),i.Tb()}if(2&t){const t=i.fc().$implicit;i.Cc("padding-left",t.level>0&&55+16*(t.level-1)+"px"),i.Cb(1),i.lc("ngIf",0==t.level),i.Cb(2),i.Ic(i.hc(4,5,t.header)),i.Cb(3),i.lc("ngIf",t.children)}}function at(t,e){if(1&t&&(i.Ub(0,"mat-icon",35),i.Hc(1),i.Tb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Ic(t.icon)}}const ot=function(t){return[t]};function st(t,e){if(1&t){const t=i.Vb();i.Ub(0,"a",37),i.bc("click",function(){i.wc(t);const e=i.fc(3),n=i.uc(3);return"mobile"==e.layout.media&&n.toggle()}),i.Fc(1,at,2,1,"mat-icon",32),i.Ub(2,"span",33),i.Hc(3),i.gc(4,"translate"),i.Tb(),i.Tb()}if(2&t){const t=i.fc().$implicit;i.Cc("padding-left",t.level>0&&55+16*(t.level-1)+"px"),i.lc("routerLink",i.pc(7,ot,t.url)),i.Cb(1),i.lc("ngIf",0==t.level),i.Cb(2),i.Ic(i.hc(4,5,t.header))}}function lt(t,e){1&t&&i.Qb(0)}const ct=function(t,e){return{parent:t,items:e}};function ut(t,e){if(1&t&&(i.Sb(0),i.Fc(1,lt,1,0,"ng-container",12),i.Rb()),2&t){const t=i.fc().$implicit;i.fc(2);const e=i.uc(19);i.Cb(1),i.lc("ngTemplateOutlet",e)("ngTemplateOutletContext",i.qc(2,ct,t,t.children))}}const ht=function(t,e){return{focus:t,active:e}};function dt(t,e){if(1&t&&(i.Ub(0,"li",27),i.Fc(1,et,1,0,"ng-container",18),i.Fc(2,rt,7,7,"ng-template",null,28,i.Gc),i.Fc(4,st,5,9,"ng-template",null,29,i.Gc),i.Fc(6,ut,2,5,"ng-container",30),i.Tb()),2&t){const t=e.$implicit,n=i.uc(3),r=i.uc(5);i.lc("ngClass",i.qc(5,ht,t.focus,t.active)),i.Cb(1),i.lc("ngIf",t.children)("ngIfThen",n)("ngIfElse",r),i.Cb(5),i.lc("ngIf",t.children)}}function pt(t,e){if(1&t&&(i.Ub(0,"ul",25),i.Fc(1,dt,7,8,"li",26),i.Tb()),2&t){const t=e.parent,n=e.items;i.Cc("max-height",t&&(t.focus?t.height+"px":0)),i.Cb(1),i.lc("ngForOf",n)}}function ft(t,e){if(1&t&&(i.Ub(0,"mat-radio-button",49),i.Hc(1),i.Tb()),2&t){const t=e.$implicit;i.lc("value",t.lang),i.Cb(1),i.Jc("",t.desc," ")}}const mt=function(t,e){return{"background-color":t,"border-color":e}},gt=function(t){return{"border-bottom-color":t}};function _t(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",50),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc(2).theme=n.theme}),i.Pb(1,"div",51),i.Tb()}if(2&t){const t=e.$implicit;i.lc("ngStyle",i.qc(2,mt,t.c1st,t.c1st)),i.Cb(1),i.lc("ngStyle",i.pc(5,gt,t.c2nd))}}function yt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"div",4),i.Ub(1,"div",11),i.Ub(2,"div"),i.Ub(3,"div",38),i.Ub(4,"input",39,40),i.bc("change",function(e){return i.wc(t),i.fc().profile(e)}),i.Tb(),i.Ub(6,"button",41),i.bc("click",function(){return i.wc(t),i.uc(5).click()}),i.Pb(7,"img",42),i.Tb(),i.Ub(8,"h3"),i.Hc(9),i.Tb(),i.Ub(10,"h4"),i.Hc(11),i.gc(12,"translate"),i.Tb(),i.Ub(13,"mat-radio-group",43),i.bc("ngModelChange",function(e){return i.wc(t),i.fc().language=e}),i.Fc(14,ft,2,2,"mat-radio-button",44),i.Tb(),i.Ub(15,"h4"),i.Hc(16),i.gc(17,"translate"),i.Tb(),i.Ub(18,"div",45),i.Fc(19,_t,2,7,"button",46),i.Tb(),i.Ub(20,"button",47),i.bc("click",function(){return i.wc(t),i.fc().password()}),i.Hc(21),i.gc(22,"translate"),i.Tb(),i.Ub(23,"button",48),i.bc("click",function(){return i.wc(t),i.fc().logout()}),i.Hc(24),i.gc(25,"translate"),i.Tb(),i.Tb(),i.Tb(),i.Tb(),i.Tb()}if(2&t){const t=i.fc();i.lc("hidden","start"==t.layout.sidenavpos),i.Cb(7),i.lc("src",t.account.avatar,i.yc),i.Cb(2),i.Ic(t.account.name),i.Cb(2),i.Ic(i.hc(12,10,"layouts.admin.language")),i.Cb(2),i.lc("ngModel",t.language),i.Cb(1),i.lc("ngForOf",t.languages),i.Cb(2),i.Ic(i.hc(17,12,"layouts.admin.theme")),i.Cb(3),i.lc("ngForOf",t.themes),i.Cb(2),i.Ic(i.hc(22,14,"layouts.admin.password.title")),i.Cb(3),i.Ic(i.hc(25,16,"layouts.admin.logout"))}}function bt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",24),i.bc("click",function(){i.wc(t);const e=i.fc();return e.layout.sidenavfold=!e.layout.sidenavfold}),i.gc(1,"translate"),i.Ub(2,"mat-icon"),i.Hc(3,"menu"),i.Tb(),i.Tb()}2&t&&i.mc("matTooltip",i.hc(1,1,"layouts.admin.folded"))}function vt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",52),i.bc("click",function(){i.wc(t);const e=i.fc(),n=i.uc(3);return e.layout.sidenavpos="start",n.toggle()}),i.Ub(1,"mat-icon"),i.Hc(2,"menu"),i.Tb(),i.Tb()}}function wt(t,e){1&t&&i.Qb(0)}function xt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",52),i.bc("click",function(){return i.wc(t),i.fc().messages.open()}),i.Ub(1,"mat-icon",53),i.Hc(2,"mail "),i.Tb(),i.Tb(),i.Ub(3,"button",52),i.bc("click",function(){i.wc(t);const e=i.fc(),n=i.uc(3);return e.layout.sidenavpos="end",n.toggle()}),i.Ub(4,"mat-icon"),i.Hc(5,"settings"),i.Tb(),i.Tb()}if(2&t){const t=i.fc();i.Cb(1),i.lc("matBadge",t.messages.count)("matBadgeHidden",0==t.messages.count)}}const Mt=function(t){return{lang:t}};function St(t,e){if(1&t&&(i.Ub(0,"span"),i.Hc(1),i.gc(2,"field"),i.gc(3,"find"),i.Tb()),2&t){const t=i.fc(2);i.Cb(1),i.Ic(i.ic(2,1,i.ic(3,4,t.languages,i.pc(7,Mt,t.language)),"desc"))}}function Ct(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",65),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc(2).language=n.lang}),i.Pb(1,"span",66),i.Ub(2,"span"),i.Hc(3),i.Tb(),i.Tb()}if(2&t){const t=e.$implicit;i.Cb(1),i.Cc("background-image","url(assets/images/"+t.lang+".svg)"),i.Cb(2),i.Ic(t.desc)}}function kt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",67),i.bc("click",function(){return i.wc(t),i.fc(2).layout.screenfull.toggle()}),i.gc(1,"translate"),i.Ub(2,"mat-icon"),i.Hc(3),i.Tb(),i.Tb()}if(2&t){const t=i.fc(2);i.mc("matTooltip",i.hc(1,2,t.layout.screenfull.isFullscreen?"layouts.admin.fullscreen_exit":"layouts.admin.fullscreen")),i.Cb(3),i.Jc("fullscreen",t.layout.screenfull.isFullscreen&&"_exit","")}}function Dt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",65),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc(2).theme=n.theme}),i.Ub(1,"div",68),i.Pb(2,"div",51),i.Tb(),i.Ub(3,"span"),i.Hc(4),i.gc(5,"translate"),i.Tb(),i.Tb()}if(2&t){const t=e.$implicit;i.Cb(1),i.lc("ngStyle",i.qc(5,mt,t.c1st,t.c1st)),i.Cb(1),i.lc("ngStyle",i.pc(8,gt,t.c2nd)),i.Cb(2),i.Ic(i.hc(5,3,t.desc))}}function Ot(t,e){if(1&t){const t=i.Vb();i.Sb(0),i.Ub(1,"button",69),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc(2).messages.open(n.id)}),i.Pb(2,"img",23),i.Ub(3,"div"),i.Ub(4,"p"),i.Hc(5),i.Tb(),i.Ub(6,"p",70),i.Hc(7),i.gc(8,"date"),i.Tb(),i.Tb(),i.Tb(),i.Pb(9,"mat-divider"),i.Rb()}if(2&t){const t=e.$implicit,n=i.fc(2);i.Cb(2),i.lc("src",t.source.avatar||n.avatar,i.yc),i.Cb(3),i.Ic(t.subject),i.Cb(2),i.Ic(i.ic(8,3,t.time,"M/d H:mm"))}}function Tt(t,e){1&t&&(i.Sb(0),i.Ub(1,"div",71),i.Hc(2),i.gc(3,"translate"),i.Tb(),i.Pb(4,"mat-divider"),i.Rb()),2&t&&(i.Cb(2),i.Jc("",i.hc(3,1,"layouts.admin.message.empty")," "))}function Lt(t,e){if(1&t&&(i.Ub(0,"span"),i.Hc(1),i.Tb()),2&t){const t=i.fc(2);i.Cb(1),i.Ic(t.account.name)}}function At(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",54),i.gc(1,"translate"),i.Ub(2,"mat-icon"),i.Hc(3,"language"),i.Tb(),i.Fc(4,St,4,9,"span",30),i.Tb(),i.Ub(5,"mat-menu",null,55),i.Fc(7,Ct,4,3,"button",56),i.Tb(),i.Fc(8,kt,4,4,"button",57),i.Ub(9,"button",54),i.gc(10,"translate"),i.Ub(11,"mat-icon"),i.Hc(12,"color_lens"),i.Tb(),i.Tb(),i.Ub(13,"mat-menu",null,58),i.Fc(15,Dt,6,10,"button",56),i.Tb(),i.Ub(16,"button",54),i.gc(17,"translate"),i.Ub(18,"mat-icon",53),i.Hc(19,"mail "),i.Tb(),i.Tb(),i.Ub(20,"mat-menu",59,60),i.Ub(22,"div",61),i.Ub(23,"span"),i.Hc(24),i.gc(25,"translate"),i.Tb(),i.Tb(),i.Fc(26,Ot,10,6,"ng-container",62),i.Fc(27,Tt,5,3,"ng-container",30),i.Ub(28,"div",63),i.bc("click",function(){return i.wc(t),i.fc().messages.open()}),i.Hc(29),i.gc(30,"translate"),i.Tb(),i.Tb(),i.Ub(31,"button",54),i.Fc(32,Lt,2,1,"span",30),i.Pb(33,"img",42),i.Tb(),i.Ub(34,"mat-menu",null,64),i.Ub(36,"input",39,40),i.bc("change",function(e){return i.wc(t),i.fc().profile(e)}),i.Tb(),i.Ub(38,"button",65),i.bc("click",function(){return i.wc(t),i.uc(37).click()}),i.Ub(39,"mat-icon"),i.Hc(40,"account_circle"),i.Tb(),i.Ub(41,"span"),i.Hc(42),i.gc(43,"translate"),i.Tb(),i.Tb(),i.Ub(44,"button",65),i.bc("click",function(){return i.wc(t),i.fc().password()}),i.Ub(45,"mat-icon"),i.Hc(46,"lock"),i.Tb(),i.Ub(47,"span"),i.Hc(48),i.gc(49,"translate"),i.Tb(),i.Tb(),i.Ub(50,"button",65),i.bc("click",function(){return i.wc(t),i.fc().logout()}),i.Ub(51,"mat-icon"),i.Hc(52,"exit_to_app"),i.Tb(),i.Ub(53,"span"),i.Hc(54),i.gc(55,"translate"),i.Tb(),i.Tb(),i.Tb()}if(2&t){const t=i.uc(6),e=i.uc(14),n=i.uc(21),r=i.uc(35),a=i.fc();i.mc("matTooltip",i.hc(1,24,"layouts.admin.language")),i.lc("matMenuTriggerFor",t),i.Cb(4),i.lc("ngIf","monitor"==a.layout.media),i.Cb(3),i.lc("ngForOf",a.languages),i.Cb(1),i.lc("ngIf","monitor"==a.layout.media&&a.layout.screenfull.isEnabled),i.Cb(1),i.mc("matTooltip",i.hc(10,26,"layouts.admin.theme")),i.lc("matMenuTriggerFor",e),i.Cb(6),i.lc("ngForOf",a.themes),i.Cb(1),i.mc("matTooltip",i.hc(17,28,"layouts.admin.message.tag")),i.lc("matMenuTriggerFor",n),i.Cb(2),i.lc("matBadge",a.messages.count)("matBadgeHidden",0==a.messages.count),i.Cb(4),i.lc("disableRipple",!0),i.Cb(2),i.Ic(i.hc(25,30,"layouts.admin.message.title")),i.Cb(2),i.lc("ngForOf",a.messages.list),i.Cb(1),i.lc("ngIf",0==a.messages.count),i.Cb(2),i.Jc(" ",i.hc(30,32,"layouts.admin.message.more"),""),i.Cb(2),i.lc("matMenuTriggerFor",r)("matTooltip",a.account.name),i.Cb(1),i.lc("ngIf","monitor"==a.layout.media),i.Cb(1),i.lc("src",a.account.avatar,i.yc),i.Cb(9),i.Ic(i.hc(43,34,"layouts.admin.profile")),i.Cb(6),i.Ic(i.hc(49,36,"layouts.admin.password.title")),i.Cb(6),i.Ic(i.hc(55,38,"layouts.admin.logout"))}}let It=(()=>{class t{constructor(t,e,n,i,r,a,o,s,l){this._dialogService=t,this._eventService=e,this._httpService=n,this._i18nService=i,this._mediaService=r,this._routerService=a,this._signalrService=o,this._themeService=s,this._toastService=l,this.layout={screenfull:E,react:t=>{switch(this.layout.sidenavpos="start",this.layout.media=t){case"mobile":this.layout.sidenavfold=!0,this.layout.sidenavopen=!1;break;case"tablet":this.layout.sidenavfold=!0,this.layout.sidenavopen=!0;break;case"monitor":this.layout.sidenavfold=!1,this.layout.sidenavopen=!0}}},this.avatar=b.defaultAvatar="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCABiAGIDASIAAhEBAxEB/8QAHAABAAMBAAMBAAAAAAAAAAAAAAcICQYCAwQF/8QANBAAAQMEAQIEBAQFBQAAAAAAAQACAwQFBhEHCCESIjFBE1FhcRQyQoEWUmKRkiMkk6Gi/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AI6REQEREBEUkYH07cw8jUrbhjWG1JoXgllVVObTxP0deV0hHi/bfogjdFNt46NufrRRyVv8JwVrYwCWUddFLIfs3YJI+ihy52u5WWultt3oKiiq4HFksE8Zjexw9i09wg+VERAREQEREBERAREQWk6OOna255NJyVm9C2pstBOYaCjkHkqqhui57x7sZ2GvQu9dgEG+McccMbYomNYxjQ1rWjQaB6AD2Cjzp1t9LbODcJp6RgaySzU9Q4D3fK34jz/k4qRkBQ71E9Plg5mxqeppqOGmymiiLrfXNAa6Qgb+DIf1Md6Df5T3HbYMxIgxsq6SpoKqahrIXw1FPI6KWN405j2khzSPmCCF6lKfVJb6W18/ZlS0kYZG6tZOQP55YY5H/wDp7lFiAiIgIiICIiAiIg0d6NOSaHNeI6LHHTNbdMWAoJ4ifMYR3hkA+Xh8v3Z9Qp7WSHG/JWVcVZRBleJV3wKmMeCWN3eKoiPrHI33adfcHRGiFeXj3re4myejjjy6afGbi1m5RPE6Wnc7+h7AT39dOA18ygsUvku91t1itdXebtVMpqKihfPPM86DGNGyf7BRPeOrrgK0UElczOWXBzB2p6OllfK/6AFoH9yAqi9QnVbkHMMb8ZsFPLZsYDwXwF+5qwg9jKR28O+4YO29b3oIIt5SzR/InId/zR0Rjbda180TCdlkQ8sYP2Y1oXLIiAiIgIiICIiAi99DQ1lzrIbfbqWWpqah4jihiaXPe4+gAHqrK8Z9Cue5PFBc88ucWNUcnmNMGfGrC0jY8u/Cw77HxHY16IKxotLMO6PeDMTib+Ixl1+qQG+Ke6ymXZA7n4Y0wAn28JUrW3EcUszfDaMZtVCPlT0cce/8QEGPqLYyqs9projBW2ukqI3DRZLA17SPlohcNlfTzwxmTHi88fWlsrozGJ6SH8NI0fMOj8Pcb99oMrEV1ORegGhkimruMMpkilA8TLfdfMx2h+VszRsbP8zT91VLPeNM24yuxs2aWCpt85G43ubuKYfNkg8rx2PofZBzCIiAiIgIiINCujvhCx4hglt5FuVHHUX+/U4qoZZGb/C0zxtgZv0c5p2XfI6Gtu3Y1Vg6PeoW05PjdBxZktVDSXmzU8dJbnPd4RWU7GhrGD28bQANe417gk2gQEREBERAXO53gOLckY7UYzltrirKScbaXNHjhf7SRkjyuB/b2IIJB6JclybyZi/FOL1OUZPWsjZG1wp6fxASVMuu0bB7knWz7eqDLrkzB6vjbPL1g9dL8WS01JiEutfEYQHMfr6sc0/uuZXS8k5zcuSs4u+cXZjGVN1mEhYz8rGta1jGj6BjWj3Pb1PquaQEREBERB7aWqqaKojq6Od8M0Lg+ORh05pHuCrdcH9cVRboYMb5gimq4mBscV5hHilA9P8AWZ+r224HfqSCVUBEGwGMZhi+aW1l3xS+0d0pHgO+JTyh3h2NgOHq0/QgFfsLHrHsnyLE69t0xm91trq2+k1LM6N376PdS9Yes3nux08VLJklJc2Rdt19EyR7h/U9vhcfvvaDSdeEssUEb5ppGxxxtLnPcdBoHqST6BZ31/XTzpWMDKd+P0JH6qe3Ek/8j3BRfmvNHKPIQkiy3NblXU8ri80vxPhwDfsI2abr6aQXl5g6xOOuO4qi2Y3PHk18a0tbFTSf7aJ+u3jlGwfUHTd7G+4KonyVynmnK9+ffswur6l/pBA3yw07PZjGjsB/2SSfcrkUQEREBERAREQEREBERAREQEREBERAREQf/9k=",this.account={name:"...",avatar:this.avatar},this.menu={},this.messages={open:t=>{this._routerService.navigate("/message",{id:t})}},this._alive=!0,this.init(),this.online(),this.message(),this.layout.react(this._mediaService.current),this._mediaService.onchange.subscribe(this.layout.react)}ngOnDestroy(){var t,e;this._alive=!1,null===(t=this._onlineHub)||void 0===t||t.stop(),null===(e=this._messageHub)||void 0===e||e.stop()}get settings(){return b}get languages(){return this._i18nService.items}get language(){return this._i18nService.current}set language(t){this._i18nService.current=t}get themes(){return this._themeService.items}get theme(){return this._themeService.current}set theme(t){this._themeService.current=t}init(){return Object(p.a)(this,void 0,void 0,function*(){const t=yield this._httpService.join(this._httpService.get("users/current"),this._httpService.get("users/current/routes")).catch();t&&(this.account.name=t[0].name,this.account.avatar=t[0].avatar||this.avatar,this.menu={items:this._routerService.init(t[1]),toggle:t=>this._routerService.focus(t)})})}online(){return Object(p.a)(this,void 0,void 0,function*(){this._alive&&(this._onlineHub=yield this._signalrService.connect("identity",{conflict:()=>Object(p.a)(this,void 0,void 0,function*(){this._onlineHub.stop(),yield this._dialogService.alert(this._i18nService.translate("shared.notification.conflict")),this._routerService.navigate("/auth/login")})}).catch(t=>{t&&setTimeout(()=>Object(p.a)(this,void 0,void 0,function*(){return yield this.online()}),5e3)}))})}message(){return Object(p.a)(this,void 0,void 0,function*(){const t=()=>Object(p.a)(this,void 0,void 0,function*(){const t=yield this._httpService.get("users/current/messages?flag=false&limit=5").catch();t&&(this.messages.count=t.total,this.messages.list=t.items)});t(),this._alive&&(this._messageHub=yield this._signalrService.connect("message",{notify:()=>Object(p.a)(this,void 0,void 0,function*(){yield t(),this.messages.count>0&&this._toastService.show(this._i18nService.translate("layouts.admin.message.notify"))})}).catch(t=>{t&&setTimeout(()=>Object(p.a)(this,void 0,void 0,function*(){return yield this.message()}),5e3)})),this._eventService.on("openMessage",t)})}profile(t){const e=new FileReader;t.path[0].files.length&&(e.readAsDataURL(t.path[0].files[0]),e.onload=()=>{this._dialogService.open(P,{width:"100vw",height:"100vh",maxWidth:"100vw",maxHeight:"100vh",restoreFocus:!1,data:e.result}).then(e=>{t.path[0].value=null,e&&(this.account.avatar=e)})})}password(){this._dialogService.open(T,{autoFocus:!1})}logout(){this._$progress.progressRef=null,this._httpService.delete("sessions",{reason:"Logout"}),this._routerService.navigate("/auth/login")}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(x.a),i.Ob(Y),i.Ob(_.a),i.Ob(g.a),i.Ob(j.a),i.Ob(M),i.Ob(y.a),i.Ob(N.a),i.Ob(S.a))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-admin"]],viewQuery:function(t,e){if(1&t&&i.Oc(K,!0),2&t){let t;i.tc(t=i.cc())&&(e._$progress=t.first)}},decls:36,vars:24,consts:[[1,"app-layout"],[1,"app-sidenav-container",3,"hasBackdrop"],[1,"app-sidenav",3,"position","mode","disableClose","opened"],["$sidenav",""],[1,"app-sidenav-wrap",3,"hidden"],[1,"app-header"],[1,"branding"],[3,"src",4,"ngIf","ngIfElse"],["$logo",""],[1,"spacer"],["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],[1,"app-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["$menu",""],["class","app-sidenav-wrap",3,"hidden",4,"ngIf"],[1,"app-sidenav-content"],[1,"app-sidenav-wrap"],["mat-icon-button","",3,"click",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["$collapse",""],["$expand",""],[3,"fixed","meteor","spinner","color"],["$progress",""],[3,"src"],["mat-icon-button","",3,"matTooltip","click"],[1,"app-menu"],["class","app-menu-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"app-menu-item",3,"ngClass"],["$group",""],["$item",""],[4,"ngIf"],["matRipple","","href","javascript:void(0);",3,"click"],["class","app-menu-icon",4,"ngIf"],[1,"app-menu-name"],["class","app-menu-caret",4,"ngIf"],[1,"app-menu-icon"],[1,"app-menu-caret"],["matRipple","",3,"routerLink","click"],[1,"app-setting"],["type","file","accept",".jpg,.jpeg,.png,.gif,.bmp,.tiff","hidden","true",3,"change"],["$avatar",""],[1,"avatar",3,"click"],[1,"avatar",3,"src"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"theme"],[3,"ngStyle","click",4,"ngFor","ngForOf"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","warn",3,"click"],[3,"value"],[3,"ngStyle","click"],[3,"ngStyle"],["mat-icon-button","",3,"click"],["matBadgeColor","warn",3,"matBadge","matBadgeHidden"],["mat-button","",3,"matMenuTriggerFor","matTooltip"],["$language","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-button","",3,"matTooltip","click",4,"ngIf"],["$theme","matMenu"],[1,"unlimited"],["$message","matMenu"],["mat-menu-item","",1,"mat-menu-item-header","app-background-focus",3,"disableRipple"],[4,"ngFor","ngForOf"],["mat-menu-item","",1,"mat-menu-item-footer",3,"click"],["$profile","matMenu"],["mat-menu-item","",3,"click"],[1,"mat-icon","flag"],["mat-button","",3,"matTooltip","click"],[1,"mat-icon","theme",3,"ngStyle"],["mat-menu-item","",1,"mat-menu-item-content",3,"click"],[1,"app-foreground-secondary"],["mat-menu-item","","disabled","",1,"mat-menu-item-empty"]],template:function(t,e){if(1&t&&(i.Ub(0,"div",0),i.Ub(1,"mat-sidenav-container",1),i.Ub(2,"mat-sidenav",2,3),i.Ub(4,"div",4),i.Ub(5,"mat-toolbar",5),i.Ub(6,"div",6),i.Fc(7,J,1,1,"img",7),i.Fc(8,$,2,1,"ng-template",null,8,i.Gc),i.Ub(10,"span"),i.Hc(11),i.gc(12,"translate"),i.Tb(),i.Tb(),i.Pb(13,"div",9),i.Fc(14,Q,4,3,"button",10),i.Tb(),i.Ub(15,"div",11),i.Ub(16,"div"),i.Fc(17,tt,1,0,"ng-container",12),i.Fc(18,pt,2,3,"ng-template",null,13,i.Gc),i.Tb(),i.Tb(),i.Tb(),i.Fc(20,yt,26,18,"div",14),i.Tb(),i.Ub(21,"mat-sidenav-content",15),i.Ub(22,"div",16),i.Ub(23,"mat-toolbar",5),i.Fc(24,bt,4,3,"button",10),i.Fc(25,vt,3,0,"button",17),i.Pb(26,"div",9),i.Fc(27,wt,1,0,"ng-container",18),i.Fc(28,xt,6,2,"ng-template",null,19,i.Gc),i.Fc(30,At,56,40,"ng-template",null,20,i.Gc),i.Tb(),i.Ub(32,"div",11),i.Pb(33,"ng-progress",21,22),i.Pb(35,"router-outlet"),i.Tb(),i.Tb(),i.Tb(),i.Tb(),i.Tb()),2&t){const t=i.uc(9),n=i.uc(19),r=i.uc(29),a=i.uc(31);i.Cb(1),i.lc("hasBackdrop","mobile"==e.layout.media),i.Cb(1),i.lc("position",e.layout.sidenavpos)("mode",e.layout.sidenavfold?"over":"side")("disableClose","mobile"!=e.layout.media)("opened",e.layout.sidenavopen||"mobile"!=e.layout.media),i.Cb(2),i.lc("hidden","end"==e.layout.sidenavpos),i.Cb(3),i.lc("ngIf",e.settings.appLogoAssets)("ngIfElse",t),i.Cb(4),i.Ic(i.hc(12,22,e.settings.appName)),i.Cb(3),i.lc("ngIf","monitor"==e.layout.media&&e.layout.sidenavfold),i.Cb(3),i.lc("ngTemplateOutlet",n)("ngTemplateOutletContext",e.menu),i.Cb(3),i.lc("ngIf","mobile"==e.layout.media),i.Cb(4),i.lc("ngIf",!e.layout.sidenavfold),i.Cb(1),i.lc("ngIf","mobile"==e.layout.media),i.Cb(2),i.lc("ngIf","mobile"==e.layout.media)("ngIfThen",r)("ngIfElse",a),i.Cb(6),i.lc("fixed",!1)("meteor",!1)("spinner",!1)("color",null)}},directives:[F.b,F.a,V.a,c.n,c.s,F.c,H.b,d.i,I.a,O.a,z.c,c.m,c.l,B.t,d.g,W.c,w.n,w.q,W.b,c.o,U.a,G.e,G.a,G.c,q.a],pipes:[s.d,X.a,Z.a,c.e],styles:[".app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%]{position:relative;height:55px;border-bottom:1px solid}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%]{display:flex;flex-shrink:0;width:199px;height:55px;margin:0 -16px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] ~ .mat-icon-button[_ngcontent-%COMP%]{margin-right:-8px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:55px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{width:55px;height:55px;line-height:55px;text-align:center;font-size:24px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .branding[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{line-height:55px;font-size:18px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{height:55px;margin:0;border-radius:0;min-width:55px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]:last-of-type{margin-right:-16px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + .avatar[_ngcontent-%COMP%], .app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] + .mat-icon[_ngcontent-%COMP%]{margin-left:8px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{width:38.5px;height:38.5px;border-radius:50%}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{margin:0 4px}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:first-of-type{margin-left:0}.app-layout[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:last-of-type{margin-right:0}.app-layout[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{position:relative;width:100%;height:calc(100% - 55px)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%]{width:255px;box-shadow:0 55px 3px rgba(0,0,0,.2)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{overflow:hidden}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:272px;height:100%;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]::-webkit-scrollbar:vertical{width:17px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%]{width:255px;margin:0;padding:0;list-style:none}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%]{display:block;height:auto;padding:0}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;height:48px;padding:0 16px;line-height:18px;text-decoration:none;-webkit-box-align:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 0%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-left:2px;margin-right:20px;font-size:18px;line-height:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-name[_ngcontent-%COMP%]{margin-right:5px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-caret[_ngcontent-%COMP%]{display:block;text-align:center;transition:transform .2s cubic-bezier(.4,0,.2,1)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%]{margin-left:-20px;overflow:hidden;opacity:0;transition:all .2s cubic-bezier(.4,0,.2,1)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item.focus[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .app-menu-caret[_ngcontent-%COMP%]{transform:rotate(90deg)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{margin-left:0;opacity:1}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:8px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{width:102px;height:102px;padding:0;background:none;border:none;border-radius:50%;align-self:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%;height:100%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%] + h3[_ngcontent-%COMP%]{align-self:center}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .mat-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;margin-bottom:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .mat-radio-group[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%]{margin-bottom:8px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%]{margin-bottom:16px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:36px;height:36px;padding:0;border:1px solid;overflow:hidden;cursor:pointer}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav[_ngcontent-%COMP%] .app-setting[_ngcontent-%COMP%] .theme[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;padding:0;border-bottom:35px solid;border-left:35px solid transparent}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-content[_ngcontent-%COMP%] .app-header[_ngcontent-%COMP%]{box-shadow:0 0 3px rgba(0,0,0,.2)}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%] .app-sidenav-content[_ngcontent-%COMP%] .app-body[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]{width:55px;transition:width .3s cubic-bezier(.25,.8,.25,1);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{display:none}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover, .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover{width:255px}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%]:hover .app-menu[_ngcontent-%COMP%] > .app-menu-item.focus[_ngcontent-%COMP%] > .app-menu[_ngcontent-%COMP%]{display:block}.media-monitor [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] ~ .app-sidenav-content[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%], .media-tablet [_nghost-%COMP%] .app-layout[_ngcontent-%COMP%] .app-sidenav.mat-drawer-over[_ngcontent-%COMP%] ~ .app-sidenav-content[_ngcontent-%COMP%] .app-sidenav-wrap[_ngcontent-%COMP%]{width:calc(100% - 55px);margin-left:55px}.mat-icon.flag[_ngcontent-%COMP%]{background-position:0}.mat-icon.theme[_ngcontent-%COMP%]{width:24px;height:24px;padding:0;border:1px solid;overflow:hidden}.mat-icon.theme[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;padding:0;border-bottom:23px solid;border-left:23px solid transparent}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%]{display:flex;margin-top:-8px;min-width:360px;flex-direction:row;align-items:center;cursor:default}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child{flex:auto}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{margin-right:-8px}.mat-menu-item.mat-menu-item-header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:0}.mat-menu-item.mat-menu-item-footer[_ngcontent-%COMP%]{margin-bottom:-8px}.mat-menu-item.mat-menu-item-empty[_ngcontent-%COMP%]{height:96px;text-align:center;line-height:96px}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%]{display:flex;height:64px;align-items:center}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:36px;height:36px;margin-right:16px;border-radius:50%}.mat-menu-item.mat-menu-item-content[_ngcontent-%COMP%] > img[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;line-height:1.5}"],data:{animation:[Object(f.m)("expand",[Object(f.j)("collapsed",Object(f.k)({height:"0",maxHeight:"0"})),Object(f.j)("expanded",Object(f.k)({height:"*",maxHeight:"unset"})),Object(f.l)("expanded <=> collapsed",Object(f.e)("200ms cubic-bezier(.4, 0, .2, 1)"))])]}}),t})(),Pt=(()=>{class t{constructor(t){this._httpService=t}canActivate(t,e){return t.component==It&&"/"!=e.url||new Promise(t=>{this._httpService.get("users/current/routes/"+encodeURIComponent(e.url).toLowerCase()).then(()=>t(!0),()=>t(!1))})}canActivateChild(t,e){return!(t.component&&!t.data.anymouse)||this.canActivate(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(_.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Et=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[h.a]]}),t})(),Rt=(()=>{class t{constructor(t){this._themeService=t}get theme(){return this._themeService.current}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(N.a))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-auth"]],decls:2,vars:1,consts:[[1,"app-layout",3,"ngClass"]],template:function(t,e){1&t&&(i.Ub(0,"div",0),i.Pb(1,"router-outlet"),i.Tb()),2&t&&i.lc("ngClass","theme-"+e.theme)},directives:[c.l,d.i],styles:[".app-layout[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.app-layout[_ngcontent-%COMP%] .app-sidenav-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}"]}),t})();var Yt=n("0EQZ"),jt=n("iadO"),Nt=n("1dzw"),Ft=n("d3UM"),Vt=n("qUOr"),Ht=n("+0xr"),zt=n("M9IT"),Bt=n("bSwM");function Wt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"div",2),i.Ub(1,"div",3),i.Ub(2,"mat-toolbar",4),i.Ub(3,"button",5),i.bc("click",function(){return i.wc(t),i.fc().exit()}),i.gc(4,"translate"),i.Ub(5,"mat-icon"),i.Hc(6,"arrow_back"),i.Tb(),i.Tb(),i.Ub(7,"h2",6),i.Hc(8),i.Tb(),i.Ub(9,"button",5),i.bc("click",function(){i.wc(t);const e=i.fc();return e.mark(!1,e.detail.id)}),i.gc(10,"translate"),i.gc(11,"lowercase"),i.gc(12,"translate"),i.Ub(13,"mat-icon"),i.Hc(14,"mail"),i.Tb(),i.Tb(),i.Ub(15,"button",5),i.bc("click",function(){i.wc(t);const e=i.fc();return e.delete(e.detail.id)}),i.gc(16,"translate"),i.Ub(17,"mat-icon"),i.Hc(18,"delete"),i.Tb(),i.Tb(),i.Tb(),i.Pb(19,"mat-divider"),i.Ub(20,"div",7),i.Pb(21,"img",8),i.Ub(22,"div"),i.Ub(23,"p"),i.Hc(24),i.Tb(),i.Ub(25,"p",9),i.Hc(26),i.gc(27,"date"),i.Tb(),i.Tb(),i.Tb(),i.Tb(),i.Ub(28,"div",10),i.Ub(29,"p",11),i.Hc(30),i.Tb(),i.Tb(),i.Tb()}if(2&t){const t=i.fc();i.Cb(3),i.mc("matTooltip",i.hc(4,9,"shared.operation.back")),i.Cb(5),i.Ic(t.detail.subject),i.Cb(1),i.nc("matTooltip","",i.hc(10,11,"layouts.admin.message.markas"),"",i.hc(11,13,i.hc(12,15,"layouts.admin.message.unread")),""),i.Cb(6),i.mc("matTooltip",i.hc(16,17,"shared.operation.delete")),i.Cb(6),i.lc("src",t.detail.source.avatar,i.yc),i.Cb(3),i.Ic(t.detail.source.name),i.Cb(2),i.Ic(i.ic(27,19,t.detail.time,"yyyy-MM-dd HH:mm")),i.Cb(4),i.Ic(t.detail.content)}}function Ut(t,e){if(1&t&&(i.Ub(0,"mat-option",43),i.Hc(1),i.gc(2,"translate"),i.Tb()),2&t){const t=e.$implicit;i.lc("value",t.id),i.Cb(1),i.Ic(i.hc(2,2,t.name))}}const Gt=function(t){return{len:t}};function qt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"mat-toolbar",44),i.Ub(1,"span",45),i.Hc(2),i.gc(3,"translate"),i.Tb(),i.Ub(4,"button",5),i.bc("click",function(){return i.wc(t),i.fc(2).mark(!0)}),i.gc(5,"translate"),i.gc(6,"lowercase"),i.gc(7,"translate"),i.Ub(8,"mat-icon"),i.Hc(9,"drafts"),i.Tb(),i.Tb(),i.Ub(10,"button",5),i.bc("click",function(){return i.wc(t),i.fc(2).mark(!1)}),i.gc(11,"translate"),i.gc(12,"lowercase"),i.gc(13,"translate"),i.Ub(14,"mat-icon"),i.Hc(15,"mail"),i.Tb(),i.Tb(),i.Ub(16,"button",5),i.bc("click",function(){return i.wc(t),i.fc(2).delete()}),i.gc(17,"translate"),i.Ub(18,"mat-icon"),i.Hc(19,"delete"),i.Tb(),i.Tb(),i.Tb()}if(2&t){const t=i.fc(2);i.Cb(2),i.Ic(i.ic(3,6,"shared.data.selected",i.pc(23,Gt,t.list.selection.selected.length))),i.Cb(2),i.nc("matTooltip","",i.hc(5,9,"layouts.admin.message.markas"),"",i.hc(6,11,i.hc(7,13,"layouts.admin.message.read")),""),i.Cb(6),i.nc("matTooltip","",i.hc(11,15,"layouts.admin.message.markas"),"",i.hc(12,17,i.hc(13,19,"layouts.admin.message.unread")),""),i.Cb(6),i.mc("matTooltip",i.hc(17,21,"shared.operation.deletes"))}}const Xt=function(t){return{"app-foreground-primary":t}};function Zt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"mat-toolbar",4),i.Ub(1,"button",46),i.bc("click",function(){return i.wc(t),i.fc(2).refresh()}),i.Hc(2),i.gc(3,"uppercase"),i.gc(4,"translate"),i.Tb(),i.Pb(5,"span",47),i.Ub(6,"button",48),i.bc("click",function(){i.wc(t);const e=i.fc(2);return e.list.colorful=!e.list.colorful}),i.gc(7,"translate"),i.Ub(8,"mat-icon"),i.Hc(9,"brush"),i.Tb(),i.Tb(),i.Ub(10,"button",5),i.bc("click",function(){return i.wc(t),i.fc(),i.uc(2).toggle()}),i.gc(11,"translate"),i.Ub(12,"mat-icon"),i.Hc(13,"filter_list"),i.Tb(),i.Tb(),i.Tb(),i.Pb(14,"mat-divider")}if(2&t){const t=i.fc(2);i.Cb(2),i.Ic(i.hc(3,4,i.hc(4,6,"layouts.admin.message.receive"))),i.Cb(4),i.mc("matTooltip",i.hc(7,8,"shared.operation.dyeing")),i.lc("ngClass",i.pc(12,Xt,t.list.colorful)),i.Cb(4),i.mc("matTooltip",i.hc(11,10,"shared.operation.filter"))}}function Kt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"th",49),i.Ub(1,"mat-checkbox",50),i.bc("change",function(e){return i.wc(t),i.fc(2).select(e)}),i.Tb(),i.Tb()}if(2&t){const t=i.fc(2);i.Cb(1),i.lc("checked",t.list.selection.hasValue()&&t.list.selection.selected.length==t.list.rows.length)("indeterminate",t.list.selection.hasValue()&&t.list.selection.selected.length!=t.list.rows.length)}}function Jt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"td",51),i.Ub(1,"mat-checkbox",52),i.bc("change",function(n){i.wc(t);const r=e.$implicit,a=i.fc(2);return n?a.list.selection.toggle(r):null}),i.Tb(),i.Tb()}if(2&t){const t=e.$implicit,n=i.fc(2);i.Cb(1),i.lc("checked",n.list.selection.isSelected(t))}}function $t(t,e){1&t&&(i.Ub(0,"th",49),i.Hc(1),i.gc(2,"translate"),i.Tb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"layouts.admin.message.subject")))}function Qt(t,e){if(1&t){const t=i.Vb();i.Ub(0,"td",51),i.Ub(1,"a",53),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc(2).read(n.id)}),i.Hc(2),i.Tb(),i.Tb()}if(2&t){const t=e.$implicit;i.Gb("bold",!t.flag),i.Cb(2),i.Ic(t.subject)}}function te(t,e){1&t&&(i.Ub(0,"th",49),i.Hc(1),i.gc(2,"translate"),i.Tb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"layouts.admin.message.time")))}function ee(t,e){if(1&t&&(i.Ub(0,"td",51),i.Hc(1),i.gc(2,"date"),i.Tb()),2&t){const t=e.$implicit;i.Cb(1),i.Jc(" ",i.ic(2,1,t.time,"yyyy-MM-dd HH:mm")," ")}}function ne(t,e){1&t&&(i.Ub(0,"th",49),i.Hc(1),i.gc(2,"translate"),i.Tb()),2&t&&(i.Cb(1),i.Ic(i.hc(2,1,"layouts.admin.message.source")))}function ie(t,e){if(1&t&&(i.Ub(0,"td",51),i.Hc(1),i.Tb()),2&t){const t=e.$implicit;i.Cb(1),i.Jc(" ",t.source.name," ")}}function re(t,e){1&t&&i.Pb(0,"tr",54)}const ae=function(t){return{"app-background-accent-lighter":t}};function oe(t,e){if(1&t&&i.Pb(0,"tr",55),2&t){const t=e.$implicit,n=i.fc(2);i.lc("ngClass",i.pc(1,ae,n.list.colorful&&!t.flag))}}function se(t,e){if(1&t&&(i.Ub(0,"tr",56),i.Ub(1,"td",57),i.Hc(2),i.gc(3,"translate"),i.Tb(),i.Tb()),2&t){const t=i.fc(2);i.lc("hidden",t.list.loading),i.Cb(1),i.Db("colspan",t.list.columns.length),i.Cb(1),i.Jc("",i.hc(3,3,"shared.data.empty")," ")}}const le=function(){return{id:!1,name:"layouts.admin.message.unread"}},ce=function(){return{id:!0,name:"layouts.admin.message.read"}},ue=function(t,e){return[t,e]};function he(t,e){if(1&t){const t=i.Vb();i.Ub(0,"mat-sidenav-container",12),i.Ub(1,"mat-sidenav",13,14),i.Ub(3,"form",15),i.Ub(4,"mat-form-field"),i.Ub(5,"mat-label"),i.Hc(6),i.gc(7,"translate"),i.Tb(),i.Pb(8,"input",16),i.Tb(),i.Ub(9,"mat-form-field"),i.Ub(10,"mat-label"),i.Hc(11),i.gc(12,"translate"),i.Tb(),i.Pb(13,"input",17),i.Tb(),i.Ub(14,"mat-form-field"),i.Ub(15,"mat-label"),i.Hc(16),i.gc(17,"translate"),i.Tb(),i.Ub(18,"mat-date-range-input",18),i.Ub(19,"input",19),i.bc("focus",function(){return i.wc(t),i.uc(23).open()}),i.Tb(),i.Ub(20,"input",20),i.bc("focus",function(){return i.wc(t),i.uc(23).open()}),i.Tb(),i.Tb(),i.Pb(21,"mat-datepicker-toggle",21),i.Pb(22,"mat-date-range-picker",null,22),i.Tb(),i.Ub(24,"mat-form-field"),i.Ub(25,"mat-label"),i.Hc(26),i.gc(27,"translate"),i.Tb(),i.Ub(28,"mat-select",23),i.Fc(29,Ut,3,4,"mat-option",24),i.Tb(),i.Tb(),i.Tb(),i.Ub(30,"button",25),i.bc("click",function(){i.wc(t);const e=i.uc(2);return i.fc().search(),e.toggle()}),i.Hc(31),i.gc(32,"uppercase"),i.gc(33,"translate"),i.Tb(),i.Ub(34,"button",26),i.bc("click",function(){i.wc(t);const e=i.uc(2);return i.fc().reset(),e.toggle()}),i.Hc(35),i.gc(36,"uppercase"),i.gc(37,"translate"),i.Tb(),i.Tb(),i.Ub(38,"mat-sidenav-content",27),i.Ub(39,"div",3),i.Fc(40,qt,20,25,"mat-toolbar",28),i.Fc(41,Zt,15,14,"ng-template",null,29,i.Gc),i.Tb(),i.Ub(43,"div",30),i.Ub(44,"table",31),i.Sb(45,32),i.Fc(46,Kt,2,2,"th",33),i.Fc(47,Jt,2,1,"td",34),i.Rb(),i.Sb(48,35),i.Fc(49,$t,3,3,"th",33),i.Fc(50,Qt,3,3,"td",36),i.Rb(),i.Sb(51,37),i.Fc(52,te,3,3,"th",33),i.Fc(53,ee,3,4,"td",34),i.Rb(),i.Sb(54,38),i.Fc(55,ne,3,3,"th",33),i.Fc(56,ie,2,1,"td",34),i.Rb(),i.Fc(57,re,1,0,"tr",39),i.Fc(58,oe,1,3,"tr",40),i.Fc(59,se,4,5,"tr",41),i.Tb(),i.Tb(),i.Ub(60,"div",3),i.Pb(61,"mat-divider"),i.Ub(62,"mat-paginator",42),i.bc("page",function(e){return i.wc(t),i.fc().refresh(e)}),i.Tb(),i.Tb(),i.Tb(),i.Tb()}if(2&t){const t=i.uc(23),e=i.uc(42),n=i.fc();i.Cb(3),i.lc("formGroup",n.list.filter.form),i.Cb(3),i.Ic(i.hc(7,20,"layouts.admin.message.subject")),i.Cb(5),i.Ic(i.hc(12,22,"layouts.admin.message.source")),i.Cb(5),i.Ic(i.hc(17,24,"layouts.admin.message.time")),i.Cb(2),i.lc("rangePicker",t),i.Cb(3),i.lc("for",t),i.Cb(5),i.Ic(i.hc(27,26,"layouts.admin.message.flag")),i.Cb(3),i.lc("ngForOf",i.qc(38,ue,i.oc(36,le),i.oc(37,ce))),i.Cb(2),i.Ic(i.hc(32,28,i.hc(33,30,"shared.operation.filter"))),i.Cb(4),i.Ic(i.hc(36,32,i.hc(37,34,"shared.operation.reset"))),i.Cb(3),i.lc("loading",n.list.loading),i.Cb(2),i.lc("ngIf",n.list.selection.hasValue())("ngIfElse",e),i.Cb(4),i.lc("dataSource",n.list.rows),i.Cb(13),i.lc("matHeaderRowDef",n.list.columns)("matHeaderRowDefSticky",!0),i.Cb(1),i.lc("matRowDefColumns",n.list.columns),i.Cb(4),i.lc("length",n.list.total)("pageIndex",n.list.pageIndex)("pageSize",n.list.pageSize)}}let de=(()=>{class t{constructor(t,e,n,i,r,a,o,s){this._activatedRoute=t,this._formBuilder=e,this._eventService=n,this._dialogService=i,this._httpService=r,this._i18nService=a,this._routerService=o,this._toastService=s,this.detail={id:null,subject:null,time:null,content:null,source:{name:null,avatar:null}},this.list={loading:!0,colorful:!1,columns:["select","subject","time","source"],rows:[],total:0,selection:new Yt.c(!0,[]),pageIndex:0,pageSize:30,filter:{query:"",form:this._formBuilder.group({subject:"",source:"",start:"",end:"",flag:""})}},this._activatedRoute.queryParams.subscribe(t=>Object(p.a)(this,void 0,void 0,function*(){var e,n;this.view=null,t.id&&(this.detail=yield this._httpService.get("users/current/messages/"+t.id),this.detail?(this.view="detail",null!==(e=(n=this.detail.source).avatar)&&void 0!==e||(n.avatar=b.defaultAvatar),0==this.detail.flag&&(yield this._httpService.post("users/current/messages/batch",{method:"update",data:[{id:t.id,flag:!0}]}))):(yield this._dialogService.alert(this._i18nService.translate("layouts.admin.message.exception")),this._routerService.navigate("/message"))),null==this.view&&(this.view="list",this.refresh()),this._eventService.emit("openMessage")}))}select(t){t&&(this.list.selection.selected.length==this.list.rows.length?this.list.selection.clear():this.list.rows.forEach(t=>this.list.selection.select(t)))}refresh(t){return Object(p.a)(this,void 0,void 0,function*(){t&&void 0!==t.pageIndex&&(this.list.pageIndex=t.pageIndex,this.list.pageSize=t.pageSize);let e=null,n=-1;for(;this.list.pageIndex>n;)n>-1&&(this.list.pageIndex=n),e=yield this._httpService.get(`users/current/messages?${this.list.filter.query}offset=${this.list.pageSize*this.list.pageIndex}&limit=${this.list.pageSize}`),n=e?Math.max(0,Math.ceil(e.total/this.list.pageSize)-1):Number.MAX_VALUE;this.list.loading=!1,e&&(this.list.total=e.total,this.list.rows=e.items,this.list.selection.clear())})}search(){let t="";for(const e in this.list.filter.form.controls){const n=this.list.filter.form.controls[e].value;(null==n?void 0:n.format)?t+=`${e}=${n.format("yyyy-MM-DD")}&`:(null==n?void 0:n.toString().length)&&(t+=`${e}=${n}&`)}this.list.filter.query=t,this.list.pageIndex=0,this.refresh(),this._eventService.emit("openMessage")}reset(){for(const t in this.list.filter.form.controls)this.list.filter.form.controls[t].reset("");this.list.filter.query="",this.list.pageIndex=0,this.refresh()}mark(t,e){return Object(p.a)(this,void 0,void 0,function*(){void 0!==(yield this._httpService.post("users/current/messages/batch",{method:"update",data:e?[{id:e,flag:t}]:this.list.selection.selected.map(e=>({id:e.id,flag:t}))}))&&(this._toastService.show(this._i18nService.translate("shared.notification.success")),this.refresh(),this._eventService.emit("openMessage"))})}delete(t){return Object(p.a)(this,void 0,void 0,function*(){(yield this._dialogService.confirm(this._i18nService.translate("shared.notification.confirm")))&&void 0!==(yield this._httpService.post("users/current/messages/batch",{method:"delete",data:t?[{id:t}]:this.list.selection.selected.map(t=>({id:t.id}))}))&&(this._toastService.show(this._i18nService.translate("shared.notification.success")),t?this._routerService.navigate("/message"):this.refresh())})}read(t){this._routerService.navigate("/message",{id:t})}exit(){this._routerService.navigate("/message")}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(d.a),i.Ob(w.d),i.Ob(Y),i.Ob(x.a),i.Ob(_.a),i.Ob(g.a),i.Ob(M),i.Ob(S.a))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-message"]],decls:2,vars:2,consts:[["class","grid",4,"ngIf"],["hasBackdrop","true",4,"ngIf"],[1,"grid"],[1,"row-auto"],[1,"app-background-card"],["mat-icon-button","",3,"matTooltip","click"],[1,"spacer","header"],[1,"source"],[3,"src"],[1,"app-foreground-secondary"],[1,"row-fill","app-background-card"],[2,"margin","24px"],["hasBackdrop","true"],["mode","over","position","end","autoFocus","false"],["$filter",""],["autocomplete","off",3,"formGroup"],["matInput","","formControlName","subject"],["matInput","","formControlName","source"],[3,"rangePicker"],["matStartDate","","readonly","","formControlName","start",3,"focus"],["matEndDate","","readonly","","formControlName","end",3,"focus"],["matSuffix","",3,"for"],["$picker",""],["formControlName","flag"],[3,"value",4,"ngFor","ngForOf"],["mat-flat-button","","color","primary",3,"click"],["mat-stroked-button","",3,"click"],[1,"grid",3,"loading"],["class","app-background-primary-lighter",4,"ngIf","ngIfElse"],["$toolbar",""],[1,"row-fill"],["mat-table","",3,"dataSource"],["matColumnDef","select","sticky",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","subject"],["mat-cell","",3,"bold",4,"matCellDef"],["matColumnDef","time"],["matColumnDef","source"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["class","mat-row",3,"hidden",4,"matNoDataRow"],[3,"length","pageIndex","pageSize","page"],[3,"value"],[1,"app-background-primary-lighter"],[1,"spacer","app-foreground-primary"],["mat-button","","color","primary",3,"click"],[1,"spacer"],["mat-icon-button","",3,"matTooltip","ngClass","click"],["mat-header-cell",""],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"checked","change"],[3,"click"],["mat-header-row",""],["mat-row","",3,"ngClass"],[1,"mat-row",3,"hidden"],[1,"mat-cell","no-data"]],template:function(t,e){1&t&&(i.Fc(0,Wt,31,22,"div",0),i.Fc(1,he,63,41,"mat-sidenav-container",1)),2&t&&(i.lc("ngIf","detail"==e.view),i.Cb(1),i.lc("ngIf","list"==e.view))},directives:[c.n,V.a,O.a,z.c,I.a,q.a,F.b,F.a,w.v,w.o,w.g,k.b,k.e,D.b,w.c,w.n,w.f,jt.d,jt.l,Nt.a,jt.k,jt.j,k.f,jt.e,Ft.a,c.m,F.c,Vt.a,Ht.k,Ht.c,Ht.e,Ht.b,Ht.g,Ht.j,Ht.h,zt.b,B.o,c.l,Ht.d,Bt.b,Ht.a,Ht.f,Ht.i],pipes:[s.d,c.k,c.e,c.v],styles:[".mat-sidenav-container[_ngcontent-%COMP%]{height:100%}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%]{padding:20px;width:280px}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]:last-child{margin-bottom:8px}.mat-sidenav-container[_ngcontent-%COMP%] .mat-sidenav[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{margin-top:8px;width:100%}.grid[_ngcontent-%COMP%]{display:flex;position:relative;height:100%;flex-direction:column}.grid[_ngcontent-%COMP%] > .row-fill[_ngcontent-%COMP%]{flex:1 1 auto;overflow:auto}.grid[_ngcontent-%COMP%] > .row-auto[_ngcontent-%COMP%]{flex:0 0 auto}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] + .mat-divider[_ngcontent-%COMP%]{margin-top:-1px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{margin-left:0}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child.mat-button{margin-left:-8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-left:8px}.grid[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%]{width:100%}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-right:56px;white-space:nowrap}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-right:24px;width:16px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2), .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2){width:100%}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2):not(th), .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2):not(th){opacity:.7}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2).bold, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2).bold{font-weight:700;opacity:1}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{padding-right:24px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td.no-data[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th.no-data[_ngcontent-%COMP%]{position:absolute;width:100%;height:48px;padding:0;text-align:center;line-height:48px}.grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .grid[_ngcontent-%COMP%] .mat-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}.grid[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-left:24px;margin-right:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.grid[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]:first-child{margin-left:8px}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%]{display:flex;margin:16px 24px;flex-direction:row;align-items:center}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{height:40px;width:40px;border-radius:50%;flex-shrink:0;-o-object-fit:cover;object-fit:cover}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 16px}.grid[_ngcontent-%COMP%] .source[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{box-shadow:none}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%]{align-items:center}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{flex:1 0 auto;text-align:right}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text{overflow:hidden}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>*{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>.mat-card-subtitle{margin-bottom:0}.grid[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-header[_ngcontent-%COMP%] >.mat-card-header-text>.mat-card-subtitle span{margin-right:10px}"]}),t})();var pe=n("Wp6s");const fe=["$form"];function me(t,e){if(1&t){const t=i.Vb();i.Ub(0,"button",9),i.bc("click",function(){i.wc(t);const n=e.$implicit;return i.fc().language=n.lang}),i.Pb(1,"span",10),i.Ub(2,"span"),i.Hc(3),i.Tb(),i.Tb()}if(2&t){const t=e.$implicit;i.Cb(1),i.Cc("background-image","url(assets/images/"+t.lang+".svg)"),i.Cb(2),i.Ic(t.desc)}}const ge=["$form"],_e=["$form"],ye=[{path:"",component:It,canActivate:[Pt],canActivateChild:[Pt],children:[{path:"message",component:de,data:{anymouse:!0}},{path:"basic",loadChildren:()=>Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"AVcX")).then(t=>t.BasicModule)},{path:"visual",loadChildren:()=>Promise.all([n.e(1),n.e(8)]).then(n.bind(null,"xiNy")).then(t=>t.VisualModule)},{path:"material",loadChildren:()=>Promise.all([n.e(0),n.e(1),n.e(11)]).then(n.bind(null,"Yqpq")).then(t=>t.MaterialModule)},{path:"stock",loadChildren:()=>Promise.all([n.e(0),n.e(1),n.e(13)]).then(n.bind(null,"f6D1")).then(t=>t.StockModule)},{path:"task",loadChildren:()=>Promise.all([n.e(0),n.e(1),n.e(14)]).then(n.bind(null,"nEup")).then(t=>t.TaskModule)},{path:"order",loadChildren:()=>Promise.all([n.e(0),n.e(1),n.e(9)]).then(n.bind(null,"oMdE")).then(t=>t.OrderModule)},{path:"query",loadChildren:()=>Promise.all([n.e(0),n.e(1),n.e(12)]).then(n.bind(null,"QfSI")).then(t=>t.QueryModule)},{path:"wcs",loadChildren:()=>Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"POZe")).then(t=>t.WcsModule)}]},{path:"auth",component:Rt,children:[{path:"login",component:(()=>{class t{constructor(t,e,n,i,r,a){this._renderer=t,this._formBuilder=e,this._dialogService=n,this._httpService=i,this._i18nService=r,this._routerService=a,this._form=this._formBuilder.group({account:["",[w.u.required]],password:["",[w.u.required]]})}ngOnInit(){localStorage.removeItem("token")}ngAfterViewInit(){this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(t=>{this._renderer.addClass(t,"app-background-card"),this._renderer.setStyle(t,"border-radius","5px")})}get settings(){return b}get languages(){return this._i18nService.items}get loading(){return this._loading}get form(){return this._form}get language(){return this._i18nService.current}set language(t){this._i18nService.current=t}login(){return Object(p.a)(this,void 0,void 0,function*(){this._loading=!0;const t=yield this._httpService.post("sessions",{account:this._form.controls.account.value,password:this._form.controls.password.value}).catch(t=>{switch(this._loading=!1,t.status){case 401:this._dialogService.alert(this._i18nService.translate("layouts.auth.login.fail"));break;case 423:this._dialogService.alert(this._i18nService.translate("layouts.auth.login.frozen"))}});t&&(this._loading=!1,localStorage.setItem("token",t.token),this._routerService.navigate("/"))})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(w.d),i.Ob(x.a),i.Ob(_.a),i.Ob(g.a),i.Ob(M))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-login"]],viewQuery:function(t,e){if(1&t&&i.Oc(fe,!0),2&t){let t;i.tc(t=i.cc())&&(e._$form=t.first)}},decls:36,vars:28,consts:[["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["$language","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","formControlName","account","required",""],["matInput","","type","password","formControlName","password","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"],["mat-menu-item","",3,"click"],[1,"mat-icon","flag"]],template:function(t,e){if(1&t&&(i.Ub(0,"mat-toolbar"),i.Ub(1,"button",0),i.gc(2,"translate"),i.Ub(3,"mat-icon"),i.Hc(4,"language"),i.Tb(),i.Tb(),i.Ub(5,"mat-menu",null,1),i.Fc(7,me,4,3,"button",2),i.Tb(),i.Tb(),i.Ub(8,"div"),i.Ub(9,"mat-card"),i.Ub(10,"mat-card-title"),i.Hc(11),i.gc(12,"translate"),i.Tb(),i.Ub(13,"mat-card-subtitle"),i.Hc(14),i.gc(15,"translate"),i.Tb(),i.Ub(16,"mat-card-content"),i.Ub(17,"form",3,4),i.Ub(19,"mat-form-field",5),i.Ub(20,"mat-label"),i.Hc(21),i.gc(22,"translate"),i.Tb(),i.Pb(23,"input",6),i.Tb(),i.Ub(24,"mat-form-field",5),i.Ub(25,"mat-label"),i.Hc(26),i.gc(27,"translate"),i.Tb(),i.Pb(28,"input",7),i.Tb(),i.Ub(29,"button",8),i.bc("click",function(){return e.login()}),i.Hc(30),i.gc(31,"uppercase"),i.gc(32,"translate"),i.Tb(),i.Tb(),i.Tb(),i.Ub(33,"mat-card-footer"),i.Hc(34),i.gc(35,"translate"),i.Tb(),i.Tb(),i.Tb()),2&t){const t=i.uc(6);i.Cb(1),i.mc("matTooltip",i.hc(2,12,"layouts.auth.login.language")),i.lc("matMenuTriggerFor",t),i.Cb(6),i.lc("ngForOf",e.languages),i.Cb(4),i.Ic(i.hc(12,14,e.settings.appFullName)),i.Cb(3),i.Ic(i.hc(15,16,e.settings.appDescription)),i.Cb(3),i.lc("formGroup",e.form),i.Cb(4),i.Ic(i.hc(22,18,"layouts.auth.login.account")),i.Cb(5),i.Ic(i.hc(27,20,"layouts.auth.login.password")),i.Cb(3),i.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),i.Cb(1),i.Ic(i.hc(31,22,i.hc(32,24,"layouts.auth.login.submit"))),i.Cb(4),i.Ic(i.hc(35,26,e.settings.appCopyright))}},directives:[V.a,O.a,G.e,z.c,I.a,G.a,c.m,pe.a,pe.f,pe.e,pe.b,w.v,w.o,w.g,k.b,k.e,D.b,w.c,w.n,w.f,w.t,Vt.a,pe.c,G.c],pipes:[s.d,c.v],styles:[".mat-toolbar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;flex-direction:row-reverse;background-color:transparent}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-footer[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}.mat-toolbar[_ngcontent-%COMP%] + div[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),t})()},{path:"expire",component:(()=>{class t{constructor(t,e,n,i,r,a){this._renderer=t,this._formBuilder=e,this._dialogService=n,this._httpService=i,this._i18nService=r,this._routerService=a,this._form=this._formBuilder.group({current:["",[w.u.required]],replacement:["",[w.u.required]],confirm:["",[w.u.required]]},{validators:t=>{const e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}ngAfterViewInit(){this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(t=>{this._renderer.addClass(t,"app-background-card"),this._renderer.setStyle(t,"border-radius","5px")})}get loading(){return this._loading}get form(){return this._form}continue(){return Object(p.a)(this,void 0,void 0,function*(){this._loading=!0,void 0!==(yield this._httpService.put("users/current/password",{current:this._form.controls.current.value,replacement:this._form.controls.replacement.value}).catch(t=>{this._loading=!1,422==t.status&&this._dialogService.alert(this._i18nService.translate("layouts.auth.expire.invalid."+t.error))}))&&(yield this._httpService.delete("sessions",{reason:"Modify Password"}),this._loading=!1,yield this._dialogService.alert(this._i18nService.translate("layouts.auth.expire.success")),this._routerService.navigate("/auth/login"))})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(w.d),i.Ob(x.a),i.Ob(_.a),i.Ob(g.a),i.Ob(M))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-expire"]],viewQuery:function(t,e){if(1&t&&i.Oc(ge,!0),2&t){let t;i.tc(t=i.cc())&&(e._$form=t.first)}},decls:30,vars:23,consts:[[1,"background"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","type","password","formControlName","current","required",""],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"]],template:function(t,e){1&t&&(i.Ub(0,"div",0),i.Ub(1,"mat-card"),i.Ub(2,"mat-card-title"),i.Hc(3),i.gc(4,"translate"),i.Tb(),i.Ub(5,"mat-card-subtitle"),i.Hc(6),i.gc(7,"translate"),i.Tb(),i.Ub(8,"mat-card-content"),i.Ub(9,"form",1,2),i.Ub(11,"mat-form-field",3),i.Ub(12,"mat-label"),i.Hc(13),i.gc(14,"translate"),i.Tb(),i.Pb(15,"input",4),i.Tb(),i.Ub(16,"mat-form-field",3),i.Ub(17,"mat-label"),i.Hc(18),i.gc(19,"translate"),i.Tb(),i.Pb(20,"input",5),i.Tb(),i.Ub(21,"mat-form-field",3),i.Ub(22,"mat-label"),i.Hc(23),i.gc(24,"translate"),i.Tb(),i.Pb(25,"input",6),i.Tb(),i.Ub(26,"button",7),i.bc("click",function(){return e.continue()}),i.Hc(27),i.gc(28,"uppercase"),i.gc(29,"translate"),i.Tb(),i.Tb(),i.Tb(),i.Tb(),i.Tb()),2&t&&(i.Cb(3),i.Ic(i.hc(4,9,"layouts.auth.expire.title")),i.Cb(3),i.Ic(i.hc(7,11,"layouts.auth.expire.subtitle")),i.Cb(3),i.lc("formGroup",e.form),i.Cb(4),i.Ic(i.hc(14,13,"layouts.auth.expire.current")),i.Cb(5),i.Ic(i.hc(19,15,"layouts.auth.expire.replacement")),i.Cb(5),i.Ic(i.hc(24,17,"layouts.auth.expire.confirm")),i.Cb(3),i.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),i.Cb(1),i.Ic(i.hc(28,19,i.hc(29,21,"layouts.auth.expire.continue"))))},directives:[pe.a,pe.f,pe.e,pe.b,w.v,w.o,w.g,k.b,k.e,D.b,w.c,w.n,w.f,w.t,O.a,Vt.a],pipes:[s.d,c.v],styles:[".background[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),t})()},{path:"initial",component:(()=>{class t{constructor(t,e,n,i,r,a){this._renderer=t,this._formBuilder=e,this._dialogService=n,this._httpService=i,this._i18nService=r,this._routerService=a,this._form=this._formBuilder.group({replacement:["",[w.u.required]],confirm:["",[w.u.required]]},{validators:t=>{const e=t.controls.confirm,n=t.controls.replacement.value==e.value?null:{confirm:!0};return e.setErrors(n),n}})}ngAfterViewInit(){this._$form.nativeElement.querySelectorAll(".mat-form-field-outline").forEach(t=>{this._renderer.addClass(t,"app-background-card"),this._renderer.setStyle(t,"border-radius","5px")})}get loading(){return this._loading}get form(){return this._form}continue(){return Object(p.a)(this,void 0,void 0,function*(){this._loading=!0,void 0!==(yield this._httpService.post("users/current/password",{replacement:this._form.controls.replacement.value}).catch(t=>{switch(this._loading=!1,t.status){case 405:this._dialogService.alert(this._i18nService.translate("layouts.auth.initial.invalid.operation"));break;case 422:this._dialogService.alert(this._i18nService.translate("layouts.auth.initial.invalid.content"))}}))&&(yield this._httpService.delete("sessions",{reason:"Modify Password"}),this._loading=!1,yield this._dialogService.alert(this._i18nService.translate("layouts.auth.initial.success")),this._routerService.navigate("/auth/login"))})}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(i.G),i.Ob(w.d),i.Ob(x.a),i.Ob(_.a),i.Ob(g.a),i.Ob(M))},t.\u0275cmp=i.Ib({type:t,selectors:[["app-initial"]],viewQuery:function(t,e){if(1&t&&i.Oc(_e,!0),2&t){let t;i.tc(t=i.cc())&&(e._$form=t.first)}},decls:25,vars:20,consts:[[1,"background"],["autocomplete","off",3,"formGroup"],["$form",""],["appearance","outline","hideRequiredMarker","true"],["matInput","","type","password","formControlName","replacement","required",""],["matInput","","type","password","formControlName","confirm","required",""],["mat-raised-button","","color","primary",3,"loading","disabled","click"]],template:function(t,e){1&t&&(i.Ub(0,"div",0),i.Ub(1,"mat-card"),i.Ub(2,"mat-card-title"),i.Hc(3),i.gc(4,"translate"),i.Tb(),i.Ub(5,"mat-card-subtitle"),i.Hc(6),i.gc(7,"translate"),i.Tb(),i.Ub(8,"mat-card-content"),i.Ub(9,"form",1,2),i.Ub(11,"mat-form-field",3),i.Ub(12,"mat-label"),i.Hc(13),i.gc(14,"translate"),i.Tb(),i.Pb(15,"input",4),i.Tb(),i.Ub(16,"mat-form-field",3),i.Ub(17,"mat-label"),i.Hc(18),i.gc(19,"translate"),i.Tb(),i.Pb(20,"input",5),i.Tb(),i.Ub(21,"button",6),i.bc("click",function(){return e.continue()}),i.Hc(22),i.gc(23,"uppercase"),i.gc(24,"translate"),i.Tb(),i.Tb(),i.Tb(),i.Tb(),i.Tb()),2&t&&(i.Cb(3),i.Ic(i.hc(4,8,"layouts.auth.initial.title")),i.Cb(3),i.Ic(i.hc(7,10,"layouts.auth.initial.subtitle")),i.Cb(3),i.lc("formGroup",e.form),i.Cb(4),i.Ic(i.hc(14,12,"layouts.auth.initial.replacement")),i.Cb(5),i.Ic(i.hc(19,14,"layouts.auth.initial.confirm")),i.Cb(3),i.lc("loading",e.loading)("disabled",e.loading||e.form.invalid),i.Cb(1),i.Ic(i.hc(23,16,i.hc(24,18,"layouts.auth.initial.continue"))))},directives:[pe.a,pe.f,pe.e,pe.b,w.v,w.o,w.g,k.b,k.e,D.b,w.c,w.n,w.f,w.t,O.a,Vt.a],pipes:[s.d,c.v],styles:[".background[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;flex-flow:row wrap;align-items:center;place-content:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{max-width:480px;background-color:transparent;box-shadow:none}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-subtitle[_ngcontent-%COMP%], .background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{text-align:center}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-title[_ngcontent-%COMP%]{margin-bottom:28px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{margin-top:24px}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:0}.background[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%] .mat-button-base[_ngcontent-%COMP%]{width:100%;padding-top:.25em;padding-bottom:.25em}"]}),t})()}]}];let be=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[Et,d.h.forRoot(ye,{relativeLinkResolution:"legacy"})],d.h]}),t})();var ve=n("95ze");let we=(()=>{class t{}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},imports:[[h.a,be,ve.a]]}),t})();var xe=n("z6cu"),Me=n("JIr8");let Se=(()=>{class t{constructor(t,e,n){this._injector=t,this._translateService=e,this._dialogService=n,this._status={}}intercept(t,e){return e.handle(t).pipe(Object(Me.a)(t=>{if(!this._status[t.status])switch(this._status[t.status]=!0,t.status){case 0:this._dialogService.alert(this._translateService.instant("shared.notification.disconnected")).then(()=>{delete this._status[0]});break;case 401:const t=this._injector.get(d.f);"/auth/login"!=t.url&&this._dialogService.alert(this._translateService.instant("shared.notification.timeout")).then(()=>{delete this._status[401],this._dialogService.close(),t.navigateByUrl("/auth/login")});break;case 403:this._dialogService.alert(this._translateService.instant("shared.notification.unauthorized")).then(()=>{delete this._status[403]});break;case 419:this._injector.get(d.f).navigateByUrl("/auth/expire"),delete this._status[419];break;case 428:this._injector.get(d.f).navigateByUrl("/auth/initial"),delete this._status[428];break;case 500:this._dialogService.alert(this._translateService.instant("shared.notification.server")).then(()=>{delete this._status[500]})}return Object(xe.a)(t)}))}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.t),i.Yb(s.e),i.Yb(x.a))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),Ce=(()=>{class t{intercept(t,e){const n=localStorage.getItem("token");return n&&(t=t.clone({headers:t.headers.append("Token",n)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();function ke(t,e){return function(n,i){e(n,i,t)}}var De=n("qkWt");const Oe=new i.s("MESSAGE_FORMAT_CONFIG"),Te={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1,disablePluralKeyChecks:!1};let Le=(()=>{let t=class extends s.a{constructor(t){super();const{locales:e,formatters:n,biDiSupport:i,strictNumberSign:r,disablePluralKeyChecks:a}=Object.assign(Object.assign({},Te),t);this.messageFormat=new De(e),n&&this.messageFormat.addFormatters(n),i&&this.messageFormat.setBiDiSupport(i),r&&this.messageFormat.setStrictNumberSign(r),a&&this.messageFormat.disablePluralKeyChecks()}compile(t,e){return this.messageFormat.compile(t,e)}compileTranslations(t,e){return this.messageFormat.compile(t,e)}};return t.\u0275fac=function(e){return new(e||t)(i.Yb(Oe,8))},t.\u0275prov=i.Kb({token:t,factory:function(e){return t.\u0275fac(e)}}),t=function(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}([ke(0,Object(i.C)()),ke(0,Object(i.q)(Oe))],t),t})(),Ae=(()=>{class t{constructor(t,e,n){this._i18nService=t,this._mediaService=e,this._themeService=n,this._class=`media-${this._mediaService.current} theme-${this._themeService.current}`,this._media=this._mediaService.current,this._theme=this._themeService.current,this._mediaService.onchange.subscribe(t=>this._class=`media-${this._media=t} theme-${this._theme}`),this._themeService.onchange.subscribe(t=>this._class=`theme-${this._theme=t} media-${this._media}`)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(g.a),i.Ob(j.a),i.Ob(N.a))},t.\u0275cmp=i.Ib({type:t,selectors:[["body"]],hostVars:2,hostBindings:function(t,e){2&t&&i.Eb(e._class)},decls:1,vars:0,template:function(t,e){1&t&&i.Pb(0,"router-outlet")},directives:[d.i],encapsulation:2}),t})(),Ie=(()=>{class t{}return t.\u0275mod=i.Mb({type:t,bootstrap:[Ae]}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)},providers:[{provide:i.d,useFactory:t=>()=>t.startup(),deps:[v],multi:!0},{provide:r.a,useClass:Ce,multi:!0},{provide:r.a,useClass:Se,multi:!0}],imports:[[a.a,o.b,u,h.a,we,s.c.forRoot({loader:{provide:s.b,useFactory:t=>new l(t,"./assets/i18n/",".json?"),deps:[r.b]},compiler:{provide:s.a,useClass:Le}})]]}),t})();Object(i.U)(),a.d().bootstrapModule(Ie).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return l});var i=n("7o/Q"),r=n("HDdC"),a=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class s extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof r.a?t.subscribe(e):Object(a.a)(t)(e)}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,2]]]);